@esri/solutions-components 1.2.0-next.19 → 1.2.0-next.20
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/assets/config/appConfig.json.d.ts +1 -0
- package/dist/cdn/{2QQ5JFWO.js → 24NXLO23.js} +2 -2
- package/dist/cdn/{I5B5F6TU.js → 2A43GCOV.js} +2 -2
- package/dist/cdn/{RJ6CYMOG.js → 2ALMQ2ZF.js} +2 -2
- package/dist/cdn/{TUW2HPFQ.js → 2AZTXL4Y.js} +2 -2
- package/dist/cdn/{TOGFOYIF.js → 2CK7SB3E.js} +2 -2
- package/dist/cdn/{BBIEKJEB.js → 2E2FE2UD.js} +1 -1
- package/dist/cdn/{JOFQV5Z7.js → 2I5JVFLV.js} +2 -2
- package/dist/cdn/{XVL5ZM2K.js → 2KDPEGNM.js} +2 -2
- package/dist/cdn/{QIO2NZI6.js → 2KGL2KRL.js} +2 -2
- package/dist/cdn/{OXRJ2EXU.js → 2LPVFJKJ.js} +2 -2
- package/dist/cdn/{K3PKYIL5.js → 2R7AUPQI.js} +1 -1
- package/dist/cdn/2U37MMSW.js +18 -0
- package/dist/cdn/{NVNXTWG7.js → 3C4ETSRM.js} +2 -2
- package/dist/cdn/3D3RNQXF.js +4 -0
- package/dist/cdn/{4PCQB2SX.js → 3J6DNKCB.js} +2 -2
- package/dist/cdn/{Q2OJ2GP4.js → 3JEP4BL5.js} +1 -1
- package/dist/cdn/{YAJ3T6LV.js → 3JTKRUV2.js} +2 -2
- package/dist/cdn/{VVQSSMFC.js → 3RRAETYC.js} +2 -2
- package/dist/cdn/{O5N5KDEC.js → 3SE34IUW.js} +2 -2
- package/dist/cdn/{YFHLSJWF.js → 3SZISG5C.js} +2 -2
- package/dist/cdn/{WKQH4Y5B.js → 3UHWOBFU.js} +2 -2
- package/dist/cdn/{SOC7PJNF.js → 3XMYR6AO.js} +2 -2
- package/dist/cdn/{5ECSXH66.js → 44X6QKRO.js} +2 -2
- package/dist/cdn/{JEZYT2R6.js → 4EKEBZDH.js} +4 -4
- package/dist/cdn/{S7MUN3J2.js → 4H5JZV3N.js} +1 -1
- package/dist/cdn/{RP5MCZPA.js → 4KSQVRTW.js} +2 -2
- package/dist/cdn/{26TS43IE.js → 4KVLYOZL.js} +1 -1
- package/dist/cdn/{HKEQ6M54.js → 4L4Y76VM.js} +2 -2
- package/dist/cdn/{GLY5CFA6.js → 4VB4MJKS.js} +2 -2
- package/dist/cdn/{IDGY7DEQ.js → 4W4KYXC7.js} +2 -2
- package/dist/cdn/{NXZD7IHT.js → 5BCHBBEG.js} +2 -2
- package/dist/cdn/5CLHQWXO.js +18 -0
- package/dist/cdn/{BWHRBHOE.js → 5FQDPXO7.js} +2 -2
- package/dist/cdn/{XGEQMGW5.js → 5GMJ5YD4.js} +2 -2
- package/dist/cdn/{7QSRD5GC.js → 5IY7QON3.js} +2 -2
- package/dist/cdn/{PEHKQHME.js → 5JWBQM5X.js} +2 -2
- package/dist/cdn/{ANF7GU3J.js → 5K27OV6X.js} +2 -2
- package/dist/cdn/{4WVWZ6W6.js → 5LCZHYVJ.js} +2 -2
- package/dist/cdn/{FWLOWUEP.js → 5Q45QLUW.js} +2 -2
- package/dist/cdn/{EL2G5RIM.js → 5RB6LGBC.js} +2 -2
- package/dist/cdn/{VJ3OUW6F.js → 5UFQVWVZ.js} +2 -2
- package/dist/cdn/{45NCUYXN.js → 5UKVAD54.js} +2 -2
- package/dist/cdn/{J3D2E7OE.js → 5VCN4HJU.js} +1 -1
- package/dist/cdn/{IDEUYY54.js → 5Y5WZKXD.js} +2 -2
- package/dist/cdn/{KQHLTKR4.js → 62MLOWEA.js} +2 -2
- package/dist/cdn/{RUKVMROM.js → 67PFFTBT.js} +2 -2
- package/dist/cdn/{BXNPSTRH.js → 6HKQWPJC.js} +2 -2
- package/dist/cdn/{CQURVLDF.js → 6JLUJWH6.js} +2 -2
- package/dist/cdn/{GVHN6EQR.js → 6JWFKDA2.js} +2 -2
- package/dist/cdn/{X2RLKMUU.js → 6PHCJUDM.js} +2 -2
- package/dist/cdn/{FNJIBNIH.js → 6TG2EO2Z.js} +2 -2
- package/dist/cdn/{OFRQL7US.js → 6TJU76R3.js} +1 -1
- package/dist/cdn/{T7MLIT4T.js → 6VXUORBY.js} +2 -2
- package/dist/cdn/{YJ452SYU.js → 6WZU5A27.js} +2 -2
- package/dist/cdn/{3VTSOF6Z.js → 6ZG44WOK.js} +2 -2
- package/dist/cdn/{JUDCTX7R.js → 73ILD7CJ.js} +1 -1
- package/dist/cdn/{22YHU4MM.js → 7B2JUGRA.js} +2 -2
- package/dist/cdn/{5MLZQBRJ.js → 7CGF4Q2X.js} +2 -2
- package/dist/cdn/{Y3VPBOAP.js → 7GMOCOVS.js} +2 -2
- package/dist/cdn/{5GHOR5KN.js → 7JBU7L6F.js} +2 -2
- package/dist/cdn/{BLM4UCNC.js → 7KMYAWJ5.js} +2 -2
- package/dist/cdn/{47G6QCQA.js → 7L3YSULP.js} +2 -2
- package/dist/cdn/{2M722VOP.js → 7M2CWJFQ.js} +2 -2
- package/dist/cdn/{WL6G2TE6.js → 7MLWYGOM.js} +2 -2
- package/dist/cdn/{OPNQFN3A.js → 7QNFIYHN.js} +2 -2
- package/dist/cdn/{Z7T776GO.js → 7RFFTMJS.js} +2 -2
- package/dist/cdn/7XIYLGPM.js +4 -0
- package/dist/cdn/{CI3O4ZCO.js → A2NUNLI7.js} +2 -2
- package/dist/cdn/{A24YML76.js → A4BQL2K3.js} +2 -2
- package/dist/cdn/{WILHP4N4.js → A7N6WDBV.js} +2 -2
- package/dist/cdn/{GCECONXT.js → A7TYO73E.js} +2 -2
- package/dist/cdn/{MWVG5Q3O.js → AA4EWK4C.js} +2 -2
- package/dist/cdn/{JYPCX7W4.js → ABVF5BMO.js} +2 -2
- package/dist/cdn/{JBODA45L.js → AFTQSX7I.js} +2 -2
- package/dist/cdn/{MC2SGMCJ.js → AHNRTMIR.js} +2 -2
- package/dist/cdn/{XBWMRPVX.js → AKYZ7MV4.js} +2 -2
- package/dist/cdn/{Y6EY5UK6.js → ALEZMHWP.js} +2 -2
- package/dist/cdn/{MPO2SBHJ.js → AMM6V7TB.js} +2 -2
- package/dist/cdn/{ILO7DRWW.js → AUEIJUOE.js} +2 -2
- package/dist/cdn/{Q2L42E65.js → AWYWTRXR.js} +1 -1
- package/dist/cdn/{YJJHFUZX.js → B2WOMW43.js} +2 -2
- package/dist/cdn/{NNNDDTXK.js → B53MK47Y.js} +2 -2
- package/dist/cdn/{64RPCBV6.js → BCVMTQ7X.js} +2 -2
- package/dist/cdn/{AFHCFB4W.js → BFY7RHIE.js} +2 -2
- package/dist/cdn/{5EDZ4O3G.js → BHQ5RFLI.js} +2 -2
- package/dist/cdn/{QK27OGIZ.js → BP2CHTVW.js} +2 -2
- package/dist/cdn/{EGG7YFYN.js → BYHVLFM4.js} +2 -2
- package/dist/cdn/{R77AOSHR.js → BZ4SCSVK.js} +2 -2
- package/dist/cdn/{HOR4ATTM.js → C2HOCMY5.js} +2 -2
- package/dist/cdn/{J2VE6J3Y.js → C2NWD2IM.js} +2 -2
- package/dist/cdn/{IJS27HID.js → C3V5DJBO.js} +2 -2
- package/dist/cdn/{Y3HLV42Z.js → C3XGN444.js} +1 -1
- package/dist/cdn/{DMDVHEWT.js → C6F4HO5U.js} +1 -1
- package/dist/cdn/{7S6NIOJD.js → CA3G4QAA.js} +2 -2
- package/dist/cdn/{UJE6LE5L.js → CBW6ZCMO.js} +2 -2
- package/dist/cdn/{AA4JO44X.js → CCSUXK4Q.js} +2 -2
- package/dist/cdn/{HFUH7OSY.js → CDI76SS4.js} +2 -2
- package/dist/cdn/{NWGGQ57G.js → CEDUDGY3.js} +2 -2
- package/dist/cdn/{GNGB3JRT.js → CHWH5FGQ.js} +2 -2
- package/dist/cdn/{WMF4C6ES.js → CKIAT6FZ.js} +2 -2
- package/dist/cdn/{DRZ5PBYX.js → CL2HUELG.js} +2 -2
- package/dist/cdn/{AB6ISD3T.js → CNQYI77D.js} +1 -1
- package/dist/cdn/{OJ4DDMXC.js → CP4KQ5JU.js} +2 -2
- package/dist/cdn/{RCAATVQZ.js → CRA26J6U.js} +2 -2
- package/dist/cdn/{QB7KEFSL.js → CVPWFU5K.js} +2 -2
- package/dist/cdn/{KGW5GPOQ.js → D6U22V3H.js} +2 -2
- package/dist/cdn/{DEURRL3K.js → D7VLL243.js} +2 -2
- package/dist/cdn/{SBWVOYV5.js → D7VNUZC6.js} +2 -2
- package/dist/cdn/{VTCBJ2D6.js → DEGZEHFA.js} +2 -2
- package/dist/cdn/DFADPAZK.js +4 -0
- package/dist/cdn/{RR5QW2LS.js → DGGOQ3L4.js} +1 -1
- package/dist/cdn/{7QB5JEVK.js → DMHPJDKF.js} +2 -2
- package/dist/cdn/{BJFC7I5X.js → DMWBD2QY.js} +2 -2
- package/dist/cdn/{QKNNJT55.js → DOFGLV3C.js} +2 -2
- package/dist/cdn/{I7YC7OVR.js → DPD4MWDN.js} +2 -2
- package/dist/cdn/{BF3RSCPH.js → DTS4PRW6.js} +2 -2
- package/dist/cdn/{JLWSFROV.js → DZPWOUEC.js} +2 -2
- package/dist/cdn/{GPHKYNKJ.js → DZVV6CD7.js} +2 -2
- package/dist/cdn/{NO3YVQ6A.js → E3DHDSJM.js} +2 -2
- package/dist/cdn/{62OQYOHS.js → EA2CRCAW.js} +2 -2
- package/dist/cdn/{MJRFFEAC.js → EDGKUXXH.js} +2 -2
- package/dist/cdn/{4EWNJTNA.js → EJ6BXACD.js} +2 -2
- package/dist/cdn/{FJQM5C5E.js → EL22VV3P.js} +2 -2
- package/dist/cdn/{NESUGAGY.js → EM3ALNIJ.js} +2 -2
- package/dist/cdn/{W5KMQ4UR.js → EMC4J76D.js} +2 -2
- package/dist/cdn/{KWOPNRWT.js → ERJ3FGFF.js} +2 -2
- package/dist/cdn/{5SGCUMSX.js → ET53ODBH.js} +2 -2
- package/dist/cdn/{2QGKL2NV.js → F3N33DMK.js} +1 -1
- package/dist/cdn/{XMSOTSQR.js → FDRN4UNS.js} +2 -2
- package/dist/cdn/{VCSRQV2E.js → FDYQ2FKY.js} +1 -1
- package/dist/cdn/{AEVGTVHH.js → FF3XYEI3.js} +2 -2
- package/dist/cdn/{EACE7I2L.js → FGMT2KHY.js} +2 -2
- package/dist/cdn/{DYKMS2XI.js → FJUDCABT.js} +2 -2
- package/dist/cdn/{2SXODEUR.js → G2V4X4JH.js} +2 -2
- package/dist/cdn/{WC6RZR3T.js → G577XEWY.js} +2 -2
- package/dist/cdn/{YF3AVJ7M.js → G7XF4ZJ4.js} +2 -2
- package/dist/cdn/{OOSXI2NQ.js → GEUPVEDN.js} +2 -2
- package/dist/cdn/{MS3BLF63.js → GKEQBFSS.js} +2 -2
- package/dist/cdn/{P3L3PAJG.js → GKZFHOW2.js} +2 -2
- package/dist/cdn/{RIAT7TGZ.js → GLAVWPYD.js} +2 -2
- package/dist/cdn/{C36CLENN.js → GLDIEU4P.js} +2 -2
- package/dist/cdn/{IHUCCZRI.js → GMXSVE5F.js} +1 -1
- package/dist/cdn/{JLDMQZHX.js → GUBSZEOJ.js} +2 -2
- package/dist/cdn/{7FNTRIO4.js → GZ45JBXT.js} +2 -2
- package/dist/cdn/{DW67BQ5Z.js → HA4BRCZL.js} +2 -2
- package/dist/cdn/{3HSC4RCW.js → HETCA2TC.js} +2 -2
- package/dist/cdn/{QFL3F6UT.js → HGSRS4G7.js} +2 -2
- package/dist/cdn/{RDRVZRXN.js → HJMB6XLQ.js} +2 -2
- package/dist/cdn/{RIHZXKSX.js → HUP3H66T.js} +2 -2
- package/dist/cdn/{LGOAQM2P.js → HVJNKZ76.js} +2 -2
- package/dist/cdn/{GWM4V2YL.js → HWXHOMUP.js} +2 -2
- package/dist/cdn/{7TFQXOUF.js → HYVUWU6M.js} +2 -2
- package/dist/cdn/{32HZNJKT.js → I3DKKF5F.js} +1 -1
- package/dist/cdn/{3CK3DE5X.js → I3PEU4E4.js} +2 -2
- package/dist/cdn/{EISSLOWS.js → I4PXPOT7.js} +2 -2
- package/dist/cdn/{XUVGFDFW.js → I5BUX6M6.js} +2 -2
- package/dist/cdn/{2VDO6IK7.js → I6MYM6IJ.js} +2 -2
- package/dist/cdn/{JKGUDN3I.js → I7DFBRAW.js} +2 -2
- package/dist/cdn/{LITZW2Q5.js → I7PYIEVL.js} +2 -2
- package/dist/cdn/{AVDJTXAO.js → IP5RAZNL.js} +2 -2
- package/dist/cdn/{5JHEYLIC.js → IQ653RQE.js} +2 -2
- package/dist/cdn/{4CXECAN4.js → IW5AHPNH.js} +2 -2
- package/dist/cdn/{F5E4YCCM.js → IWS4I3HA.js} +2 -2
- package/dist/cdn/{EZATJTGX.js → IXDDY2QM.js} +2 -2
- package/dist/cdn/{DZRORQOM.js → IXMHUULQ.js} +2 -2
- package/dist/cdn/{L4DAPED3.js → J27HWMOU.js} +2 -2
- package/dist/cdn/{HSLTEBVT.js → J6IBYFB7.js} +2 -2
- package/dist/cdn/JE7GMEC2.js +18 -0
- package/dist/cdn/{ELWWVPQG.js → JWKBLBHU.js} +2 -2
- package/dist/cdn/{JAQHBRLC.js → K2RFNUWO.js} +2 -2
- package/dist/cdn/{5EWUECGS.js → K5R7D36H.js} +2 -2
- package/dist/cdn/{DW5UP2DJ.js → KCUSGNOT.js} +2 -2
- package/dist/cdn/{TN66WLKC.js → KHN6DAWC.js} +1 -1
- package/dist/cdn/{J6JGAP2A.js → KHVQFIOO.js} +2 -2
- package/dist/cdn/{YL2SEYXX.js → KI2VCUWI.js} +2 -2
- package/dist/cdn/{PCGJ5DDL.js → KIB3SJXC.js} +2 -2
- package/dist/cdn/{42XPJ675.js → KLYMYJXG.js} +2 -2
- package/dist/cdn/{6N5BPACU.js → KM5ULZP3.js} +2 -2
- package/dist/cdn/{WY2BG2WH.js → KUAZYP5Z.js} +2 -2
- package/dist/cdn/{KFPRIXCO.js → KVXQDAG4.js} +2 -2
- package/dist/cdn/{KV5F7SAJ.js → KWTHKTQ3.js} +2 -2
- package/dist/cdn/{MET7FVPU.js → KX5726AR.js} +2 -2
- package/dist/cdn/{XGYWS7PX.js → KYROOFA3.js} +2 -2
- package/dist/cdn/{7PBHYP7W.js → L5IXOZ6K.js} +2 -2
- package/dist/cdn/{RPT7LG2V.js → L5L3D2MP.js} +2 -2
- package/dist/cdn/{UURALHJR.js → LA57LCMB.js} +2 -2
- package/dist/cdn/{Q7E2RV6R.js → LBN2RTAD.js} +2 -2
- package/dist/cdn/{HFIZKZJV.js → LCJL63FQ.js} +2 -2
- package/dist/cdn/{ORRMSBXJ.js → LEJ63S6Y.js} +2 -2
- package/dist/cdn/{AOZBBKJW.js → LEMWW4ED.js} +1 -1
- package/dist/cdn/{OGMOWVM7.js → LHSOZNOH.js} +2 -2
- package/dist/cdn/{FNJQTTAG.js → LIXADYN2.js} +2 -2
- package/dist/cdn/{S2FG5GFR.js → LLCAUOLE.js} +2 -2
- package/dist/cdn/{Q66A3F65.js → LQHGJORU.js} +1 -1
- package/dist/cdn/{OSNUUYSI.js → LSNSP3E4.js} +2 -2
- package/dist/cdn/{7GSGM4S7.js → M2ZJDR4T.js} +2 -2
- package/dist/cdn/{QXDBOEAR.js → M67UKJWV.js} +2 -2
- package/dist/cdn/{GZCH2X3O.js → M7J53CH4.js} +2 -2
- package/dist/cdn/{JNN4QEN3.js → MPEIFNG5.js} +3 -3
- package/dist/cdn/{LCHDPYHR.js → MQ6QXIYX.js} +2 -2
- package/dist/cdn/{2M3BHAXW.js → MQUYDV5R.js} +1 -1
- package/dist/cdn/{6SLVFYJ5.js → N4AIZVPV.js} +1 -1
- package/dist/cdn/NF4TQGZG.js +18 -0
- package/dist/cdn/{QKX6UM6J.js → NFAELL2V.js} +2 -2
- package/dist/cdn/NHSZXNZV.js +18 -0
- package/dist/cdn/{YBJ3YTV3.js → NKYODIPR.js} +2 -2
- package/dist/cdn/{GYTBU56V.js → NL5HFA2J.js} +2 -2
- package/dist/cdn/{NJK4PUQB.js → NMG2ID6N.js} +1 -1
- package/dist/cdn/{XGCSSIL4.js → NMIFRQTZ.js} +2 -2
- package/dist/cdn/{QWOATCKF.js → NOPHLD4K.js} +1 -1
- package/dist/cdn/{SJAXYJOO.js → NPAJ34CV.js} +2 -2
- package/dist/cdn/{JXFLLGN4.js → NPOGRCJT.js} +2 -2
- package/dist/cdn/{OLHRRP4A.js → NQHBEVOL.js} +2 -2
- package/dist/cdn/{IXY7VOKG.js → NQP4W34S.js} +2 -2
- package/dist/cdn/{EWFLBOIN.js → NUYH6NTK.js} +2 -2
- package/dist/cdn/{OIOZH453.js → OJYHZLP5.js} +2 -2
- package/dist/cdn/{5FTIKHT4.js → OK6VX227.js} +2 -2
- package/dist/cdn/{2B7IWOYW.js → OKERLMQE.js} +2 -2
- package/dist/cdn/{XVARK74Z.js → OL22QE26.js} +2 -2
- package/dist/cdn/{W7JFZPAP.js → OPR2BXKC.js} +2 -2
- package/dist/cdn/{ADIMNSJJ.js → OTUN2NKK.js} +2 -2
- package/dist/cdn/{4BIIN2YL.js → OUD44QTO.js} +2 -2
- package/dist/cdn/{SIRWAZY3.js → OX3SGCCQ.js} +2 -2
- package/dist/cdn/{Y6KHGZUA.js → P3BJE2HN.js} +2 -2
- package/dist/cdn/{OBV3H4TJ.js → PFGY7OJD.js} +1 -1
- package/dist/cdn/{EPPBVHFH.js → PKJNXMVR.js} +1 -1
- package/dist/cdn/{WVVUTS22.js → PNIMBHES.js} +2 -2
- package/dist/cdn/{2OIJ33BN.js → PSMIHRUH.js} +2 -2
- package/dist/cdn/{H2DVZMMG.js → PTF4V2H4.js} +2 -2
- package/dist/cdn/{7PQKGV3H.js → PXQKI3CA.js} +2 -2
- package/dist/cdn/{A24JYHMG.js → PYISYGHM.js} +2 -2
- package/dist/cdn/{WIR5NLH4.js → Q5CNUDGT.js} +2 -2
- package/dist/cdn/{ULUMVVAJ.js → Q62F7PR4.js} +2 -2
- package/dist/cdn/{H3MLGADV.js → QCFLEL57.js} +2 -2
- package/dist/cdn/{U7M2RLE7.js → QEIXC65L.js} +2 -2
- package/dist/cdn/{5QCO4M3Y.js → QFF7V4PQ.js} +2 -2
- package/dist/cdn/{ETBL7HUF.js → QFJYWPYF.js} +2 -2
- package/dist/cdn/{2ZQ3LJ7W.js → QTFLAIE5.js} +2 -2
- package/dist/cdn/{JBE52HSM.js → QU42CF6F.js} +2 -2
- package/dist/cdn/{VB27TX4S.js → R4NHUKQL.js} +2 -2
- package/dist/cdn/{ISRKDDNF.js → RBY4RRXS.js} +2 -2
- package/dist/cdn/{EPANBM4J.js → RCFLYQVH.js} +2 -2
- package/dist/cdn/{F5K5DYFE.js → RCKQ7IME.js} +2 -2
- package/dist/cdn/{C2722TDJ.js → RFFJFE4V.js} +2 -2
- package/dist/cdn/{NJPKGHRB.js → RGTERX4S.js} +2 -2
- package/dist/cdn/{2576ZCZN.js → RJBUFP4Z.js} +1 -1
- package/dist/cdn/{CV7VQEA6.js → RLZYJMK2.js} +2 -2
- package/dist/cdn/{BGMQHNZJ.js → RT3O7MJA.js} +2 -2
- package/dist/cdn/{EORB44LC.js → RXAFOSW5.js} +2 -2
- package/dist/cdn/{BEU7NDLE.js → RYLMXGYK.js} +1 -1
- package/dist/cdn/{FZFRJKJE.js → S6R6G6MM.js} +1 -1
- package/dist/cdn/{RRI3FR4A.js → SCSYXJ7N.js} +2 -2
- package/dist/cdn/{PCPZ3BN2.js → SHFBCRKO.js} +2 -2
- package/dist/cdn/{DM3SAT6X.js → SKNE6RLM.js} +2 -2
- package/dist/cdn/{CZV7AL35.js → SNAXFCRD.js} +2 -2
- package/dist/cdn/{ZUUI472B.js → SRGIOXPX.js} +2 -2
- package/dist/cdn/{42Y4G657.js → ST3O4SWS.js} +2 -2
- package/dist/cdn/{O42X2SO2.js → SV5GS7VD.js} +2 -2
- package/dist/cdn/{LZZZZOA4.js → SWAZYX4I.js} +2 -2
- package/dist/cdn/{S4RYMDH7.js → T47XNO3L.js} +1 -1
- package/dist/cdn/{XJV3VHVH.js → T4BKHW4Q.js} +2 -2
- package/dist/cdn/{DVJIQDTF.js → T6EN2LQT.js} +2 -2
- package/dist/cdn/{DRKJZ2NM.js → TJBM3R6U.js} +2 -2
- package/dist/cdn/{U5CMKNMP.js → TS3DBIH4.js} +2 -2
- package/dist/cdn/{N5IFRUGW.js → TXQG7PH5.js} +2 -2
- package/dist/cdn/{RT6M4522.js → TZ4JYL26.js} +2 -2
- package/dist/cdn/{JFR4PBJK.js → UEBQNKZH.js} +2 -2
- package/dist/cdn/{EXKSSYFW.js → UHDBPQAZ.js} +2 -2
- package/dist/cdn/{7C7QW5XP.js → UI7FKZHS.js} +1 -1
- package/dist/cdn/{YRNSD6C5.js → UMFU7KU2.js} +2 -2
- package/dist/cdn/{OSXIWZYA.js → UNXBX2LJ.js} +2 -2
- package/dist/cdn/{UZP23SJI.js → UNXJMJFU.js} +2 -2
- package/dist/cdn/{E7DQ2ATA.js → UQHNT6NC.js} +2 -2
- package/dist/cdn/USDRTL75.js +4 -0
- package/dist/cdn/UV3OCW2R.js +4 -0
- package/dist/cdn/{XDNR2XCE.js → UWAVF2GP.js} +2 -2
- package/dist/cdn/{6M6BNRWC.js → V272SPSH.js} +1 -1
- package/dist/cdn/{N6WOPYZZ.js → V5XAPNIN.js} +2 -2
- package/dist/cdn/VC3ONQSP.js +4 -0
- package/dist/cdn/{YKWROUCD.js → VCA7V37B.js} +2 -2
- package/dist/cdn/{H2TW2R3F.js → VEILQFP2.js} +2 -2
- package/dist/cdn/{7MB3WJLH.js → VHUKKY5C.js} +2 -2
- package/dist/cdn/{FJ7BYQC5.js → VIKALXXD.js} +1 -1
- package/dist/cdn/{RNDMF2DV.js → VKQSUS2D.js} +2 -2
- package/dist/cdn/{3TGDEX7S.js → VLVHNMFY.js} +2 -2
- package/dist/cdn/{2OCLY2I7.js → VMS64XK4.js} +2 -2
- package/dist/cdn/{BWRYLT4L.js → VP76CX4U.js} +2 -2
- package/dist/cdn/{KC657426.js → VRYNGE64.js} +1 -1
- package/dist/cdn/{3UU33BCC.js → VX7VTV2U.js} +2 -2
- package/dist/cdn/{OJNVYEAB.js → VZ2AGJN5.js} +2 -2
- package/dist/cdn/{CXQT5S7B.js → VZ4GI3Y5.js} +2 -2
- package/dist/cdn/{5RMK2TPE.js → W6PJINLH.js} +2 -2
- package/dist/cdn/{6MDGO4CM.js → W7I2RFAY.js} +2 -2
- package/dist/cdn/{HLEEHPJY.js → WBZEJCYL.js} +2 -2
- package/dist/cdn/{LJT3PLIY.js → WEUFVO6F.js} +2 -2
- package/dist/cdn/{PTWSQ75I.js → WGNE3DPP.js} +2 -2
- package/dist/cdn/{ONZ4PXK6.js → WJAN6LLL.js} +2 -2
- package/dist/cdn/{PT6HI57A.js → WL5TY3AP.js} +2 -2
- package/dist/cdn/{5QP4XR45.js → WO3K4V6S.js} +2 -2
- package/dist/cdn/{TOWNV5AE.js → WOC7MJRV.js} +2 -2
- package/dist/cdn/{POWWLWBX.js → WPCGB26M.js} +2 -2
- package/dist/cdn/{CUB5BLED.js → WPRUSW2K.js} +2 -2
- package/dist/cdn/WS4XMXPD.js +4 -0
- package/dist/cdn/{2TM6KFIN.js → WTEOQ6IU.js} +2 -2
- package/dist/cdn/{LFURIS2I.js → WX2Q5L3D.js} +2 -2
- package/dist/cdn/{GDUU2E4P.js → WX6CMXEK.js} +1 -1
- package/dist/cdn/{ZDD665TE.js → WXWPPR6B.js} +2 -2
- package/dist/cdn/{JURA5BX3.js → X3CQIPF3.js} +2 -2
- package/dist/cdn/{57KNNAXU.js → X4HZQF3T.js} +2 -2
- package/dist/cdn/{RYWHE2IB.js → X7HNESXH.js} +2 -2
- package/dist/cdn/{M2OE7C43.js → XBNCRUBM.js} +2 -2
- package/dist/cdn/{XYEZBBPE.js → XBVQ745C.js} +2 -2
- package/dist/cdn/{ZQE7JBVT.js → XHLRAGQ2.js} +2 -2
- package/dist/cdn/{3LSSG7JR.js → XHXMDQDA.js} +1 -1
- package/dist/cdn/{CIRZXCBS.js → XIEML7FT.js} +2 -2
- package/dist/cdn/{P4HN56XQ.js → XLNL32C3.js} +2 -2
- package/dist/cdn/{BYA7FCQQ.js → XOT6KGWE.js} +2 -2
- package/dist/cdn/{WP5FOVI3.js → XX4ZM5IC.js} +2 -2
- package/dist/cdn/{OSQHIHWX.js → XY6XTEZB.js} +2 -2
- package/dist/cdn/{SYXMVYUO.js → XYCXFP2Q.js} +2 -2
- package/dist/cdn/{QKTLYN3B.js → Y5GTJ73V.js} +2 -2
- package/dist/cdn/{RP62YBD7.js → YESTJISJ.js} +2 -2
- package/dist/cdn/YFSAZFMI.js +4 -0
- package/dist/cdn/{UC2GEIA5.js → YIFZSXOX.js} +2 -2
- package/dist/cdn/{NOQDL573.js → YIXPGCUC.js} +2 -2
- package/dist/cdn/{JMFZVYIM.js → YKBX525C.js} +2 -2
- package/dist/cdn/{SMNLYPLA.js → YKPVSW3B.js} +2 -2
- package/dist/cdn/{WTNBBRNQ.js → YLYRRWJW.js} +2 -2
- package/dist/cdn/{64NX5JRM.js → YRBA2ZGR.js} +2 -2
- package/dist/cdn/{XRTNBGY6.js → YTTUHU2O.js} +2 -2
- package/dist/cdn/{Y46SIIZB.js → YWYPENHD.js} +2 -2
- package/dist/cdn/{62QMVKPB.js → Z2FUMODE.js} +2 -2
- package/dist/cdn/{EMXMINVH.js → Z2V2BGBO.js} +2 -2
- package/dist/cdn/{FC2Q6NSN.js → Z2XSUUH4.js} +2 -2
- package/dist/cdn/{CBB4KKT3.js → Z3JRVSB5.js} +2 -2
- package/dist/cdn/{3IMSKKHE.js → Z56HKANV.js} +2 -2
- package/dist/cdn/{TKTKR3TT.js → ZE3EUHXG.js} +2 -2
- package/dist/cdn/{UVPEPCQH.js → ZF2XHMQZ.js} +1 -1
- package/dist/cdn/{5253NLNG.js → ZFAAOHYX.js} +2 -2
- package/dist/cdn/{4SU4K6SE.js → ZFZ663TV.js} +1 -1
- package/dist/cdn/{IV4EGRMK.js → ZIAGI22J.js} +2 -2
- package/dist/cdn/{QJP7MJ7Q.js → ZUQRVCPO.js} +2 -2
- package/dist/cdn/{QTAPAAWM.js → ZV5K3H2V.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 +13 -10
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +28 -23
- 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 +1 -1
- 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-configuration/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-deployed-card-panel/customElement.js +23 -21
- 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 +21 -21
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +4 -2
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +2 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +7 -7
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/utils/cardsHelpers.d.ts +7 -0
- package/dist/utils/interfaces.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cdn/2LOQHPQH.js +0 -4
- package/dist/cdn/2NSLOQ7Y.js +0 -18
- package/dist/cdn/5IEADAUB.js +0 -18
- package/dist/cdn/AFBLGS6R.js +0 -18
- package/dist/cdn/BV7JJC64.js +0 -4
- package/dist/cdn/H3NSEOBR.js +0 -4
- package/dist/cdn/IUZ5MXKE.js +0 -4
- package/dist/cdn/JGWTEN6C.js +0 -18
- package/dist/cdn/NNLSBH63.js +0 -4
- package/dist/cdn/NZ2VYJCI.js +0 -4
- package/dist/cdn/PNPZOWUP.js +0 -4
- package/dist/cdn/QIKHJKDI.js +0 -18
- package/dist/cdn/QLODGXIA.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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
4
|
var e=["hub:channel","hub:channel:create","hub:channel:delete","hub:channel:edit","hub:channel:view","hub:channel:owner","hub:channel:manage","hub:channel:read","hub:channel:write","hub:channel:readWrite","hub:channel:moderate"],n="hub:channel:none",h={channelRoot:"hub:channel",channelCreate:"hub:channel:create",channelDelete:"hub:channel:delete",channelEdit:"hub:channel:edit",channelView:"hub:channel:view",channelOwner:"hub:channel:owner",channelManage:"hub:channel:manage",channelRead:"hub:channel:read",channelWrite:"hub:channel:write",channelReadWrite:"hub:channel:readWrite",channelModerate:"hub:channel:moderate"};export{e as a,n as b,h as c};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import c from"./FDRN4UNS.js";import{a as x}from"./D6U22V3H.js";import a from"./IWS4I3HA.js";import{a as N}from"./HGSRS4G7.js";import{a as D}from"./WBZEJCYL.js";import{E as k,h as R,i as L}from"./NOPHLD4K.js";import{b as F}from"./7RFFTMJS.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{D as g,E as H,G as E,h as I,i as b,r as $}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";export default $arcgis.t(([,{a:m}])=>{var S=new Map([["HH",[1,0,3,2,null]],["LH",[3,2,1,0,4,null]],["LL",[2,3,0,1,null]]]),P=new Map([["HH",[2,1,0,5,4,3,8,7,6]],["LH",[8,7,6,5,4,3,2,1,0]],["LL",[6,7,8,3,void 0,void 0,0,1,2]]]),U=new Map([["HH",[3,2,1,0,7,6,5,4,11,10,9,8,15,14,13,12]],["LH",[15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]],["LL",[12,13,14,15,8,9,10,11,4,5,6,7,0,1,2,3]]]);function B(u,e){return e===null?S.get("HH")[u]:S.get(e)?.[u]??null}function G(u,e){return e===null?u:P.get(e)?.[u]??u}function q(u,e){return e===null?q(u,"HH"):U.get(e)?.[u]??null}var J=I`@layer{instant-apps-interactive-legend-relationship{display:block}instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{display:inline-block;width:100%;text-align:center;margin-bottom:10px;background-color:#d2e9f9}.calcite-mode-dark instant-apps-interactive-legend-relationship .instant-apps-interactive-legend-relationship__instructional-text{background-color:var(--calcite-color-brand);color:#151515}}`,V="svg g:first-of-type",K="svg g:last-of-type",h="esri-interactive-legend--selected-cell",M="esri-interactive-legend--instructional-text",j=2,O=3,Q=4,W=Object.freeze({0:"L",1:"H"}),X=Object.freeze({0:"L",1:"M",2:"H"}),Y=Object.freeze({0:"L",1:"M1",2:"M2",3:"H"}),Z={instructionalText:"instant-apps-interactive-legend-relationship__instructional-text"},v=class extends H{constructor(){super(),this._messages=D({name:"instant-apps-interactive-legend"}),this.cellNodeCounter=0,this.listenOn(window,"showAllSelected",this.showAllSelectedEmitted)}static{this.properties={filterMode:0,activeLayerInfo:0,legendElement:0}}static{this.styles=J}static{this.shadowRootOptions=$}get shouldApplyCustomFunctionality(){return!!(this.relationshipRamp&&this.activeLayerInfo&&this.legendElement&&m.data)}async load(){let e=await k();this.symbolUtils=e}showAllSelectedEmitted(){let e=m.data[this.activeLayerInfo.layer.id].queryExpressions.length===0,t=this.relationshipRamp.querySelector(V);if(!t)return;let s=Array.from(t.children);e&&s?.forEach(i=>{i.removeAttribute("stroke"),i.removeAttribute("stroke-width"),i.removeAttribute("stroke-opacity"),i.setAttribute("aria-pressed","false"),i.classList.remove(h)})}applyRelationshipRampSvgAriaAttributes(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector("svg");t&&(clearInterval(e),t.setAttribute("role","group"),t.setAttribute("aria-labelledby",M),t.removeAttribute("focusable"));let s=this.relationshipRamp.querySelector(K);s&&(clearInterval(e),s.setAttribute("aria-hidden","true"))},10)}}applyRelationshipRampInteractivity(){if(this.shouldApplyCustomFunctionality){let e=setInterval(()=>{let t=this.relationshipRamp.querySelector(V);if(t){clearInterval(e);let s=t.children;this.setupRelationshipDrawingStyle(s)}},10)}}setupRelationshipDrawingStyle(e){let t=Array.from(e);if(!t.length)return;let s=(this.activeLayerInfo?.layer?.renderer).uniqueValueInfos;if(Array.isArray(s))for(let a of s){let l=s.indexOf(a),n=t[l];this.setCellAttributes(n,l),n.classList.add("esri-interactive-legend__svg-rect-element")}let i=this.reorderCellNodes(t);this.attachFeatureIndexes(i),this.applyEventHandlers()}setCellAttributes(e,t){let s=this.activeLayerInfo.layer.renderer.uniqueValueInfos,i=this.generateIndexPattern(t);if(Array.isArray(s)&&s[i]){let a=e.classList.contains(h)?"true":"false",l=s[i]?.label||"",n=s[i]?.symbol?.color?.toHex?.()||"";e.setAttribute("data-color",n),e.setAttribute("data-cell-index",`${i}`),e.setAttribute("tabindex","0"),e.setAttribute("aria-pressed",a),e.setAttribute("aria-label",l),e.setAttribute("role","button")}}generateIndexPattern(e){let{focus:t,numClasses:s}=this.legendElement;return t==="HL"?e:s===2?B(e,t):s===3?G(e,t):s===4?q(e,t):null}reorderCellNodes(e){let t=[];for(;this.cellNodeCounter<=e.length-1;)e.map(s=>{Number.parseInt(s.getAttribute("data-cell-index"))===this.cellNodeCounter&&t.push(s)}),this.cellNodeCounter++;return this.cellNodeCounter=0,t}attachFeatureIndexes(e){let{focus:t,numClasses:s}=this.legendElement;t==="HH"||t===null?this.relationshipFocusIsHighHigh(e,s):t==="LL"?this.relationshipFocusIsLowLow(e,s):t==="LH"?this.relationshipFocusIsLowHigh(e,s):t==="HL"&&this.relationshipFocusIsHighLow(e,s),this.cellNodeCounter=0}relationshipFocusIsHighHigh(e,t){for(let s=t-1;s>=0;s--)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowLow(e,t){for(let s=0;s<t;s++)for(let i=0;i<t;i++)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsLowHigh(e,t){for(let s=0;s<t;s++)for(let i=t-1;i>=0;i--)this.setDataAttributes(e,s,i,t),this.cellNodeCounter++}relationshipFocusIsHighLow(e,t){for(let s=t-1;s>=0;s--)for(let i=0;i<t;i++)this.setDataAttributes(e,i,s,t),this.cellNodeCounter++}setDataAttributes(e,t,s,i){let a=e[this.cellNodeCounter];i===j?this.twoClassAttributes(a,t,s):i===O?this.threeClassAttributes(a,t,s):this.fourClassAttributes(a,t,s)}twoClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===0||this.cellNodeCounter===3?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s)}threeClassAttributes(e,t,s){let{legendElement:i}=this;this.cellNodeCounter===1||this.cellNodeCounter===3||this.cellNodeCounter===5||this.cellNodeCounter===7?i.focus==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):i.focus!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}fourClassAttributes(e,t,s){let{legendElement:i}=this,{focus:a}=i;this.cellNodeCounter>0&&this.cellNodeCounter<=14?a==="HL"?this.swapDataFeatureIndexes(e,t,s):this.setDataFeatureIndexes(e,t,s):a!=="HL"?this.setDataFeatureIndexes(e,t,s):this.swapDataFeatureIndexes(e,t,s)}setDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${t}`),e.setAttribute("data-feature-j",`${s}`),this.setDataCellFocusValue(e,t,s)}swapDataFeatureIndexes(e,t,s){e.setAttribute("data-feature-i",`${s}`),e.setAttribute("data-feature-j",`${t}`),this.setDataCellFocusValue(e,s,t)}getDataCellValue(e,t,s){let i=s[e],a=s[t];return i&&a?`${i}${a}`:""}getDataCellMap(e){switch(e){case j:return W;case O:return X;case Q:return Y;default:throw new Error("unrecognized numClasses")}}setDataCellFocusValue(e,t,s){let i=this.legendElement.numClasses,a=this.getDataCellMap(i),l=this.getDataCellValue(t,s,a);l?e.setAttribute("data-cell-focus",l):e.removeAttribute("data-cell-focus")}async onCellClick(e,t){let{i:s,j:i,focus:a}=t;await this.handleFilter(s,i,a),this.handleSelectedElement(e)}applyEventHandlers(){let e=this.relationshipRamp.querySelectorAll("svg rect");Array.from(e).forEach(t=>{let s=t.getAttribute("data-feature-i"),i=t.getAttribute("data-feature-j"),a=t.getAttribute("data-cell-focus");t.onclick=async()=>{await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeydown=async l=>{l.key==="Enter"&&await this.onCellClick(t,{i:s,j:i,focus:a})},t.onkeyup=async l=>{l.key===" "&&await this.onCellClick(t,{i:s,j:i,focus:a})}})}async handleFilter(e,t,s){let i=this.activeLayerInfo.layer?.renderer?.authoringInfo,a=i?.field1,l=i?.field2,{queryExpressions:n,fLayerView:o}=m.data[this.activeLayerInfo.layer.id];if(this.legendElement.type==="relationship-ramp"&&i&&a&&l){let c=this.generateExpressionParams(a,l,i,e,t,s),r=this.generateExpressionForRelationship(c);n.length===0?n[0]=r:n.includes(r)?n.splice(n.indexOf(r),1):n.push(r);let d=n.join(" OR "),p=o?.filter?.timeExtent??null;if(this.filterMode?.type==="filter")o.filter=await L({where:d,timeExtent:o?.filter?.timeExtent??null});else if(this.filterMode?.effect){let{includedEffect:f,excludedEffect:y}=this.filterMode.effect,A=await x(y,o,"excludedEffect"),w=await x(f,o,"includedEffect");o.featureEffect=await R({filter:await L({where:d,timeExtent:p}),includedEffect:w,excludedEffect:A})}}}generateExpressionParams(e,t,s,i,a,l){let n=[],o=e.field,c=t.field,r=e.classBreakInfos,d=t.classBreakInfos,p=Object.hasOwn(s.field1,"normalizationField")?s?.field1?.normalizationField:null,f=Object.hasOwn(s.field2,"normalizationField")?s?.field2?.normalizationField:null;r.forEach((w,_)=>{let C=[];d.forEach((ee,z)=>{let T=[r[_],d[z]];C.push(T)}),n.push(C)});let y=p?`(${o}/${p})`:o,A=f?`(${c}/${f})`:c;return{data:n,i,j:a,field1:y,field2:A,focus:l}}generateExpressionForRelationship(e){let{focus:t,field1:s,field2:i,data:a,i:l,j:n}=e,o=Number.parseInt(l),c=Number.parseInt(n),r=a[o][c];return t==="LL"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="LM"||t==="LM1"||t==="LM2"||t==="LH"?`${s} >= ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:t==="ML"||t==="M1L"||t==="M2L"||t==="HL"?`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} >= ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`:`${s} > ${r[0].minValue} AND ${s} <= ${r[0].maxValue} AND ${i} > ${r[1].minValue} AND ${i} <= ${r[1].maxValue}`}handleSelectedElement(e){e.classList.contains(h)?(e.removeAttribute("stroke"),e.removeAttribute("stroke-width"),e.removeAttribute("stroke-opacity"),e.setAttribute("aria-pressed","false"),e.classList.remove(h)):(e.classList.add(h),e.setAttribute("stroke","black"),e.setAttribute("stroke-width","3px"),e.setAttribute("stroke-opacity","1"),e.setAttribute("aria-pressed","true"))}addCSS(e){if(e&&!e?.querySelector("relationshipStyles")){let t=document.createElement("style");t.id="relationshipStyles",t.innerHTML=`
|
|
5
5
|
rect:hover {
|
|
6
6
|
cursor: pointer;
|
|
7
7
|
opacity: 0.8;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
4
|
var a;(function(e){e.aptx="aptx",e.bpk="bpk",e.csv="csv",e.eaz="eaz",e.esriaddin="esriaddin",e.esriaddinx="esriaddinx",e.doc="doc",e.docx="docx",e.dlpk="dlpk",e.featurecollection="featurecollection",e.geojson="geojson",e.gcpk="gcpk",e.gpk="gpk",e.gpkg="gpkg",e.gpkx="gpkx",e.insightswbk="insightswbk",e.ipynb="ipynb",e.jpg="jpg",e.jpeg="jpeg",e.json="json",e.key="key",e.kml="kml",e.kmz="kmz",e.lpk="lpk",e.lpkx="lpkx",e.lyr="lyr",e.lyrx="lyrx",e.mapx="mapx",e.mmpk="mmpk",e.mpk="mpk",e.mpkx="mpkx",e.msd="msd",e.mspk="mspk",e.mxd="mxd",e.ncfg="ncfg",e.nmc="nmc",e.nmf="nmf",e.numbers="numbers",e.pages="pages",e.pagx="pagx",e.parquet="parquet",e.pdf="pdf",e.pmf="pmf",e.png="png",e.ppkx="ppkx",e.ppt="ppt",e.pptx="pptx",e.proconfigx="proconfigx",e.rpk="rpk",e.rptx="rptx",e.sd="sd",e.slpk="slpk",e.spk="spk",e.stylx="stylx",e.surveyaddin="surveyaddin",e.sxd="sxd",e.tif="tif",e.tiff="tiff",e.tpk="tpk",e.tpkx="tpkx",e.vsd="vsd",e.vtpk="vtpk",e.wmpk="wmpk",e.wpk="wpk",e.xls="xls",e.xml="xml",e.xlsx="xlsx",e.zip="zip",e["3dd"]="3dd",e["3vr"]="3vr",e["3ws"]="3ws",e["rft.json"]="rft.json",e["rft.xml"]="rft.xml"})(a||(a={}));var r;(function(e){e["360 VR Experience"]="360 VR Experience",e["Apache Parquet"]="Apache Parquet",e["AppBuilder Widget Package"]="AppBuilder Widget Package",e["Desktop Add In"]="Desktop Add In",e["Explorer Add In"]="Explorer Add In",e["Explorer Map"]="Explorer Map",e["Explorer Layer"]="Explorer Layer",e["Windows Mobile Package"]="Windows Mobile Package",e["ArcGIS Pro Add In"]="ArcGIS Pro Add In",e["ArcGIS Pro Configuration"]="ArcGIS Pro Configuration",e["Globe Document"]="Globe Document",e["Map Document"]="Map Document",e["ArcPad Package"]="ArcPad Package",e["Published Map"]="Published Map",e["Scene Document"]="Scene Document",e["CityEngine Web Scene"]="CityEngine Web Scene",e["Code Sample"]="Code Sample",e["CSV Collection"]="CSV Collection",e.CSV="CSV",e["CAD Drawing"]="CAD Drawing",e["Deep Learning Package"]="Deep Learning Package",e["Desktop Application"]="Desktop Application",e["Desktop Application Template"]="Desktop Application Template",e["Desktop Style"]="Desktop Style",e["Earth Configuration"]="Earth Configuration",e["Feature Collection"]="Feature Collection",e["File Geodatabase"]="File Geodatabase",e.GeoJson="GeoJson",e["Geoprocessing Package"]="Geoprocessing Package",e.GeoPackage="GeoPackage",e["Geoprocessing Sample"]="Geoprocessing Sample",e.GML="GML",e["Image Collection"]="Image Collection",e.Image="Image",e["iWork Keynote"]="iWork Keynote",e["iWork Numbers"]="iWork Numbers",e["iWork Pages"]="iWork Pages",e["KML Collection"]="KML Collection",e.KML="KML",e.Layer="Layer",e["Layer Package"]="Layer Package",e.Layout="Layout",e["Locator Package"]="Locator Package",e["Map Package"]="Map Package",e["Map Template"]="Map Template",e["Microsoft Excel"]="Microsoft Excel",e["Microsoft Powerpoint"]="Microsoft Powerpoint",e["Visio Document"]="Visio Document",e["Microsoft Word"]="Microsoft Word",e["Mobile Basemap Package"]="Mobile Basemap Package",e["Mobile Map Package"]="Mobile Map Package",e["Mobile Scene Package"]="Mobile Scene Package",e.Notebook="Notebook",e.PDF="PDF",e["Pro Map"]="Pro Map",e["Pro Report"]="Pro Report",e["Project Package"]="Project Package",e["Project Template"]="Project Template",e["Raster function template"]="Raster function template",e["Rule Package"]="Rule Package",e["Scene Package"]="Scene Package",e["Service Definition"]="Service Definition",e.Shapefile="Shapefile",e["Survey123 Add In"]="Survey123 Add In",e["Tile Package"]="Tile Package",e["Vector Tile Package"]="Vector Tile Package",e["Workflow Manager Package"]="Workflow Manager Package",e["Document Link"]="Document Link",e["Feature Service"]="Feature Service",e["Geocoding Service"]="Geocoding Service",e["Geodata Service"]="Geodata Service",e["Geometry Service"]="Geometry Service",e["Geoprocessing Service"]="Geoprocessing Service",e["Geoenrichment Service"]="Geoenrichment Service",e["Globe Service"]="Globe Service",e["Image Service"]="Image Service",e["Map Service"]="Map Service",e["Network Analysis Service"]="Network Analysis Service",e["Vector Tile Service"]="Vector Tile Service",e.WFS="WFS",e.WMS="WMS",e.WMTS="WMTS",e.OGCFeatureServer="OGCFeatureServer",e["Scene Service"]="Scene Service",e["Stream Service"]="Stream Service",e["Workflow Manager Service"]="Workflow Manager Service",e["Web Mapping Application"]="Web Mapping Application",e["Mobile Application"]="Mobile Application",e["AppBuilder Extension"]="AppBuilder Extension",e["Google Drive"]="Google Drive",e.Dropbox="Dropbox",e.OneDrive="OneDrive",e.StoryMap="StoryMap",e.Dashboard="Dashboard",e["Hub Project"]="Hub Project",e["Hub Initiative"]="Hub Initiative",e["Hub Site Application"]="Hub Site Application",e["Web Experience"]="Web Experience",e["Insights Workbook Package"]="Insights Workbook Package",e.Application="Application",e["ArcGIS Explorer Application Configuration"]="ArcGIS Explorer Application Configuration",e["ArcMap Document"]="ArcMap Document",e["Layer File"]="Layer File",e.ogcFeature="ogcFeature",e.FeatureServer="Feature Service",e.GeocodeServer="GeocodeServer",e.GeoDataServer="GeoDataServer",e.GeometryServer="GeometryServer",e.GeoenrichmentServer="GeoenrichmentServer",e.GPServer="GPServer",e.GlobeServer="GlobeServer",e.ImageServer="ImageServer",e.MapServer="MapServer",e.NAServer="NAServer",e.ElevationServer="ElevationServer",e.VectorTileServer="VectorTileServer",e["Scene Server"]="Scene Server",e.StreamServer="StreamServer",e.WMServer="WMServer",e.TiledImageServer="TiledImageServer"})(r||(r={}));var t={"360 VR Experience":{fileExt:[a["3dd"]],type:r["360 VR Experience"],typeKeywords:[]},"Apache Parquet":{fileExt:[a.parquet],type:r["Apache Parquet"],typeKeywords:[]},"AppBuilder Widget Package":{fileExt:[a.zip],type:r["AppBuilder Widget Package"],typeKeywords:[]},"Desktop Add In":{fileExt:[a.esriaddin],type:r["Desktop Add In"],typeKeywords:["Tool","Add In","Desktop Add In","ArcGIS Desktop","ArcMap","ArcGlobe","ArcScene","esriaddin"]},"Explorer Add In":{fileExt:[a.eaz],type:r["Explorer Add In"],typeKeywords:["Tool","Add In","Explorer Add In","ArcGIS Explorer","eaz"]},"Explorer Map":{fileExt:[a.nmf],type:r["Explorer Map"],typeKeywords:["Map","Explorer Map","Explorer Document","2D","3D","ArcGIS Explorer","nmf"]},"ArcGIS Explorer Application Configuration":{fileExt:[a.ncfg],type:r["Explorer Map"],typeKeywords:["Map","Explorer Map","Explorer Mapping Application","2D","3D","ArcGIS Explorer"]},"Explorer Layer":{fileExt:[a.nmc],type:r["Explorer Layer"],typeKeywords:["Data","Layer","Explorer Layer","ArcGIS Explorer","nmc"]},"Windows Mobile Package":{fileExt:[a.wmpk],type:r["Windows Mobile Package"],typeKeywords:[]},"ArcGIS Pro Add In":{fileExt:[a.esriaddinx],type:r["ArcGIS Pro Add In"],typeKeywords:["Tool","Add In","Pro Add In","esriaddinx"]},"ArcGIS Pro Configuration":{fileExt:[a.proconfigx],type:r["ArcGIS Pro Configuration"],typeKeywords:[]},"Globe Document":{fileExt:[a["3dd"]],type:r["Globe Document"],typeKeywords:["Map","Globe Document","3D","ArcGlobe","ArcGIS Server","3dd"]},"Map Document":{fileExt:[a.msd],type:r["Map Document"],typeKeywords:["Map Document","Map","2D","ArcMap","ArcGIS Server","msd"]},"ArcMap Document":{fileExt:[a.mxd],type:r["Map Document"],typeKeywords:["Map Document","Map","2D","ArcMap","ArcGIS Server"]},"ArcPad Package":{fileExt:[a.zip],type:r["ArcPad Package"],typeKeywords:["Map","Layer","Data"]},"Published Map":{fileExt:[a.pmf],type:r["Published Map"],typeKeywords:["Map","Published Map","2D","ArcReader","ArcMap","ArcGIS Server","pmf"]},"Scene Document":{fileExt:[a.sxd],type:r["Scene Document"],typeKeywords:["Map","Scene Document","3D","ArcScene","sxd"]},"CityEngine Web Scene":{fileExt:[a["3ws"]],type:r["CityEngine Web Scene"],typeKeywords:["3D","Map","Scene","Web"]},"Code Sample":{fileExt:[a.zip],type:r["Code Sample"],typeKeywords:["Code","Sample"]},"CSV Collection":{fileExt:[a.zip],type:r["CSV Collection"],typeKeywords:[]},CSV:{fileExt:[a.csv],type:r.CSV,typeKeywords:["CSV"]},"CAD Drawing":{fileExt:[a.zip],type:r["CAD Drawing"],typeKeywords:[]},"Deep Learning Package":{fileExt:[a.zip,a.dlpk],type:r["Deep Learning Package"],typeKeywords:["Deep Learning","Raster"]},"Desktop Application":{type:r["Desktop Application"],typeKeywords:["Desktop Application"]},"Desktop Application Template":{fileExt:[a.zip],type:r["Desktop Application Template"],typeKeywords:["application","template","ArcGIS desktop"]},"Desktop Style":{fileExt:[a.stylx],type:r["Desktop Style"],typeKeywords:["ArcGIS Pro","Symbology","Style","Symbols"]},"Earth Configuration":{fileExt:[a.xml],type:r["Earth Configuration"],typeKeywords:["ArcGIS Earth","Earth","Earth Configuration"]},"Feature Collection":{type:r["Feature Collection"],fileExt:[a.featurecollection],typeKeywords:[]},"File Geodatabase":{fileExt:[a.zip],type:r["File Geodatabase"],typeKeywords:[]},GeoJson:{fileExt:[a.geojson,a.json],type:r.GeoJson,typeKeywords:["Coordinates Type","CRS","Feature","FeatureCollection","GeoJSON","Geometry","GeometryCollection"]},"Geoprocessing Package":{fileExt:[a.gpk,a.gpkx],type:r["Geoprocessing Package"],typeKeywords:["ArcGIS Desktop","ArcGlobe","ArcMap","ArcScene","Geoprocessing Package","gpk","Model","Result","Script","Sharing","Tool","Toolbox"]},GeoPackage:{fileExt:[a.gpkg],type:r.GeoPackage,typeKeywords:["Data","GeoPackage","gpkg"]},"Geoprocessing Sample":{fileExt:[a.zip],type:r["Geoprocessing Sample"],typeKeywords:["tool","geoprocessing","sample"]},GML:{fileExt:[a.zip],type:r.GML,typeKeywords:[]},"Image Collection":{fileExt:[a.zip],type:r["Image Collection"],typeKeywords:[]},Image:{fileExt:[a.jpg,a.jpeg,a.png,a.tif,a.tiff],type:r.Image,typeKeywords:["Data","Image"]},"iWork Keynote":{fileExt:[a.key],type:r["iWork Keynote"],typeKeywords:["Data","Document","Mac"]},"iWork Numbers":{fileExt:[a.numbers],type:r["iWork Numbers"],typeKeywords:["Data","Document","Mac"]},"iWork Pages":{fileExt:[a.pages],type:r["iWork Pages"],typeKeywords:["Data","Document","Mac"]},"KML Collection":{fileExt:[a.zip],type:r["KML Collection"],typeKeywords:[]},KML:{type:r.KML,fileExt:[a.kml,a.kmz],typeKeywords:["Data","Map","kml"]},Layer:{fileExt:[a.lyr],type:r.Layer,typeKeywords:["Data","Layer","ArcMap","ArcGlobe","ArcGIS Explorer","lyr"]},"Layer File":{fileExt:[a.lyrx],type:r.Layer,typeKeywords:["ArcGIS Pro","Layer","Layer File"]},"Layer Package":{fileExt:[a.lpk,a.lpkx],type:r["Layer Package"],typeKeywords:[]},Layout:{fileExt:[a.pagx],type:r.Layout,typeKeywords:["ArcGIS Pro","Layout","Layout File","pagx"]},"Locator Package":{fileExt:[a.gcpk],type:r["Locator Package"],typeKeywords:[]},"Map Package":{fileExt:[a.mpk,a.mpkx],type:r["Map Package"],typeKeywords:[]},"Map Template":{fileExt:[a.zip],type:r["Map Template"],typeKeywords:["map","ArcMap","template","ArcGIS desktop"]},"Microsoft Excel":{fileExt:[a.xls,a.xlsx],type:r["Microsoft Excel"],typeKeywords:["Data","Document","Microsoft Excel"]},"Microsoft Powerpoint":{fileExt:[a.ppt,a.pptx],type:r["Microsoft Powerpoint"],typeKeywords:["Data","Document","Microsoft Powerpoint"]},"Visio Document":{fileExt:[a.vsd],type:r["Visio Document"],typeKeywords:["Data","Document","Visio Document"]},"Microsoft Word":{fileExt:[a.doc,a.docx],type:r["Microsoft Word"],typeKeywords:["Data","Document"]},"Mobile Basemap Package":{fileExt:[a.bpk],type:r["Mobile Basemap Package"],typeKeywords:[]},"Mobile Map Package":{fileExt:[a.mmpk],type:r["Mobile Map Package"],typeKeywords:[]},"Mobile Scene Package":{fileExt:[a.mspk],type:r["Mobile Scene Package"],typeKeywords:[]},Notebook:{fileExt:[a.ipynb],type:r.Notebook,typeKeywords:["Notebook","Python"]},PDF:{fileExt:[a.pdf],type:r.PDF,typeKeywords:["Data","Document","PDF"]},"Pro Map":{fileExt:[a.mapx],type:r["Pro Map"],typeKeywords:["ArcGIS Pro","Map","Map File","mapx"]},"Pro Report":{fileExt:[a.rptx],type:r["Pro Report"],typeKeywords:[]},"Project Package":{fileExt:[a.ppkx],type:r["Project Package"],typeKeywords:[]},"Project Template":{fileExt:[a.aptx],type:r["Project Template"],typeKeywords:[]},"Raster function template":{fileExt:[a["rft.json"],a["rft.xml"]],type:r["Raster function template"],typeKeywords:["Raster","Functions","Processing","rft","srf","function template","templates","ArcGIS Pro"]},"Rule Package":{fileExt:[a.rpk],type:r["Rule Package"],typeKeywords:[]},"Scene Package":{fileExt:[a.slpk,a.spk],type:r["Scene Package"],typeKeywords:[]},"Service Definition":{fileExt:[a.sd],type:r["Service Definition"],typeKeywords:["Data","Service","Service Definition"]},Shapefile:{fileExt:[a.zip],type:r.Shapefile,typeKeywords:["Data","Layer","shapefile"]},"Survey123 Add In":{fileExt:[a.surveyaddin],type:r["Survey123 Add In"],typeKeywords:["Add In","Survey123 Add In","Tool"]},"Tile Package":{fileExt:[a.tpk,a.tpkx],type:r["Tile Package"],typeKeywords:[]},"Vector Tile Package":{fileExt:[a.vtpk],type:r["Vector Tile Package"],typeKeywords:[]},"Workflow Manager Package":{fileExt:[a.wpk],type:r["Workflow Manager Package"],typeKeywords:[]},"Document Link":{type:r["Document Link"],typeKeywords:["Data","Document"]},"Feature Service":{type:r["Feature Service"],typeKeywords:["ArcGIS Server","Data","Feature Access","Feature Service","Service","Singlelayer","Hosted Service"]},GeocodeServer:{type:r["Geocoding Service"],typeKeywords:["ArcGIS Server","Geocoding Service","Locator Service","Service","Tool","Service Proxy"]},GeoDataServer:{type:r["Geodata Service"],typeKeywords:["Data","Service","Geodata Service","ArcGIS Server"]},GeometryServer:{type:r["Geometry Service"],typeKeywords:["Tool","Service","Geometry Service","ArcGIS Server"]},GeoenrichmentServer:{type:r["Geoenrichment Service"],typeKeywords:["Geoenrichment Service","ArcGIS Server"]},GPServer:{type:r["Geoprocessing Service"],typeKeywords:["Tool","Service","Geoprocessing Service","ArcGIS Server"]},GlobeServer:{type:r["Globe Service"],typeKeywords:["Data","Service","Globe Service","ArcGIS Server"]},ImageServer:{type:r["Image Service"],typeKeywords:["Data","Service","Image Service","ArcGIS Server"]},MapServer:{type:r["Map Service"],typeKeywords:["Data","Service","Map Service","ArcGIS Server"]},NAServer:{type:r["Network Analysis Service"],typeKeywords:["Tool","Service","Network Analysis Service","ArcGIS Server"]},ElevationServer:{type:r["Image Service"],typeKeywords:["Elevation 3D Layer"]},VectorTileServer:{type:r["Vector Tile Service"],typeKeywords:[]},WFS:{type:r.WFS,typeKeywords:["Data","Service","Web Feature Service","OGC"]},WMS:{type:r.WMS,typeKeywords:["Data","Service","Web Map Service","OGC"]},WMTS:{type:r.WMTS,typeKeywords:["Data","Service","OGC"]},ogcFeature:{type:r.OGCFeatureServer,typeKeywords:["Data","Service","Feature Service","OGC","OGC Feature Service"]},SceneServer:{type:r["Scene Service"],typeKeywords:["Scene Service"]},StreamServer:{type:r["Stream Service"],typeKeywords:["Data","Service","Stream Service","ArcGIS Server"]},WMServer:{type:r["Workflow Manager Service"],typeKeywords:["Workflow Manager","ArcGIS Server","WMServer","Workflow","JTX","Job Tracking"]},TiledImageServer:{type:r["Image Service"],typeKeywords:["Tiled Imagery"]},"Web Mapping Application":{type:r["Web Mapping Application"],typeKeywords:["JavaScript","Map","Mapping Site","Online Map","Ready To Use","Web AppBuilder","Web Map (+ WAB2D or WAB3D)"]},"Mobile Application":{type:r["Mobile Application"],typeKeywords:["ArcGIS Mobile Map","Mobile Application"]},"AppBuilder Extension":{type:r["AppBuilder Extension"],typeKeywords:["Widget","App Builder"]},"Google Drive":{type:r["Google Drive"],typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},Dropbox:{type:r.Dropbox,typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},OneDrive:{type:r.OneDrive,typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},"Map Service":{type:r["Map Service"],typeKeywords:["ArcGIS Server","Data","Map Service","Service","Hosted Service"]},StoryMap:{type:r.StoryMap,typeKeywords:["arcgis-storymaps","StoryMap","Web Application (smstatusdraft or smsstatuspublished)"]},Dashboard:{type:r.Dashboard,typeKeywords:["Dashboard","Operations Dashboard"]},"Hub Initiative":{type:r["Hub Initiative"],typeKeywords:["Hub","hubInitiative","OpenData"]},"Hub Site Application":{type:r["Hub Site Application"],typeKeywords:["Hub","hubSite","hubSolution","JavaScript","Map","Mapping Site","Online Map","OpenData","Ready To Use","selfConfigured","Web Map","Registered App"]},"Web Experience":{type:r["Web Experience"],typeKeywords:["EXB Experience","JavaScript","Ready To Use Web Application","Web Experience","Web Mapping Application","Web Page","Web Site"]},"Insights Workbook Package":{type:r["Insights Workbook Package"],fileExt:[a.insightswbk],typeKeywords:["Insights","Insights Workbook Package"]}},o;(function(e){e.notStarted="notStarted",e.inProgress="inProgress",e.onHold="onHold",e.complete="complete"})(o||(o={}));var p;(function(e){e.map="map",e.image="image"})(p||(p={}));export{r as a,o as b,p 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as o}from"./
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import{a as o}from"./3JEP4BL5.js";import{b as l}from"./4H5JZV3N.js";import"./N4AIZVPV.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as g,c as S,d as y,e as u,f as m}from"./
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import{a as g,c as S,d as y,e as u,f as m}from"./NUYH6NTK.js";import{a as p}from"./HGSRS4G7.js";import{C as $,m as h}from"./NOPHLD4K.js";import{b as D}from"./7RFFTMJS.js";import{C as I,D as b,E as v,h as L,i as n,o as f}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";var E=L`:host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand: var(--calcite-color-text-3);--calcite-color-brand-hover: var(--calcite-color-text-3)}`,w=class extends v{constructor(){super(...arguments),this.trigger=I(),this.t9nData=null,this.icon="language",this.locales=[],this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.selectedLanguageUpdated=f()}static{this.properties={t9nData:16,icon:1,portalItem:0,view:0,locales:0,defaultLocale:1,selectedLanguage:1,calciteDropdownOverlayPositioning:1}}static{this.styles=E}async refresh(){try{let e=await m(this.portalItem),t=await u(e);this.t9nData=t;let a={locale:this.selectedLanguage,data:t[this.selectedLanguage]};this.selectedLanguageUpdated.emit(a)}catch{}}async load(){let[e]=await Promise.all([$()]);this.intl=e;try{this.portalItemResource=await m(this.portalItem);let t=await u(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let t=new URLSearchParams(window.location.search).get("locale"),a=this.locales?.map(i=>i?.locale)?.filter(i=>i===t)?.length>0,c=S(e,this.portalItem.portal),r=this.locales?.map(i=>i?.locale)?.filter(i=>i===c)?.length>0;this.selectedLanguage=a?t:r?c:this.userLocale;let o=this.selectedLanguage;if(o!==this.userLocale&&(this.calciteDropdownItemSelectCallback(o)(),this.selectedLanguageUpdated.emit({locale:o,data:this.t9nData?.[o]??null})),this.view){let i=this.view.map;this.defaultWebMapId=i?.portalItem?.id??"";let s=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;s&&(this.view.map=await h({portalItem:{id:s}}))}}}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:t,selectedLanguage:a,t9nData:c,userLocale:r}=this,o=this.locales.find(l=>l.locale===a);c&&o&&a!==r&&(o.data=c[e]);let i=new URLSearchParams(window.location.search),s=await y(this.selectedLanguage);if(t.setLocale(s),i.set("locale",s),this.view){let l=this.locales.filter(d=>d.locale===a)?.[0]?.webmap;if(l)this.view.map=await h({portalItem:{id:l}});else{let d=this.view?.map?.portalItem?.id;d&&this.defaultWebMapId!==d&&(this.view.map=await h({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",s),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${i}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let t=Object.keys(g.partial).includes(e)?"partial":"full",a=g[t],{language:c,translated:r}=a[e];return`${c} - ${r}`}render(){let e=this.renderTrigger(),t=this.renderDropdownItems(),a=this.renderDefaultLocale();return n`<calcite-dropdown @calciteDropdownBeforeOpen=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-up")}} @calciteDropdownBeforeClose=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-down")}} .overlayPositioning=${this.calciteDropdownOverlayPositioning} width-scale=m>${e}<calcite-dropdown-group>${a}${t}</calcite-dropdown-group></calcite-dropdown>`}renderDefaultLocale(){let{userLocale:e}=this;return p(`default-${e}`,n`<calcite-dropdown-item @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)} .selected=${this.selectedLanguage===this.userLocale}>${this.getSelectedLanguageText(e)}</calcite-dropdown-item>`)}renderTrigger(){return n`<calcite-button slot=trigger .iconStart=${this.icon} icon-end=chevron-down width=full appearance=outline ${b(this.trigger)}>${this.getSelectedLanguageText(this.selectedLanguage)}</calcite-button>`}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let t=this.getSelectedLanguageText(e),a=e===this.selectedLanguage;return p(e,n`<calcite-dropdown-item .selected=${a} @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)}>${t}</calcite-dropdown-item>`)}};D("instant-apps-language-switcher",w);export{w as InstantAppsLanguageSwitcher};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import b from"./WTEOQ6IU.js";import a from"./A4BQL2K3.js";import"./SRGIOXPX.js";import"./QTFLAIE5.js";import"./RYLMXGYK.js";import"./SV5GS7VD.js";import"./G577XEWY.js";import"./YLYRRWJW.js";import"./LQHGJORU.js";import"./VRYNGE64.js";import"./EA2CRCAW.js";import"./FDYQ2FKY.js";import"./6TJU76R3.js";import"./XHXMDQDA.js";import"./J27HWMOU.js";import"./EJ6BXACD.js";import"./5BCHBBEG.js";import"./VIKALXXD.js";import"./LEMWW4ED.js";import"./I3PEU4E4.js";import"./S6R6G6MM.js";import"./4H5JZV3N.js";import"./CNQYI77D.js";import{a as h}from"./XX4ZM5IC.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{b as d}from"./T6EN2LQT.js";import{E as l,G as n,I as i,h as c,i as t,o as r}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";export default $arcgis.t(([,{f:p}])=>{var g=c`/** @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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as p,d as a,e as h,f as E}from"./FJ7BYQC5.js";function n(r={}){return r.portal?E(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function mr(r){let t=`${T(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),a(e,r)})}function pr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function br(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),a(e,r)})}function vr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Er(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),a(e,r)})}function Wr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return a(o,i)})}function Yr(r){let t=Object.assign({folderId:null},r);return z(t)}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Or(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function et(r,t){let e=`${n(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=n(e)+o;return a(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function N(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function _t(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Vt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Xt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function qt(r){return $(r,"group")}function re(r){return $(r,"groupContent")}function ne(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,a(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Qe(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function io(r){return G(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(R(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),R(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(R(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function ho(r){return G(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function Uo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,jr as d,vr as e,Rr as f,Er as g,Wr as h,z as i,Yr as j,ar as k,ir as l,mr as m,cr as n,Zr as o,Or as p,M as q,et as r,dr as s,hr as t,pr as u,x as v,N as w,B as x,_t as y,Jt as z,Vt as A,Xt as B,qt as C,re as D,ne as E,I as F,Qe as G,io as H,ho as I,Uo as J,K,br as L};
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import{b as p,d as a,e as h,f as E}from"./VIKALXXD.js";function n(r={}){return r.portal?E(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function mr(r){let t=`${T(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),a(e,r)})}function pr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function br(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),a(e,r)})}function vr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Er(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),a(e,r)})}function Wr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return a(o,i)})}function Yr(r){let t=Object.assign({folderId:null},r);return z(t)}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Or(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function et(r,t){let e=`${n(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=n(e)+o;return a(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function N(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function _t(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Vt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Xt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function qt(r){return $(r,"group")}function re(r){return $(r,"groupContent")}function ne(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,a(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Qe(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function io(r){return G(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(R(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),R(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(R(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function ho(r){return G(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function Uo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,jr as d,vr as e,Rr as f,Er as g,Wr as h,z as i,Yr as j,ar as k,ir as l,mr as m,cr as n,Zr as o,Or as p,M as q,et as r,dr as s,hr as t,pr as u,x as v,N as w,B as x,_t as y,Jt as z,Vt as A,Xt as B,qt as C,re as D,ne as E,I as F,Qe as G,io as H,ho as I,Uo as J,K,br as L};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import{a as C,c as T}from"./L5IXOZ6K.js";import{a as P}from"./5Y5WZKXD.js";import e from"./VEILQFP2.js";import{a as A,c as S}from"./2R7AUPQI.js";import a from"./A4BQL2K3.js";import{b as _}from"./K5R7D36H.js";import{K as g,M as v,N as M,q as k,sa as L}from"./SRGIOXPX.js";import"./QTFLAIE5.js";import"./RYLMXGYK.js";import"./SV5GS7VD.js";import"./G577XEWY.js";import"./YLYRRWJW.js";import"./LQHGJORU.js";import"./VRYNGE64.js";import"./EA2CRCAW.js";import"./FDYQ2FKY.js";import"./6TJU76R3.js";import"./XHXMDQDA.js";import"./J27HWMOU.js";import"./EJ6BXACD.js";import{k as R}from"./5BCHBBEG.js";import"./VIKALXXD.js";import"./LEMWW4ED.js";import"./I3PEU4E4.js";import"./S6R6G6MM.js";import"./4H5JZV3N.js";import"./CNQYI77D.js";import{a as $}from"./XX4ZM5IC.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{b as y}from"./T6EN2LQT.js";import{C as c,D as d,E as x,G as p,H as w,I as u,h as b,i as s,o as m}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";export default $arcgis.t(([,{b:I,c:E}])=>{var O=b`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/.display-flex{display:flex}.flex-direction-row{flex-direction:row}.flex-direction-column{flex-direction:column}.cursor-default{cursor:default}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:var(--calcite-spacing-px);border-bottom-style:solid}ul{list-style-type:disc;margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}ul ul{list-style-type:circle}li{margin:var(--calcite-spacing-sm) var(--calcite-spacing-none)}calcite-label{--calcite-label-margin-bottom: var(--calcite-spacing-none)}.padding-1{padding:var(--calcite-spacing-lg)}.padding-1-5{padding:var(--calcite-spacing-xl)}.padding-2px{padding:var(--calcite-spacing-base)}.padding-bottom-1{padding-bottom:var(--calcite-spacing-lg)}.padding-bottom-1-5{padding-bottom:var(--calcite-spacing-xxl)}.padding-top-1{padding-top:var(--calcite-spacing-lg)}.padding-top-1-5{padding-top:var(--calcite-spacing-xxl)}.padding-top-1-2{padding-top:var(--calcite-spacing-sm)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-end-2{padding-inline-end:var(--calcite-spacing-xxxl)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.margin-bottom-1{margin-bottom:var(--calcite-spacing-lg)}.margin-bottom-1-5{margin-bottom:var(--calcite-spacing-xxl)}.margin-end-1{margin-inline-end:var(--calcite-spacing-lg)}.margin-top-0{margin-top:var(--calcite-spacing-none)}.margin-top-1{margin-top:var(--calcite-spacing-lg)}.margin-sides-0-5{margin-left:var(--calcite-spacing-sm);margin-right:var(--calcite-spacing-sm)}.margin-block-start-end-0{margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}.align-self-center{align-self:center;padding:5px;--calcite-fab-shadow: #FFFFFF00}.align-items-center{align-items:center}.align-items-baseline{align-items:baseline}.button-width{width:260px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.button-width{width:auto}}.image-width{width:395px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.image-width{flex-grow:2;flex-shrink:.5}}.width-full{width:100%}.card-group{overflow:hidden}calcite-card{width:450px}@media(max-width:1496px){calcite-card{width:calc(100% / 3 - .5rem)}}@media(max-width:1100px){calcite-card{width:calc(50% - .5rem)}}@media(max-width:550px){calcite-card{width:100%}}.max-height-300{max-height:300px}.display-none{display:none}.cursor-pointer{cursor:pointer}calcite-card:hover img{-webkit-filter:brightness(50%);filter:brightness(50%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{border:var(--calcite-spacing-base) solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer;padding:var(--calcite-spacing-base)}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.margin-inline-unset{margin-inline:unset}.collapsible-div{overflow:hidden;transition:max-height .3s ease-in-out}.collapsible-div.expanded{max-height:100%}.back-color-override{--calcite-panel-background-color: var(--calcite-color-foreground-2)}.back-color-override-1{background-color:var(--calcite-color-foreground-1)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.line-height-xxl{line-height:var(--calcite-spacing-xxl)}.font-1{font-size:var(--calcite-spacing-lg)}.font-color-1{color:var(--calcite-color-text-1)}h1{font-weight:unset;margin:var(--calcite-spacing-none);padding:var(--calcite-spacing-none)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.accordion-bg{--calcite-accordion-background-color: var(--calcite-color-foreground-1)}.release-notes-table-cell{display:flex;flex-direction:row;font-size:var(--calcite-spacing-lg);color:var(--calcite-color-text-1)}calcite-table-header{--calcite-internal-table-cell-font-size: var(--calcite-font-size-md);--calcite-font-weight-medium: var(--calcite-font-weight-semibold)}`,f=class extends x{constructor(){super(),this._showScreenshotsShowMore=!1,this._showYouMayAlsoLikeShowMore=!1,this._isScreenshotsRowExpanded=!1,this._isYouMayAlsoLikeRowExpanded=!1,this._screenshotsRowBaseHeight=340,this._templates=[],this._translations=$({name:"solution-details-panel",blocking:!0}),this._youMayAlsoLikeBaseHeight=340,this._allCards=[],this._authContextConsumer=_({context:S,subscribe:!0}),this._configureLearnMore="",this._customDeploymentMappings={},this._deployDialogRef=c(),this._deployingDialogRef=c(),this._overviewAccordionItemElement=c(),this._privilegePopoverRef=c(),this._privileges=[],this._regexFsUrl="https?:\\/\\/.+FeatureServer\\b",this._regexID="\\b[0-9A-F]{32}\\b",this._releaseNotesAccordionItemElement=c(),this._relatedResourcesAccordionItemElement=c(),this._screenshotsAccordionItemElement=c(),this._screenshotsDialogRef=c(),this._screenshotsElement=c(),this._termsOfUseAccordionItemElement=c(),this._userOptions=[],this._userSessionContextConsumer=_({context:A,subscribe:!0}),this._youMayAlsoLikeAccordionItemElement=c(),this._youMayAlsoLikeElement=c(),this.templatesFetched=m(),this.itemPropertiesFetched=m(),this.sortTypeChanged=m(),this.tokenRefreshed=m(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"allCardsFetched",this._allCardsFetched),this.listenOn(window,"deployAppTabSelected",this._handleDeployAppTabSelected)}static{this.properties={card:0,_showScreenshotsShowMore:16,_showYouMayAlsoLikeShowMore:16,_isScreenshotsRowExpanded:16,_isYouMayAlsoLikeRowExpanded:16,_itemProperties:16,_missingPrivilegeMessages:16,_screenshotsRowBaseHeight:16,_templates:16,_translations:16,_youMayAlsoLikeBaseHeight:16}}static{this.styles=O}async connectedCallback(){super.connectedCallback(),this.listenOn(window,"calciteTabChange",this._cleanupPanel),this.listenOn(window,"detailsCardSelected",this._cleanupPanel)}loaded(){this._resizeObserver=new ResizeObserver(async()=>{this._onResize()}),this._screenshotsElement.value&&this._resizeObserver.observe(this._screenshotsElement.value)}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver?.disconnect()}render(){let e="padding-bottom-1-5",t=this._getRelatedResources(),i=this._getYouMayAlsoLikeCards();return s`<h1><calcite-panel class="back-color-override padding-top-1"><div class=${`${e} padding-1-5 back-color-override-1 margin-bottom-1-5`} id=solution-details-row>${this._getSolutionRow()}</div><div class=${p(e)}>${this._getScreenshotsRow()}</div><div class=${p(e)}>${this._getOverviewRow()}</div><div class=${p(e)}>${this._getReleaseNotesRow()}</div>${t.length>0?s`<div class=${p(e)}>${this._getRelatedResourcesRow(t)}</div>`:""}${i.length>0?s`<div class=${p(e)}>${this._getYouMayAlsoLikeRow(i)}</div>`:""}<div class=${p(e)}>${this._getTermsOfUseRow()}</div><solution-deploy-dialog .card=${this.card} @deployFailed=${this._closeDialogs} @deployProgressEnd=${this._closeDialogs} @deployProgressStart=${this._deployProgressStart} @deployProgressUpdated=${this._deployProgessUpdated} id=solutionDeployDialog .userOptions=${this._userOptions} ${d(this._deployDialogRef)}></solution-deploy-dialog><solution-snapshot-gallery .card=${this.card} id=solutionSnapshotGallery .itemProperties=${this._itemProperties} ${d(this._screenshotsDialogRef)}></solution-snapshot-gallery><solution-deploying-dialog .card=${this.card} ${d(this._deployingDialogRef)}></solution-deploying-dialog></calcite-panel></h1>`}updated(){setTimeout(()=>{let e=this._getYouMayAlsoLikeCards(),t=340;for(let i=0;i<e.length;i++){let a=this.el.shadowRoot?.getElementById(`you-may-also-like-${i}`),o=a?.offsetHeight?a.offsetHeight+40:0;o>t&&(t=o)}this._youMayAlsoLikeBaseHeight=t,this._showYouMayAlsoLikeShowMore=(this._youMayAlsoLikeElement.value?.scrollHeight||0)>this._youMayAlsoLikeBaseHeight},100)}_getSolutionRow(){let e=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400"),t=this._missingPrivilegeMessages?.leadingMessages||[],i=t.length>0,a=this._missingPrivilegeMessages?.bulletedMessages||[],o=a.length>0,l=this._missingPrivilegeMessages?.trailingMessages||[],r=l.length>0;return s`<div class="display-flex flex-direction-row"><div class="padding-end-2 image-width"><img alt=${this.card?.title??u} src=${e??u}></div><div class="display-flex flex-direction-row">${this._getTextSection(i,o,r,t,a,l)}${this._getButtons(i||o||r||!this._authContextConsumer.value?.IsSignedIn,this._authContextConsumer.value?.IsEnterprisePortal)}</div></div>`}_getTextSection(e,t,i,a,o,l){return s`<div class="display-flex flex-direction-column padding-end-1"><div class="display-flex flex-direction-row align-items-baseline"><h2 class="padding-top-1 title-font margin-top-0 margin-bottom-1-5">${this.card?.title}</h2>${this.card?.categories?.some(r=>r.includes("New Release"))&&s`<calcite-chip class="margin-top-1 margin-bottom-1-5 margin-sides-0-5" kind=brand .label=${this._translations.new} scale=m icon=mega-phone>${this._translations.new}</calcite-chip>`||""}</div><calcite-label scale=l class="font-1 padding-end-1">${this.card?.snippet}</calcite-label>${e||t||i?s`<div class="display-flex flex-direction-row padding-top-1">${this._getMissingPrivilegesNotice(a,o,l)}</div>`:""}</div>`}_getButtons(e,t){let i=this._itemProperties?.demoURL||"",a=i?"":"display-none";return s`<div class="display-flex flex-direction-column button-width"><calcite-button class="padding-bottom-1" .disabled=${e} icon-end=arrow-bold-right icon-flip-rtl=end @click=${()=>this._openDeploy()} scale=l>${this._translations.deploy}</calcite-button><calcite-button appearance=outline-fill kind=neutral class=${`padding-bottom-1 ${a}`} @click=${()=>this._openUrl(i)} scale=l>${this._translations.watchDemo}</calcite-button><calcite-button appearance=outline-fill kind=neutral class="padding-bottom-1" @click=${()=>this._openUrl(this.card?.learnMoreUrl||"")} scale=l>${this._translations.learnMore}</calcite-button>${!t&&s`<solution-social-share button-appearance=outline-fill class="padding-bottom-1" share-button-kind=neutral .shareButtonText=${this._translations.share} share-button-scale=l></solution-social-share>`||""}</div>`}_getMissingPrivilegesNotice(e,t,i){let a="solutions-missing-privileges-notice",o=this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges;return s`<div><calcite-notice class="margin-inline-unset" kind=warning open><div slot=message>${`${o}`}</div><calcite-action icon=information id=${a} slot=actions-end .text=${o}></calcite-action></calcite-notice><calcite-popover closable .label=${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading} overlay-positioning=fixed placement=bottom reference-element=solutions-missing-privileges-notice ${d(this._privilegePopoverRef)}><div class="padding-1 display-flex flex-direction-column"><span class="padding-bottom-1">${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading}</span>${this._getSpanMessages(e,"padding-bottom-1")}${this._getBulletedMessages(t)}${this._getSpanMessages(i,"padding-top-1")}</div></calcite-popover></div>`}_getSpanMessages(e,t){return e.length>0?e.map(i=>s`<span class=${p(t)}>${i}</span>`):""}_getBulletedMessages(e){return e.length>0?s`<ul>${e.map(t=>s`<li>${t}</li>`)}</ul>`:""}_getScreenshotsRow(){let e=this._isScreenshotsRowExpanded?this._translations.showLess:this._translations.showMore,t=this._isScreenshotsRowExpanded?"arrow-up":"arrow-down",i=this._showScreenshotsShowMore?"":"display-none";return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._screenshotsAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.screenshots}</div><calcite-panel><div class="display-flex flex-direction-column back-color-override-1"><div class="collapsible-div max-height-300" id=screenshots-subsection ${d(this._screenshotsElement)}>${this._getScreenshots()}</div><calcite-fab appearance=outline-fill class=${`align-self-center ${i}`} .icon=${t} kind=neutral @click=${()=>{this._screenshotsElement.value?.classList.toggle("expanded"),this._isScreenshotsRowExpanded=this._screenshotsElement.value.classList.contains("expanded")}} .text=${e} text-enabled></calcite-fab></div></calcite-panel></calcite-accordion-item></calcite-accordion>`}_getScreenshots(){let e=this._itemProperties?.preview||[];return s`<calcite-card-group class="card-group" .label=${this._translations.screenshots}>${e.map(t=>this.card?.id?s`<calcite-card class="cursor-pointer" .label=${t.alt} @click=${()=>this._openScreenshotGallery(t)}><div class="card-image-wrap" slot=thumbnail><img alt=${t.alt??u} class="thumbnail card-image" slot=thumbnail src=${E(this.card.id||"",t.name,this._authContextConsumer.value)??u}><div class="hover-text">${this._translations.openInGallery}</div></div></calcite-card>`:"")}</calcite-card-group>`}_openScreenshotGallery(e){let t=this._screenshotsDialogRef.value;t&&(t.screenshot=e,t.open=!0)}_getOverviewRow(){return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._overviewAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.solutionOverview}</div>${this._getDescriptionRow()}${this._getRequirementsRow()}${this._getInformationProductsRow()}</calcite-accordion-item></calcite-accordion>`}_getDescriptionRow(){return s`<div class="display-flex flex-direction-column"><p class="font-color-1 font-1 margin-top-0 line-height-xxl" .innerHTML=${this.card?.description??""}></p></div>`}_getRequirementsRow(){let e=this._getRequirements();return s`<div class="display-flex flex-direction-column font-1 font-color-1"><p>${this.card?.title?this._translations.requirementsSubText.replace("{{solutionTitle}}",this.card.title):""}</p>${e.length>0&&s`<ul class="padding-top-1-2 font-1 font-color-1">${e.map(t=>s`<li>${t}</li>`)}</ul>`||""}</div>`}_getRequirements(){return this._itemProperties?.requirements||[]}_getInformationProductsRow(){return s`<div class="display-flex flex-direction-column padding-top-1-5 font-1 line-height-xxl font-color-1"><span>${this.card?.title?this._translations.informationProductsSubText.replace("{{solutionTitle}}",this.card.title):""}</span><calcite-table bordered caption class="padding-top-1">${this._getInformationTableHeaderRow()}${this._getInformationTableRows()}</calcite-table><p>${this._translations.informationProductsFooterText}</p></div>`}_getInformationTableHeaderRow(){return s`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.item}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header><calcite-table-header .heading=${this._translations.minimumUserType}></calcite-table-header></calcite-table-row>`}_getInformationTableRows(){return(this._itemProperties?.infoProducts||[]).map(e=>s`<calcite-table-row><calcite-table-cell><p class="display-flex flex-direction-row font-1 font-color-1">${e.item}</p></calcite-table-cell><calcite-table-cell><p class="display-flex flex-direction-row font-1 font-color-1">${e.description}</p></calcite-table-cell><calcite-table-cell><p class="display-flex flex-direction-row font-1 font-color-1">${e.userType}</p></calcite-table-cell></calcite-table-row>`)}_getReleaseNotesRow(){return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._releaseNotesAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.releaseNotes}</div><div class="display-flex flex-direction-column"><calcite-table bordered caption>${this._getReleaseNotesTableHeaderRow()}${this._getReleaseNotesTableRows()}</calcite-table></div></calcite-accordion-item></calcite-accordion>`}_getReleaseNotesTableHeaderRow(){return s`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.version}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header></calcite-table-row>`}_getReleaseNotesTableRows(){return(this._itemProperties?.releaseNotes||[])?.map(e=>{let t=k(e.description);return s`<calcite-table-row><calcite-table-cell><p class="release-notes-table-cell">${e.version}</p></calcite-table-cell><calcite-table-cell><p class="release-notes-table-cell" .innerHTML=${t??""}></p></calcite-table-cell></calcite-table-row>`})}_getRelatedResourcesRow(e){return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._relatedResourcesAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.relatedResources}</div><div class="display-flex flex-direction-row">${e.map(t=>{console.log(t),s`<solution-resource-card></solution-resource-card>`})}</div></calcite-accordion-item></calcite-accordion>`}_getRelatedResources(){return[]}_getYouMayAlsoLikeRow(e){let t=this._showYouMayAlsoLikeShowMore?"":"display-none",i=this._isYouMayAlsoLikeRowExpanded?this._translations.showLess:this._translations.showMore,a=this._isYouMayAlsoLikeRowExpanded?"arrow-up":"arrow-down",o=this._isYouMayAlsoLikeRowExpanded?"":{height:`${this._youMayAlsoLikeBaseHeight}px`};return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._youMayAlsoLikeAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.youMayAlsoLike}</div><div class="display-flex flex-direction-column"><div class="collapsible-div" id=you-may-also-like-subsection style=${w(o)} ${d(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row"><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map((l,r)=>s`<solution-details-card .id=${`you-may-also-like-${r}`} .card=${l} class="padding-2px"></solution-details-card>`)}</calcite-card-group></div></div><calcite-fab appearance=outline-fill class=${`align-self-center ${t}`} .icon=${a} kind=inverse @click=${()=>{this._youMayAlsoLikeElement.value?.classList.toggle("expanded"),this._isYouMayAlsoLikeRowExpanded=this._youMayAlsoLikeElement.value.classList.contains("expanded")}} .text=${i} text-enabled></calcite-fab></div></calcite-accordion-item></calcite-accordion>`}_getYouMayAlsoLikeCards(){let e=this._itemProperties?.relatedSolutions||[];return this._allCards.filter(t=>e.indexOf(t.deployCommonId)>-1)}_getTermsOfUseRow(){return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._termsOfUseAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>Terms of Use</div><div class="display-flex flex-direction-column"><p class="font-color-1 font-1 margin-top-0 line-height-xxl" .innerHTML=${this._translations.copyrightHeading??""}></p><p class="font-color-1 font-1 margin-top-0 line-height-xxl" .innerHTML=${this._translations.apacheLicense??""}></p><calcite-link class="margin-top-0 line-height-xxl" .href=${this._translations.apacheLicenseUrl}>${this._translations.apacheLicenseUrl}</calcite-link><p class="font-color-1 font-1 margin-top-1 line-height-xxl" .innerHTML=${this._translations.asIsBasis??""}></p></div></calcite-accordion-item></calcite-accordion>`}_openDeploy(){if(this._authContextConsumer.value.IsSignedIn){let e=this._deployDialogRef.value;e&&(e.userOptions=this._userOptions,e.open=!0)}else this._authContextConsumer.value.signIn()}_openUrl(e){window.open(e,"_blank")}async _detailsCardSelected(e){this.card=e.detail,this._onResize(),this._missingPrivilegeMessages=void 0,await this._getItemData(),this._expandAccordions()}_expandAccordions(){this._overviewAccordionItemElement.value&&(this._overviewAccordionItemElement.value.expanded=!0),this._releaseNotesAccordionItemElement.value&&(this._releaseNotesAccordionItemElement.value.expanded=!0),this._relatedResourcesAccordionItemElement.value&&(this._relatedResourcesAccordionItemElement.value.expanded=!0),this._screenshotsAccordionItemElement.value&&(this._screenshotsAccordionItemElement.value.expanded=!0),this._termsOfUseAccordionItemElement.value&&(this._termsOfUseAccordionItemElement.value.expanded=!0),this._youMayAlsoLikeAccordionItemElement.value&&(this._youMayAlsoLikeAccordionItemElement.value.expanded=!0)}async _getItemData(){let e=this._userSessionContextConsumer.value,t=await L(this.card.id,e),i=await R(this.card.id,e);this._itemProperties=i.properties,this.itemPropertiesFetched.emit(this._itemProperties);let a=C(t,this.card.typeKeywords,this._authContextConsumer.value);this._privileges=e.username?a:[],this._userPrivileges=this._authContextConsumer.value?this._authContextConsumer.value.PortalUserPrivileges:[];let o=this._privileges.filter(l=>!this._userPrivileges.includes(l));this._missingPrivilegeMessages=T(this._translations,o),(t.params?this.formatParams(t.params):Promise.resolve([])).then(l=>{this._userOptions=l}),this._templates=t.templates,this.templatesFetched.emit(t.templates)}formatParams(e){let t=this._userSessionContextConsumer.value,i=[],a=e?Object.keys(e):[],o={id:"",props:[],accordionDisplay:!1};if(a.length>0){let l=[];return a.forEach(r=>{let h=e[r];h.valueType&&h.valueType.toLowerCase()==="itemid"&&l.push(this._findExistingItem(r,"Feature Service",t.username||""))}),Promise.all(l).then(r=>{let h={};return r.forEach(n=>{if(n.query&&n.results&&n.results.length>0){let D=n.query.split(" ")[0].replace("typekeywords:source-","");h[D]={resultId:n.results[0].id,response:n.results[0]}}}),a.forEach(n=>{if(n==="serviceLearnMore"){this._configureLearnMore=e[n],alert(this._configureLearnMore),delete e[n];return}e[n].enterpriseIDMapping&&(this._customDeploymentMappings[n]=e[n].enterpriseIDMapping),o.id=n,h[n]&&(e[n].existingItemId=h[n].resultId,this.updateUserProp(e[n],h[n].response)),this.updateOption(e[n],o,n)}),i.push(o),Promise.resolve(i)}).catch(()=>Promise.resolve([]))}else return Promise.resolve([])}_findExistingItem(e,t,i){let a=this._userSessionContextConsumer.value;return P(`typekeywords:source-${e} type:${t} owner:${i}`,a)}updateUserProp(e,t){let i=e.itemType?.toLowerCase()==="feature service",a=new RegExp(i?this._regexFsUrl:e.itemType,"iu"),o=v(t,i?"url":"type","")||"",l=o!==""&&a.test(o);return e.responseValue=l?o:"",e.name=l&&g(t,"name")||"",e.title=l&&g(t,"title")||"",e.itemType=l?g(t,"type"):e.itemType,e.validId=l,e.itemUrl=I(t.id,this._authContextConsumer.value),l}updateOption(e,t,i){let a=e.default||"",o=typeof a,l=a.toString();this._setFeatureServiceProps(e);let r=this.getValidation(e,l);t.props.push({id:i,outType:o,prop:i,itemType:e.itemType||"",responseValue:e.responseValue||"",label:e.label||"",choices:e.choices||[],valueType:e.valueType.toLowerCase(),attributes:e.attributes||{},value:e.existingItemId&&e.valueType.toLowerCase()==="itemid"?e.existingItemId:l,default:l,srSearchText:l,autoSelect:l!=="",...r,loading:!1,validId:!0,tooltip:e.tooltip||"",name:e.name||"",title:e.title||"",itemUrl:e.itemUrl||""})}_setFeatureServiceProps(e){e.valueType&&e.valueType.toLowerCase()==="itemid"&&M(e,"attributes.required","true")}getValidation(e,t){let i="",a=g(e,"validation.message")||"",o=!0;return g(e,"attributes.required")==="true"&&(i=v(e,"validation.expression","\\S{1,}"),o=new RegExp(i).test(t)),e.valueType&&e.valueType.toLowerCase()==="itemid"&&(i=this._regexID,a=this._translations.configure.invalidID),{valid:o,validation:{expression:i,message:a}}}_allCardsFetched(e){this._allCards=e.detail}_onResize(){this._showYouMayAlsoLikeShowMore=(this._youMayAlsoLikeElement.value?.scrollHeight||0)>this._youMayAlsoLikeBaseHeight,this._showScreenshotsShowMore=(this._screenshotsElement.value?.scrollHeight||0)>this._screenshotsRowBaseHeight+2}_cleanupPanel(){this.el.shadowRoot?.getElementById("solution-details-row")?.scrollIntoView(!0),this._isScreenshotsRowExpanded=!1,this._showScreenshotsShowMore=!1,this._screenshotsElement.value?.classList.remove("expanded"),this._isYouMayAlsoLikeRowExpanded=!1,this._showYouMayAlsoLikeShowMore=!1,this._youMayAlsoLikeElement.value?.classList.remove("expanded"),this._privilegePopoverRef.value?.open&&(this._privilegePopoverRef.value.open=!1),this._expandAccordions()}_deployProgressStart(e){this._deployingDialogRef.value&&(this._deployingDialogRef.value.open=!0,this._deployingDialogRef.value.abortController=e.detail),this._deployDialogRef.value&&this._deployDialogRef.value.classList.add("display-none")}_deployProgessUpdated(e){let t=e.detail;this._deployingDialogRef.value.deploymentProgress=t.progress}_closeDialogs(){this._deployingDialogRef.value.close(),this._deployDialogRef.value.open=!1,this._deployDialogRef.value.classList.remove("display-none")}_handleDeployAppTabSelected(e){e.detail==="details"&&this.sortTypeChanged.emit("")}};y("solution-details-panel",f);return f},a,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as e}from"./
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import{a as e}from"./7B2JUGRA.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as g}from"./
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import{a as g}from"./XX4ZM5IC.js";import"./YESTJISJ.js";import"./SKNE6RLM.js";import{b as p}from"./T6EN2LQT.js";import{E as u,I as s,h as l,i as c,r as h}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";var b=l`@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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as e}from"./
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import{b as e}from"./MQUYDV5R.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as m,b as o,c as T,d as E}from"./
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import{a as m,b as o,c as T,d as E}from"./UHDBPQAZ.js";import{a as t,b as e}from"./PFGY7OJD.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./ZFZ663TV.js";import"./N4AIZVPV.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,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import"./N4AIZVPV.js";var o=async(e,r,t)=>({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:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import c from"./X4HZQF3T.js";import b from"./FDRN4UNS.js";import"./D6U22V3H.js";import a from"./IWS4I3HA.js";import{a as m}from"./HGSRS4G7.js";import"./NOPHLD4K.js";import{b as h}from"./7RFFTMJS.js";import"./SKNE6RLM.js";import{C as r,D as o,E as p,G as i,h as d,i as t}from"./DGGOQ3L4.js";import"./N4AIZVPV.js";export default $arcgis.t(([,{b:c},{r:y}])=>{var f=d`:host{display:block}:host .esri-legend__layer-table,:host .instant-apps-interactive-legend__nested-unique-symbol{margin:0}:host .hide{display:none}`,e={layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerTable:"esri-legend__layer-table",nestedUniqueSymbol:"instant-apps-interactive-legend__nested-unique-symbol",nonInteractive:"instant-apps-interactive-legend__non-interactive"},n=class extends p{constructor(){super(),this.legendLayerCaption=r(),this.expanded=!0,this.titleText="",this.listenOn(window,"legendLayerExpandUpdated",this.legendLayerExpandUpdatedEmitted)}static{this.properties={expanded:16,activeLayerInfo:0,isSizeRamp:5,isChild:5,isColorRamp:5,isRelationshipRamp:5,isInteractive:5,zoomTo:5,legendElement:0,titleText:1,legendvm:0,legendElementIndex:9}}static{this.styles=f}legendLayerExpandUpdatedEmitted(){this.legendLayerCaption.value&&(this.expanded=this.legendLayerCaption.value.expanded)}render(){let g=this.isChild?e.layerChildTable:e.layerTable,a=this.legendElement?.infos?.length===1&&!this.activeLayerInfo?.layer?.renderer?.field,v=(this.isSizeRamp||!this.isChild)&&!this.isColorRamp?` ${e.layerTableSizeRamp}`:"",$=this.isInteractive?"":` ${e.nonInteractive}`,x=y(this.activeLayerInfo)?` ${e.nestedUniqueSymbol}`:"",s=a&&!this.expanded&&!this.zoomTo?!0:this.expanded;if(this.isRelationshipRamp){let l=c.get("relationshipRampExpandStates")[this.activeLayerInfo.layer.id];s=l===void 0?!0:l}return t`<div class=${`${g}${v}${$}${x}`}><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-caption`} class=${i(this.isRelationshipRamp||!this.titleText&&!this.zoomTo&&a?"hide":"show")}><instant-apps-interactive-legend-legend-element-caption .legendvm=${this.legendvm} .activeLayerInfo=${this.activeLayerInfo} .layer=${this.activeLayerInfo.layer} .titleText=${this.titleText} .legendElement=${this.legendElement} .legendElementIndex=${this.legendElementIndex} .zoomTo=${this.zoomTo} .isInteractive=${this.isInteractive} ${o(this.legendLayerCaption)}></instant-apps-interactive-legend-legend-element-caption></div>${m("content",t`<div .id=${`${this.activeLayerInfo?.layer?.id}-legend-element-content-${this.legendElementIndex}`} class=${i(s?"show":"hide")}><slot name=content></slot></div>`)}</div>`}};h("instant-apps-interactive-legend-legend-element",n);return n},a,b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import"./N4AIZVPV.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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import{a as n}from"./I3DKKF5F.js";import{a as s}from"./GLAVWPYD.js";import"./EA2CRCAW.js";import"./FDYQ2FKY.js";import"./6TJU76R3.js";import"./XHXMDQDA.js";import{a as r,b as i}from"./D7VNUZC6.js";import"./GZ45JBXT.js";import"./J27HWMOU.js";import"./EJ6BXACD.js";import{a as o}from"./VLVHNMFY.js";import{a}from"./KCUSGNOT.js";import"./5BCHBBEG.js";import"./VIKALXXD.js";import"./LEMWW4ED.js";import"./I3PEU4E4.js";import"./S6R6G6MM.js";import"./QFF7V4PQ.js";import"./RBY4RRXS.js";import"./CKIAT6FZ.js";import"./WX6CMXEK.js";import"./UHDBPQAZ.js";import"./PFGY7OJD.js";import"./RJBUFP4Z.js";import"./BP2CHTVW.js";import"./4H5JZV3N.js";import"./EMC4J76D.js";import"./JWKBLBHU.js";import"./NPOGRCJT.js";import"./UQHNT6NC.js";import"./K2RFNUWO.js";import"./W7I2RFAY.js";import"./LBN2RTAD.js";import"./5FQDPXO7.js";import"./AHNRTMIR.js";import"./5IY7QON3.js";import"./7B2JUGRA.js";import"./4KVLYOZL.js";import"./ZFZ663TV.js";import"./MQUYDV5R.js";import"./N4AIZVPV.js";var d=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},n(e),{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"page",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await a(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(t.location,l.hubRequestOptions),options:await i(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import"./N4AIZVPV.js";var l=async(e,r,o)=>{let t=r.orgUrlKey;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:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{scope:"/properties/_urlInfo",type:"Control",options:{type:"Control",control:"hub-composite-input-site-url",orgUrlKey:t,messages:[{type:"ERROR",keyword:"isUniqueDomain",labelKey:`${e}.fields.siteUrl.isUniqueError`,icon:!0}]}}]}};export{l 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.20 */
|
|
4
|
+
import"./N4AIZVPV.js";var a="Jums nav pietiekami daudz kred\u012Btu, lai izpild\u012Btu \u0161o darb\u012Bbu. Sazinieties ar ArcGIS sist\u0113mas administratoru, lai sa\u0146emtu pal\u012Bdz\u012Bbu.",e="\u0160is r\u012Bks tika public\u0113ts no notebook. ArcGIS Notebooks piek\u013Cuve j\u016Bsu organiz\u0101cijai ir blo\u0137\u0113ta. Sazinieties ar savu administratoru, lai piel\u0101gotu iestat\u012Bjumu.",i="${ dataPath } nedr\u012Bkst b\u016Bt ${ additionalProperty }.",r="${ dataPath } j\u0101atbilst k\u0101dai no \u0161\u0101d\u0101m sh\u0113m\u0101m: ${ schemaOptions }.",t="M\u0113\u0123iniet saglab\u0101t karti v\u0113lreiz.",s="Servisa kred\u012Bta apr\u0113\u0137ins neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz apr\u0113\u0137iniet servisa kred\u012Btus.",o="Veicot anal\u012Bzi, rad\u0101s k\u013C\u016Bda.",n="${ dataPath } j\u0101b\u016Bt vien\u0101dam ar k\u0101du no \u0161\u012Bm at\u013Cautaj\u0101m v\u0113rt\u012Bb\u0101m: ${ allowedValues }.",l="Neizdev\u0101s saglab\u0101t anal\u012Bzes v\u0113sturi",d="V\u0113stures kr\u0101tuve ir pilna. No\u0146emiet da\u017Eas vien\u012Bbas no anal\u012Bzes v\u0113stures un m\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",u="Pakalpojuma nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes.",m="Pagaidu sl\u0101\u0146a saglab\u0101\u0161ana viesota elementu sl\u0101\u0146a veid\u0101 netika pabeigta.",v="Neizdev\u0101s ieg\u016Bt galvenos rekviz\u012Btus.",k="Neizdev\u0101s iel\u0101d\u0113t sl\u0101ni.",c="Sl\u0101nis nav pieejams.",p="${ dataPath } nedr\u012Bkst b\u016Bt vair\u0101k par ${ limit } vien\u012Bb\u0101m.",z="Saglab\u0101jot modeli, rad\u0101s k\u013C\u016Bda. M\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",b="${ dataPath } nedr\u012Bkst b\u016Bt maz\u0101k par ${ limit } vien\u012Bb\u0101m.",g="${ dataPath } nedr\u012Bkst b\u016Bt \u012Bs\u0101ks par ${ limit } rakstz\u012Bm\u0113m.",P="Neizdev\u0101s iel\u0101d\u0113t mode\u013Ca vien\u012Bbu. P\u0101rliecinieties, vai modelis past\u0101v un ir pie\u0161\u0137irta piek\u013Cuves at\u013Cauja.",E="Neizdev\u0101s pabeigt piepras\u012Bjumu.",h="Jums nav at\u013Caujas lietot \u0161o r\u012Bku. <calcite-link target='_blank' href='${ docLink }'>Papildinform\u0101cija</calcite-link>",S="Neizdev\u0101s pieteikties port\u0101l\u0101.",j="Neizdev\u0101s nolas\u012Bt ievades datus.",y="${ dataPath } tr\u016Bkst parametra ar nosaukumu ${ missingProperty }.",N="Rezult\u0101tu sl\u0101nis ar \u0161\u0101du nosaukumu jau past\u0101v. Rezult\u0101tu sl\u0101\u0146iem vis\u0101 organiz\u0101cij\u0101 j\u0101b\u016Bt ar unik\u0101liem nosaukumiem. L\u016Bdzu, izmantojiet citu nosaukumu.",$="Izvades nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes. <a href='${docLink}' target='_blank'>Uzzin\u0101t vair\u0101k.</a>",f="Pagaidu sl\u0101\u0146a k\u0101 viesota sl\u0101\u0146a public\u0113\u0161ana neizdev\u0101s viena vai vair\u0101ku neder\u012Bgu lauku d\u0113\u013C. Atk\u0101rtoti palaidiet r\u012Bku, lai izveidotu sl\u0101ni ar der\u012Bgiem laukiem.",I="Darba iesnieg\u0161ana neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz palaidiet anal\u012Bzi.",F="${ dataPath } j\u0101b\u016Bt vismaz vienai rakstz\u012Bmei, kas nav atstarpe.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:u,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:v,layerLoadFailure:k,layerUnavailable:c,maxItems:p,mbFailedToSave:z,minItems:b,minLength:g,modelNotFound:P,networkError:E,noPermissionToAccessTool:h,portalLoadError:S,queryFeaturesError:j,requiredProperty:y,serviceNameExistsError:N,specialCharactersInServiceNameError:$,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:F};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,L as default,o as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,u as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,v as keyPropertiesError,k as layerLoadFailure,c as layerUnavailable,p as maxItems,z as mbFailedToSave,b as minItems,g as minLength,P as modelNotFound,E as networkError,h as noPermissionToAccessTool,S as portalLoadError,j as queryFeaturesError,y as requiredProperty,N as serviceNameExistsError,$ as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,F as whiteSpacePattern};
|