@esri/solutions-components 1.1.0-next.20251007.1 → 1.1.0-next.20251007.2
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/{ZZPWM2Q2.js → 22YCD63R.js} +2 -2
- package/dist/cdn/{EXJGT27X.js → 24A2C7XB.js} +2 -2
- package/dist/cdn/{H6MAJN5V.js → 26A5WXJA.js} +2 -2
- package/dist/cdn/{ZCNZIB5X.js → 27IWMIXA.js} +2 -2
- package/dist/cdn/{GDEFDXOK.js → 2ADF4H4O.js} +2 -2
- package/dist/cdn/{CFK4AONK.js → 2BCGP55H.js} +3 -3
- package/dist/cdn/{6QXPQNVW.js → 2BFIRXTI.js} +2 -2
- package/dist/cdn/{DOTRAWE3.js → 2CNQTDSZ.js} +2 -2
- package/dist/cdn/{VHD5YYNN.js → 2CXJV7H5.js} +2 -2
- package/dist/cdn/{OUEQWNWU.js → 2F675B52.js} +2 -2
- package/dist/cdn/{XROGQBEM.js → 2GAMEN57.js} +2 -2
- package/dist/cdn/{BBV4DJRN.js → 2OSMNGF7.js} +2 -2
- package/dist/cdn/{ZR6UK3UQ.js → 2T2E2UMS.js} +2 -2
- package/dist/cdn/{G7E4MRCF.js → 32XILUI2.js} +2 -2
- package/dist/cdn/{GA5JF4P7.js → 36GBDHPO.js} +2 -2
- package/dist/cdn/{6UA7MGMQ.js → 37PCNJOT.js} +2 -2
- package/dist/cdn/{TAW7AKE2.js → 3B4AI2RC.js} +1 -1
- package/dist/cdn/{P5WTX4AV.js → 3K2VHCK6.js} +2 -2
- package/dist/cdn/{P5B5OPJ7.js → 3MDCQ7YR.js} +2 -2
- package/dist/cdn/{MABSRXW6.js → 3MQ6ZRZE.js} +2 -2
- package/dist/cdn/{WJ7A5A7U.js → 3MYJ6LVY.js} +1 -1
- package/dist/cdn/{EX7YXNQ4.js → 3QPQ6XPF.js} +2 -2
- package/dist/cdn/3U7UEMW4.js +4 -0
- package/dist/cdn/{NNMWJY4Z.js → 3V4RKRXX.js} +2 -2
- package/dist/cdn/{M3YEP4VL.js → 3XWQVEBM.js} +2 -2
- package/dist/cdn/{V4WS3ZTF.js → 44GOFYMT.js} +2 -2
- package/dist/cdn/{345KHFAP.js → 4APT6TV3.js} +2 -2
- package/dist/cdn/{WTC4UINM.js → 4BBMBYZY.js} +2 -2
- package/dist/cdn/{CCZWYN2L.js → 4FCQ5LMD.js} +2 -2
- package/dist/cdn/{DMVMCVRH.js → 4G5K63OS.js} +2 -2
- package/dist/cdn/{X42IJITC.js → 4HNC7MAX.js} +2 -2
- package/dist/cdn/{Q2VEBPMP.js → 4I3VLN3X.js} +2 -2
- package/dist/cdn/{YVDGEJ2V.js → 4KJUJFIH.js} +2 -2
- package/dist/cdn/{KQMB6PS2.js → 4V7FRYAZ.js} +2 -2
- package/dist/cdn/{3HKMAZ7P.js → 55GWOV2F.js} +2 -2
- package/dist/cdn/{PBB762NR.js → 5DZX5462.js} +2 -2
- package/dist/cdn/{DI33435F.js → 5JDYOT33.js} +2 -2
- package/dist/cdn/{XBG4WOKU.js → 5OM5KDQB.js} +2 -2
- package/dist/cdn/{X4GJCR5U.js → 5PRLPTRW.js} +2 -2
- package/dist/cdn/{2BRFHP6L.js → 5RZDWUNB.js} +2 -2
- package/dist/cdn/{EKX2N43V.js → 5VDB6TIH.js} +2 -2
- package/dist/cdn/{KJT67556.js → 5WJ5V4IX.js} +2 -2
- package/dist/cdn/{MUI3SV2F.js → 5ZYJ2VSP.js} +1 -1
- package/dist/cdn/{34FJLUMK.js → 6AV5K45L.js} +2 -2
- package/dist/cdn/{ZCZDGBZT.js → 6H3VNM3T.js} +2 -2
- package/dist/cdn/{F5JHIBTP.js → 6HNWXGC5.js} +2 -2
- package/dist/cdn/{DYB57UXW.js → 6JYEYEXG.js} +1 -1
- package/dist/cdn/{73EFR23S.js → 6LELULON.js} +2 -2
- package/dist/cdn/{WYPW3YEU.js → 6R4F753U.js} +2 -2
- package/dist/cdn/{5QRVI2WO.js → 6RT7QBIX.js} +2 -2
- package/dist/cdn/{MWR75R54.js → 6RVI3KN6.js} +2 -2
- package/dist/cdn/{6POPEKGV.js → 6U3GLCV5.js} +2 -2
- package/dist/cdn/{K4A3KV5F.js → 6ULBHUFQ.js} +2 -2
- package/dist/cdn/{Y4L2AKM4.js → 6V5FGUIB.js} +2 -2
- package/dist/cdn/{6H3E6UDA.js → 6WJWGSXC.js} +2 -2
- package/dist/cdn/{YKPZ7RKE.js → 7FJRVBGP.js} +1 -1
- package/dist/cdn/{CDDJYJ5L.js → 7LGFCTX3.js} +2 -2
- package/dist/cdn/{IZQ3EUFI.js → 7NHOJEHI.js} +2 -2
- package/dist/cdn/{PXNBWHFQ.js → 7OU55YEA.js} +2 -2
- package/dist/cdn/{H57LSFQD.js → 7P66PGUF.js} +2 -2
- package/dist/cdn/{2XKY7VRX.js → 7X5SLXLA.js} +1 -1
- package/dist/cdn/{DFILBYHH.js → A4ZLMN7Q.js} +2 -2
- package/dist/cdn/{7FTQ4TRE.js → A6TYYYID.js} +2 -2
- package/dist/cdn/{BKPJQFOK.js → AC3JRDHQ.js} +1 -1
- package/dist/cdn/{TMGLEUWQ.js → ACW2OVTF.js} +2 -2
- package/dist/cdn/{2IQTEPJZ.js → AGQJSJZ6.js} +2 -2
- package/dist/cdn/{5IFHBEBL.js → AJ5TQ2XO.js} +2 -2
- package/dist/cdn/{QQNIUC7N.js → ANYOMCB4.js} +2 -2
- package/dist/cdn/{DLS6LBMG.js → APYBTZVY.js} +2 -2
- package/dist/cdn/{25EAY44P.js → AWYPVGZI.js} +2 -2
- package/dist/cdn/{ZKZ2XXJ5.js → B5656UZM.js} +1 -1
- package/dist/cdn/{RCTGL2FP.js → B62DQMTH.js} +2 -2
- package/dist/cdn/{JMWRTMVY.js → BEPNL6PV.js} +2 -2
- package/dist/cdn/{JTBFE7YA.js → BFZ2ZSPL.js} +2 -2
- package/dist/cdn/{OFKVPYAH.js → BIBOSWS5.js} +2 -2
- package/dist/cdn/{BQPHIWVN.js → BLQOF73O.js} +4 -4
- package/dist/cdn/{B5IQKISE.js → BM3ASCKM.js} +2 -2
- package/dist/cdn/{DI6ZYUOP.js → BPDB6S3N.js} +2 -2
- package/dist/cdn/{MZIY6HZS.js → C5U6PXBX.js} +2 -2
- package/dist/cdn/{JPSXG3OI.js → C6VBDWCB.js} +2 -2
- package/dist/cdn/{3RLT36PX.js → CDAVHEDS.js} +2 -2
- package/dist/cdn/{ZYDNODZ2.js → CDH2BWSM.js} +1 -1
- package/dist/cdn/{WHHG5JY6.js → CGMQH46R.js} +1 -1
- package/dist/cdn/{FR56FFEG.js → CGO6IH6W.js} +2 -2
- package/dist/cdn/{NFKSCTP6.js → CM3HICNA.js} +2 -2
- package/dist/cdn/{ESJZHLJI.js → CRBAIK6Y.js} +2 -2
- package/dist/cdn/{KNMEMHVR.js → CRKC2554.js} +2 -2
- package/dist/cdn/{TXOENDRN.js → CSEVFSR6.js} +2 -2
- package/dist/cdn/{7XQPJP2O.js → CTZPBYI4.js} +2 -2
- package/dist/cdn/{BZWC5JDO.js → CU2YXAXI.js} +2 -2
- package/dist/cdn/{KCBJMAWP.js → CW2AUEXS.js} +2 -2
- package/dist/cdn/{MOWTE4AA.js → CXARJRJW.js} +2 -2
- package/dist/cdn/{P452FU2A.js → D6GBEYPP.js} +2 -2
- package/dist/cdn/{T5XIUPXJ.js → DG3MOC4V.js} +2 -2
- package/dist/cdn/{KT4U4H5W.js → DGLCFVWJ.js} +2 -2
- package/dist/cdn/{GTI7TTVN.js → DGO242IG.js} +2 -2
- package/dist/cdn/{NLHAWQMM.js → DHRGBT52.js} +2 -2
- package/dist/cdn/DJJSMVAG.js +4 -0
- package/dist/cdn/{BFFYBBYG.js → DLIMT3CJ.js} +2 -2
- package/dist/cdn/{NBPA6RIJ.js → DNCV6XUT.js} +2 -2
- package/dist/cdn/{2REXDZPZ.js → DQDD2XFC.js} +2 -2
- package/dist/cdn/{HEHJKFLZ.js → DR2EP6W7.js} +2 -2
- package/dist/cdn/{IUTBQRGE.js → DSLYRWDQ.js} +2 -2
- package/dist/cdn/{5GWC7QG2.js → DSVQY5TD.js} +2 -2
- package/dist/cdn/{MTR7Y7K2.js → DV76UKPC.js} +2 -2
- package/dist/cdn/{RAB2KG7C.js → DVQ35EGO.js} +2 -2
- package/dist/cdn/{WPKL5LOX.js → E766FGF6.js} +2 -2
- package/dist/cdn/{MOOEJTQD.js → E7AINO6O.js} +2 -2
- package/dist/cdn/{IWEQMWUA.js → EBBWLHRX.js} +2 -2
- package/dist/cdn/{ZCEFL75O.js → EEBXDRCX.js} +1 -1
- package/dist/cdn/{DBL73LBF.js → EIAFG3AD.js} +2 -2
- package/dist/cdn/{R7HB6UKH.js → EIE73HUW.js} +2 -2
- package/dist/cdn/{YHJCXSZM.js → EP5FEFKR.js} +2 -2
- package/dist/cdn/EPJ5CBIN.js +4 -0
- package/dist/cdn/{EKKF5NYB.js → EQ5W3AGT.js} +2 -2
- package/dist/cdn/{YKONETBH.js → EQLUQAGJ.js} +2 -2
- package/dist/cdn/{B5CXC6T4.js → ETWNOEBP.js} +2 -2
- package/dist/cdn/{HDQRTX7R.js → EX3GBVKY.js} +2 -2
- package/dist/cdn/{UZDSE25E.js → F3FESR3J.js} +2 -2
- package/dist/cdn/{IJVCRHJI.js → F4C7TZVX.js} +2 -2
- package/dist/cdn/{J4RPWXAZ.js → F5YJGXYI.js} +2 -2
- package/dist/cdn/{RPLMPA4K.js → F6ZSV3BW.js} +2 -2
- package/dist/cdn/FAB6LC4V.js +4 -0
- package/dist/cdn/{Y4ZPEHKX.js → FEQGA7TK.js} +1 -1
- package/dist/cdn/{STLOP6CJ.js → FFINWD2G.js} +2 -2
- package/dist/cdn/{BJMGBP2V.js → FGXBNDHV.js} +3 -3
- package/dist/cdn/{RD2WX543.js → FK242YDL.js} +2 -2
- package/dist/cdn/{5DCSTFQL.js → FMPO2HQW.js} +2 -2
- package/dist/cdn/{63P5O4B7.js → FMY2ZXZQ.js} +1 -1
- package/dist/cdn/{DVEARR2O.js → FOLOJ7IO.js} +1 -1
- package/dist/cdn/{QNQNS3YE.js → FRBQEAUJ.js} +2 -2
- package/dist/cdn/{BCYRT74S.js → FRER6P64.js} +2 -2
- package/dist/cdn/{EBYV7LDT.js → FRXS4ADG.js} +2 -2
- package/dist/cdn/{4OSFXM5I.js → FZBCSBMU.js} +2 -2
- package/dist/cdn/{IIEAS4PG.js → G5HI3KYV.js} +2 -2
- package/dist/cdn/{3N4ZRI2R.js → G7YFTABN.js} +1 -1
- package/dist/cdn/{O57CMSBW.js → GGGZDT3A.js} +2 -2
- package/dist/cdn/{CWW4TIP3.js → GQLRUNP7.js} +2 -2
- package/dist/cdn/{OGNRB6E5.js → GXBQZDY5.js} +2 -2
- package/dist/cdn/{3VXZONLC.js → GYFM6PEE.js} +2 -2
- package/dist/cdn/{ZMNQWO6W.js → H2JARZIC.js} +2 -2
- package/dist/cdn/{SR6AD4QD.js → H2VVCIGV.js} +2 -2
- package/dist/cdn/{NFZQVDQY.js → H5BA36WL.js} +2 -2
- package/dist/cdn/{5J7ZEQ2M.js → H5WVSE4F.js} +2 -2
- package/dist/cdn/{SVLZC43Y.js → H7AQXTUV.js} +2 -2
- package/dist/cdn/{EHYIXKQK.js → HA5V6WRW.js} +2 -2
- package/dist/cdn/{LRLICM5M.js → HAHA5KMI.js} +2 -2
- package/dist/cdn/{GZPVVSWK.js → HD7Q2QSN.js} +2 -2
- package/dist/cdn/{GTPYKXHI.js → HMBSACIC.js} +2 -2
- package/dist/cdn/{MSKGANWQ.js → HS5WDWI4.js} +2 -2
- package/dist/cdn/{OG4CBZGX.js → HSF6BG4Z.js} +2 -2
- package/dist/cdn/{UJILZPVR.js → HVXXP7CO.js} +2 -2
- package/dist/cdn/{X7LWTITW.js → I6FQWMYO.js} +2 -2
- package/dist/cdn/{HS46BROK.js → IA5OEJJ4.js} +2 -2
- package/dist/cdn/{FWXW2OGJ.js → IB3DAYJ5.js} +2 -2
- package/dist/cdn/{7JP2H6ZO.js → IBCNNRBO.js} +1 -1
- package/dist/cdn/{J5CQZYBN.js → IMIKQJ6E.js} +2 -2
- package/dist/cdn/{BKVX5QXH.js → IRR3HAZY.js} +2 -2
- package/dist/cdn/{HZX2QANF.js → IZHYGLE4.js} +2 -2
- package/dist/cdn/{DTUV2SZQ.js → J3QWY3JM.js} +1 -1
- package/dist/cdn/{CS6TGE3X.js → J43KTNAH.js} +2 -2
- package/dist/cdn/{GVJ62BVM.js → J4P2OVDV.js} +2 -2
- package/dist/cdn/{DS5QDJCC.js → JFUGGJ4B.js} +1 -1
- package/dist/cdn/{HWA4KP7B.js → JJ76AJAN.js} +2 -2
- package/dist/cdn/{NAM7IFVX.js → JJQ6FGUS.js} +2 -2
- package/dist/cdn/{DWRK4ASH.js → JSYLPYZU.js} +2 -2
- package/dist/cdn/{4W6APK4T.js → JV2C5AGX.js} +2 -2
- package/dist/cdn/{YUQNIMR3.js → JW5GPWPC.js} +2 -2
- package/dist/cdn/{G7ZYRIBV.js → K7MHRUTS.js} +2 -2
- package/dist/cdn/{TQ6ETPV2.js → K7QD6KYM.js} +2 -2
- package/dist/cdn/{P5IYMZPU.js → KCU74TXF.js} +2 -2
- package/dist/cdn/{DI5J2CFS.js → KDBMC76J.js} +2 -2
- package/dist/cdn/{M5JFBQYL.js → KE4IWLGO.js} +2 -2
- package/dist/cdn/{WIKHUM7W.js → KHLFAVYM.js} +1 -1
- package/dist/cdn/{WKHVDG5Y.js → KOPD7UNP.js} +2 -2
- package/dist/cdn/{XVO576HM.js → KRZLK3F4.js} +2 -2
- package/dist/cdn/{UULSSUP6.js → KUVN2IA6.js} +2 -2
- package/dist/cdn/{FOAMHQSE.js → KZDLF5CN.js} +2 -2
- package/dist/cdn/{TFAY3XOM.js → L3AKT74R.js} +2 -2
- package/dist/cdn/{7BHBEVAM.js → L5L747ZM.js} +1 -1
- package/dist/cdn/{7CLVLK6R.js → LC4QJOAB.js} +1 -1
- package/dist/cdn/{UCRPQIXK.js → LJ3WKMEW.js} +2 -2
- package/dist/cdn/{RY5P5BOU.js → LL7VDDFZ.js} +2 -2
- package/dist/cdn/{ZGDN65OM.js → LPUGC74P.js} +2 -2
- package/dist/cdn/{R4IJ6HK7.js → LVOUP5TL.js} +2 -2
- package/dist/cdn/{LX4ZKNMH.js → LWTGGSX4.js} +2 -2
- package/dist/cdn/{PZIZHAUI.js → LZNJXXLW.js} +1 -1
- package/dist/cdn/{JFY2GKYD.js → M3VZPYZ4.js} +2 -2
- package/dist/cdn/{2GQ6UAM3.js → MBPFVCEE.js} +2 -2
- package/dist/cdn/{AMNEPKZH.js → MEC4WXAJ.js} +2 -2
- package/dist/cdn/{IKQVO7HX.js → ML6DRQQI.js} +2 -2
- package/dist/cdn/{GVG6ZDPJ.js → MM4627YF.js} +1 -1
- package/dist/cdn/{IZG3RDWO.js → MMVXQRLD.js} +2 -2
- package/dist/cdn/{PNMWHG2A.js → MNJEOD4T.js} +2 -2
- package/dist/cdn/{DICVUCL7.js → MOZSEMDB.js} +2 -2
- package/dist/cdn/{VC7JUA25.js → MTFV244W.js} +2 -2
- package/dist/cdn/{UGCF4OIU.js → MTZKPNJW.js} +2 -2
- package/dist/cdn/{PYA6BXUC.js → MXNQOBQW.js} +2 -2
- package/dist/cdn/{4SYLNZ6R.js → MZ4ZK62W.js} +2 -2
- package/dist/cdn/{HVZETBKB.js → N2SYGDSV.js} +2 -2
- package/dist/cdn/{E64NA5IJ.js → N5FGXZ6T.js} +2 -2
- package/dist/cdn/{UJ4Y66SF.js → N6RJSSZB.js} +2 -2
- package/dist/cdn/{PV7JIFLO.js → NBK5KX5G.js} +2 -2
- package/dist/cdn/{IQ3OTAQ4.js → NEAIJ5TO.js} +2 -2
- package/dist/cdn/{UORRX6O6.js → NFN5NMUD.js} +2 -2
- package/dist/cdn/{DNWSUZU6.js → NHVW3QXI.js} +2 -2
- package/dist/cdn/{SPDKTODN.js → NJPX3KUC.js} +2 -2
- package/dist/cdn/{2IUHBPHJ.js → NMRQEFFB.js} +2 -2
- package/dist/cdn/{NFRKDOES.js → NOU4IK27.js} +2 -2
- package/dist/cdn/{LZGJ2VAE.js → NSKPNLSF.js} +2 -2
- package/dist/cdn/{IVKF2SO2.js → NTAR4TRI.js} +2 -2
- package/dist/cdn/{UZMJJZUY.js → NTO2INTB.js} +2 -2
- package/dist/cdn/{FJRO4BGU.js → NTZKCUB3.js} +2 -2
- package/dist/cdn/{RNW4CN66.js → NVWNTZ5A.js} +1 -1
- package/dist/cdn/{34LYISA3.js → O2EYFDON.js} +1 -1
- package/dist/cdn/{XUNDEPWU.js → O4QG67LI.js} +2 -2
- package/dist/cdn/O5MDIFEZ.js +4 -0
- package/dist/cdn/{OYBWUNBR.js → OAURW4KF.js} +2 -2
- package/dist/cdn/{KPOOC4MV.js → OCD2U2P5.js} +2 -2
- package/dist/cdn/{W7JZXZPW.js → OCVPRXIB.js} +2 -2
- package/dist/cdn/{IX75FB6F.js → ODTROJXK.js} +2 -2
- package/dist/cdn/{UGP753AZ.js → OE7ZS3FN.js} +2 -2
- package/dist/cdn/{DGG2R6PP.js → OFH5S424.js} +1 -1
- package/dist/cdn/{GFCI4PRE.js → OG36LYNE.js} +2 -2
- package/dist/cdn/{I4DJ4JRG.js → ONKHLFPQ.js} +2 -2
- package/dist/cdn/{B35SCOYC.js → OO3V5H6P.js} +1 -1
- package/dist/cdn/{5O442EOV.js → OTKLNSRD.js} +2 -2
- package/dist/cdn/{AJVXYTUE.js → OU7RANCG.js} +2 -2
- package/dist/cdn/{IU7QMDBW.js → OYXUJV4G.js} +2 -2
- package/dist/cdn/{MVFFFET6.js → OZ6RN5TB.js} +2 -2
- package/dist/cdn/{3QLHCKDF.js → OZT3O3AR.js} +2 -2
- package/dist/cdn/{ZF4FJHV3.js → P2IVEOQC.js} +2 -2
- package/dist/cdn/{AOIBL2RW.js → P3HSFZCN.js} +2 -2
- package/dist/cdn/{UBMWX24K.js → P4VUE672.js} +2 -2
- package/dist/cdn/{3ZLTU5S3.js → P56KUAR6.js} +2 -2
- package/dist/cdn/{GJYAJRU4.js → PDRG2WQQ.js} +2 -2
- package/dist/cdn/{YR3KFLNK.js → PEZ2V43W.js} +1 -1
- package/dist/cdn/{CL5MMUY6.js → PF2ZKWGJ.js} +2 -2
- package/dist/cdn/{5XRHV2ZL.js → PHQIUZVD.js} +2 -2
- package/dist/cdn/{NF6OXWYZ.js → PIEGJKY2.js} +2 -2
- package/dist/cdn/{LCV7OVBM.js → PJ5NUDMJ.js} +1 -1
- package/dist/cdn/{KN3W5O5A.js → PQFSKABH.js} +2 -2
- package/dist/cdn/{OLJB5ZX6.js → PZI2S66G.js} +2 -2
- package/dist/cdn/{WO4C3IFF.js → Q25TGDLH.js} +2 -2
- package/dist/cdn/{RRW7XCIA.js → Q35WFU4Q.js} +2 -2
- package/dist/cdn/{VAHPHPAM.js → Q3RHQ7FZ.js} +2 -2
- package/dist/cdn/{2JPHX4SI.js → QAV6KHM2.js} +2 -2
- package/dist/cdn/{P2LJZ4R7.js → QD5QG4UO.js} +1 -1
- package/dist/cdn/{ARD3AXPX.js → QETJU5AS.js} +2 -2
- package/dist/cdn/{QR2SQTCH.js → QHTAZWLQ.js} +2 -2
- package/dist/cdn/{TEASRN7Y.js → QLWTDB7L.js} +2 -2
- package/dist/cdn/{YPL6GT6C.js → QMMI5AYA.js} +2 -2
- package/dist/cdn/{KWQLECX2.js → R4FRD36C.js} +1 -1
- package/dist/cdn/{OVHCX5V6.js → R4UZROQ4.js} +2 -2
- package/dist/cdn/{3EWQDBJH.js → R7XKVCQQ.js} +2 -2
- package/dist/cdn/{7BHDIJKI.js → R7YYXWG7.js} +2 -2
- package/dist/cdn/{ANCQW5PF.js → RCJQHYB6.js} +2 -2
- package/dist/cdn/{CCH7SIF3.js → RDQ6HJNV.js} +2 -2
- package/dist/cdn/{ZUM45Z2W.js → RGFN7ICB.js} +2 -2
- package/dist/cdn/{F2GUNTZS.js → RN2N36UH.js} +2 -2
- package/dist/cdn/{BAE55LHR.js → RN6ASPLR.js} +2 -2
- package/dist/cdn/{LGFUKV3N.js → RNAE3SRQ.js} +2 -2
- package/dist/cdn/{S7YJOERY.js → RUMT22RX.js} +2 -2
- package/dist/cdn/{GULWP3VY.js → RWNOOJSY.js} +1 -1
- package/dist/cdn/{JCWR4TWW.js → RXXNEAEN.js} +2 -2
- package/dist/cdn/{DJUAK5MT.js → S3COAP4D.js} +2 -2
- package/dist/cdn/{BFOMDLQR.js → SCD7XWJA.js} +2 -2
- package/dist/cdn/{QICKVKJ3.js → SEYYZQDP.js} +2 -2
- package/dist/cdn/{EQAAQXEV.js → SJD32L6O.js} +2 -2
- package/dist/cdn/{6NQMSBTC.js → SJTVMX2D.js} +2 -2
- package/dist/cdn/{ZVXYK72X.js → SUGGLQNX.js} +2 -2
- package/dist/cdn/{AE5B7BUN.js → T34JSXPM.js} +2 -2
- package/dist/cdn/{IX2ARHHP.js → T4BF45VL.js} +1 -1
- package/dist/cdn/{QZIXBRKD.js → T5HWRYMF.js} +2 -2
- package/dist/cdn/{HQ6LUKCF.js → TB2UDWZN.js} +2 -2
- package/dist/cdn/{GMAB24CO.js → TJATDZ2J.js} +2 -2
- package/dist/cdn/{L5L5B3F7.js → TKCF6KI7.js} +2 -2
- package/dist/cdn/{4KRZ5XHU.js → TNFLX3O4.js} +2 -2
- package/dist/cdn/{7AGOME7H.js → TODXKPMC.js} +2 -2
- package/dist/cdn/{BYS6RPZ2.js → TOTZU4L6.js} +2 -2
- package/dist/cdn/{TU6YWCRM.js → TS5X5LQV.js} +2 -2
- package/dist/cdn/{LTIDIJED.js → TV5LMDU2.js} +2 -2
- package/dist/cdn/{LUM3VJFG.js → TZOOPRZV.js} +2 -2
- package/dist/cdn/{SBQBYF4K.js → TZWSOZ3U.js} +2 -2
- package/dist/cdn/{WZEK7EH3.js → U4SPJKAK.js} +2 -2
- package/dist/cdn/{23RNYCUX.js → UCBSIRNY.js} +2 -2
- package/dist/cdn/{LRBCBZRO.js → UCVSW3E2.js} +2 -2
- package/dist/cdn/{57TU2757.js → UGL6SXAC.js} +2 -2
- package/dist/cdn/{QUTZBGPK.js → UR77OOPK.js} +2 -2
- package/dist/cdn/{RF4OY5XZ.js → UXZ5EXMN.js} +2 -2
- package/dist/cdn/{GB7NCS3L.js → V2LDDPI2.js} +1 -1
- package/dist/cdn/{3SUWOWNI.js → V2QIIKRG.js} +2 -2
- package/dist/cdn/{XGVXQSHY.js → V3AUJGMQ.js} +1 -1
- package/dist/cdn/{RMJIAKHU.js → VDIJVIMA.js} +1 -1
- package/dist/cdn/VF4ZNF4J.js +4 -0
- package/dist/cdn/{V4CZPJAQ.js → VGTJZ2TY.js} +2 -2
- package/dist/cdn/{BXYGEACI.js → VIVI2JT3.js} +2 -2
- package/dist/cdn/{CH3UFK6C.js → VKEQYWIX.js} +2 -2
- package/dist/cdn/{LEA3NJJT.js → VKZPBOPS.js} +2 -2
- package/dist/cdn/{W4SJRPXF.js → VNZ5JJ4A.js} +2 -2
- package/dist/cdn/{JTDCZR27.js → VPW2TXOP.js} +2 -2
- package/dist/cdn/{ZCQZCQRA.js → VSNWERSC.js} +2 -2
- package/dist/cdn/{2JDTOOWA.js → VT554TSV.js} +2 -2
- package/dist/cdn/{NPPBXCED.js → VYXE55MD.js} +2 -2
- package/dist/cdn/{5AU3UVVI.js → VZT6CM2A.js} +2 -2
- package/dist/cdn/{TJSIZLLY.js → W4Q7LIFW.js} +2 -2
- package/dist/cdn/{4CAOPIEU.js → W5N2GMZV.js} +2 -2
- package/dist/cdn/{SJH7VZSJ.js → WHYK5A34.js} +2 -2
- package/dist/cdn/{EVLATB2D.js → WJD6OHPD.js} +2 -2
- package/dist/cdn/{4JV2VXKH.js → WNO7UAWB.js} +2 -2
- package/dist/cdn/{OPKCXLSS.js → WOKWY5GT.js} +2 -2
- package/dist/cdn/{K3NGXIK7.js → WOZDANIF.js} +2 -2
- package/dist/cdn/{5RXTZLQN.js → WPIKIIIU.js} +2 -2
- package/dist/cdn/{QTCBCQZ2.js → WSDYBUUJ.js} +2 -2
- package/dist/cdn/{QCXP5YUZ.js → WVXRS3KL.js} +1 -1
- package/dist/cdn/{HXPCAYJ4.js → WXDFVWQ4.js} +2 -2
- package/dist/cdn/{GQXZWV6G.js → X2NFA2TU.js} +2 -2
- package/dist/cdn/{2LDXPYFC.js → X3FM7B2T.js} +2 -2
- package/dist/cdn/{PUWI27EJ.js → X3PN5CIR.js} +2 -2
- package/dist/cdn/{EYPTTOZ2.js → X5CV5TPX.js} +2 -2
- package/dist/cdn/{MWI33SCU.js → XGCWDR6O.js} +2 -2
- package/dist/cdn/{TIRNR2CP.js → XGR4ELEN.js} +2 -2
- package/dist/cdn/{QFSXTIFX.js → XHGM7JLO.js} +2 -2
- package/dist/cdn/{EYJJXQ6T.js → XKN63CTE.js} +2 -2
- package/dist/cdn/{JQ6UI5DX.js → XML3AITH.js} +2 -2
- package/dist/cdn/{MEW5LPR4.js → XP5MJXHR.js} +2 -2
- package/dist/cdn/{VKSJKOE2.js → XV4FW3K5.js} +2 -2
- package/dist/cdn/{UCIJ7OPK.js → XXR2XZUC.js} +2 -2
- package/dist/cdn/{NTAVDV5K.js → Y6ZPA5SJ.js} +1 -1
- package/dist/cdn/YENOBA4Z.js +4 -0
- package/dist/cdn/{ALGEWWHL.js → YF55QH6F.js} +2 -2
- package/dist/cdn/{SMDTMEBE.js → YHA3BGB7.js} +2 -2
- package/dist/cdn/{XFDZQS6K.js → YMAHWPK2.js} +2 -2
- package/dist/cdn/{QGZTCXHZ.js → YOIROMMO.js} +2 -2
- package/dist/cdn/{UD7VDAKG.js → YVJZFL4X.js} +2 -2
- package/dist/cdn/{KTHYYGAI.js → Z4HDSEO7.js} +1 -1
- package/dist/cdn/{RQQGLISY.js → ZBW6XK7P.js} +2 -2
- package/dist/cdn/ZCXMXDQ6.js +4 -0
- package/dist/cdn/{EP6GQK76.js → ZD6TXVNV.js} +2 -2
- package/dist/cdn/{GDX66WJC.js → ZHWXR6EI.js} +2 -2
- package/dist/cdn/{HPOZHIK5.js → ZKVFE2V5.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +2 -2
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.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-deploy-app/customElement.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/4HUZ576Y.js +0 -4
- package/dist/cdn/DKFUHEDP.js +0 -4
- package/dist/cdn/FQOXWDCQ.js +0 -4
- package/dist/cdn/GJFBOOTQ.js +0 -4
- package/dist/cdn/KPK7R5G3.js +0 -4
- package/dist/cdn/NAXRAU2M.js +0 -4
- package/dist/cdn/OD3XVSB4.js +0 -4
- package/dist/cdn/PWZQUOIO.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import{a as p}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{a as p}from"./RWNOOJSY.js";import{a as m}from"./L5L747ZM.js";import{a as c}from"./V3AUJGMQ.js";import{b as g}from"./IRR3HAZY.js";import{E as d,G as o,H as a,h as l,i as e,l as i,o as r}from"./G7YFTABN.js";import"./VDIJVIMA.js";var u=l`:host{--instant-apps-header-height: auto;--instant-apps-header-min-height: 50px;--instant-apps-header-title-text-link-decoration: underline;--instant-apps-header-height--logo-scale--s: 55px;--instant-apps-header-logo-width--logo-scale--s: 35px;--instant-apps-header-logo-height--logo-scale--s: 35px;--instant-apps-header-height--logo-scale--m: 70px;--instant-apps-header-logo-width--logo-scale--m: 50px;--instant-apps-header-logo-height--logo-scale--m: 50px;--instant-apps-header-height--logo-scale--l: 80px;--instant-apps-header-logo-width--logo-scale--l: 60px;--instant-apps-header-logo-height--logo-scale--l: 60px;--instant-apps-header-actions-end-height: auto;width:100%}:host .image.image_resized img{width:100%}:host .header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .header-container{display:flex;align-items:center;width:100%;height:inherit}:host .header-container slot{display:flex;height:inherit}:host .header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .header-container ::slotted(*) calcite-button{height:100%}:host .header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .header-content img{margin:10px}:host .header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .header-content #infoButton{margin-inline-start:10px}:host .header-content.center{justify-content:center}:host .header-content.right{justify-content:end}:host .header.height-s{height:var(--instant-apps-header-height--logo-scale--s)}:host .header.height-s h1{font-size:1.125rem}:host .header.height-s img{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .header.height-m{height:var(--instant-apps-header-height--logo-scale--m)}:host .header.height-m img{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .header.height-l{height:var(--instant-apps-header-height--logo-scale--l)}:host .header.height-l h1{font-size:1.375rem}:host .header.height-l img{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}`,s={base:"header",headerContainer:"header-container",headerContent:"header-content",actionsEndContainer:"actions-end-container"},h=class extends d{constructor(){super(...arguments),this._sanitizer=new c({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.handleMobileMediaQueryChange=t=>{let{matches:n}=t;if(n){this.logoScale="s";return}this.logoScale=this.initialScale},this.initialScale="m",this.titleText="",this.logoScale="m",this.infoButton=!1,this.infoIsOpen=!1,this.headerAlignment="left",this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=p.medium[1],this.infoIsOpenChanged=r({cancelable:!1})}static{this.properties={initialScale:16,titleText:1,titleTextLink:1,backgroundColor:1,textColor:1,logoImage:1,logoScale:3,logoImageAltText:1,logoLink:1,infoButton:7,infoIsOpen:7,infoTitleText:1,customHeaderHtml:1,headerAlignment:1,customHeaderCss:1,fontFamily:3,mobileWidthBreakpoint:9}}static{this.styles=u}async toggleInfo(){this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen)}load(){this.handleMobileBreakpoints(),this.sanitizeCustomHeaderHtml()}willUpdate(t){t.has("customHeaderHtml")&&this.sanitizeCustomHeaderHtml()}disconnectedCallback(){super.disconnectedCallback(),this._mobileMediaQuery?.removeEventListener("change",this.handleMobileMediaQueryChange)}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}handleMobileBreakpoints(){this.initialScale=this.logoScale,this._mobileMediaQuery=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`),this._mobileMediaQuery.matches&&(this.logoScale="s"),this._mobileMediaQuery.addEventListener("change",this.handleMobileMediaQueryChange)}get hasEmptyLogo(){return this.logoImage==="undefined"||this.logoImage?.split("?")[0]==="undefined"||this.logoImage?.split("?")[0]===""||!this.logoImage}render(){let t=this.renderLogo(),n=this.renderTitle(),f=m(this.fontFamily);return this.customHeaderHtml?[e`<style>${this.customHeaderCss}</style>`,e`<div id=customHeader .innerHTML=${this.customHeaderHtml??""}></div>`]:e`<header class=${o({[s.base]:s.base,[`height-${this.logoScale}`]:!!t})} style=${a({backgroundColor:this.backgroundColor,fontFamily:f})}><div class=${o(s.headerContainer)}><span class=${`${s.headerContent} ${this.headerAlignment}`}>${t}${n}${this.infoButton?e`<calcite-button style=${a({"--calcite-color-text-1":this.textColor})} id=infoButton alignment=start appearance=transparent kind=neutral icon-start=information-f scale=s .label=${this.infoTitleText} title=${this.infoTitleText??i} @click=${this.toggleInfo}></calcite-button>`:null}</span><div class=${o(s.actionsEndContainer)}><slot name=actions-end></slot></div></div></header>`}renderLogo(){if(this.hasEmptyLogo)return null;let t=e`<img src=${this.logoImage??i} alt=${this.logoImageAltText??i}>`;return this.logoLink?e`<a href=${this.logoLink??i} target=_blank>${t}</a>`:t}renderTitle(){return this.titleText&&this.titleTextLink?e`<a style=${a({color:this.textColor})} href=${this.titleTextLink??i} rel="noopener noreferrer" target=_blank>${e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}</a>`:e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}};g("instant-apps-header",h);export{h as InstantAppsHeader};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import{a,b}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{a,b}from"./3K2VHCK6.js";import"./HD7Q2QSN.js";import"./O2EYFDON.js";import"./V2LDDPI2.js";import"./VDIJVIMA.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.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import"./VDIJVIMA.js";var a="No teniu cr\xE8dits suficients per dur a terme aquesta operaci\xF3. Poseu-vos en contacte amb el vostre administrador de sistemes de l'ArcGIS per obtenir ajuda.",e="Aquesta eina s'ha publicat des d'un notebook. L'acc\xE9s a l'ArcGIS Notebooks est\xE0 bloquejat per a la vostra organitzaci\xF3. Poseu-vos en contacte amb l'administrador per ajustar la configuraci\xF3.",r="${ dataPath } no pot tenir ${ additionalProperty }.",s="${ dataPath } ha de coincidir amb l'esquema d'un d'aquests: ${ schemaOptions }.",o="Proveu de tornar a desar el mapa.",t="No s'han pogut estimar els cr\xE8dits. Desplaceu-vos cap avall, corregiu els errors i torneu a estimar els cr\xE8dits.",i="S'ha produ\xEFt un error en executar l'an\xE0lisi.",l="${ dataPath } ha de ser igual a un d'aquests valors permesos: ${ allowedValues }.",n="No s'ha pogut desar l'historial d'an\xE0lisi",d="L'emmagatzematge d'historial s'ha exhaurit. Elimineu alguns elements de l'historial d'an\xE0lisi i proveu de tornar-lo a desar.",c="El nom del servei cont\xE9 un o diversos car\xE0cters no v\xE0lids.",u="No s'ha pogut completar l'acci\xF3 de desar la capa temporal com a capa d'entitats allotjada.",m="No s'han pogut obtenir les propietats clau.",p="No s'ha pogut carregar la capa.",h="La capa no est\xE0 disponible.",v="${ dataPath } no pot tenir m\xE9s de ${ limit } elements.",g="S'ha produ\xEFt un error en desar el model. Torneu a provar de desar-lo.",E="${ dataPath } no pot tenir menys de ${ limit } elements.",y="${ dataPath } no pot tenir menys de ${ limit } car\xE0cters.",P="No s'ha pogut carregar l'element del model. Assegureu-vos que el model existeixi i que s'hagi concedit el perm\xEDs d'acc\xE9s.",b="No s'ha pogut completar la sol\xB7licitud.",N="No teniu perm\xEDs per executar aquesta eina. <calcite-link target='_blank' href='${ docLink }'>M\xE9s informaci\xF3</calcite-link>",f="No s'ha pogut iniciar la sessi\xF3 al portal.",S="No s'han pogut llegir les dades d'entrada.",q="A ${ dataPath } li falta una propietat anomenada ${ missingProperty }.",$="Ja existeix una capa de resultats amb aquest nom. Les capes de resultats han de ser anomenats de manera \xFAnica a tota l'organitzaci\xF3. Utilitzeu un altre nom.",k="El nom de la sortida cont\xE9 un o diversos car\xE0cters no v\xE0lids. <a href='${docLink}' target='_blank'>Obteniu m\xE9s informaci\xF3.</a>",x="No s'ha pogut publicar la capa temporal com a capa allotjada perqu\xE8 hi ha camps que no s\xF3n v\xE0lids. Torneu a executar l'eina per crear una capa amb camps v\xE0lids.",I="No s'ha pogut enviar el treball. Desplaceu-vos cap avall, corregiu els errors i torneu a executar l'an\xE0lisi.",L="${ dataPath } ha de tenir almenys un car\xE0cter que no sigui un espai en blanc.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:s,cannotWriteToItemResource:o,creditEstimationError:t,defaultError:i,enumValues:l,failedToSaveHistory:n,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:u,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:g,minItems:E,minLength:y,modelNotFound:P,networkError:b,noPermissionToAccessTool:N,portalLoadError:f,queryFeaturesError:S,requiredProperty:q,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:x,toolValidationError:I,whiteSpacePattern:L};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,s as anyOfValues,o as cannotWriteToItemResource,t as creditEstimationError,T as default,i as defaultError,l as enumValues,n as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,u as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,g as mbFailedToSave,E as minItems,y as minLength,P as modelNotFound,b as networkError,N as noPermissionToAccessTool,f as portalLoadError,S as queryFeaturesError,q as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,x as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import c from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import c from"./TNFLX3O4.js";import b from"./EP5FEFKR.js";import{b as R}from"./5ZYJ2VSP.js";import a from"./5PRLPTRW.js";import{a as I,b as k,c as P,d as A}from"./KHLFAVYM.js";import{a as u}from"./CM3HICNA.js";import{Bb as w}from"./NTZKCUB3.js";import"./F4C7TZVX.js";import"./B5656UZM.js";import"./OU7RANCG.js";import"./R7XKVCQQ.js";import"./PZI2S66G.js";import"./LC4QJOAB.js";import"./CGMQH46R.js";import"./Q35WFU4Q.js";import"./EEBXDRCX.js";import"./NVWNTZ5A.js";import"./FEQGA7TK.js";import"./W4Q7LIFW.js";import"./AWYPVGZI.js";import"./GQLRUNP7.js";import{g as d}from"./OFH5S424.js";import"./R4FRD36C.js";import"./36GBDHPO.js";import"./FOLOJ7IO.js";import"./FMY2ZXZQ.js";import{p as C,q as U}from"./LZNJXXLW.js";import{a as v}from"./TV5LMDU2.js";import"./6HNWXGC5.js";import"./SEYYZQDP.js";import{b as T}from"./QLWTDB7L.js";import{C as r,D as l,E as f,G as g,h as S,i as p,o as _}from"./G7YFTABN.js";import"./VDIJVIMA.js";export default $arcgis.t(([h,E,N,,{f:x,g:L},O])=>{var b=class{constructor(e,t,s){this._credential=null,this._isEnterprise=!1,this._locale="en",this._portalSubset=null,this._portalUserSubset=null,this._clientId=e??"",this._locale=s??"en",this._portalUrl=t??"https://www.arcgis.com",this._portalRestUrl=this._portalUrl+"/sharing/rest",this._credential=h.findCredential(this._portalRestUrl),this._portalUrl=location.origin.endsWith(".arcgis.com")?window.location.origin:this._portalUrl}get Credential(){return this._credential}get IsEnterprisePortal(){return this._isEnterprise}get IsSignedIn(){return!!this._credential}get Portal(){return this._portal}get PortalSubset(){return this._portalSubset}get PortalUrl(){return this._portalUrl}get PortalUserOrg(){return this._portalSubset&&this._portalSubset.id}get PortalUserName(){return this._portalUserSubset&&this._portalUserSubset.username||""}get PortalUserSubset(){return this._portalUserSubset}get PortalUserPrivileges(){let e=[];return this._portalUserSubset?.privileges&&(e=this._portalUserSubset.privileges),e}get RestUserSession(){let e=h.findServerInfo(this._portalRestUrl),t=this._credential?d.fromCredential(this._credential,e):new d({});return t.portal=this.PortalSubset?.restUrl?this.PortalSubset?.restUrl:t.portal,t.clientId=this._credential?._oAuthCred?.appId,t._refreshToken=this._credential?._oAuthCred?.refreshToken,t}async initialize(){try{await this._init()}catch{this.destroy()}return this}destroy(){this._credential=null,this._portalSubset=null,this._portalUserSubset=null,h.destroyCredentials()}async signIn(e=""){h.setOAuthRedirectionHandler(t=>{let s=t.authorizeParams.redirect_uri;if(e.length>0){let i=s.split("?"),a=i[0],o="";if(i[1]){let n=new URLSearchParams(i[1]);n.append("signInParam",e),o="?"+n.toString()}t.authorizeParams.redirect_uri=a+o}window.location.href=t.authorizeUrl+"?"+this._objectToQuery(t.authorizeParams)}),await h.getCredential((this._portalSubset?.portalUrl??this._portalUrl)+"/sharing").then(t=>{t&&window.location.reload()})}signOut(){this.destroy(),window.location.reload()}refreshSession(){let e=this.RestUserSession;return!e||!this.IsSignedIn?null:e.exchangeRefreshToken()}_getOrgUrl(e,t,s){return t&&s?window.location.protocol+"//"+t.toLowerCase()+"."+s:e}async _init(){let e=new E({appId:this._clientId,locale:this._locale,popup:!1,portalUrl:this._portalUrl,preserveUrlHash:!0});h.registerOAuthInfos([e]);try{let t=await h.checkAppAccess(this._portalUrl,this._clientId);(typeof t.valid<"u"&&!t.valid||t.viewOnlyUserTypeApp)&&window.location.replace(`error.html?error=blocked&locale=${this._locale}`),this._credential=t.credential}catch(t){if(t.name==="identity-manager:not-authenticated")return this;this.destroy(),window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}return this._portal=new N({url:this._portalUrl}),this._portal.authMode="immediate",await this._portal.load(),this._isEnterprise=this._portal.isPortal,this._portalSubset={name:this._portal.name??"",id:this._portal.id??"",restUrl:this._portal.restUrl??"",portalUrl:this._portal.url??"",urlKey:this._portal.urlKey??"",hostName:this._portal.portalHostname??"",orgUrl:this._getOrgUrl(this._portal.url,this._portal.urlKey??"",this._portal.customBaseUrl??""),locationTrackingEnabled:this._portal.helperServices.hasOwnProperty("locationTracking"),hubPremiumEnabled:this._portal.portalProperties?.hub?.enabled||!1,workflowURL:this._portal.helperServices?.workflowManager?.url??this._portal.url,isReadOnly:this._portal.isReadOnly},this._portalUserSubset={fullName:this._portal.user?.fullName??"",username:this._portal.user?.username??"",culture:this._portal.user?.culture?.toLowerCase()||"en",thumbnailUrl:this._portal.user?.thumbnailUrl||this._portal.url+"/home/js/arcgisonline/css/images/no-user-thumb.jpg",orgId:this._portal.user?.orgId??"",privileges:this._portal.user.privileges,role:this._portal.user?.role??""},this._isEnterprise&&this._portalSubset&&(this._portalSubset.workflowURL=await w(this._portal.restUrl,this.RestUserSession||new d({}))),this._portal?.user?.roleId&&this._portalUserSubset&&(this._portalUserSubset.roleId=this._portal.user.roleId),this}_isSerializable(e){return e&&typeof e=="object"&&"toJSON"in e&&typeof e.toJSON=="function"}_objectToQuery(e,t){return e?t&&typeof t=="function"?Object.keys(e).map(s=>encodeURIComponent(s)+"="+encodeURIComponent(t(s,e[s]))).join("&"):Object.keys(e).map(s=>{let i=e[s];if(i==null)return"";let a=encodeURIComponent(s)+"=",o=t&&t[s];return o?a+encodeURIComponent(o(i)):Array.isArray(i)?i.map(n=>this._isSerializable(n)?a+encodeURIComponent(JSON.stringify(n)):a+encodeURIComponent(n)).join("&"):this._isSerializable(i)?a+encodeURIComponent(JSON.stringify(i)):a+encodeURIComponent(i)}).filter(s=>s).join("&"):""}};var Q=S`/** @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.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import{c as t}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{c as t}from"./O2EYFDON.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./V2LDDPI2.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import"./VDIJVIMA.js";var e="Du har inte tillr\xE4ckligt m\xE5nga krediter f\xF6r att utf\xF6ra den h\xE4r \xE5tg\xE4rden. Kontakta din ArcGIS-systemadministrat\xF6r f\xF6r att f\xE5 hj\xE4lp.",a="Det h\xE4r verktyget har publicerats fr\xE5n en notebook. \xC5tkomst till ArcGIS Notebooks \xE4r blockerad f\xF6r din organisation. Kontakta din administrat\xF6r f\xF6r att justera inst\xE4llningen.",t="${ dataPath } f\xE5r inte inneh\xE5lla ${ additionalProperty }.",r="${ dataPath } m\xE5ste matcha schemat f\xF6r n\xE5gon av dessa: ${ schemaOptions }.",i="F\xF6rs\xF6k att spara kartan igen.",n="Kreditber\xE4kningen misslyckades. Skrolla ner, \xE5tg\xE4rda felen och ber\xE4kna krediterna igen.",s="Ett fel uppstod n\xE4r analysen k\xF6rdes.",l="${ dataPath } m\xE5ste vara lika med ett av dessa till\xE5tna v\xE4rden: ${ allowedValues }.",o="Det gick inte att spara analyshistoriken",d="Historiklagringen \xE4r full. Ta bort n\xE5gra objekt fr\xE5n analyshistoriken och f\xF6rs\xF6k att spara igen.",g="Tj\xE4nstnamnet inneh\xE5ller ett eller flera ogiltiga tecken.",m="Lagring av det tillf\xE4lliga lagret som ett driftat geoobjektlager slutf\xF6rdes inte.",k="Det gick inte att h\xE4mta nyckelegenskaper.",c="Det gick inte att l\xE4sa in lagret.",f="Lagret \xE4r inte tillg\xE4ngligt.",h="${ dataPath } f\xE5r inte ha fler \xE4n ${ limit } objekt.",u="Ett fel uppstod n\xE4r modellen sparades. F\xF6rs\xF6k att spara igen.",p="${ dataPath } f\xE5r inte ha f\xE4rre \xE4n ${ limit } objekt.",y="${ dataPath } f\xE5r inte vara kortare \xE4n ${ limit } tecken.",v="Kunde inte l\xE4sa in modellobjektet. Kontrollera att modellen finns och att \xE5tkomstbeh\xF6righet har beviljats.",b="Det gick inte att slutf\xF6ra f\xF6rfr\xE5gan.",E="Du saknar beh\xF6righet att k\xF6ra det h\xE4r verktyget. <calcite-link target='_blank' href='${ docLink }'>L\xE4s mer</calcite-link>",P="Det gick inte att logga in p\xE5 portalen.",S="Det gick inte att l\xE4sa indata.",$="${ dataPath } saknar egenskapen ${ missingProperty }.",F="Det finns redan ett resultatlager med det h\xE4r namnet. Resultatlager m\xE5ste ha unika namn i hela organisationen. Anv\xE4nd ett annat namn.",I="Utdatanamnet inneh\xE5ller ett eller flera ogiltiga tecken. <a href='${docLink}' target='_blank'>L\xE4s mer.</a>",L="Publicering av det tillf\xE4lliga lagret som ett driftat geoobjektlager misslyckades p\xE5 grund av ett eller flera ogiltiga f\xE4lt. K\xF6r verktyget igen f\xF6r att skapa ett lager med giltiga f\xE4lt.",T="Jobbinl\xE4mningen misslyckades. Skrolla ner, \xE5tg\xE4rda felen och k\xF6r analysen igen.",D="${ dataPath } m\xE5ste ha minst ett tecken som inte \xE4r ett blanksteg.",j={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:i,creditEstimationError:n,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:g,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:k,layerLoadFailure:c,layerUnavailable:f,maxItems:h,mbFailedToSave:u,minItems:p,minLength:y,modelNotFound:v,networkError:b,noPermissionToAccessTool:E,portalLoadError:P,queryFeaturesError:S,requiredProperty:$,serviceNameExistsError:F,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:L,toolValidationError:T,whiteSpacePattern:D};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,i as cannotWriteToItemResource,n as creditEstimationError,j as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,g as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,k as keyPropertiesError,c as layerLoadFailure,f as layerUnavailable,h as maxItems,u as mbFailedToSave,p as minItems,y as minLength,v as modelNotFound,b as networkError,E as noPermissionToAccessTool,P as portalLoadError,S as queryFeaturesError,$ as requiredProperty,F as serviceNameExistsError,I as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,T as toolValidationError,D as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import{a as t}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{a as t}from"./NHVW3QXI.js";import"./LJ3WKMEW.js";import{a as r}from"./AC3JRDHQ.js";import"./3MQ6ZRZE.js";import"./JFUGGJ4B.js";import"./3MYJ6LVY.js";import"./2OSMNGF7.js";import"./FMY2ZXZQ.js";import"./TODXKPMC.js";import"./NOU4IK27.js";import"./3K2VHCK6.js";import"./4FCQ5LMD.js";import"./TZOOPRZV.js";import"./BPDB6S3N.js";import"./5OM5KDQB.js";import"./UXZ5EXMN.js";import"./NSKPNLSF.js";import"./IZHYGLE4.js";import"./FRXS4ADG.js";import"./HD7Q2QSN.js";import"./O2EYFDON.js";import"./V2LDDPI2.js";import"./3B4AI2RC.js";import"./VDIJVIMA.js";var n=async(e,l,o)=>{let i=r(new Date,l.timeZone);return{type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.date.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",min:i,messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.date.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.date.minDateError`}]}},{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:t.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}}]}};export{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.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import"./VDIJVIMA.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import"./VDIJVIMA.js";var e="\u05D0\u05D9\u05DF \u05DC\u05DA \u05DE\u05E1\u05E4\u05D9\u05E7 \u05E7\u05E8\u05D3\u05D9\u05D8\u05D9\u05DD \u05DC\u05D1\u05D9\u05E6\u05D5\u05E2 \u05E4\u05E2\u05D5\u05DC\u05D4 \u05D6\u05D5. \u05E4\u05E0\u05D4 \u05DC\u05DE\u05E0\u05D4\u05DC \u05DE\u05E2\u05E8\u05DB\u05EA ArcGIS \u05DC\u05E7\u05D1\u05DC\u05EA \u05E1\u05D9\u05D5\u05E2.",a="\u05DB\u05DC\u05D9 \u05D6\u05D4 \u05E4\u05D5\u05E8\u05E1\u05DD \u05DE-Notebook. \u05D4\u05D2\u05D9\u05E9\u05D4 \u05D0\u05DC ArcGIS Notebooks \u05D7\u05E1\u05D5\u05DE\u05D4 \u05E2\u05D1\u05D5\u05E8 \u05D0\u05E8\u05D2\u05D5\u05E0\u05DA. \u05E4\u05E0\u05D4 \u05DC\u05DE\u05E0\u05D4\u05DC \u05D4\u05DE\u05E2\u05E8\u05DB\u05EA \u05E9\u05DC\u05DA \u05DC\u05D4\u05EA\u05D0\u05DE\u05EA \u05D4\u05D4\u05D2\u05D3\u05E8\u05D4.",r="\u05DC-${ dataPath } \u05D0\u05E1\u05D5\u05E8 \u05DC\u05DB\u05DC\u05D5\u05DC ${ additionalProperty }.",t="${ dataPath } \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05E1\u05DB\u05DE\u05D4 \u05E9\u05DC \u05D0\u05D7\u05D3 \u05DE\u05D0\u05DC\u05D4: ${ schemaOptions }.",o="\u05E0\u05E1\u05D4 \u05DC\u05E9\u05DE\u05D5\u05E8 \u05D0\u05EA \u05D4\u05DE\u05E4\u05D4 \u05E9\u05D5\u05D1.",s="\u05D4\u05E2\u05E8\u05DB\u05EA \u05E7\u05E8\u05D3\u05D9\u05D8\u05D9\u05DD \u05E0\u05DB\u05E9\u05DC\u05D4. \u05D2\u05DC\u05D5\u05DC \u05DC\u05DE\u05D8\u05D4, \u05EA\u05E7\u05DF \u05D0\u05EA \u05D4\u05E9\u05D2\u05D9\u05D0\u05D5\u05EA \u05D5\u05D4\u05E2\u05E8\u05DA \u05D0\u05EA \u05D4\u05E7\u05E8\u05D3\u05D9\u05D8\u05D9\u05DD \u05E9\u05D5\u05D1.",i='"\u05D0\u05D9\u05E8\u05E2\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4 \u05D1\u05DE\u05D4\u05DC\u05DA \u05D4\u05E8\u05E6\u05EA \u05E0\u05D9\u05EA\u05D5\u05D7.',l="${ dataPath } \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05E9\u05D5\u05D5\u05D4 \u05DC\u05D0\u05D7\u05D3 \u05DE\u05D4\u05E2\u05E8\u05DB\u05D9\u05DD \u05D4\u05DE\u05D5\u05EA\u05E8\u05D9\u05DD \u05D4\u05D1\u05D0\u05D9\u05DD: ${ allowedValues }.",d="\u05E9\u05DE\u05D9\u05E8\u05EA \u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D9\u05EA \u05D4\u05E0\u05D9\u05EA\u05D5\u05D7 \u05E0\u05DB\u05E9\u05DC\u05D4",n="\u05D0\u05D7\u05E1\u05D5\u05DF \u05D4\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D4 \u05DE\u05DC\u05D0. \u05D4\u05E1\u05E8 \u05DB\u05DE\u05D4 \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD \u05DE\u05D4\u05D9\u05E1\u05D8\u05D5\u05E8\u05D9\u05D9\u05EA \u05D4\u05E0\u05D9\u05EA\u05D5\u05D7 \u05D5\u05E0\u05E1\u05D4 \u05DC\u05E9\u05DE\u05D5\u05E8 \u05E9\u05D5\u05D1.",c="\u05E9\u05DD \u05D4\u05E9\u05D9\u05E8\u05D5\u05EA \u05DE\u05DB\u05D9\u05DC \u05EA\u05D5 \u05DC\u05D0 \u05D7\u05D5\u05E7\u05D9 \u05D0\u05D7\u05D3 \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8.",m="\u05E9\u05DE\u05D9\u05E8\u05EA \u05E9\u05DB\u05D1\u05D4 \u05D6\u05DE\u05E0\u05D9\u05EA \u05DB\u05E9\u05DB\u05D1\u05EA \u05D9\u05E9\u05D5\u05EA \u05DE\u05EA\u05D0\u05E8\u05D7\u05EA \u05DC\u05D0 \u05D4\u05D5\u05E9\u05DC\u05DE\u05D4.",u="\u05D4\u05E9\u05D2\u05EA \u05DE\u05D0\u05E4\u05D9\u05D9\u05E0\u05D9 \u05DE\u05E4\u05EA\u05D7 \u05E0\u05DB\u05E9\u05DC\u05D4.",E="\u05D8\u05E2\u05D9\u05E0\u05EA \u05D4\u05E9\u05DB\u05D1\u05D4 \u05E0\u05DB\u05E9\u05DC\u05D4",h="\u05D4\u05E9\u05DB\u05D1\u05D4 \u05DC\u05D0 \u05D6\u05DE\u05D9\u05E0\u05D4",y="\u05DC-${ dataPath } \u05DC\u05D0 \u05D9\u05DB\u05D5\u05DC\u05D9\u05DD \u05DC\u05D4\u05D9\u05D5\u05EA \u05D9\u05D5\u05EA\u05E8 \u05DE-${ limit } \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD.",P="\u05D0\u05D9\u05E8\u05E2\u05D4 \u05E9\u05D2\u05D9\u05D0\u05D4 \u05D1\u05DE\u05D4\u05DC\u05DA \u05E9\u05DE\u05D9\u05E8\u05EA \u05D4\u05DE\u05D5\u05D3\u05DC. \u05E0\u05E1\u05D4 \u05DC\u05E9\u05DE\u05D5\u05E8 \u05E9\u05D5\u05D1.",p="\u05DC-${ dataPath } \u05DC\u05D0 \u05D9\u05DB\u05D5\u05DC\u05D9\u05DD \u05DC\u05D4\u05D9\u05D5\u05EA \u05E4\u05D7\u05D5\u05EA \u05DE-${ limit } \u05E4\u05E8\u05D9\u05D8\u05D9\u05DD.",S="${ dataPath } \u05DC\u05D0 \u05D9\u05DB\u05D5\u05DC \u05DC\u05D4\u05D9\u05D5\u05EA \u05E7\u05E6\u05E8 \u05D9\u05D5\u05EA \u05DE-${ limit } \u05EA\u05D5\u05D5\u05D9\u05DD.",$="\u05D8\u05E2\u05D9\u05E0\u05EA \u05E4\u05E8\u05D9\u05D8 \u05DE\u05D5\u05D3\u05DC \u05E0\u05DB\u05E9\u05DC\u05D4. \u05D5\u05D3\u05D0 \u05E9\u05D4\u05DE\u05D5\u05D3\u05DC \u05E7\u05D9\u05D9\u05DD \u05D5\u05E9\u05E0\u05D9\u05EA\u05E0\u05D4 \u05D4\u05E8\u05E9\u05D0\u05EA \u05D2\u05D9\u05E9\u05D4.",v="\u05D4\u05E9\u05DC\u05DE\u05EA \u05D4\u05D1\u05E7\u05E9\u05D4 \u05E0\u05DB\u05E9\u05DC\u05D4.",f="\u05D0\u05D9\u05DF \u05DC\u05DA \u05D4\u05E8\u05E9\u05D0\u05D4 \u05DC\u05D4\u05E8\u05D9\u05E5 \u05DB\u05DC\u05D9 \u05D6\u05D4. <calcite-link target='_blank' href='${ docLink }'>\u05DC\u05DE\u05D9\u05D3\u05E2 \u05E0\u05D5\u05E1\u05E3</calcite-link>",k="\u05DB\u05E0\u05D9\u05E1\u05D4 \u05D0\u05DC \u05D4\u05E4\u05D5\u05E8\u05D8\u05DC \u05E0\u05DB\u05E9\u05DC\u05D4.",F="\u05E7\u05E8\u05D9\u05D0\u05EA \u05E0\u05EA\u05D5\u05E0\u05D9 \u05D4\u05E7\u05DC\u05D8 \u05E0\u05DB\u05E9\u05DC\u05D4.",I="\u05D1-${ dataPath } \u05D7\u05E1\u05E8 \u05DE\u05D0\u05E4\u05D9\u05D9\u05DF \u05D1\u05E9\u05DD ${ missingProperty }.",T="\u05E7\u05D9\u05D9\u05DE\u05EA \u05DB\u05D1\u05E8 \u05E9\u05DB\u05D1\u05EA \u05EA\u05D5\u05E6\u05D0\u05D4 \u05D1\u05E9\u05DD \u05D6\u05D4. \u05DC\u05E9\u05DB\u05D1\u05D5\u05EA \u05EA\u05D5\u05E6\u05D0\u05D5\u05EA \u05D7\u05D9\u05D9\u05D1\u05D9\u05DD \u05DC\u05D4\u05D9\u05D5\u05EA \u05E9\u05DE\u05D5\u05EA \u05D9\u05D9\u05D7\u05D5\u05D3\u05D9\u05D9\u05DD \u05D1\u05DB\u05DC \u05D4\u05D0\u05E8\u05D2\u05D5\u05DF. \u05D4\u05E9\u05EA\u05DE\u05E9 \u05D1\u05E9\u05DD \u05D0\u05D7\u05E8.",b="\u05E9\u05DD \u05D4\u05E4\u05DC\u05D8 \u05DE\u05DB\u05D9\u05DC \u05EA\u05D5 \u05DC\u05D0 \u05D7\u05D5\u05E7\u05D9 \u05D0\u05D7\u05D3 \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8. <a href='${docLink}' target='_blank'>\u05DE\u05D9\u05D3\u05E2 \u05E0\u05D5\u05E1\u05E3.</a>",L="\u05E4\u05E8\u05E1\u05D5\u05DD \u05D4\u05E9\u05DB\u05D1\u05D4 \u05D4\u05D6\u05DE\u05E0\u05D9\u05EA \u05DB\u05E9\u05DB\u05D1\u05D4 \u05DE\u05EA\u05D0\u05E8\u05D7\u05EA \u05E0\u05DB\u05E9\u05DC \u05E2\u05E7\u05D1 \u05E9\u05D3\u05D4 \u05DC\u05D0 \u05D7\u05D5\u05E7\u05D9 \u05D0\u05D7\u05D3 \u05D0\u05D5 \u05D9\u05D5\u05EA\u05E8. \u05D4\u05E8\u05E5 \u05E9\u05D5\u05D1 \u05D0\u05EA \u05D4\u05DB\u05DC\u05D9 \u05DB\u05D3\u05D9 \u05DC\u05D9\u05E6\u05D5\u05E8 \u05E9\u05DB\u05D1\u05D4 \u05E2\u05DD \u05E9\u05D3\u05D5\u05EA \u05D7\u05D5\u05E7\u05D9\u05D9\u05DD.",N="\u05E9\u05DC\u05D9\u05D7\u05EA \u05D4\u05E2\u05D1\u05D5\u05D3\u05D4 \u05E0\u05DB\u05E9\u05DC\u05D4. \u05D2\u05DC\u05D5\u05DC \u05DC\u05DE\u05D8\u05D4, \u05EA\u05E7\u05DF \u05D0\u05EA \u05D4\u05E9\u05D2\u05D9\u05D0\u05D5\u05EA \u05D5\u05D4\u05E8\u05E5 \u05D0\u05EA \u05D4\u05E0\u05D9\u05EA\u05D5\u05D7 \u05E9\u05D5\u05D1.",g="\u05DC-${ dataPath } \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DC\u05E4\u05D7\u05D5\u05EA \u05EA\u05D5 \u05D0\u05D7\u05D3 \u05E9\u05D0\u05D9\u05E0\u05D5 \u05E8\u05D5\u05D5\u05D7 \u05D1\u05DC\u05EA\u05D9 \u05E0\u05E8\u05D0\u05D4.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:k,queryFeaturesError:F,requiredProperty:I,serviceNameExistsError:T,specialCharactersInServiceNameError:b,temporaryLayerFieldsError:L,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,k as portalLoadError,F as queryFeaturesError,I as requiredProperty,T as serviceNameExistsError,b as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import"./VDIJVIMA.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import{e,f as t}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{e,f as t}from"./V2LDDPI2.js";import"./VDIJVIMA.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import{d as i}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{d as i}from"./OFH5S424.js";import{a}from"./NHVW3QXI.js";async function n(r,t){let e=`${t.portal}/portals/${r}/categorySchema`;try{let{categorySchema:o}=await i(e,t);return s(o[0].categories,"/Categories")}catch{return[]}}function s(r,t){return r.map(e=>{var o;let c=`${t}/${e.title}`,l=e.title;return{value:c,label:l,children:!((o=e.categories)===null||o===void 0)&&o.length?s(e.categories,c):[]}})}async function h(r,t){let e=await n(t.portal.id,t.hubRequestOptions);return[{labelKey:"shared.fields.categories.label",scope:"/properties/categories",type:"Control",options:{control:"hub-field-input-combobox",items:e,allowCustomValues:!1,selectionMode:"ancestors",placeholderIcon:"select-category"},rules:[{effect:a.DISABLE,conditions:[!e.length]}]},{type:"Notice",options:{notice:{configuration:{id:"no-categories-notice",noticeType:"notice",closable:!1,icon:"exclamation-mark-triangle",kind:"warning",scale:"m"},message:"{{shared.fields.categories.noCategoriesNotice.body:translate}}",autoShow:!0,actions:[{label:"{{shared.fields.categories.noCategoriesNotice.link:translate}}",icon:"launch",href:"https://doc.arcgis.com/en/arcgis-online/reference/content-categories.htm",target:"_blank"}]}},rules:[{effect:a.SHOW,conditions:[!e.length]}]}]}export{h as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
4
|
function r(o){return o.reduce((n,e)=>{var i;let t=e.capabilities.includes("updateitemcontrol"),a=(i=e.userMembership)===null||i===void 0?void 0:i.memberType;return(!e.isViewOnly||e.isViewOnly&&["owner","admin"].includes(a))&&n.push({value:e.id,label:e.title,icon:t?"unlock":"view-mixed"}),n},[])}export{r as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import{b as c}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{b as c}from"./R4FRD36C.js";import{a as b}from"./36GBDHPO.js";import{a as u}from"./FOLOJ7IO.js";function a(t,e,r,s,n,l){let i={[n]:{targetEntity:n,filters:r}};return{schemaVersion:1,title:l||`{{${t}catalog.${e}:translate}}`,scopes:i,collections:s}}function f(t){return t&&t.slice(-1)!=="."?`${t}.`:t}function U(t,e,r,s){switch(r){case"item":return k(t,e,s);case"group":return E(t,e,s);case"event":return y(t,e,s);default:throw new Error(`Wellknown catalog not implemented for "${r}"`)}}function d(t,e){if(!e||!e.user)throw new Error(`User needed to get "${t}" catalog`)}function k(t,e,r){t=f(t);let s,n=u(r,"filters")||[],l=u(r,"context"),i=h(t,"item",r?.collectionNames);switch(e){case"myContent":d(e,r),s=a(t,e,[{predicates:[{owner:r.user.username}]},...n],i,"item");break;case"favorites":d(e,r),s=a(t,e,[{predicates:[{group:r.user.favGroupId}]},...n],i,"item");break;case"organization":d(e,r),s=a(t,e,[{predicates:[{orgid:r.user.orgId}]},...n],i,"item");break;case"partners":let o=l.trustedOrgIds.filter(p=>p!==l.currentUser.orgId&&p!==m(l));o.length&&(s=a(t,e,[{predicates:[{orgid:o,searchUserAccess:"includeTrustedOrgs"}]},...n],i,"item"));break;case"community":let g=m(l);g&&(s=a(t,e,[{predicates:[{orgid:g}]},...n],i,"item",l.isCommunityOrg?v(g,l):void 0));break;case"livingAtlas":d(e,r),s=a(t,e,[{predicates:[{owner:"Esri_LivingAtlas"}]}],i,"item");break;case"world":s=a(t,e,[{predicates:[{type:{not:["code attachment"]}}]},...n],i,"item");break}return s}function m(t){let e=t.trustedOrgs.find(r=>r.from.orgId===t.currentUser.orgId);return t.isCommunityOrg&&e?e.to.orgId:t.communityOrgId}function v(t,e){return e.trustedOrgs.find(s=>s.to.orgId===t).to.name}function E(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{targetEntity:"group",key:e,label:e,scope:{targetEntity:"group",filters:[{predicates:[{q:"*"}]}]}}],o=b(n,"currentUser.groups",[]).reduce((g,p)=>(p.userMembership.memberType==="admin"&&g.push(p.id),g),[]);switch(e){case"editGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:["updateitemcontrol"]}]},...l],i,"group");break;case"viewGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:{not:["updateitemcontrol"]}}]},...l],i,"group");break;case"allGroups":d(e,r),s=a(t,e,[{predicates:[{capabilities:[""]}]},...l],i,"group");break;case"myGroups":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.username")}]},...l],i,"group");break;case"orgGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"currentUser.orgId"),id:o}]},...l],i,"group");break;case"communityGroups":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"communityOrgId"),searchUserAccess:"groupMember",searchUserName:u(n,"currentUser.username"),isviewonly:!1},{orgid:u(n,"communityOrgId"),id:o}]},...l],i,"group");break;case"publicGroups":s=a(t,e,[{predicates:[{access:"public"}]},...l],i,"group");break}return s}function y(t,e,r){let s,{context:n,filters:l=[]}=r||{};t=f(t);let i=[{key:e,label:e,targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}];switch(e){case"myEvents":d(e,r),s=a(t,e,[{predicates:[{owner:u(n,"currentUser.id")}]},...l],i,"event");break;case"orgEvents":d(e,r),s=a(t,e,[{predicates:[{orgid:u(n,"currentUser.orgId")}]},...l],i,"event");break;case"worldEvents":s=a(t,e,[{predicates:[{access:["public","private","org"]}]},...l],i,"event");break}return s}function w(t,e){return{appAndMap:{key:"appAndMap",label:`{{${t}collection.appsAndMaps:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:[...c("app"),...c("map")]}]}]}},dataset:{key:"dataset",label:`{{${t}collection.dataset:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("dataset")}]}]}},document:{key:"document",label:`{{${t}collection.documents:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("document")}]}]}},feedback:{key:"feedback",label:`{{${t}collection.feedback:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("feedback")}]}]}},site:{key:"site",label:`{{${t}collection.sites:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("site")}]}]}},template:{key:"template",label:`{{${t}collection.templates:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("template")}]}]}},project:{key:"project",label:`{{${t}collection.projects:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("project")}]}]}},initiative:{key:"initiative",label:`{{${t}collection.initiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{predicates:[{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}},projectAndInitiative:{key:"projectAndInitiative",label:`{{${t}collection.projectsAndInitiatives:translate}}`,targetEntity:e,include:[],scope:{targetEntity:e,filters:[{operation:"OR",predicates:[{type:c("project")},{type:c("initiative"),typekeywords:["hubInitiativeV2"]}]}]}}}}function O(){return["appAndMap","dataset","document","feedback","site","project"]}function h(t,e,r){t=f(t);let s=w(t,e),n=O();return(r?.length?r:n).reduce((i,o)=>(s[o]&&i.push(s[o]),i),[])}export{U as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import{F as s}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{F as s}from"./G7YFTABN.js";var t=s({defaultAssetPath:"https://jsdev.arcgis.com/next/instant-apps-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:d}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i 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.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import{a as r,b as s,c as a,d as n}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{a as r,b as s,c as a,d as n}from"./FRXS4ADG.js";import{a as i}from"./HD7Q2QSN.js";import{b as t}from"./O2EYFDON.js";import{c as e}from"./3B4AI2RC.js";var m=["hub:initiative:edit","hub:initiative:create","hub:initiative:create2","hub:initiative:metrics","hub:initiative:associations","hub:initiative:settings"],b=Object.assign(Object.assign({},i),{properties:Object.assign(Object.assign({},i.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:e.properties}}),allOf:[s,r,n,a]});export{m as a,b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import{a as m,b as o,c as T,d as E}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{a as m,b as o,c as T,d as E}from"./3MQ6ZRZE.js";import{a as t,b as e}from"./JFUGGJ4B.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./V2LDDPI2.js";import"./VDIJVIMA.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import{c as l}from"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import{c as l}from"./MXNQOBQW.js";import"./LZNJXXLW.js";import"./WVXRS3KL.js";import{b as n}from"./PEZ2V43W.js";import{b as h}from"./QLWTDB7L.js";import{E as c,h as o,o as s,r}from"./G7YFTABN.js";import"./VDIJVIMA.js";var d=o`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
4
|
var n;(function(i){i.InPerson="inPerson",i.Online="online",i.Both="both"})(n||(n={}));var o;(function(i){i.Unlimited="unlimited",i.Fixed="fixed"})(o||(o={}));export{n as a,o 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.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import"./
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import"./VDIJVIMA.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
|
3
|
-
v1.1.0-next.20251007.
|
|
4
|
-
import c from"./DJUAK5MT.js";import b from"./BYS6RPZ2.js";import"./5O442EOV.js";import a from"./DMVMCVRH.js";import{a as K}from"./EP6GQK76.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./KTHYYGAI.js";import{b as Se}from"./BKVX5QXH.js";import"./QICKVKJ3.js";import{D as Re,E as Ee,G as w,H as E,h as ke,i as L,j as ge,l as oe}from"./3N4ZRI2R.js";import{b as st,d as lt}from"./RMJIAKHU.js";export default $arcgis.t(([,{a:B,b:W},{a:Fe,b:ce,d:Me,e:Ue,f:ue,g:He,i:Be,o:de,s:De,t:Y,u:me,v:qe,w:We}])=>{var Je=st((fe,Ge)=>{(function(b,t){typeof fe=="object"&&typeof Ge<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},g=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},u=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(g(e[l],i))return l}return-1},$=function(e,i,n,l){var h=e[i];if(h.vnodeSelector!==""){var c=h.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(g(d,h))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(h.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:h}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},z=function(){C=!1,x.forEach(S),x.length=0},I=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(z,{timeout:16}):setTimeout(z,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,h=Object.keys(i).filter(D),c=h.length,A=0;A<c;A++){var f=h[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(u(O),n.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ae=0,re=Object.entries(i.on);ae<re.length;ae++){var se=re[ae],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,n){if(i)for(var l=0,h=i;l<h.length;l++){var c=h[l];F(c,e,void 0,n)}},H=function(e,i,n){Q(e,i.children,n),i.text&&(e.textContent=i.text),ee(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var h,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((h=e.properties)===null||h===void 0)&&h.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}H(c,e,l)}},G,te=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},he=function(e,i,n,l){if(n){for(var h=!1,c=Object.keys(n).filter(D),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ae=!!k[J];O!==ae&&(h=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(h=!0,q?(u(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(h=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),h=!0)}}return h}},Oe=function(e,i,n,l,h){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&g(y,m))k=G(y,m,h,i,n)||k,f++;else{var U=_(n,m,f+1);if(U>=0){for(v=f;v<U;v++)R(n[v]),$(n,v,e,"removed");k=G(n[U],m,h,i,n)||k,f=U+1}else F(m,i,f<c?n[f].domNode:void 0,h),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return k};G=function(e,i,n,l,h){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[h.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=he(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,G(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},Z=function(e){return r(Ne,e)},ne={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,n){return n=Z(n),F(i,e,void 0,n),ie(i,n)},insertBefore:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),ie(i,n)},merge:function(e,i,n){return n=Z(n),i.domNode=e,H(e,i,n),ie(i,n)},replace:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ie(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,n){for(var l=0,h=i.length;l<h;l++){var c=i[l];Array.isArray(c)?xe(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,h;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(h=[],xe(e,n,h),h.length===0&&(h=void 0)),{vnodeSelector:e,properties:i,children:h,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},pe;Array.prototype.find?pe=function(e,i){return e.find(i)}:pe=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?pe(n.children,function(h){return h.domNode===l}):void 0}),n},it=function(e,i,n){return function(h,c,A,f){return l};function l(h){var c,A;n("domEvent",h);var f=i(),d=et(h.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(c=v.properties["on".concat(h.type)])!==null&&c!==void 0?c:v.properties.on[h.type].listener)!==null&&A!==void 0?A:v.properties.on[h.type];k=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",h),k}},nt=function(e){var i,n=Z(e),l=n.performanceLogger,h=!0,c,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};n.eventHandlerInterceptor=it(i,J,l),T=y(m,U(),n),f.push(T),d.push(U)},k=function(){if(c=void 0,!!h){h=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),h=!0}};return i={renderNow:k,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(k))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,h=!0,i.scheduleRender()},append:function(y,m){v(ne.append,y,m)},insertBefore:function(y,m){v(ne.insertBefore,y,m)},merge:function(y,m){v(ne.merge,y,m)},replace:function(y,m){v(ne.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var h=0;h<n.length;h++)e[h]!==n[h]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],h=[];return{results:h,map:function(c){for(var A=c.map(e),f=h.slice(),d=0,v=0;v<c.length;v++){var k=c[v],y=A[v];if(y===l[d])h[v]=f[d],n(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){h[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(h[v]=i(k,v))}}h.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ne,b.h=Ve}))});var Ye=lt(Je(),1);var ot=96;function V(b){return b?b/72*ot:0}var ct=(0,Ye.createProjector)(),Qe=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function dt(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ge`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ge`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function ft(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),ct.append(s,dt.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=ft(t,s);else{let{size:g}=a,u=V(g)+(s==="horizontal"?Le:ve),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${u}px`):$&&($.style.height=`${u}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Ke(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(V(o)+ve)/2:(V(o)-V(a))/2}function ye(b,t,s){if(!b)return null;let o=b.infos.map(r=>r.color),a=t.renderColorRampPreviewHTML(s.type==="full"?o:s.type==="above"?o.slice(0,3):o.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return a.className=Ae.colorRamp,s.opacity!=null&&(a.style.opacity=s.opacity.toString()),a}function vt(b,t,s,o="vertical"){let a=0,r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g;for(let $=u;$<=_;$++)if(s&&$===g)a+=o==="horizontal"?Qe:_e;else{let P=r[$].size,x=V(P)+(o==="horizontal"?Le:ve);a+=x}return Math.round(a)}function $e(b,t,s,o="vertical"){let a=vt(b,t,s,o),r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g,$=t==="full"?r[u].size+r[_].size:t==="above"?r[u].size:r[_].size,P=s?o==="vertical"?_e:Qe:0,x=o==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(a-(V($)/2+P/2+x/2))}function ht(b,t,s="vertical"){let o=b.infos,a=o.find(({type:g})=>g==="size-ramp"),r=o.find(({type:g})=>g==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function pt(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function gt(b,t){return!0}var ut=ke`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-right:5px}:host .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}:host .esri-legend__layer-cell,:host .esri-legend__layer-row{display:flex;align-items:center}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}:host .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}:host .esri-legend__layer-cell--symbols{justify-content:center;width:20%}:host .esri-legend__layer-cell--info{width:65%}:host .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}:host .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-row,:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .instant-apps-interactive-legend__layer-row--interactive{position:relative}:host .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}:host .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){:host .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}:host .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}:host .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}`,p={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},mt=24,Xe={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Ee{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=ut}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Pe(),Ie()]),o=await Te();this.reactiveUtils=s,this.intl=t,this.symbolUtils=o}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&qe(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async u=>await u.load()),a=(await Promise.allSettled(o)).map(u=>u?.status==="fulfilled"&&u?.value?u.value:null).filter(u=>!!u),r=[];a.forEach(u=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(u))}),await Promise.allSettled(r);let g=await ce(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...g}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:g}=t,u=this.messages[r],_=typeof this.messages[g]=="string"?this.messages[g]:g;return`${u}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?this.intl?.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(g=>{console.error(g)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(g=>{console.error(g)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>a.children,"change",()=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],o=We(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Fe(this.legendvm,o,this.reactiveUtils);if(me({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...B.data?.[s?.id]};a?await ue(r,t,o,this.filterMode,a):await ue(r,t,o,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${p.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(p.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(g=>this.renderLegendForLayer(g,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,g)=>this.renderLegendForElement(r,t.layer,t.effectList,t,g)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(p.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,g,u){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=Be(a,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,D,C,u)).filter(M=>!!M);R.length&&(x=L`<div class=${w(p.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let z=t.title,I=null;if(typeof z=="string")I=z;else if(z){let R=z,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in z&&(I=`${z.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!g} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ht(t,s);if(!a)return null;let g=$e(a,"above",!0),u=$e(a,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:g,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Ke(a),C=a.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),z=C.length-1,I=Math.floor(C.length/2),R=C.map((H,F)=>F===I||F===z?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${g}px`},Q={height:`${u}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map((H,F)=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(p.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=pt(t);if(!a)return null;let g=Ke(a),u=12,_=$e(a,"full",!1),$=ye(r,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${I.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${g}px`},z={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map(I=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(C)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(z)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",g=t.type==="stretch-ramp",u=t.preview,_=a?p.opacityRamp:"";u&&(u.classList.add(p.colorRamp),_&&u.classList.add(_)),s!=null&&u&&(u.style.opacity=s.toString());let $=o.map(C=>{let S;if(r){let z=this.messages[C.label];S=typeof z=="string"?z:C.label}else g?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?p.rampLabel:"")}>${S}</div>`}),P={width:`${mt}px`},x={height:u?.style?.height};return L`<div class=${w(p.layerRow)}><div class=${w(p.symbolContainer)} style=${E({...P})}><div class=${w(p.rampContainer)} ${Re(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(u)})}></div></div><div class=${w(p.layerInfo)}><div class=${w(p.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,g,u,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,g,u,!0,t);let x=null,C=!gt(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(p.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",z=a?` ${p.sizeRamp}`:"",I,R=Ue(s),M=De(R,P);if(B.data){let G=Me(R,s,t,M,_),te=M?M?.nestedInfos:R,he=He(te);I=R?.categories?.size===1?!G?.selected:he||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${p.layerRow} ${p.interactiveLayerRow}${I?` ${p.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??oe} .ariaPressed=${I?"true":"false"}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${g} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(p.layerRow)}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:g}=t,u=o?` ${p.imageryLayerStretchedImage}`:"",_=o?"":` ${p.symbol}`,$={opacity:`${g??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??oe} src=${r??oe} width=${t.width} height=${t.height} class=${`$${u}${_}`} style=${E($)}>`}};Se("instant-apps-interactive-legend-classic",we);return we},a,b,c)
|
|
3
|
+
v1.1.0-next.20251007.2 */
|
|
4
|
+
import c from"./S3COAP4D.js";import b from"./TOTZU4L6.js";import"./OTKLNSRD.js";import a from"./4G5K63OS.js";import{a as K}from"./ZD6TXVNV.js";import{C as Pe,E as Te,c as ze,z as Ie}from"./Z4HDSEO7.js";import{b as Se}from"./IRR3HAZY.js";import"./SEYYZQDP.js";import{D as Re,E as Ee,G as w,H as E,h as ke,i as L,j as ge,l as oe}from"./G7YFTABN.js";import{b as st,d as lt}from"./VDIJVIMA.js";export default $arcgis.t(([,{a:B,b:W},{a:Fe,b:ce,d:Me,e:Ue,f:ue,g:He,i:Be,o:de,s:De,t:Y,u:me,v:qe,w:We}])=>{var Je=st((fe,Ge)=>{(function(b,t){typeof fe=="object"&&typeof Ge<"u"?t(fe):typeof define=="function"&&define.amd?define(["exports"],t):(b=typeof globalThis<"u"?globalThis:b||self,t(b.maquette={}))})(fe,(function(b){"use strict";var t="http://www.w3.org/",s="".concat(t,"2000/svg"),o="".concat(t,"1999/xlink"),a=[],r=function(e,i){var n={};return Object.keys(e).forEach(function(l){n[l]=e[l]}),i&&Object.keys(i).forEach(function(l){n[l]=i[l]}),n},g=function(e,i){return e.vnodeSelector!==i.vnodeSelector?!1:e.properties&&i.properties?e.properties.key!==i.properties.key?!1:e.properties.bind===i.properties.bind:!e.properties&&!i.properties},u=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},_=function(e,i,n){if(i.vnodeSelector!==""){for(var l=n;l<e.length;l++)if(g(e[l],i))return l}return-1},$=function(e,i,n,l){var h=e[i];if(h.vnodeSelector!==""){var c=h.properties,A=c?c.key===void 0?c.bind:c.key:void 0;if(!A){for(var f=0;f<e.length;f++)if(f!==i){var d=e[f];if(g(d,h))throw{error:new Error("".concat(n.vnodeSelector," had a ").concat(h.vnodeSelector," child ").concat(l==="added"?l:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:n,childNode:h}}}}},P=function(e){if(e.properties){var i=e.properties.enterAnimation;i&&i(e.domNode,e.properties)}},x=[],C=!1,S=function(e){(e.children||[]).forEach(S),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},z=function(){C=!1,x.forEach(S),x.length=0},I=function(e){x.push(e),C||(C=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback(z,{timeout:16}):setTimeout(z,16))},R=function(e){var i=e.domNode;if(e.properties){var n=e.properties.exitAnimation;if(n){i.style.pointerEvents="none";var l=function(){i.parentNode&&(i.parentNode.removeChild(i),I(e))};n(i,l,e.properties);return}}i.parentNode&&(i.parentNode.removeChild(i),I(e))},M=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function D(e){return!M.includes(e)}var ee=function(e,i,n){if(i)for(var l=n.eventHandlerInterceptor,h=Object.keys(i).filter(D),c=h.length,A=0;A<c;A++){var f=h[A],d=i[f];if(f==="className")throw new Error('Property "className" is not supported, use "class".');if(f==="class")te(e,d,!0);else if(f==="classes")for(var v=Object.keys(d),k=v.length,y=0;y<k;y++){var m=v[y];d[m]&&e.classList.add(m)}else if(f==="styles")for(var U=Object.keys(d),T=U.length,y=0;y<T;y++){var J=U[y],O=d[J];O&&(u(O),n.styleApplyer(e,J,O))}else if(f==="on"&&d)for(var ae=0,re=Object.entries(i.on);ae<re.length;ae++){var se=re[ae],X=se[0],q=se[1],N=typeof q=="function"?q:q.listener;l&&(N=l(X,N,e,i)),N&&e.addEventListener(X,N,typeof q=="function"?void 0:q.options)}else if(f!=="key"&&d!==null&&d!==void 0){var le=typeof d;le==="function"?(f.lastIndexOf("on",0)===0&&l&&(d=l(f,d,e,i)),e[f]=d):n.namespace===s?f==="href"?e.setAttributeNS(o,f,d):e.setAttribute(f,d):le==="string"&&f!=="value"&&f!=="innerHTML"?e.setAttribute(f,d):e[f]=d}}},Q=function(e,i,n){if(i)for(var l=0,h=i;l<h.length;l++){var c=h[l];F(c,e,void 0,n)}},H=function(e,i,n){Q(e,i.children,n),i.text&&(e.textContent=i.text),ee(e,i.properties,n),i.properties&&i.properties.afterCreate&&i.properties.afterCreate.apply(i.properties.bind||i.properties,[e,n,i.vnodeSelector,i.properties,i.children])},F=function(e,i,n,l){var h,c,A=0,f=e.vnodeSelector,d=i.ownerDocument;if(f==="")e.domNode?e.domNode.nodeValue=e.text:(c=e.domNode=d.createTextNode(e.text),n!==void 0?i.insertBefore(c,n):i.appendChild(c));else{for(var v=0;v<=f.length;++v){var k=f.charAt(v);if(v===f.length||k==="."||k==="#"){var y=f.charAt(A-1),m=f.slice(A,v);y==="."?c.classList.add(m):y==="#"?c.id=m:(m==="svg"&&(l=r(l,{namespace:s})),l.namespace!==void 0?c=e.domNode=d.createElementNS(l.namespace,m):(c=e.domNode=e.domNode||(!((h=e.properties)===null||h===void 0)&&h.is?d.createElement(m,{is:e.properties.is}):d.createElement(m)),m==="input"&&e.properties&&e.properties.type!==void 0&&c.setAttribute("type",e.properties.type)),n!==void 0?i.insertBefore(c,n):c.parentNode!==i&&i.appendChild(c)),A=v+1}}H(c,e,l)}},G,te=function(e,i,n){i&&i.split(" ").forEach(function(l){l&&e.classList.toggle(l,n)})},he=function(e,i,n,l){if(n){for(var h=!1,c=Object.keys(n).filter(D),A=c.length,f=0;f<A;f++){var d=c[f],v=n[d],k=i[d];if(d==="class")k!==v&&(te(e,k,!1),te(e,v,!0));else if(d==="classes")for(var y=e.classList,m=Object.keys(v),U=m.length,T=0;T<U;T++){var J=m[T],O=!!v[J],ae=!!k[J];O!==ae&&(h=!0,O?y.add(J):y.remove(J))}else if(d==="styles")for(var re=Object.keys(v),se=re.length,T=0;T<se;T++){var X=re[T],q=v[X],N=k[X];q!==N&&(h=!0,q?(u(q),l.styleApplyer(e,X,q)):l.styleApplyer(e,X,""))}else if(!v&&typeof k=="string"&&(v=""),d==="value"){var le=e[d];le!==v&&v!==k&&(e[d]=v),v!==k&&(h=!0)}else if(v!==k){var Ce=typeof v;(Ce!=="function"||!l.eventHandlerInterceptor)&&(l.namespace===s?d==="href"?e.setAttributeNS(o,d,v):e.setAttribute(d,v):Ce==="string"&&d!=="innerHTML"?d==="role"&&v===""?e.removeAttribute(d):e.setAttribute(d,v):e[d]!==v&&(e[d]=v),h=!0)}}return h}},Oe=function(e,i,n,l,h){if(n===l)return!1;n=n||a,l=l||a;for(var c=n.length,A=l.length,f=0,d=0,v,k=!1;d<A;){var y=f<c?n[f]:void 0,m=l[d];if(y!==void 0&&g(y,m))k=G(y,m,h,i,n)||k,f++;else{var U=_(n,m,f+1);if(U>=0){for(v=f;v<U;v++)R(n[v]),$(n,v,e,"removed");k=G(n[U],m,h,i,n)||k,f=U+1}else F(m,i,f<c?n[f].domNode:void 0,h),P(m),$(l,d,e,"added")}d++}if(c>f)for(v=f;v<c;v++)R(n[v]),$(n,v,e,"removed");return k};G=function(e,i,n,l,h){var c=e.domNode,A=!1;if(e===i)return!1;var f=!1;if(i.vnodeSelector===""){if(i.text!==e.text){var d=c.ownerDocument.createTextNode(i.text);try{l.replaceChild(d,c)}catch{l.replaceChild(d,l.childNodes[h.indexOf(e)])}return i.domNode=d,A=!0,A}i.domNode=c}else i.vnodeSelector.lastIndexOf("svg",0)===0&&(n=r(n,{namespace:s})),e.text!==i.text&&(f=!0,i.text===void 0?c.removeChild(c.firstChild):c.textContent=i.text),i.domNode=c,f=Oe(i,c,e.children,i.children,n)||f,f=he(c,e.properties,i.properties,n)||f,i.properties&&i.properties.afterUpdate&&i.properties.afterUpdate.apply(i.properties.bind||i.properties,[c,n,i.vnodeSelector,i.properties,i.children]);return f&&i.properties&&i.properties.updateAnimation&&i.properties.updateAnimation(c,i.properties,e.properties),A};var ie=function(e,i){return{getLastRender:function(){return e},update:function(n){if(e.vnodeSelector!==n.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var l=e;e=n,G(l,n,i,l.domNode.parentNode,[l])},domNode:e.domNode}},Ne={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,i,n){i.charAt(0)==="-"?e.style.setProperty(i,n):e.style[i]=n}},Z=function(e){return r(Ne,e)},ne={create:function(e,i){return i=Z(i),F(e,document.createElement("div"),void 0,i),ie(e,i)},append:function(e,i,n){return n=Z(n),F(i,e,void 0,n),ie(i,n)},insertBefore:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),ie(i,n)},merge:function(e,i,n){return n=Z(n),i.domNode=e,H(e,i,n),ie(i,n)},replace:function(e,i,n){return n=Z(n),F(i,e.parentNode,e,n),e.parentNode.removeChild(e),ie(i,n)}},je=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},xe=function(e,i,n){for(var l=0,h=i.length;l<h;l++){var c=i[l];Array.isArray(c)?xe(e,c,n):c!=null&&c!==!1&&(typeof c=="string"&&(c=je(c)),n.push(c))}};function Ve(e,i,n){if(Array.isArray(i))n=i,i=void 0;else if(i&&(typeof i=="string"||i.vnodeSelector)||n&&(typeof n=="string"||n.vnodeSelector))throw new Error("h called with invalid arguments");var l,h;return n&&n.length===1&&typeof n[0]=="string"?l=n[0]:n&&(h=[],xe(e,n,h),h.length===0&&(h=void 0)),{vnodeSelector:e,properties:i,children:h,text:l===""?void 0:l,domNode:null}}var et=function(e,i){for(var n=[];e&&e!==i;)n.push(e),e=e.parentNode;return n},pe;Array.prototype.find?pe=function(e,i){return e.find(i)}:pe=function(e,i){return e.filter(i)[0]};var tt=function(e,i){var n=e;return i.forEach(function(l){n=n&&n.children?pe(n.children,function(h){return h.domNode===l}):void 0}),n},it=function(e,i,n){return function(h,c,A,f){return l};function l(h){var c,A;n("domEvent",h);var f=i(),d=et(h.currentTarget,f.domNode);d.reverse();var v=tt(f.getLastRender(),d);e.scheduleRender();var k;if(v){var y=(A=(c=v.properties["on".concat(h.type)])!==null&&c!==void 0?c:v.properties.on[h.type].listener)!==null&&A!==void 0?A:v.properties.on[h.type];k=y.apply(v.properties.bind||this,arguments)}return n("domEventProcessed",h),k}},nt=function(e){var i,n=Z(e),l=n.performanceLogger,h=!0,c,A=!1,f=[],d=[],v=function(y,m,U){var T,J=function(){return T};n.eventHandlerInterceptor=it(i,J,l),T=y(m,U(),n),f.push(T),d.push(U)},k=function(){if(c=void 0,!!h){h=!1,l("renderStart",void 0);for(var y=0;y<f.length;y++){var m=d[y]();l("rendered",void 0),f[y].update(m),l("patched",void 0)}l("renderDone",void 0),h=!0}};return i={renderNow:k,scheduleRender:function(){!c&&!A&&(c=requestAnimationFrame(k))},stop:function(){c&&(cancelAnimationFrame(c),c=void 0),A=!0},resume:function(){A=!1,h=!0,i.scheduleRender()},append:function(y,m){v(ne.append,y,m)},insertBefore:function(y,m){v(ne.insertBefore,y,m)},merge:function(y,m){v(ne.merge,y,m)},replace:function(y,m){v(ne.replace,y,m)},detach:function(y){for(var m=0;m<d.length;m++)if(d[m]===y)return d.splice(m,1),f.splice(m,1)[0];throw new Error("renderFunction was not found")}},i},at=function(){var e,i;return{invalidate:function(){i=void 0,e=void 0},result:function(n,l){if(e)for(var h=0;h<n.length;h++)e[h]!==n[h]&&(i=void 0);return i||(i=l(),e=n),i}}},rt=function(e,i,n){var l=[],h=[];return{results:h,map:function(c){for(var A=c.map(e),f=h.slice(),d=0,v=0;v<c.length;v++){var k=c[v],y=A[v];if(y===l[d])h[v]=f[d],n(k,f[d],v),d++;else{for(var m=!1,U=1;U<l.length+1;U++){var T=(d+U)%l.length;if(l[T]===y){h[v]=f[T],n(c[v],f[T],v),d=T+1,m=!0;break}}m||(h[v]=i(k,v))}}h.length=c.length,l=A}}};b.createCache=at,b.createMapping=rt,b.createProjector=nt,b.dom=ne,b.h=Ve}))});var Ye=lt(Je(),1);var ot=96;function V(b){return b?b/72*ot:0}var ct=(0,Ye.createProjector)(),Qe=10,_e=20,ve=10,Le=20,Ae={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function dt(b="vertical"){let t={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return b==="vertical"?L`<svg height=4 width=10>${ge`<line x1=0 y1=2 x2=10 y2=2 style=${E(t)} />`}</svg>`:L`<svg height=10 width=10>${ge`<line x1=5 y1=0 x2=5 y2=10 style=${E(t)} />`}</svg>`}function ft(b,t="vertical"){let s=document.createElement("div");return s.style.height=`${_e}px`,s.className=Ae.univariateAboveAndBelowSymbol,b!=null&&(s.style.opacity=b.toString()),ct.append(s,dt.bind(null,t)),s}function Ze(b,t,s="vertical",o){b.infos.forEach((a,r)=>{if(o&&r===2)a.preview=ft(t,s);else{let{size:g}=a,u=V(g)+(s==="horizontal"?Le:ve),_=a.preview.tagName.toLowerCase()==="div",$=_?a.preview:document.createElement("div");$&&($.className=Ae.univariateAboveAndBelowSymbol),s==="horizontal"?$&&($.style.width=`${u}px`):$&&($.style.height=`${u}px`),_||$&&$.appendChild(a.preview),a.preview=$}})}function Ke(b,t="classic"){let s=b.infos,o=s[0].size,a=s[s.length-1].size;return t==="classic"?(V(o)+ve)/2:(V(o)-V(a))/2}function ye(b,t,s){if(!b)return null;let o=b.infos.map(r=>r.color),a=t.renderColorRampPreviewHTML(s.type==="full"?o:s.type==="above"?o.slice(0,3):o.slice(2,5),{width:s.width,height:s.height,align:s.rampAlignment,effectList:s.effectList});return a.className=Ae.colorRamp,s.opacity!=null&&(a.style.opacity=s.opacity.toString()),a}function vt(b,t,s,o="vertical"){let a=0,r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g;for(let $=u;$<=_;$++)if(s&&$===g)a+=o==="horizontal"?Qe:_e;else{let P=r[$].size,x=V(P)+(o==="horizontal"?Le:ve);a+=x}return Math.round(a)}function $e(b,t,s,o="vertical"){let a=vt(b,t,s,o),r=b.infos,g=Math.floor(r.length/2),u=t==="full"||t==="above"?0:g,_=t==="full"||t==="below"?r.length-1:g,$=t==="full"?r[u].size+r[_].size:t==="above"?r[u].size:r[_].size,P=s?o==="vertical"?_e:Qe:0,x=o==="vertical"?ve*(t==="full"?2:1):Le*(t==="full"?2:1);return Math.round(a-(V($)/2+P/2+x/2))}function ht(b,t,s="vertical"){let o=b.infos,a=o.find(({type:g})=>g==="size-ramp"),r=o.find(({type:g})=>g==="color-ramp");return a&&(a={...a},a.infos=[...a.infos],Ze(a,t,s,!0)),r&&(r={...r},r.infos=[...r.infos]),s==="horizontal"&&(a?.infos.reverse(),r?.infos.reverse()),{sizeRampElement:a,colorRampElement:r}}function pt(b,t="vertical"){let s=b.infos,o=s.find(({type:r})=>r==="size-ramp"),a=s.find(({type:r})=>r==="color-ramp");return o&&(o={...o},o.infos=[...o.infos],Ze(o,null,t,!1)),a&&(a={...a},a.infos=[...a.infos]),t==="horizontal"&&(o?.infos.reverse(),a?.infos.reverse()),{sizeRampElement:o,colorRampElement:a}}function gt(b,t){return!0}var ut=ke`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-caption-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size: 1rem;--instant-apps-interactive-legend-total-feature-count-font-size: .875rem;--instant-apps-interactive-legend-info-font-size: .875rem;--instant-apps-interactive-legend-info-item-background--selected: #c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark: #009af2;--instant-apps-interactive-legend-info-item-background--hover: #e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark: #4a4a4a;--instant-apps-interactive-legend-info-item-color--selected: var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color: var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin: 20px 15px;--instant-apps-interactive-legend-ui-padding: 20px 15px}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .esri-legend__layer-caption{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-caption calcite-action{margin-right:5px}:host .instant-apps-interactive-legend__layer-caption-btn-container{white-space:nowrap}:host .instant-apps-interactive-legend__layer-caption-btn-container calcite-button{margin:2px}:host .esri-legend__layer-caption{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}:host .esri-legend__layer-cell.esri-legend__layer-cell--info{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}:host .esri-legend__layer-cell,:host .esri-legend__layer-row{display:flex;align-items:center}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-body{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}:host .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol>.esri-legend__layer-body{margin:0}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-row{display:table-row}:host .instant-apps-interactive-legend__non-interactive .esri-legend__layer-cell{display:table-cell}:host .esri-legend__layer-cell--symbols{justify-content:center;width:20%}:host .esri-legend__layer-cell--info{width:65%}:host .instant-apps-interactive-legend__layer-row--interactive{margin:1px;background:transparent;border:none;width:100%}:host .esri-legend__layer-cell--info{color:var(--instant-apps-interactive-legend-secondary-color)}:host .esri-legend__layer-row,:host .esri-legend__layer-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .instant-apps-interactive-legend__layer-row--interactive{position:relative}:host .instant-apps-interactive-legend-element-info--selected{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend-element-info--selected .esri-legend__layer-cell--info{color:var(--calcite-color-text-inverse)}:host .hide{display:none}.instant-apps-interactive-legend__compact .esri-legend__layer-row{--instant-apps-interactive-legend-ui-padding: 10px 5px}.instant-apps-interactive-legend__compact .esri-legend__layer-row .esri-legend__layer-cell--info{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){:host .instant-apps-interactive-legend__layer-row--interactive{cursor:pointer}:host .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}:host .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}:host .calcite-mode-dark .instant-apps-interactive-legend__layer-row--interactive:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}`,p={layer:"esri-legend__layer",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},mt=24,Xe={display:"flex",alignItems:"flex-start"},be={marginLeft:"3px"},j={display:"table-cell",verticalAlign:"middle"},we=class extends Ee{constructor(){super(...arguments),this.calculatingFeatureCount=!1,this.isLoading=!0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"}}static{this.properties={isLoading:16,legendvm:0,zoomTo:5,featureCount:5,filterMode:0,messages:0}}static{this.styles=ut}async connectedCallback(){super.connectedCallback(),!this.handles&&(this.handles=await ze())}async load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0});let[t,s]=await Promise.all([Pe(),Ie()]),o=await Te();this.reactiveUtils=s,this.intl=t,this.symbolUtils=o}willUpdate(t){t.has("filterMode")&&this.legendvm?.view&&(this.hasUpdated||this.filterMode.type!=="filter")&&qe(this.filterMode,this.legendvm.view)}async loaded(){await this.initLegend()}disconnectedCallback(){super.disconnectedCallback(),this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let t=async()=>{try{let s=this.legendvm?.view?.map;await s?.load(),await s?.basemap?.load();let o=s?.allLayers?.map(async u=>await u.load()),a=(await Promise.allSettled(o)).map(u=>u?.status==="fulfilled"&&u?.value?u.value:null).filter(u=>!!u),r=[];a.forEach(u=>{this.legendvm?.view&&r.push(this.legendvm.view.whenLayerView(u))}),await Promise.allSettled(r);let g=await ce(this.legendvm,this.reactiveUtils);W.set("data",{...B.data,...g}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(s){console.error(s),this.isLoading=!1}};this.legendvm?.view?.when(t),this.legendvm?.view?.map?.layers?.on("after-changes",t)}catch{this.isLoading=!1}}getStretchStopLabel(t){let s=this.messages[t.label];return t.label?`${s}: ${typeof t.value=="string"?t.value:this.intl.formatNumber(t.value,{style:"decimal",notation:t.value.toString().includes("e")?"scientific":"standard"})}`:""}getTitle(t,s){if(!t)return;if(typeof t=="string"||typeof t=="number")return t;if("value"in t||"unit"in t){let r=typeof this.messages?.dotValue=="string"?this.messages.dotValue:"";return this.intl.substitute(r,t)}if("colorName"in t||"bandName"in t){let{colorName:r,bandName:g}=t,u=this.messages[r],_=typeof this.messages[g]=="string"?this.messages[g]:g;return`${u}: ${_}`}if("showCount"in t)return t.showCount?this.messages.clusterCountTitle:null;let o=null;if(s){let r=t;o=r.ratioPercentTotal?"showRatioPercentTotal":r.ratioPercent?"showRatioPercent":r.ratio?"showRatio":t.normField?"showNormField":t.field?"showField":null}else if(this.isRendererTitle(s)){let r=t;o=r.normField?"showNormField":r.normByPct?"showNormPct":r.field?"showField":null}let a=o==="showField"?"{field}":typeof o=="string"?this.messages[o]:"";return o?this.intl?.substitute(a,{field:t.field,normField:t.normField}):""}isRendererTitle(t){return!t}async setupWatchersAndListeners(){let t=this.legendvm?.view?.map?.allLayers?.filter(a=>a?.type==="feature"),s=[];for(let a of t)this.legendvm?.view&&s.push(this.legendvm?.view?.whenLayerView(a));let o=[];try{o=await Promise.all(s)}catch(a){console.error(a)}for(let a of o){let r=`fLayerViewScale-${a.layer.id}`;!this.handles?.has(r)&&a&&this.handles?.add(a.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(a.layer).catch(g=>{console.error(g)})}),r)}t?.forEach(a=>{let r=`fLayer-${a?.id}`;this.handles?.has(r)||this.handles?.add(this.reactiveUtils?.watch(()=>a?.visible,()=>{this.createDataForLayer(a).catch(g=>{console.error(g)})}),r)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",a=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>a.children,"change",()=>{ce(this.legendvm,this.reactiveUtils).then(r=>{W.set("data",{...B.data,...r}),this.requestUpdate()}).catch(r=>{console.error(r)})}))}).catch(r=>{console.error(r)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{de(this.legendvm,B.data).then(a=>{W.set("data",{...B.data,...a}),this.calculatingFeatureCount=!1}).catch(a=>{console.error(a)})}))}async createDataForLayer(t){let s=W.get("data")?.[t?.id],o=We(this.legendvm?.activeLayerInfos)?.find(a=>a?.layer?.id===t?.id);if(!s&&o){let a=await Fe(this.legendvm,o,this.reactiveUtils);if(me({intLegendLayerData:a,layerId:t?.id}),this.featureCount){let r=await de(this.legendvm,B.data);W.set("data",{...B.data,...r})}}}applyFilter(t,s,o,a){return async()=>{let r={...B.data?.[s?.id]};a?await ue(r,t,o,this.filterMode,a):await ue(r,t,o,this.filterMode),me({intLegendLayerData:r,layerId:s?.id})}}render(){let t=this.renderFilteredLayers(),s=W.get("compact")?` ${p.compact}`:"";return this.isLoading?K("interactive-legend-loader",L`<calcite-loader scale=m .label=${this.messages?.loading} .text=${this.messages?.loading}></calcite-loader>`):K("interactive-legend-classic-container",L`<div class=${`${Y(this.el)}${s}`}>${t?.length>0?t:L`<div class=${w(p.message)}>${this.messages?.noLegend}</div>`}</div>`)}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(t=>this.renderLegendForLayer(t)).filter(t=>!!t)}renderLegendForLayer(t,s){if(!t.ready)return null;if(t.children.length){let r=t.children.map(g=>this.renderLegendForLayer(g,!0)).toArray();return L`<instant-apps-interactive-legend-group-legend-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${s}><div style=${E({paddingLeft:"20px"})} .id=${`${t?.layer?.id}-legend-layer`} slot=content>${r}</div></instant-apps-interactive-legend-group-legend-element>`}let o=t.legendElements;if(o&&!o.length)return null;let a=o.map((r,g)=>this.renderLegendForElement(r,t.layer,t.effectList,t,g)).filter(r=>!!r);return a.length?L`<instant-apps-interactive-legend-layer-element class=${w(Y(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${t} .isChild=${!!s}><div slot=content .id=${`${t?.layer?.id}-legend-layer`} class=${w(p.layer)}>${a}</div></instant-apps-interactive-legend-layer-element>`:null}renderLegendForElement(t,s,o,a,r,g,u){let _=t.type==="color-ramp",$=t.type==="opacity-ramp",P=t.type==="size-ramp",x=null,C=Be(a,t,r),S=t?.type==="relationship-ramp";if(t.type==="symbol-table"||P){let R=t.infos.map((M,D)=>this.renderLegendForElementInfo(M,s,o,P,t,a,r,D,C,u)).filter(M=>!!M);R.length&&(x=L`<div class=${w(p.layerBody)}>${R}</div>`)}else if(t.type==="color-ramp"||t.type==="opacity-ramp"||t.type==="heatmap-ramp"||t.type==="stretch-ramp"){let R=t;x=this.renderLegendForRamp(R,s.opacity)}else if(S)x=K("relationship-ramp",L`<instant-apps-interactive-legend-relationship class=${w(Y(this.el))} .filterMode=${this.filterMode} .activeLayerInfo=${a} .legendElement=${t}></instant-apps-interactive-legend-relationship>`);else if(t.type==="pie-chart-ramp"){let R=t;x=this.renderPieChartRamp(R)}else if(t.type==="univariate-above-and-below-ramp"){let R=t;x=this.renderUnivariateAboveAndBelowRamp(R,s.opacity,o)}else if(t.type==="univariate-color-size-ramp"){let R=t;x=this.renderUnivariateColorSizeRamp(R,s.opacity,o)}if(!x)return null;let z=t.title,I=null;if(typeof z=="string")I=z;else if(z){let R=z,M=this.getTitle(R,_||$);this.isRendererTitle(_||$)?"title"in z&&(I=`${z.title} (${M})`):I=M}return L`<instant-apps-interactive-legend-legend-element class=${w(Y(this.el))} .activeLayerInfo=${a} .isSizeRamp=${P} .isChild=${!!g} .isColorRamp=${_} .isRelationshipRamp=${S} .isInteractive=${C} .zoomTo=${this.zoomTo} .legendElement=${t} .titleText=${I} .legendvm=${this.legendvm} .legendElementIndex=${r}><div slot=content>${x}</div></instant-apps-interactive-legend-legend-element>`}renderPieChartRamp(t){return L`<div .innerHTML=${`${t.preview?.outerHTML}`}></div>`}renderUnivariateAboveAndBelowRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=ht(t,s);if(!a)return null;let g=$e(a,"above",!0),u=$e(a,"below",!0),_=12,$=ye(r,this.symbolUtils,{width:_,height:g,rampAlignment:"vertical",opacity:s,type:"above",effectList:o}),P=ye(r,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:s,type:"below",effectList:o}),x=Ke(a),C=a.infos.map(H=>H.label),S=C.map((H,F)=>F===0?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:F===2?L`<div></div>`:null),z=C.length-1,I=Math.floor(C.length/2),R=C.map((H,F)=>F===I||F===z?L`<div class=${w(H?$?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${H}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${x}px`},ee={height:`${g}px`},Q={height:`${u}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map((H,F)=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(M)} .innerHTML=${H?.preview?.outerHTML??""??""}></div>${!$&&F%2===0?L`<div class=${w(p.layerInfo)}>${C[F]}</div>`:null}</div>`)}</div>${$?K("color-ramp-preview",L`<div style=${E(D)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(ee)}>${S}</div></div></div><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${P}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(Q)}>${R}</div></div></div></div>`):null}</div>`)}renderUnivariateColorSizeRamp(t,s,o){let{sizeRampElement:a,colorRampElement:r}=pt(t);if(!a)return null;let g=Ke(a),u=12,_=$e(a,"full",!1),$=ye(r,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:s,type:"full",effectList:o}),P=a.infos.length-1,x=a.infos.map((I,R)=>R===0||R===P?L`<div class=${w(I.label?r?p.univariateAboveAndBelowLabel:p.rampLabel:"")}>${I.label}</div>`:null),C={display:"table-cell",verticalAlign:"middle"},S={marginTop:`${g}px`},z={height:`${_}px`};return K("univariate-above-and-below-ramp-preview",L`<div style=${E(Xe)}><div class=${w(p.layerBody)}>${a.infos.map(I=>L`<div class=${`${p.layerRow} ${p.sizeRamp}`}><div class=${w(p.symbol)} style=${E(C)} .innerHTML=${I?.preview?.outerHTML??""??""}></div></div>`)}</div>${K("color-ramp-preview",L`<div style=${E(S)}><div style=${E(be)}><div style=${E(j)}><div class=${w(p.rampContainer)}>${$}</div></div><div style=${E(j)}><div class=${w(p.rampLabelsContainer)} style=${E(z)}>${x}</div></div></div></div>`)}</div>`)}renderLegendForRamp(t,s){let o=t.infos,a=t.type==="opacity-ramp",r=t.type==="heatmap-ramp",g=t.type==="stretch-ramp",u=t.preview,_=a?p.opacityRamp:"";u&&(u.classList.add(p.colorRamp),_&&u.classList.add(_)),s!=null&&u&&(u.style.opacity=s.toString());let $=o.map(C=>{let S;if(r){let z=this.messages[C.label];S=typeof z=="string"?z:C.label}else g?S="value"in C?this.getStretchStopLabel(C):C.label:S=C.label;return L`<div class=${w(C.label?p.rampLabel:"")}>${S}</div>`}),P={width:`${mt}px`},x={height:u?.style?.height};return L`<div class=${w(p.layerRow)}><div class=${w(p.symbolContainer)} style=${E({...P})}><div class=${w(p.rampContainer)} ${Re(C=>{C?.firstChild&&C?.firstChild?.remove(),C?.appendChild(u)})}></div></div><div class=${w(p.layerInfo)}><div class=${w(p.rampLabelsContainer)} style=${E({...x})}>${$}</div></div></div>`}renderLegendForElementInfo(t,s,o,a,r,g,u,_,$,P){if("infos"in t)return this.renderLegendForElement(t,s,o,g,u,!0,t);let x=null,C=!gt(s,r.type);if("preview"in t){let{outerHTML:G}=t.preview;x=L`<div class=${w(p.symbol)} .innerHTML=${G??""}></div>`}else"src"in t&&(x=this.renderImage(t,s,C));if(!x)return null;let S="",z=a?` ${p.sizeRamp}`:"",I,R=Ue(s),M=De(R,P);if(B.data){let G=Me(R,s,t,M,_),te=M?M?.nestedInfos:R,he=He(te);I=R?.categories?.size===1?!G?.selected:he||G?.selected}let D="label"in t?t.label:null,ee=M&&!("value"in t)?!1:$,Q=W.get("compact"),H=this.getTitle(D,!1)||"",F=M?r.title:D??s?.id;return ee?L`<button @click=${this.applyFilter(t,s,_,P)} class=${`${p.layerRow} ${p.interactiveLayerRow}${I?` ${p.infoSelected}`:""}`} title=${(Q?`${H}`:void 0)??oe} .ariaPressed=${I?"true":"false"}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${this.getTitle(D,!1)||""}</div>${this.featureCount&&!Q?L`<instant-apps-interactive-legend-count class=${w(Y(this.el))} .categoryId=${F} .activeLayerInfo=${g} .legendvm=${this.legendvm} .selected=${!!I} .legendElement=${r} .infoIndex=${_}></instant-apps-interactive-legend-count>`:null}</button>`:L`<div class=${w(p.layerRow)}><div class=${`${p.symbolContainer}${S}${z}`}>${x}</div><div class=${`${p.layerInfo}${S}`}>${H}</div></div>`}renderImage(t,s,o){let{label:a,src:r,opacity:g}=t,u=o?` ${p.imageryLayerStretchedImage}`:"",_=o?"":` ${p.symbol}`,$={opacity:`${g??s.opacity}`};return L`<img alt=${this.getTitle(a,!1)??oe} src=${r??oe} width=${t.width} height=${t.height} class=${`$${u}${_}`} style=${E($)}>`}};Se("instant-apps-interactive-legend-classic",we);return we},a,b,c)
|