@esri/solutions-components 1.2.0-next.34 → 1.2.0-next.35
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/{VXPA67GC.js → 23FGLOT6.js} +2 -2
- package/dist/cdn/{EOOBQIA2.js → 2ER7UUJH.js} +2 -2
- package/dist/cdn/{TFNMHUQT.js → 2HPBUJHT.js} +2 -2
- package/dist/cdn/{KHTTDFVU.js → 2LENHCY2.js} +2 -2
- package/dist/cdn/{XCMPXHCA.js → 2M6JD42W.js} +2 -2
- package/dist/cdn/{2QBKWEIM.js → 2NT2F4WJ.js} +2 -2
- package/dist/cdn/{JAOILMT7.js → 2SG2PXGL.js} +2 -2
- package/dist/cdn/{73446GRL.js → 2VKMKYL6.js} +2 -2
- package/dist/cdn/{JCEVVIDH.js → 33Q4FILP.js} +2 -2
- package/dist/cdn/{5QWDKKLZ.js → 3DIJDENJ.js} +2 -2
- package/dist/cdn/{FNNQQYOI.js → 3FJ2NMMC.js} +1 -1
- package/dist/cdn/{KDTIXLCZ.js → 3JM3B4OX.js} +2 -2
- package/dist/cdn/{AGT757RJ.js → 3L7BNK46.js} +2 -2
- package/dist/cdn/{LLUIWEZV.js → 3MZHBNPF.js} +2 -2
- package/dist/cdn/{LU5GL2ZF.js → 3N25OU3J.js} +1 -1
- package/dist/cdn/{LEIH4UWZ.js → 3NXTQ2LG.js} +2 -2
- package/dist/cdn/{5GZAANOB.js → 3YO3ZWJZ.js} +2 -2
- package/dist/cdn/{OVVWMJE4.js → 3YRAWZUZ.js} +2 -2
- package/dist/cdn/{VYEIMCBI.js → 452H4YLI.js} +2 -2
- package/dist/cdn/{VPO25SO4.js → 46X2JXUZ.js} +1 -1
- package/dist/cdn/{EAWLDJSC.js → 47BDB4P2.js} +2 -2
- package/dist/cdn/{6A42VKPA.js → 47THXKD7.js} +2 -2
- package/dist/cdn/{7LGRI6GW.js → 4ETO6FSU.js} +2 -2
- package/dist/cdn/{2TBJIVOA.js → 4HYUCEEW.js} +2 -2
- package/dist/cdn/{TDUQFA5L.js → 4I5EVC4E.js} +2 -2
- package/dist/cdn/{3DHQ76NQ.js → 4JD2T6JR.js} +1 -1
- package/dist/cdn/{CNCJWC6I.js → 4JWEF3A7.js} +2 -2
- package/dist/cdn/{ONTP6TM4.js → 4XK3CYJA.js} +2 -2
- package/dist/cdn/{KTHCJ5IQ.js → 53RDOENQ.js} +2 -2
- package/dist/cdn/{W3EAO7NJ.js → 54D2Q7JB.js} +2 -2
- package/dist/cdn/{5MT6NL2Q.js → 57J42JUN.js} +2 -2
- package/dist/cdn/5A26Z5P3.js +4 -0
- package/dist/cdn/{ZB52SQNM.js → 5IFWWA3H.js} +2 -2
- package/dist/cdn/5OZR325I.js +4 -0
- package/dist/cdn/{3QXT7T26.js → 5QCLOSQV.js} +2 -2
- package/dist/cdn/{ZHT6MJDE.js → 5SSW7Y3K.js} +2 -2
- package/dist/cdn/{ZB4YA22J.js → 5V5ZHMSG.js} +2 -2
- package/dist/cdn/{NKYU4MSO.js → 5VBN7ISR.js} +2 -2
- package/dist/cdn/{54ZJUMVR.js → 5WJ6ZL2F.js} +2 -2
- package/dist/cdn/65WJMWR3.js +4 -0
- package/dist/cdn/{INGRXODK.js → 66IIONNC.js} +2 -2
- package/dist/cdn/{N24P3HVG.js → 66NEFBOE.js} +1 -1
- package/dist/cdn/{RKHX6QQM.js → 6EDB6GK3.js} +1 -1
- package/dist/cdn/{YXPRMLOT.js → 6EPLFGYN.js} +2 -2
- package/dist/cdn/6KJSUNIO.js +4 -0
- package/dist/cdn/{6VIATGSH.js → 6UZSVHNV.js} +1 -1
- package/dist/cdn/{N4SMCTUB.js → 6W4SZKHC.js} +1 -1
- package/dist/cdn/{33F3VWDD.js → 6WG5PP6R.js} +2 -2
- package/dist/cdn/{AFXSKQWN.js → 726Z6HOK.js} +2 -2
- package/dist/cdn/{YPMTG73J.js → 7A2PBJ4H.js} +2 -2
- package/dist/cdn/{FSYNFTCQ.js → 7HTC5YEL.js} +2 -2
- package/dist/cdn/{RSG7CHOY.js → 7LPAPZPU.js} +2 -2
- package/dist/cdn/{RUCDWTIK.js → 7PAF7CNO.js} +2 -2
- package/dist/cdn/{ZJDXHGW4.js → 7R3HFPO5.js} +2 -2
- package/dist/cdn/{FOKZQBTA.js → 7W6EJX6E.js} +2 -2
- package/dist/cdn/A7OPEKUN.js +4 -0
- package/dist/cdn/{U2WCDU3W.js → AAXE4NNV.js} +2 -2
- package/dist/cdn/AG3TIL56.js +4 -0
- package/dist/cdn/{FA74UJFM.js → AKMP3RHE.js} +2 -2
- package/dist/cdn/{JN2OHDE2.js → APZG4DQ2.js} +2 -2
- package/dist/cdn/{COXZMT2H.js → AS7FG6KA.js} +2 -2
- package/dist/cdn/{AY4AEKUA.js → ASXBKBK2.js} +2 -2
- package/dist/cdn/{TTU62G4V.js → AZJVG23H.js} +2 -2
- package/dist/cdn/{UVSWJKKA.js → B3R6WK5M.js} +2 -2
- package/dist/cdn/{2HNHDLLD.js → B4CMZXG3.js} +2 -2
- package/dist/cdn/{XDI2QZAF.js → B5DG7MHH.js} +2 -2
- package/dist/cdn/{UDA4TEBI.js → BCESZOJS.js} +2 -2
- package/dist/cdn/{NGZEHVDV.js → BEG2TOQV.js} +2 -2
- package/dist/cdn/{H4W3H7JE.js → BKCHP3B5.js} +2 -2
- package/dist/cdn/{QU5Q6OUG.js → BKDFIGQN.js} +2 -2
- package/dist/cdn/{36DMKWXW.js → BKJHOEZU.js} +2 -2
- package/dist/cdn/{KKEZCXRH.js → BKZWROLB.js} +2 -2
- package/dist/cdn/{453K2O5S.js → BPI6FZ7H.js} +2 -2
- package/dist/cdn/{BY2BPLG4.js → BVLBXGUG.js} +2 -2
- package/dist/cdn/{XGFOKAXS.js → C27WWRWN.js} +2 -2
- package/dist/cdn/{DKWBBBIG.js → C2ZOVOPY.js} +2 -2
- package/dist/cdn/{MDB7PE2N.js → C3VVC4C4.js} +2 -2
- package/dist/cdn/{QPDJBF6S.js → CAFWZN3Q.js} +2 -2
- package/dist/cdn/{6UXN74YB.js → CFTWPEYJ.js} +2 -2
- package/dist/cdn/{ZSOCS3JZ.js → CJ2LQ2KZ.js} +2 -2
- package/dist/cdn/{Y645V74D.js → CJ55BFN4.js} +2 -2
- package/dist/cdn/{DDYV66NI.js → CJDJS6PW.js} +2 -2
- package/dist/cdn/{MNKUIROE.js → CLQS3XZJ.js} +2 -2
- package/dist/cdn/{DW2QZ4LJ.js → CN56TZC4.js} +1 -1
- package/dist/cdn/{Y7P6VDIZ.js → CNIGVYFK.js} +2 -2
- package/dist/cdn/{6FUGUE7I.js → CZG4YI7M.js} +2 -2
- package/dist/cdn/{PGQEE7XP.js → D4GTHJLZ.js} +2 -2
- package/dist/cdn/{JUXSWUVP.js → D73JDJX5.js} +2 -2
- package/dist/cdn/{N2WO4RT4.js → DFEAJG43.js} +2 -2
- package/dist/cdn/DKCAZENN.js +4 -0
- package/dist/cdn/{64P7N57F.js → DLCSMGPX.js} +2 -2
- package/dist/cdn/{J6NMGSIH.js → DOOGD72N.js} +2 -2
- package/dist/cdn/{TIOJKKYA.js → DQA76X3J.js} +2 -2
- package/dist/cdn/{JJLBIDUY.js → DVEWQYBN.js} +1 -1
- package/dist/cdn/{52KJMK5B.js → DYGURLI3.js} +2 -2
- package/dist/cdn/{DTWM7QLC.js → E2OWCPHL.js} +2 -2
- package/dist/cdn/{WBXHM3I4.js → E3SSTVN6.js} +2 -2
- package/dist/cdn/{MWUIIOG3.js → E4DP6L26.js} +2 -2
- package/dist/cdn/{AHSEOS5I.js → EAPEHWA6.js} +2 -2
- package/dist/cdn/{ACDLV7D7.js → EBGWAP5Z.js} +2 -2
- package/dist/cdn/{ZVGCF6VZ.js → EECYCFWL.js} +2 -2
- package/dist/cdn/{CF4GBLZP.js → EEIXNMVO.js} +2 -2
- package/dist/cdn/{KGO6GMF4.js → EJP6XSNT.js} +2 -2
- package/dist/cdn/{IDO34C5U.js → EO22SHSN.js} +2 -2
- package/dist/cdn/{AM4LOLEV.js → EWRCYITS.js} +1 -1
- package/dist/cdn/{SITMWG7L.js → EYPYJLO3.js} +2 -2
- package/dist/cdn/{M6W6YYJS.js → F2E4GD3J.js} +2 -2
- package/dist/cdn/{HVEINJVI.js → F4ANZSV2.js} +1 -1
- package/dist/cdn/{IDCXOE3R.js → F57FN2B7.js} +2 -2
- package/dist/cdn/{ISRR3DYM.js → F62APU22.js} +2 -2
- package/dist/cdn/{JOFZ25CT.js → F7MGFTCQ.js} +2 -2
- package/dist/cdn/{NJUQHSJT.js → FCD4N3ZW.js} +2 -2
- package/dist/cdn/{FJUL6F4P.js → FDERPD3Z.js} +2 -2
- package/dist/cdn/{JCRC7YMP.js → FGVNYPS4.js} +2 -2
- package/dist/cdn/{W44GW72J.js → FIZY6G5H.js} +2 -2
- package/dist/cdn/{QMO757OK.js → FJ5COB3V.js} +2 -2
- package/dist/cdn/{INZD67FO.js → FPO2DWSK.js} +2 -2
- package/dist/cdn/FTKOEAFC.js +4 -0
- package/dist/cdn/{34WAOHR7.js → FY4NHLO7.js} +2 -2
- package/dist/cdn/{IQBBFL2E.js → G3BITZ2H.js} +2 -2
- package/dist/cdn/{HMD5EJVZ.js → GBVCSYHJ.js} +2 -2
- package/dist/cdn/{7S3SQNS3.js → GF5XRNMK.js} +2 -2
- package/dist/cdn/{6Y2HETHC.js → GG2UJSZY.js} +2 -2
- package/dist/cdn/{26RSNUPA.js → GHWKVBNL.js} +2 -2
- package/dist/cdn/{CNJLLX4Y.js → GIN3MYSZ.js} +2 -2
- package/dist/cdn/{7P643IZV.js → GKVHUWB4.js} +2 -2
- package/dist/cdn/{TQTRN6V3.js → GOLYOFYE.js} +2 -2
- package/dist/cdn/{I3OWV354.js → GOQMLFFQ.js} +2 -2
- package/dist/cdn/{Z6FXEE7W.js → GP3PPM7C.js} +2 -2
- package/dist/cdn/{CAY7ISOH.js → GPS7M3MZ.js} +2 -2
- package/dist/cdn/{RCGBBO2K.js → GT2JLUV4.js} +2 -2
- package/dist/cdn/{NT3B5FQT.js → GWNEUXVW.js} +2 -2
- package/dist/cdn/{A47OTHH7.js → H3YODQR5.js} +2 -2
- package/dist/cdn/{NYDPBJEB.js → H5MEOZDB.js} +1 -1
- package/dist/cdn/{OGT73DCF.js → H6O2K3QN.js} +2 -2
- package/dist/cdn/H7SGDNC5.js +18 -0
- package/dist/cdn/{CFA5TOVK.js → HBU2D3OK.js} +2 -2
- package/dist/cdn/{JVBDFE77.js → HFRR75VA.js} +2 -2
- package/dist/cdn/{NZ7ZJ543.js → HIUFTFCE.js} +2 -2
- package/dist/cdn/{3NLIMV37.js → HK67EOND.js} +2 -2
- package/dist/cdn/{4YAKZTYX.js → HQVBD5JD.js} +2 -2
- package/dist/cdn/{VTQXJ5L4.js → HQYGQQAN.js} +2 -2
- package/dist/cdn/HZ3LIX7G.js +4 -0
- package/dist/cdn/{FNFBC632.js → I2OMO5AF.js} +2 -2
- package/dist/cdn/{54ECJGEV.js → I762EBNV.js} +2 -2
- package/dist/cdn/{5TMISUEZ.js → IHF42XGT.js} +2 -2
- package/dist/cdn/{4RLHEOQP.js → II2EKN44.js} +2 -2
- package/dist/cdn/{DIN7HRF2.js → IJMX3WHX.js} +1 -1
- package/dist/cdn/{E46ELNJA.js → IKVHXZ3U.js} +2 -2
- package/dist/cdn/{KAK7GFSX.js → ILXA7GQX.js} +2 -2
- package/dist/cdn/{3SAZYGBF.js → IOTPW2AJ.js} +1 -1
- package/dist/cdn/{BIJUPTYJ.js → IQSX2PS2.js} +2 -2
- package/dist/cdn/{3SKGYVDB.js → IRTZHNJ2.js} +2 -2
- package/dist/cdn/{LW5C4FWP.js → ISNPPNRQ.js} +2 -2
- package/dist/cdn/{NFUM67QQ.js → IWI73FFP.js} +2 -2
- package/dist/cdn/{X2I64U46.js → J3V6JALQ.js} +2 -2
- package/dist/cdn/{N3VJ43JU.js → J7LK2CL5.js} +2 -2
- package/dist/cdn/{QGKGYWPG.js → JCTPFMKF.js} +2 -2
- package/dist/cdn/JDN2ZHDI.js +4 -0
- package/dist/cdn/{GAYZKPBU.js → JFZ6S5ZR.js} +2 -2
- package/dist/cdn/{W6B7SGBM.js → JGHG6FT3.js} +2 -2
- package/dist/cdn/{GZFDWK3L.js → JH6DHGLR.js} +2 -2
- package/dist/cdn/{NFM3ZHYU.js → JHORWHA2.js} +2 -2
- package/dist/cdn/{XHRX3V3L.js → JIP3YG24.js} +2 -2
- package/dist/cdn/{TU3NNZVI.js → JLPE7SCU.js} +2 -2
- package/dist/cdn/{OINFIVL2.js → JQKSXJYV.js} +2 -2
- package/dist/cdn/JXQHDGFE.js +4 -0
- package/dist/cdn/{RZASBEEH.js → K75CGTHV.js} +2 -2
- package/dist/cdn/{G3RKO2FK.js → K7UPKLEM.js} +2 -2
- package/dist/cdn/{7DWPJWDL.js → KC3COFFL.js} +2 -2
- package/dist/cdn/{26EZ5QQX.js → KEVGCYOD.js} +2 -2
- package/dist/cdn/{FVJMDA4C.js → KNXO4SHH.js} +2 -2
- package/dist/cdn/{LWXLWNC2.js → KPBDPVOH.js} +2 -2
- package/dist/cdn/{WRBA2AQX.js → KRUY7SP2.js} +2 -2
- package/dist/cdn/{AD47VGTB.js → KSNTFOGZ.js} +1 -1
- package/dist/cdn/{KQP2KJXS.js → KT322YWI.js} +2 -2
- package/dist/cdn/{FLIHCYNM.js → KUU3H6DM.js} +1 -1
- package/dist/cdn/{SBJXVB6I.js → KWEQV7YG.js} +2 -2
- package/dist/cdn/{7HO6SBCH.js → L3MDCUJN.js} +2 -2
- package/dist/cdn/{W5JSO5C3.js → LBVSC6V5.js} +1 -1
- package/dist/cdn/{MK7GTK3Y.js → LBWCS2F2.js} +2 -2
- package/dist/cdn/LC4GTXHD.js +4 -0
- package/dist/cdn/{4FL5RSPH.js → LDTZWJSI.js} +2 -2
- package/dist/cdn/{D4ZFZUC4.js → LHJUIZBT.js} +2 -2
- package/dist/cdn/{XW2ZYCSH.js → LL5S26MO.js} +2 -2
- package/dist/cdn/{Q6Y44VF7.js → LMD6RFKF.js} +2 -2
- package/dist/cdn/{XTB64Q2W.js → LPOXKLZD.js} +2 -2
- package/dist/cdn/LSXCQZSF.js +4 -0
- package/dist/cdn/{XTQ2J5FF.js → LWS5H7PA.js} +2 -2
- package/dist/cdn/{QQS5JEDL.js → LZKNYSNH.js} +2 -2
- package/dist/cdn/LZQ63MH5.js +4 -0
- package/dist/cdn/{W7DM7UAJ.js → M3MNKMIM.js} +1 -1
- package/dist/cdn/{UB3Z3GV6.js → M5HWGCGL.js} +2 -2
- package/dist/cdn/{B23UDTLK.js → M5WBP3MF.js} +2 -2
- package/dist/cdn/{3M5CXMAF.js → MATQV33Q.js} +2 -2
- package/dist/cdn/{Y7ER2Z7B.js → MKMGVPCZ.js} +2 -2
- package/dist/cdn/{HZLLVOYB.js → MNMVQPBS.js} +1 -1
- package/dist/cdn/{ICGTRFCB.js → MNYIDOED.js} +2 -2
- package/dist/cdn/{N6NJH7GD.js → MPODIKYY.js} +1 -1
- package/dist/cdn/{4SEY3FUX.js → MQVB3EYO.js} +2 -2
- package/dist/cdn/{ZKHZESHV.js → MRIG2YO3.js} +2 -2
- package/dist/cdn/{PDI5EYTS.js → MRKA2VZW.js} +2 -2
- package/dist/cdn/{INEK4S6D.js → MV6XNLAM.js} +2 -2
- package/dist/cdn/{K7CJ47BU.js → NARMCTDX.js} +2 -2
- package/dist/cdn/{NYNATXBM.js → NJQBU7CR.js} +2 -2
- package/dist/cdn/{TSZRPVY7.js → NL3VLVHN.js} +2 -2
- package/dist/cdn/{MGFUH3JH.js → NOZ2AV5D.js} +2 -2
- package/dist/cdn/{WFNUA6LV.js → NQ6LZCAO.js} +2 -2
- package/dist/cdn/{7JLR62TP.js → NR2RWD3G.js} +2 -2
- package/dist/cdn/{IYQSGYJ4.js → NSAM3Z2I.js} +2 -2
- package/dist/cdn/{GF77VOFR.js → NXRGD3NX.js} +2 -2
- package/dist/cdn/{6WY63VHP.js → NZ2UFQWL.js} +2 -2
- package/dist/cdn/{MK7POZZS.js → O24P4ZWY.js} +2 -2
- package/dist/cdn/{WDU4LIT6.js → O5EUNI6K.js} +1 -1
- package/dist/cdn/{F4FKPQU6.js → OB2XVGF2.js} +2 -2
- package/dist/cdn/{EFGUAERO.js → OC34KPAE.js} +2 -2
- package/dist/cdn/{ZKSHH24W.js → OC6XS4V3.js} +2 -2
- package/dist/cdn/{6F5VHOMC.js → OCFKULCG.js} +2 -2
- package/dist/cdn/{FB72RCYJ.js → ONDXGQGY.js} +2 -2
- package/dist/cdn/{K4MYFTMA.js → OQN43J5V.js} +2 -2
- package/dist/cdn/{7TWILYAK.js → OTD7G2LZ.js} +2 -2
- package/dist/cdn/{R4YQRS74.js → OUED4MLC.js} +2 -2
- package/dist/cdn/{7REHAN6R.js → OVCHPDJI.js} +2 -2
- package/dist/cdn/{TBD3YHUV.js → OW44CMT4.js} +2 -2
- package/dist/cdn/{PVV3WQ6O.js → OYAG7QQN.js} +1 -1
- package/dist/cdn/{ZX2JCNZS.js → OZDXDKIE.js} +2 -2
- package/dist/cdn/{HMKKIAHW.js → P5MC5ZOS.js} +1 -1
- package/dist/cdn/{GMZ33SAC.js → P6MMMMO7.js} +2 -2
- package/dist/cdn/{MHYD5H4K.js → PDVTMMC5.js} +2 -2
- package/dist/cdn/{GFVOUI2T.js → PF3SMK6J.js} +2 -2
- package/dist/cdn/{VDC7CPGJ.js → PGHMWU3D.js} +2 -2
- package/dist/cdn/{OYMXMAJ2.js → PGVJ7TAF.js} +2 -2
- package/dist/cdn/{XZYLEPL3.js → PHLPHUZR.js} +2 -2
- package/dist/cdn/{5R7B75GC.js → PHOLF6NG.js} +2 -2
- package/dist/cdn/{EONXARCP.js → PLP4AUXD.js} +2 -2
- package/dist/cdn/{AQM3PXEO.js → PRGZNWJV.js} +2 -2
- package/dist/cdn/{D2V7ZSMF.js → PSFFLNY5.js} +2 -2
- package/dist/cdn/{MI2WZYOX.js → PU2JEWLV.js} +2 -2
- package/dist/cdn/{T6SHXIEZ.js → PUXPSAVO.js} +2 -2
- package/dist/cdn/{2OUDDVYZ.js → PZM2KMF5.js} +1 -1
- package/dist/cdn/{MR5ZGY4Y.js → Q2OCZM23.js} +2 -2
- package/dist/cdn/{P4WP7NQH.js → Q4O2Y3MB.js} +2 -2
- package/dist/cdn/{6DYVABNW.js → Q7SWNS7T.js} +2 -2
- package/dist/cdn/{TA3ZDNSH.js → QAMHZBOL.js} +2 -2
- package/dist/cdn/{Q4K5WGHC.js → QAVV5U2X.js} +2 -2
- package/dist/cdn/{WH2K2WJJ.js → QBUS2XC4.js} +2 -2
- package/dist/cdn/{3VGY5KUC.js → QC6TPXOS.js} +2 -2
- package/dist/cdn/{S2YUFCRE.js → QGM6TJLI.js} +2 -2
- package/dist/cdn/{SJ3XASA5.js → QRMHDSPG.js} +2 -2
- package/dist/cdn/{U6ANVSGJ.js → QTMY6775.js} +2 -2
- package/dist/cdn/{QLGYWNCK.js → QW6SMLEJ.js} +1 -1
- package/dist/cdn/QXICXAYA.js +4 -0
- package/dist/cdn/{JSZVGXR4.js → QZ7Q5VPY.js} +1 -1
- package/dist/cdn/{VYM6ZIGX.js → R5426IXX.js} +2 -2
- package/dist/cdn/{EZ4LIADP.js → RAGS7E4J.js} +2 -2
- package/dist/cdn/{IVSUPJ4X.js → RGWPFZBE.js} +2 -2
- package/dist/cdn/{7U5LLRXI.js → RJTIJXKK.js} +2 -2
- package/dist/cdn/{Y7SYGLRX.js → RLADC6ZH.js} +1 -1
- package/dist/cdn/{7Z6CCDOE.js → RPOWI7AN.js} +2 -2
- package/dist/cdn/RVEEZ7ZT.js +4 -0
- package/dist/cdn/{73JFICZF.js → RW7ZM26C.js} +2 -2
- package/dist/cdn/RXNWGOXC.js +18 -0
- package/dist/cdn/{CRJMBK7A.js → RYI242BN.js} +2 -2
- package/dist/cdn/{IMDPQ6NP.js → RZQ5TYUK.js} +2 -2
- package/dist/cdn/{FLRRE3JY.js → S5H7SXZP.js} +2 -2
- package/dist/cdn/{U6SGQJ2D.js → SBRY65ME.js} +2 -2
- package/dist/cdn/{NTVQ4XOC.js → SCD4O3HR.js} +2 -2
- package/dist/cdn/{MNS3JUCK.js → SDSPTQ4P.js} +1 -1
- package/dist/cdn/SKN6RBMC.js +4 -0
- package/dist/cdn/{Y7ZFT2JL.js → SL2KLULR.js} +2 -2
- package/dist/cdn/{XLJAPI3R.js → SMCQMEMR.js} +2 -2
- package/dist/cdn/SNZW2GSZ.js +4 -0
- package/dist/cdn/{KFL4R5CS.js → SOSUPZ6Z.js} +2 -2
- package/dist/cdn/{VK7ZSHEV.js → SUDJ3QJQ.js} +2 -2
- package/dist/cdn/{ZU4B7ZHO.js → SVAPESHQ.js} +2 -2
- package/dist/cdn/{GEZSZLCB.js → TFF3C5WO.js} +2 -2
- package/dist/cdn/TNKW7I2F.js +4 -0
- package/dist/cdn/{VGPTUOBS.js → TOVO7FLD.js} +1 -1
- package/dist/cdn/{MCDF7JCW.js → TSVPTY5X.js} +2 -2
- package/dist/cdn/{6ZQBX2QU.js → TSYM7JGM.js} +2 -2
- package/dist/cdn/{RIZZ35VL.js → TTYH46CZ.js} +2 -2
- package/dist/cdn/{JWBUO4W3.js → TV2IMW4B.js} +2 -2
- package/dist/cdn/TY3Z22SJ.js +37 -0
- package/dist/cdn/{XGR3WXAZ.js → U3LIFD6P.js} +2 -2
- package/dist/cdn/{CDZNW3E2.js → U5R65CBD.js} +2 -2
- package/dist/cdn/{GG46XYUC.js → U7254QFF.js} +2 -2
- package/dist/cdn/{5JPUCUP7.js → U77QOKF7.js} +2 -2
- package/dist/cdn/{TEAQJJAM.js → U7KZK2EY.js} +2 -2
- package/dist/cdn/{ADIP2353.js → UA5UBWLP.js} +2 -2
- package/dist/cdn/{ROME2MDQ.js → UEWK7WEY.js} +2 -2
- package/dist/cdn/{JW5PNREQ.js → UGWNXUFJ.js} +2 -2
- package/dist/cdn/{ZW7YOPV4.js → UHACBH77.js} +2 -2
- package/dist/cdn/{HZVRSV2T.js → UI44CDNQ.js} +2 -2
- package/dist/cdn/{ZIRAZXB5.js → UJ6PB446.js} +4 -4
- package/dist/cdn/{NMVQI5GU.js → UJGZQYSB.js} +2 -2
- package/dist/cdn/{YUV6EDKS.js → UJWRBULT.js} +2 -2
- package/dist/cdn/{AJWUA56P.js → UPK4BCIL.js} +2 -2
- package/dist/cdn/{O3CG2V6T.js → UPSPO6Q6.js} +2 -2
- package/dist/cdn/{NBXKJHIC.js → USIRKXKZ.js} +1 -1
- package/dist/cdn/{6U3UUEID.js → UXYHGXW5.js} +2 -2
- package/dist/cdn/{CTWAY3NS.js → UY3VZJPX.js} +1 -1
- package/dist/cdn/{VLBHTKCH.js → VE5735VO.js} +2 -2
- package/dist/cdn/{FAE6RFXV.js → VISD52LT.js} +1 -1
- package/dist/cdn/{MH7AQBKI.js → VJ2NSIZG.js} +2 -2
- package/dist/cdn/{QTHDXPSN.js → VKDCA5UF.js} +2 -2
- package/dist/cdn/{TBZAMNYB.js → VOGT362X.js} +2 -2
- package/dist/cdn/{PTRUST2E.js → VQG4I24V.js} +2 -2
- package/dist/cdn/{Q5LXVRLA.js → W43Q7E2D.js} +2 -2
- package/dist/cdn/{WUK7ACST.js → W64KXNUQ.js} +2 -2
- package/dist/cdn/{R52MDTTI.js → WASE4EMU.js} +2 -2
- package/dist/cdn/{B72DCIJC.js → WDABZAMD.js} +2 -2
- package/dist/cdn/{34TTKYF4.js → WKMFPSQW.js} +2 -2
- package/dist/cdn/{LB454WEE.js → WKXQ4CDC.js} +2 -2
- package/dist/cdn/{WQQLEYTR.js → WLTXVG73.js} +2 -2
- package/dist/cdn/{UGEKQ6OU.js → WQRHTLJO.js} +2 -2
- package/dist/cdn/{AROP7WJS.js → WXEDRX6B.js} +1 -1
- package/dist/cdn/{APBN7GCQ.js → WYD7SFWY.js} +1 -1
- package/dist/cdn/{HAWYGEAS.js → X36X6MUL.js} +1 -1
- package/dist/cdn/{QZTFRI2B.js → XE7CWWZX.js} +2 -2
- package/dist/cdn/{HFJBKOOF.js → XECAMJCZ.js} +2 -2
- package/dist/cdn/{HPNE4QZE.js → XELDZ5WC.js} +2 -2
- package/dist/cdn/{ZV5GNQAS.js → XG3IGQNL.js} +2 -2
- package/dist/cdn/{RVMXMENZ.js → XIS3BUIS.js} +2 -2
- package/dist/cdn/{3FYK55H3.js → XQTX6OA2.js} +2 -2
- package/dist/cdn/{3KIA7DVZ.js → XU7REEAW.js} +2 -2
- package/dist/cdn/{KVGS3RII.js → XUAUP5UD.js} +2 -2
- package/dist/cdn/{ZMQ6RJUD.js → XVSV3RV7.js} +2 -2
- package/dist/cdn/{XWCXTHQ2.js → XY7KPZMX.js} +2 -2
- package/dist/cdn/{WW76OH3D.js → XZ5T5VBY.js} +2 -2
- package/dist/cdn/{73353AOC.js → Y2YDWSQW.js} +2 -2
- package/dist/cdn/{TRR4R56M.js → Y6CYPHR2.js} +2 -2
- package/dist/cdn/{FMA72OHQ.js → Y7K6LQIN.js} +2 -2
- package/dist/cdn/{KHQ44SZR.js → YADRL4DR.js} +2 -2
- package/dist/cdn/{KN5YTDXM.js → YFLTGUED.js} +2 -2
- package/dist/cdn/{K2KDWTMV.js → YHUNJ3ML.js} +2 -2
- package/dist/cdn/{M6GOJDTB.js → YJ7ARJVK.js} +2 -2
- package/dist/cdn/{IS6SYP2N.js → YJPOFS37.js} +2 -2
- package/dist/cdn/{SKCLSBYB.js → YJQC45UC.js} +2 -2
- package/dist/cdn/{OVSQH7HJ.js → YLSCZUU6.js} +2 -2
- package/dist/cdn/{HFABME2D.js → YMK5DBGR.js} +2 -2
- package/dist/cdn/{DWL6JEOV.js → YPHUWWV7.js} +2 -2
- package/dist/cdn/{TFLUUX2R.js → YPX4SI53.js} +1 -1
- package/dist/cdn/{Q2QFXRXI.js → YUDVYFYK.js} +2 -2
- package/dist/cdn/YVBCISOO.js +4 -0
- package/dist/cdn/{32KZQNZC.js → YWFST23Y.js} +2 -2
- package/dist/cdn/YXI7DFWF.js +4 -0
- package/dist/cdn/{HR7HCDGQ.js → Z2YE22PL.js} +2 -2
- package/dist/cdn/{24T2QBWO.js → ZE3S7KFP.js} +1 -1
- package/dist/cdn/{IKDCU34A.js → ZG5QDNEY.js} +2 -2
- package/dist/cdn/{HC3G5HDT.js → ZHUJKDJZ.js} +2 -2
- package/dist/cdn/{GMW6QNKD.js → ZIAMK572.js} +2 -2
- package/dist/cdn/{GRHJH3XL.js → ZRKJZ3NG.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-deployed-card.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-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-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +34 -33
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +7 -7
- package/dist/components/solutions-deploy-app/customElement.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +3 -3
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +1 -1
- package/dist/cdn/2DL33X5R.js +0 -4
- package/dist/cdn/5SNXNB33.js +0 -4
- package/dist/cdn/6HI3SCGC.js +0 -4
- package/dist/cdn/7KPRTADR.js +0 -18
- package/dist/cdn/7LIYLSFJ.js +0 -4
- package/dist/cdn/C4WBIRRW.js +0 -4
- package/dist/cdn/CBRF5UQZ.js +0 -4
- package/dist/cdn/EXXOSLWC.js +0 -18
- package/dist/cdn/IOHHJATT.js +0 -4
- package/dist/cdn/JTBT64GM.js +0 -4
- package/dist/cdn/K2B5Y4GL.js +0 -4
- package/dist/cdn/LSXKZQBW.js +0 -4
- package/dist/cdn/MKURFQSD.js +0 -4
- package/dist/cdn/NO3DXKTA.js +0 -4
- package/dist/cdn/Q7JYMKZU.js +0 -4
- package/dist/cdn/RWS6WUI6.js +0 -4
- package/dist/cdn/TWEB3NVG.js +0 -4
- package/dist/cdn/VNJ5MSB4.js +0 -4
- package/dist/cdn/W4JNGJ5G.js +0 -4
- package/dist/cdn/W5BFF36U.js +0 -4
- package/dist/cdn/WORWGDP7.js +0 -4
- package/dist/cdn/XVFIODQ7.js +0 -4
- package/dist/cdn/YPOJQWXG.js +0 -4
- package/dist/cdn/ZHWMCOYM.js +0 -37
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import b from"./YADRL4DR.js";import a from"./S5H7SXZP.js";import{a as h}from"./GT2JLUV4.js";import{b as l}from"./WDABZAMD.js";import{D as r,E as n,F as c,J as i,h as o,i as s}from"./KSNTFOGZ.js";export default $arcgis.t(([,,,{b:d,e:p},{c:g}])=>{var u=o`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as r}from"./
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import{b as r}from"./MKMGVPCZ.js";import{c as o}from"./WDABZAMD.js";var s=r(o);export{s as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import{a as n}from"./IWI73FFP.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as m,b as o,c as T,d as E}from"./
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import{a as m,b as o,c as T,d as E}from"./E2OWCPHL.js";import{a as t,b as e}from"./DVEWQYBN.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./4JD2T6JR.js";import"./6UZSVHNV.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
4
|
var o={user:"user",group:"group",groupAdmin:"group-admin",org:"org",orgAdmin:"org-admin",authenticated:"authenticated",anonymous:"anonymous",owner:"owner"};export{o as a};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as h}from"./
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import{a as h}from"./GT2JLUV4.js";import{b as p}from"./WDABZAMD.js";import{F as d,h as r,i as l,l as c,p as n}from"./KSNTFOGZ.js";var y=r`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import{a as _}from"./SL2KLULR.js";import e from"./IOTPW2AJ.js";import b from"./S5H7SXZP.js";import{a as u}from"./GT2JLUV4.js";import{b as p}from"./WDABZAMD.js";import{D as o,E as a,F as d,I as r,h as c,i as t,p as h}from"./KSNTFOGZ.js";export default $arcgis.t(([{b:f,d:g},{k:b,l:m}])=>{var v=c`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/.display-flex{display:flex}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-foreground-2)}.panel-override{--calcite-panel-background-color: var(--calcite-color-foreground-2);--calcite-panel-border-color: none}.label-override{--calcite-label-margin-bottom: 0px;padding-inline-start:var(--calcite-spacing-md);font-weight:var(--calcite-font-weight-medium)}.header-button-padding{padding-top:var(--calcite-spacing-sm);padding-bottom:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-lg);padding-inline-end:var(--calcite-spacing-lg)}.padding-start{padding-inline-start:var(--calcite-spacing-lg)}.align-items-center{align-items:center}.justify-content-end{justify-content:end}.filter-width-350{--calcite-shell-panel-width: 350px}.z-index-1{z-index:1}.z-index-2{z-index:2}h1{font-weight:unset;margin:0;padding:0}@media(max-width:800px){.filter{display:none}}.mock-fab{--calcite-fab-shadow-internal: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);box-shadow:var(--calcite-fab-shadow, var(--calcite-fab-shadow-internal));--calcite-button-background-color: var(--calcite-fab-background-color);--calcite-button-border-color: var(--calcite-fab-border-color);--calcite-button-text-color: var(--calcite-fab-text-color);--calcite-button-loader-color: var(--calcite-fab-loader-color)}.background-override{--calcite-shell-panel-background-color: var(--calcite-color-foreground-3);--calcite-panel-background-color: var(--calcite-color-foreground-3)}.position-relative{position:relative}.height-100{height:100%}.border-none{border:none}.height-50{height:50px}.padding-top-3{padding-top:3px}`,n=class extends d{constructor(){super(),this.solutionsCount=0,this.filterOpen=!0,this._filters={categories:[],searchTerm:""},this.isMobile=!1,this._translations=u({name:"solutions-all-shell",blocking:!0}),this._allSolutionsPanelRef=o(),this._solutionsFilterPanelRef=o(),this._isMobileContextConsumer=f({context:g,subscribe:!0,callback:e=>this.isMobile=e}),this.filterRemoved=h(),this.listenOn(window,"searchChanged",e=>{e.detail&&e.detail.scope==="all-solutions"&&this._filterApplied(e.detail.option)}),this.listenOn(window,"toggleFilter",this._toggleFilter)}static{this.properties={solutionsCount:9,filterOpen:16,_filters:16,isMobile:16,_translations:16}}static{this.styles=v}willUpdate(e){e.has("isMobile")&&(this.filterOpen=!this.isMobile)}async searchSolutions(e){if(this._allSolutionsPanelRef.value.setSearchOptions(e),"industry"in e||"domain"in e){e.displayValue=e.domain||e.industry;let i=e.industry?Object.entries(b).find(([,l])=>l===e.industry)?.[0]:void 0,s=e.domain?Object.entries(m).find(([,l])=>l===e.domain)?.[0]:void 0;e.industry=i||"",e.domain=s||"",e.value=s||i,this._solutionsFilterPanelRef.value.changeIndustryFilter(e.industry,e.domain,e.displayValue,!0)}else("searchTerm"in e||"sortType"in e)&&("searchTerm"in e&&(this._filters.searchTerm=e.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(e))}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}render(){let e=this.isMobile?"justify-content-end":"";return t`<calcite-shell class="position-relative">${this.isMobile?"":this._getFilterPanel()}<h1 class="height-100"><calcite-panel class="border-override header-override panel-override z-index-1"><div class=${`display-flex align-items-center height-50 ${e}`} slot=header-content><calcite-label class="label-override padding-top-3">${this._translations.numberOfSolutions.replace("{{count}}",this.solutionsCount.toString())}</calcite-label>${this._renderChips()}${this._filters.categories&&this._filters.categories?.length>0&&t`<calcite-button appearance=transparent icon-start=reset kind=neutral @click=${()=>{this._filters={...this._filters,categories:[]},this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this.filterRemoved.emit([])}} .label=${this._translations.clearIndustryFilter}>${this._translations.clearIndustryFilter}</calcite-button>`||""}</div>${this.isMobile&&this._getFilterPanel()||""}${this._getSolutionsAllPanel()}</calcite-panel></h1></calcite-shell>`}_getFilterPanel(){let e=this.filterOpen?{display:"flex"}:"";return this.isMobile?t`<calcite-panel class=${`border-none ${this.filterOpen?"background-override":"filter background-override"}`} id=solutions-all-shell-panel-start style=${r(e)}><solutions-filter-panel class="height-100" @applyFilter=${i=>{this._filterApplied(i.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel>`:t`<calcite-shell-panel class="filter background-override filter-width-350" id=solutions-all-shell-panel-start position=start slot=panel-start style=${r(e)}><calcite-panel class="border-none"><solutions-filter-panel class="height-100" @applyFilter=${i=>{this._filterApplied(i.detail)}} ${a(this._solutionsFilterPanelRef)}></solutions-filter-panel></calcite-panel></calcite-shell-panel>`}_getSolutionsAllPanel(){let e=this.isMobile&&this.filterOpen?{display:"none"}:"";return t`<solutions-all-panel @cardsFetched=${this._updateSolutionCount} style=${r(e)} ${a(this._allSolutionsPanelRef)}></solutions-all-panel>`}_renderChips(){if(!this._filters.categories)return;let e=this._filters.categories.filter(i=>i.type==="industry"||i.type==="domain");return e.length>0?_(e,i=>`${i.type}:${i.value}`,i=>t`<calcite-chip appearance=outline-fill class="padding-start" closable kind=neutral .label=${i.displayValue} @calciteChipClose=${()=>this._chipClosed(i.displayValue,i.type)} .value=${i.displayValue}>${i.displayValue}</calcite-chip>`):void 0}_updateSolutionCount(e){this.solutionsCount=e.detail}_chipClosed(e,i){if(this._filters.categories){if(i==="industry")this._filters.categories=[];else{let s=this._filters.categories.filter(l=>l.displayValue!==e&&l.type!==i);this._filters.categories=s}this._filters.categories.length>0?this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories):this._filters.searchTerm!==""?(this._allSolutionsPanelRef.value?.searchSolutions(this._filters.categories),this._allSolutionsPanelRef.value?.searchSolutions({searchTerm:this._filters.searchTerm})):this._allSolutionsPanelRef.value?.searchSolutions(),this.filterRemoved.emit(this._filters.categories)}}_toggleFilter(){this.filterOpen=!this.filterOpen}_filterApplied(e){if(this._filters.categories)if(e){let i=e;"displayValue"in e?this._filters.categories.push(e):Array.isArray(e)&&e.length>0&&(e.length>=2&&(i=[e[e.length-1]]),this._filters={categories:e,searchTerm:this._filters.searchTerm}),"searchTerm"in i&&(this._filters.searchTerm=i.searchTerm),this._allSolutionsPanelRef.value?.searchSolutions(i)}else this._filters.categories=[],this._allSolutionsPanelRef.value?.searchSolutions()}};p("solutions-all-shell",n);return n},b,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{c as r}from"./
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import{c as r}from"./Q4O2Y3MB.js";import{b as o}from"./MKMGVPCZ.js";var s=o(r);export{s as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import"./6UZSVHNV.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.",s="Credit Estimation failed. Scroll down, correct the errors, and estimate the credits again.",i="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.",m="The service name contains one or more invalid characters.",c="Saving the temporary layer as a hosted feature layer did not complete.",h="Failed to get key properties.",u="Failed to load the layer.",y="Layer is not available.",p="${ dataPath } must not have more than ${ limit } items.",v="An error occurred while saving the model. Try saving again.",f="${ dataPath } must not have fewer than ${ limit } items.",g="${ dataPath } must not be shorter than ${ limit } characters.",E="Failed to load the model item. Ensure that the model exists and that access permission has been granted.",P="Failed to complete request.",S="You do not have permission to run this tool. <calcite-link target='_blank' href='${ docLink }'>Learn more</calcite-link>",F="Failed to log in to portal.",b="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.",k="The output name contains one or more invalid characters. <a href='${docLink}' target='_blank'>Learn more.</a>",w="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.",L="${ dataPath } must have at least one non-whitespace character.",A={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:m,hostedFeatureServicePublishDidNotComplete:c,keyPropertiesError:h,layerLoadFailure:u,layerUnavailable:y,maxItems:p,mbFailedToSave:v,minItems:f,minLength:g,modelNotFound:E,networkError:P,noPermissionToAccessTool:S,portalLoadError:F,queryFeaturesError:b,requiredProperty:T,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:w,toolValidationError:I,whiteSpacePattern:L};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,m as hostedFeatureServiceInvalidTitle,c as hostedFeatureServicePublishDidNotComplete,h as keyPropertiesError,u as layerLoadFailure,y as layerUnavailable,p as maxItems,v as mbFailedToSave,f as minItems,g as minLength,E as modelNotFound,P as networkError,S as noPermissionToAccessTool,F as portalLoadError,b as queryFeaturesError,T as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,w as temporaryLayerFieldsError,I as toolValidationError,L as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a,b}from"./
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import{a,b}from"./IHF42XGT.js";import"./U5R65CBD.js";import"./UY3VZJPX.js";import"./4JD2T6JR.js";import"./6UZSVHNV.js";export{a as ContentEditorTypes,b as ContentSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as P}from"./Y7SYGLRX.js";import{a as v}from"./HZVRSV2T.js";import{a as F}from"./CFA5TOVK.js";import{b as U}from"./P4WP7NQH.js";import"./Y7ER2Z7B.js";import"./VYM6ZIGX.js";import{F as M,H as g,h as S,i as h,l as $,p as C}from"./AD47VGTB.js";import"./6VIATGSH.js";export default $arcgis.t(([b,q,I,N])=>{var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),_=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(_||{}),L=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(L||{}),B=(a=>(a.Transparent="transparent",a))(B||{}),V=(a=>(a.Start="start",a.Center="center",a))(V||{}),R=S`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width:992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,T=`${x}--`,m=`${x}__`,j=P.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},D=class extends M{constructor(){super(...arguments),this._messages=F({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=C()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=R}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await b?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(b.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=new I([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{this.handles=new N,this.layers=new I([]),this.layerViews=new I([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,u=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:u,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],u=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=u;let y=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return y&&(d.timeExtent=y),d},c=()=>async i=>{let l=this.layerViews?.find(y=>y.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),u=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(u)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),u=d!==null,y=u?q.formatNumber(d,p):null,f=u?`${y}`:"";e[l].displayValue=f,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>b.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>b.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return b.watch(()=>this.view?.updating,()=>{b.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await b.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=b.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return v("instant-apps-scoreboard-base",h`<div class=${g(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${g(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?V.Start:V.Center,l=c?_.Left:_.Up,d=c?_.Right:_.Down,p={previous:l,next:d},u=o||e?_.Blank:p.previous,y=s||e?_.Blank:p.next,f={previous:o||e,next:s||e},E=B.Transparent,k=this.isMobile?L.Small:L.Large,w={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${u} .disabled=${f.previous} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.previous??""} .label=${w.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${y} .disabled=${f.next} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.next??""} .label=${w.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${g(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${g(r.item)}><span class=${g(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${g(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${g(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${T}calcite-`;return v(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${T}calcite-`,e=this._messages.loading;return v(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};U("instant-apps-scoreboard",D);return D},"core/reactiveUtils","intl","core/Collection","core/Handles")
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import{a as P}from"./RLADC6ZH.js";import{a as v}from"./UI44CDNQ.js";import{a as F}from"./HBU2D3OK.js";import{b as U}from"./Q4O2Y3MB.js";import"./MKMGVPCZ.js";import"./R5426IXX.js";import{F as M,H as g,h as S,i as h,l as $,p as C}from"./KSNTFOGZ.js";import"./6UZSVHNV.js";export default $arcgis.t(([b,q,I,N])=>{var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),_=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(_||{}),L=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(L||{}),B=(a=>(a.Transparent="transparent",a))(B||{}),V=(a=>(a.Start="start",a.Center="center",a))(V||{}),R=S`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width:992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,T=`${x}--`,m=`${x}__`,j=P.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},D=class extends M{constructor(){super(...arguments),this._messages=F({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=C()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=R}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await b?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(b.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=new I([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{this.handles=new N,this.layers=new I([]),this.layerViews=new I([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,u=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:u,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],u=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=u;let y=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return y&&(d.timeExtent=y),d},c=()=>async i=>{let l=this.layerViews?.find(y=>y.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),u=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(u)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),u=d!==null,y=u?q.formatNumber(d,p):null,f=u?`${y}`:"";e[l].displayValue=f,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>b.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>b.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return b.watch(()=>this.view?.updating,()=>{b.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await b.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=b.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return v("instant-apps-scoreboard-base",h`<div class=${g(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${g(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?V.Start:V.Center,l=c?_.Left:_.Up,d=c?_.Right:_.Down,p={previous:l,next:d},u=o||e?_.Blank:p.previous,y=s||e?_.Blank:p.next,f={previous:o||e,next:s||e},E=B.Transparent,k=this.isMobile?L.Small:L.Large,w={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${u} .disabled=${f.previous} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.previous??""} .label=${w.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${y} .disabled=${f.next} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.next??""} .label=${w.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${g(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${g(r.item)}><span class=${g(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${g(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${g(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${T}calcite-`;return v(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${T}calcite-`,e=this._messages.loading;return v(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};U("instant-apps-scoreboard",D);return D},"core/reactiveUtils","intl","core/Collection","core/Handles")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import f from"./
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import f from"./LDTZWJSI.js";import e from"./3DIJDENJ.js";import c from"./MNMVQPBS.js";import b from"./RAGS7E4J.js";import{b as l}from"./Q4O2Y3MB.js";import"./R5426IXX.js";import{D as i,E as n,F as r,H as o,I as d,h as s,i as a}from"./KSNTFOGZ.js";import"./6UZSVHNV.js";export default $arcgis.t(([,,,{t:p}])=>{var c=s`:host{display:block}:host .esri-legend__service{margin:0;padding:0}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayer:"esri-legend__group-layer",groupContent:"esri-legend__group-content"},t=class extends r{constructor(){super(),this.layerCaption=i(),this.expanded=!0,this.isChild=!1,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.expanded=!!this.layerCaption.value?.expanded}render(){return a`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service} ${e.groupLayer}`}><instant-apps-interactive-legend-layer-element-caption class=${o(p(this.el))} .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${this.isChild} ${n(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div class=${`${e.groupContent} ${this.expanded?"show":"hide"}`}><slot name=content></slot></div></div>`}};l("instant-apps-interactive-legend-group-legend-element",t);return t},b,c,e,f)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as t}from"./
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import{a as t}from"./Q4O2Y3MB.js";import{t as e}from"./KSNTFOGZ.js";var o=e(t,{"instant-apps-app-error":[()=>import("./CNIGVYFK.js"),";clearErrorMessage"],"instant-apps-app-guide":[()=>import("./E3SSTVN6.js"),"data:,header"],"instant-apps-buffer":[()=>import("./K75CGTHV.js").then(m=>m.default.then(e=>({InstantAppsBuffer:e}))),"bufferColor,bufferDistance,bufferGraphicSymbol:,bufferInputStep,bufferLayer:,bufferMaxDistance,bufferMinDistance,bufferOutlineColor,bufferOutlineWidth,bufferStyle,bufferUnit,disabled,geodesicBufferEnabled,inputGraphics:,readyToBuffer:,view:;clearBufferLayer,setFocus"],"instant-apps-compass":[()=>import("./PLP4AUXD.js").then(m=>m.default.then(e=>({InstantAppsCompass:e}))),"view:"],"instant-apps-control-panel":[()=>import("./452H4YLI.js").then(m=>m.default.then(e=>({InstantAppsControlPanel:e}))),"components:,view:"],"instant-apps-create":[()=>import("./2LENHCY2.js").then(m=>m.default.then(e=>({InstantAppsCreate:e}))),"content:,mode,options:,popoverIcon,popoverPlacement,popoverPositioning,portal:,showHeader"],"instant-apps-export":[()=>import("./4XK3CYJA.js").then(m=>m.default.then(e=>({InstantAppsExport:e}))),"allowedFileTypes:,beforeExport:,cloneExtraContent,defaultFileType,extraContent:,extraContentLabel,headerTitle,includeExtraContent,includeFileFormat,includeLegend,includeMap,includePopup,logoAltText,logoImage,mapAltText,maskBackground,maskBorder,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showExtraContentInImg,showHeaderTitle,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar,view:"],"instant-apps-export-views":[()=>import("./Y7K6LQIN.js").then(m=>m.default.then(e=>({InstantAppsExportViews:e}))),"beforeExport:,exportViews:,includeHeader,includeLegend,includeMap,includePopup,mode,output:,popoverIcon,popoverPlacement,popoverPositioning,scale,showIncludeHeader,showIncludeLegend,showIncludeMap,showIncludePopup,showScaleBar"],"instant-apps-filter-list":[()=>import("./5VBN7ISR.js").then(m=>m.default.then(e=>({InstantAppsFilterList:e}))),"autoUpdateUrl,closeBtn,closeBtnOnClick:,closeBtnText,comboboxOverlayPositioning,extentSelector,extentSelectorConfig:,filterCount,layerExpressions:,openFilters,resetBtn,resetFiltersOnDisconnect,urlParams:,view:,zoomBtn;forceReset,getCurrentLayerExpressions,getFilterInitState,handleUpdatingT9nData,updateInitDefExpressions"],"instant-apps-header":[()=>import("./KNXO4SHH.js"),"backgroundColor,customHeaderCss,customHeaderHtml,fontFamily,headerAlignment,infoButton,infoIsOpen,infoTitleText,logoImage,logoImageAltText,logoLink,logoScale,mobileWidthBreakpoint,textColor,titleText,titleTextLink;toggleInfo"],"instant-apps-interactive-legend":[()=>import("./XIS3BUIS.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegend:e}))),"compact,featureCount,filterMode:,view:,zoomTo"],"instant-apps-interactive-legend-classic":[()=>import("./O24P4ZWY.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendClassic:e}))),"featureCount,filterMode:,legendvm:,messages:,zoomTo"],"instant-apps-interactive-legend-count":[()=>import("./FJ5COB3V.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendCount:e}))),"activeLayerInfo:,categoryId,infoIndex,legendElement:,legendvm:,selected,showTotal"],"instant-apps-interactive-legend-group-legend-element":[()=>import("./HQVBD5JD.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-group-legend-element-caption":[()=>import("./RPOWI7AN.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendGroupLegendElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element":[()=>import("./2M6JD42W.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElement:e}))),"activeLayerInfo:,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-layer-element-caption":[()=>import("./IQSX2PS2.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLayerElementCaption:e}))),"activeLayerInfo:,expanded,featureCount,isChild,legendvm:"],"instant-apps-interactive-legend-legend-element":[()=>import("./DLCSMGPX.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElement:e}))),"activeLayerInfo:,isChild,isColorRamp,isInteractive,isRelationshipRamp,isSizeRamp,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-legend-element-caption":[()=>import("./YFLTGUED.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendLegendElementCaption:e}))),"activeLayerInfo:,expanded,isInteractive,layer:,legendElement:,legendElementIndex,legendvm:,titleText,zoomTo"],"instant-apps-interactive-legend-relationship":[()=>import("./47BDB4P2.js").then(m=>m.default.then(e=>({InstantAppsInteractiveLegendRelationship:e}))),"activeLayerInfo:,filterMode:,legendElement:"],"instant-apps-keyboard-shortcuts":[()=>import("./FIZY6G5H.js"),"view:"],"instant-apps-landing-page":[()=>import("./PSFFLNY5.js"),"alignment:,backgroundImageSrc,descriptionText,disableTransition,enableSignIn,entryButtonScale,entryButtonText,fontFamily,iconImage,iconImageAltText,iconImageScale,oauthappid,open,portal:,subtitleText,titleText"],"instant-apps-language-switcher":[()=>import("./5IFWWA3H.js").then(m=>m.default.then(e=>({InstantAppsLanguageSwitcher:e}))),"calciteDropdownOverlayPositioning,defaultLocale,icon,locales:,portalItem:,selectedLanguage,view:;refresh"],"instant-apps-language-translator":[()=>import("./3JM3B4OX.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslator:e}))),"appSettings:,locales:,open,portalItem:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:;batchWriteToPortalItemResource,getPortalItemResource,getTranslationData,setTranslationData"],"instant-apps-ckeditor-wrapper":[()=>import("./QTMY6775.js"),"config:,editorInstance:,value"],"instant-apps-language-translator-content":[()=>import("./PHLPHUZR.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorContent:e})))],"instant-apps-language-translator-item":[()=>import("./4ETO6FSU.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorItem:e}))),"fieldName,setting:,translatedLanguageLabels:,translatedLocaleInputOnChangeCallback:,userLocaleInputOnChangeCallback:"],"instant-apps-language-translator-search":[()=>import("./DFEAJG43.js").then(m=>m.default.then(e=>({InstantAppsLanguageTranslatorSearch:e}))),"t9nPlaceholder"],"instant-apps-measurement":[()=>import("./5V5ZHMSG.js"),"activeToolType,areaUnit,closable,coordinateFormat,linearUnit,view:"],"instant-apps-measurement-tool":[()=>import("./MQVB3EYO.js").then(m=>m.default.then(e=>({InstantAppsMeasurementTool:e}))),"activeTool,measureConfiguration:,view:"],"instant-apps-popover":[()=>import("./VE5735VO.js"),"content,disableAction,imgAlt,imgSrc,index,mediaSrc,messageOverrides:,pagination,parent:,placement,popoverAction:,popoverTitle,referenceElement,refId,subtitle"],"instant-apps-popovers":[()=>import("./M5HWGCGL.js"),"beforeOpen:,currentId,instantAppsPopovers:,inTour;beginTour,close,done,endTour,next,open,previous"],"instant-apps-scoreboard":[()=>import("./HK67EOND.js").then(m=>m.default.then(e=>({InstantAppsScoreboard:e}))),"autoDockEnabled,geometry:,itemLimit,items:,mode:,position:,queryType,view:"],"instant-apps-sign-in":[()=>import("./MRKA2VZW.js").then(m=>m.default.then(e=>({InstantAppsSignIn:e}))),"closeLandingPage:,landingPage,oauthappid,openInPopup,portal:,showIndicator,signInPopoverItems:,type"],"instant-apps-social-share":[()=>import("./VQG4I24V.js").then(m=>m.default.then(e=>({InstantAppsSocialShare:e}))),"autoUpdateShareUrl,defaultUrlParams:,displayTipText,embed,flipRtl,iframeInnerText,inlineSuccessPopoverPlacement,isNativeShareEnabled,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonColor,shareButtonScale,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,successMessage,useNativeShare,view:"],"instant-apps-splash":[()=>import("./53RDOENQ.js"),"closeBehavior,closeButtonDisabled,confirmationText,content,isConfirmed:,localStorageKey,open,outsideCloseDisabled,primaryButtonText,secondaryButton,secondaryButtonCallback:,secondaryButtonIcon,secondaryButtonText,titleText"],"instant-apps-time-filter":[()=>import("./SCD4O3HR.js").then(m=>m.default.then(e=>({InstantAppsTimeFilter:e}))),"autoPlay,filterMode:,timeInfoConfigItems:,timeSliderConfig:,view:"]});export{o as a};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import{a,b}from"./6WG5PP6R.js";import"./3FJ2NMMC.js";import"./E2OWCPHL.js";import"./DVEWQYBN.js";import"./4JD2T6JR.js";import"./6UZSVHNV.js";export{a as EventEditorTypes,b as buildSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{b as p,d as a,e as h,f as E}from"./N4SMCTUB.js";function n(r={}){return r.portal?E(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function mr(r){let t=`${T(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),a(e,r)})}function pr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function br(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),a(e,r)})}function vr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Er(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),a(e,r)})}function Wr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return a(o,i)})}function Yr(r){let t=Object.assign({folderId:null},r);return z(t)}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Or(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function et(r,t){let e=`${n(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=n(e)+o;return a(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function N(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function _t(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Vt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Xt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function qt(r){return $(r,"group")}function re(r){return $(r,"groupContent")}function ne(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,a(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Qe(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function io(r){return G(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(R(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),R(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(R(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function ho(r){return G(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function Uo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,jr as d,vr as e,Rr as f,Er as g,Wr as h,z as i,Yr as j,ar as k,ir as l,mr as m,cr as n,Zr as o,Or as p,M as q,et as r,dr as s,hr as t,pr as u,x as v,N as w,B as x,_t as y,Jt as z,Vt as A,Xt as B,qt as C,re as D,ne as E,I as F,Qe as G,io as H,ho as I,Uo as J,K,br as L};
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import{b as p,d as a,e as h,f as E}from"./6W4SZKHC.js";function n(r={}){return r.portal?E(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function v(r,t,e){if(!r)return r;let o=null;return typeof r.thumbnail=="string"&&(o=`${t}/content/items/${r.id}/info/${r.thumbnail}`,o&&r.access!=="public"&&e&&(o+=`?${e}`)),Object.assign(Object.assign({},r),o?{thumbnailUrl:o}:{})}function ar(r,t){let e=T(r,t),o=Object.assign({httpMethod:"GET"},t);return a(e,o).then(async i=>{let m=t?.portal||n(t),c;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(c=await t.authentication.getToken(e)),v(i,m,c)})}var T=(r,t)=>`${typeof t=="string"?t:n(t)}/content/items/${r}`;function ir(r,t){let e=`${T(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),a(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function mr(r){let t=`${T(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,a(t,e)}function cr(r,t){let e=`${T(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),a(e,o)}function dr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/delete`;return a(e,r)})}function hr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),a(e,r)})}function pr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return a(e,r)})}function br(r,t){let e=r||"self",o=`${n(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}function Y(r){return u(r).then(t=>{let e=r.folderId?`${n(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${n(r)}/content/users/${t}/items/${r.item.id}/update`;r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let o=n(r),i=v(Object.assign(Object.assign({},r.item),{access:r.item.access}),o),m=r.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof m=="string"&&i.thumbnailUrl.split("?")[0]===m.split("?")[0]&&delete r.params.thumbnailUrl,a(e,r)})}function jr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),a(e,r)})}function vr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),a(e,r)})}function Rr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return a(e,o)})}function Er(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),a(e,r)})}function Wr(r){return u(r).then(t=>{let o=`${`${n(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),a(o,r)})}function z(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${n(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return a(o,i)})}function Yr(r){let t=Object.assign({folderId:null},r);return z(t)}function Zr(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/protect`;return a(e,r)})}function Or(r){return u(r).then(t=>{let e=`${n(r)}/content/users/${t}/items/${r.id}/unprotect`;return a(e,r)})}function M(r,t){let e=`${n(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return a(e,o)}function et(r,t){let e=`${n(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),a(e,o)}function A(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${n(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function k(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function S(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function P(r){return M(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=n(e)+o;return a(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function N(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function _(r){let t=r.id,e=`${n(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...F("users",r.users,o),...F("admins",r.admins,o)].map(c=>J(e,c));return Promise.all(m).then(V)}function F(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>H(r,i,e))}function H(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function J(r,t){return a(r,t).catch(e=>({errors:[e]}))}function V(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function B(r){let{id:t,users:e}=r,o=`${n(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return a(o,d).catch(l=>({errors:[l]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=f=>c.filter(g=>g[f]).reduce((g,w)=>g.concat(w[f]),[]),l=d("errors"),s={notRemoved:d("notRemoved")};return l.length?Object.assign(Object.assign({},s),{errors:l}):s})}function _t(r){let t=`${n(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function Jt(r){let t=`${n(r)}/community/groups/${r.id}/protect`;return a(t,r)}function Vt(r){let t=`${n(r)}/community/groups/${r.id}/unprotect`;return a(t,r)}function Xt(r){let t=`${n(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return a(t,e)}function qt(r){return $(r,"group")}function re(r){return $(r,"groupContent")}function ne(r){let t=`${n(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),a(t,r)}function C(r){let t=`${n(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,a(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${n(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return a(t,e)}async function Qe(r){let t=await r.authentication.getUsername(),e=A(r,t);return k(r,t)?D(e,r):S(r).then(o=>{if(o)return D(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function D(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),a(r,t)}function G(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return N(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function io(r){return G(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),P(r)]).then(([l,s,f])=>{let g=!!o;return c=l.role==="org_admin"&&!l.roleId,d=l.orgId!==s.orgId,L(l,g,f,c,s,r)}).then(l=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:f=>Promise.resolve(f)}]=l;return Promise.all(l.map(({promise:f})=>f)).then(()=>W(r,c,d)).then(f=>s(f))})}return W(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function L(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(R(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),R(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(R(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function W(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${n(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${n(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},a(m,r)}function R(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,l;if(c)e&&c.userMembership.memberType==="member"?(d=C({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let f=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:f})}).catch(()=>({notAdded:[t.username]})),l=s=>C({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),l=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=_({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(f=>{if(f.errors&&f.errors.length)throw f.errors[0];return f}).catch(()=>({notAdded:[t.username]})),l=f=>B({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>f)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:l}}function ho(r){return G(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([P(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,l=m.role==="org_admin"&&!m.roleId;if(!d&&!l&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return Q(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function Q(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${n(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${n(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},a(o,r)}function Uo(r){return K(null,r)}function K(r,t){let e=r||"self",o=`${n(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return a(o,i)}export{n as a,u as b,Y as c,jr as d,vr as e,Rr as f,Er as g,Wr as h,z as i,Yr as j,ar as k,ir as l,mr as m,cr as n,Zr as o,Or as p,M as q,et as r,dr as s,hr as t,pr as u,x as v,N as w,B as x,_t as y,Jt as z,Vt as A,Xt as B,qt as C,re as D,ne as E,I as F,Qe as G,io as H,ho as I,Uo as J,K,br as L};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{w as a}from"./
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import{w as a}from"./I2OMO5AF.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,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as e}from"./
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import{a as e}from"./U5R65CBD.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./6VIATGSH.js";var e="\u041D\u044F\u043C\u0430\u0442\u0435 \u0434\u043E\u0441\u0442\u0430\u0442\u044A\u0447\u043D\u043E \u043A\u0440\u0435\u0434\u0438\u0442\u0438, \u0437\u0430 \u0434\u0430 \u0438\u0437\u043F\u044A\u043B\u043D\u0438\u0442\u0435 \u0442\u0430\u0437\u0438 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F. \u0421\u0432\u044A\u0440\u0436\u0435\u0442\u0435 \u0441\u0435 \u0441 \u0432\u0430\u0448\u0438\u044F \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440 \u043D\u0430 \u0441\u0438\u0441\u0442\u0435\u043C\u0430\u0442\u0430 ArcGIS \u0437\u0430 \u0441\u044A\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.",a="\u0422\u043E\u0437\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442 \u0435 \u043F\u0443\u0431\u043B\u0438\u043A\u0443\u0432\u0430\u043D \u043E\u0442 \u0431\u0435\u043B\u0435\u0436\u043D\u0438\u043A. \u0414\u043E\u0441\u0442\u044A\u043F\u044A\u0442 \u0434\u043E ArcGIS Notebooks \u0435 \u0431\u043B\u043E\u043A\u0438\u0440\u0430\u043D \u0437\u0430 \u0412\u0430\u0448\u0430\u0442\u0430 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u044F. \u0421\u0432\u044A\u0440\u0436\u0435\u0442\u0435 \u0441\u0435 \u0441 \u0412\u0430\u0448\u0438\u044F \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440, \u0437\u0430 \u0434\u0430 \u043A\u043E\u0440\u0438\u0433\u0438\u0440\u0430\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0442\u0430.",r="${ dataPath } \u043D\u0435 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 ${ additionalProperty }.",t="${ dataPath } \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0430 \u043D\u0430 \u0441\u0445\u0435\u043C\u0430\u0442\u0430 \u043D\u0430 \u0435\u0434\u043D\u0430 \u043E\u0442 \u0442\u0435\u0437\u0438: ${ schemaOptions }.",o="\u041E\u043F\u0438\u0442\u0430\u0439\u0442\u0435 \u043E\u0442\u043D\u043E\u0432\u043E \u0434\u0430 \u0437\u0430\u043F\u0430\u0437\u0438\u0442\u0435 \u043A\u0430\u0440\u0442\u0430\u0442\u0430.",s="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043E\u0446\u0435\u043D\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442. \u041F\u0440\u0435\u0432\u044A\u0440\u0442\u0435\u0442\u0435 \u043D\u0430\u0434\u043E\u043B\u0443, \u043A\u043E\u0440\u0438\u0433\u0438\u0440\u0430\u0439\u0442\u0435 \u0433\u0440\u0435\u0448\u043A\u0438\u0442\u0435 \u0438 \u043E\u0446\u0435\u043D\u0435\u0442\u0435 \u043A\u0440\u0435\u0434\u0438\u0442\u0438\u0442\u0435 \u043E\u0442\u043D\u043E\u0432\u043E.",i="\u0412\u044A\u0437\u043D\u0438\u043A\u043D\u0430 \u0433\u0440\u0435\u0448\u043A\u0430 \u043F\u0440\u0438 \u0438\u0437\u043F\u044A\u043B\u043D\u0435\u043D\u0438\u0435\u0442\u043E \u043D\u0430 \u0430\u043D\u0430\u043B\u0438\u0437\u0430.",l="${ dataPath } \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0440\u0430\u0432\u043D\u0430 \u043D\u0430 \u0435\u0434\u043D\u0430 \u043E\u0442 \u0442\u0435\u0437\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u0435\u043D\u0438 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0438: ${ allowedValues }.",d="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u043F\u0430\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 \u0445\u0440\u043E\u043D\u043E\u043B\u043E\u0433\u0438\u044F\u0442\u0430 \u043D\u0430 \u0430\u043D\u0430\u043B\u0438\u0437\u0430",n="\u0425\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0442\u043E \u0437\u0430 \u0445\u0440\u043E\u043D\u043E\u043B\u043E\u0433\u0438\u044F \u0435 \u043F\u044A\u043B\u043D\u043E. \u041F\u0440\u0435\u043C\u0430\u0445\u043D\u0435\u0442\u0435 \u043D\u044F\u043A\u043E\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u043E\u0442 \u0445\u0440\u043E\u043D\u043E\u043B\u043E\u0433\u0438\u044F\u0442\u0430 \u043D\u0430 \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u0438 \u043E\u043F\u0438\u0442\u0430\u0439\u0442\u0435 \u0434\u0430 \u0437\u0430\u043F\u0430\u0437\u0438\u0442\u0435 \u043E\u0442\u043D\u043E\u0432\u043E.",c="\u0418\u043C\u0435\u0442\u043E \u043D\u0430 \u0443\u0441\u043B\u0443\u0433\u0430\u0442\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 \u0435\u0434\u0438\u043D \u0438\u043B\u0438 \u043F\u043E\u0432\u0435\u0447\u0435 \u043D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0438 \u0437\u043D\u0430\u043A\u0430.",m="\u0417\u0430\u043F\u0430\u0437\u0432\u0430\u043D\u0435\u0442\u043E \u043D\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u0438\u044F \u0441\u043B\u043E\u0439 \u043A\u0430\u0442\u043E \u0445\u043E\u0441\u0442\u0432\u0430\u043D \u043E\u0431\u0435\u043A\u0442\u0435\u043D \u0441\u043B\u043E\u0439 \u043D\u0435 \u0435 \u0437\u0430\u0432\u044A\u0440\u0448\u0435\u043D\u043E.",u="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u043E\u043B\u0443\u0447\u0430\u0432\u0430\u043D\u0435 \u043D\u0430 \u043A\u043B\u044E\u0447\u043E\u0432\u0438 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430.",E="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u0440\u0435\u0436\u0434\u0430\u043D\u0435 \u043D\u0430 \u0441\u043B\u043E\u044F.",h="\u0421\u043B\u043E\u044F\u0442 \u043D\u0435 \u0435 \u043D\u0430\u043B\u0438\u0447\u0435\u043D.",y="${ dataPath } \u043D\u0435 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0438\u043C\u0430 \u043F\u043E\u0432\u0435\u0447\u0435 \u043E\u0442 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438.",P="\u0412\u044A\u0437\u043D\u0438\u043A\u043D\u0430 \u0433\u0440\u0435\u0448\u043A\u0430 \u043F\u0440\u0438 \u0437\u0430\u043F\u0430\u0437\u0432\u0430\u043D\u0435\u0442\u043E \u043D\u0430 \u0442\u043E\u0437\u0438 \u043C\u043E\u0434\u0435\u043B. \u041E\u043F\u0438\u0442\u0430\u0439\u0442\u0435 \u043E\u0442\u043D\u043E\u0432\u043E \u0441\u043B\u0435\u0434 \u043C\u0430\u043B\u043A\u043E.",p="${ dataPath } \u043D\u0435 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0438\u043C\u0430 \u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u043E\u0442 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438.",S="${ dataPath } \u043D\u0435 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0438\u043C\u0430 \u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u043E\u0442 ${ limit } \u0441\u0438\u043C\u0432\u043E\u043B\u0438.",$="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u0440\u0435\u0436\u0434\u0430\u043D\u0435 \u043D\u0430 \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u043E\u0442 \u043C\u043E\u0434\u0435\u043B. \u0423\u0432\u0435\u0440\u0435\u0442\u0435 \u0441\u0435, \u0447\u0435 \u043C\u043E\u0434\u0435\u043B\u0430 \u0441\u044A\u0449\u0435\u0441\u0442\u0432\u0443\u0432\u0430 \u0438 \u0447\u0435 \u0435 \u0434\u0430\u0434\u0435\u043D\u043E \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0437\u0430 \u0434\u043E\u0441\u0442\u044A\u043F.",v="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0438\u0437\u043F\u044A\u043B\u043D\u0435\u043D\u0438\u0435 \u043D\u0430 \u0437\u0430\u044F\u0432\u043A\u0430\u0442\u0430.",f="\u041D\u044F\u043C\u0430\u0442\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0437\u0430 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 \u0442\u043E\u0437\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442. <calcite-link target='_blank' href='${ docLink }'>\u041D\u0430\u0443\u0447\u0435\u0442\u0435 \u043F\u043E\u0432\u0435\u0447\u0435</calcite-link>",F="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0432\u043B\u0438\u0437\u0430\u043D\u0435 \u0432 \u043F\u043E\u0440\u0442\u0430\u043B\u0430.",I="\u0412\u0445\u043E\u0434\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438 \u043D\u0435 \u043C\u043E\u0433\u0430\u0442 \u0434\u0430 \u0441\u0435 \u043F\u0440\u043E\u0447\u0435\u0442\u0430\u0442.",k="${ dataPath } \u043D\u044F\u043C\u0430 \u0438\u043C\u0435 \u043D\u0430 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E ${ missingProperty }.",T="\u0421\u043B\u043E\u0439 \u0441 \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0438 \u0432\u0435\u0447\u0435 \u0441\u044A\u0449\u0435\u0441\u0442\u0432\u0443\u0432\u0430 \u0441 \u0442\u043E\u0432\u0430 \u0438\u043C\u0435. \u0421\u043B\u043E\u0435\u0432\u0435\u0442\u0435 \u0441 \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0438 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0430\u0442 \u043D\u0430\u0438\u043C\u0435\u043D\u0443\u0432\u0430\u043D\u0438 \u0443\u043D\u0438\u043A\u0430\u043B\u043D\u043E \u0432 \u0446\u044F\u043B\u0430\u0442\u0430 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u044F. \u041C\u043E\u043B\u044F, \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u043E \u0438\u043C\u0435.",L="\u0418\u0437\u0445\u043E\u0434\u043D\u043E\u0442\u043E \u0438\u043C\u0435 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 \u0435\u0434\u0438\u043D \u0438\u043B\u0438 \u043F\u043E\u0432\u0435\u0447\u0435 \u043D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0438 \u0437\u043D\u0430\u043A\u0430. <a href='${docLink}' target='_blank'>\u041D\u0430\u0443\u0447\u0435\u0442\u0435 \u043F\u043E\u0432\u0435\u0447\u0435.</a>",b="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u0443\u0431\u043B\u0438\u043A\u0443\u0432\u0430\u043D\u0435 \u043D\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u0438\u044F \u0441\u043B\u043E\u0439 \u043A\u0430\u0442\u043E \u0445\u043E\u0441\u0442\u0432\u0430\u043D \u0441\u043B\u043E\u0439 \u043F\u043E\u0440\u0430\u0434\u0438 \u0435\u0434\u043D\u043E \u0438\u043B\u0438 \u043F\u043E\u0432\u0435\u0447\u0435 \u043D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0438 \u043F\u043E\u043B\u0435\u0442\u0430. \u0412\u0440\u044A\u0449\u0430\u043D\u0435 \u043D\u0430 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430 \u0437\u0430 \u0441\u044A\u0437\u0434\u0430\u0432\u0430\u043D\u0435 \u043D\u0430 \u0441\u043B\u043E\u0439 \u0441 \u0432\u0430\u043B\u0438\u0434\u043D\u0438 \u043F\u043E\u043B\u0435\u0442\u0430.",N="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u043E\u0434\u0430\u0432\u0430\u043D\u0435 \u043D\u0430 \u0437\u0430\u0434\u0430\u043D\u0438\u0435. \u041F\u0440\u0435\u0432\u044A\u0440\u0442\u0435\u0442\u0435 \u043D\u0430\u0434\u043E\u043B\u0443, \u043A\u043E\u0440\u0438\u0433\u0438\u0440\u0430\u0439\u0442\u0435 \u0433\u0440\u0435\u0448\u043A\u0438\u0442\u0435 \u0438 \u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u0439\u0442\u0435 \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043E\u0442\u043D\u043E\u0432\u043E.",g="${ dataPath } \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0438\u043C\u0430 \u043F\u043E\u043D\u0435 \u0435\u0434\u0438\u043D \u0441\u0438\u043C\u0432\u043E\u043B, \u043A\u043E\u0439\u0442\u043E \u043D\u0435 \u0435 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import"./6UZSVHNV.js";var e="\u041D\u044F\u043C\u0430\u0442\u0435 \u0434\u043E\u0441\u0442\u0430\u0442\u044A\u0447\u043D\u043E \u043A\u0440\u0435\u0434\u0438\u0442\u0438, \u0437\u0430 \u0434\u0430 \u0438\u0437\u043F\u044A\u043B\u043D\u0438\u0442\u0435 \u0442\u0430\u0437\u0438 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044F. \u0421\u0432\u044A\u0440\u0436\u0435\u0442\u0435 \u0441\u0435 \u0441 \u0432\u0430\u0448\u0438\u044F \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440 \u043D\u0430 \u0441\u0438\u0441\u0442\u0435\u043C\u0430\u0442\u0430 ArcGIS \u0437\u0430 \u0441\u044A\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435.",a="\u0422\u043E\u0437\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442 \u0435 \u043F\u0443\u0431\u043B\u0438\u043A\u0443\u0432\u0430\u043D \u043E\u0442 \u0431\u0435\u043B\u0435\u0436\u043D\u0438\u043A. \u0414\u043E\u0441\u0442\u044A\u043F\u044A\u0442 \u0434\u043E ArcGIS Notebooks \u0435 \u0431\u043B\u043E\u043A\u0438\u0440\u0430\u043D \u0437\u0430 \u0412\u0430\u0448\u0430\u0442\u0430 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u044F. \u0421\u0432\u044A\u0440\u0436\u0435\u0442\u0435 \u0441\u0435 \u0441 \u0412\u0430\u0448\u0438\u044F \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440, \u0437\u0430 \u0434\u0430 \u043A\u043E\u0440\u0438\u0433\u0438\u0440\u0430\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0442\u0430.",r="${ dataPath } \u043D\u0435 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 ${ additionalProperty }.",t="${ dataPath } \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0441\u044A\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0430 \u043D\u0430 \u0441\u0445\u0435\u043C\u0430\u0442\u0430 \u043D\u0430 \u0435\u0434\u043D\u0430 \u043E\u0442 \u0442\u0435\u0437\u0438: ${ schemaOptions }.",o="\u041E\u043F\u0438\u0442\u0430\u0439\u0442\u0435 \u043E\u0442\u043D\u043E\u0432\u043E \u0434\u0430 \u0437\u0430\u043F\u0430\u0437\u0438\u0442\u0435 \u043A\u0430\u0440\u0442\u0430\u0442\u0430.",s="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043E\u0446\u0435\u043D\u044F\u0432\u0430\u043D\u0435 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442. \u041F\u0440\u0435\u0432\u044A\u0440\u0442\u0435\u0442\u0435 \u043D\u0430\u0434\u043E\u043B\u0443, \u043A\u043E\u0440\u0438\u0433\u0438\u0440\u0430\u0439\u0442\u0435 \u0433\u0440\u0435\u0448\u043A\u0438\u0442\u0435 \u0438 \u043E\u0446\u0435\u043D\u0435\u0442\u0435 \u043A\u0440\u0435\u0434\u0438\u0442\u0438\u0442\u0435 \u043E\u0442\u043D\u043E\u0432\u043E.",i="\u0412\u044A\u0437\u043D\u0438\u043A\u043D\u0430 \u0433\u0440\u0435\u0448\u043A\u0430 \u043F\u0440\u0438 \u0438\u0437\u043F\u044A\u043B\u043D\u0435\u043D\u0438\u0435\u0442\u043E \u043D\u0430 \u0430\u043D\u0430\u043B\u0438\u0437\u0430.",l="${ dataPath } \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0435 \u0440\u0430\u0432\u043D\u0430 \u043D\u0430 \u0435\u0434\u043D\u0430 \u043E\u0442 \u0442\u0435\u0437\u0438 \u043F\u043E\u0437\u0432\u043E\u043B\u0435\u043D\u0438 \u0441\u0442\u043E\u0439\u043D\u043E\u0441\u0442\u0438: ${ allowedValues }.",d="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u043F\u0430\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 \u0445\u0440\u043E\u043D\u043E\u043B\u043E\u0433\u0438\u044F\u0442\u0430 \u043D\u0430 \u0430\u043D\u0430\u043B\u0438\u0437\u0430",n="\u0425\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435\u0442\u043E \u0437\u0430 \u0445\u0440\u043E\u043D\u043E\u043B\u043E\u0433\u0438\u044F \u0435 \u043F\u044A\u043B\u043D\u043E. \u041F\u0440\u0435\u043C\u0430\u0445\u043D\u0435\u0442\u0435 \u043D\u044F\u043A\u043E\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u043E\u0442 \u0445\u0440\u043E\u043D\u043E\u043B\u043E\u0433\u0438\u044F\u0442\u0430 \u043D\u0430 \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u0438 \u043E\u043F\u0438\u0442\u0430\u0439\u0442\u0435 \u0434\u0430 \u0437\u0430\u043F\u0430\u0437\u0438\u0442\u0435 \u043E\u0442\u043D\u043E\u0432\u043E.",c="\u0418\u043C\u0435\u0442\u043E \u043D\u0430 \u0443\u0441\u043B\u0443\u0433\u0430\u0442\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 \u0435\u0434\u0438\u043D \u0438\u043B\u0438 \u043F\u043E\u0432\u0435\u0447\u0435 \u043D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0438 \u0437\u043D\u0430\u043A\u0430.",m="\u0417\u0430\u043F\u0430\u0437\u0432\u0430\u043D\u0435\u0442\u043E \u043D\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u0438\u044F \u0441\u043B\u043E\u0439 \u043A\u0430\u0442\u043E \u0445\u043E\u0441\u0442\u0432\u0430\u043D \u043E\u0431\u0435\u043A\u0442\u0435\u043D \u0441\u043B\u043E\u0439 \u043D\u0435 \u0435 \u0437\u0430\u0432\u044A\u0440\u0448\u0435\u043D\u043E.",u="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u043E\u043B\u0443\u0447\u0430\u0432\u0430\u043D\u0435 \u043D\u0430 \u043A\u043B\u044E\u0447\u043E\u0432\u0438 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u0430.",E="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u0440\u0435\u0436\u0434\u0430\u043D\u0435 \u043D\u0430 \u0441\u043B\u043E\u044F.",h="\u0421\u043B\u043E\u044F\u0442 \u043D\u0435 \u0435 \u043D\u0430\u043B\u0438\u0447\u0435\u043D.",y="${ dataPath } \u043D\u0435 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0438\u043C\u0430 \u043F\u043E\u0432\u0435\u0447\u0435 \u043E\u0442 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438.",P="\u0412\u044A\u0437\u043D\u0438\u043A\u043D\u0430 \u0433\u0440\u0435\u0448\u043A\u0430 \u043F\u0440\u0438 \u0437\u0430\u043F\u0430\u0437\u0432\u0430\u043D\u0435\u0442\u043E \u043D\u0430 \u0442\u043E\u0437\u0438 \u043C\u043E\u0434\u0435\u043B. \u041E\u043F\u0438\u0442\u0430\u0439\u0442\u0435 \u043E\u0442\u043D\u043E\u0432\u043E \u0441\u043B\u0435\u0434 \u043C\u0430\u043B\u043A\u043E.",p="${ dataPath } \u043D\u0435 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0438\u043C\u0430 \u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u043E\u0442 ${ limit } \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438.",S="${ dataPath } \u043D\u0435 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0438\u043C\u0430 \u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u043E\u0442 ${ limit } \u0441\u0438\u043C\u0432\u043E\u043B\u0438.",$="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0437\u0430\u0440\u0435\u0436\u0434\u0430\u043D\u0435 \u043D\u0430 \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u043E\u0442 \u043C\u043E\u0434\u0435\u043B. \u0423\u0432\u0435\u0440\u0435\u0442\u0435 \u0441\u0435, \u0447\u0435 \u043C\u043E\u0434\u0435\u043B\u0430 \u0441\u044A\u0449\u0435\u0441\u0442\u0432\u0443\u0432\u0430 \u0438 \u0447\u0435 \u0435 \u0434\u0430\u0434\u0435\u043D\u043E \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0437\u0430 \u0434\u043E\u0441\u0442\u044A\u043F.",v="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0438\u0437\u043F\u044A\u043B\u043D\u0435\u043D\u0438\u0435 \u043D\u0430 \u0437\u0430\u044F\u0432\u043A\u0430\u0442\u0430.",f="\u041D\u044F\u043C\u0430\u0442\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0435 \u0437\u0430 \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u043D\u0435 \u043D\u0430 \u0442\u043E\u0437\u0438 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442. <calcite-link target='_blank' href='${ docLink }'>\u041D\u0430\u0443\u0447\u0435\u0442\u0435 \u043F\u043E\u0432\u0435\u0447\u0435</calcite-link>",F="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0432\u043B\u0438\u0437\u0430\u043D\u0435 \u0432 \u043F\u043E\u0440\u0442\u0430\u043B\u0430.",I="\u0412\u0445\u043E\u0434\u043D\u0438\u0442\u0435 \u0434\u0430\u043D\u043D\u0438 \u043D\u0435 \u043C\u043E\u0433\u0430\u0442 \u0434\u0430 \u0441\u0435 \u043F\u0440\u043E\u0447\u0435\u0442\u0430\u0442.",k="${ dataPath } \u043D\u044F\u043C\u0430 \u0438\u043C\u0435 \u043D\u0430 \u0441\u0432\u043E\u0439\u0441\u0442\u0432\u043E ${ missingProperty }.",T="\u0421\u043B\u043E\u0439 \u0441 \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0438 \u0432\u0435\u0447\u0435 \u0441\u044A\u0449\u0435\u0441\u0442\u0432\u0443\u0432\u0430 \u0441 \u0442\u043E\u0432\u0430 \u0438\u043C\u0435. \u0421\u043B\u043E\u0435\u0432\u0435\u0442\u0435 \u0441 \u0440\u0435\u0437\u0443\u043B\u0442\u0430\u0442\u0438 \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0431\u044A\u0434\u0430\u0442 \u043D\u0430\u0438\u043C\u0435\u043D\u0443\u0432\u0430\u043D\u0438 \u0443\u043D\u0438\u043A\u0430\u043B\u043D\u043E \u0432 \u0446\u044F\u043B\u0430\u0442\u0430 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u044F. \u041C\u043E\u043B\u044F, \u0438\u0437\u043F\u043E\u043B\u0437\u0432\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u043E \u0438\u043C\u0435.",L="\u0418\u0437\u0445\u043E\u0434\u043D\u043E\u0442\u043E \u0438\u043C\u0435 \u0441\u044A\u0434\u044A\u0440\u0436\u0430 \u0435\u0434\u0438\u043D \u0438\u043B\u0438 \u043F\u043E\u0432\u0435\u0447\u0435 \u043D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0438 \u0437\u043D\u0430\u043A\u0430. <a href='${docLink}' target='_blank'>\u041D\u0430\u0443\u0447\u0435\u0442\u0435 \u043F\u043E\u0432\u0435\u0447\u0435.</a>",b="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u0443\u0431\u043B\u0438\u043A\u0443\u0432\u0430\u043D\u0435 \u043D\u0430 \u0432\u0440\u0435\u043C\u0435\u043D\u043D\u0438\u044F \u0441\u043B\u043E\u0439 \u043A\u0430\u0442\u043E \u0445\u043E\u0441\u0442\u0432\u0430\u043D \u0441\u043B\u043E\u0439 \u043F\u043E\u0440\u0430\u0434\u0438 \u0435\u0434\u043D\u043E \u0438\u043B\u0438 \u043F\u043E\u0432\u0435\u0447\u0435 \u043D\u0435\u0432\u0430\u043B\u0438\u0434\u043D\u0438 \u043F\u043E\u043B\u0435\u0442\u0430. \u0412\u0440\u044A\u0449\u0430\u043D\u0435 \u043D\u0430 \u0438\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0430 \u0437\u0430 \u0441\u044A\u0437\u0434\u0430\u0432\u0430\u043D\u0435 \u043D\u0430 \u0441\u043B\u043E\u0439 \u0441 \u0432\u0430\u043B\u0438\u0434\u043D\u0438 \u043F\u043E\u043B\u0435\u0442\u0430.",N="\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043F\u043E\u0434\u0430\u0432\u0430\u043D\u0435 \u043D\u0430 \u0437\u0430\u0434\u0430\u043D\u0438\u0435. \u041F\u0440\u0435\u0432\u044A\u0440\u0442\u0435\u0442\u0435 \u043D\u0430\u0434\u043E\u043B\u0443, \u043A\u043E\u0440\u0438\u0433\u0438\u0440\u0430\u0439\u0442\u0435 \u0433\u0440\u0435\u0448\u043A\u0438\u0442\u0435 \u0438 \u0441\u0442\u0430\u0440\u0442\u0438\u0440\u0430\u0439\u0442\u0435 \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u043E\u0442\u043D\u043E\u0432\u043E.",g="${ dataPath } \u0442\u0440\u044F\u0431\u0432\u0430 \u0434\u0430 \u0438\u043C\u0430 \u043F\u043E\u043D\u0435 \u0435\u0434\u0438\u043D \u0441\u0438\u043C\u0432\u043E\u043B, \u043A\u043E\u0439\u0442\u043E \u043D\u0435 \u0435 \u0438\u043D\u0442\u0435\u0440\u0432\u0430\u043B.",V={InsufficientCreditsError:e,accessBlocked:a,additionalProperty:r,anyOfValues:t,cannotWriteToItemResource:o,creditEstimationError:s,defaultError:i,enumValues:l,failedToSaveHistory:d,fullSessionStorage:n,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:u,layerLoadFailure:E,layerUnavailable:h,maxItems:y,mbFailedToSave:P,minItems:p,minLength:S,modelNotFound:$,networkError:v,noPermissionToAccessTool:f,portalLoadError:F,queryFeaturesError:I,requiredProperty:k,serviceNameExistsError:T,specialCharactersInServiceNameError:L,temporaryLayerFieldsError:b,toolValidationError:N,whiteSpacePattern:g};export{e as InsufficientCreditsError,a as accessBlocked,r as additionalProperty,t as anyOfValues,o as cannotWriteToItemResource,s as creditEstimationError,V as default,i as defaultError,l as enumValues,d as failedToSaveHistory,n as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,E as layerLoadFailure,h as layerUnavailable,y as maxItems,P as mbFailedToSave,p as minItems,S as minLength,$ as modelNotFound,v as networkError,f as noPermissionToAccessTool,F as portalLoadError,I as queryFeaturesError,k as requiredProperty,T as serviceNameExistsError,L as specialCharactersInServiceNameError,b as temporaryLayerFieldsError,N as toolValidationError,g as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
4
|
async function h(r,e){let t=[],n=r?r.map(s=>b(s,e)):[Promise.resolve()];return(await Promise.all(n)).forEach(s=>{t=[...t,...s||[]]}),t}async function m(r,e,t,n,s,o){let a=e.capabilities?.query.maxRecordCount||1e3,y=0;r.length===0&&(r=await e.queryObjectIds());let c=e.createQuery();if(c.returnGeometry=n,c.objectIds=r.slice(y,a),s&&(c.outSpatialReference=s),o){let d=e.fields.map(u=>u.name.toLowerCase());c.outFields=o.filter(u=>d.indexOf(u.toLowerCase())>-1)}let f=await e.queryFeatures(c);t=t.concat(f.features);let l=r.slice(a,r.length);return l.length>0?m(l,e,t,n,s,o):Promise.resolve(t)}async function q(r,e){let t=e.globalIdField;if(!t)return[];let n=e.createQuery();return n.returnGeometry=!1,n.outFields=[e.objectIdField],n.where=r.map(s=>`${t} = '${s}'`).join(" or "),(await e.queryFeatures(n)).features}async function p(r,e,t,n){let s=e.capabilities?.query.maxRecordCount||1e3,o=e.createQuery();o.start=r,o.num=s,o.geometry=t;let a=await e.queryFeatures(o);return n[e.id]=n[e.id].concat(a.features),a.exceededTransferLimit?p(r+=s,e,t,n):Promise.resolve(n)}async function g(r,e){let t=e.createQuery();return t.objectIds=r,e.queryExtent(t)}function w(r,e){let t=[],n=i(r,"polygon",e);n&&t.push(n);let s=i(r,"polyline",e);s&&t.push(s);let o=i(r,"point",e);return o&&t.push(o),t}function i(r,e,t){let n=(r||[]).filter(s=>s.type===e);return n.length<=1?n[0]:t.executeMany(n)}async function b(r,e){let t=e.createQuery();return t.spatialRelationship="intersects",t.geometry=r,e.queryObjectIds(t)}export{h as a,m as b,q as c,p as d,g as e,w as f};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v1.2.0-next.35 */
|
|
4
|
+
import a from"./RAGS7E4J.js";export default $arcgis.t(([u])=>{var b=(e=>(e.User="user",e.Translation="translation",e))(b||{}),h=(e=>(e.String="string",e.TextEditor="textEditor",e))(h||{}),y=(e=>(e.ExpandCollapse="list-merge",e.SettingIndicator="list-button",e.Popover="information",e.Expanded="chevron-down",e.Collapsed="chevron-right",e.Copy="copy-to-clipboard",e.DefaultIcon="language",e.Title="title",e.Subtitle="subheading",e.Text="text",e.Description="description",e.Button="button",e.String="string",e))(y||{}),d=(e=>(e.Light="calcite-mode-light",e.Dark="calcite-mode-dark",e))(d||{}),v=`
|
|
5
5
|
.instant-apps-language-translator-item__nested-input .ck.ck-reset.ck-editor.ck-rounded-corners {
|
|
6
6
|
margin-left: 30px !important;
|
|
7
7
|
}
|