@esri/solutions-components 1.2.0-next.47 → 1.2.0-next.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/24BZBC2V.js +4 -0
- package/dist/cdn/{LP674ULM.js → 27OPY52H.js} +2 -2
- package/dist/cdn/{3U2CVGAP.js → 2CYIJAKF.js} +2 -2
- package/dist/cdn/{FQULPGZ7.js → 2I4QKLIV.js} +2 -2
- package/dist/cdn/{U5E43EIG.js → 2J7N4FLM.js} +2 -2
- package/dist/cdn/{XXYGIRAL.js → 2KA7JHX2.js} +1 -1
- package/dist/cdn/{FBCSIZDG.js → 2SJGH3ZE.js} +2 -2
- package/dist/cdn/{VG3WXAYE.js → 2Z5PI5VG.js} +2 -2
- package/dist/cdn/{BZHL3SWF.js → 32FXCVAR.js} +2 -2
- package/dist/cdn/{QNMIGIW2.js → 32JIE4AF.js} +2 -2
- package/dist/cdn/{4U6AGSCR.js → 32LESYZM.js} +2 -2
- package/dist/cdn/{T3FH2BXQ.js → 32RASCCN.js} +2 -2
- package/dist/cdn/{BGBIZXSN.js → 35TN2M2A.js} +2 -2
- package/dist/cdn/{QFVGH2QF.js → 36VJMZQR.js} +2 -2
- package/dist/cdn/{UOCR3MJI.js → 3BOBZJW4.js} +2 -2
- package/dist/cdn/{5TDAZ2LI.js → 3LFBEHJ3.js} +2 -2
- package/dist/cdn/{SSYHJELF.js → 3LJ3T35M.js} +2 -2
- package/dist/cdn/{6MDELGPP.js → 3M22LGAZ.js} +2 -2
- package/dist/cdn/{WO6CQ4KZ.js → 3PNUPY6W.js} +2 -2
- package/dist/cdn/{JGU2ZC67.js → 3Q5ZG4BN.js} +2 -2
- package/dist/cdn/{MJQSUCLS.js → 3S7UWWK7.js} +2 -2
- package/dist/cdn/{E2QKRLHC.js → 3T4Z3CKA.js} +2 -2
- package/dist/cdn/{SSL5WFCY.js → 3VQWLJIO.js} +2 -2
- package/dist/cdn/{IHJF3XXK.js → 3YLQKWCI.js} +2 -2
- package/dist/cdn/{NL5MYSNG.js → 3ZZG5CLP.js} +2 -2
- package/dist/cdn/{XSKP2VSD.js → 44RFEPW7.js} +2 -2
- package/dist/cdn/46HLXIRR.js +4 -0
- package/dist/cdn/{PWF2SKGH.js → 47DVD7Y5.js} +2 -2
- package/dist/cdn/{J4OOCGBF.js → 47SWYE6X.js} +2 -2
- package/dist/cdn/{SCL53JFQ.js → 4AH7RLC2.js} +2 -2
- package/dist/cdn/{GDIBTJA3.js → 4AL6QYU6.js} +2 -2
- package/dist/cdn/{DPGFPHXQ.js → 4BMZW4U5.js} +2 -2
- package/dist/cdn/{DRTSX2CW.js → 4BX4EHCN.js} +2 -2
- package/dist/cdn/{3ENCVSHM.js → 4EHOUC6P.js} +2 -2
- package/dist/cdn/{5BGBBJYZ.js → 4HUQLLWL.js} +2 -2
- package/dist/cdn/{A6JAZF72.js → 4JCQMAML.js} +2 -2
- package/dist/cdn/{224VJQB2.js → 4MBL5474.js} +2 -2
- package/dist/cdn/{7QMQTUOH.js → 4MEMDQWV.js} +2 -2
- package/dist/cdn/{JAIG5ADF.js → 4MXEEKSC.js} +2 -2
- package/dist/cdn/{4Z7NXGMB.js → 4NGNV4JZ.js} +2 -2
- package/dist/cdn/{AMKAFR7B.js → 4SD35JII.js} +2 -2
- package/dist/cdn/{JYCFWJGJ.js → 4SHLP4ML.js} +2 -2
- package/dist/cdn/{HX3JD6OU.js → 4ZMEGZR3.js} +2 -2
- package/dist/cdn/{KMCA7OTW.js → 5LW3NQSG.js} +2 -2
- package/dist/cdn/{2GPDZGN7.js → 5MI5TQTM.js} +2 -2
- package/dist/cdn/{ILDVGJPT.js → 5NK54MSS.js} +2 -2
- package/dist/cdn/{VB626VML.js → 5WOLRF63.js} +2 -2
- package/dist/cdn/{MXC6LVKU.js → 5X2G66ZV.js} +2 -2
- package/dist/cdn/5YVG7J7H.js +4 -0
- package/dist/cdn/{WOMMIV33.js → 62GOSINI.js} +2 -2
- package/dist/cdn/{IDWNGIRI.js → 6AWWHMDI.js} +1 -1
- package/dist/cdn/{2IQ5ZETY.js → 6DJQJJS2.js} +2 -2
- package/dist/cdn/{KRLL2JI4.js → 6GTRIGM7.js} +1 -1
- package/dist/cdn/{GVJ6IHH6.js → 6GVLP76N.js} +1 -1
- package/dist/cdn/{J3BZMDVE.js → 6HC4XBCF.js} +1 -1
- package/dist/cdn/{VGV4VNS6.js → 6KJCH6PY.js} +2 -2
- package/dist/cdn/{4J3RZRZF.js → 6KW46QYO.js} +2 -2
- package/dist/cdn/{OVGURMDJ.js → 6M377YNP.js} +2 -2
- package/dist/cdn/{NYETROFV.js → 6OLK7WWX.js} +2 -2
- package/dist/cdn/{G5KL7DF7.js → 6TIGJEJP.js} +1 -1
- package/dist/cdn/{XZV4GCBK.js → 7BSXMYD7.js} +1 -1
- package/dist/cdn/{N52N7U5C.js → 7BWUDCUX.js} +2 -2
- package/dist/cdn/{HOFN4RCH.js → 7CIO2WS4.js} +2 -2
- package/dist/cdn/{RWZQITA7.js → 7KUJZRYU.js} +2 -2
- package/dist/cdn/{CB4PQIV4.js → 7XHLGJMN.js} +2 -2
- package/dist/cdn/{YJ4ASJ66.js → A4QHQQRR.js} +2 -2
- package/dist/cdn/{6UPUJWLH.js → A7W6W56Y.js} +1 -1
- package/dist/cdn/{6OGSMRDD.js → ACFJNEWX.js} +1 -1
- package/dist/cdn/{7RG473D5.js → AEGL23GB.js} +2 -2
- package/dist/cdn/{DQJNTNNY.js → AHUK45CQ.js} +2 -2
- package/dist/cdn/{DZYDALAU.js → AQYEY4ZH.js} +2 -2
- package/dist/cdn/{CDBSVLI6.js → AR4FBBGU.js} +1 -1
- package/dist/cdn/{JUB7MD5J.js → ARFRF264.js} +2 -2
- package/dist/cdn/{BGW3FMGO.js → AV34WWPY.js} +1 -1
- package/dist/cdn/{YF474DQL.js → AWNFA2WL.js} +2 -2
- package/dist/cdn/{6D3HFO6P.js → AYRLHRKP.js} +2 -2
- package/dist/cdn/{V6BQ6ODM.js → B22K4EU4.js} +2 -2
- package/dist/cdn/{DOQVPXNR.js → B72VEPOL.js} +2 -2
- package/dist/cdn/{ODPRYK2H.js → B7DTCSCN.js} +2 -2
- package/dist/cdn/{7YOZ7AGD.js → BACCLXG4.js} +2 -2
- package/dist/cdn/{E5O2CCGF.js → BAGCI5XM.js} +2 -2
- package/dist/cdn/{4457CQKD.js → BIKIGZOQ.js} +2 -2
- package/dist/cdn/{WMQ25NEA.js → BLRGCLBQ.js} +2 -2
- package/dist/cdn/{ZON3EYDC.js → BNJEWOOG.js} +2 -2
- package/dist/cdn/{6QLA7775.js → BO4UYDNZ.js} +1 -1
- package/dist/cdn/{VNA25S2V.js → BQCU6DBW.js} +2 -2
- package/dist/cdn/{4JAECUNM.js → BRGCM3MJ.js} +1 -1
- package/dist/cdn/{GG54HSCA.js → BWEJLLJR.js} +2 -2
- package/dist/cdn/{PUNK43EY.js → BZE47UMV.js} +2 -2
- package/dist/cdn/{NWH7GGGU.js → C2JPZCZS.js} +2 -2
- package/dist/cdn/{7PI4F77C.js → C3ZFSINX.js} +2 -2
- package/dist/cdn/{ITOBJ4VJ.js → CFZ4AFJR.js} +2 -2
- package/dist/cdn/{GSWIG7KB.js → CFZWB3KC.js} +2 -2
- package/dist/cdn/{GKEEFEHK.js → CHTKDQUO.js} +2 -2
- package/dist/cdn/{6JMD4VB7.js → CJL6VRCK.js} +2 -2
- package/dist/cdn/{SKSJTDFQ.js → CJQML4ZY.js} +2 -2
- package/dist/cdn/CMVLBHG5.js +18 -0
- package/dist/cdn/CNPGAY4A.js +4 -0
- package/dist/cdn/{IHGWSGBX.js → CNRPRQCK.js} +2 -2
- package/dist/cdn/{3L667RFA.js → CO2DL5KM.js} +2 -2
- package/dist/cdn/CWR4DNKJ.js +4 -0
- package/dist/cdn/{K7AZXXLT.js → CXLTXDLO.js} +2 -2
- package/dist/cdn/D7ERF3O2.js +4 -0
- package/dist/cdn/{2Y4PZEDX.js → DHMPORHW.js} +2 -2
- package/dist/cdn/DI7ADEWI.js +4 -0
- package/dist/cdn/{CQGIMBPJ.js → DROZVO4F.js} +2 -2
- package/dist/cdn/{WVQT5Z4P.js → E2P54TTU.js} +2 -2
- package/dist/cdn/{XHGLDRBQ.js → E4GHOFQN.js} +2 -2
- package/dist/cdn/{APLIYVTH.js → E6FODDV2.js} +2 -2
- package/dist/cdn/{ONHY2DJ5.js → E7ZKS45J.js} +2 -2
- package/dist/cdn/{ORCFLTJY.js → ECULFVPM.js} +2 -2
- package/dist/cdn/{FHU2XRM5.js → EGOIPKDY.js} +2 -2
- package/dist/cdn/{UJNOCWJQ.js → EKTG6PJA.js} +2 -2
- package/dist/cdn/{UWBGIKET.js → EOPKOB7A.js} +2 -2
- package/dist/cdn/{7LJWZD4M.js → EU6P6FVW.js} +2 -2
- package/dist/cdn/{KEQLP2LK.js → F6RNGDLO.js} +2 -2
- package/dist/cdn/{R7GEKEI2.js → F7PM545S.js} +2 -2
- package/dist/cdn/{HAYVD2N5.js → FBRNP55O.js} +1 -1
- package/dist/cdn/{CC6FRCKB.js → FCEGFNLI.js} +2 -2
- package/dist/cdn/{Q4P4IRTM.js → FCGQMR5O.js} +2 -2
- package/dist/cdn/{ZMZGGH56.js → FEHHFDRK.js} +2 -2
- package/dist/cdn/{JOXUTRMF.js → FIZK77FZ.js} +1 -1
- package/dist/cdn/{Y7EQ7NYM.js → FJ4ZJJBV.js} +2 -2
- package/dist/cdn/{35PD6HTZ.js → FJ55WZQN.js} +2 -2
- package/dist/cdn/{BSN66NUW.js → FJJESSRF.js} +2 -2
- package/dist/cdn/{GZDO76FL.js → FROXFUE5.js} +2 -2
- package/dist/cdn/{6F2DG3R4.js → FS7GWKXD.js} +2 -2
- package/dist/cdn/{BRYWMBPF.js → FUIXWJXF.js} +1 -1
- package/dist/cdn/{ZITVH3KH.js → FUZ4H5K7.js} +2 -2
- package/dist/cdn/{DJP4EPPV.js → FXYOXL66.js} +2 -2
- package/dist/cdn/{QH233YNQ.js → FYBXXKEH.js} +2 -2
- package/dist/cdn/{YOA726RW.js → G7VRF3DR.js} +2 -2
- package/dist/cdn/{OZASPGRO.js → GBT74WXW.js} +2 -2
- package/dist/cdn/{DY5YPUZ5.js → GKAC5EER.js} +3 -3
- package/dist/cdn/{U2ONUIBZ.js → GP4NK2LH.js} +2 -2
- package/dist/cdn/{QKXQMXAR.js → GYSEKGDD.js} +2 -2
- package/dist/cdn/{SJB7GYAE.js → GYWDHJFB.js} +2 -2
- package/dist/cdn/{SUGVXANW.js → HBL53EIK.js} +2 -2
- package/dist/cdn/{I3W5E4YH.js → HFLLP7OX.js} +2 -2
- package/dist/cdn/{YOQQZO64.js → HGRJJKS6.js} +2 -2
- package/dist/cdn/{FRWVVFXJ.js → HHYKKDFP.js} +2 -2
- package/dist/cdn/{DCD5GSCP.js → HLCJYUL7.js} +2 -2
- package/dist/cdn/{JZD6Z5DK.js → HMXQM6HT.js} +2 -2
- package/dist/cdn/{NSDA44L6.js → HN3MWE5J.js} +2 -2
- package/dist/cdn/{HWTIPUIZ.js → HQSERL55.js} +2 -2
- package/dist/cdn/{JTZY3RY2.js → HRRKVA5T.js} +2 -2
- package/dist/cdn/{CPAKU3OO.js → HY7KRNDQ.js} +2 -2
- package/dist/cdn/{6WRGBC2O.js → HZZOJEY3.js} +2 -2
- package/dist/cdn/{W7UIIKSE.js → I3RNFASB.js} +2 -2
- package/dist/cdn/{KU4DSR4E.js → I3T2T37P.js} +2 -2
- package/dist/cdn/{XXXCUV3R.js → I6JPA7EV.js} +1 -1
- package/dist/cdn/{QLQ6T3Y2.js → IE2X4LVL.js} +2 -2
- package/dist/cdn/{ORQJ3BYR.js → IENLXLM6.js} +2 -2
- package/dist/cdn/{ERQZ7H62.js → IEOPVRAM.js} +2 -2
- package/dist/cdn/{ICLG2ICR.js → IJ357PLT.js} +2 -2
- package/dist/cdn/{DDDISZHJ.js → IMIKWV2W.js} +2 -2
- package/dist/cdn/{LF4A3U3V.js → IOUZ6SKL.js} +4 -4
- package/dist/cdn/{PESHGP2X.js → J2LEAN7E.js} +2 -2
- package/dist/cdn/{WPV5R6HB.js → J6PNDZKV.js} +1 -1
- package/dist/cdn/{JELSGSGU.js → JA2DK3HS.js} +1 -1
- package/dist/cdn/{VI37LQFU.js → JA7BIG6M.js} +2 -2
- package/dist/cdn/{PWMQ7GFE.js → JAFFZGFT.js} +2 -2
- package/dist/cdn/{YDIFHY47.js → JCQDDRKN.js} +2 -2
- package/dist/cdn/{ERKPEADP.js → JJAKQVC2.js} +2 -2
- package/dist/cdn/{VCPYZR4H.js → JN65LYW4.js} +2 -2
- package/dist/cdn/{CTK6Y5U4.js → JQI5WEAC.js} +2 -2
- package/dist/cdn/{KRIK76S5.js → JSAGZ3HJ.js} +2 -2
- package/dist/cdn/JU5TRYJV.js +4 -0
- package/dist/cdn/{JMLETCH4.js → K2SVT3IB.js} +1 -1
- package/dist/cdn/{S5ZC7IH5.js → K7OO6VBW.js} +2 -2
- package/dist/cdn/{MQOCGXZB.js → KBHO3ZQO.js} +2 -2
- package/dist/cdn/{RG3IQ3BH.js → KF2SMVIG.js} +2 -2
- package/dist/cdn/{E3K2ZHDF.js → KF7TASPR.js} +2 -2
- package/dist/cdn/{5BTEQUUH.js → KXQHYZOJ.js} +2 -2
- package/dist/cdn/{HYUNGPQO.js → KZPJQW5L.js} +2 -2
- package/dist/cdn/{GD3JHFUZ.js → L5XV24WB.js} +2 -2
- package/dist/cdn/{K3DSFJ5Q.js → LB4AMTNI.js} +2 -2
- package/dist/cdn/{OOX2ZUH5.js → LFNDNHSX.js} +2 -2
- package/dist/cdn/{AZ7EZMCO.js → LG5WNMEW.js} +1 -1
- package/dist/cdn/{BKG2TGSQ.js → LI46EIJD.js} +2 -2
- package/dist/cdn/{4NAFVAFY.js → LLBTUO43.js} +2 -2
- package/dist/cdn/{GOHX4X55.js → LNDPMABB.js} +2 -2
- package/dist/cdn/{BAI2PN2T.js → LPBXFRF5.js} +2 -2
- package/dist/cdn/{NITDSWOD.js → LPWFFVUM.js} +2 -2
- package/dist/cdn/LU5ADV6B.js +4 -0
- package/dist/cdn/LVBYU7M6.js +4 -0
- package/dist/cdn/{S7O32RPK.js → LXK3BFSR.js} +2 -2
- package/dist/cdn/{ACOPEGMA.js → LXWACUZE.js} +2 -2
- package/dist/cdn/{YTXPPCSI.js → M6IFD4XP.js} +1 -1
- package/dist/cdn/{CUKR3ZL7.js → MCLNRV55.js} +2 -2
- package/dist/cdn/{G5H2NCV4.js → MDESNWHU.js} +1 -1
- package/dist/cdn/{BAR6TVXS.js → MDJ7IX6M.js} +2 -2
- package/dist/cdn/{Y7IVYCXI.js → MJ46SY2X.js} +2 -2
- package/dist/cdn/{3B5HJOYZ.js → MQXTU5W6.js} +2 -2
- package/dist/cdn/{SXGKAW36.js → MSZSXHRP.js} +2 -2
- package/dist/cdn/{63IUN25N.js → MWH55H5P.js} +2 -2
- package/dist/cdn/{QCLICM55.js → MXGQRJHZ.js} +2 -2
- package/dist/cdn/{S25E2U6R.js → N3NIT4AV.js} +2 -2
- package/dist/cdn/{PRFJHDYZ.js → N5CQGD7I.js} +2 -2
- package/dist/cdn/{HF5UFOWU.js → N6A7FX4T.js} +2 -2
- package/dist/cdn/{GPNO4ZFP.js → NAZT4C7X.js} +2 -2
- package/dist/cdn/{CAC74KMD.js → NCXK4XTL.js} +2 -2
- package/dist/cdn/NEL46AYL.js +18 -0
- package/dist/cdn/NHLCWGEJ.js +4 -0
- package/dist/cdn/{Z4PC7DFI.js → NJD2PVLI.js} +1 -1
- package/dist/cdn/{YPB2FA2F.js → NKIXLNOD.js} +2 -2
- package/dist/cdn/{GS26ESCP.js → NMRXDCH3.js} +2 -2
- package/dist/cdn/{FXR4DSI5.js → NNBHNLGJ.js} +2 -2
- package/dist/cdn/{RBEIF7C4.js → NNMAXEQR.js} +2 -2
- package/dist/cdn/{HIZUDX3S.js → NOXEAJW3.js} +2 -2
- package/dist/cdn/{7TLJO5B4.js → NQN7X65M.js} +2 -2
- package/dist/cdn/{TZQH24HX.js → O2OX7UAQ.js} +2 -2
- package/dist/cdn/{RFQSSFOT.js → O3DCRDJY.js} +2 -2
- package/dist/cdn/{M4HXVV3Q.js → O6BBM6QZ.js} +2 -2
- package/dist/cdn/{4MRHYITB.js → O6EO3SU4.js} +2 -2
- package/dist/cdn/{5BMLQGWU.js → OBPPPOO7.js} +1 -1
- package/dist/cdn/{7BJ4U43A.js → OD2MBE4C.js} +1 -1
- package/dist/cdn/{2PKFKS5Q.js → OEQDJI5O.js} +2 -2
- package/dist/cdn/{HTQ3OEFJ.js → OFS6PUBR.js} +2 -2
- package/dist/cdn/{3IQ6Y4T2.js → OGHNUZRY.js} +2 -2
- package/dist/cdn/{CYAIMXRU.js → OGTTDHMV.js} +2 -2
- package/dist/cdn/{7GQHVIZH.js → OHSDZA62.js} +2 -2
- package/dist/cdn/{QYHV2RM4.js → OO2K6ML3.js} +1 -1
- package/dist/cdn/{PUQJ5DCT.js → OODYQIYA.js} +2 -2
- package/dist/cdn/{X4JMHGOI.js → OOYAMMT6.js} +2 -2
- package/dist/cdn/OP46C3X7.js +4 -0
- package/dist/cdn/{5IJ2Z6IP.js → ORMGZDPH.js} +1 -1
- package/dist/cdn/OVJUG4XF.js +4 -0
- package/dist/cdn/{DIWV6DVA.js → OWBZ65CL.js} +2 -2
- package/dist/cdn/{LLT4D3VJ.js → OZILH2VI.js} +2 -2
- package/dist/cdn/{ET57QG25.js → OZKFDUOE.js} +2 -2
- package/dist/cdn/{3FGSHQQL.js → P2OLXXZ4.js} +2 -2
- package/dist/cdn/{OALXTP7S.js → P3FBB2TI.js} +2 -2
- package/dist/cdn/{AQZMKLUB.js → P6D5NAEX.js} +1 -1
- package/dist/cdn/{KXKP2TBY.js → P7I5TQ2J.js} +2 -2
- package/dist/cdn/{X5HTORDU.js → PGEX5HQQ.js} +2 -2
- package/dist/cdn/{WRGANY6B.js → PIDABDYO.js} +2 -2
- package/dist/cdn/{URKPPKUG.js → PNYOR2T3.js} +2 -2
- package/dist/cdn/PO2ENE6M.js +4 -0
- package/dist/cdn/{QWZX6OZM.js → PPTW7U6N.js} +2 -2
- package/dist/cdn/{C24V5DIT.js → PQRQA2W5.js} +2 -2
- package/dist/cdn/{NYQWRGCW.js → PSKVG7E7.js} +2 -2
- package/dist/cdn/{ZL662KX7.js → PWOW4TTG.js} +2 -2
- package/dist/cdn/{3LWH7S7W.js → PYGKD6YC.js} +2 -2
- package/dist/cdn/{U35APPFI.js → Q7BTL7OK.js} +2 -2
- package/dist/cdn/{3BXB4IEZ.js → QDJOHTQ2.js} +1 -1
- package/dist/cdn/{NYRQ6EPI.js → QFBMF2OR.js} +2 -2
- package/dist/cdn/{TPPTXLTP.js → QQTFZ2AK.js} +2 -2
- package/dist/cdn/{MLQ46ATM.js → QXHHLWHF.js} +24 -12
- package/dist/cdn/{MZKOWIVL.js → QZBB5R7Z.js} +2 -2
- package/dist/cdn/{SXOZK5OS.js → R4WKLS5M.js} +2 -2
- package/dist/cdn/R5AARGLR.js +4 -0
- package/dist/cdn/{QOFUR7QS.js → RCNX3KEX.js} +2 -2
- package/dist/cdn/{DCUIOMW3.js → RQKLDVJW.js} +2 -2
- package/dist/cdn/{4OWLJEDI.js → RSPFGF5Z.js} +2 -2
- package/dist/cdn/{CGOW3SAR.js → RWWAR7VE.js} +2 -2
- package/dist/cdn/{NKCUX3LD.js → RYU3V3MC.js} +2 -2
- package/dist/cdn/{MTJSZJMV.js → S2SYYE2H.js} +2 -2
- package/dist/cdn/{DZD55FWN.js → S3I3K576.js} +2 -2
- package/dist/cdn/{WIJ7HN34.js → S6OVC7M5.js} +2 -2
- package/dist/cdn/{2UWLZD24.js → SCO3TPUA.js} +2 -2
- package/dist/cdn/{TRAUQZ7K.js → SDPTU77I.js} +2 -2
- package/dist/cdn/{5KAJVGOX.js → SEZED6G3.js} +2 -2
- package/dist/cdn/{YXNLDNXV.js → SHVEMFFG.js} +1 -1
- package/dist/cdn/SM3QYNQM.js +18 -0
- package/dist/cdn/{BIXRRR2H.js → SN4H4YXY.js} +2 -2
- package/dist/cdn/{2HIYBYEL.js → SOJ7MNYI.js} +2 -2
- package/dist/cdn/SOQNOQ6X.js +4 -0
- package/dist/cdn/{IY4FNMRQ.js → SZQM46VE.js} +2 -2
- package/dist/cdn/{3LYOKYCF.js → SZYAUZUD.js} +1 -1
- package/dist/cdn/{4LCRKUTB.js → T3763IRX.js} +2 -2
- package/dist/cdn/{RXNFSWC6.js → TE34EQVL.js} +2 -2
- package/dist/cdn/{B2XHYS5D.js → TFYCRX22.js} +2 -2
- package/dist/cdn/{FD5EAJKD.js → TGAHZ3XF.js} +2 -2
- package/dist/cdn/{3I3VYH3O.js → TGR2HXNR.js} +2 -2
- package/dist/cdn/{VA2PQPGF.js → TI6RGJKU.js} +2 -2
- package/dist/cdn/{D4FRZS2T.js → TMHUYWP6.js} +2 -2
- package/dist/cdn/{DMFGROAQ.js → TQYVOUWQ.js} +2 -2
- package/dist/cdn/{LBF5I64F.js → TUNRP3DA.js} +2 -2
- package/dist/cdn/{DWYYQ2HE.js → TWTCOTFS.js} +2 -2
- package/dist/cdn/{YAM5S2BD.js → U2MN5A5J.js} +2 -2
- package/dist/cdn/{Z4OMS45R.js → UBVYKMK2.js} +2 -2
- package/dist/cdn/UFGGDEM3.js +18 -0
- package/dist/cdn/{JXF5WC2D.js → UNH7VFUA.js} +2 -2
- package/dist/cdn/{BZRJS4OM.js → UTP73M63.js} +2 -2
- package/dist/cdn/UVH35TLB.js +4 -0
- package/dist/cdn/{RV4AYBFW.js → UYHDJZNZ.js} +2 -2
- package/dist/cdn/{2YPODRMR.js → UZILHKAU.js} +1 -1
- package/dist/cdn/{XCC5JC6Y.js → UZLWYK2O.js} +2 -2
- package/dist/cdn/{KJ2KGIFC.js → V2DFXPH2.js} +1 -1
- package/dist/cdn/{NX5BO3VJ.js → VL77XTB4.js} +2 -2
- package/dist/cdn/{5MTH4Z24.js → VTZFT4WB.js} +2 -2
- package/dist/cdn/{C6OFHB2D.js → WCMSP6YA.js} +2 -2
- package/dist/cdn/{B4AEBJ5P.js → WJBXNLZR.js} +2 -2
- package/dist/cdn/{JCUWNF4J.js → WJDSTNP2.js} +2 -2
- package/dist/cdn/{KU3I2EKF.js → WJVJIZA6.js} +2 -2
- package/dist/cdn/{3XPXKO5R.js → WKXWN7CJ.js} +1 -1
- package/dist/cdn/{SBDY7APE.js → WMMIKBU2.js} +2 -2
- package/dist/cdn/{QBTUN5SU.js → WMX2TACG.js} +2 -2
- package/dist/cdn/{EEPMZZCP.js → WPBPBQGV.js} +2 -2
- package/dist/cdn/{C6D7HU36.js → WUOPCRA2.js} +2 -2
- package/dist/cdn/{LLZF4ALQ.js → WXUWMRPP.js} +1 -1
- package/dist/cdn/{DEQ65XMA.js → X2IDQE7B.js} +1 -1
- package/dist/cdn/{NAV4RIU7.js → XBZ5P7SH.js} +2 -2
- package/dist/cdn/{5Q3INIPA.js → XDUJ4KUW.js} +2 -2
- package/dist/cdn/XEPAXW3H.js +4 -0
- package/dist/cdn/{5VQT7NWF.js → XH5QU3Z7.js} +2 -2
- package/dist/cdn/{QBPS4VHH.js → XICA7VZ2.js} +2 -2
- package/dist/cdn/XS2UCHNZ.js +4 -0
- package/dist/cdn/{QJFMVE2O.js → XYXWUOQF.js} +2 -2
- package/dist/cdn/{ITGDDMGR.js → Y2V2KPEQ.js} +2 -2
- package/dist/cdn/{U7V4CPXR.js → Y6KNBDLN.js} +2 -2
- package/dist/cdn/{H26EQT36.js → YAHWR6WK.js} +2 -2
- package/dist/cdn/{Y5Q54E6S.js → YFFUFGNY.js} +2 -2
- package/dist/cdn/{VLPKBOZV.js → YH32ZM45.js} +2 -2
- package/dist/cdn/{OBDQIHBF.js → YHU2LJSD.js} +2 -2
- package/dist/cdn/YIOSU3E5.js +4 -0
- package/dist/cdn/{UTZBBHYR.js → YLZ5GUF5.js} +2 -2
- package/dist/cdn/{W7VFMQZN.js → YV3VZCXY.js} +2 -2
- package/dist/cdn/{QHPTFGGK.js → YVJIKKIQ.js} +1 -1
- package/dist/cdn/{EWRIESJL.js → YWIPRDLR.js} +2 -2
- package/dist/cdn/{DGPLLLU6.js → Z37YZWXH.js} +2 -2
- package/dist/cdn/{MLLBBRDS.js → Z3V4ZDY7.js} +2 -2
- package/dist/cdn/{JKJW7EGE.js → Z3XFJ3CF.js} +2 -2
- package/dist/cdn/{HGR3JFZF.js → Z7RRGVMN.js} +2 -2
- package/dist/cdn/{EEMUDDZ5.js → ZFMIGW3S.js} +2 -2
- package/dist/cdn/{QXXJ4ZYD.js → ZIR4BXOB.js} +2 -2
- package/dist/cdn/{AUKX7K4L.js → ZKZHMGCU.js} +2 -2
- package/dist/cdn/{IBNR4ZMB.js → ZMBD6CVX.js} +2 -2
- package/dist/cdn/{WGWSM52I.js → ZMXAL2JQ.js} +2 -2
- package/dist/cdn/{KI74K5HZ.js → ZOXZJAJS.js} +2 -2
- package/dist/cdn/{GKWJBQEG.js → ZQ2LB5FF.js} +2 -2
- package/dist/cdn/{PEVKJN43.js → ZQQBODAS.js} +2 -2
- package/dist/cdn/{E7JMPL67.js → ZTESH3FE.js} +2 -2
- package/dist/cdn/ZTSCQVPZ.js +18 -0
- package/dist/cdn/{JV4PBTY6.js → ZWJB4WST.js} +2 -2
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.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-deployed-card.js +2 -2
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +80 -67
- package/dist/components/arcgis-solutions-assistant/index.d.ts +1 -0
- package/dist/components/arcgis-solutions-assistant/index.js +1 -0
- 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/info-card/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-basemap-gallery/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-floor-filter/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-configure-titles/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 +2 -2
- 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 +9 -9
- package/dist/components/solution-details-panel/index.d.ts +1 -0
- package/dist/components/solution-details-panel/index.js +1 -0
- package/dist/components/solution-item-accordion/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-resource-card/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/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.d.ts +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +20 -20
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +25 -25
- 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 +1 -1
- package/dist/docs/api.json +3 -3
- package/dist/docs/docs.json +5 -5
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +2 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/2HKC37LX.js +0 -4
- package/dist/cdn/4ZJTDEAY.js +0 -4
- package/dist/cdn/C3LYG4YR.js +0 -4
- package/dist/cdn/D7Z5SNLM.js +0 -4
- package/dist/cdn/DVZ3QUEL.js +0 -4
- package/dist/cdn/E664ZCHQ.js +0 -4
- package/dist/cdn/EV474QCD.js +0 -4
- package/dist/cdn/EY5KWHHX.js +0 -18
- package/dist/cdn/FF5JR3PJ.js +0 -4
- package/dist/cdn/ILLV5OA4.js +0 -18
- package/dist/cdn/KF6OOGEP.js +0 -4
- package/dist/cdn/KYBEBCMP.js +0 -4
- package/dist/cdn/LGSWRISR.js +0 -4
- package/dist/cdn/MWG7QOIF.js +0 -4
- package/dist/cdn/N5S4JHXR.js +0 -4
- package/dist/cdn/OF2RFQ5O.js +0 -4
- package/dist/cdn/PRJQDSTI.js +0 -18
- package/dist/cdn/R3ZFSCCG.js +0 -4
- package/dist/cdn/RHQGQIKA.js +0 -4
- package/dist/cdn/RRUDJFSC.js +0 -4
- package/dist/cdn/SD3GOKFL.js +0 -4
- package/dist/cdn/WL7DUNPT.js +0 -4
- package/dist/cdn/XLR4WZOV.js +0 -18
- package/dist/cdn/YJXOX7AY.js +0 -18
- package/dist/cdn/YLZMRIYF.js +0 -4
|
@@ -0,0 +1,4 @@
|
|
|
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.49 */
|
|
4
|
+
import f from"./NEL46AYL.js";import e from"./BIKIGZOQ.js";import d from"./KZPJQW5L.js";import"./3M22LGAZ.js";import c from"./6HC4XBCF.js";import b from"./ZTSCQVPZ.js";import a from"./GYSEKGDD.js";import"./NAZT4C7X.js";import"./6TIGJEJP.js";import"./C3ZFSINX.js";import"./FJ4ZJJBV.js";import"./OEQDJI5O.js";import"./4HUQLLWL.js";import"./P6D5NAEX.js";import"./OD2MBE4C.js";import"./5X2G66ZV.js";import"./M6IFD4XP.js";import"./6GTRIGM7.js";import"./A7W6W56Y.js";import"./2J7N4FLM.js";import"./PIDABDYO.js";import"./R4WKLS5M.js";import"./6AWWHMDI.js";import"./I6JPA7EV.js";import"./LPWFFVUM.js";import"./BRGCM3MJ.js";import"./ACFJNEWX.js";import"./AWNFA2WL.js";import"./HBL53EIK.js";import"./MJ46SY2X.js";import"./7BWUDCUX.js";import"./AR4FBBGU.js";import"./OO2K6ML3.js";export default $arcgis.t(([,,,,,a])=>{return a},a,b,c,d,e,f)
|
|
@@ -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 from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import a from"./WKXWN7CJ.js";import{a as h}from"./3M22LGAZ.js";import{b as D}from"./3ZZG5CLP.js";import{D as I,E as b,F as v,h as L,i as r,p as f}from"./AR4FBBGU.js";import"./OO2K6ML3.js";export default $arcgis.t(([d,m,{a:p,c:$,d:S,e:g,f:u}])=>{var y=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.isLoaded=!1,this.icon="language",this.locales=[],this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.selectedLanguageUpdated=f()}static{this.properties={t9nData:16,isLoaded:16,icon:1,portalItem:0,view:0,locales:0,defaultLocale:1,selectedLanguage:1,calciteDropdownOverlayPositioning:1}}static{this.styles=y}async refresh(){try{let e=await u(this.portalItem),t=await g(e);this.t9nData=t;let a={locale:this.selectedLanguage,data:t[this.selectedLanguage]};this.selectedLanguageUpdated.emit(a)}catch{}}async load(){try{this.portalItemResource=await u(this.portalItem);let e=await g(this.portalItemResource);this.t9nData=e??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE."),this.isLoaded=!0}finally{this.userLocale=this.defaultLocale;let e=new URLSearchParams(window.location.search).get("locale"),t=this.locales?.map(o=>o?.locale)?.filter(o=>o===e)?.length>0,a=$(this.portalItem.portal),c=this.locales?.map(o=>o?.locale)?.filter(o=>o===a)?.length>0;this.selectedLanguage=t?e:c?a:this.userLocale;let i=this.selectedLanguage;if(i!==this.userLocale&&(this.calciteDropdownItemSelectCallback(i)(),this.selectedLanguageUpdated.emit({locale:i,data:this.t9nData?.[i]??null})),this.view){let o=this.view.map;this.defaultWebMapId=o?.portalItem?.id??"";let s=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;s&&(this.view.map=new m({portalItem:{id:s}}))}this.isLoaded=!0}}calciteDropdownItemSelectCallback(e){return async()=>{if(!this.isLoaded)return;this.selectedLanguage=e;let{selectedLanguage:t,t9nData:a,userLocale:c}=this,i=this.locales.find(l=>l.locale===t);a&&i&&t!==c&&(i.data=a[e]);let o=new URLSearchParams(window.location.search),s=S(this.selectedLanguage);if(d.setLocale(s),o.set("locale",s),this.view){let l=this.locales.filter(n=>n.locale===t)?.[0]?.webmap;if(l)this.view.map=new m({portalItem:{id:l}});else{let n=this.view?.map?.portalItem?.id;n&&this.defaultWebMapId!==n&&(this.view.map=new m({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",s),d.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${o}`)),this.selectedLanguageUpdated.emit(i)}}getSelectedLanguageText(e){let t=Object.keys(p.partial).includes(e)?"partial":"full",a=p[t],{language:c,translated:i}=a[e];return`${c} - ${i}`}render(){let e=this.renderTrigger(),t=this.renderDropdownItems(),a=this.renderDefaultLocale();return r`<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 h(`default-${e}`,r`<calcite-dropdown-item @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)} .selected=${this.selectedLanguage===this.userLocale}>${this.getSelectedLanguageText(e)}</calcite-dropdown-item>`)}renderTrigger(){return r`<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 h(e,r`<calcite-dropdown-item .selected=${a} @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)}>${t}</calcite-dropdown-item>`)}};D("instant-apps-language-switcher",w);return w},"intl","WebMap",a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import c from"./BIKIGZOQ.js";import b from"./KZPJQW5L.js";import a from"./6HC4XBCF.js";import{J as R,mb as J,nb as y,q as E}from"./NAZT4C7X.js";import{g as U}from"./6AWWHMDI.js";export default $arcgis.t(([{j:D,l:M},{e:T,f:k,g:K,j:S,k:F},{a:w,b:h,c:j,e:g}])=>{var z=class{constructor(e,r,s){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=e,this.orgUrl=r,this.portalUrl=s,this.anonAgolSession=new U({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(e){this.cardCache.push(e)}getCache(){return this.cardCache}removeFromCache(e){this.cardCache=this.cardCache.filter(r=>r.id!==e)}requestAvailableSolutionCards(e,r,s,t,a,o){let n=a?.start?a.start:1,d=a?.num?a.num:24,C=this.portalUrl+"/sharing/rest",p=this.agolPortalUrl+"/sharing/rest",m=this.anonAgolSession,q=JSON.stringify(e.categories);if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==q||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:q,sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=g(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let i;if(o&&o.size>0){let l=w(this.cardCache,o);i=h(l,n,d)}else i=h(this.cardCache,n,d);return Promise.resolve(i)}let A={filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,categories:e?.categories?this.convertSearchCategories(e.categories):""},P=[];if(r){let i=t||new U({});P.push(y(r,e.q,i,A,C))}return s&&P.push(y(s,e.q,m,A,p)),Promise.allSettled(P).then(i=>{let l=[];i.forEach((u,B)=>{let v=!!r&&B===0;if(u.status==="fulfilled"){let I=u.value,O="",N=!1;v?O=this.portalUrl:(O=this.agolPortalUrl,N=!0),I.results.forEach(b=>{b.sourcePortalUrl=O,b.knownToBePublicSource=N}),l.push(I)}else if(u.status==="rejected")throw new Error(v?u.reason.message:"enterpriseCannotAccessAGO")}),l.length===0?this.cardCache=[]:l.length===1?this.cardCache=this.getCardsFromResponse(l[0]):this.cardCache=g(this.getCardsFromResponse(this.mergeResponses(l)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let f;if(o&&o.size>0){let u=w(this.cardCache,o);f=h(u,n,d)}else f=h(this.cardCache,n,d);return Promise.resolve(f)}).catch(i=>Promise.reject(new Error(i.message)))}requestDeployedSolutionCards(e,r){let s=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(e.q)||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:"[]",sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=g(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let a=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let t={q:e.q,filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,authentication:r,portal:s,categories:e?.categories?JSON.stringify(e.categories):""};return J(t).then(a=>{this.cardCache=this.getCardsFromResponse(a);let o=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(e){return e&&(Array.isArray(e)?e=e.map(r=>JSON.stringify(Array.isArray(r)?r:[r])):e=JSON.stringify([e])),e}getCardsFromResponse(e){return e.results.length>0?E(e.results).map(r=>{let s={id:r.id,title:r.title,snippet:r.snippet||"",description:r.description||"",url:r.url||"",itemUrl:this.orgUrl+"/home/item.html"+k([{k:"id",v:r.id}])||"",thumbnailFilename:r.thumbnail,thumbnailUrl:K(r.id,r.thumbnail,this.cMissingImageDataURI,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),tryitUrl:r.url||"",typeKeywords:r.typeKeywords,learnMoreUrl:r.properties?.learnMoreUrl||"",createdMs:r.created,created:S(r.created,this.locale),modified:S(r.modified,this.locale),numViews:r.numViews,tags:r.tags,categories:r.groupCategories&&r.groupCategories.length>0?r.groupCategories:r.categories||[],licenseInfo:T(r.licenseInfo),deployCommonId:F(r.typeKeywords||[],"solutionid-"),deployVersion:F(r.typeKeywords||[],"solutionversion-"),canDelete:r.created>16183314e5,preview:this.preparePreviewImageUrls(r.id,r.properties?.preview,r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl),sourcePortalUrl:r.sourcePortalUrl||"",knownToBePublicSource:r.knownToBePublicSource||!1,waitId:"",relatedSolutions:R(r,"properties.relatedSolutions")||[],owner:r.owner};return s.deployCommonId!==""&&s.deployVersion!==""?s:null}).filter(r=>r!=null):[]}mergeResponses(e){let r=0;e.forEach(t=>r+=t.total);let s=[];return e.forEach(t=>s=s.concat(t.results)),{query:e[0].query,start:1,num:r,nextStart:-1,total:r,results:s}}preparePreviewImageUrls(e,r,s){return r?r.map(t=>(t.format==="image"&&(t.name=s+"/sharing/rest/content/items/"+e+"/resources/"+t.name),t)):[]}};async function Q(c,e,r,s,t=M,a="created",o="desc",n=!1,d=[],C=[],p){if(!c?.IsSignedIn)return;let m={q:t,filter:"type:Solution",sortField:a,sortOrder:o,delay:n,categories:d};return m.q+=G(c,p),await V(e,m,s,C)}function G(c,e){let r="",s=c.PortalUserOrg,t=c.PortalUserName;return s&&(r+=" orgid:"+s),e!==D.ORGANIZATION&&t&&(r+=" owner:"+t),r}async function V(c,e,r,s){let t=await r.requestDeployedSolutionCards(e,c),a=j(t.cards,s);return{cards:t.cards,relatedSolutions:a}}return{a:z,b:Q}},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.49 */
|
|
4
|
+
import"./OO2K6ML3.js";var a="Nemate dovoljno kredita za obavljanje ove operacije. Za pomo\u0107 se obratite svom administratoru sistema ArcGIS.",e="Ova alatka je objavljena iz bele\u017Enice. Pristup servisu ArcGIS Notebooks je blokiran za va\u0161u organizaciju. Kontaktirajte svog administratora da prilagodite ovu postavku.",o="${ dataPath } ne sme da ima ${ additionalProperty }.",i="${ dataPath } mora da odgovara \u0161emi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovo da sa\u010Duvate mapu.",t="Procena kredita nije uspela. Pomerite se nadole, ispravite gre\u0161ke i ponovo procenite kredite.",s="Do\u0161lo je do gre\u0161ke pri pokretanju analize.",n="${ dataPath } mora da bude jednako jednoj od ovih dozvoljenih vrednosti: ${ allowedValues }.",l="\u010Cuvanje istorije analize nije uspelo",d="Skladi\u0161te istorije je puno. Uklonite neke stavke iz istorije analize i poku\u0161ajte ponovo da ih sa\u010Duvate.",v="Ime servisa sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",j="\u010Cuvanje privremenog sloja kao hostovanog sloja geoobjekta nije zavr\u0161eno.",m="Preuzimanje klju\u010Dnih svojstava nije uspelo.",u="U\u010Ditavanje sloja nije uspelo.",p="Sloj nije dostupan.",k="${ dataPath } ne sme da ima vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do gre\u0161ke prilikom \u010Duvanja modela. Poku\u0161ajte da sa\u010Duvate ponovo.",h="${ dataPath } ne sme da ima manje od ${ limit } stavki.",z="${ dataPath } ne sme da bude kra\u0107e od ${ limit } karaktera.",P="U\u010Ditavanje stavke modela nije uspelo. Uverite se da model postoji i da je dobijena dozvola za pristup.",g="Dovr\u0161avanje zahteva nije uspelo.",E="Nemate dozvolu za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznaj vi\u0161e</calcite-link>",S="Prijava na portal nije uspela.",b="Neuspe\u0161no \u010Ditanje ulaznih podataka.",y="${ dataPath } nedostaje svojstvo pod nazivom ${ missingProperty }.",$="Sloj sa rezultatima ve\u0107 postoji s ovim nazivom. Slojevi sa rezultatima moraju imati jedinstveno ime u celoj organizaciji. Upotrebite drugi naziv.",I="Ime izlaza sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",f="Objavljivanje privremenog sloja kao hostovanog sloja nije uspelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovo pokrenite alatku da biste kreirali sloj sa va\u017Ee\u0107im poljima.",F="Slanje posla nije uspelo. Listajte nadole, ispravite gre\u0161ke i ponovo pokrenite analizu.",N="${ dataPath } mora da ima bar jedan karakter koji nije prazan.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:v,hostedFeatureServicePublishDidNotComplete:j,keyPropertiesError:m,layerLoadFailure:u,layerUnavailable:p,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:f,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,L as default,s as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,v as hostedFeatureServiceInvalidTitle,j as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,u as layerLoadFailure,p as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,I as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{d as c}from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import{d as c}from"./6AWWHMDI.js";import{a as y}from"./BRGCM3MJ.js";var u=t=>{let[[e,n],[r,o]]=t;return f(e,n,r,o)},g=t=>t.map(e=>e.join(", ")).join(", ");function f(t,e,n,r,o=4326){return{xmin:t,ymin:e,xmax:n,ymax:r,spatialReference:{wkid:o}}}function h(t){return[[t.xmin,t.ymin],[t.xmax,t.ymax]]}var m={xmin:-180,ymin:-90,xmax:180,ymax:90,spatialReference:{wkid:4326}};function E(t){let e=t.portalSelf,n=e.defaultExtent,r=y(e,"helperServices.geometry.url");if(!r||!n)return Promise.resolve(m);let o=`${r}/project`,i={httpMethod:"POST",params:{geometries:JSON.stringify({geometryType:"esriGeometryEnvelope",geometries:[n]}),transformForward:!1,transformation:"",inSR:n.spatialReference.wkid,outSR:4326,f:"json"}};return t.authentication&&(i.authentication=t.authentication),c(o,i).then(a=>{let x=a.geometries[0];return{xmin:x.xmin,ymin:x.ymin,xmax:x.xmax,ymax:x.ymax,spatialReference:{wkid:4326}}}).catch(a=>m)}var d=t=>Array.isArray(t)&&Array.isArray(t[0])&&Array.isArray(t[1]);var S=t=>{let e=[].concat(...t);for(let n=0;n<e.length;n+=2){let[r,o]=[e[n],e[n+1]];if(o<-90||o>90||r<-180||r>180)return!1}return!0},B=t=>{let e=1/0,n=1/0,r=-1/0,o=-1/0;for(let s of t.coordinates)for(let[i,a]of s)e=Math.min(e,i),n=Math.min(n,a),r=Math.max(r,i),o=Math.max(o,a);return[[e,n],[r,o]]};export{u as a,g as b,h as c,E as d,d as e,S as f,B as g};
|
|
@@ -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.49 */
|
|
4
4
|
function i(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(e);n<t.length;n++)o.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(r[t[n]]=e[t[n]]);return r}export{i as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import a from"./6HC4XBCF.js";import{e as c}from"./FUIXWJXF.js";export default $arcgis.t(([{d:l}])=>{async function h(a,e){let t;return await a.when(()=>{t=a.map.allLayers.toArray().reduce((n,r)=>((r.type==="feature"||r?.type==="subtype-group")&&(n[r.id]={name:r.title,supportsUpdate:void 0}),n),{})}),d(e,t,a)}async function b(a,e){let t;return await a.when(()=>{t=a.map.allTables.toArray().reduce((n,r)=>(n[r.id]={name:r.title,supportsUpdate:void 0},n),{})}),d(e,t,a)}async function d(a,e,t){if(a){let n={},r=Object.keys(e);for(let s=0;s<r.length;s++)try{let i=r[s],o=await u(t,i);await o.load(),await o.when(),n[i]={name:e[i].name,supportsUpdate:o.editingEnabled&&o.capabilities?.operations.supportsUpdate}}catch(i){console.log(i);continue}return n}else return e}async function g(a,e){let t=await u(a,e);return t?await a.whenLayerView(t):void 0}async function u(a,e){let t=[];return await a?.when(()=>{t=[...a.map.allLayers.toArray(),...a.map.allTables.toArray()].filter(n=>n.id===e)}),t.length>0?t[0]:void 0}async function I(a){let e=a.map.allLayers.filter(n=>n.type==="feature").toArray().map(n=>n),t=[];return await a.when(()=>{t=e.map(n=>a.whenLayerView(n))}),await Promise.allSettled(t),e}async function T(a){let e=a.map.allTables.toArray(),t=[];return await a.when(()=>{t=e.map(n=>n.load())}),await Promise.allSettled(t),e}async function O(a,e,t,n=!1,r=0){return n&&(await p(a,e,t,!1,void 0,r),await new Promise(s=>setTimeout(s,1e3))),e.highlight(a)}async function j(a){let e=y(a);return Object.keys(e).reduce((t,n)=>{let r=e[n];return t.push(r.layerView.highlight(r.ids)),t},[])}function y(a){return a.reduce((e,t)=>{let n=t.layerView,r=n?.layer.id;return r&&Object.keys(e).indexOf(r)>-1?e[r].ids=[...new Set([...t.selectedIds,...e[r].ids])]:r&&(e[r]={layerView:n,ids:t.selectedIds}),t.workflowType===l.REFINE&&Object.keys(t.refineInfos).forEach(s=>{let i=t.refineInfos[s];Object.keys(e).indexOf(s)>-1&&(e[s].ids=[...new Set([...i.addIds,...e[s].ids])],e[s].ids=e[s].ids.filter(o=>i.removeIds.indexOf(o)<0))}),e},{})}async function f(a,e,t){let n={objectIds:a};e.featureEffect={...t,filter:n},setTimeout(()=>{e.featureEffect=void 0},1300)}async function p(a,e,t,n=!0,r,s=0){let i=await c(a,e.layer),o={target:i.extent};i.count===1&&e.layer.geometryType==="point"&&s&&(o.scale=s),await t.goTo(o),n&&await f(a,e,r)}return{a:h,b:b,c:g,d:u,e:I,f:T,g:O,h:j,i:y,j:p}},a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import"./OO2K6ML3.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};
|
|
@@ -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 i from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import i from"./EOPKOB7A.js";import{a as P}from"./FIZK77FZ.js";import f from"./IOUZ6SKL.js";import"./7BSXMYD7.js";import"./YVJIKKIQ.js";import e from"./2SJGH3ZE.js";import c from"./6HC4XBCF.js";import b from"./ZTSCQVPZ.js";import a from"./GYSEKGDD.js";import"./FUIXWJXF.js";import"./NAZT4C7X.js";import"./6TIGJEJP.js";import"./C3ZFSINX.js";import"./FJ4ZJJBV.js";import"./OEQDJI5O.js";import"./4HUQLLWL.js";import"./P6D5NAEX.js";import"./OD2MBE4C.js";import"./5X2G66ZV.js";import"./M6IFD4XP.js";import"./6GTRIGM7.js";import"./A7W6W56Y.js";import"./2J7N4FLM.js";import"./PIDABDYO.js";import"./R4WKLS5M.js";import"./6AWWHMDI.js";import"./I6JPA7EV.js";import"./LPWFFVUM.js";import"./BRGCM3MJ.js";import"./ACFJNEWX.js";import{a as k}from"./AWNFA2WL.js";import"./HBL53EIK.js";import"./MJ46SY2X.js";import{b as $,c as x}from"./7BWUDCUX.js";import{D as d,E as p,F as v,H as h,h as m,i as n,l as g,p as y,q as S,s as w}from"./AR4FBBGU.js";import"./OO2K6ML3.js";export default $arcgis.t(([O,{a:L},,{b:l,d:c,e:r},{g:E,j:T},{a:C,d:I}])=>{var V=m`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import h from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import h from"./KZPJQW5L.js";import{a as M}from"./GP4NK2LH.js";import"./3ZZG5CLP.js";import e from"./2SJGH3ZE.js";import c from"./6HC4XBCF.js";import b from"./ZTSCQVPZ.js";import a from"./GYSEKGDD.js";import"./FUIXWJXF.js";import"./NAZT4C7X.js";import"./6TIGJEJP.js";import"./C3ZFSINX.js";import"./FJ4ZJJBV.js";import"./OEQDJI5O.js";import"./4HUQLLWL.js";import"./P6D5NAEX.js";import"./OD2MBE4C.js";import"./5X2G66ZV.js";import"./M6IFD4XP.js";import"./6GTRIGM7.js";import"./A7W6W56Y.js";import"./2J7N4FLM.js";import"./PIDABDYO.js";import"./R4WKLS5M.js";import"./6AWWHMDI.js";import"./I6JPA7EV.js";import"./LPWFFVUM.js";import"./BRGCM3MJ.js";import"./ACFJNEWX.js";import{a as $}from"./AWNFA2WL.js";import"./HBL53EIK.js";import"./MJ46SY2X.js";import{b as v}from"./7BWUDCUX.js";import{D as p,E as r,F as I,H as f,h as g,i as o,l as m,p as d,s as y}from"./AR4FBBGU.js";import"./OO2K6ML3.js";export default $arcgis.t(([x,O,P,,,{g:u},{c:L,j:w},{l:S}])=>{function k(l){return l?.indexOf("http://")!==-1}function b(l){return k(l)?l.replace(/^http:\/\//,"https://"):l}function T(l,e,i){return i&&i.forEach(a=>{l.allLayers.forEach(t=>{t&&t.url===a.sourceUrl&&(t.url=b(a.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=b(a.proxyUrl)}),e.request?.interceptors?.push({urls:a.sourceUrl,before:s=>{s.url&&s.url===a.sourceUrl&&(s.url=b(a.proxyUrl))}}))})}),l}var F=g`@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"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import"./OO2K6ML3.js";var t={type:"object",required:[],properties:{entityId:{type:"array",items:{type:"string"},maxItems:1},callToActionText:{type:"string"},callToActionAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonText:{type:"string",default:"Follow"},unfollowButtonText:{type:"string",default:"Unfollow"},buttonAlign:{enum:["start","center","end"],default:"center",type:"string"},buttonStyle:{type:"string",enum:["solid","outline-fill"],default:"solid"}}};export{t as FollowSchema};
|
|
@@ -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.49 */
|
|
4
|
+
import{a as n}from"./SZYAUZUD.js";import{a as s}from"./Y6KNBDLN.js";import"./5X2G66ZV.js";import"./M6IFD4XP.js";import"./6GTRIGM7.js";import"./A7W6W56Y.js";import{a as r,b as a}from"./CNRPRQCK.js";import"./6KJCH6PY.js";import"./2J7N4FLM.js";import"./PIDABDYO.js";import{a as o}from"./CJL6VRCK.js";import{a as i}from"./Z7RRGVMN.js";import"./R4WKLS5M.js";import"./6AWWHMDI.js";import"./I6JPA7EV.js";import"./LPWFFVUM.js";import"./BRGCM3MJ.js";import"./YFFUFGNY.js";import"./HFLLP7OX.js";import"./ACFJNEWX.js";import"./GYWDHJFB.js";import"./NCXK4XTL.js";import"./HN3MWE5J.js";import"./IMIKWV2W.js";import"./BWEJLLJR.js";import"./JN65LYW4.js";import"./3T4Z3CKA.js";import"./LG5WNMEW.js";import"./TI6RGJKU.js";import"./SHVEMFFG.js";import"./ORMGZDPH.js";import"./NNBHNLGJ.js";import"./F6RNGDLO.js";import"./XH5QU3Z7.js";import"./X2IDQE7B.js";import"./NQN7X65M.js";import"./OOYAMMT6.js";import"./FJ55WZQN.js";import"./JA2DK3HS.js";import"./QDJOHTQ2.js";import"./OO2K6ML3.js";var d=async(e,l,t)=>({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.siteEntityTitleValidatorError`}]}},{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,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{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 i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import i from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import i from"./AYRLHRKP.js";import"./HGRJJKS6.js";import f from"./KZPJQW5L.js";import e from"./6HC4XBCF.js";import c from"./ZTSCQVPZ.js";import a from"./GYSEKGDD.js";import{Wb as C,sa as S}from"./NAZT4C7X.js";import"./6TIGJEJP.js";import"./C3ZFSINX.js";import"./FJ4ZJJBV.js";import"./OEQDJI5O.js";import"./4HUQLLWL.js";import"./P6D5NAEX.js";import"./OD2MBE4C.js";import"./5X2G66ZV.js";import"./M6IFD4XP.js";import"./6GTRIGM7.js";import"./A7W6W56Y.js";import"./2J7N4FLM.js";import"./PIDABDYO.js";import"./R4WKLS5M.js";import"./6AWWHMDI.js";import"./I6JPA7EV.js";import"./LPWFFVUM.js";import"./BRGCM3MJ.js";import"./ACFJNEWX.js";import{a as $}from"./AWNFA2WL.js";import"./HBL53EIK.js";import"./MJ46SY2X.js";import{b}from"./7BWUDCUX.js";import{D as y,E as p,F as w,H as h,h as g,i as d,l as D,p as m}from"./AR4FBBGU.js";import"./OO2K6ML3.js";export default $arcgis.t(([{b:u,c:T,e:P},{a:v},,,{a:x}])=>{var N=g`/** @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"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import"./OO2K6ML3.js";var e="\u60A8\u6C92\u6709\u8DB3\u5920\u7684\u9EDE\u6578\u4F86\u57F7\u884C\u6B64\u64CD\u4F5C\u3002 \u806F\u7D61 ArcGIS \u7CFB\u7D71\u7BA1\u7406\u54E1\u4EE5\u53D6\u5F97\u5354\u52A9\u3002",a="\u6B64\u5DE5\u5177\u662F\u5F9E\u7B46\u8A18\u672C\u767C\u4F48\u7684\u3002 \u60A8\u7684\u7D44\u7E54\u5C0D ArcGIS Notebooks \u7684\u5B58\u53D6\u88AB\u5C01\u9396\u3002 \u8ACB\u806F\u7D61\u60A8\u7684\u7BA1\u7406\u54E1\u4EE5\u8ABF\u6574\u8A2D\u5B9A\u3002",r="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",t="${ dataPath } \u5FC5\u9808\u7B26\u5408\u4E0B\u5217\u5176\u4E2D\u4E00\u9805\u7D50\u69CB\u63CF\u8FF0: ${ schemaOptions }\u3002",o="\u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u5730\u5716\u3002",s="\u9EDE\u6578\u4F30\u8A08\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u4F30\u8A08\u9EDE\u6578\u3002",i="\u57F7\u884C\u5206\u6790\u6642\u767C\u751F\u932F\u8AA4\u3002",l="${ dataPath } \u5FC5\u9808\u7B49\u65BC\u4E0B\u5217\u5176\u4E2D\u4E00\u500B\u5141\u8A31\u503C: ${ allowedValues }\u3002",d="\u7121\u6CD5\u5132\u5B58\u5206\u6790\u6B77\u7A0B\u8A18\u9304",n="\u6B77\u7A0B\u8A18\u9304\u5132\u5B58\u9AD4\u6EFF\u6EA2\u3002 \u5F9E\u5206\u6790\u6B77\u53F2\u8A18\u9304\u4E2D\u79FB\u9664\u4E00\u4E9B\u9805\u76EE\u4E26\u5617\u8A66\u518D\u6B21\u5132\u5B58\u3002",c="\u670D\u52D9\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002",m="\u5C07\u81E8\u6642\u5716\u5C64\u5132\u5B58\u70BA\u8A17\u7BA1\u5716\u5FB5\u5716\u5C64\u672A\u5B8C\u6210\u3002",u="\u7121\u6CD5\u53D6\u5F97\u91D1\u9470\u5C6C\u6027\u3002",E="\u7121\u6CD5\u8F09\u5165\u5716\u5C64\u3002",h="\u5716\u5C64\u7121\u6CD5\u4F7F\u7528\u3002",y="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u591A\u65BC ${ limit } \u500B\u3002",P="\u5132\u5B58\u6A21\u578B\u6642\u767C\u751F\u932F\u8AA4\u3002 \u6B63\u5728\u5617\u8A66\u91CD\u65B0\u5132\u5B58\u3002",p="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u5C11\u65BC ${ limit } \u500B\u3002",S="${ dataPath } \u4E0D\u61C9\u77ED\u65BC ${ limit } \u500B\u5B57\u5143\u3002",$="\u7121\u6CD5\u8F09\u5165\u6A21\u578B\u9805\u76EE\u3002 \u78BA\u5B9A\u6A21\u578B\u5B58\u5728\uFF0C\u4E26\u4E14\u5DF2\u6388\u4E88\u5B58\u53D6\u6B0A\u9650\u3002",v="\u7121\u6CD5\u5B8C\u6210\u8ACB\u6C42\u3002",f="\u60A8\u6C92\u6709\u57F7\u884C\u6B64\u5DE5\u5177\u7684\u6B0A\u9650\u3002 <calcite-link target='_blank' href='${ docLink }'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A</calcite-link>",F="\u7121\u6CD5\u767B\u5165\u5230\u5165\u53E3\u7DB2\u7AD9\u3002",I="\u7121\u6CD5\u8B80\u53D6\u8F38\u5165\u8CC7\u6599\u3002",k="${ dataPath } \u7F3A\u5C11\u540D\u70BA ${ missingProperty } \u7684\u5C6C\u6027\u3002",T="\u5DF2\u5B58\u5728\u6B64\u540D\u7A31\u7684\u7D50\u679C\u5716\u5C64\u3002 \u7D50\u679C\u5716\u5C64\u5728\u6574\u500B\u7D44\u7E54\u4E2D\u5FC5\u9808\u6709\u552F\u4E00\u540D\u7A31\u3002 \u8ACB\u4F7F\u7528\u4E0D\u540C\u7684\u540D\u7A31\u3002",L="\u8F38\u51FA\u540D\u7A31\u5305\u542B\u4E00\u6216\u591A\u500B\u7121\u6548\u5B57\u5143\u3002 <a href='${docLink}' target='_blank'>\u77AD\u89E3\u8A73\u7D30\u8CC7\u8A0A\u3002</a>",b="\u7531\u65BC\u4E00\u6216\u591A\u500B\u7121\u6548\u6B04\u4F4D\uFF0C\u5C07\u81E8\u6642\u5716\u5C64\u767C\u4F48\u70BA\u8A17\u7BA1\u5716\u5C64\u5931\u6557\u3002 \u91CD\u65B0\u57F7\u884C\u5DE5\u5177\u4EE5\u5EFA\u7ACB\u5177\u5099\u6709\u6548\u6B04\u4F4D\u7684\u5716\u5C64\u3002",N="\u5DE5\u4F5C\u63D0\u4EA4\u5931\u6557\u3002 \u5411\u4E0B\u6372\u52D5\uFF0C\u4FEE\u6B63\u932F\u8AA4\uFF0C\u4E26\u91CD\u65B0\u57F7\u884C\u5206\u6790\u3002",g="${ dataPath } \u81F3\u5C11\u5FC5\u9808\u6709\u4E00\u500B\u975E\u7A7A\u767D\u5B57\u5143\u3002",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import f from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import f from"./2SJGH3ZE.js";import e from"./6HC4XBCF.js";import d from"./ZTSCQVPZ.js";import a from"./GYSEKGDD.js";import"./FUIXWJXF.js";import"./NAZT4C7X.js";import"./6TIGJEJP.js";import"./C3ZFSINX.js";import"./FJ4ZJJBV.js";import"./OEQDJI5O.js";import"./4HUQLLWL.js";import"./P6D5NAEX.js";import"./OD2MBE4C.js";import"./5X2G66ZV.js";import"./M6IFD4XP.js";import"./6GTRIGM7.js";import"./A7W6W56Y.js";import"./2J7N4FLM.js";import"./PIDABDYO.js";import"./R4WKLS5M.js";import"./6AWWHMDI.js";import"./I6JPA7EV.js";import"./LPWFFVUM.js";import"./BRGCM3MJ.js";import"./ACFJNEWX.js";import{a as V}from"./AWNFA2WL.js";import"./HBL53EIK.js";import"./MJ46SY2X.js";import{b}from"./7BWUDCUX.js";import{D as p,E as m,F as v,H as u,h as y,i as c,p as h,s as M}from"./AR4FBBGU.js";import"./OO2K6ML3.js";export default $arcgis.t(([C,E,k,A,F,x,T,I,l,,,,{d:w,e:L}])=>{var P=y`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import{a as r}from"./WMX2TACG.js";import{b as o}from"./7BWUDCUX.js";import{F as n,J as e,h as i,i as s}from"./AR4FBBGU.js";import"./OO2K6ML3.js";var a=i`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as b}from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import{a as b}from"./AWNFA2WL.js";import"./HBL53EIK.js";import"./MJ46SY2X.js";import{b as m}from"./7BWUDCUX.js";import{D as a,E as n,F as f,H as g,I as t,J as c,h as v,i as e,j as h}from"./AR4FBBGU.js";import"./OO2K6ML3.js";export default $arcgis.t(([x,k])=>{var $=v`/** @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{l as r,v as s,w as i,z as o}from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import{l as r,v as s,w as i,z as o}from"./AR4FBBGU.js";var u=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,m]){return e!==this.key&&(o(t),this.key=e),m}});export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{e,f as t}from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import{e,f as t}from"./QDJOHTQ2.js";import"./OO2K6ML3.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import"./OO2K6ML3.js";var e="Nincs elegend\u0151 kreditje a m\u0171velet elv\xE9gz\xE9s\xE9hez. Seg\xEDts\xE9g\xE9rt forduljon az ArcGIS rendszergazd\xE1j\xE1hoz.",a="Ez az eszk\xF6z egy jegyzetf\xFCzetb\u0151l lett k\xF6zz\xE9t\xE9ve. AzArcGIS Notebooks-hoz val\xF3 hozz\xE1f\xE9r\xE9s blokkolva van a szervezet sz\xE1m\xE1ra. A be\xE1ll\xEDt\xE1s m\xF3dos\xEDt\xE1s\xE1hoz vegye fel a kapcsolatot a rendszergazd\xE1val.",t="${ dataPath } nem rendelkezhet ezzel: ${ additionalProperty }.",r="A(z) ${ dataPath } \xE9rt\xE9k\xE9nek egyeznie kell a k\xF6vetkez\u0151k egyik\xE9nek s\xE9m\xE1j\xE1val: ${ schemaOptions }.",l="Pr\xF3b\xE1lkozzon \xFAjra a t\xE9rk\xE9p ment\xE9s\xE9vel.",s="A kreditbecsl\xE9s nem siker\xFClt. G\xF6rgessen le, jav\xEDtsa ki a hib\xE1kat, majd v\xE9gezze el ism\xE9t a kreditbecsl\xE9st.",o="Hiba t\xF6rt\xE9nt az elemz\xE9s futtat\xE1sa k\xF6zben.",n="${ dataPath } \xE9rt\xE9k\xE9nek egyeznie kell a k\xF6vetkez\u0151 megengedett \xE9rt\xE9kek egyik\xE9vel: ${ allowedValues }.",i="Az elemz\xE9sel\u0151zm\xE9nyek ment\xE9se nem siker\xFClt.",k="Az el\u0151zm\xE9nyt\xE1rhely megtelt. T\xE1vol\xEDtson el n\xE9h\xE1ny elemet az elemz\xE9sel\u0151zm\xE9nyekb\u0151l, \xE9s pr\xF3b\xE1lkozzon \xFAjb\xF3l a ment\xE9ssel.",z="A szolg\xE1ltat\xE1s neve egy vagy t\xF6bb \xE9rv\xE9nytelen karaktert tartalmaz.",m="Az ideiglenes r\xE9teg t\xE1rolt vektoros r\xE9tegk\xE9nt t\xF6rt\xE9n\u0151 ment\xE9se nem fejez\u0151d\xF6tt be.",d="Nem siker\xFClt beolvasni a kulcs tulajdons\xE1gait.",g="Nem siker\xFClt bet\xF6lteni a r\xE9teget.",v="A r\xE9teg nem \xE9rhet\u0151 el.",y="A(z) ${ dataPath } elemeinek sz\xE1ma legfeljebb ${ limit } lehet.",b="Hiba t\xF6rt\xE9nt a modell ment\xE9se k\xF6zben. Pr\xF3b\xE1lkozzon \xFAjra a ment\xE9ssel.",c="A(z) ${ dataPath } elemeinek sz\xE1ma legal\xE1bb ${ limit } kell legyen.",h="A(z) ${ dataPath } hossza legal\xE1bb ${ limit } karakter kell legyen.",u="Nem siker\xFClt bet\xF6lteni a modellelemet. Gy\u0151z\u0151dj\xF6n meg arr\xF3l, hogy a modell l\xE9tezik, \xE9s hogy a hozz\xE1f\xE9r\xE9si enged\xE9lyt megadt\xE1k.",f="A k\xE9r\xE9s v\xE9grehajt\xE1sa nem siker\xFClt.",E="Nincs jogosults\xE1ga az eszk\xF6z futtat\xE1s\xE1hoz. <calcite-link target='_blank' href='${ docLink }'>Tov\xE1bbi inform\xE1ci\xF3</calcite-link>",p="Nem siker\xFClt bejelentkezni a port\xE1lra.",P="Nem siker\xFClt beolvasni a bemeneti adatokat.",j="A(z) ${ dataPath } eset\xE9ben hi\xE1nyzik a(z) ${ missingProperty } nev\u0171 tulajdons\xE1g.",A="Ilyen nev\u0171 eredm\xE9nyr\xE9teg m\xE1r l\xE9tezik. Az eredm\xE9nyr\xE9tegeknek egyedieknek kell lenni\xFCk az eg\xE9sz szervezetben. Haszn\xE1ljon m\xE1sik nevet.",S="A kimenet neve egy vagy t\xF6bb \xE9rv\xE9nytelen karaktert tartalmaz. <a href='${docLink}' target='_blank'>Tov\xE1bbi inform\xE1ci\xF3.</a>",$="Az ideiglenes r\xE9teg hosztolt r\xE9tegk\xE9nt val\xF3 k\xF6zz\xE9t\xE9tele egy vagy t\xF6bb \xE9rv\xE9nytelen mez\u0151 miatt sikertelen volt. Ind\xEDtsa \xFAjra az eszk\xF6zt az \xE9rv\xE9nyes mez\u0151kkel rendelkez\u0151 r\xE9teg l\xE9trehoz\xE1s\xE1hoz.",I="A feladat bek\xFCld\xE9se nem siker\xFClt. G\xF6rgessen le, jav\xEDtsa ki a hib\xE1kat, majd futtassa \xFAjra az elemz\xE9st.",N="A k\xF6vetkez\u0151nek legal\xE1bb egy nem-whitespace karaktert kell tartalmaznia: ${ dataPath }",T={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:t,anyOfValues:r,cannotWriteToItemResource:l,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:i,fullSessionStorage:k,hostedFeatureServiceInvalidTitle:z,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:d,layerLoadFailure:g,layerUnavailable:v,maxItems:y,mbFailedToSave:b,minItems:c,minLength:h,modelNotFound:u,networkError:f,noPermissionToAccessTool:E,portalLoadError:p,queryFeaturesError:P,requiredProperty:j,serviceNameExistsError:A,specialCharactersInServiceNameError:S,temporaryLayerFieldsError:$,toolValidationError:I,whiteSpacePattern:N};export{e as InsufficientCreditsError,a as accessBlocked,t as additionalProperty,r as anyOfValues,l as cannotWriteToItemResource,s as creditEstimationError,T as default,o as defaultError,n as enumValues,i as failedToSaveHistory,k as fullSessionStorage,z as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,d as keyPropertiesError,g as layerLoadFailure,v as layerUnavailable,y as maxItems,b as mbFailedToSave,c as minItems,h as minLength,u as modelNotFound,f as networkError,E as noPermissionToAccessTool,p as portalLoadError,P as queryFeaturesError,j as requiredProperty,A as serviceNameExistsError,S as specialCharactersInServiceNameError,$ as temporaryLayerFieldsError,I as toolValidationError,N as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as h}from"./WPV5R6HB.js";import{b as m}from"./MLLBBRDS.js";import{a as U}from"./XXYGIRAL.js";import{b as t,d as l,e as d}from"./G5H2NCV4.js";import{a as N}from"./5BMLQGWU.js";import{c as A}from"./6OGSMRDD.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as e};
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import{a as h}from"./J6PNDZKV.js";import{b as m}from"./Z3V4ZDY7.js";import{a as U}from"./2KA7JHX2.js";import{b as t,d as l,e as d}from"./MDESNWHU.js";import{a as N}from"./OBPPPOO7.js";import{c as A}from"./ACFJNEWX.js";function w(n){return n.httpMethod="POST",m("/channels",n)}function $(n){return n.httpMethod="GET",m(`/channels/${n.channelId}`,n)}function B(n){return n.httpMethod="PATCH",m(`/channels/${n.channelId}`,n)}function H(n){return n.httpMethod="DELETE",m(`/channels/${n.channelId}`,n)}function T(n){return n.role==="org_admin"}function C(n={},e){return n.orgId===e}function f(n,e){return T(n)&&C(n,e)}function u(n={},e){var r;return!!(!((r=n.privileges)===null||r===void 0)&&r.includes(e))}function p(n={},e){return e.every(r=>u(n,r))}function y(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:updateItems"])}function D(n={},e){return f(n,e)||C(n,e)&&p(n,["portal:admin:viewItems","portal:admin:deleteItems"])}function M(n){let{channelAclDefinition:e}=n,r=U(n,["channelAclDefinition"]);return Object.assign(Object.assign({},r),{channelAcl:e})}var o;(function(n){n.READ_POSTS="readPosts",n.WRITE_POSTS="writePosts",n.MODERATE_CHANNEL="moderateChannel",n.DELETE_CHANNEL="deleteChannel",n.IS_MODERATOR="isModerator",n.IS_MANAGER="isManager",n.IS_OWNER="isOwner"})(o||(o={}));var E={UPDATE_OWNERS:[t.OWNER],UPDATE_MANAGERS:[t.OWNER,t.MANAGE],UPDATE_MODERATORS:[t.OWNER,t.MANAGE],UPDATE_ORGS:[t.OWNER,t.MANAGE],UPDATE_GROUPS:[t.OWNER,t.MANAGE],UPDATE_USERS:[t.OWNER,t.MANAGE],UPDATE_AUTHENTICATED_USERS:[t.OWNER,t.MANAGE],UPDATE_ANONYMOUS_USERS:[t.OWNER,t.MANAGE],UPDATE_POST_REPLIES:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_POST_AS_ANONYMOUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_ALLOWED_REACTIONS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_DEFAULT_POST_STATUS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_BLOCKED_WORDS:[t.OWNER,t.MANAGE,t.MODERATE],UPDATE_CHANNEL_NAME:[t.OWNER,t.MANAGE],UPDATE_SOFT_DELETE_SETTING:[t.OWNER,t.MANAGE]},R=class{constructor(e){if(this.ALLOWED_GROUP_MEMBER_TYPES=["owner","admin","member"],e.channelAcl===void 0)throw new Error("channel.channelAcl is required for ChannelPermission checks");this.existingChannel=e,this.isChannelAclEmpty=e.channelAcl.length===0,this.permissionsByCategory={},e.channelAcl.forEach(r=>{var i;let{category:s}=r;!((i=this.permissionsByCategory[s])===null||i===void 0)&&i.push(r)||(this.permissionsByCategory[s]=[r])})}canPostToChannel(e){return this.canAnyUser(o.WRITE_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.WRITE_POSTS)||this.canSomeUser(o.WRITE_POSTS,e)||this.canSomeUserGroup(o.WRITE_POSTS,e)||this.canSomeUserOrg(o.WRITE_POSTS,e)}canCreateChannel(e){return this.isUserUnAuthenticated(e)||this.isChannelAclEmpty?!1:this.userCanAddAnonymousToAcl(e)&&this.userCanAddUnauthenticatedToAcl(e)&&this.userCanAddAllGroupsToAcl(e)&&this.userCanAddAllOrgsToAcl(e)&&this.userCanAddUsersToAcl(e)}canModerateChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.MODERATE_CHANNEL,e)||this.canSomeUserGroup(o.MODERATE_CHANNEL,e)||this.canSomeUserOrg(o.MODERATE_CHANNEL,e)}canReadChannel(e){return this.canAnyUser(o.READ_POSTS)?!0:this.isUserUnAuthenticated(e)?!1:this.canAnyAuthenticatedUser(o.READ_POSTS)||this.canSomeUser(o.READ_POSTS,e)||this.canSomeUserGroup(o.READ_POSTS,e)||this.canSomeUserOrg(o.READ_POSTS,e)}canDeleteChannel(e){return this.isUserUnAuthenticated(e)?!1:this.canSomeUser(o.DELETE_CHANNEL,e)||this.canSomeUserGroup(o.DELETE_CHANNEL,e)||this.canSomeUserOrg(o.DELETE_CHANNEL,e)}canUpdateProperties(e,r={}){if(Object.keys(r).length===0)return!0;let i=this.determineUserRole(e),s=M(r);return!(this.isChanged(s.allowReply,this.existingChannel.allowReply)&&!E.UPDATE_POST_REPLIES.includes(i)||this.isChanged(s.allowReaction,this.existingChannel.allowReaction)&&!E.UPDATE_POST_REACTIONS.includes(i)||this.isChanged(s.allowAsAnonymous,this.existingChannel.allowAsAnonymous)&&!E.UPDATE_POST_AS_ANONYMOUS.includes(i)||this.isStringArrayChanged(s.allowedReactions,this.existingChannel.allowedReactions)&&!E.UPDATE_ALLOWED_REACTIONS.includes(i)||this.isChanged(s.defaultPostStatus,this.existingChannel.defaultPostStatus)&&!E.UPDATE_DEFAULT_POST_STATUS.includes(i)||this.isStringArrayChanged(s.blockWords,this.existingChannel.blockWords)&&!E.UPDATE_BLOCKED_WORDS.includes(i)||this.isChanged(s.name,this.existingChannel.name)&&!E.UPDATE_CHANNEL_NAME.includes(i)||this.isChanged(s.softDelete,this.existingChannel.softDelete)&&!E.UPDATE_SOFT_DELETE_SETTING.includes(i)||this.isRoleChanged(t.OWNER,s.channelAcl)&&!E.UPDATE_OWNERS.includes(i)||this.isRoleChanged(t.MANAGE,s.channelAcl)&&!E.UPDATE_MANAGERS.includes(i)||this.isRoleChanged(t.MODERATE,s.channelAcl)&&!E.UPDATE_MODERATORS.includes(i)||this.isCategoryChanged(l.ORG,s.channelAcl)&&!E.UPDATE_ORGS.includes(i)||this.isCategoryChanged(l.GROUP,s.channelAcl)&&!E.UPDATE_GROUPS.includes(i)||this.isCategoryChanged(l.USER,s.channelAcl)&&!E.UPDATE_USERS.includes(i)||this.isCategoryChanged(l.AUTHENTICATED_USER,s.channelAcl)&&!E.UPDATE_AUTHENTICATED_USERS.includes(i)||this.isCategoryChanged(l.ANONYMOUS_USER,s.channelAcl)&&!E.UPDATE_ANONYMOUS_USERS.includes(i))}isChanged(e,r){return e!==void 0&&e!==r}isStringArrayChanged(e,r){let i=e??[],s=r??[];return i.filter(a=>!s.includes(a)).length!==0||s.filter(a=>!i.includes(a)).length!==0}isRoleChanged(e,r){if(!r)return!1;let i=this.existingChannel.channelAcl.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`),s=r.filter(a=>a.role===e).map(a=>`${a.category}_${a.subCategory}_${a.key}_${e}`);return this.isStringArrayChanged(i,s)}isCategoryChanged(e,r){var i;if(!r)return!1;let s=((i=this.permissionsByCategory[e])!==null&&i!==void 0?i:[]).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`),a=r.filter(c=>c.category===e).map(c=>`${e}_${c.subCategory}_${c.key}_${c.role}`);return this.isStringArrayChanged(s,a)}canAnyUser(e){var r;let i=(r=this.permissionsByCategory[l.ANONYMOUS_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canAnyAuthenticatedUser(e){var r;let i=(r=this.permissionsByCategory[l.AUTHENTICATED_USER])===null||r===void 0?void 0:r[0].role;return S(e).includes(i)}canSomeUser(e,r){var i;let s=(i=this.permissionsByCategory[l.USER])!==null&&i!==void 0?i:[],a=r.username;return s.some(c=>{let{role:O,key:G}=c;return G===a&&S(e).includes(O)})}canSomeUserGroup(e,r){var i;let s=(i=this.permissionsByCategory[l.GROUP])!==null&&i!==void 0?i:[],a=this.mapUserGroupsById(r.groups);return s.some(c=>{let O=a[c.key];if(e===o.READ_POSTS){if(!O)return!1}else if(!O||!P(O))return!1;return x(c,O)&&S(e).includes(c.role)})}canSomeUserOrg(e,r){var i;return((i=this.permissionsByCategory[l.ORG])!==null&&i!==void 0?i:[]).some(a=>a.key!==r.orgId?!1:W(a,r)&&S(e).includes(a.role))}userCanAddAnonymousToAcl(e){return this.permissionsByCategory[l.ANONYMOUS_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddUnauthenticatedToAcl(e){return this.permissionsByCategory[l.AUTHENTICATED_USER]?T(e)||u(e,"portal:admin:shareToPublic")||u(e,"portal:user:shareToPublic"):!0}userCanAddAllGroupsToAcl(e){let r=this.permissionsByCategory[l.GROUP],i=this.mapUserGroupsById(e.groups);return r?r.every(s=>{let a=i[s.key];return a&&this.isMemberTypeAuthorized(a)&&P(a)}):!0}userCanAddAllOrgsToAcl(e){let r=this.permissionsByCategory[l.ORG];return r?(T(e)||u(e,"portal:admin:shareToOrg")||u(e,"portal:user:shareToOrg"))&&this.isEveryPermissionForUserOrg(e.orgId,r):!0}isEveryPermissionForUserOrg(e,r){return r.every(i=>{let{key:s}=i;return e===s})}userCanAddUsersToAcl(e){return!this.permissionsByCategory[l.USER]}isUserUnAuthenticated(e){return e.username===null||e.username===void 0}mapUserGroupsById(e){return e.reduce((r,i)=>(r[i.id]=i,r),{})}isMemberTypeAuthorized(e){let{userMembership:{memberType:r}}=e;return this.ALLOWED_GROUP_MEMBER_TYPES.includes(r)}determineUserRole(e){return this.isOwner(e)?t.OWNER:this.isManager(e)?t.MANAGE:this.isModerator(e)?t.MODERATE:t.READ}isOwner(e){return this.canSomeUser(o.IS_OWNER,e)||this.canSomeUserGroup(o.IS_OWNER,e)||this.canSomeUserOrg(o.IS_OWNER,e)}isManager(e){return this.canSomeUser(o.IS_MANAGER,e)||this.canSomeUserGroup(o.IS_MANAGER,e)||this.canSomeUserOrg(o.IS_MANAGER,e)}isModerator(e){return this.canSomeUser(o.IS_MODERATOR,e)||this.canSomeUserGroup(o.IS_MODERATOR,e)||this.canSomeUserOrg(o.IS_MODERATOR,e)}};function P(n){let{typeKeywords:e=[]}=n;return!e.includes(N)}function x(n,e){return n.category!==l.GROUP||e.userMembership.memberType==="none"?!1:e.userMembership.memberType==="owner"||e.userMembership.memberType==="admin"||n.subCategory===d.MEMBER}function W(n,e){return n.category===l.ORG&&(n.subCategory===d.MEMBER||n.subCategory===d.ADMIN&&T(e))}function S(n){return n===o.WRITE_POSTS?[t.WRITE,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]:n===o.MODERATE_CHANNEL?[t.MODERATE,t.MANAGE,t.OWNER]:n===o.DELETE_CHANNEL?[t.OWNER]:n===o.IS_MODERATOR?[t.MODERATE]:n===o.IS_MANAGER?[t.MANAGE]:n===o.IS_OWNER?[t.OWNER]:[t.READ,t.READWRITE,t.MODERATE,t.MANAGE,t.OWNER]}function g(n,e={}){return D(e,n.orgId)?!0:new R(n).canDeleteChannel(e)}function _(n,e={},r){if(y(e,n.orgId))return!0;let i=new R(n);return i.canModerateChannel(e)&&i.canUpdateProperties(e,r)}var v={[t.READ]:A.channelRead,[t.WRITE]:A.channelWrite,[t.READWRITE]:A.channelReadWrite,[t.MODERATE]:A.channelModerate,[t.MANAGE]:A.channelManage,[t.OWNER]:A.channelOwner},I=n=>{let e=v[n.role],r;return n.category===l.ANONYMOUS_USER?r=h.anonymous:n.category===l.AUTHENTICATED_USER?r=h.authenticated:n.category===l.GROUP?r=n.subCategory===d.ADMIN?h.groupAdmin:h.group:n.category===l.ORG?r=n.subCategory===d.ADMIN?h.orgAdmin:h.org:r=h.user,{permission:e,collaborationId:n.key||null,collaborationType:r,id:n.id||null}};function de(n,e){return{access:n.access,id:n.id,name:n.name,createdDate:new Date(n.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(n.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:n.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:n.blockWords,permissions:n.channelAcl.map(r=>I(r)),allowAsAnonymous:n.allowAsAnonymous,canEdit:_(n,e,n),canDelete:g(n,e),orgId:n.orgId,owner:n.creator,channel:n,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}export{w as a,$ as b,B as c,H as d,de as 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{b as e}from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import{b as e}from"./LG5WNMEW.js";import{a as r}from"./TI6RGJKU.js";import{a as t}from"./QDJOHTQ2.js";var o=["hub:event:create","hub:event:edit","hub:event:registrants"],m=()=>{let{startDate:a}=e();return{$async:!0,required:["name","startDate","endDate"],properties:{name:t,startDate:{type:"string",format:"date",formatMinimum:a},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1}},allOf:[r]}};export{o as a,m 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}from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import{a}from"./AWNFA2WL.js";import"./HBL53EIK.js";import"./MJ46SY2X.js";import{b as n}from"./7BWUDCUX.js";import{F as l,h as i,i as s,p as t}from"./AR4FBBGU.js";import"./OO2K6ML3.js";var r=i`/** @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 from"./KRIK76S5.js";import a from"./BGW3FMGO.js";export default $arcgis.t(([I,q,V,v,{a:A,b:R}])=>{function K(e,n){return s=>{let t=s?.layer?.type;if(t==="feature"||t==="group"){let a=D(n,s).then(i=>i);a&&e.push(a);let l=i=>{let o=D(n,i).then(r=>r);o&&e.push(o)};s.children.forEach(i=>{l(i),i?.children?.length>0&&i.children.forEach(o=>{l(o),o?.children?.length>0&&o.children.forEach(r=>{l(r)})})})}}}async function D(e,n){try{let s=n?.layer?.type==="group",t=n?.layer?.layers?.some(f=>f.visible),a=n?.layer?.layers?.every(f=>!f?.legendEnabled);await I.whenOnce(()=>e?.state==="ready"),!s||s&&t?s&&a?await I.whenOnce(()=>n?.layer?.loaded):await I.whenOnce(()=>n?.ready):await I.whenOnce(()=>n?.legendElements);let l=n?.legendElements?.[0],i=new Map,o=n.layer,r=await e?.view?.whenLayerView(o),u=o.renderer?.field??"";l!==void 0&&l?.infos?.forEach(f=>{if(f.type==="symbol-table"){let d=[];f.infos.forEach(y=>{let h={count:null,selected:!1,legendElementInfo:y};d.push(h)});let p={count:null,selected:!1,legendElementInfo:f,nestedInfos:d};i.set(f.title,p)}else{let d={count:null,selected:!1,legendElementInfo:f};i.set(f.label??o.id,d)}});let c=[];return r?Promise.resolve({activeLayerInfo:n,title:r.layer.title,categories:i,field:u,queryExpressions:c,totalCount:null,fLayerView:r,legendElement:l}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function ne(e){let n={},s=[];e.activeLayerInfos.forEach(K(s,e));try{return(await Promise.all(s)).forEach(t=>{let a=t?.activeLayerInfo?.layer?.id;n[a]=t}),Promise.resolve(n)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function re(e){return Array.from(e,n=>n[1])}function te(e,n,s,t,a){if(t)return t?.nestedInfos?.[a];let l="label"in s&&s?.label?s?.label:n?.id;return e?.categories?.get(l)}function le(e){return A?.data?.[e?.id]}async function se(e,n,s,t,a){let{queryExpressions:l,fLayerView:i}=e;M(e,n,s,a);let o=l.every(f=>f&&f.includes("<>"))?" AND ":" OR ",r=l.join(o),u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null,{type:c}=t;if(c==="filter")i.filter=new V({where:r,timeExtent:u});else if(t.effect){let{includedEffect:f,excludedEffect:d}=t.effect,p=await v(d,i,"excludedEffect"),y=await v(f,i,"includedEffect");i.featureEffect=new q({filter:new V({where:r,timeExtent:u}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function P(e,n){let s=n?n?.layer?.renderer?.authoringInfo:null,t=s?s.fields:null,a=[];if(!t)return"";if(Object.hasOwn(e,"value"))return t.forEach(l=>{if(e.value===l)return;let i=`(${e.value} > ${l} OR (${l} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;a.push(i)}),a.join(" AND ");{let l=[];t.forEach(o=>{l.push(`${o} = 0`)});let i=[];if(t.length>2){t.forEach(r=>{t.forEach(u=>{if(r===u)return;let c=[];t.forEach(f=>{r===f||u===f||c.push(`${r} = ${u} AND (${r} > ${f} OR ${r} >= ${f})`)}),i.push(`(${c.join(" AND ")})`)})});let o=[];return t.forEach(r=>{o.push(`${r} IS NULL`)}),`(${l.join(" AND ")}) OR (${i.join(" OR ")}) OR (${o.join(" AND ")})`}else{let o=[];t.forEach(u=>{t.forEach(c=>{u!==c&&(o.push(`${u} = ${c}`),o.push(`(${l.join(" AND ")})`))})});let r=[];return t.forEach(u=>{t.forEach(c=>{u!==c&&r.push(`(${u} = 0 AND ${c} IS NULL) OR (${u} IS NULL AND ${c} IS NULL)`)})}),`(${o.join(" OR ")}) OR (${r.join(" OR ")})`}}}function M(e,n,s,t){let{field:a,legendElement:l,categories:i,fLayerView:o}=e,r=e?.queryExpressions;t&&Array.from(e.categories).map(h=>h[1]).forEach(h=>{h.nestedInfos?.every(E=>!E.selected)&&h.nestedInfos?.forEach(E=>{let $=a?`${a} = '${E.legendElementInfo.value}'`:null,m=$?r.indexOf($):-1;$&&m!==-1&&r.splice(m,1)})});let u=l?.infos,c=x(o),f=c?P(n,o):b(n,a,s,l,u??[],""),d=i?t?i.get(t.title)?.nestedInfos?.[s]:i.get(n.label??o?.layer?.id):null;d&&(d.selected=!d?.selected);let p=u&&u.length===1,y=r.indexOf(f);if(c){let h=r.indexOf(f);r.length===0||h===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]?r[0]="1=0":r&&r.length===1||r.length===1&&f!==r[0]&&r[0]==="1=0"?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"?r[0]=null:r.splice(h,1),r.join(" OR ")}else r.length===0||y===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]&&!p?r[0]="1=0":r&&r.length===1&&!p||r.length===1&&f!==r[0]&&r[0]==="1=0"&&!p?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"&&!p?r[0]=null:r.splice(y,1);if(t){let h=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{a&&`${a} = '${$.legendElementInfo.value}'`&&h.push(`${a} = '${$.legendElementInfo.value}'`)})}),h.forEach(E=>{r.includes(E)||r.push(E)})}}function b(e,n,s,t,a,l){let{value:i}=e;if(t?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&a?.length===1){if(Object.hasOwn(a?.[0],"value")&&Array.isArray(a?.[0].value)&&Object.hasOwn(a?.[a.length-2],"value")&&Array.isArray(a?.[a.length-2].value))return l?`((${n}/${l}) > ${a?.[0].value[1]}) OR ((${n}/${l}) < ${a?.[a.length-2].value[0]}) OR ${l} = 0 OR ${l} IS NULL`:`${n} > ${a?.[0].value[1]} OR ${n} < ${a?.[a.length-2].value[0]} OR ${n} IS NULL`;if(a?.length===1)return"1=0";{let o=[];a?.forEach(u=>{if(u?.value){let{value:c}=u,f=c.indexOf("'")!==-1?c.split("'").join("''"):null,d=f?`${n} <> '${f}'`:isNaN(c)||typeof c=="string"&&!c.trim()?`${n} <> '${c}'`:`${n} <> ${c} AND ${n} <> '${c}'`;o.push(d)}});let r=o.join(" AND ");return n&&r?`${r} OR ${n} IS NULL`:""}}else{let o=i.indexOf("'")!==-1?i.split("'").join("''"):null,r=Array.isArray(e.value),u=a&&a.length-1===s,c=!Object.hasOwn(a?.[a.length-1],"value"),f=a&&a.length-2===s;return r?l?u||c&&f?`(${n}/${l}) >= ${i[0]} AND (${n}/${l}) <= ${e.value[1]}`:`(${n}/${l}) > ${i[0]} AND (${n}/${l}) <= ${e.value[1]}`:u||c&&f?`${n} >= ${i[0]} AND ${n} <= ${i[1]}`:`${n} > ${i[0]} AND ${n} <= ${i[1]}`:a?.length===1&&n?isNaN(i)||!i.trim().length?`${n} <> '${i}'`:`${n} <> ${i} OR ${n} <> '${i}'`:o?`${n} = '${o}'`:isNaN(i)||!i.trim().length?`${n} = '${i}'`:`${n} = ${i} OR ${n} = '${i}'`}else return""}function ae(e){return Array.isArray(e)?e.every(n=>!n.selected):e&&Array.from(e.categories.entries()).every(n=>!n[1].selected)&&e.queryExpressions[0]!=="1=0"}function x(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function ie(e){return e?.legendElements[1]?.type==="relationship-ramp"}function oe(e,n,s){let t=e.layer?.renderer?.field,a=n?.type,l=e?.layerView,i=l?.layer?.renderer?.classBreakInfos,o=l?.layer?.renderer?.uniqueValueInfos&&t,r=a==="size-ramp",u=a==="color-ramp",c=a==="opacity-ramp",f=a==="heatmap-ramp",d=l&&i&&i.length>1,p=l?.layer?.renderer?.authoringInfo?.type,y=p==="class-breaks-color",h=p==="class-breaks-size",E=n?.infos?.length===1&&!t,$=p==="relationship"&&n?.type!=="size-ramp"&&n?.type!=="symbol-table",m=e?.layer?.type==="feature",g=m&&t&&!u&&!r&&d,L=!!(m&&t&&!u&&!r&&!d),O=!!(L||x(l)&&!r||y&&t||h&&t||E&&!t&&t!==null||$||o),z=e?.layer?.featureReduction&&e?.legendElements?.[s]?.type==="size-ramp",j=n?.type==="symbol-table"&&n?.infos?.length===1,C=!e?.legendElements.every(w=>w.type!=="color-ramp"),F=!e?.legendElements.every(w=>w.type!=="size-ramp"),T=j&&C,Q=j&&F,B=n?.infos?.every(w=>typeof w.value=="number"),G=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=p==="dot-density",J=S(e?.layer,t);return m&&!z&&!c&&!f&&!T&&!Q&&!B&&!G&&!H&&J?i?g||O:L||O:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(n=>{n.selected=!1}),e}function ce(e,n){e.categories.get(n)?.nestedInfos?.forEach(l=>{let i=`${e.field} = '${l.legendElementInfo.value}'`,o=e.queryExpressions.indexOf(i);o!==-1&&e.queryExpressions.splice(o,1),l.selected=!1});let s=[],t=Array.from(e.categories).map(l=>l[1]);t.forEach(l=>{l.nestedInfos?.every(i=>!i.selected)&&l.nestedInfos?.forEach(i=>{s.push(`${e.field} = '${i.legendElementInfo.value}'`)})}),s.forEach(l=>{e.queryExpressions.includes(l)||e.queryExpressions.push(l)});let a=e.queryExpressions.join(" OR ");return t.every(l=>l.nestedInfos?.every(i=>!i.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=a),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=a)),e}async function ue(e,n,s){let t=e.fLayerView.createQuery();if(s)if(s.nestedInfos.every(a=>!a.selected)){let a=s.nestedInfos.map(l=>`${e.field} = '${l.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=s.nestedInfos.filter(l=>l.selected).map(l=>`${e.field} = '${l.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=e.queryExpressions.join(" OR ");t.where=a}try{let{extent:a}=await e.fLayerView.layer.queryExtent(t);await n.goTo(a)}catch{}}function de(e){return e.map(n=>n?.count).reduce((n,s)=>n+s)}function ye(e){return e.map(n=>n?.nestedInfos?.map(s=>s.count).reduce((s,t)=>s+t)).reduce((n,s)=>n+s)}async function N(e,n,s,t,a,l,i,o){if(!n||!S(n?.layer,s))return;let r=n?.layer?.type==="feature"?n.createQuery():null,u=x(n)?P(t,n):t.type?b(i,s,o,t,t.infos):b(t,s,a,l,l.infos);r&&u&&(r.where=u==="1=0"?"1=1":u,e&&(r.geometry=e));try{let c=r?await n.queryFeatureCount(r):null;return Promise.resolve({[t.label??n?.layer?.id]:c})}catch(c){console.error("FAILURE AT 'getInfoCount': ",c)}return await Promise.resolve(null)}async function he(e,n){let s={...n},{activeLayerInfos:t}=e,a=e?.view?.extent,l={},i={};t.forEach(async o=>{let r=o.legendElements[0],u=o.layer,c=n[o?.layer?.id]?.fLayerView,f=u.renderer?.field,d=[];i[o.layer.id]=[],r?.infos?.forEach((y,h)=>{if(r.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach(($,m)=>{let g=N(a,c,f,y,h,r,$,m);E.push(g)}),i[o.layer.id].push(E)}else d.push(N(a,c,f,y,h,r)),i[o.layer.id]=d});let p=y=>{let h=[],E=y.legendElements[0],$=y.layer,m=n[y?.layer?.id]?.fLayerView,g=$.renderer?.field;E?.infos?.forEach((L,O)=>h.push(N(a,m,g,L,O,E))),i[y.layer.id]=h};o.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(h=>{p(h),h?.children?.length>0&&h.children.forEach(E=>{p(E)})})})});for(let o in i){let r=l[o];r||(r=l[o]={});let u=await Promise.all(i[o]);if(u.every(c=>Array.isArray(c))){let c=await Promise.all(u.map(async f=>(await Promise.all(f)).map(d=>d&&Object.values(d)[0])));r[o]=c,l[o]={...r[o]}}else{let c={};u.forEach(f=>{if(!f)return;let d=Object.keys(f)[0];c[d]=f[d]}),o&&(r[o]=c),l[o]={...r[o]}}}return t.forEach(o=>{let r=n[o.layer.id],u=o.layer.id;r?.categories?.forEach((f,d)=>{let p=Array.from(r?.categories).findIndex(y=>y[0]===d);if(f?.nestedInfos)f?.nestedInfos.forEach((y,h)=>{let E=l?.[o?.layer?.id]?.[p]?.[h];y.count=isNaN(E)?null:E});else{let y=l?.[u]?.[d];f.count=isNaN(y)?null:y}});let c=f=>{let d=f.layer.id;n[d]?.categories?.forEach((p,y)=>{let h=l?.[d]?.[y];p.count=h})};o?.children?.forEach(f=>{c(f),f?.children?.length>0&&f.children.forEach(d=>{c(d),d?.children?.length>0&&d.children.forEach(p=>{c(p)})})})}),await Promise.resolve(s)}function Ee(e,n){return e?.nestedInfos?.[n]}function pe(e){return Array.from(e).map(n=>n[1]).every(n=>!!n?.nestedInfos)}function $e(e){return!!e?.legendElements?.[0]?.infos?.every?.(n=>n?.type==="symbol-table")}function me(e,n){if(typeof n?.title=="string")return e?.categories?.get(n?.title)}function ge(e){let n="calcite-mode-",s=`${n}light`,t=`${n}dark`;return e.classList.contains(t)?t:s}function we(e){if(e.layerId&&e.intLegendLayerData){let n=e.layerId,s=e.intLegendLayerData,t={...A.data,[n]:s};R.set("data",t)}}function ve(e,n){let{type:s}=e;s==="filter"?W(n):s==="effect"&&X(e,n)}function W(e){e?.allLayerViews?.filter(n=>n?.layer?.type==="feature")?.forEach(n=>{let s=n,t=U(s);s.filter=t,s.set("featureEffect",null)})}function X(e,n){n?.allLayerViews?.filter(s=>s?.layer?.type==="feature").forEach(async s=>{let t=s;if(e?.effect&&t){let{includedEffect:a,excludedEffect:l}=e.effect,i=await v(l,t,"excludedEffect"),o=await v(a,t,"includedEffect"),r=U(t);t.featureEffect=new q({filter:r,includedEffect:o,excludedEffect:i}),t.set("filter",null)}})}function U(e){return e?.filter||e?.featureEffect?.filter}function S(e,n){let s=e?.fields,t=s&&s.map(a=>a.name);return n?t&&t.includes(n):!0}function Ie(e){let n=[];return e.forEach(s=>k(s,n)),n}function k(e,n){n.push(e),e.children&&e.children.length>0&&e.children.forEach(s=>{k(s,n)})}return{a:D,b:ne,c:re,d:te,e:le,f:se,g:ae,h:ie,i:oe,j:fe,k:ce,l:ue,m:de,n:ye,o:he,p:Ee,q:pe,r:$e,s:me,t:ge,u:we,v:ve,w:Ie}},"core/reactiveUtils","layers/support/FeatureEffect","layers/support/FeatureFilter",a,b)
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import b from"./JSAGZ3HJ.js";import a from"./AV34WWPY.js";export default $arcgis.t(([I,q,V,v,{a:A,b:R}])=>{function K(e,n){return s=>{let t=s?.layer?.type;if(t==="feature"||t==="group"){let a=D(n,s).then(i=>i);a&&e.push(a);let l=i=>{let o=D(n,i).then(r=>r);o&&e.push(o)};s.children.forEach(i=>{l(i),i?.children?.length>0&&i.children.forEach(o=>{l(o),o?.children?.length>0&&o.children.forEach(r=>{l(r)})})})}}}async function D(e,n){try{let s=n?.layer?.type==="group",t=n?.layer?.layers?.some(f=>f.visible),a=n?.layer?.layers?.every(f=>!f?.legendEnabled);await I.whenOnce(()=>e?.state==="ready"),!s||s&&t?s&&a?await I.whenOnce(()=>n?.layer?.loaded):await I.whenOnce(()=>n?.ready):await I.whenOnce(()=>n?.legendElements);let l=n?.legendElements?.[0],i=new Map,o=n.layer,r=await e?.view?.whenLayerView(o),u=o.renderer?.field??"";l!==void 0&&l?.infos?.forEach(f=>{if(f.type==="symbol-table"){let d=[];f.infos.forEach(y=>{let h={count:null,selected:!1,legendElementInfo:y};d.push(h)});let p={count:null,selected:!1,legendElementInfo:f,nestedInfos:d};i.set(f.title,p)}else{let d={count:null,selected:!1,legendElementInfo:f};i.set(f.label??o.id,d)}});let c=[];return r?Promise.resolve({activeLayerInfo:n,title:r.layer.title,categories:i,field:u,queryExpressions:c,totalCount:null,fLayerView:r,legendElement:l}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}async function ne(e){let n={},s=[];e.activeLayerInfos.forEach(K(s,e));try{return(await Promise.all(s)).forEach(t=>{let a=t?.activeLayerInfo?.layer?.id;n[a]=t}),Promise.resolve(n)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function re(e){return Array.from(e,n=>n[1])}function te(e,n,s,t,a){if(t)return t?.nestedInfos?.[a];let l="label"in s&&s?.label?s?.label:n?.id;return e?.categories?.get(l)}function le(e){return A?.data?.[e?.id]}async function se(e,n,s,t,a){let{queryExpressions:l,fLayerView:i}=e;M(e,n,s,a);let o=l.every(f=>f&&f.includes("<>"))?" AND ":" OR ",r=l.join(o),u=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null,{type:c}=t;if(c==="filter")i.filter=new V({where:r,timeExtent:u});else if(t.effect){let{includedEffect:f,excludedEffect:d}=t.effect,p=await v(d,i,"excludedEffect"),y=await v(f,i,"includedEffect");i.featureEffect=new q({filter:new V({where:r,timeExtent:u}),includedEffect:y,excludedEffect:p})}return await Promise.resolve()}function P(e,n){let s=n?n?.layer?.renderer?.authoringInfo:null,t=s?s.fields:null,a=[];if(!t)return"";if(Object.hasOwn(e,"value"))return t.forEach(l=>{if(e.value===l)return;let i=`(${e.value} > ${l} OR (${l} IS NULL AND ${e.value} IS NOT NULL AND (${e.value} > 0 OR ${e.value} < 0)))`;a.push(i)}),a.join(" AND ");{let l=[];t.forEach(o=>{l.push(`${o} = 0`)});let i=[];if(t.length>2){t.forEach(r=>{t.forEach(u=>{if(r===u)return;let c=[];t.forEach(f=>{r===f||u===f||c.push(`${r} = ${u} AND (${r} > ${f} OR ${r} >= ${f})`)}),i.push(`(${c.join(" AND ")})`)})});let o=[];return t.forEach(r=>{o.push(`${r} IS NULL`)}),`(${l.join(" AND ")}) OR (${i.join(" OR ")}) OR (${o.join(" AND ")})`}else{let o=[];t.forEach(u=>{t.forEach(c=>{u!==c&&(o.push(`${u} = ${c}`),o.push(`(${l.join(" AND ")})`))})});let r=[];return t.forEach(u=>{t.forEach(c=>{u!==c&&r.push(`(${u} = 0 AND ${c} IS NULL) OR (${u} IS NULL AND ${c} IS NULL)`)})}),`(${o.join(" OR ")}) OR (${r.join(" OR ")})`}}}function M(e,n,s,t){let{field:a,legendElement:l,categories:i,fLayerView:o}=e,r=e?.queryExpressions;t&&Array.from(e.categories).map(h=>h[1]).forEach(h=>{h.nestedInfos?.every(E=>!E.selected)&&h.nestedInfos?.forEach(E=>{let $=a?`${a} = '${E.legendElementInfo.value}'`:null,m=$?r.indexOf($):-1;$&&m!==-1&&r.splice(m,1)})});let u=l?.infos,c=x(o),f=c?P(n,o):b(n,a,s,l,u??[],""),d=i?t?i.get(t.title)?.nestedInfos?.[s]:i.get(n.label??o?.layer?.id):null;d&&(d.selected=!d?.selected);let p=u&&u.length===1,y=r.indexOf(f);if(c){let h=r.indexOf(f);r.length===0||h===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]?r[0]="1=0":r&&r.length===1||r.length===1&&f!==r[0]&&r[0]==="1=0"?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"?r[0]=null:r.splice(h,1),r.join(" OR ")}else r.length===0||y===-1?(r&&r[0]==="1=0"&&r.splice(0,1),r.push(f)):r&&r.length===1&&f===r[0]&&!p?r[0]="1=0":r&&r.length===1&&!p||r.length===1&&f!==r[0]&&r[0]==="1=0"&&!p?r[0]=f:r.length===1&&f===r[0]&&r[0]==="1=0"&&!p?r[0]=null:r.splice(y,1);if(t){let h=[];Array.from(e.categories).map(E=>E[1]).forEach(E=>{E.nestedInfos?.every($=>!$.selected)&&E.nestedInfos?.forEach($=>{a&&`${a} = '${$.legendElementInfo.value}'`&&h.push(`${a} = '${$.legendElementInfo.value}'`)})}),h.forEach(E=>{r.includes(E)||r.push(E)})}}function b(e,n,s,t,a,l){let{value:i}=e;if(t?.type==="symbol-table")if(!Object.hasOwn(e,"value")||Array.isArray(e.value)&&a?.length===1){if(Object.hasOwn(a?.[0],"value")&&Array.isArray(a?.[0].value)&&Object.hasOwn(a?.[a.length-2],"value")&&Array.isArray(a?.[a.length-2].value))return l?`((${n}/${l}) > ${a?.[0].value[1]}) OR ((${n}/${l}) < ${a?.[a.length-2].value[0]}) OR ${l} = 0 OR ${l} IS NULL`:`${n} > ${a?.[0].value[1]} OR ${n} < ${a?.[a.length-2].value[0]} OR ${n} IS NULL`;if(a?.length===1)return"1=0";{let o=[];a?.forEach(u=>{if(u?.value){let{value:c}=u,f=c.indexOf("'")!==-1?c.split("'").join("''"):null,d=f?`${n} <> '${f}'`:isNaN(c)||typeof c=="string"&&!c.trim()?`${n} <> '${c}'`:`${n} <> ${c} AND ${n} <> '${c}'`;o.push(d)}});let r=o.join(" AND ");return n&&r?`${r} OR ${n} IS NULL`:""}}else{let o=i.indexOf("'")!==-1?i.split("'").join("''"):null,r=Array.isArray(e.value),u=a&&a.length-1===s,c=!Object.hasOwn(a?.[a.length-1],"value"),f=a&&a.length-2===s;return r?l?u||c&&f?`(${n}/${l}) >= ${i[0]} AND (${n}/${l}) <= ${e.value[1]}`:`(${n}/${l}) > ${i[0]} AND (${n}/${l}) <= ${e.value[1]}`:u||c&&f?`${n} >= ${i[0]} AND ${n} <= ${i[1]}`:`${n} > ${i[0]} AND ${n} <= ${i[1]}`:a?.length===1&&n?isNaN(i)||!i.trim().length?`${n} <> '${i}'`:`${n} <> ${i} OR ${n} <> '${i}'`:o?`${n} = '${o}'`:isNaN(i)||!i.trim().length?`${n} = '${i}'`:`${n} = ${i} OR ${n} = '${i}'`}else return""}function ae(e){return Array.isArray(e)?e.every(n=>!n.selected):e&&Array.from(e.categories.entries()).every(n=>!n[1].selected)&&e.queryExpressions[0]!=="1=0"}function x(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function ie(e){return e?.legendElements[1]?.type==="relationship-ramp"}function oe(e,n,s){let t=e.layer?.renderer?.field,a=n?.type,l=e?.layerView,i=l?.layer?.renderer?.classBreakInfos,o=l?.layer?.renderer?.uniqueValueInfos&&t,r=a==="size-ramp",u=a==="color-ramp",c=a==="opacity-ramp",f=a==="heatmap-ramp",d=l&&i&&i.length>1,p=l?.layer?.renderer?.authoringInfo?.type,y=p==="class-breaks-color",h=p==="class-breaks-size",E=n?.infos?.length===1&&!t,$=p==="relationship"&&n?.type!=="size-ramp"&&n?.type!=="symbol-table",m=e?.layer?.type==="feature",g=m&&t&&!u&&!r&&d,L=!!(m&&t&&!u&&!r&&!d),O=!!(L||x(l)&&!r||y&&t||h&&t||E&&!t&&t!==null||$||o),z=e?.layer?.featureReduction&&e?.legendElements?.[s]?.type==="size-ramp",j=n?.type==="symbol-table"&&n?.infos?.length===1,C=!e?.legendElements.every(w=>w.type!=="color-ramp"),F=!e?.legendElements.every(w=>w.type!=="size-ramp"),T=j&&C,Q=j&&F,B=n?.infos?.every(w=>typeof w.value=="number"),G=e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp",H=p==="dot-density",J=S(e?.layer,t);return m&&!z&&!c&&!f&&!T&&!Q&&!B&&!G&&!H&&J?i?g||O:L||O:!1}function fe(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(n=>{n.selected=!1}),e}function ce(e,n){e.categories.get(n)?.nestedInfos?.forEach(l=>{let i=`${e.field} = '${l.legendElementInfo.value}'`,o=e.queryExpressions.indexOf(i);o!==-1&&e.queryExpressions.splice(o,1),l.selected=!1});let s=[],t=Array.from(e.categories).map(l=>l[1]);t.forEach(l=>{l.nestedInfos?.every(i=>!i.selected)&&l.nestedInfos?.forEach(i=>{s.push(`${e.field} = '${i.legendElementInfo.value}'`)})}),s.forEach(l=>{e.queryExpressions.includes(l)||e.queryExpressions.push(l)});let a=e.queryExpressions.join(" OR ");return t.every(l=>l.nestedInfos?.every(i=>!i.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=a),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=a)),e}async function ue(e,n,s){let t=e.fLayerView.createQuery();if(s)if(s.nestedInfos.every(a=>!a.selected)){let a=s.nestedInfos.map(l=>`${e.field} = '${l.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=s.nestedInfos.filter(l=>l.selected).map(l=>`${e.field} = '${l.legendElementInfo.value}'`).join(" OR ");t.where=a}else{let a=e.queryExpressions.join(" OR ");t.where=a}try{let{extent:a}=await e.fLayerView.layer.queryExtent(t);await n.goTo(a)}catch{}}function de(e){return e.map(n=>n?.count).reduce((n,s)=>n+s)}function ye(e){return e.map(n=>n?.nestedInfos?.map(s=>s.count).reduce((s,t)=>s+t)).reduce((n,s)=>n+s)}async function N(e,n,s,t,a,l,i,o){if(!n||!S(n?.layer,s))return;let r=n?.layer?.type==="feature"?n.createQuery():null,u=x(n)?P(t,n):t.type?b(i,s,o,t,t.infos):b(t,s,a,l,l.infos);r&&u&&(r.where=u==="1=0"?"1=1":u,e&&(r.geometry=e));try{let c=r?await n.queryFeatureCount(r):null;return Promise.resolve({[t.label??n?.layer?.id]:c})}catch(c){console.error("FAILURE AT 'getInfoCount': ",c)}return await Promise.resolve(null)}async function he(e,n){let s={...n},{activeLayerInfos:t}=e,a=e?.view?.extent,l={},i={};t.forEach(async o=>{let r=o.legendElements[0],u=o.layer,c=n[o?.layer?.id]?.fLayerView,f=u.renderer?.field,d=[];i[o.layer.id]=[],r?.infos?.forEach((y,h)=>{if(r.infos?.every(E=>E.type==="symbol-table")){let E=[];y.infos.forEach(($,m)=>{let g=N(a,c,f,y,h,r,$,m);E.push(g)}),i[o.layer.id].push(E)}else d.push(N(a,c,f,y,h,r)),i[o.layer.id]=d});let p=y=>{let h=[],E=y.legendElements[0],$=y.layer,m=n[y?.layer?.id]?.fLayerView,g=$.renderer?.field;E?.infos?.forEach((L,O)=>h.push(N(a,m,g,L,O,E))),i[y.layer.id]=h};o.children.forEach(async y=>{p(y),y?.children?.length>0&&y.children.forEach(h=>{p(h),h?.children?.length>0&&h.children.forEach(E=>{p(E)})})})});for(let o in i){let r=l[o];r||(r=l[o]={});let u=await Promise.all(i[o]);if(u.every(c=>Array.isArray(c))){let c=await Promise.all(u.map(async f=>(await Promise.all(f)).map(d=>d&&Object.values(d)[0])));r[o]=c,l[o]={...r[o]}}else{let c={};u.forEach(f=>{if(!f)return;let d=Object.keys(f)[0];c[d]=f[d]}),o&&(r[o]=c),l[o]={...r[o]}}}return t.forEach(o=>{let r=n[o.layer.id],u=o.layer.id;r?.categories?.forEach((f,d)=>{let p=Array.from(r?.categories).findIndex(y=>y[0]===d);if(f?.nestedInfos)f?.nestedInfos.forEach((y,h)=>{let E=l?.[o?.layer?.id]?.[p]?.[h];y.count=isNaN(E)?null:E});else{let y=l?.[u]?.[d];f.count=isNaN(y)?null:y}});let c=f=>{let d=f.layer.id;n[d]?.categories?.forEach((p,y)=>{let h=l?.[d]?.[y];p.count=h})};o?.children?.forEach(f=>{c(f),f?.children?.length>0&&f.children.forEach(d=>{c(d),d?.children?.length>0&&d.children.forEach(p=>{c(p)})})})}),await Promise.resolve(s)}function Ee(e,n){return e?.nestedInfos?.[n]}function pe(e){return Array.from(e).map(n=>n[1]).every(n=>!!n?.nestedInfos)}function $e(e){return!!e?.legendElements?.[0]?.infos?.every?.(n=>n?.type==="symbol-table")}function me(e,n){if(typeof n?.title=="string")return e?.categories?.get(n?.title)}function ge(e){let n="calcite-mode-",s=`${n}light`,t=`${n}dark`;return e.classList.contains(t)?t:s}function we(e){if(e.layerId&&e.intLegendLayerData){let n=e.layerId,s=e.intLegendLayerData,t={...A.data,[n]:s};R.set("data",t)}}function ve(e,n){let{type:s}=e;s==="filter"?W(n):s==="effect"&&X(e,n)}function W(e){e?.allLayerViews?.filter(n=>n?.layer?.type==="feature")?.forEach(n=>{let s=n,t=U(s);s.filter=t,s.set("featureEffect",null)})}function X(e,n){n?.allLayerViews?.filter(s=>s?.layer?.type==="feature").forEach(async s=>{let t=s;if(e?.effect&&t){let{includedEffect:a,excludedEffect:l}=e.effect,i=await v(l,t,"excludedEffect"),o=await v(a,t,"includedEffect"),r=U(t);t.featureEffect=new q({filter:r,includedEffect:o,excludedEffect:i}),t.set("filter",null)}})}function U(e){return e?.filter||e?.featureEffect?.filter}function S(e,n){let s=e?.fields,t=s&&s.map(a=>a.name);return n?t&&t.includes(n):!0}function Ie(e){let n=[];return e.forEach(s=>k(s,n)),n}function k(e,n){n.push(e),e.children&&e.children.length>0&&e.children.forEach(s=>{k(s,n)})}return{a:D,b:ne,c:re,d:te,e:le,f:se,g:ae,h:ie,i:oe,j:fe,k:ce,l:ue,m:de,n:ye,o:he,p:Ee,q:pe,r:$e,s:me,t:ge,u:we,v:ve,w:Ie}},"core/reactiveUtils","layers/support/FeatureEffect","layers/support/FeatureFilter",a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{G as s}from"./
|
|
3
|
+
v1.2.0-next.49 */
|
|
4
|
+
import{G as s}from"./AR4FBBGU.js";var t=s({defaultAssetPath:"https://jsdev.arcgis.com/next/instant-apps-components/",hydratedAttribute:"hydrated"}),{customElement:n,getAssetPath:i,setAssetPath:d}=t;t.t=void 0;t.o=void 0;t.c=void 0;t.r=void 0;export{t as a,n as b,i as c};
|