@esri/solutions-components 1.0.0-next.20250603.1 → 1.0.0-next.20250604
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/{FV7CWXXA.js → 2AFE7E7M.js} +2 -2
- package/dist/cdn/{KC4DY2HC.js → 2B5FSZQH.js} +2 -2
- package/dist/cdn/{KVQYP6QO.js → 2EM743GZ.js} +2 -2
- package/dist/cdn/{DUX7RIHF.js → 2K5LERLJ.js} +2 -2
- package/dist/cdn/{AKWYDDKA.js → 2KM6GVBX.js} +2 -2
- package/dist/cdn/{KOY2DGQB.js → 2MYQP6Y5.js} +2 -2
- package/dist/cdn/{LYOVCHLV.js → 2WSY3VK5.js} +2 -2
- package/dist/cdn/{SEJNBKC3.js → 2WTLR7AF.js} +2 -2
- package/dist/cdn/{7QH32TZC.js → 2ZYEO4QU.js} +2 -2
- package/dist/cdn/345MWWXW.js +4 -0
- package/dist/cdn/3ELXMEAJ.js +4 -0
- package/dist/cdn/{BUGW2FJW.js → 3ML7QFWK.js} +1 -1
- package/dist/cdn/{WOGXYHTW.js → 3OXV4AIJ.js} +1 -1
- package/dist/cdn/{7MLUC4ZF.js → 3R6FI5UM.js} +2 -2
- package/dist/cdn/{NTM7VXP2.js → 3UOZA57X.js} +2 -2
- package/dist/cdn/{3OHXXSQC.js → 42G7HHTM.js} +2 -2
- package/dist/cdn/{5IJJO4LY.js → 47H5FO7V.js} +2 -2
- package/dist/cdn/{F6ZVXJY4.js → 47T4MQZM.js} +2 -2
- package/dist/cdn/{GGLOL5YA.js → 4ALXTQ7N.js} +2 -2
- package/dist/cdn/{QGGEZQ5P.js → 4E3IKHTV.js} +1 -1
- package/dist/cdn/{3I5XCDRF.js → 4FSK32YK.js} +2 -2
- package/dist/cdn/{JDLIQP26.js → 4Q5U26MM.js} +1 -1
- package/dist/cdn/{XOWZ4LD3.js → 4X3BLJYO.js} +2 -2
- package/dist/cdn/{TXPPQ5K7.js → 54BQVAZQ.js} +1 -1
- package/dist/cdn/{QXLE5FAV.js → 55ER3JZZ.js} +1 -1
- package/dist/cdn/{ZZ5CPOFT.js → 5EGJZQNO.js} +2 -2
- package/dist/cdn/{HQRD3W3T.js → 5IXEWYS7.js} +2 -2
- package/dist/cdn/{BMKFZOGZ.js → 5JZHSF5Q.js} +1 -1
- package/dist/cdn/{SXDVITDW.js → 5NTBUHXP.js} +2 -2
- package/dist/cdn/{GSFDUUIV.js → 5TTXDO2X.js} +2 -2
- package/dist/cdn/5UYYGX3U.js +4 -0
- package/dist/cdn/{CPPGBHGB.js → 5WSSG5DQ.js} +2 -2
- package/dist/cdn/{RRTZSCHT.js → 5ZN3LDSR.js} +2 -2
- package/dist/cdn/{E2JMZPHI.js → 63FJFV7Z.js} +2 -2
- package/dist/cdn/{7OBFFSGV.js → 6426ECPL.js} +2 -2
- package/dist/cdn/{JMFIHU24.js → 6FMYJDB3.js} +2 -2
- package/dist/cdn/{F4ZGDGM4.js → 6GI4INVZ.js} +2 -2
- package/dist/cdn/{YSQPEWEY.js → 6KZH4YCI.js} +1 -1
- package/dist/cdn/{G4AY2BY2.js → 6LFV2GIT.js} +1 -1
- package/dist/cdn/{XASSYP2N.js → 6QFHZ3JL.js} +2 -2
- package/dist/cdn/6UX6KQVQ.js +4 -0
- package/dist/cdn/{F6ZZOQ45.js → 6XIFWTU3.js} +2 -2
- package/dist/cdn/{47FBP4UH.js → 6XXYDAON.js} +2 -2
- package/dist/cdn/{OHFEEKIB.js → 6YLZDF5Z.js} +2 -2
- package/dist/cdn/{57F2XN77.js → 73M3K3MB.js} +1 -1
- package/dist/cdn/{TYS4GUXP.js → 76BAM4JD.js} +2 -2
- package/dist/cdn/{7B72B7FY.js → 7AYXAEZ4.js} +4 -4
- package/dist/cdn/{V5XXUD57.js → 7D3QOJHZ.js} +2 -2
- package/dist/cdn/{O7J65UZA.js → 7MJFKTU3.js} +1 -1
- package/dist/cdn/{LJN277XH.js → 7MXFY5SO.js} +1 -1
- package/dist/cdn/{2YSLDCYN.js → 7TR632PO.js} +2 -2
- package/dist/cdn/{DVCGX7AQ.js → 7UF7ASVK.js} +2 -2
- package/dist/cdn/{5V42POES.js → 7VUGOBSM.js} +2 -2
- package/dist/cdn/{HUY2NQF2.js → AC6N4APV.js} +1 -1
- package/dist/cdn/{QPNW6P3H.js → ADCN5EQ6.js} +2 -2
- package/dist/cdn/AEPIDWNF.js +4 -0
- package/dist/cdn/{HE6RDTLW.js → AF677W6B.js} +2 -2
- package/dist/cdn/{MPV7FCIF.js → ALD6NWTO.js} +2 -2
- package/dist/cdn/{VONL6KBY.js → ALLFENVH.js} +2 -2
- package/dist/cdn/{3JEMJ2EV.js → AMWVUVI2.js} +2 -2
- package/dist/cdn/{BB5THTK5.js → ANWOHFXY.js} +2 -2
- package/dist/cdn/ARCAXJNI.js +4 -0
- package/dist/cdn/{YLMFQSC4.js → AWTEJER6.js} +2 -2
- package/dist/cdn/{BTMSD3FY.js → B24P555R.js} +2 -2
- package/dist/cdn/{M7NNYPVJ.js → B5IEC4IT.js} +2 -2
- package/dist/cdn/{T3AWV5HU.js → BE5PQLO3.js} +2 -2
- package/dist/cdn/{CGPIDLBY.js → BGMGLS3V.js} +2 -2
- package/dist/cdn/{3M72CEYO.js → BIUFSOZZ.js} +2 -2
- package/dist/cdn/{YZMGJ7SM.js → BPGVSHQW.js} +2 -2
- package/dist/cdn/{EJKR2ZHP.js → BS33EVAP.js} +2 -2
- package/dist/cdn/{TT5NLCZ7.js → CB6KYK3A.js} +2 -2
- package/dist/cdn/{23TE6EVK.js → CEJDTHNZ.js} +1 -1
- package/dist/cdn/{IFGU7UKD.js → CJNGBIUI.js} +2 -2
- package/dist/cdn/{4FJC45LY.js → CNEWKYEJ.js} +2 -2
- package/dist/cdn/{2I5J5JBB.js → CRZVA7XS.js} +2 -2
- package/dist/cdn/CTJUD4LO.js +4 -0
- package/dist/cdn/{DS2RXS3N.js → CTUCKF3P.js} +2 -2
- package/dist/cdn/{WUYXX4RA.js → CWNIFA6D.js} +1 -1
- package/dist/cdn/{CUB7E2CZ.js → CYNBZWVT.js} +1 -1
- package/dist/cdn/{HIFJRRQY.js → D2PEMAQB.js} +2 -2
- package/dist/cdn/{LJ67HDLQ.js → D4RSDPZE.js} +2 -2
- package/dist/cdn/{7FBWIG3K.js → D7NBVCTF.js} +2 -2
- package/dist/cdn/{JTT7WLPJ.js → DEOYLAEF.js} +2 -2
- package/dist/cdn/{7RAFMZMY.js → DQF7T3WP.js} +2 -2
- package/dist/cdn/{MEWYK3DQ.js → DR4VMI7G.js} +2 -2
- package/dist/cdn/{FAXNU5CL.js → E6UHW6W4.js} +1 -1
- package/dist/cdn/{23KRBWNX.js → E7CZ4ZJ7.js} +1 -1
- package/dist/cdn/{LZ67DRAD.js → EMDO67DU.js} +3 -3
- package/dist/cdn/{GD22AZGD.js → EMZ6RPP3.js} +2 -2
- package/dist/cdn/{VNMQ4LFX.js → EOMS3F3L.js} +2 -2
- package/dist/cdn/{D6S3BMVV.js → ERW3YZU6.js} +1 -1
- package/dist/cdn/{YN72HJN7.js → ETSHTE72.js} +2 -2
- package/dist/cdn/{WEJIR3KC.js → F4VOMVZI.js} +2 -2
- package/dist/cdn/{O3MMCKSZ.js → FCYQRR3U.js} +2 -2
- package/dist/cdn/{BKEUB7D6.js → FHUPZXRA.js} +2 -2
- package/dist/cdn/{OBH5D5B3.js → FJ6RGFDH.js} +2 -2
- package/dist/cdn/{M2LFTGSG.js → FLHA6SUG.js} +2 -2
- package/dist/cdn/{DTQTQMKB.js → FQLSHIBF.js} +1 -1
- package/dist/cdn/GEVOY2L5.js +18 -0
- package/dist/cdn/{JHZMQC26.js → GJ2KTUEU.js} +2 -2
- package/dist/cdn/GMCLBVIJ.js +25 -0
- package/dist/cdn/GMPQXS6C.js +4 -0
- package/dist/cdn/{YT5JSWCJ.js → GNROCWA2.js} +2 -2
- package/dist/cdn/{BXWG6ASU.js → GV4VMWZC.js} +2 -2
- package/dist/cdn/{TM4VLUD7.js → GX6G4BFZ.js} +1 -1
- package/dist/cdn/{HM3EFLFF.js → GXKZH3J4.js} +2 -2
- package/dist/cdn/{AJIFFKGX.js → GZEPT2M3.js} +2 -2
- package/dist/cdn/H6KJVVW5.js +18 -0
- package/dist/cdn/{5ANAYW5P.js → HFUW7B3U.js} +2 -2
- package/dist/cdn/{N55W5Z4W.js → HLWVXTFA.js} +2 -2
- package/dist/cdn/{R475XUMQ.js → HPWA6TTI.js} +2 -2
- package/dist/cdn/{PZYR43RF.js → HQKIH26Q.js} +1 -1
- package/dist/cdn/{6YSPEIYA.js → HQOSEDMS.js} +2 -2
- package/dist/cdn/{YOUICQQX.js → HUNK6CQY.js} +2 -2
- package/dist/cdn/{ZTYNAGFP.js → HWXLPBZH.js} +2 -2
- package/dist/cdn/{FBUSWZJT.js → I2DY4IS2.js} +2 -2
- package/dist/cdn/{E236QMQ7.js → I2YEFWJ6.js} +2 -2
- package/dist/cdn/{Y5NSXWTE.js → I5NHFG7C.js} +2 -2
- package/dist/cdn/{XX372MHT.js → IACEMZB4.js} +2 -2
- package/dist/cdn/IAV6RAUX.js +18 -0
- package/dist/cdn/{JK3NLT2O.js → ICYWQWLJ.js} +2 -2
- package/dist/cdn/{HVBM4D6S.js → IE2Z57EL.js} +1 -1
- package/dist/cdn/{OVZLS4VM.js → IJRPDGUW.js} +1 -1
- package/dist/cdn/{T2KSGTVF.js → IPTJRUEL.js} +2 -2
- package/dist/cdn/{FI7VCDS7.js → IWLSOPNU.js} +2 -2
- package/dist/cdn/{DGMABTNK.js → IY5MA5TQ.js} +2 -2
- package/dist/cdn/{GNMYTB4B.js → J2IBVR4K.js} +2 -2
- package/dist/cdn/{UBMKB36W.js → JMLCAWVB.js} +2 -2
- package/dist/cdn/{NXZVUBHX.js → JMXRRM2J.js} +2 -2
- package/dist/cdn/{LZWGO4KG.js → JUUBSWSN.js} +2 -2
- package/dist/cdn/{7IJWIQKS.js → JVV2LRKV.js} +2 -2
- package/dist/cdn/{H2QIWGB3.js → JYGS22BT.js} +2 -2
- package/dist/cdn/{IJOJIH2Q.js → JYHFFQPV.js} +2 -2
- package/dist/cdn/{K22YDYDF.js → K4J7ONE5.js} +1 -1
- package/dist/cdn/K4LNUMMZ.js +18 -0
- package/dist/cdn/{3FD4XRIR.js → K54F34MD.js} +2 -2
- package/dist/cdn/{K5GUPAGQ.js → K7MDBVZ5.js} +2 -2
- package/dist/cdn/{62PWRVOA.js → KAN7CBK7.js} +1 -1
- package/dist/cdn/{4NKQ4OHH.js → KBJOJOJ4.js} +1 -1
- package/dist/cdn/{PHRFHM2D.js → KCGRRB43.js} +2 -2
- package/dist/cdn/{IUKY4AJJ.js → KCQU26AE.js} +2 -2
- package/dist/cdn/{6RLLS3XZ.js → KEJK7WEU.js} +2 -2
- package/dist/cdn/KGNJ2Y2O.js +4 -0
- package/dist/cdn/{XPLFSIZL.js → KKS7II75.js} +2 -2
- package/dist/cdn/{DHEXYRM4.js → KNAH23B5.js} +2 -2
- package/dist/cdn/{AAE7EK4I.js → KSWXMOC6.js} +2 -2
- package/dist/cdn/{5BB6ZTVD.js → KYOJO322.js} +2 -2
- package/dist/cdn/L3EOUKGK.js +4 -0
- package/dist/cdn/{GDVWCARK.js → L6CZXSW3.js} +2 -2
- package/dist/cdn/{OUXGXK3J.js → LACXORO5.js} +1 -1
- package/dist/cdn/{KHYYZCSF.js → LFDYLJKA.js} +1 -1
- package/dist/cdn/{K2N3GFEJ.js → LKWWHXOA.js} +2 -2
- package/dist/cdn/{SYKOTABZ.js → LNP7R5ZI.js} +2 -2
- package/dist/cdn/{ZMEBOR2G.js → LPK5NKSR.js} +2 -2
- package/dist/cdn/{ADABT6KF.js → LSZWLE7J.js} +2 -2
- package/dist/cdn/{A5OGKGEV.js → LTRG7P5T.js} +2 -2
- package/dist/cdn/{7SBXAJO4.js → LYGETQIB.js} +2 -2
- package/dist/cdn/{XH7TNO6J.js → M2XRDDQA.js} +2 -2
- package/dist/cdn/{K6H6OHMX.js → M3IMWYAR.js} +2 -2
- package/dist/cdn/{EPT2WH3D.js → M5375MUO.js} +2 -2
- package/dist/cdn/{2VPGZ7E2.js → MABGXJJX.js} +2 -2
- package/dist/cdn/{KGUBXPVQ.js → MHW7GG43.js} +2 -2
- package/dist/cdn/{ZVLVAUCM.js → MMGAOSLP.js} +1 -1
- package/dist/cdn/{UYNSQSTA.js → MT4W2VSR.js} +2 -2
- package/dist/cdn/{XAABPBEY.js → MTDTWNGL.js} +2 -2
- package/dist/cdn/{6A4RAOPS.js → MWHO4QDE.js} +2 -2
- package/dist/cdn/{LQSN4MQB.js → MXJ7JORF.js} +2 -2
- package/dist/cdn/{TW3LKPAL.js → NBTA2YSB.js} +2 -2
- package/dist/cdn/{JRBPHSAK.js → NDYM7KNN.js} +2 -2
- package/dist/cdn/{E43HBSTM.js → NG7FCMTK.js} +2 -2
- package/dist/cdn/{HFPFPCEQ.js → NKQJ45UL.js} +2 -2
- package/dist/cdn/{ALV5KMDH.js → NKVMRM3O.js} +2 -2
- package/dist/cdn/NMCGBOOO.js +4 -0
- package/dist/cdn/{6B26NMRD.js → NOWWSO43.js} +2 -2
- package/dist/cdn/{MTIUYXWA.js → NQMT3ZM2.js} +2 -2
- package/dist/cdn/{P4NNQGNZ.js → NVZPOTDK.js} +2 -2
- package/dist/cdn/{G4WB3PBR.js → NYPIOWTH.js} +2 -2
- package/dist/cdn/{QLHC6CPF.js → O5TASUMK.js} +2 -2
- package/dist/cdn/{S7I5NQIT.js → O6YU35I2.js} +2 -2
- package/dist/cdn/{4MPZW2AH.js → OGMFH36G.js} +2 -2
- package/dist/cdn/{B7V2TCV2.js → OHULOUJ7.js} +1 -1
- package/dist/cdn/{RCPW7BND.js → OI44SOUH.js} +2 -2
- package/dist/cdn/{H7LE3225.js → OJALXFPS.js} +2 -2
- package/dist/cdn/OQ4ARNXB.js +4 -0
- package/dist/cdn/{UY4MNUVT.js → OT3LBEYQ.js} +2 -2
- package/dist/cdn/{EZJUU4SD.js → OVYTYWMG.js} +2 -2
- package/dist/cdn/{SO2MJYUC.js → OWQIRWGB.js} +2 -2
- package/dist/cdn/{5X7D5OFH.js → OXHYCHE7.js} +3 -3
- package/dist/cdn/{LXCV6LJ6.js → OZDEHP24.js} +1 -1
- package/dist/cdn/{W22GLIX6.js → P3JN7YAP.js} +2 -2
- package/dist/cdn/{7H4LF6S3.js → PBE7PDSN.js} +2 -2
- package/dist/cdn/{KI6QHNPI.js → PCE2GNPD.js} +1 -1
- package/dist/cdn/{3DYJ4FTG.js → PDQQ3CKY.js} +1 -1
- package/dist/cdn/{5DNXV7XL.js → PODWXGKR.js} +2 -2
- package/dist/cdn/{XG3GBQPB.js → PPLIT4QW.js} +2 -2
- package/dist/cdn/{KY25YQM3.js → Q2UDHSAN.js} +2 -2
- package/dist/cdn/{NOPVFUIA.js → Q65D6PKP.js} +2 -2
- package/dist/cdn/{AE2GFHQI.js → QBEPAEZG.js} +2 -2
- package/dist/cdn/{MLZAIX3K.js → QH4CLBMI.js} +2 -2
- package/dist/cdn/{DDHWUUM5.js → QHAATBTL.js} +2 -2
- package/dist/cdn/{KDBUQPCS.js → QLBAKOYA.js} +2 -2
- package/dist/cdn/{BWIARGK3.js → QOKOI3NT.js} +2 -2
- package/dist/cdn/{BXQLGQ6O.js → QU5VIRGY.js} +2 -2
- package/dist/cdn/{MCDQUORV.js → QU6MV2R4.js} +2 -2
- package/dist/cdn/{ZQ2HPN3W.js → R3KXDLBC.js} +2 -2
- package/dist/cdn/R3QDSUMS.js +4 -0
- package/dist/cdn/{H77AUDKG.js → RAOR6DNG.js} +2 -2
- package/dist/cdn/{WX6NTYZO.js → RIR7ISEG.js} +2 -2
- package/dist/cdn/{4HECS3TA.js → RJVPADY4.js} +2 -2
- package/dist/cdn/{PGSEOWFX.js → RN47VRJO.js} +2 -2
- package/dist/cdn/{ALIHQ2MF.js → ROJ6UXWC.js} +2 -2
- package/dist/cdn/RTQCBY45.js +4 -0
- package/dist/cdn/{WGO54NYU.js → RTSUY2Q2.js} +2 -2
- package/dist/cdn/{WPA4NXXH.js → RZLD7GPX.js} +2 -2
- package/dist/cdn/{UTKAQVP4.js → SCCCHUE7.js} +2 -2
- package/dist/cdn/{MPQ4CIM7.js → SCFIKT66.js} +2 -2
- package/dist/cdn/{K6752QH3.js → SQ72UPK3.js} +2 -2
- package/dist/cdn/{FEK5UIIE.js → SU7JDERD.js} +2 -2
- package/dist/cdn/{2K7BLOL6.js → T7EW26WY.js} +2 -2
- package/dist/cdn/{EJJPCG36.js → TA4R7WKW.js} +2 -2
- package/dist/cdn/{IUO3RQBY.js → TAE7C5OI.js} +2 -2
- package/dist/cdn/{YDN7DHK5.js → THV4VHVL.js} +2 -2
- package/dist/cdn/{HUHVTN5N.js → TLBLKOSP.js} +2 -2
- package/dist/cdn/{QVAA7UWM.js → TOGUBI36.js} +2 -2
- package/dist/cdn/{23JUUYFN.js → TPT5GHCA.js} +2 -2
- package/dist/cdn/{ZJZRCIO6.js → TR24DOO4.js} +2 -2
- package/dist/cdn/{DP4HUTJB.js → TTKYUHNY.js} +2 -2
- package/dist/cdn/{USVRA2PF.js → TXLHJXSD.js} +2 -2
- package/dist/cdn/{LAARQ3SC.js → UCHW2VOH.js} +2 -2
- package/dist/cdn/{ZIZWR2E2.js → UGHIR2H5.js} +2 -2
- package/dist/cdn/{XDB2IAAB.js → UJNLCDAP.js} +2 -2
- package/dist/cdn/{JEXYLSPT.js → UQKWMKYX.js} +2 -2
- package/dist/cdn/{G25UYWU2.js → USOHU6ZJ.js} +2 -2
- package/dist/cdn/{CKP5NRSZ.js → USVH5XRC.js} +2 -2
- package/dist/cdn/{WTVJEJOH.js → UUYHFCW4.js} +2 -2
- package/dist/cdn/{VGUIEWXD.js → UXMQRK5S.js} +1 -1
- package/dist/cdn/{VQKLQBOO.js → UZS6KXNI.js} +2 -2
- package/dist/cdn/{DVOJAUT5.js → V7G2AU5A.js} +2 -2
- package/dist/cdn/{WINQVMKE.js → VGFMPJPG.js} +3 -3
- package/dist/cdn/{TWSVZ4MU.js → VNATQD74.js} +2 -2
- package/dist/cdn/VQ7R4YV2.js +4 -0
- package/dist/cdn/{Z642X5R6.js → VSXWXDUG.js} +2 -2
- package/dist/cdn/{FRU4NUKP.js → VT5P4INT.js} +1 -1
- package/dist/cdn/{NJDPBF7U.js → WICNCAEP.js} +2 -2
- package/dist/cdn/{ZBRMQKPX.js → WNZMO54V.js} +2 -2
- package/dist/cdn/{LO5XB3CJ.js → X3ULYFMR.js} +2 -2
- package/dist/cdn/{7OOX6EYU.js → X3XUCW5D.js} +2 -2
- package/dist/cdn/{OMQTD6W4.js → XC55JAZC.js} +2 -2
- package/dist/cdn/{XIH6ZMGJ.js → XC5VKQJJ.js} +1 -1
- package/dist/cdn/{2NRHRJMW.js → XD7HIK35.js} +2 -2
- package/dist/cdn/{CZPQYOMC.js → XIROVWXB.js} +1 -1
- package/dist/cdn/{6YVXLIWR.js → XISD2FJX.js} +2 -2
- package/dist/cdn/{IAM2GWWY.js → XPSM5W4L.js} +2 -2
- package/dist/cdn/{QHY3HOJZ.js → XWJ5XRDA.js} +1 -1
- package/dist/cdn/{YEYDGCMG.js → XWT4JOO6.js} +2 -2
- package/dist/cdn/{B7C2SG7U.js → Y2TYQRMX.js} +2 -2
- package/dist/cdn/{45GEUPJR.js → Y2XCXPZJ.js} +1 -1
- package/dist/cdn/{55EOCAZO.js → Y4ZIUU3O.js} +2 -2
- package/dist/cdn/{IEKYGBCE.js → Y53CA6HP.js} +2 -2
- package/dist/cdn/{U6HIPEIC.js → YA4UNEDL.js} +2 -2
- package/dist/cdn/{NCWTGVLS.js → YKLMVODS.js} +2 -2
- package/dist/cdn/{AAOA4QBP.js → YL7XZAGN.js} +2 -2
- package/dist/cdn/{ABYYFXA3.js → YN6OX32H.js} +2 -2
- package/dist/cdn/{26OF6DOI.js → YNIZ4XXM.js} +2 -2
- package/dist/cdn/YRGOM6Q5.js +4 -0
- package/dist/cdn/{QX2LVJEP.js → YWL5BSMR.js} +2 -2
- package/dist/cdn/{LW67Q7U3.js → Z2XU5LLK.js} +2 -2
- package/dist/cdn/Z4R46WXZ.js +4 -0
- package/dist/cdn/{SVF5ULXK.js → Z56WHDSU.js} +2 -2
- package/dist/cdn/{YBGWD4DE.js → Z7JJZ3FM.js} +2 -2
- package/dist/cdn/{Y3ESQQEV.js → ZCRJUKEL.js} +2 -2
- package/dist/cdn/{6H5BLERA.js → ZFQHFXDO.js} +2 -2
- package/dist/cdn/{Y2WO5VQQ.js → ZHGAX6R3.js} +2 -2
- package/dist/cdn/{KT3PTRZ6.js → ZPVOBCSG.js} +2 -2
- package/dist/cdn/{6P4GVMOZ.js → ZTMR6MQW.js} +2 -2
- package/dist/cdn/{XN5ERJUX.js → ZUBYVBHB.js} +2 -2
- package/dist/cdn/{ZSIMORYA.js → ZVSE3IZ4.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +2035 -2009
- 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 +7 -9
- package/dist/components/crowdsource-reporter/customElement.js +2 -2
- 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 +35 -37
- package/dist/components/layer-table/index.d.ts +0 -1
- package/dist/components/layer-table/index.js +0 -1
- package/dist/components/map-card/customElement.d.ts +8 -0
- package/dist/components/map-card/customElement.js +41 -36
- 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 +6 -2
- 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 +2 -2
- 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-panel/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-deploy-panel/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-items-diagram/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +47 -2
- package/dist/docs/docs.json +44 -2
- package/dist/docs/vscode.html-custom-data.json +6 -1
- package/dist/docs/web-types.json +25 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/package.json +1 -1
- package/dist/cdn/2HOKIBIJ.js +0 -4
- package/dist/cdn/2W64V4FL.js +0 -4
- package/dist/cdn/4EP3SSVQ.js +0 -4
- package/dist/cdn/CGFFKEWQ.js +0 -4
- package/dist/cdn/CUTLCVEY.js +0 -4
- package/dist/cdn/DV4IGJMT.js +0 -18
- package/dist/cdn/ERUVVBEL.js +0 -4
- package/dist/cdn/H4LF7LYL.js +0 -18
- package/dist/cdn/HACX7AGZ.js +0 -4
- package/dist/cdn/HCQBWHV3.js +0 -18
- package/dist/cdn/LBFKPX2C.js +0 -18
- package/dist/cdn/MVS6QH7E.js +0 -4
- package/dist/cdn/MWGRZML6.js +0 -4
- package/dist/cdn/RCFGDSWA.js +0 -4
- package/dist/cdn/RJRURTM3.js +0 -4
- package/dist/cdn/SOKSUQE7.js +0 -4
- package/dist/cdn/SRCXOI3Y.js +0 -4
- package/dist/cdn/WCNH7COY.js +0 -4
- package/dist/cdn/WZWGNIEX.js +0 -25
- package/dist/cdn/YN3ZXEKJ.js +0 -4
- package/dist/cdn/YOMJ4KM5.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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.0.0-next.20250604 */
|
4
|
+
import{a as l}from"./RIR7ISEG.js";import"./GXKZH3J4.js";import"./AC6N4APV.js";import"./ZHGAX6R3.js";import"./VT5P4INT.js";import{a as t}from"./O6YU35I2.js";import"./OZDEHP24.js";import"./JVV2LRKV.js";import"./3OXV4AIJ.js";import"./SCCCHUE7.js";import"./PODWXGKR.js";import"./AWTEJER6.js";import"./Y4ZIUU3O.js";import"./YWL5BSMR.js";import"./OVYTYWMG.js";import"./OWQIRWGB.js";import"./3UOZA57X.js";import"./IJRPDGUW.js";import"./2ZYEO4QU.js";import"./HQKIH26Q.js";import"./MTDTWNGL.js";import"./EMZ6RPP3.js";import"./3R6FI5UM.js";import"./Y2XCXPZJ.js";import"./LPK5NKSR.js";import"./R3KXDLBC.js";import"./54BQVAZQ.js";import"./73M3K3MB.js";import"./FQLSHIBF.js";var n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{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:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as g,b as m}from"./
|
3
|
+
v1.0.0-next.20250604 */
|
4
|
+
import{a as g,b as m}from"./RTSUY2Q2.js";import{h as I}from"./ZPVOBCSG.js";import"./Z2XU5LLK.js";import{a as u,c as L,f as b}from"./OI44SOUH.js";import{C as w,D as f,m as p}from"./ERW3YZU6.js";import"./5JZHSF5Q.js";import{a as D,c as d,e as v,f as S}from"./KSWXMOC6.js";import"./FQLSHIBF.js";var y=":host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand:var(--calcite-color-text-3);--calcite-color-brand-hover:var(--calcite-color-text-3)}",E=y,A=class{constructor(e){D(this,e),this.selectedLanguageUpdated=S(this,"selectedLanguageUpdated",7),this.icon="language",this.portalItem=void 0,this.view=void 0,this.locales=[],this.defaultLocale=void 0,this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.messages=void 0,this.t9nData=null}async componentWillLoad(){let[e,a]=await Promise.all([w(),f()]);this.intl=e,this.request=a,this.messages=await I(document.createElement("instant-apps-language-translator"));try{this.portalItemResource=await m(this.portalItem);let t=await g(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let c=new URLSearchParams(window.location.search).get("locale"),h=this.locales?.map(s=>s?.locale)?.filter(s=>s===c)?.length>0,o=L(e,this.portalItem.portal),r=this.locales?.map(s=>s?.locale)?.filter(s=>s===o)?.length>0;this.selectedLanguage=h?c:r?o:this.userLocale;let i=this.selectedLanguage;if(i!==this.userLocale&&(this.calciteDropdownItemSelectCallback(i)(),this.selectedLanguageUpdated.emit({locale:i,data:this.t9nData?.[i]??null})),this.view){let s=this.view.map;this.defaultWebMapId=s?.portalItem?.id??"";let n=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;n&&(this.view.map=await p({portalItem:{id:n}}))}}}render(){let e=this.renderTrigger(),a=this.renderDropdownItems(),t=this.renderDefaultLocale();return d("calcite-dropdown",{key:"d48e5831173767a89033b16b2a33b7a234927fd5",onCalciteDropdownBeforeOpen:()=>this.trigger.iconEnd="chevron-up",onCalciteDropdownBeforeClose:()=>this.trigger.iconEnd="chevron-down","overlay-positioning":this.calciteDropdownOverlayPositioning,"width-scale":"m"},e,d("calcite-dropdown-group",{key:"fce55304c7a8b8b52b57b919a83aa81d9c1901ba"},t,a))}renderDefaultLocale(){let{userLocale:e}=this;return d("calcite-dropdown-item",{key:`default-${e}`,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e),selected:this.selectedLanguage===this.userLocale},this.getSelectedLanguageText(e))}renderTrigger(){return d("calcite-button",{ref:e=>this.trigger=e,slot:"trigger","icon-start":this.icon,"icon-end":"chevron-down",width:"full",appearance:"outline"},this.getSelectedLanguageText(this.selectedLanguage))}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let a=this.getSelectedLanguageText(e),t=e===this.selectedLanguage;return d("calcite-dropdown-item",{key:e,selected:t,onCalciteDropdownItemSelect:this.calciteDropdownItemSelectCallback(e)},a)}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:a,selectedLanguage:t,t9nData:c,userLocale:h}=this,o=this.locales.find(n=>n.locale===t);c&&o&&t!==h&&(o.data=c[e]);let r=new URLSearchParams(window.location.search),i=await b(this.selectedLanguage);if(a.setLocale(i),r.set("locale",i),this.view){let n=this.locales.filter(l=>l.locale===t)?.[0]?.webmap;if(n)this.view.map=await p({portalItem:{id:n}});else{let l=this.view?.map?.portalItem?.id;l&&this.defaultWebMapId!==l&&(this.view.map=await p({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",i),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${r}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let c=Object.keys(u.partial).includes(e)?"partial":"full",h=u[c],{language:o,translated:r}=h[e];return`${o} - ${r}`}async refresh(){try{let e=await m(this.portalItem),a=await g(e);this.t9nData=a;let t={locale:this.selectedLanguage,data:a[this.selectedLanguage]};this.selectedLanguageUpdated.emit(t)}catch{}}get el(){return v(this)}};A.style=E;export{A as instant_apps_language_switcher};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as x}from"./GSFDUUIV.js";import{a as I}from"./SXDVITDW.js";import{a as d}from"./KHYYZCSF.js";import{b as p,d as v,e as M}from"./7H4LF6S3.js";import{a as y}from"./WUYXX4RA.js";import{a as k,e as R,f as A,g as E}from"./2I5J5JBB.js";import{a as U}from"./YSQPEWEY.js";import{a as c}from"./FRU4NUKP.js";function h(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,l)=>{!o.hasOwnProperty(s)||o[s]==null?l===i?o[s]=r:o[s]={}:l===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=y(r):o[s]=Object.assign(o[s],y(r)):o[s]=r),o=o[s]})}function f(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),h(r,t,e,n)}var K=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var l=o/s,u=i/s;if(l>=0&&l<=1&&u>=0&&u<=1)return!0}return!1},V=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},J=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},$=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(K(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},S=function(e){return J(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},T=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},j=function(e,r){var n=$(e,r),a=V(e,r[0]);return!!(!n&&a)},Q=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var l=S(e[s].slice(0));if(!(l.length<4))if(D(l)){var u=[l.slice().reverse()];r.push(u)}else n.push(l.slice().reverse())}for(var g=[];n.length;){i=n.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||g.push(i)}for(;g.length;){i=g.pop();var P=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],$(o,i)){r[a].push(i),P=!0;break}P||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},Z=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},xe=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=Q(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?T(e.attributes):null,e.attributes))try{n.id=Z(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},N=function(e){var r=[],n=e.slice(0),a=S(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=S(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},Y=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=N(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=N(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=Y(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?T(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function Se(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function m(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function Pe(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=M(t,e,n),[i,s]=o.split("?"),l=new URLSearchParams(s);l.delete("f"),a&&l.append("w",a+"");let u=l.toString(),g=`${i}/info/${t.thumbnail}`;return u?`${g}?${u}`:g}var L;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(L||(L={}));function B(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}var b={devext:"dev",qaext:"qa",production:""};var q=t=>R(t)?Object.assign(Object.assign({},k(t)),{type:"extent"}):void 0,_e=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=q(r);if(a)return{type:B(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=E(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:A(o)?i:re(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var We=(t,e,r)=>{let n=ee(t,e,r)||te(t,e,r),a=U(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":X(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},X=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ee=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},te=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var F;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(F||(F={}));var re=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},Ge=(t,e,r)=>{let n=ne(e);return n&&n.map(a=>({name:a.orName,url:ae(a,t,r),isDataSource:z(a,t)}))},ne=t=>{let e=[];return C(c(t,"metadata.distInfo")||[]).forEach(r=>{C(r.distTranOps||[]).forEach(n=>{C(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},C=t=>Array.isArray(t)?t:[t],z=(t,e)=>{let r=e.url&&x(e.url);return r&&t.linkage&&t.linkage.includes(r)},ae=(t,e,r)=>{let n=t.linkage,a=c(r,"authentication.token");if(a&&z(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var Ke=(t,e)=>{let r;switch(oe(t)){case"Dashboard":r=le(t,e);break;case"Insights Workbook":r=pe(t,e);break;case"Experience":r=se(t,e);break;case"Web AppBuilder":r=ce(t,e);break;case"Form":r=ue(t,e);break;case"StoryMap":r=ie(t,e);break;case"Urban Model":r=de(t,e);break;default:r=v(t.id,e)}return r},oe=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ie=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=p(e),a=m(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},se=(t,e)=>{let r=p(e),n=m(r);return`${`https://experience${b[n]}.arcgis.com`}/builder/?id=${t.id}`},le=(t,e)=>{let r=p(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},ce=(t,e)=>`${p(e)}/apps/webappbuilder/index.html?id=${t.id}`,ue=(t,e)=>{let r=p(e),n=m(r),a=`https://survey123${b[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=v(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},pe=(t,e)=>{let r=p(e),n=m(r),a=`https://insights${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/#/edit/${t.id}`},de=(t,e)=>{let r=p(e),n=m(r),a=`https://urban${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/?id=${t.id}`},H=t=>t.indexOf("arcgis.com")===-1;function Ve(t,e){return`${fe(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function fe(t){return I(t).replace(/\/api\/v3$/,"")}var Je=async(t,e)=>{let n=`${I(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};function _(t){let e=!1;return t&&(e=!(t.typeKeywords||[]).includes(d)),e}function Ze(t,e){let r=(t||[]).filter(n=>n!==d);return e||r.push(d),r}var W=class{constructor(e){this.mappings=e}storeToEntity(e,r){let n=me(e,r,this.mappings);if(c(e,"item")){let a=c(e,"item");f("canEdit",["admin","update"].includes(a.itemControl),n),f("canDelete",a.itemControl==="admin",n),f("canRecycle",a.canRecycle||!1,n),f("protected",a.protected,n)}return n}entityToStore(e,r){return ge(e,r,this.mappings)}};function ge(t,e,r){if(c(e,"item")){let n=c(e,"item");n.typeKeywords&&(n.typeKeywords=c(t,"isDiscussable")?n.typeKeywords.filter(a=>a!==d):[...n.typeKeywords,d],f("item.typeKeywords",n.typeKeywords,e))}return G(t,"entityKey",e,"storeKey",r)}function me(t,e,r){if(c(t,"item")){let n=c(t,"item");f("isDiscussable",_(n),e)}return G(t,"storeKey",e,"entityKey",r)}function G(t,e,r,n,a){let o=y(r);return a.forEach(i=>{let s=c(i,e),l=c(i,n),u=c(t,s);u!=null&&h(o,l,u,!0)}),o}export{f as a,Se as b,Pe as c,xe as d,_e as e,We as f,Ge as g,Ke as h,Ve as i,Je as j,_ as k,Ze as l,W as m,ge as n,me as o};
|
3
|
+
v1.0.0-next.20250604 */
|
4
|
+
import{a as x}from"./5TTXDO2X.js";import{a as I}from"./5NTBUHXP.js";import{a as d}from"./LFDYLJKA.js";import{b as p,d as v,e as M}from"./PBE7PDSN.js";import{a as y}from"./CWNIFA6D.js";import{a as k,e as R,f as A,g as E}from"./CRZVA7XS.js";import{a as U}from"./6KZH4YCI.js";import{a as c}from"./VT5P4INT.js";function h(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,l)=>{!o.hasOwnProperty(s)||o[s]==null?l===i?o[s]=r:o[s]={}:l===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=y(r):o[s]=Object.assign(o[s],y(r)):o[s]=r),o=o[s]})}function f(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),h(r,t,e,n)}var K=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var l=o/s,u=i/s;if(l>=0&&l<=1&&u>=0&&u<=1)return!0}return!1},V=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},J=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},$=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(K(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},S=function(e){return J(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},N=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},j=function(e,r){var n=$(e,r),a=V(e,r[0]);return!!(!n&&a)},Q=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var l=S(e[s].slice(0));if(!(l.length<4))if(D(l)){var u=[l.slice().reverse()];r.push(u)}else n.push(l.slice().reverse())}for(var g=[];n.length;){i=n.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||g.push(i)}for(;g.length;){i=g.pop();var P=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],$(o,i)){r[a].push(i),P=!0;break}P||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},Z=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},xe=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=Q(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?N(e.attributes):null,e.attributes))try{n.id=Z(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},T=function(e){var r=[],n=e.slice(0),a=S(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=S(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},Y=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=T(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=T(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=Y(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?N(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function Se(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function m(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function Pe(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=M(t,e,n),[i,s]=o.split("?"),l=new URLSearchParams(s);l.delete("f"),a&&l.append("w",a+"");let u=l.toString(),g=`${i}/info/${t.thumbnail}`;return u?`${g}?${u}`:g}var L;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(L||(L={}));function z(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}var b={devext:"dev",qaext:"qa",production:""};var q=t=>R(t)?Object.assign(Object.assign({},k(t)),{type:"extent"}):void 0,We=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=q(r);if(a)return{type:z(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=E(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:A(o)?i:re(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var _e=(t,e,r)=>{let n=ee(t,e,r)||te(t,e,r),a=U(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":X(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},X=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ee=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},te=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var B;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(B||(B={}));var re=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},Ge=(t,e,r)=>{let n=ne(e);return n&&n.map(a=>({name:a.orName,url:ae(a,t,r),isDataSource:F(a,t)}))},ne=t=>{let e=[];return C(c(t,"metadata.distInfo")||[]).forEach(r=>{C(r.distTranOps||[]).forEach(n=>{C(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},C=t=>Array.isArray(t)?t:[t],F=(t,e)=>{let r=e.url&&x(e.url);return r&&t.linkage&&t.linkage.includes(r)},ae=(t,e,r)=>{let n=t.linkage,a=c(r,"authentication.token");if(a&&F(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var Ke=(t,e)=>{let r;switch(oe(t)){case"Dashboard":r=le(t,e);break;case"Insights Workbook":r=pe(t,e);break;case"Experience":r=se(t,e);break;case"Web AppBuilder":r=ce(t,e);break;case"Form":r=ue(t,e);break;case"StoryMap":r=ie(t,e);break;case"Urban Model":r=de(t,e);break;default:r=v(t.id,e)}return r},oe=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ie=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=p(e),a=m(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},se=(t,e)=>{let r=p(e),n=m(r);return`${`https://experience${b[n]}.arcgis.com`}/builder/?id=${t.id}`},le=(t,e)=>{let r=p(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},ce=(t,e)=>`${p(e)}/apps/webappbuilder/index.html?id=${t.id}`,ue=(t,e)=>{let r=p(e),n=m(r),a=`https://survey123${b[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=v(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},pe=(t,e)=>{let r=p(e),n=m(r),a=`https://insights${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/#/edit/${t.id}`},de=(t,e)=>{let r=p(e),n=m(r),a=`https://urban${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/?id=${t.id}`},H=t=>t.indexOf("arcgis.com")===-1;function Ve(t,e){return`${fe(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function fe(t){return I(t).replace(/\/api\/v3$/,"")}var Je=async(t,e)=>{let n=`${I(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};function W(t){let e=!1;return t&&(e=!(t.typeKeywords||[]).includes(d)),e}function Ze(t,e){let r=(t||[]).filter(n=>n!==d);return e||r.push(d),r}var _=class{constructor(e){this.mappings=e}storeToEntity(e,r){let n=me(e,r,this.mappings);if(c(e,"item")){let a=c(e,"item");f("canEdit",["admin","update"].includes(a.itemControl),n),f("canDelete",a.itemControl==="admin",n),f("canRecycle",a.canRecycle||!1,n),f("protected",a.protected,n)}return n}entityToStore(e,r){return ge(e,r,this.mappings)}};function ge(t,e,r){if(c(e,"item")){let n=c(e,"item");n.typeKeywords&&(n.typeKeywords=c(t,"isDiscussable")?n.typeKeywords.filter(a=>a!==d):[...n.typeKeywords,d],f("item.typeKeywords",n.typeKeywords,e))}return G(t,"entityKey",e,"storeKey",r)}function me(t,e,r){if(c(t,"item")){let n=c(t,"item");f("isDiscussable",W(n),e)}return G(t,"storeKey",e,"entityKey",r)}function G(t,e,r,n,a){let o=y(r);return a.forEach(i=>{let s=c(i,e),l=c(i,n),u=c(t,s);u!=null&&h(o,l,u,!0)}),o}export{f as a,Se as b,Pe as c,xe as d,We as e,_e as f,Ge as g,Ke as h,Ve as i,Je as j,W as k,Ze as l,_ as m,ge as n,me as o};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as O}from"./IJOJIH2Q.js";import{a as D}from"./LW67Q7U3.js";import{h as N,i as b}from"./D6S3BMVV.js";var k=D({data:{},relationshipRampExpandStates:{},compact:!1}),P=k.state,K=k;function W(e,t,o){return n=>{let c=n?.layer?.type;if(c==="feature"||c==="group"){let i=j(t,n,o).then(r=>r);i&&e.push(i);let a=r=>{let s=j(t,r,o).then(l=>l);s&&e.push(s)};n.children.forEach(r=>{a(r),r?.children?.length>0&&r.children.forEach(s=>{a(s),s?.children?.length>0&&s.children.forEach(l=>{a(l)})})})}}}async function j(e,t,o){try{let n=t?.layer?.type==="group",c=t?.layer?.layers?.some(h=>h.visible),i=t?.layer?.layers?.every(h=>!h?.legendEnabled);await o.whenOnce(()=>e?.state==="ready"),!n||n&&c?n&&i?await o.whenOnce(()=>t?.layer?.loaded):await o.whenOnce(()=>t?.ready):await o.whenOnce(()=>t?.legendElements);let a=t?.legendElements?.[0],r=new Map,s=t.layer,l=await e?.view?.whenLayerView(s),f=s.renderer?.field??"";a!==void 0&&a?.infos?.forEach(h=>{if(h.type==="symbol-table"){let y=[];h.infos.forEach(g=>{let E={count:null,selected:!1,legendElementInfo:g};y.push(E)});let d={count:null,selected:!1,legendElementInfo:h,nestedInfos:y};r.set(h.title,d)}else{let y={count:null,selected:!1,legendElementInfo:h};r.set(h.label??s.id,y)}});let u=[];return l?Promise.resolve({activeLayerInfo:t,title:l.layer.title,categories:r,field:f,queryExpressions:u,totalCount:null,fLayerView:l,legendElement:a}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function re(e,t){let o={},n=[];e.activeLayerInfos.forEach(W(n,e,t));try{return(await Promise.all(n)).forEach(i=>{let a=i?.activeLayerInfo?.layer?.id;o[a]=i}),Promise.resolve(o)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ne(e){return Array.from(e,t=>t[1])}function oe(e,t,o,n,c){if(n)return n?.nestedInfos?.[c];let i="label"in o?o?.label:t?.id;return e?.categories?.get(i)}function ce(e){return P?.data?.[e?.id]}async function ae(e,t,o,n,c){let{queryExpressions:i,fLayerView:a}=e;X(e,t,o,c);let r=i.every(u=>u&&u.includes("<>"))?" AND ":" OR ",s=i.join(r),l=a?.filter?.timeExtent??a?.featureEffect?.filter?.timeExtent??null,{type:f}=n;if(f==="filter")a.filter=await b({where:s,timeExtent:l});else if(n.effect){let{includedEffect:u,excludedEffect:h}=n.effect,p=await O(h,a,"excludedEffect"),y=await O(u,a,"includedEffect");a.featureEffect=await N({filter:await b({where:s,timeExtent:l}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function V(e,t){let o=t?t?.layer?.renderer?.authoringInfo:null,n=o?o.fields:null,c=[];if(!n)return"";if(Object.hasOwn(e,"value"))return n.forEach(i=>{if(e.value===i)return;let a=`(${e.value} > ${i} OR (${i} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;c.push(a)}),c.join(" AND ");{let i=[];n.forEach(r=>{i.push(`${r} = 0`)});let a=[];if(n.length>2){n.forEach(l=>{n.forEach(f=>{if(l===f)return;let u=[];n.forEach(h=>{l===h||f===h||u.push(`${l} = ${f} AND (${l} > ${h} OR ${l} >= ${h})`)}),a.push(`(${u.join(" AND ")})`)})});let r=[];return n.forEach(l=>{r.push(`${l} IS NULL`)}),`(${i.join(" AND ")}) OR (${a.join(" OR ")}) OR (${r.join(" AND ")})`}else{let r=[];n.forEach(l=>{n.forEach(f=>{l!==f&&(r.push(`${l} = ${f}`),r.push(`(${i.join(" AND ")})`))})});let s=[];return n.forEach(l=>{n.forEach(f=>{l!==f&&s.push(`(${l} = 0 AND ${f} IS NULL) OR (${l} IS NULL AND ${f} IS NULL)`)})}),`(${r.join(" OR ")}) OR (${s.join(" OR ")})`}}}function X(e,t,o,n){let{field:c,legendElement:i,categories:a,fLayerView:r}=e,s=e?.queryExpressions;n&&Array.from(e.categories).map(g=>g[1]).forEach(g=>{g.nestedInfos?.every(m=>!m.selected)&&g.nestedInfos?.forEach(m=>{let $=c?`${c} = '${m.legendElementInfo.value}'`:null,w=$?s.indexOf($):-1;$&&w!==-1&&s.splice(w,1)})});let l=i?.infos,f=L(r),u=f?V(t,r):R(t,c,o,i,l??[],""),h=a?n?a.get(n.title)?.nestedInfos?.[o]:a.get(t.label??r?.layer?.id):null;h&&(h.selected=!h?.selected);let p=l&&l.length===1,y=s.indexOf(u);if(f){let d=s.indexOf(u);s.length===0||d===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]?s[0]="1=0":s&&s.length===1||s.length===1&&u!==s[0]&&s[0]==="1=0"?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"?s[0]=null:s.splice(d,1),s.join(" OR ")}else s.length===0||y===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]&&!p?s[0]="1=0":s&&s.length===1&&!p||s.length===1&&u!==s[0]&&s[0]==="1=0"&&!p?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"&&!p?s[0]=null:s.splice(y,1);if(n){let d=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{(c?`${c} = '${$.legendElementInfo.value}'`:null)&&d.push(`${c} = '${$.legendElementInfo.value}'`)})}),d.forEach(E=>{s.includes(E)||s.push(E)})}}function R(e,t,o,n,c,i){let{value:a}=e;if(n?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&c?.length===1){if(Object.hasOwn(c?.[0],"value")&&Array.isArray(c?.[0].value)&&Object.hasOwn(c?.[c.length-2],"value")&&Array.isArray(c?.[c.length-2].value))return i?`((${t}/${i}) > ${c?.[0].value[1]}) OR ((${t}/${i}) < ${c?.[c.length-2].value[0]}) OR ${i} = 0 OR ${i} IS NULL`:`${t} > ${c?.[0].value[1]} OR ${t} < ${c?.[c.length-2].value[0]} OR ${t} IS NULL`;if(c?.length===1)return"1=0";{let r=[];c?.forEach(l=>{if(l?.value){let{value:f}=l,u=f.indexOf("'")!==-1?f.split("'").join("''"):null,h=u?`${t} <> '${u}'`:isNaN(f)||typeof f=="string"&&!f.trim()?`${t} <> '${f}'`:`${t} <> ${f} AND ${t} <> '${f}'`;r.push(h)}});let s=r.join(" AND ");return t&&s?`${s} OR ${t} IS NULL`:""}}else{let r=a.indexOf("'")!==-1?a.split("'").join("''"):null,s=Array.isArray(e.value),l=c&&c.length-1===o,f=!Object.hasOwn(c?.[c.length-1],"value"),u=c&&c.length-2===o;return s?i?l||f&&u?`(${t}/${i}) >= ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:`(${t}/${i}) > ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:l||f&&u?`${t} >= ${a[0]} AND ${t} <= ${a[1]}`:`${t} > ${a[0]} AND ${t} <= ${a[1]}`:c?.length===1&&t?isNaN(a)||!a.trim().length?`${t} <> '${a}'`:`${t} <> ${a} OR ${t} <> '${a}'`:r?`${t} = '${r}'`:isNaN(a)||!a.trim().length?`${t} = '${a}'`:`${t} = ${a} OR ${t} = '${a}'`}else return""}function ie(e){return Array.isArray(e)?e.every(t=>!t.selected):e&&Array.from(e.categories.entries()).every(t=>!t[1].selected)&&e.queryExpressions[0]!=="1=0"}function L(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function ue(e,t,o){let c=e.layer?.renderer?.field,i=t?.type,a=e?.layerView,r=a?.layer?.renderer?.classBreakInfos,s=a?.layer?.renderer?.uniqueValueInfos&&c,l=i==="size-ramp",f=i==="color-ramp",u=i==="opacity-ramp",h=i==="heatmap-ramp",p=a&&r&&r.length>1,y=a?.layer?.renderer?.authoringInfo?.type,d=y==="class-breaks-color",g=y==="class-breaks-size",E=t?.infos?.length===1&&!c,m=y==="relationship"&&t?.type!=="size-ramp"&&t?.type!=="symbol-table",$=e?.layer?.type==="feature",w=$&&c&&!f&&!l&&p,A=!!($&&c&&!f&&!l&&!p),S=!!(A||L(a)&&!l||d&&c||g&&c||E&&!c&&c!==null||m||s),U=e?.layer?.featureReduction&&e?.legendElements?.[o]?.type==="size-ramp",q=t?.type==="symbol-table"&&t?.infos?.length===1,Q=!e?.legendElements.every(x=>x.type!=="color-ramp"),B=!e?.legendElements.every(x=>x.type!=="size-ramp"),z=q&&Q,I=q&&B,G=t?.infos?.every(x=>typeof x.value=="number"),Z=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=y==="dot-density",J=T(e?.layer,c);return $&&!U&&!u&&!h&&!z&&!I&&!G&&!Z&&!H&&J?r?w||S:A||S:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(t=>{t.selected=!1}),e}function he(e,t){e.categories.get(t)?.nestedInfos?.forEach(r=>{let s=`${e.field} = '${r.legendElementInfo.value}'`,l=e.queryExpressions.indexOf(s);l!==-1&&e.queryExpressions.splice(l,1),r.selected=!1});let n=[],c=Array.from(e.categories).map(r=>r[1]);c.forEach(r=>{r.nestedInfos?.every(l=>!l.selected)&&r.nestedInfos?.forEach(l=>{n.push(`${e.field} = '${l.legendElementInfo.value}'`)})}),n.forEach(r=>{e.queryExpressions.includes(r)||e.queryExpressions.push(r)});let i=e.queryExpressions.join(" OR ");return c.every(r=>r.nestedInfos?.every(s=>!s.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=i),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=i)),e}async function ye(e,t,o){let n=e.fLayerView.createQuery();if(o)if(o.nestedInfos.every(i=>!i.selected)){let i=o.nestedInfos.map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let i=o.nestedInfos.filter(a=>a.selected).map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let c=e.queryExpressions.join(" OR ");n.where=c}try{let{extent:c}=await e.fLayerView.layer.queryExtent(n);await t.goTo(c)}catch{}}function pe(e){return e.map(o=>o?.count).reduce((o,n)=>o+n)}function de(e){return e.map(t=>t?.nestedInfos?.map(o=>o.count).reduce((o,n)=>o+n)).reduce((t,o)=>t+o)}async function v(e,t,o,n,c,i,a,r){if(!t||!T(t?.layer,o))return;let l=t?.layer?.type==="feature"?t.createQuery():null,f=L(t)?V(n,t):n.type?R(a,o,r,n,n.infos):R(n,o,c,i,i.infos);l&&f&&(l.where=f==="1=0"?"1=1":f,e&&(l.geometry=e));try{let u=l?await t.queryFeatureCount(l):null;return Promise.resolve({[n.label??t?.layer?.id]:u})}catch(u){console.error("FAILURE AT 'getInfoCount': ",u)}return await Promise.resolve(null)}async function ge(e,t){let o={...t},{activeLayerInfos:n}=e,c=e?.view?.extent,i={},a={};n.forEach(async r=>{let s=r.legendElements[0],l=r.layer,f=t[r?.layer?.id]?.fLayerView,u=l.renderer?.field,h=[];a[r.layer.id]=[],s?.infos?.forEach((y,d)=>{if(s.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach((m,$)=>{let w=v(c,f,u,y,d,s,m,$);E.push(w)}),a[r.layer.id].push(E)}else h.push(v(c,f,u,y,d,s)),a[r.layer.id]=h});let p=y=>{let d=[],g=y.legendElements[0],E=y.layer,m=t[y?.layer?.id]?.fLayerView,$=E.renderer?.field;g?.infos?.forEach((w,A)=>d.push(v(c,m,$,w,A,g))),a[y.layer.id]=d};r.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(d=>{p(d),d?.children?.length>0&&d.children.forEach(g=>{p(g)})})})});for(let r in a){let s=i[r];s||(s=i[r]={});let l=await Promise.all(a[r]);if(l.every(f=>Array.isArray(f))){let f=await Promise.all(l.map(async u=>(await Promise.all(u)).map(y=>y&&Object.values(y)[0])));s[r]=f,i[r]={...s[r]}}else{let f={};l.forEach(u=>{if(!u)return;let h=Object.keys(u)[0];f[h]=u[h]}),r&&(s[r]=f),i[r]={...s[r]}}}return n.forEach(r=>{let s=t[r.layer.id],l=r.layer.id;s?.categories?.forEach((h,p)=>{let d=Array.from(s?.categories).findIndex(g=>g[0]===p);if(h?.nestedInfos)h?.nestedInfos.forEach((g,E)=>{let m=i?.[r?.layer?.id]?.[d]?.[E];g.count=isNaN(m)?null:m});else{let g=i?.[l]?.[p];h.count=isNaN(g)?null:g}});let u=h=>{let p=h.layer.id;t[p]?.categories?.forEach((d,g)=>{let E=i?.[p]?.[g];d.count=E})};r?.children?.forEach(h=>{u(h),h?.children?.length>0&&h.children.forEach(p=>{u(p),p?.children?.length>0&&p.children.forEach(y=>{u(y)})})})}),await Promise.resolve(o)}function Ee(e,t){return e?.nestedInfos?.[t]}function $e(e){return Array.from(e).map(o=>o[1]).every(o=>!!o?.nestedInfos)}function me(e){return!!e?.legendElements?.[0]?.infos?.every?.(t=>t?.type==="symbol-table")}function we(e,t){if(typeof t?.title=="string")return e?.categories?.get(t?.title)}function xe(e){let t="calcite-mode-",o=`${t}light`,n=`${t}dark`;return e.classList.contains(n)?n:o}function Oe(e){if(e.layerId&&e.intLegendLayerData){let t=e.layerId,o=e.intLegendLayerData,n={...P.data,[t]:o};K.set("data",n)}}function Ae(e,t){let{type:o}=e;o==="filter"?Y(t):o==="effect"&&_(e,t)}function Y(e){e?.allLayerViews?.filter(t=>t?.layer?.type==="feature")?.forEach(t=>{let o=t,n=C(o);o.filter=n,o.set("featureEffect",null)})}function _(e,t){t?.allLayerViews?.filter(o=>o?.layer?.type==="feature").forEach(async o=>{let n=o;if(e?.effect&&n){let{includedEffect:c,excludedEffect:i}=e.effect,a=await O(i,n,"excludedEffect"),r=await O(c,n,"includedEffect"),s=C(n);n.featureEffect=await N({filter:s,includedEffect:r,excludedEffect:a}),n.set("filter",null)}})}function C(e){return e?.filter||e?.featureEffect?.filter}function T(e,t){let o=e?.fields,n=o&&o.map(c=>c.name);return t?n&&n.includes(t):!0}function Ne(e){let t=[];return e.forEach(o=>F(o,t)),t}function F(e,t){t.push(e),e.children&&e.children.length>0&&e.children.forEach(o=>{F(o,t)})}export{P as a,K as b,j as c,re as d,ne as e,oe as f,ce as g,ae as h,ie as i,le as j,ue as k,fe as l,he as m,ye as n,pe as o,de as p,ge as q,Ee as r,$e as s,me as t,we as u,xe as v,Oe as w,Ae as x,Ne as y};
|
3
|
+
v1.0.0-next.20250604 */
|
4
|
+
import{a as O}from"./JYHFFQPV.js";import{a as D}from"./Z2XU5LLK.js";import{h as N,i as b}from"./ERW3YZU6.js";var k=D({data:{},relationshipRampExpandStates:{},compact:!1}),P=k.state,K=k;function W(e,t,o){return n=>{let c=n?.layer?.type;if(c==="feature"||c==="group"){let i=j(t,n,o).then(r=>r);i&&e.push(i);let a=r=>{let s=j(t,r,o).then(l=>l);s&&e.push(s)};n.children.forEach(r=>{a(r),r?.children?.length>0&&r.children.forEach(s=>{a(s),s?.children?.length>0&&s.children.forEach(l=>{a(l)})})})}}}async function j(e,t,o){try{let n=t?.layer?.type==="group",c=t?.layer?.layers?.some(h=>h.visible),i=t?.layer?.layers?.every(h=>!h?.legendEnabled);await o.whenOnce(()=>e?.state==="ready"),!n||n&&c?n&&i?await o.whenOnce(()=>t?.layer?.loaded):await o.whenOnce(()=>t?.ready):await o.whenOnce(()=>t?.legendElements);let a=t?.legendElements?.[0],r=new Map,s=t.layer,l=await e?.view?.whenLayerView(s),f=s.renderer?.field??"";a!==void 0&&a?.infos?.forEach(h=>{if(h.type==="symbol-table"){let y=[];h.infos.forEach(g=>{let E={count:null,selected:!1,legendElementInfo:g};y.push(E)});let d={count:null,selected:!1,legendElementInfo:h,nestedInfos:y};r.set(h.title,d)}else{let y={count:null,selected:!1,legendElementInfo:h};r.set(h.label??s.id,y)}});let u=[];return l?Promise.resolve({activeLayerInfo:t,title:l.layer.title,categories:r,field:f,queryExpressions:u,totalCount:null,fLayerView:l,legendElement:a}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function re(e,t){let o={},n=[];e.activeLayerInfos.forEach(W(n,e,t));try{return(await Promise.all(n)).forEach(i=>{let a=i?.activeLayerInfo?.layer?.id;o[a]=i}),Promise.resolve(o)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function ne(e){return Array.from(e,t=>t[1])}function oe(e,t,o,n,c){if(n)return n?.nestedInfos?.[c];let i="label"in o?o?.label:t?.id;return e?.categories?.get(i)}function ce(e){return P?.data?.[e?.id]}async function ae(e,t,o,n,c){let{queryExpressions:i,fLayerView:a}=e;X(e,t,o,c);let r=i.every(u=>u&&u.includes("<>"))?" AND ":" OR ",s=i.join(r),l=a?.filter?.timeExtent??a?.featureEffect?.filter?.timeExtent??null,{type:f}=n;if(f==="filter")a.filter=await b({where:s,timeExtent:l});else if(n.effect){let{includedEffect:u,excludedEffect:h}=n.effect,p=await O(h,a,"excludedEffect"),y=await O(u,a,"includedEffect");a.featureEffect=await N({filter:await b({where:s,timeExtent:l}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function V(e,t){let o=t?t?.layer?.renderer?.authoringInfo:null,n=o?o.fields:null,c=[];if(!n)return"";if(Object.hasOwn(e,"value"))return n.forEach(i=>{if(e.value===i)return;let a=`(${e.value} > ${i} OR (${i} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;c.push(a)}),c.join(" AND ");{let i=[];n.forEach(r=>{i.push(`${r} = 0`)});let a=[];if(n.length>2){n.forEach(l=>{n.forEach(f=>{if(l===f)return;let u=[];n.forEach(h=>{l===h||f===h||u.push(`${l} = ${f} AND (${l} > ${h} OR ${l} >= ${h})`)}),a.push(`(${u.join(" AND ")})`)})});let r=[];return n.forEach(l=>{r.push(`${l} IS NULL`)}),`(${i.join(" AND ")}) OR (${a.join(" OR ")}) OR (${r.join(" AND ")})`}else{let r=[];n.forEach(l=>{n.forEach(f=>{l!==f&&(r.push(`${l} = ${f}`),r.push(`(${i.join(" AND ")})`))})});let s=[];return n.forEach(l=>{n.forEach(f=>{l!==f&&s.push(`(${l} = 0 AND ${f} IS NULL) OR (${l} IS NULL AND ${f} IS NULL)`)})}),`(${r.join(" OR ")}) OR (${s.join(" OR ")})`}}}function X(e,t,o,n){let{field:c,legendElement:i,categories:a,fLayerView:r}=e,s=e?.queryExpressions;n&&Array.from(e.categories).map(g=>g[1]).forEach(g=>{g.nestedInfos?.every(m=>!m.selected)&&g.nestedInfos?.forEach(m=>{let $=c?`${c} = '${m.legendElementInfo.value}'`:null,w=$?s.indexOf($):-1;$&&w!==-1&&s.splice(w,1)})});let l=i?.infos,f=L(r),u=f?V(t,r):R(t,c,o,i,l??[],""),h=a?n?a.get(n.title)?.nestedInfos?.[o]:a.get(t.label??r?.layer?.id):null;h&&(h.selected=!h?.selected);let p=l&&l.length===1,y=s.indexOf(u);if(f){let d=s.indexOf(u);s.length===0||d===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]?s[0]="1=0":s&&s.length===1||s.length===1&&u!==s[0]&&s[0]==="1=0"?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"?s[0]=null:s.splice(d,1),s.join(" OR ")}else s.length===0||y===-1?(s&&s[0]==="1=0"&&s.splice(0,1),s.push(u)):s&&s.length===1&&u===s[0]&&!p?s[0]="1=0":s&&s.length===1&&!p||s.length===1&&u!==s[0]&&s[0]==="1=0"&&!p?s[0]=u:s.length===1&&u===s[0]&&s[0]==="1=0"&&!p?s[0]=null:s.splice(y,1);if(n){let d=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{(c?`${c} = '${$.legendElementInfo.value}'`:null)&&d.push(`${c} = '${$.legendElementInfo.value}'`)})}),d.forEach(E=>{s.includes(E)||s.push(E)})}}function R(e,t,o,n,c,i){let{value:a}=e;if(n?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&c?.length===1){if(Object.hasOwn(c?.[0],"value")&&Array.isArray(c?.[0].value)&&Object.hasOwn(c?.[c.length-2],"value")&&Array.isArray(c?.[c.length-2].value))return i?`((${t}/${i}) > ${c?.[0].value[1]}) OR ((${t}/${i}) < ${c?.[c.length-2].value[0]}) OR ${i} = 0 OR ${i} IS NULL`:`${t} > ${c?.[0].value[1]} OR ${t} < ${c?.[c.length-2].value[0]} OR ${t} IS NULL`;if(c?.length===1)return"1=0";{let r=[];c?.forEach(l=>{if(l?.value){let{value:f}=l,u=f.indexOf("'")!==-1?f.split("'").join("''"):null,h=u?`${t} <> '${u}'`:isNaN(f)||typeof f=="string"&&!f.trim()?`${t} <> '${f}'`:`${t} <> ${f} AND ${t} <> '${f}'`;r.push(h)}});let s=r.join(" AND ");return t&&s?`${s} OR ${t} IS NULL`:""}}else{let r=a.indexOf("'")!==-1?a.split("'").join("''"):null,s=Array.isArray(e.value),l=c&&c.length-1===o,f=!Object.hasOwn(c?.[c.length-1],"value"),u=c&&c.length-2===o;return s?i?l||f&&u?`(${t}/${i}) >= ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:`(${t}/${i}) > ${a[0]} AND (${t}/${i}) <= ${e.value[1]}`:l||f&&u?`${t} >= ${a[0]} AND ${t} <= ${a[1]}`:`${t} > ${a[0]} AND ${t} <= ${a[1]}`:c?.length===1&&t?isNaN(a)||!a.trim().length?`${t} <> '${a}'`:`${t} <> ${a} OR ${t} <> '${a}'`:r?`${t} = '${r}'`:isNaN(a)||!a.trim().length?`${t} = '${a}'`:`${t} = ${a} OR ${t} = '${a}'`}else return""}function ie(e){return Array.isArray(e)?e.every(t=>!t.selected):e&&Array.from(e.categories.entries()).every(t=>!t[1].selected)&&e.queryExpressions[0]!=="1=0"}function L(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function le(e){return e?.legendElements[1]?.type==="relationship-ramp"}function ue(e,t,o){let c=e.layer?.renderer?.field,i=t?.type,a=e?.layerView,r=a?.layer?.renderer?.classBreakInfos,s=a?.layer?.renderer?.uniqueValueInfos&&c,l=i==="size-ramp",f=i==="color-ramp",u=i==="opacity-ramp",h=i==="heatmap-ramp",p=a&&r&&r.length>1,y=a?.layer?.renderer?.authoringInfo?.type,d=y==="class-breaks-color",g=y==="class-breaks-size",E=t?.infos?.length===1&&!c,m=y==="relationship"&&t?.type!=="size-ramp"&&t?.type!=="symbol-table",$=e?.layer?.type==="feature",w=$&&c&&!f&&!l&&p,A=!!($&&c&&!f&&!l&&!p),S=!!(A||L(a)&&!l||d&&c||g&&c||E&&!c&&c!==null||m||s),U=e?.layer?.featureReduction&&e?.legendElements?.[o]?.type==="size-ramp",q=t?.type==="symbol-table"&&t?.infos?.length===1,Q=!e?.legendElements.every(x=>x.type!=="color-ramp"),B=!e?.legendElements.every(x=>x.type!=="size-ramp"),z=q&&Q,I=q&&B,G=t?.infos?.every(x=>typeof x.value=="number"),Z=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=y==="dot-density",J=T(e?.layer,c);return $&&!U&&!u&&!h&&!z&&!I&&!G&&!Z&&!H&&J?r?w||S:A||S:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(t=>{t.selected=!1}),e}function he(e,t){e.categories.get(t)?.nestedInfos?.forEach(r=>{let s=`${e.field} = '${r.legendElementInfo.value}'`,l=e.queryExpressions.indexOf(s);l!==-1&&e.queryExpressions.splice(l,1),r.selected=!1});let n=[],c=Array.from(e.categories).map(r=>r[1]);c.forEach(r=>{r.nestedInfos?.every(l=>!l.selected)&&r.nestedInfos?.forEach(l=>{n.push(`${e.field} = '${l.legendElementInfo.value}'`)})}),n.forEach(r=>{e.queryExpressions.includes(r)||e.queryExpressions.push(r)});let i=e.queryExpressions.join(" OR ");return c.every(r=>r.nestedInfos?.every(s=>!s.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=i),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=i)),e}async function ye(e,t,o){let n=e.fLayerView.createQuery();if(o)if(o.nestedInfos.every(i=>!i.selected)){let i=o.nestedInfos.map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let i=o.nestedInfos.filter(a=>a.selected).map(a=>`${e.field} = '${a.legendElementInfo.value}'`).join(" OR ");n.where=i}else{let c=e.queryExpressions.join(" OR ");n.where=c}try{let{extent:c}=await e.fLayerView.layer.queryExtent(n);await t.goTo(c)}catch{}}function pe(e){return e.map(o=>o?.count).reduce((o,n)=>o+n)}function de(e){return e.map(t=>t?.nestedInfos?.map(o=>o.count).reduce((o,n)=>o+n)).reduce((t,o)=>t+o)}async function v(e,t,o,n,c,i,a,r){if(!t||!T(t?.layer,o))return;let l=t?.layer?.type==="feature"?t.createQuery():null,f=L(t)?V(n,t):n.type?R(a,o,r,n,n.infos):R(n,o,c,i,i.infos);l&&f&&(l.where=f==="1=0"?"1=1":f,e&&(l.geometry=e));try{let u=l?await t.queryFeatureCount(l):null;return Promise.resolve({[n.label??t?.layer?.id]:u})}catch(u){console.error("FAILURE AT 'getInfoCount': ",u)}return await Promise.resolve(null)}async function ge(e,t){let o={...t},{activeLayerInfos:n}=e,c=e?.view?.extent,i={},a={};n.forEach(async r=>{let s=r.legendElements[0],l=r.layer,f=t[r?.layer?.id]?.fLayerView,u=l.renderer?.field,h=[];a[r.layer.id]=[],s?.infos?.forEach((y,d)=>{if(s.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach((m,$)=>{let w=v(c,f,u,y,d,s,m,$);E.push(w)}),a[r.layer.id].push(E)}else h.push(v(c,f,u,y,d,s)),a[r.layer.id]=h});let p=y=>{let d=[],g=y.legendElements[0],E=y.layer,m=t[y?.layer?.id]?.fLayerView,$=E.renderer?.field;g?.infos?.forEach((w,A)=>d.push(v(c,m,$,w,A,g))),a[y.layer.id]=d};r.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(d=>{p(d),d?.children?.length>0&&d.children.forEach(g=>{p(g)})})})});for(let r in a){let s=i[r];s||(s=i[r]={});let l=await Promise.all(a[r]);if(l.every(f=>Array.isArray(f))){let f=await Promise.all(l.map(async u=>(await Promise.all(u)).map(y=>y&&Object.values(y)[0])));s[r]=f,i[r]={...s[r]}}else{let f={};l.forEach(u=>{if(!u)return;let h=Object.keys(u)[0];f[h]=u[h]}),r&&(s[r]=f),i[r]={...s[r]}}}return n.forEach(r=>{let s=t[r.layer.id],l=r.layer.id;s?.categories?.forEach((h,p)=>{let d=Array.from(s?.categories).findIndex(g=>g[0]===p);if(h?.nestedInfos)h?.nestedInfos.forEach((g,E)=>{let m=i?.[r?.layer?.id]?.[d]?.[E];g.count=isNaN(m)?null:m});else{let g=i?.[l]?.[p];h.count=isNaN(g)?null:g}});let u=h=>{let p=h.layer.id;t[p]?.categories?.forEach((d,g)=>{let E=i?.[p]?.[g];d.count=E})};r?.children?.forEach(h=>{u(h),h?.children?.length>0&&h.children.forEach(p=>{u(p),p?.children?.length>0&&p.children.forEach(y=>{u(y)})})})}),await Promise.resolve(o)}function Ee(e,t){return e?.nestedInfos?.[t]}function $e(e){return Array.from(e).map(o=>o[1]).every(o=>!!o?.nestedInfos)}function me(e){return!!e?.legendElements?.[0]?.infos?.every?.(t=>t?.type==="symbol-table")}function we(e,t){if(typeof t?.title=="string")return e?.categories?.get(t?.title)}function xe(e){let t="calcite-mode-",o=`${t}light`,n=`${t}dark`;return e.classList.contains(n)?n:o}function Oe(e){if(e.layerId&&e.intLegendLayerData){let t=e.layerId,o=e.intLegendLayerData,n={...P.data,[t]:o};K.set("data",n)}}function Ae(e,t){let{type:o}=e;o==="filter"?Y(t):o==="effect"&&_(e,t)}function Y(e){e?.allLayerViews?.filter(t=>t?.layer?.type==="feature")?.forEach(t=>{let o=t,n=C(o);o.filter=n,o.set("featureEffect",null)})}function _(e,t){t?.allLayerViews?.filter(o=>o?.layer?.type==="feature").forEach(async o=>{let n=o;if(e?.effect&&n){let{includedEffect:c,excludedEffect:i}=e.effect,a=await O(i,n,"excludedEffect"),r=await O(c,n,"includedEffect"),s=C(n);n.featureEffect=await N({filter:s,includedEffect:r,excludedEffect:a}),n.set("filter",null)}})}function C(e){return e?.filter||e?.featureEffect?.filter}function T(e,t){let o=e?.fields,n=o&&o.map(c=>c.name);return t?n&&n.includes(t):!0}function Ne(e){let t=[];return e.forEach(o=>F(o,t)),t}function F(e,t){t.push(e),e.children&&e.children.length>0&&e.children.forEach(o=>{F(o,t)})}export{P as a,K as b,j as c,re as d,ne as e,oe as f,ce as g,ae as h,ie as i,le as j,ue as k,fe as l,he as m,ye as n,pe as o,de as p,ge as q,Ee as r,$e as s,me as t,we as u,xe as v,Oe as w,Ae as x,Ne as y};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as f}from"./
|
3
|
+
v1.0.0-next.20250604 */
|
4
|
+
import{a as f}from"./CEJDTHNZ.js";import{e as b}from"./OI44SOUH.js";import{c as u,n as g,t as _,z as x}from"./ERW3YZU6.js";import"./5JZHSF5Q.js";import{a as m,c as a,d as w,e as v,f as y}from"./KSWXMOC6.js";import"./FQLSHIBF.js";var k=`
|
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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.0.0-next.20250604 */
|
4
|
+
import{a as s}from"./47H5FO7V.js";import{a as l,b as p}from"./KBJOJOJ4.js";import"./ZHGAX6R3.js";import{b as m}from"./XC5VKQJJ.js";import{a}from"./VT5P4INT.js";import"./FQLSHIBF.js";async function D(e){b(e);let{entity:t,format:o,context:r,progressCallback:n}=e;n&&n(p.PENDING);let c=w(e),{xmin:x,xmax:f,ymin:d,ymax:u}=c,{wkid:g}=c.spatialReference,i=Object.assign({},r.requestOptions);return i.httpMethod="GET",i.params={bbox:`${x},${d},${f},${u}`,bboxSR:`${g}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await m(`${t.url}/exportImage`,i),filename:h(t,o)}}function b(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new s("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function w(e){let{entity:t,geometry:o}=e,r=a(t,"extendedProps.server.extent"),n=null;if(o?n=o:r&&(n=r),!n)throw new s("fetchExportImageDownloadFileUrl","Extent required for this download operation");return n}function h(e,t){let o=e.name||a(e,"extendedProps.server.name"),r=t.includes(l.PNG)?l.PNG:t;return`${o}.${r}`}export{D as fetchExportImageDownloadFile};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a,b}from"./
|
3
|
+
v1.0.0-next.20250604 */
|
4
|
+
import{a,b}from"./PODWXGKR.js";import"./R3KXDLBC.js";import"./54BQVAZQ.js";import"./73M3K3MB.js";import"./FQLSHIBF.js";export{a as PageEditorTypes,b as PageSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.0.0-next.20250604 */
|
4
|
+
import{a as n}from"./7MXFY5SO.js";import{a as s}from"./MABGXJJX.js";import"./PBE7PDSN.js";import"./PDQQ3CKY.js";import"./CWNIFA6D.js";import"./PCE2GNPD.js";import{a as r,b as i}from"./JMLCAWVB.js";import"./YA4UNEDL.js";import"./CRZVA7XS.js";import{a as o}from"./EOMS3F3L.js";import{a}from"./NKQJ45UL.js";import"./CNEWKYEJ.js";import"./XC5VKQJJ.js";import"./6KZH4YCI.js";import"./VT5P4INT.js";import"./O6YU35I2.js";import"./OZDEHP24.js";import"./JVV2LRKV.js";import"./3OXV4AIJ.js";import"./SCCCHUE7.js";import"./PODWXGKR.js";import"./AWTEJER6.js";import"./Y4ZIUU3O.js";import"./YWL5BSMR.js";import"./OVYTYWMG.js";import"./OWQIRWGB.js";import"./3UOZA57X.js";import"./IJRPDGUW.js";import"./2ZYEO4QU.js";import"./HQKIH26Q.js";import"./MTDTWNGL.js";import"./EMZ6RPP3.js";import"./3R6FI5UM.js";import"./Y2XCXPZJ.js";import"./LPK5NKSR.js";import"./R3KXDLBC.js";import"./54BQVAZQ.js";import"./73M3K3MB.js";import"./FQLSHIBF.js";var d=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},n(e),{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{g as c,s as $,t as d,u as f,v as A}from"./
|
3
|
+
v1.0.0-next.20250604 */
|
4
|
+
import{g as c,s as $,t as d,u as f,v as A}from"./E7CZ4ZJ7.js";var o=(t,e)=>{let s=t._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(e,!1),o(i,e);return!0},n=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while(s?.size===0)},v=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),m(e)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,v(this)):this._$AM=t}function u(t,e=!1,s=0){let i=this._$AH,_=this._$AN;if(_!==void 0&&_.size!==0)if(e)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==$.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends f{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),v(this),this.isConnected=e._$AU}_$AO(e,s=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),s&&(o(this,e),n(this))}setValue(e){if(A(this._$Ct))this._$Ct._$AI(e,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};var T=()=>new l,l=class{},a=new WeakMap,w=d(class extends r{render(t){return c}update(t,[e]){let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.G=="function"){let e=this.ht??globalThis,s=a.get(e);s===void 0&&(s=new WeakMap,a.set(e,s)),s.get(this.G)!==void 0&&this.G.call(this.ht,void 0),s.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return typeof this.G=="function"?a.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{T as a,w as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e,b as i,c as l,d as s,e as t}from"./
|
3
|
+
v1.0.0-next.20250604 */
|
4
|
+
import{a as e,b as i,c as l,d as s,e as t}from"./PPLIT4QW.js";import{a as r}from"./O6YU35I2.js";import"./OZDEHP24.js";import"./JVV2LRKV.js";import"./3OXV4AIJ.js";import"./SCCCHUE7.js";import"./PODWXGKR.js";import"./AWTEJER6.js";import"./Y4ZIUU3O.js";import"./YWL5BSMR.js";import"./OVYTYWMG.js";import"./OWQIRWGB.js";import"./3UOZA57X.js";import"./IJRPDGUW.js";import"./2ZYEO4QU.js";import"./HQKIH26Q.js";import"./MTDTWNGL.js";import"./EMZ6RPP3.js";import"./3R6FI5UM.js";import"./Y2XCXPZJ.js";import"./LPK5NKSR.js";import"./R3KXDLBC.js";import"./54BQVAZQ.js";import"./73M3K3MB.js";import"./FQLSHIBF.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as d}from"./
|
3
|
+
v1.0.0-next.20250604 */
|
4
|
+
import{a as d}from"./F4VOMVZI.js";import{D as a,I as o,c as l,d as e,g as n,o as t}from"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";var r=l`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250604 */
|
4
4
|
var t="UserSession",o="isMobile",a="Auth";export{t as a,o as b,a as 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{o,p as a,q as r,r as d,v as c,w as m}from"./
|
3
|
+
v1.0.0-next.20250604 */
|
4
|
+
import{o,p as a,q as r,r as d,v as c,w as m}from"./ERW3YZU6.js";import{a as l,c as i,d as h,e as u}from"./KSWXMOC6.js";import"./FQLSHIBF.js";var f=".sc-instant-apps-measurement-tool-h .esri-measurement.sc-instant-apps-measurement-tool,.sc-instant-apps-measurement-tool-h .esri-coordinate-conversion.sc-instant-apps-measurement-tool{width:300px}.sc-instant-apps-measurement-tool-h .instant-apps-measurement-tool__hide.sc-instant-apps-measurement-tool{display:none}",v=f,p="instant-apps-measurement-tool",s={base:p,hide:`${p}__hide`},g=class{constructor(e){l(this,e),this.view=void 0,this.measureConfiguration=void 0,this.activeTool=void 0}async componentWillLoad(){await this._initModules()}componentDidLoad(){this._init()}render(){return i(h,{key:"f6bd046c04fd3c17204fd95e4ab5e85cab179671"},i("div",{key:"070603555cb6497ddd67f1f53ebaf89a59bd7c01",class:s.base},i("div",{key:"475bff4347c71401ecb292a74c59aac28b40952f",ref:e=>{e instanceof HTMLElement&&(this._measureElement=e)}}),i("div",{key:"9018f1338b598e9c02e1ea6239ab1ee57c460fa0",class:s.hide,ref:e=>{e instanceof HTMLElement&&(this._coordinateElement=e)}})))}disconnectedCallback(){this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,n]=await Promise.all([c(),o(),r()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=n}_init(){this._initMeasurementWidget(),this._initCoordinateWidget()}_updateToolType(e){this._setActiveTool(e)}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await m({view:this.view,container:this._measureElement,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget.clear(),this._coordinateElement?.classList.add(s.hide),e==="distance"?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement?.classList?.remove(s.hide)}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await a({view:this.view,storageEnabled:!1,container:this._coordinateElement}),t!=null)){let n=this._coordinateWidget.formats.find(_=>_.name===t);this._coordinateWidget?.conversions?.splice(0,0,await d({format:n}))}e!=null&&this._setActiveTool(e)}get el(){return u(this)}static get watchers(){return{activeTool:["_updateToolType"]}}};g.style=v;export{g as instant_apps_measurement_tool};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as b}from"./
|
3
|
+
v1.0.0-next.20250604 */
|
4
|
+
import{a as b}from"./4ALXTQ7N.js";import"./KAN7CBK7.js";import"./B5IEC4IT.js";import"./5TTXDO2X.js";import"./CWNIFA6D.js";import"./CNEWKYEJ.js";import"./XC5VKQJJ.js";import"./VT5P4INT.js";import"./LACXORO5.js";import{a as r}from"./F4VOMVZI.js";import{D as n,F as e,I as c,c as o,d as a,g as i,q as l}from"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";var h=o`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|