@esri/solutions-components 5.0.4 → 5.1.0-next.11
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/{BKFF52SE.js → 26K4UTAF.js} +2 -2
- package/dist/cdn/{BDHWPAV7.js → 2B76QZR7.js} +1 -1
- package/dist/cdn/{AZLBLZFA.js → 2BJD5X34.js} +2 -2
- package/dist/cdn/{7HNG37OT.js → 2BTU374O.js} +2 -2
- package/dist/cdn/{25XM6BTJ.js → 2CFQ6EQE.js} +2 -2
- package/dist/cdn/{24S5LVU5.js → 2D6XDWYA.js} +1 -1
- package/dist/cdn/{ZCYLNZXT.js → 2H3VIDNQ.js} +2 -2
- package/dist/cdn/2L7O5T7N.js +2 -0
- package/dist/cdn/{3JKE3JHG.js → 2RBKFT3Q.js} +2 -2
- package/dist/cdn/{ZHXH4C3E.js → 2TR3Y7HD.js} +2 -2
- package/dist/cdn/{BE7WFZ3U.js → 2W6HTIBW.js} +2 -2
- package/dist/cdn/{ZB4IUY3Y.js → 32EJUXLB.js} +2 -2
- package/dist/cdn/{ALST4M6H.js → 35HRMJUI.js} +2 -2
- package/dist/cdn/{GPP5RTWG.js → 36HEIJAI.js} +2 -2
- package/dist/cdn/3AQ7U2PF.js +2 -0
- package/dist/cdn/{I6WL7LDB.js → 3BWIMFV4.js} +2 -2
- package/dist/cdn/{GIR2TCZX.js → 3E6HSVYO.js} +2 -2
- package/dist/cdn/{TKZAMPEI.js → 3FMOO3PJ.js} +2 -2
- package/dist/cdn/{7JPODSG7.js → 3HALRHHO.js} +2 -2
- package/dist/cdn/{CARAKOX7.js → 3I5UIOSI.js} +2 -2
- package/dist/cdn/{7FMLZNDR.js → 3IHLJADI.js} +2 -2
- package/dist/cdn/3JF5JLS4.js +2 -0
- package/dist/cdn/{77NDVP55.js → 3KGOZXJN.js} +1 -1
- package/dist/cdn/{Z6G5PBUQ.js → 3KXMYZCU.js} +1 -1
- package/dist/cdn/3OQ24P5P.js +2 -0
- package/dist/cdn/{4WT6JN3M.js → 3P3PF3BO.js} +2 -2
- package/dist/cdn/3PT5ULE3.js +2 -0
- package/dist/cdn/3SRDS4KQ.js +2 -0
- package/dist/cdn/{IE2UXHBC.js → 3T3GPK27.js} +2 -2
- package/dist/cdn/3TYPFWRB.js +2 -0
- package/dist/cdn/{IXWRLPCY.js → 3XVYTVMS.js} +2 -2
- package/dist/cdn/42736UND.js +2 -0
- package/dist/cdn/43LVFNMF.js +2 -0
- package/dist/cdn/{TYX345MZ.js → 45M33Q5G.js} +1 -1
- package/dist/cdn/45ZS4SG7.js +2 -0
- package/dist/cdn/{MPJ5N4H3.js → 4FBEUQIB.js} +4 -4
- package/dist/cdn/4HFHJOS3.js +2 -0
- package/dist/cdn/{LXECWNUK.js → 4HGP3Y4K.js} +2 -2
- package/dist/cdn/{SIUGRN4Q.js → 4JXVKICV.js} +2 -2
- package/dist/cdn/{Q5LUK5CM.js → 4NMQFFJ5.js} +2 -2
- package/dist/cdn/{SFG2REQW.js → 4UBLWDFJ.js} +2 -2
- package/dist/cdn/{G2FGKUNI.js → 4VFE4GPI.js} +7 -7
- package/dist/cdn/{HHZZ77DA.js → 5326HZ74.js} +2 -2
- package/dist/cdn/{L26O3GTC.js → 57JYZYF5.js} +2 -2
- package/dist/cdn/{VWYHHUNT.js → 5EBHORLK.js} +2 -2
- package/dist/cdn/{EAV7DUA3.js → 5KD4GK7Y.js} +2 -2
- package/dist/cdn/{ZEIK7CNV.js → 5QCBD6ZZ.js} +2 -2
- package/dist/cdn/{RKYWXTWC.js → 5S3WZLB5.js} +2 -2
- package/dist/cdn/{EFSJWL7S.js → 5UQRM2YJ.js} +2 -2
- package/dist/cdn/{GUBQMCIJ.js → 5ZVSYUD7.js} +2 -2
- package/dist/cdn/67NTSS6S.js +2 -0
- package/dist/cdn/{SSUMO4HY.js → 6AFP7DRB.js} +1 -1
- package/dist/cdn/{ALLEVCNE.js → 6XELM7OM.js} +2 -2
- package/dist/cdn/{2IHQU2FX.js → 73AX72WY.js} +2 -2
- package/dist/cdn/73O55ZBJ.js +2 -0
- package/dist/cdn/{2GLDLUFW.js → 743J5TBS.js} +2 -2
- package/dist/cdn/{EOQK7DI3.js → 7CXQ3R3O.js} +2 -2
- package/dist/cdn/{F7KJCNKP.js → 7DVOR4SY.js} +2 -2
- package/dist/cdn/{NXSDX5AO.js → 7GNDNQTX.js} +2 -2
- package/dist/cdn/{AW26PIUT.js → 7GPGKDLH.js} +2 -2
- package/dist/cdn/{M2WIDRQF.js → 7JEVFHRJ.js} +2 -2
- package/dist/cdn/{PMVR62GY.js → 7KEONOFN.js} +2 -2
- package/dist/cdn/7SIPKCWY.js +2 -0
- package/dist/cdn/{FG5PNP6V.js → 7Y32UJS4.js} +2 -2
- package/dist/cdn/{36QZL2SP.js → 7YIQXDUF.js} +2 -2
- package/dist/cdn/{XRDO4BZF.js → A3BERGNY.js} +1 -1
- package/dist/cdn/{4T7P5RXF.js → AA7X6GKH.js} +2 -2
- package/dist/cdn/{K6PYLL2U.js → ABTC2V7J.js} +2 -2
- package/dist/cdn/{R3FWVDEQ.js → ADR7DVCB.js} +2 -2
- package/dist/cdn/{VGDY2UVX.js → AI3I2TOG.js} +2 -2
- package/dist/cdn/{EB2LK6CL.js → AJY7XD7A.js} +2 -2
- package/dist/cdn/{UV3U3JVV.js → AKDP6MCB.js} +2 -2
- package/dist/cdn/{A2E5XWW7.js → AM5URNYD.js} +2 -2
- package/dist/cdn/{SBNXRFNA.js → ANX2J4ID.js} +2 -2
- package/dist/cdn/{VXYVQILF.js → AVNCYWKK.js} +2 -2
- package/dist/cdn/{LL5C4DHP.js → B3R52L7H.js} +2 -2
- package/dist/cdn/{2ZUQERRA.js → B44OQSYO.js} +2 -2
- package/dist/cdn/{CJ6YLPLY.js → B6IICRWD.js} +2 -2
- package/dist/cdn/B7J5RZIJ.js +2 -0
- package/dist/cdn/BDXIKPLU.js +2 -0
- package/dist/cdn/{UB33RJV2.js → BEGKM3ZM.js} +2 -2
- package/dist/cdn/BFXJESYN.js +2 -0
- package/dist/cdn/{5LVXNG25.js → BIRAQCVT.js} +2 -2
- package/dist/cdn/{NGBSDZLF.js → BJ6JU4AF.js} +2 -2
- package/dist/cdn/{X5H73PHG.js → BJMJWUHS.js} +2 -2
- package/dist/cdn/{M5DPXDBG.js → BJMKDP4O.js} +2 -2
- package/dist/cdn/BM666UZR.js +2 -0
- package/dist/cdn/{F5JVSWT6.js → BMJN3MIR.js} +2 -2
- package/dist/cdn/{I5ELWFZQ.js → BPAYAR53.js} +2 -2
- package/dist/cdn/BPOWO72Z.js +2 -0
- package/dist/cdn/{P6EFQ7D3.js → BPVYL3DJ.js} +2 -2
- package/dist/cdn/{BEBRRD25.js → C75PU7NQ.js} +2 -2
- package/dist/cdn/CEKMYC3I.js +2 -0
- package/dist/cdn/{KDIUYXBA.js → CEP54NLT.js} +2 -2
- package/dist/cdn/CEZMBNEQ.js +2 -0
- package/dist/cdn/CF35YGUK.js +2 -0
- package/dist/cdn/{2U5KW3B4.js → CI7CDZL3.js} +2 -2
- package/dist/cdn/{HKW5AVF7.js → CPMMNWOL.js} +2 -2
- package/dist/cdn/{HX6GS6CN.js → CSW2JRVE.js} +2 -2
- package/dist/cdn/CZJPS7CF.js +2 -0
- package/dist/cdn/{BJQOXAOG.js → CZKXDUOH.js} +2 -2
- package/dist/cdn/{XYWNICC6.js → D3WYLHYH.js} +2 -2
- package/dist/cdn/{MIVLE4LM.js → DBHZRNFR.js} +2 -2
- package/dist/cdn/{J27ONLZA.js → DIDOZ4J6.js} +2 -2
- package/dist/cdn/{36I27Q5R.js → DIKAKOU5.js} +2 -2
- package/dist/cdn/{3G4RHRXD.js → DKB6JTUF.js} +2 -2
- package/dist/cdn/{OEJAW72H.js → DKD2EGQP.js} +1 -1
- package/dist/cdn/{PZ4L77M5.js → DLBZRD4H.js} +2 -2
- package/dist/cdn/{3UVV2MNJ.js → DQ4POWIJ.js} +2 -2
- package/dist/cdn/DWAYOC2L.js +2 -0
- package/dist/cdn/DZB3263I.js +2 -0
- package/dist/cdn/{PEHE5MUC.js → E7HQ4JJ2.js} +2 -2
- package/dist/cdn/{6Z3UOQ5W.js → E7W2OZL3.js} +2 -2
- package/dist/cdn/ELD2UQO4.js +2 -0
- package/dist/cdn/{TWDX3YCN.js → EWCIPKTH.js} +4 -4
- package/dist/cdn/{6F4IEBM2.js → EXMZUQW5.js} +2 -2
- package/dist/cdn/EYBEUSBG.js +2 -0
- package/dist/cdn/{NSWVC2JI.js → EYXOOK3V.js} +2 -2
- package/dist/cdn/{5IWB7DXV.js → F346YHSU.js} +2 -2
- package/dist/cdn/{Q6BBU3QG.js → F372CSCW.js} +2 -2
- package/dist/cdn/{6ICBHPK3.js → FDO2JBGW.js} +2 -2
- package/dist/cdn/{5UWT66A7.js → FES7B3SJ.js} +1 -1
- package/dist/cdn/FGS4PYIE.js +2 -0
- package/dist/cdn/FJAJKPL6.js +2 -0
- package/dist/cdn/{TUP3HPO4.js → FKCIW6NV.js} +1 -1
- package/dist/cdn/{TSKD22JZ.js → FTMEQQF5.js} +2 -2
- package/dist/cdn/{XJPOVJV7.js → G2ME4BAQ.js} +2 -2
- package/dist/cdn/{DNV5POS3.js → G7XCRE3X.js} +2 -2
- package/dist/cdn/{HWF26RTC.js → GEKZO6V7.js} +2 -2
- package/dist/cdn/{CKHU23WZ.js → GTDHYS64.js} +3 -3
- package/dist/cdn/{FA2N7NJ3.js → GYPII3T6.js} +2 -2
- package/dist/cdn/{EABNUBBA.js → H3LJVYII.js} +2 -2
- package/dist/cdn/{OLYK2OEO.js → HBJZGW4L.js} +2 -2
- package/dist/cdn/{6MZ227J7.js → HBPD3T7H.js} +2 -2
- package/dist/cdn/{JE7L7M3J.js → HBQN25RR.js} +2 -2
- package/dist/cdn/HDRMSU3L.js +2 -0
- package/dist/cdn/{UVKZG44C.js → HJ4N3RZN.js} +2 -2
- package/dist/cdn/{ATL4ZT4D.js → HMB3LHBC.js} +2 -2
- package/dist/cdn/{WN6TFOUO.js → HPQPI754.js} +2 -2
- package/dist/cdn/{N5EFFELR.js → HUF4HX5R.js} +2 -2
- package/dist/cdn/{TOZPZ6OI.js → HYB5LBMY.js} +2 -2
- package/dist/cdn/HZ6P3WVH.js +2 -0
- package/dist/cdn/{OL43C4CR.js → I3D5WRYZ.js} +2 -2
- package/dist/cdn/{BEXT4QVO.js → I4PUORX4.js} +2 -2
- package/dist/cdn/{JAWSHLB7.js → IO5DIUTT.js} +2 -2
- package/dist/cdn/ITRKZRX7.js +2 -0
- package/dist/cdn/{TTKCR26F.js → J33ST6ZG.js} +2 -2
- package/dist/cdn/{H4AJJYCF.js → J5VTBFGR.js} +2 -2
- package/dist/cdn/JALU4653.js +2 -0
- package/dist/cdn/{LNLMLBWQ.js → JBGQX4DF.js} +2 -2
- package/dist/cdn/{JUYO2EM6.js → JDVVMD4S.js} +2 -2
- package/dist/cdn/JE4LGN6P.js +2 -0
- package/dist/cdn/JGU6J5IA.js +2 -0
- package/dist/cdn/{NRATHJBP.js → JK75TUSP.js} +2 -2
- package/dist/cdn/JLQYLRUP.js +2 -0
- package/dist/cdn/{YPV5332T.js → JLYGSQEC.js} +2 -2
- package/dist/cdn/{ANDQB6ZP.js → JMU5KKZH.js} +2 -2
- package/dist/cdn/{CGLFPVBM.js → JUUVYK2H.js} +1 -1
- package/dist/cdn/{WMVQZ4HU.js → JUXXPW6I.js} +2 -2
- package/dist/cdn/{575KOORD.js → JYLXH6OM.js} +2 -2
- package/dist/cdn/{NOJRPDSW.js → JYM2MD3W.js} +2 -2
- package/dist/cdn/K344PR7N.js +2 -0
- package/dist/cdn/{D6DFW6PG.js → K5ZIHTQC.js} +2 -2
- package/dist/cdn/{DTPCOAOD.js → KD46EE7M.js} +2 -2
- package/dist/cdn/{SR2ITR24.js → KDE2RXEH.js} +2 -2
- package/dist/cdn/{P5ERFKR2.js → KGUELU4O.js} +1 -1
- package/dist/cdn/KHHT54BU.js +2 -0
- package/dist/cdn/KNSFKF4Q.js +2 -0
- package/dist/cdn/{3HUY3T5F.js → KOIDWEP3.js} +1 -1
- package/dist/cdn/{FLZ7YBCU.js → KPBEUIQV.js} +2 -2
- package/dist/cdn/{FBTE4S2U.js → KSXW3QKP.js} +2 -2
- package/dist/cdn/{JK6XUSIM.js → KU62OLRE.js} +2 -2
- package/dist/cdn/{JOQDD4HN.js → KV4JOMXV.js} +2 -2
- package/dist/cdn/{CPLUG3BV.js → KWCJDOZU.js} +2 -2
- package/dist/cdn/{3JPTG46S.js → KXT52OBS.js} +2 -2
- package/dist/cdn/{CTGQWEIJ.js → KZFMPHCV.js} +2 -2
- package/dist/cdn/{VU3T4WSA.js → LDQDYCD2.js} +2 -2
- package/dist/cdn/LF3HQQMS.js +2 -0
- package/dist/cdn/LI4CAGAZ.js +2 -0
- package/dist/cdn/{6WJBGNHC.js → LI7Q44Z6.js} +2 -2
- package/dist/cdn/{47FTIK4Y.js → LNLCO244.js} +2 -2
- package/dist/cdn/{J3QMHA2M.js → LPBP7CBN.js} +2 -2
- package/dist/cdn/{CLYSXX7Q.js → LPJHRY3Y.js} +2 -2
- package/dist/cdn/{ETSHZHZS.js → LPNQJBCN.js} +2 -2
- package/dist/cdn/LR6VDEBR.js +2 -0
- package/dist/cdn/{Q4DIJ6T2.js → LWUSGNUB.js} +2 -2
- package/dist/cdn/{IM46JKRI.js → M536RNIN.js} +1 -1
- package/dist/cdn/{M2MQGWLQ.js → M7GWNGTJ.js} +2 -2
- package/dist/cdn/{CKFJWPZN.js → M7YK4K5M.js} +2 -2
- package/dist/cdn/{YM3BZKEU.js → MHD543E6.js} +2 -2
- package/dist/cdn/{T5HS6V2W.js → MPGXSCG5.js} +2 -2
- package/dist/cdn/MQ7BT7PK.js +2 -0
- package/dist/cdn/{S2PMV5XN.js → MS4ASDJL.js} +2 -2
- package/dist/cdn/{FCH5GFNF.js → MWFCDDBC.js} +2 -2
- package/dist/cdn/{ZLJ3XH23.js → MZ3QZD4K.js} +2 -2
- package/dist/cdn/{BYAI75EW.js → MZDSTI7I.js} +2 -2
- package/dist/cdn/{MJDCNHGI.js → MZLEP53S.js} +2 -2
- package/dist/cdn/{35D5FZVV.js → N72IW5CX.js} +1 -1
- package/dist/cdn/{T5V6AS7W.js → N7HJKCUK.js} +2 -2
- package/dist/cdn/{UGC66GAG.js → N7OY2PSZ.js} +2 -2
- package/dist/cdn/{2J63S2O5.js → NA7S3IMW.js} +2 -2
- package/dist/cdn/{NVE7K4AP.js → NC34DM4N.js} +2 -2
- package/dist/cdn/NDUAEC62.js +2 -0
- package/dist/cdn/{OCJK42MK.js → NEKIHEPY.js} +2 -2
- package/dist/cdn/{V3GUZ2LX.js → NFOSWP5Q.js} +1 -1
- package/dist/cdn/{JJV3O6VQ.js → NH5526ON.js} +2 -2
- package/dist/cdn/{FZ5LAVZL.js → NIUMAAOQ.js} +2 -2
- package/dist/cdn/NL67WU77.js +2 -0
- package/dist/cdn/{G6KHKVTN.js → NLTK53B2.js} +2 -2
- package/dist/cdn/{PW4CSQIB.js → NOIG2A4U.js} +2 -2
- package/dist/cdn/{KE5Q4DJK.js → NOIGF6Y3.js} +1 -1
- package/dist/cdn/{OCUMDT2M.js → NPZQAHW4.js} +2 -2
- package/dist/cdn/{FWFPID2C.js → NSITJP7B.js} +2 -2
- package/dist/cdn/{AC7TIBAL.js → ONLHK7DM.js} +1 -1
- package/dist/cdn/{XUYQ4JOW.js → OQFRVQQZ.js} +2 -2
- package/dist/cdn/{P5YTFAF2.js → OQWMBY4L.js} +1 -1
- package/dist/cdn/OVKFYACI.js +2 -0
- package/dist/cdn/{QCX5HMBY.js → OYQYXNHJ.js} +2 -2
- package/dist/cdn/{ZY5NKP3F.js → P2YLMWCT.js} +2 -2
- package/dist/cdn/P4FX4W2X.js +2 -0
- package/dist/cdn/{46DQNAMV.js → P4KZ6OZF.js} +1 -1
- package/dist/cdn/{TENMD3MI.js → P6IYN2TS.js} +2 -2
- package/dist/cdn/{2VXVCSRO.js → PFKPNZ5Q.js} +2 -2
- package/dist/cdn/{KYMCG3FE.js → PFLQDK3I.js} +2 -2
- package/dist/cdn/{PIUY4D7H.js → PGSLA765.js} +1 -1
- package/dist/cdn/{6WWPIVBS.js → PJ5ORVU5.js} +2 -2
- package/dist/cdn/{R7OZWCO2.js → PJH3H7LZ.js} +2 -2
- package/dist/cdn/PYBOC3DB.js +2 -0
- package/dist/cdn/{EXKRUCSY.js → PZOAAAVI.js} +2 -2
- package/dist/cdn/{YPECXIRO.js → Q5T633MH.js} +2 -2
- package/dist/cdn/Q7AXKKIB.js +2 -0
- package/dist/cdn/{SXBDS4RI.js → QAVXLETM.js} +2 -2
- package/dist/cdn/QHG54NVK.js +2 -0
- package/dist/cdn/{5SDYG5ZM.js → QHYG6C3L.js} +2 -2
- package/dist/cdn/{FYYI54CE.js → QI5LXFA7.js} +2 -2
- package/dist/cdn/{OR4HXHSY.js → QPIMTXPL.js} +1 -1
- package/dist/cdn/{KX6WPQ3G.js → QWRM254M.js} +2 -2
- package/dist/cdn/{FIGCRZGS.js → R3TKXDOE.js} +2 -2
- package/dist/cdn/{ZBTAMROU.js → RDXJFHLV.js} +2 -2
- package/dist/cdn/{NR37JYZZ.js → REOO5ZGK.js} +2 -2
- package/dist/cdn/{G3KEPG5G.js → RKMY6VWP.js} +2 -2
- package/dist/cdn/{W4UTR6WU.js → RNAN4RW6.js} +1 -1
- package/dist/cdn/{ZZQ73LQE.js → RTPXDRZ7.js} +2 -2
- package/dist/cdn/{ETK7NEDZ.js → RTUAITMO.js} +2 -2
- package/dist/cdn/{GDPFKW75.js → S423P2GA.js} +2 -2
- package/dist/cdn/{CUJCDLHI.js → SBEC53RV.js} +2 -2
- package/dist/cdn/{ASTWNDH6.js → SC5EOUVT.js} +2 -2
- package/dist/cdn/{LLCJDTO5.js → SEDPMCMZ.js} +2 -2
- package/dist/cdn/{HQK5RHHT.js → SNXCUFG4.js} +1 -1
- package/dist/cdn/SOIGVOGA.js +2 -0
- package/dist/cdn/{KR3JPJKA.js → SSO3AN4U.js} +2 -2
- package/dist/cdn/{KAOZIOH3.js → SZRONHSX.js} +2 -2
- package/dist/cdn/{HKHZ3AIP.js → T2FOSTMH.js} +2 -2
- package/dist/cdn/{OZIXJ6HO.js → T2WSMUVL.js} +2 -2
- package/dist/cdn/{M3G2IY5Z.js → T3JHAFWW.js} +2 -2
- package/dist/cdn/{VWVSKAHO.js → T537IZUH.js} +2 -2
- package/dist/cdn/{LR227DHR.js → T745GPG3.js} +2 -2
- package/dist/cdn/{JM5FJEHU.js → TAYHORLE.js} +2 -2
- package/dist/cdn/TBQQ6OPX.js +2 -0
- package/dist/cdn/{AOBFPJ2R.js → TEHBW75B.js} +1 -1
- package/dist/cdn/{5ISRU637.js → TER4MTK6.js} +2 -2
- package/dist/cdn/{V5CYGH43.js → TH52564W.js} +2 -2
- package/dist/cdn/{3ABQO2AZ.js → THKPPH7G.js} +2 -2
- package/dist/cdn/{UKRALD6X.js → TT5Y2WZP.js} +2 -2
- package/dist/cdn/{EQUAUHBX.js → TTODV2R4.js} +2 -2
- package/dist/cdn/{M726IWD4.js → TU5GZK4M.js} +2 -2
- package/dist/cdn/{2D64QMHC.js → TUGKPWRB.js} +2 -2
- package/dist/cdn/{XUYE3J6Z.js → TVCG3ZCH.js} +2 -2
- package/dist/cdn/{ANWP5NRZ.js → TXLUSSRB.js} +2 -2
- package/dist/cdn/TZ73WV5T.js +2 -0
- package/dist/cdn/TZHUM4R4.js +2 -0
- package/dist/cdn/{HYA473XA.js → TZL2746B.js} +2 -2
- package/dist/cdn/{6IHZQH4I.js → U6ALIHIC.js} +2 -2
- package/dist/cdn/U6NFJYPT.js +2 -0
- package/dist/cdn/UAQ3H67J.js +2 -0
- package/dist/cdn/{WXXNQFVO.js → UDGR2GC5.js} +2 -2
- package/dist/cdn/{5QZHZP3H.js → UF67SSGX.js} +2 -2
- package/dist/cdn/{EFQUL4VM.js → UFFI5UIO.js} +2 -2
- package/dist/cdn/{BY2L5NGQ.js → UFJWRZWQ.js} +2 -2
- package/dist/cdn/{LFDALA2A.js → UH4IH4MC.js} +2 -2
- package/dist/cdn/{PBS3CYBZ.js → UK4O67GV.js} +2 -2
- package/dist/cdn/{MBISQ27L.js → UKXDAOCN.js} +2 -2
- package/dist/cdn/{N3WEX2WW.js → ULCILXSA.js} +2 -2
- package/dist/cdn/ULU7JTHR.js +2 -0
- package/dist/cdn/UM2FREW7.js +2 -0
- package/dist/cdn/{MQF26HKA.js → US5FON7D.js} +1 -1
- package/dist/cdn/{NF6YUHUT.js → UVHM4PU5.js} +2 -2
- package/dist/cdn/VCGFT6NM.js +2 -0
- package/dist/cdn/VDEFBT2N.js +2 -0
- package/dist/cdn/{CKZTDRHJ.js → VIWNXKUP.js} +2 -2
- package/dist/cdn/{HV4LZMLU.js → VJEG4LOG.js} +2 -2
- package/dist/cdn/{FFP225M5.js → VPTZV5YV.js} +2 -2
- package/dist/cdn/{G4VIPBRX.js → VVZAS55G.js} +1 -1
- package/dist/cdn/{TVQ63GRO.js → VXMIT5WR.js} +2 -2
- package/dist/cdn/{3L4JPZ3K.js → VZPEYWYR.js} +2 -2
- package/dist/cdn/{BJQKJFRD.js → W2ZZLJGQ.js} +2 -2
- package/dist/cdn/{SE7GHLP3.js → W5V64SBG.js} +2 -2
- package/dist/cdn/{HK5YELY5.js → WCPWYPN2.js} +2 -2
- package/dist/cdn/{2ZVVMMWR.js → WFB4USZL.js} +2 -2
- package/dist/cdn/{QJJXVRMV.js → WGO4EVOV.js} +1 -1
- package/dist/cdn/{RTZ7K25B.js → WHXMHZL4.js} +2 -2
- package/dist/cdn/WIC2XPT4.js +2 -0
- package/dist/cdn/{V3FKFUZ4.js → WNI44LDP.js} +2 -2
- package/dist/cdn/{ZBVNECHG.js → X4LKJTY5.js} +2 -2
- package/dist/cdn/XAFSYKI2.js +2 -0
- package/dist/cdn/{PO4PTHS6.js → XBR2PGVO.js} +2 -2
- package/dist/cdn/XG3T3NF3.js +2 -0
- package/dist/cdn/{4WIRUOFC.js → XGFCUKM7.js} +2 -2
- package/dist/cdn/{TAGYBODZ.js → XIUYW7RN.js} +2 -2
- package/dist/cdn/{2KD4GOO2.js → XK6Q5TUT.js} +2 -2
- package/dist/cdn/XNH7HCKE.js +2 -0
- package/dist/cdn/{WBU2DP34.js → XPIAEAK5.js} +2 -2
- package/dist/cdn/XTEP3QJL.js +2 -0
- package/dist/cdn/{RVR6SP4R.js → XVRRQMOP.js} +2 -2
- package/dist/cdn/{A2UP6ODV.js → XXQKFENH.js} +2 -2
- package/dist/cdn/{SVY3DB6Z.js → XYFIAJPT.js} +2 -2
- package/dist/cdn/{4XDFHBIJ.js → XYOCI4UP.js} +2 -2
- package/dist/cdn/{WKMAPRRW.js → YF26KIY5.js} +1 -1
- package/dist/cdn/YG7D2NB5.js +2 -0
- package/dist/cdn/{RQPLQUKO.js → YIQVAISO.js} +2 -2
- package/dist/cdn/YJMAWMEK.js +2 -0
- package/dist/cdn/{FJNVO5GH.js → YMETU3CL.js} +2 -2
- package/dist/cdn/{W3KIZXX6.js → YMWYAWT6.js} +2 -2
- package/dist/cdn/YRRONGG3.js +2 -0
- package/dist/cdn/{QZMPOJBZ.js → YTK4IGLJ.js} +2 -2
- package/dist/cdn/{X4JADDMR.js → YUPT4BTA.js} +2 -2
- package/dist/cdn/{UUYUTETH.js → YVNP437O.js} +1 -1
- package/dist/cdn/{LDNQ56OK.js → Z4F2NZOT.js} +1 -1
- package/dist/cdn/ZC3SWVD4.js +2 -0
- package/dist/cdn/{UPHYUDLT.js → ZCU2WWVN.js} +1 -1
- package/dist/cdn/{ZQ37ZZNF.js → ZDGVCOLK.js} +2 -2
- package/dist/cdn/{FH77AHR5.js → ZDMOQS37.js} +2 -2
- package/dist/cdn/{SMB2UTWO.js → ZF724O2R.js} +2 -2
- package/dist/cdn/{WEZ3CVMJ.js → ZIAMLGUC.js} +2 -2
- package/dist/cdn/{CKD45FGQ.js → ZIVKAX4G.js} +1 -1
- package/dist/cdn/{6HN6YFLK.js → ZMNHA5KF.js} +2 -2
- package/dist/cdn/{IHZXAACO.js → ZSHMK5VX.js} +2 -2
- package/dist/cdn/{63QNMEU5.js → ZYRNI524.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +14 -14
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/deployAppContexts.js +9 -0
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/getRelatedInfos.js +1 -1
- package/dist/chunks/interfaces.js +142 -145
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +2 -2
- package/dist/chunks/solution-deploy-dialog.js +11 -10
- package/dist/chunks/solutions-deploy-app-nav.js +7 -6
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +28 -27
- 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 +2 -2
- 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-list-widget/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 +6 -5
- package/dist/components/solution-delete-dialog/customElement.js +46 -36
- package/dist/components/solution-deploy-dialog/customElement.js +5 -4
- package/dist/components/solution-deployed-card/customElement.js +4 -3
- package/dist/components/solution-deployed-card-panel/customElement.js +8 -7
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +3 -2
- package/dist/components/solution-details-panel/customElement.js +31 -30
- package/dist/components/solution-item-accordion/customElement.js +30 -22
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-diagram/utils/solutionGraph.d.ts +1 -0
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.js +8 -7
- package/dist/components/solution-snapshot-gallery/customElement.js +10 -9
- package/dist/components/solution-social-share/customElement.js +3 -2
- package/dist/components/solution-user-avatar/customElement.js +13 -12
- package/dist/components/solutions-all-panel/customElement.js +12 -11
- package/dist/components/solutions-all-shell/customElement.js +3 -2
- package/dist/components/solutions-deploy-app/customElement.js +12 -11
- package/dist/components/solutions-deploy-app-nav/customElement.js +4 -3
- package/dist/components/solutions-deployed-panel/customElement.js +3 -2
- package/dist/components/solutions-deployed-shell/customElement.js +3 -2
- package/dist/components/solutions-filter-panel/customElement.d.ts +1 -4
- package/dist/components/solutions-filter-panel/customElement.js +13 -14
- package/dist/components/solutions-resources-section/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.d.ts +2 -2
- package/dist/components/solutions-searchsort-toolbar/customElement.js +8 -7
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/solutions-components_commit.txt +6 -6
- package/dist/types/lumina.d.ts +0 -1
- package/dist/types/preact.d.ts +0 -1
- package/dist/types/react.d.ts +0 -1
- package/dist/types/stencil.d.ts +0 -1
- package/dist/utils/interfaces.d.ts +1 -1
- package/package.json +5 -5
- package/dist/cdn/2GBXQUSA.js +0 -2
- package/dist/cdn/32MFUKXF.js +0 -2
- package/dist/cdn/32ZJRLO4.js +0 -2
- package/dist/cdn/36RS4TYI.js +0 -2
- package/dist/cdn/3NGW3KDI.js +0 -2
- package/dist/cdn/3ZOEAKII.js +0 -2
- package/dist/cdn/44QGF64X.js +0 -2
- package/dist/cdn/4WNB4SNS.js +0 -2
- package/dist/cdn/5BJNTWVY.js +0 -2
- package/dist/cdn/5JJMGPOW.js +0 -2
- package/dist/cdn/5SWGGS6Z.js +0 -2
- package/dist/cdn/643OMX6D.js +0 -2
- package/dist/cdn/7M6F64KQ.js +0 -2
- package/dist/cdn/7PXJRQHT.js +0 -2
- package/dist/cdn/AFNUHTXR.js +0 -2
- package/dist/cdn/AXGMN3DZ.js +0 -2
- package/dist/cdn/AZKJO6MZ.js +0 -2
- package/dist/cdn/CJ3RCG23.js +0 -2
- package/dist/cdn/CS224C6F.js +0 -2
- package/dist/cdn/DCOGVHCK.js +0 -2
- package/dist/cdn/DQY6HKSD.js +0 -2
- package/dist/cdn/DUY4QVV5.js +0 -2
- package/dist/cdn/F7DGHROD.js +0 -2
- package/dist/cdn/FOQDGMBU.js +0 -2
- package/dist/cdn/G235DVXM.js +0 -2
- package/dist/cdn/GCYLODHA.js +0 -2
- package/dist/cdn/GKBTOBYA.js +0 -2
- package/dist/cdn/HVZTHZYK.js +0 -2
- package/dist/cdn/HW7HHHMK.js +0 -2
- package/dist/cdn/IB4U627P.js +0 -2
- package/dist/cdn/IGM6M6VG.js +0 -2
- package/dist/cdn/IHGHHRTQ.js +0 -2
- package/dist/cdn/IWBYP44R.js +0 -2
- package/dist/cdn/JG5BJDJK.js +0 -2
- package/dist/cdn/KCABC3XV.js +0 -2
- package/dist/cdn/L65LKW2L.js +0 -2
- package/dist/cdn/LCHT2SYR.js +0 -2
- package/dist/cdn/LLYTIOG4.js +0 -2
- package/dist/cdn/M27UHZEK.js +0 -2
- package/dist/cdn/M5MQY5WC.js +0 -2
- package/dist/cdn/MCGO7GQL.js +0 -2
- package/dist/cdn/N2D6RJ3H.js +0 -2
- package/dist/cdn/NNF53M5N.js +0 -2
- package/dist/cdn/O24ZIQLV.js +0 -2
- package/dist/cdn/OBMP2HIH.js +0 -2
- package/dist/cdn/OXUKEA5J.js +0 -2
- package/dist/cdn/P3DGGTC5.js +0 -2
- package/dist/cdn/PAEHHWIA.js +0 -2
- package/dist/cdn/QOM6K67N.js +0 -2
- package/dist/cdn/R2KIT5QB.js +0 -2
- package/dist/cdn/RAWUKGQG.js +0 -2
- package/dist/cdn/RORBHQJC.js +0 -2
- package/dist/cdn/S6EMQP4I.js +0 -2
- package/dist/cdn/SOFUFWLC.js +0 -2
- package/dist/cdn/SXF342EH.js +0 -2
- package/dist/cdn/UDP357ZS.js +0 -2
- package/dist/cdn/UT4XKLC4.js +0 -2
- package/dist/cdn/V7HBTLA3.js +0 -2
- package/dist/cdn/VN6ZA46R.js +0 -2
- package/dist/cdn/VPSUD6VW.js +0 -2
- package/dist/cdn/VW2776MR.js +0 -2
- package/dist/cdn/VWAPNMSS.js +0 -2
- package/dist/cdn/WDDMJBPJ.js +0 -2
- package/dist/cdn/WPAMUSBR.js +0 -2
- package/dist/cdn/YA5DNYPF.js +0 -2
- package/dist/cdn/YEY4KEHA.js +0 -2
- package/dist/cdn/YQELD2ZV.js +0 -2
- package/dist/cdn/ZRDBHNKL.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import"./QPIMTXPL.js";var i="Neturite pakankamai kredit\u0173 atlikti \u0161\u012F veiksm\u0105. Kreipkit\u0117s pagalbos \u012F savo ArcGIS sistemos administratori\u0173.",a="\u0160is \u012Frankis publikuotas i\u0161 u\u017Era\u0161in\u0117s. J\u016Bs\u0173 organizacijos prieiga prie ArcGIS Notebooks u\u017Eblokuota. Nor\u0117dami koreguoti nustatym\u0105 susisiekite su savo administratoriumi.",e="${ dataPath } negali sudaryti ${ additionalProperty }.",t="${ dataPath } turi sutapti su viena i\u0161 \u0161i\u0173 schem\u0173: ${ schemaOptions }.",r="Bandykite \u012Fra\u0161yti \u017Eem\u0117lap\u012F i\u0161 naujo.",s="Kredit\u0173 \u012Fvertinimas nepavyko. Slinkite \u017Eemyn, i\u0161taisykite klaidas ir dar kart\u0105 \u012Fvertinkite kreditus.",o="Vykdant analiz\u0119 \u012Fvyko klaida.",n="${ dataPath } turi b\u016Bti lygus vienai i\u0161 \u0161i\u0173 leid\u017Eiam\u0173 reik\u0161mi\u0173: ${ allowedValues }.",l="Nepavyko \u012Fra\u0161yti analiz\u0117s istorijos",u="Istorijos saugykla pilna. Pa\u0161alinkite kelet\u0105 element\u0173 i\u0161 analiz\u0117s istorijos ir bandykite \u012Fra\u0161yti dar kart\u0105.",k="Paslaugos pavadinime yra vienas arba daugiau neleistin\u0173 simboli\u0173.",d="Laikinojo sluoksnio i\u0161saugojimas kaip talpinam\u0173 element\u0173 sluoksnis nebuvo baigtas.",m="Norint paleisti \u0161\u012F \u012Frank\u012F reikalingos \u0161ios teis\u0117s: ${ privileges }. <calcite-link href='${docLink}' target='_blank'>Su\u017Einokite daugiau </calcite-link>",p="Nepavyko gauti pagrindini\u0173 ypatybi\u0173.",y="Sluoksnio \u012Fkelti nepavyko.",c="Sluoksnis nepasiekiamas.",v="${ dataPath } negali tur\u0117ti daugiau negu ${ limit } element\u0173.",g="\u012Era\u0161ant model\u012F \u012Fvyko klaida. Bandykite \u012Fra\u0161yti i\u0161 naujo.",b="${ dataPath } negali tur\u0117ti ma\u017Eiau negu ${ limit } element\u0173.",P="${ dataPath } negali b\u016Bti trumpesnis negu ${ limit } simb.",E="Nepavyko \u012Fkelti modelio elemento. \u012Esitikinkite, kad modelis egzistuoja ir suteikta prieiga.",h="Nepavyko u\u017Ebaigti u\u017Eklausos.",S="Neturite leidimo vykdyti \u0161io \u012Frankio. <calcite-link target='_blank' href='${ docLink }'>Su\u017Einokite daugiau </calcite-link>",N="Nepavyko prisijungti prie portalo.",f="Nepavyko nuskaityti \u012Fvesties duomen\u0173.",$="${ dataPath } tr\u016Bksta savyb\u0117s pavadinimu ${ missingProperty }.",j="Rezultat\u0173 sluoksnis tokiu pavadinimu jau yra. Rezultat\u0173 sluoksni\u0173 pavadinimai turi b\u016Bti unikal\u016Bs visoje organizacijoje. Naudokite kit\u0105 pavadinim\u0105.",I="I\u0161vesties pavadinime yra vienas ar daugiau neleistini\u0173 simboli\u0173. <calcite-link href='${docLink}' target='_blank'>Su\u017Einokite daugiau </calcite-link>",F="Nepavyko publikuoti laikinojo sluoksnio kaip talpinamo sluoksnio d\u0117l vieno ar daugiau netinkam\u0173 lauk\u0173. Paleiskite \u012Frank\u012F i\u0161 naujo, kad sukurtum\u0117te sluoksn\u012F su tinkamais laukais.",L="Nepavyko pateikti u\u017Eduoties. Slinkite \u017Eemyn, i\u0161taisykite klaidas ir dar kart\u0105 paleiskite analiz\u0119.",T="${ dataPath } turi sudaryti bent vienas simbolis, kuris n\u0117ra tarpas.",z={InsufficientCreditsError:i,accessBlocked:a,additionalProperty:e,anyOfValues:t,cannotWriteToItemResource:r,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:l,fullSessionStorage:u,hostedFeatureServiceInvalidTitle:k,hostedFeatureServicePublishDidNotComplete:d,insufficientPermissions:m,keyPropertiesError:p,layerLoadFailure:y,layerUnavailable:c,maxItems:v,mbFailedToSave:g,minItems:b,minLength:P,modelNotFound:E,networkError:h,noPermissionToAccessTool:S,portalLoadError:N,queryFeaturesError:f,requiredProperty:$,serviceNameExistsError:j,specialCharactersInServiceNameError:I,temporaryLayerFieldsError:F,toolValidationError:L,whiteSpacePattern:T};export{i as InsufficientCreditsError,a as accessBlocked,e as additionalProperty,t as anyOfValues,r as cannotWriteToItemResource,s as creditEstimationError,z as default,o as defaultError,n as enumValues,l as failedToSaveHistory,u as fullSessionStorage,k as hostedFeatureServiceInvalidTitle,d as hostedFeatureServicePublishDidNotComplete,m as insufficientPermissions,p as keyPropertiesError,y as layerLoadFailure,c as layerUnavailable,v as maxItems,g as mbFailedToSave,b as minItems,P as minLength,E as modelNotFound,h as networkError,S as noPermissionToAccessTool,N as portalLoadError,f as queryFeaturesError,$ as requiredProperty,j as serviceNameExistsError,I as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,L as toolValidationError,T as whiteSpacePattern};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import{a}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{a}from"./FTMEQQF5.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import{a as s,b as r}from"./CZKXDUOH.js";import"./SC5EOUVT.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import{a as o}from"./DKB6JTUF.js";import{a as i}from"./7DVOR4SY.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./NEKIHEPY.js";import"./UKXDAOCN.js";import"./D3WYLHYH.js";import"./MPGXSCG5.js";import"./TT5Y2WZP.js";import"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import"./N72IW5CX.js";import"./SNXCUFG4.js";import"./ZDGVCOLK.js";import"./FES7B3SJ.js";import"./4UBLWDFJ.js";import"./SBEC53RV.js";import"./LDQDYCD2.js";import"./RNAN4RW6.js";import"./W5V64SBG.js";import"./TTODV2R4.js";import"./CEZMBNEQ.js";import"./BJMJWUHS.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./QPIMTXPL.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c as buildUiSchema};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import"./QPIMTXPL.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import q from"./SOIGVOGA.js";import m from"./XGFCUKM7.js";import l from"./YJMAWMEK.js";import k from"./JE4LGN6P.js";import j from"./CF35YGUK.js";import i from"./UM2FREW7.js";import h from"./4JXVKICV.js";import e from"./FGS4PYIE.js";import"./OYQYXNHJ.js";import d from"./CEKMYC3I.js";import c from"./EWCIPKTH.js";import b from"./4NMQFFJ5.js";import"./AA7X6GKH.js";import"./HBPD3T7H.js";import a from"./OVKFYACI.js";import{a as f,b as w}from"./QHG54NVK.js";import{a as u}from"./DLBZRD4H.js";import"./HBQN25RR.js";import{a as S}from"./3AQ7U2PF.js";import"./DIKAKOU5.js";import"./S423P2GA.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as C}from"./NDUAEC62.js";import{F as o,G as s,H as v,J as _,h as g,i as p,r as n}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,{B:x,F:D,G:I,I:c,u:F},,{b:O},,,{g:k,h:A},,,,,{a:y,b:M},{a:T}])=>{var $=g`.back-color-override{background-color:var(--calcite-color-foreground-2);--calcite-tab-border-color: var(--calcite-color-foreground-3)}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tab{--calcite-color-focus: transparent}calcite-tab>*{--calcite-color-focus: initial}calcite-tabs{--calcite-tab-border-color: var(--calcite-color-border-3);height:100%}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-resources-shell,solutions-deployed-shell,solutions-all-shell,calcite-tab-nav,solution-deployed-card-panel{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-3);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}.overflow-auto{overflow:auto}solution-details-panel{scroll-margin-top:3rem}`,m=class extends v{constructor(){super(),this.initTitleOrId="",this.sortType="relevance",this.useLocalAppConfig=!1,this.authentication=void 0,this._isLoaded=!1,this.isMobile=!1,this._activeTab="all-solutions",this._showDeployedCardFetchFailed=!1,this._translations=S({name:"solutions-deploy-app",blocking:!0}),this._agoTerms=`${I}`,this._allCards=[],this._allShell=o(),this._allTab=o(),this._allTabTitle=o(),this._resourcesTab=o(),this._resourcesTabTitle=o(),this._categories=[],this._configContextProvider=u({context:w}),this._delay=!1,this._deployAppNav=o(),this._deployedCardPanel=o(),this._deployCardFetchFailedMessage="",this._deployedCardTab=o(),this._deployedCardTabTitle=o(),this._detailsShell=o(),this._detailsTab=o(),this._detailsTabTitle=o(),this._forceInit=!1,this._getSuggested=!1,this._tabpanelsFixed=!1,this._isMobileContextProvider=u({context:f}),this._mySolutionsShell=o(),this._mySolutionsTab=o(),this._mySolutionsTabTitle=o(),this._sortField="relevance",this._sortOrder="desc",this._telemetryManager=new T,this.deployAppTabSelected=n(),this.deployedCardFetchFailed=n(),this.detailsCardSelected=n(),this.deployedCardSelected=n(),this.metaTagStringsReady=n(),this.sessionRefreshed=n(),this.tabChanged=n(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"displayDeployedCard",this._handleDeployedCardDisplay),this.listenOn(window,"navTabSelected",this._setActiveTab),this.listenOn(window,"forceSelectTab",t=>this.selectTab(t.detail,{})),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={appConfig:1,initTab:1,initTitleOrId:1,sortType:1,useLocalAppConfig:5,authentication:16,_isLoaded:16,isMobile:16,_activeTab:16,_showDeployedCardFetchFailed:16,_translations:16}}static{this.styles=$}get _telemetry(){return this._configContextProvider.value?.telemetrySession}get _isDisconnectedEnvironment(){return this._configContextProvider.value?.isEnterprise===!0&&this._configContextProvider.value?.authentication?.CanSearchArcGISOnline===!1}async selectTab(t,e){if(this._isLoaded||this._forceInit){let i=this._getDefaultSearchOptions(e);switch(this._searchSortToolbar&&(this._searchSortToolbar.scope=t.tabType),t.tabType){case"all-solutions":this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,i&&await this._allShell.value?.searchSolutions(i);break;case"resources":this._resourcesTab.value.selected=!0,this._resourcesTabTitle.value.selected=!0;break;case"deployed-card":if(this.authentication?.IsSignedIn){if(this._forceInit=!0,this._isLoaded=!1,this._cardFetcherDeployed&&await this._getDeployedSolution(t.tabTitleOrId),this._deployedSolutions?.cards?.length>0){let a;this._deployedSolutions.cards.some(l=>l.id===t.tabTitleOrId?(a=l,this.deployedCardSelected.emit({card:a}),!0):!1),this._isLoaded=!0,this._forceInit=!1}else return this._isLoaded=!0,this._forceInit=!1,this.selectTab({tabTitleOrId:"",tabType:"deployments"},e);break}else await this.authentication?.signIn();case"details":if(this._allCards){let a=k(this._allCards,t.tabTitleOrId);a=a||A(this._allCards,t.tabTitleOrId),a?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(a)):(t.tabType="all-solutions",this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0)}break;case"deployments":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0,this._searchSortToolbar&&i?.filter&&this._searchSortToolbar.changeOwnerFilter(i.filter!=="Organization"),i&&await this._mySolutionsShell.value?.searchSolutions(i);break}return this._setActiveTab(new CustomEvent("setActiveTab",{detail:t})),this._blurTabs(),this._showDeployedCardFetchFailed&&(this.deployedCardFetchFailed.emit({message:this._deployCardFetchFailedMessage,title:this._translations.failedToOpen}),this._showDeployedCardFetchFailed=!1),!0}else return this._initTab=t,this._initFilters=e,!1}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}updated(){this._fixTabpanelFocus()}_fixTabpanelFocus(){if(!this._tabpanelsFixed&&this._allTab.value){let t=[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab];Promise.all(t.map(async e=>{let i=e.value;if(i&&(await i.componentOnReady?.(),i.shadowRoot)){let a=i.shadowRoot.querySelector('[role="tabpanel"]');a&&(a.tabIndex=-1)}})).then(()=>{this._tabpanelsFixed=!0,this._setupTabpanelObserver()}).catch(()=>{this._tabpanelsFixed=!0})}}_setupTabpanelObserver(){this._tabpanelObserver||(this._tabpanelObserver=new MutationObserver(t=>{t.forEach(e=>{if(e.type==="attributes"&&e.attributeName==="tabindex"){let i=e.target;i.getAttribute("role")==="tabpanel"&&i.tabIndex===0&&(i.tabIndex=-1)}})}),[this._allTab,this._mySolutionsTab,this._resourcesTab,this._detailsTab,this._deployedCardTab].forEach(t=>{let e=t.value;if(e?.shadowRoot){let i=e.shadowRoot.querySelector('[role="tabpanel"]');i&&this._tabpanelObserver.observe(i,{attributes:!0,attributeFilter:["tabindex"]})}}))}async load(){this.useLocalAppConfig&&(this.appConfig=O)}render(){let t=this._isLoaded?"display-none":"",e=this._isLoaded?"":"display-none";return p`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} .initTab=${this.initTab} @authInit=${this._handleAuthInit} slot=header ${s(this._deployAppNav)}></solutions-deploy-app-nav>${this._isSearchToolbarShowing()&&p`<div class="border" slot=header></div>`||""}<solutions-searchsort-toolbar slot=header ${s(async i=>{i&&(await this._deployAppNav.value?.componentOnReady(),this._searchSortToolbar=i)})}></solutions-searchsort-toolbar><calcite-loader class=${_(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader><calcite-tabs class=${_(e)} scale=l><calcite-tab-nav class="display-none" @calciteTabChange=${this._handleCalciteTabChanged} slot=title-group><calcite-tab-title ${s(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${s(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${s(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${s(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${s(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${s(this._allTab)}><solutions-all-shell class="height-100" ${s(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${s(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${s(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${s(this._resourcesTab)}><solutions-resources-shell class="height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${s(this._detailsTab)}><solution-details-panel class="height-100" ${s(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${s(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100" ${s(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></calcite-shell>`}loaded(){this._setScrollbarGutters()}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange),this._tabpanelObserver?.disconnect()}async _handleAuthInit(t){let e=t.detail;e.telemetrySession||(e.telemetrySession=T.getDisabledSession()),this._configContextProvider.setValue(e),e.authentication&&(this.authentication=e.authentication),this._cardFetcherDeployed=new y(e.locale,e.orgUrl,e.portalURL),this._cardsFetcher=new y(e.locale,e.orgUrl,e.portalURL),this._isDisconnectedEnvironment||await this._getSolutions(e.primarySolutionsGroupId,e.agoBasedEnterpriseSolutionsGroupId),this._configContextProvider.value.allCards=this._allCards,this._configContextProvider.value.anonAgolSession=this._cardsFetcher.anonAgolSession,this._configContextProvider.value.agolPortalUrl=this._cardsFetcher.agolPortalUrl,await this._initializeTelemetry(),this._isLoaded=!0,this._setRefreshInterval(),this._initTab?(this.selectTab(this._initTab,this._initFilters),this._logTabViewTelemetry(this._initTab.tabType),this._initTab=void 0,this._initFilters=void 0):this.authentication?.IsSignedIn&&(this.initTab==="details"||this.initTab==="deployed-card"||(this._logTabViewTelemetry(this._activeTab),this._emitMetaTagStrings(this._activeTab)))}_mediaQueryChange(t){this.isMobile=t.matches,this._isMobileContextProvider.setValue(this.isMobile)}_setActiveTab(t){let e=t.detail.tabType,i=this._activeTab!==e;switch(this._activeTab=e,i&&this._logTabViewTelemetry(e),e){case"all-solutions":this._allTabTitle.value?.click();break;case"deployments":this._mySolutionsTabTitle.value?.click();break;case"resources":this._resourcesTabTitle.value?.click();break;case"deployed-card":this._deployedCardTabTitle.value?.click();break;case"details":this._detailsTabTitle.value?.click();break}e!=="details"&&e!=="deployed-card"&&(this._deployAppNav.value.activateMenuItem(e),this.deployAppTabSelected.emit(e),this._emitMetaTagStrings(e))}_logTabViewTelemetry(t,e){let i;switch(t){case"all-solutions":i=c.ALL_SOLUTIONS;break;case"deployments":i=c.DEPLOYMENTS;break;case"resources":i=c.RESOURCES;break;case"details":i=c.SOLUTION_DETAILS;break;case"deployed-card":i=c.DEPLOYMENTS;break}if(!((t==="details"||t==="deployed-card")&&!e)&&i){let a=[];if((t==="details"||t==="deployed-card")&&e){let r=e;a.push(r.title||""),a.push(r.deployCommonId||""),a.push(r.deployVersion||"")}let l=t==="deployed-card"?"Open":"View";this._telemetry?.logEvent({category:i,action:l,dimensions:a.length>0?a:void 0})}}_emitMetaTagStrings(t,e){let i="",a="";switch(t){case"all-solutions":i=this._translations.metaAllSolutionsTitle,a=this._translations.metaAllSolutionsDescription;break;case"deployments":case"deployed-card":i=this._translations.metaDeploymentsTitle,a=this._translations.metaDeploymentsDescription;break;case"resources":i=this._translations.metaResourcesTitle,a=this._translations.metaResourcesDescription;break;case"details":e&&(i=this._translations.metaDetailsTitle.replace("{title}",e.title),a=e.snippet);break}this.metaTagStringsReady.emit({pageType:t,title:i,description:a,detailTemplate:e})}_handleCalciteTabChanged(){this.tabChanged.emit(this._activeTab)}_detailsCardSelected(t){this._activeTab="details",this._detailsTabTitle.value.selected=!0,this._detailsTab.value.selected=!0,this._deployAppNav.value.clearMenuItems(),t?.detail&&(this._selectedDetailsCard=t.detail),this._logTabViewTelemetry("details",this._selectedDetailsCard),this._emitMetaTagStrings("details",this._selectedDetailsCard)}_deployedCardSelected(t){this._activeTab="deployed-card",this._deployedCardTabTitle.value.selected=!0,this._deployedCardTab.value.selected=!0,this._deployAppNav.value.clearMenuItems(),t?.detail?.card&&(this._selectedDeployedCard=t.detail.card),this._logTabViewTelemetry("deployed-card",this._selectedDeployedCard),this._emitMetaTagStrings("deployed-card")}_handleDeployedCardDisplay(t){let{card:e,cardRef:i}=t.detail;this.deployedCardSelected.emit({card:e,cardRef:i})}async _initializeTelemetry(){let t=this._configContextProvider.value;if(!this.authentication||!t)return;let e=await this._telemetryManager.initializeTelemetry(this.authentication,t);this._configContextProvider.value.telemetrySession=e}async _getSolutions(t,e){if(this._isDisconnectedEnvironment)return[];this._abortController?(this._abortController.abort(),this._abortController=new AbortController):this._abortController=new AbortController;let i=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested,num:100},t,e,this._configContextProvider.value.userSession,this._configContextProvider.value.isEnterprise,this._abortController.signal,{num:1e3});return this._abortController=void 0,this._allCards.length===0&&i?.cards&&(this._allCards=i?.cards),this._allCards}async _getDeployedSolution(t){let e=this._configContextProvider.value.authentication,i=this._configContextProvider.value.userSession;if(e&&i&&e.IsSignedIn){this._abortControllerDeployed?(this._abortControllerDeployed.abort(),this._abortControllerDeployed=new AbortController):this._abortControllerDeployed=new AbortController;let a=F(e);try{let l=await M(e,i,this._cardsFetcher,this._cardFetcherDeployed,D,"created","desc",!1,[],[],this._abortControllerDeployed.signal,a?"My organization's solutions":"My solutions",t);l.cards.length===0||l.cards[0].typeKeywords.indexOf("Deployed")<0?(this._deployCardFetchFailedMessage=this._translations.failedToFetchNotSolution.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):this._deployedSolutions=l}catch(l){let r=l.message;r.indexOf("CONT_0001")>-1||r.indexOf("Item does not exist or is inaccessible.")>-1?(this._deployCardFetchFailedMessage=this._translations.failedToFetchWrongId.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):r.indexOf("GWM_0003")>-1||r.indexOf("You do not have permissions to access this resource or perform this operation.")>-1?(this._deployCardFetchFailedMessage=this._translations.failedToFetchWrongPermissions.replace("{{ITEMID}}",t),this._showDeployedCardFetchFailed=!0):(this._showDeployedCardFetchFailed=!0,this._deployCardFetchFailedMessage=""),console.warn(l)}}}_blurTabs(){this._allTabTitle.value?.blur(),this._resourcesTabTitle.value?.blur(),this._detailsTabTitle.value?.blur(),this._mySolutionsTabTitle.value?.blur()}_isSearchToolbarShowing(){return this._activeTab==="all-solutions"||this._activeTab==="deployments"&&this.authentication?.IsSignedIn===!0}_getDefaultSearchOptions(t){let e;if(t){let i=t.domain,a=t.industry==="AEC"?x.AEC:t.industry,l=t.offerType,r=t.searchTerm,E="",d=t.sortField,h=t.owner,b=t.filter;e=i||a?{type:i?"domain":a?"industry":""}:void 0,i&&(e=e?{...e,domain:i}:{domain:i}),a&&(e=e?{...e,industry:a}:{industry:a}),r&&(e=e?{...e,searchTerm:r}:{searchTerm:r}),e&&(e={...e,displayValue:E}),d&&(e=e?{...e,sortType:d}:{sortType:d}),l&&(d=l.toLowerCase(),e=e?{...e,sortType:d}:{sortType:d}),h&&(e=e?{...e,owner:h}:{owner:h}),b&&(e=e?{...e,filter:b}:{filter:b})}return e}_setScrollbarGutters(){let t=this._detailsTab.value?.shadowRoot?.firstElementChild;t?.style&&(t.style.scrollbarGutter="stable both-edges");let e=this._deployedCardTab.value?.shadowRoot?.firstElementChild;e?.style&&(e.style.scrollbarGutter="stable both-edges")}_setRefreshInterval(){let{userSession:t,authentication:e}=this._configContextProvider.value;if(t&&t.tokenDuration&&e?.IsSignedIn){let i=Date.now(),a=(e.Credential?.expires-i)*.95;setInterval(async()=>{if(e.Credential&&e.Credential.expires){await e.Credential?.refreshToken();let l=new Date(e.Credential.expires);t.updateToken(e.Credential.token,l),this.sessionRefreshed.emit(t.token)}},a)}}};C("solutions-deploy-app",m);return m},"identity/IdentityManager","identity/OAuthInfo","portal/Portal",a,b,c,d,e,h,i,j,k,l,m,q)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as c};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import{a as i}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{a as i}from"./26K4UTAF.js";import{d as l}from"./3FMOO3PJ.js";import"./4HFHJOS3.js";import{a as r}from"./45M33Q5G.js";import{a as s}from"./NEKIHEPY.js";import"./UKXDAOCN.js";import"./D3WYLHYH.js";import"./MPGXSCG5.js";import"./TT5Y2WZP.js";import"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import"./N72IW5CX.js";import"./SNXCUFG4.js";import"./ZDGVCOLK.js";import"./FES7B3SJ.js";import"./4UBLWDFJ.js";import"./SBEC53RV.js";import"./LDQDYCD2.js";import"./RNAN4RW6.js";import"./W5V64SBG.js";import"./TTODV2R4.js";import"./CEZMBNEQ.js";import"./BJMJWUHS.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./QPIMTXPL.js";var d=async(e,a,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},!l("platform:portal:admin:createUpdateCapableGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isSharedUpdate.tooltip`}}),rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},!l("platform:portal:admin:createLeavingDisallowedGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isAdmin.tooltip`}}),rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:Object.assign(Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isOpenData.helperText`}},(!l("platform:opendata:user:designateGroup",t).access||a.access!=="public")&&{tooltip:{labelKey:`${e}.fields.isOpenData.tooltip`}}),{messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]}),rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!r(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,a,t)=>Object.assign(Object.assign({},i("hubGroup",t)),a);export{f as buildDefaults,d as buildUiSchema};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import{b as p,d as a,e as h,f as E}from"./CGLFPVBM.js";function n(r={}){return r.portal?E(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function mr(r){let t=`${T(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function xr(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function Ur(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Cr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),a(e,r)})}function Dr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return a(o,i)})}function Wr(r){let t=Object.assign({folderId:null},r);return z(t)}function Xr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function tt(r,t){let e=`${n(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=n(e)+o;return a(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function N(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function Ft(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Ht(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Kt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function Ot(r){return $(r,"group")}function qt(r){return $(r,"groupContent")}function oe(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,a(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Le(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function ao(r){return G(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(R(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),R(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(R(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function fo(r){return G(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function wo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,Ur as d,jr as e,Cr as f,Rr as g,Dr as h,z as i,Wr as j,ar as k,ir as l,mr as m,cr as n,Xr as o,Zr as p,M as q,tt as r,dr as s,hr as t,x as u,N as v,B as w,Ft as x,Ht as y,Jt as z,Kt as A,Ot as B,qt as C,oe as D,I as E,Le as F,ao as G,fo as H,wo as I,K as J,xr as K};
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{b as p,d as a,e as h,f as E}from"./JUUVYK2H.js";function n(r={}){return r.portal?E(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function mr(r){let t=`${T(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function xr(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function Ur(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Cr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),a(e,r)})}function Dr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return a(o,i)})}function Wr(r){let t=Object.assign({folderId:null},r);return z(t)}function Xr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function tt(r,t){let e=`${n(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=n(e)+o;return a(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function N(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function Ft(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Ht(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Kt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function Ot(r){return $(r,"group")}function qt(r){return $(r,"groupContent")}function oe(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,a(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Le(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function ao(r){return G(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(R(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),R(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(R(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function fo(r){return G(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function wo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,Ur as d,jr as e,Cr as f,Rr as g,Dr as h,z as i,Wr as j,ar as k,ir as l,mr as m,cr as n,Xr as o,Zr as p,M as q,tt as r,dr as s,hr as t,x as u,N as v,B as w,Ft as x,Ht as y,Jt as z,Kt as A,Ot as B,qt as C,oe as D,I as E,Le as F,ao as G,fo as H,wo as I,K as J,xr as K};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import"./QPIMTXPL.js";var e="You do not have enough credits to perform this operation. Contact your ArcGIS System Administrator for assistance.",a="This tool was published from a notebook. Access to ArcGIS Notebooks is blocked for your organization. Contact your administrator to adjust the setting.",r="${ dataPath } must not have ${ additionalProperty }.",t="${ dataPath } must match the schema of one of these: ${ schemaOptions }.",o="Try saving the map again.",i="Credit Estimation failed. Scroll down, correct the errors, and estimate the credits again.",s="An error occurred while running analysis.",n="${ dataPath } must be equal to one of these allowed values: ${ allowedValues }.",l="Failed to save analysis history",d="The history storage is full. Remove some items from analysis history and try saving again.",c="The service name contains one or more invalid characters.",m="Saving the temporary layer as a hosted feature layer did not complete.",h="The following privileges are required to run this tool: ${ privileges }. <calcite-link href='${docLink}' target='_blank'>Learn more</calcite-link>",u="Failed to get key properties.",y="Failed to load the layer.",p="Layer is not available.",f="${ dataPath } must not have more than ${ limit } items.",v="An error occurred while saving the model. Try saving again.",g="${ dataPath } must not have fewer than ${ limit } items.",E="${ dataPath } must not be shorter than ${ limit } characters.",P="Failed to load the model item. Ensure that the model exists and that access permission has been granted.",k="Failed to complete request.",S="You do not have permission to run this tool. <calcite-link target='_blank' href='${ docLink }'>Learn more</calcite-link>",b="Failed to log in to portal.",F="Failed to read input data.",T="${ dataPath } is missing a property named ${ missingProperty }.",$="A result layer already exists with this name. Result layers must be named uniquely across the organization. Please use a different name.",w="The output name contains one or more invalid characters. <calcite-link href='${docLink}' target='_blank'>Learn more</calcite-link>",L="Publishing the temporary layer as a hosted layer failed due to one or more invalid fields. Rerun the tool to create a layer with valid fields.",I="Job submission failed. Scroll down, correct the errors, and run the analysis again.",A="${ dataPath } must have at least one non-whitespace character.",q={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:i,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,insufficientPermissions:h,keyPropertiesError:u,layerLoadFailure:y,layerUnavailable:p,maxItems:f,mbFailedToSave:v,minItems:g,minLength:E,modelNotFound:P,networkError:k,noPermissionToAccessTool:S,portalLoadError:b,queryFeaturesError:F,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:w,temporaryLayerFieldsError:L,toolValidationError:I,whiteSpacePattern:A};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,i as creditEstimationError,q as default,s as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,h as insufficientPermissions,u as keyPropertiesError,y as layerLoadFailure,p as layerUnavailable,f as maxItems,v as mbFailedToSave,g as minItems,E as minLength,P as modelNotFound,k as networkError,S as noPermissionToAccessTool,b as portalLoadError,F as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,w as specialCharactersInServiceNameError,L as temporaryLayerFieldsError,I as toolValidationError,A as whiteSpacePattern};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import{a as l}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{a as l}from"./3TYPFWRB.js";import{b as h}from"./TAYHORLE.js";import"./DIKAKOU5.js";import"./S423P2GA.js";import{H as r,J as n,h as i,i as a}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";var c=i`:host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:.5rem .75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:.5em .7em;font-weight:400}`,m={content:"instant-apps-keyboard-shortcuts__content"},o=class extends r{constructor(){super(...arguments),this._messages=l({name:"instant-apps-keyboard-shortcuts",blocking:!0})}static{this.properties={view:0}}static{this.styles=c}_getMapViewCommands(){let t=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this._messages.mapShortcuts.N,show:t},{alias:"A",title:this._messages.mapShortcuts.A,show:t},{alias:"D",title:this._messages.mapShortcuts.D,show:t},{alias:"+",title:this._messages.mapShortcuts.plus,show:!0},{alias:"-",title:this._messages.mapShortcuts.minus,show:!0}]:[];return this._messages?e.filter(s=>s.show):[]}_getSceneViewCommands(){let t=this.view?.type==="3d"&&this.view.viewingMode==="global",e=this._messages?[{alias:this._messages.mapShortcuts.arrowKeys,title:this._messages.mapShortcuts.nudge,show:!!t},{alias:"P",title:this._messages.sceneShortcuts.P,show:!0},{alias:"N",title:this._messages.sceneShortcuts.N,show:!0},{alias:"W",title:this._messages.sceneShortcuts.W,show:!0},{alias:"A",title:this._messages.sceneShortcuts.A,show:!0},{alias:"D",title:this._messages.sceneShortcuts.D,show:!0},{alias:"S",title:this._messages.sceneShortcuts.S,show:!0},{alias:"J",title:this._messages.sceneShortcuts.globalCommands.J,show:!!t},{alias:"U",title:this._messages.sceneShortcuts.globalCommands.U,show:!!t}]:[];return this._messages?e.filter(s=>s.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}render(){let t=this.view?.type==="2d"||!this.view?this._getMapViewCommands():this._getSceneViewCommands(),e=this._isMacLike()?"Option":"Alt";return a`<calcite-block tabindex=0 open class=${n(m.content)} .heading=${this._messages.generalShortcuts?.label} .label=${this._messages.generalShortcuts?.label}><table>${this.renderTableHeader()}<tr><td>${`${e} + M`}</td><td>${this._messages.generalShortcuts?.title}</td></tr></table><calcite-label>${this._messages.generalShortcuts?.title}</calcite-label><table>${this.renderTableHeader()}${t.map(s=>a`<tr><td>${s.alias}</td><td>${s.title}</td></tr>`)}</table></calcite-block>`}renderTableHeader(){return this._messages?a`<tr><th>${this._messages.generalShortcuts?.shortcut}</th><th>${this._messages.generalShortcuts?.action}</th></tr>`:null}};h("instant-apps-keyboard-shortcuts",o);export{o as InstantAppsKeyboardShortcuts};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import{v as a}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{v as a}from"./73AX72WY.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import d from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import d from"./5KD4GK7Y.js";import c from"./P4FX4W2X.js";import b from"./KGUELU4O.js";import a from"./36HEIJAI.js";import{a as p}from"./AA7X6GKH.js";import{a as _}from"./3TYPFWRB.js";import{b as h}from"./TAYHORLE.js";import"./DIKAKOU5.js";import"./S423P2GA.js";import{H as v,J as u,h as m,i as r}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";export default $arcgis.t(([f,,,{a:s,b:x},{c:d,e:y,h:I,m:$,n:C,p:T,q:b,t:L}])=>{var w=m`:host{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact .instant-apps-interactive-legend__total-feature-count{font-size:.75rem}:host:dir(rtl){margin-left:0;margin-right:auto}`,c={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},g=class extends v{constructor(){super(...arguments),this._messages=_({name:"instant-apps-interactive-legend"}),this.showTotal=!1,this.categoryId=""}static{this.properties={showTotal:5,legendvm:0,activeLayerInfo:0,categoryId:1,infoIndex:9,selected:5,legendElement:0}}static{this.styles=w}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}getCount(){let{categoryId:e}=this,a=this.activeLayerInfo.layer.id,o=s.data[a]?.categories?.size;if((!s.data||!a||!e)&&!o)return"";let i=s.data[a];if(!i)return;let{categories:l}=i,t=l.get(e),n;return t?.nestedInfos?n=T(t,this.infoIndex):n=t,Number.isNaN(n.count)?"":f.formatNumber(n.count)}getTotalFeatureCount(){let e=this.activeLayerInfo.layer.id;if(!s.data||!e)return"";let a=s.data[e];if(!a)return;let{categories:o}=a,i=d(o),l=b(o),t;if(l)t=C(i);else if(I(this.activeLayerInfo)){let n=y(this.activeLayerInfo.layer);t=d(n.categories)[1].count}else t=$(i);return f.formatNumber(t)}render(){let e=x.get("compact")?c.compact:"";return p("int-legend-count",r`<div class=${u(e)}>${this.showTotal?r`<span class=${u(c.totalFeatureCount)}>${this._messages?.totalFeatureCount}: ${this.getTotalFeatureCount()}</span>`:p("element-info-count",r`<span class=${`${c.countText} ${L(this.el)}${this.selected?c.countTextSelected:""}`}>${this.getCount()}</span>`)}</div>`)}};h("instant-apps-interactive-legend-count",g);return g},"intl",a,b,c,d)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import{a as s}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{a as s}from"./FTMEQQF5.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import{a as i,b as a}from"./CZKXDUOH.js";import"./SC5EOUVT.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import{a as o}from"./DKB6JTUF.js";import{a as r}from"./7DVOR4SY.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./NEKIHEPY.js";import"./UKXDAOCN.js";import"./D3WYLHYH.js";import"./MPGXSCG5.js";import"./TT5Y2WZP.js";import"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import"./N72IW5CX.js";import"./SNXCUFG4.js";import"./ZDGVCOLK.js";import"./FES7B3SJ.js";import"./4UBLWDFJ.js";import"./SBEC53RV.js";import"./LDQDYCD2.js";import"./RNAN4RW6.js";import"./W5V64SBG.js";import"./TTODV2R4.js";import"./CEZMBNEQ.js";import"./BJMJWUHS.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./QPIMTXPL.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"discussion",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await i(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),mapTools:["polygon","rectangle"],noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.details.label`,elements:[{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{control:"hub-field-input-input",type:"textarea",messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]}]});export{u as buildUiSchema};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import{d as s}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{d as s}from"./3FMOO3PJ.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import"./QPIMTXPL.js";var a=async(e,r,l)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.groupAccess.label`,scope:"/properties/_associations/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.groupAccess.helperText`},labels:[`{{${e}.fields.groupAccess.private.label:translate}}`,`{{${e}.fields.groupAccess.org.label:translate}}`,`{{${e}.fields.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.groupAccess.private.description:translate}}`,`{{${e}.fields.groupAccess.org.description:translate}}`,`{{${e}.fields.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/_associations/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org:translate}}`,`{{${e}.fields.membershipAccess.collab:translate}}`,`{{${e}.fields.membershipAccess.any:translate}}`],disabled:[!1,!s("platform:portal:user:addExternalMembersToGroup",l).access,!s("platform:portal:user:addExternalMembersToGroup",l).access]}}]}]});export{a as buildUiSchema};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import{a as e,b as i,c as l,d as s,e as t}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{a as e,b as i,c as l,d as s,e as t}from"./HJ4N3RZN.js";import{a as r}from"./NEKIHEPY.js";import"./UKXDAOCN.js";import"./D3WYLHYH.js";import"./MPGXSCG5.js";import"./TT5Y2WZP.js";import"./JBGQX4DF.js";import"./OQWMBY4L.js";import"./MHD543E6.js";import"./N72IW5CX.js";import"./SNXCUFG4.js";import"./ZDGVCOLK.js";import"./FES7B3SJ.js";import"./4UBLWDFJ.js";import"./SBEC53RV.js";import"./LDQDYCD2.js";import"./RNAN4RW6.js";import"./W5V64SBG.js";import"./TTODV2R4.js";import"./CEZMBNEQ.js";import"./BJMJWUHS.js";import"./NPZQAHW4.js";import"./FKCIW6NV.js";import"./YF26KIY5.js";import"./QPIMTXPL.js";var d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",clearOnHidden:!0,type:"number",messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import g from"./WHXMHZL4.js";import e from"./4FBEUQIB.js";import"./US5FON7D.js";import"./KV4JOMXV.js";import"./VVZAS55G.js";import"./TAYHORLE.js";import d from"./OVKFYACI.js";import"./QHG54NVK.js";import"./DLBZRD4H.js";import"./HBQN25RR.js";import c from"./CEP54NLT.js";import a from"./YVNP437O.js";import{a as y}from"./3AQ7U2PF.js";import"./DIKAKOU5.js";import"./S423P2GA.js";import"./TEHBW75B.js";import"./KU62OLRE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./B3R52L7H.js";import"./BDXIKPLU.js";import"./G2ME4BAQ.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./73AX72WY.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as u}from"./NDUAEC62.js";import{G as f,H as b,h as p,i as m}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";export default $arcgis.t(([])=>{var v=p`.height-51{height:51px}.width-51{width:51px}`,h=class extends b{constructor(){super(),this._translations=y({name:"field-selection",blocking:!0}),this._fieldSortOrder="default",this._selectedFields=[],this._fieldVisibilityPopoverClickHandler=i=>{this._fieldVisibilityPopoverNode?this._isInNode(i.target,"arcgis-field-pick-list")||(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0,document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler)):document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler)},this.listenOn(window,"columnReorder",this.handleColumnReorder,{capture:!0})}static{this.properties={configExtraFields:1,layer:0,mapView:0,table:0,tableRef:0,_translations:16}}static{this.styles=v}render(){return m`<calcite-action alignment=center appearance=solid class="height-51 width-51" id=solutions-field-selection .text=${this._translations.fieldVisibility} scale=m @click=${()=>this._handleFieldVisibilityClick()} @mouseover=${()=>this._addTableTooltip(this._fieldVisibilityActionNode,this._translations.fieldVisibility)} @mouseout=${()=>this._removeTableTooltip()} @focus=${()=>this._addTableTooltip(this._fieldVisibilityActionNode,this._translations.fieldVisibility)} ${f(i=>this._fieldVisibilityActionNode=i)}><calcite-icon scale=s icon=gear></calcite-icon></calcite-action>`}handleColumnReorder(){this._fieldSortOrder="default",this._fieldVisibilityPopoverNode&&(this.removeFieldsPickList(),this._handleFieldVisibilityClick())}_handleFieldVisibilityClick(){if(this._fieldVisibilityPopoverNode)return;let i=this.table?.tableTemplate?.columnTemplates;if(this.layer&&this.mapView&&i&&this._fieldVisibilityActionNode){document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler);let t=this.table.fieldColumns.map(l=>({alias:l.field.alias,description:l.field.description,name:l.field.name,type:l.field.type}));if(this._hasAttachmentsEnabled(this.layer)){let l="Attachments";if(this._shouldShowField(l.toUpperCase(),!1)){if(!i.some(s=>s.fieldName.toUpperCase()===l.toUpperCase())){let s={fieldName:l,type:"attachment",visible:!0};i.push(s)}t.push({name:l,alias:"Photos and files",type:"none",description:l})}}if(this.table.relatedRecordsEnabled&&this.layer.relationships&&this.layer.relationships.length>0){let l=this.layer.parent;this.layer.relationships.forEach(s=>{let o,d=this._shouldShowField(s.name||"",!0);if(!i.some(a=>a.fieldName.toLowerCase()===s.name?.toLowerCase()?(o=s.name,!0):!1))if(s.name){o=s.name;let a={fieldName:o,type:"relationship",visible:!0};d=this._shouldShowField(o,!0),i.push(a)}else{let a=[...l?.layers||[],...l?.tables],c;if(a.some(n=>n.layerId===s.relatedTableId?(c=n,!0):!1),c){o=c.title,s.name=o;let n={fieldName:o,type:"relationship",visible:!0};d=this._shouldShowField(o,!0),i.push(n)}}o&&d&&t.push({name:o,alias:`Related ${o}`,type:"none",description:`related:${o}`})})}let e=this._fieldVisibilityPopoverNode?this._fieldVisibilityPopoverNode:document.createElement("arcgis-field-pick-list");e.layer=this.layer,e.fields=t,e.showFieldInfo=!0,e.showFieldName=!0,e.showDescription=!1,e.showSelectionAll=!0,e.hideCancel=!0,e.hideSort=!1,e.showFilterLength=5,e.multiple=!0,e.heading=this._translations.fieldVisibility,e.okBtnText=this._translations.doneWithFieldChanges,e.filterPlaceholderText=this._translations.filterFields,e.sortBy=this._fieldSortOrder??"default";let r=this.table?.visibleColumns.map(l=>l.fieldName.startsWith("EsriFeatureTableRelationshipColumn")||l.fieldName.startsWith("EsriFeatureTableAttachmentsColumn")?l.effectiveLabel:l.fieldName);e.selectedFields=i.reduce((l,s)=>((r?r.indexOf(s.fieldName)>-1:s.visible)&&l.push(s.fieldName),l),[]),this._selectedFields=e.selectedFields,e.style.minHeight="340px",e.popoverProps={refElement:this._fieldVisibilityActionNode,popoverWidth:300,placement:"bottom-end",offsetDistance:-20,triggerDisabled:!1,autoClose:!1},e.addEventListener("arcgisChange",l=>{l.stopPropagation();let s=l.detail.selectedFields,o=this._getDifference(s,this._selectedFields),d=this._getDifference(this._selectedFields,s);o.concat(d).forEach(a=>{let c=this.layer?.relationships?.map(n=>n.name)||[];if(a==="Attachments"){let n=this.table.columns.find(_=>"onShowAttachments"in _);n.hidden=d.indexOf(a)>-1}else c.indexOf(a)>-1?this.table.columns.filter(n=>"relationshipId"in n).forEach(n=>{d.indexOf(a)>-1,a==n.effectiveLabel&&(n.hidden=d.indexOf(a)>-1)}):this.table.toggleColumnVisibility(a)}),this._selectedFields=s,this._updateTable(this.table.tableTemplate)}),e.addEventListener("arcgisSortByChange",l=>{l.stopPropagation(),this._fieldSortOrder=l.detail,this._sortFields(l.detail)}),e.addEventListener("arcgisClose",()=>{this._closePopovers(),setTimeout(()=>this._fieldVisibilityActionNode.setFocus(),200)}),document.body.appendChild(e),this._fieldVisibilityPopoverNode=e,setTimeout(()=>document.addEventListener("click",this._fieldVisibilityPopoverClickHandler),200)}}_shouldShowField(i,t){return(this.configExtraFields||[]).some(e=>t?e.replace("related:","").toUpperCase()===i.toUpperCase():e.toUpperCase()===i.toUpperCase())}removeFieldsPickList(){this._fieldVisibilityPopoverNode&&(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0)}_sortFields(i){let t=this.table.tableTemplate.columnTemplates,e=this._getSortOrder(i),r=t.filter(s=>s.type!=="attachment"&&s.type!=="relationship").sort((s,o)=>{let d=e.indexOf(s.fieldName),a=e.indexOf(o.fieldName);return d===-1&&a!==-1?1:d!==-1&&a===-1?-1:d===-1&&a===-1?0:d-a}),l=t.filter(s=>s.type==="attachment"||s.type==="relationship");this.tableRef.setColumnOrder([...r,...l]),this._updateTable(this.table.tableTemplate)}_getSortOrder(i){let t=[...this.layer.fields];return i==="display"?t.sort((e,r)=>e.alias.localeCompare(r.alias)):i==="field"?t.sort((e,r)=>e.name.localeCompare(r.name)):i==="type"&&t.sort((e,r)=>e.type.localeCompare(r.type)),t.map(e=>e.name)}_getDifference(i,t){return i.filter(e=>!t.includes(e))}_updateTable(i){this.table.tableTemplate=i,this._isStandardView()&&this._syncAttributeTableTemplate()}async _syncAttributeTableTemplate(){let i=this.table.layer;if(i.attributeTableTemplate){let{_modules:t}=this,e=i.attributeTableTemplate.clone();t?.attributeTableTemplateUtils.syncAttributeTableTemplate(this.table,e),JSON.stringify(e)!==JSON.stringify(i.attributeTableTemplate)&&(i.attributeTableTemplate=e)}if(i.attributeTableTemplate?.orderByFields?.length>1){let t=i.attributeTableTemplate.clone(),e=this.table.activeSortOrders[0];t.orderByFields=[{field:e.fieldName,order:e.direction}],i.attributeTableTemplate=t,this._syncColumnDirectionsWithOrderByFields()}}_syncColumnDirectionsWithOrderByFields(){let i=this.table.activeSortOrders[0]?.fieldName;this.table.columns.forEach(t=>{"fieldName"in t&&t.fieldName!==i&&(t.direction=void 0)}),this.table.tableTemplate?.columnTemplates.forEach(t=>{"fieldName"in t&&t.fieldName!==i&&(t.direction=void 0)})}_isStandardView(){return!this.table.relatedTable&&!this.table.attachmentsViewOptions.objectId}_closePopovers(){document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler),this._fieldVisibilityPopoverNode&&(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0)}_addTableTooltip(i,t){let e=document.createElement("calcite-tooltip");e.className="table-tooltip",e.referenceElement=i,e.placement="trailing-start",e.open=!0;let r=document.createElement("div");r.className="tooltip",r.innerHTML=t,e.append(r),document.body.append(e)}_removeTableTooltip(){document.querySelectorAll(".table-tooltip").forEach(i=>i.parentNode?.removeChild(i))}_isInNode(i,t){for(;i;){if(i.nodeName===t.toUpperCase())return!0;i=i.parentElement}return!1}_hasAttachmentsEnabled(i){if(!i?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:e}}}=i;return t&&e}};u("field-selection",h);return h},a,c,d,e,g)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import"./QPIMTXPL.js";var l=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{helperText:{labelKey:`${e}.fields.prompt.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]});export{l as buildUiSchema};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import{d as u}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{d as u}from"./ZIVKAX4G.js";import{b as n}from"./NDUAEC62.js";import{F as d,G as c,H as o,J as l,h as s,i as a}from"./P4KZ6OZF.js";import"./QPIMTXPL.js";var p=s`:host{display:block;--calcite-label-margin-bottom: 0}.label-display{display:block;padding-bottom:1rem}.display-flex{display:flex}.display-grid{display:grid}.display-none{display:none}.padding-top-1{padding-top:1rem}.main-input{width:300px;padding-inline-end:1rem}.float-end{float:inline-end}.position-relative{position:relative}.position-right{position:absolute;right:0}`,i=class extends o{constructor(){super(...arguments),this.showAddDeduct=!1,this._deductValuesElement=d()}static{this.properties={showAddDeduct:16}}static{this.styles=p}render(){let e=this.showAddDeduct?"display-none":"display-grid",t=this.showAddDeduct?"position-relative":"display-none";return a`<div class=${l(e)}><div class="label-display"><calcite-label class="label-display">\r\n Enter comma delimited deduct values${this._getDeductValuesInput()}</calcite-label></div><div>${this._getCalculateButton()}</div></div><div class=${l(t)}><div class="position-right"><calcite-action appearance=transparent class="float-end" icon=x @click=${()=>this._toggleShowAddDeduct()} scale=s text></calcite-action></div><deduct-calculator class="display-grid padding-top-1" @deductValueComplete=${this._addDeductValue}></deduct-calculator></div>`}_getDeductValuesInput(){return a`<div class="display-flex"><calcite-input class="main-input" ${c(this._deductValuesElement)}></calcite-input><calcite-action appearance=transparent icon=plus-circle @click=${()=>this._toggleShowAddDeduct()} scale=s text></calcite-action></div>`}_getCalculateButton(){return this._deductValuesElement.value?a`<calcite-button @click=${()=>this._calculatePCI(this._deductValuesElement?.value?.value||"")}>\r\n Calculate PCI</calcite-button>`:void 0}_toggleShowAddDeduct(){this.showAddDeduct=!this.showAddDeduct}_addDeductValue(e){this._toggleShowAddDeduct(),this._deductValuesElement.value&&(this._deductValuesElement.value.value+=Math.abs(Number.parseFloat(this._deductValuesElement.value.value))>0?`,${e.detail}`:e.detail)}_calculatePCI(e){let t=u(e,!0),r=t<=10?"Failed":t<=25?"Serious":t<=40?"Very Poor":t<=55?"Poor":t<=70?"Fair":t<=85?"Satisfactory":"Good";console.log(`PCI: ${t}`),console.log(`Rating: ${r}`),alert("See debug console for results")}};n("pci-calculator",i);export{i as PciCalculator};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
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,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import{B as o,l as r,x as s,y as i}from"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{B as o,l as r,x as s,y as i}from"./P4KZ6OZF.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,2 +1,2 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.
|
|
2
|
-
import"./
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import"./QPIMTXPL.js";var a="Anda tidak memiliki cukup kredit untuk melakukan pengoperasian ini. Hubungi Administrator Sistem ArcGIS Anda untuk mendapatkan bantuan.",e="Alat ini diterbitkan dari notebook. Akses ke ArcGIS Notebooks diblokir untuk organisasi Anda. Hubungi administrator Anda untuk menyesuaikan pengaturan.",i="${ dataPath } tidak boleh memiliki ${ additionalProperty }.",r="${ dataPath } harus cocok dengan skema salah satu dari ini: ${ schemaOptions }.",n="Coba simpan peta lagi.",t="Perkiraan kredit gagal. Gulir ke bawah, perbaiki kesalahan, dan perkirakan kreditnya lagi.",s="Terjadi kesalahan saat menjalankan analisis.",l="${ dataPath } harus sama dengan salah satu nilai yang diizinkan ini: ${ allowedValues }.",o="Gagal menyimpan riwayat analisis",d="Penyimpanan riwayat penuh. Hapus beberapa item dari riwayat analisis dan coba simpan lagi.",k="Nama layanan mengandung satu atau lebih karakter yang tidak valid.",m="Penyimpanan layer sementara sebagai feature layeryang dihosting tidak selesai.",u="Hak istimewa berikut diperlukan untuk menjalankan alat ini: ${ privileges }. <calcite-link href='${docLink}' target='_blank'>Pelajari selengkapnya</calcite-link>",c="Gagal mendapatkan properti kunci.",p="Gagal memuat layer.",g="Layer tidak tersedia.",y="${ dataPath } tidak boleh memiliki lebih dari ${ limit } item.",h="Terjadi kesalahan saat menyimpan model. Coba menyimpan lagi.",b="${ dataPath } tidak boleh memiliki kurang dari ${ limit } item.",P="${ dataPath } tidak boleh lebih pendek dari ${ limit } karakter.",E="Gagal memuat item model. Pastikan model tersebut ada dan izin akses telah diberikan.",f="Gagal menyelesaikan permintaan.",v="Anda tidak memiliki izin untuk menjalankan alat ini. <calcite-link target='_blank' href='${ docLink }'>Pelajari selengkapnya</calcite-link>",S="Gagal masuk ke portal.",$="Gagal membaca input data.",I="${ dataPath } tidak memiliki properti bernama ${ missingProperty }.",L="Layer hasil sudah ada dengan nama ini. Layer hasil harus bernama unik di seluruh organisasi. Silakan gunakan nama yang berbeda.",T="Nama luaran berisi satu karakter tidak valid atau lebih. <calcite-link href='${docLink}' target='_blank'>Pelajari selengkapnya</calcite-link>",F="Gagal menerbitkan layer sementara sebagai layer yang dihosting karena satu atau beberapa kolom tidak valid. Jalankan kembali alat untuk membuat layer dengan kolom yang valid.",A="Pengiriman pekerjaan gagal. Gulir ke bawah, perbaiki kesalahan, dan jalankan analisis lagi.",G="${ dataPath } harus memiliki setidaknya satu karakter non-spasi.",w={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:n,creditEstimationError:t,defaultError:s,enumValues:l,failedToSaveHistory:o,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:k,hostedFeatureServicePublishDidNotComplete:m,insufficientPermissions:u,keyPropertiesError:c,layerLoadFailure:p,layerUnavailable:g,maxItems:y,mbFailedToSave:h,minItems:b,minLength:P,modelNotFound:E,networkError:f,noPermissionToAccessTool:v,portalLoadError:S,queryFeaturesError:$,requiredProperty:I,serviceNameExistsError:L,specialCharactersInServiceNameError:T,temporaryLayerFieldsError:F,toolValidationError:A,whiteSpacePattern:G};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,n as cannotWriteToItemResource,t as creditEstimationError,w as default,s as defaultError,l as enumValues,o as failedToSaveHistory,d as fullSessionStorage,k as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as insufficientPermissions,c as keyPropertiesError,p as layerLoadFailure,g as layerUnavailable,y as maxItems,h as mbFailedToSave,b as minItems,P as minLength,E as modelNotFound,f as networkError,v as noPermissionToAccessTool,S as portalLoadError,$ as queryFeaturesError,I as requiredProperty,L as serviceNameExistsError,T as specialCharactersInServiceNameError,F as temporaryLayerFieldsError,A as toolValidationError,G as whiteSpacePattern};
|