@esri/solutions-components 1.2.0-next.29 → 1.2.0-next.30
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/{GTBTNYUB.js → 24DMHUEK.js} +2 -2
- package/dist/cdn/{637KJLRY.js → 25MYRWPK.js} +2 -2
- package/dist/cdn/{OXKDL3ZZ.js → 277565E7.js} +2 -2
- package/dist/cdn/{UVWJ74EQ.js → 2776LBZR.js} +2 -2
- package/dist/cdn/{IIRC7GMS.js → 27GKKFQI.js} +2 -2
- package/dist/cdn/2DKKN6C2.js +4 -0
- package/dist/cdn/{V45JMZLM.js → 2GFXYPLE.js} +2 -2
- package/dist/cdn/{7GIUAE5B.js → 2GMVKD6U.js} +2 -2
- package/dist/cdn/{YOWTBD5K.js → 2HXRWLJY.js} +2 -2
- package/dist/cdn/{LTIMIV27.js → 2IKATLLY.js} +2 -2
- package/dist/cdn/{VJSXFLG2.js → 2PW6ABS2.js} +2 -2
- package/dist/cdn/{OQ2KZCDG.js → 2RHNGWV3.js} +2 -2
- package/dist/cdn/{Y6QPA4FO.js → 2U7L5PBM.js} +2 -2
- package/dist/cdn/{34BRZOER.js → 2YRUPZI2.js} +2 -2
- package/dist/cdn/{4IZZJYNG.js → 2ZIO725Y.js} +2 -2
- package/dist/cdn/346BLCF2.js +4 -0
- package/dist/cdn/{GVG4JRAT.js → 34PDVGEI.js} +2 -2
- package/dist/cdn/{CMU4VKAK.js → 36VKRU3A.js} +2 -2
- package/dist/cdn/{CAPMHYEL.js → 3CSYZLTP.js} +2 -2
- package/dist/cdn/{FUV2ZFD6.js → 3FWMXAKG.js} +2 -2
- package/dist/cdn/{JQNJ4U3O.js → 3FYPCIOV.js} +2 -2
- package/dist/cdn/{JZ6D7ARI.js → 3ICH54JL.js} +2 -2
- package/dist/cdn/{KFI5RCJB.js → 3JCJJ2GF.js} +2 -2
- package/dist/cdn/{Q3JHTUFX.js → 3VWHKZED.js} +2 -2
- package/dist/cdn/3WDCAEUK.js +4 -0
- package/dist/cdn/{BET3UKJ4.js → 3Z6YZFUQ.js} +2 -2
- package/dist/cdn/{DSQVQROY.js → 47L5OVTL.js} +2 -2
- package/dist/cdn/{FJNOEXB2.js → 4ETQSIFF.js} +2 -2
- package/dist/cdn/{3LG7GNW4.js → 4EXGNBXW.js} +2 -2
- package/dist/cdn/{YDWUI2DB.js → 4R3HMKHB.js} +2 -2
- package/dist/cdn/{42LKPTBE.js → 4SKQUXSZ.js} +2 -2
- package/dist/cdn/{C4SINYMA.js → 4T73N7V2.js} +2 -2
- package/dist/cdn/{OMFWGOLW.js → 4U3FPTF5.js} +2 -2
- package/dist/cdn/{RW2NWPYX.js → 5AWDPORB.js} +2 -2
- package/dist/cdn/{FSJ4WT4J.js → 5HZVV4CF.js} +1 -1
- package/dist/cdn/{X3NZABYS.js → 5LKRTP4M.js} +2 -2
- package/dist/cdn/{2ODRUX4H.js → 5MKH7FO7.js} +2 -2
- package/dist/cdn/{JFUT65WA.js → 5NTV25EH.js} +2 -2
- package/dist/cdn/{2VGMHKCZ.js → 5PWFCMK4.js} +2 -2
- package/dist/cdn/{HILHBMMF.js → 5QGNITLO.js} +2 -2
- package/dist/cdn/{RNK2DRSZ.js → 63WA56NY.js} +2 -2
- package/dist/cdn/{LHXA2VJV.js → 65GKVZWM.js} +2 -2
- package/dist/cdn/{5YF2LT6E.js → 65ZZ77SE.js} +1 -1
- package/dist/cdn/{UJ76P6YW.js → 6DCWHIG6.js} +2 -2
- package/dist/cdn/{VUJM6CEQ.js → 6FNOQGIZ.js} +2 -2
- package/dist/cdn/{Y7PAMQSJ.js → 6M575VM5.js} +1 -1
- package/dist/cdn/{T54JOHDI.js → 6NKXBHT3.js} +2 -2
- package/dist/cdn/{4M2JEUGQ.js → 6QXC35GC.js} +2 -2
- package/dist/cdn/{CZHKY7QX.js → 6RA3RUIS.js} +2 -2
- package/dist/cdn/{S5WEP365.js → 6TAASZPW.js} +2 -2
- package/dist/cdn/{AFLZ2B5B.js → 6YD2HBWD.js} +2 -2
- package/dist/cdn/{PGQXTGBK.js → 72SAT2FH.js} +1 -1
- package/dist/cdn/{I25ET3VO.js → 72XEQTIF.js} +2 -2
- package/dist/cdn/{SL72UR27.js → 74G765B3.js} +2 -2
- package/dist/cdn/{EPLSGFNF.js → 7F6JTIWK.js} +2 -2
- package/dist/cdn/{UVHYKVKJ.js → 7HFPD7CI.js} +2 -2
- package/dist/cdn/7NHT4ID4.js +4 -0
- package/dist/cdn/{7MT36JS7.js → 7QLGF5J6.js} +2 -2
- package/dist/cdn/{4GXQIPU2.js → 7S7DGB25.js} +2 -2
- package/dist/cdn/{NJPTZ7VW.js → 7VMUOYRC.js} +2 -2
- package/dist/cdn/{DYGSCTAN.js → ABDQSCIZ.js} +2 -2
- package/dist/cdn/{GJFSHWWS.js → AE6H6ELK.js} +2 -2
- package/dist/cdn/{IVSSZJLR.js → AK4FP6HL.js} +1 -1
- package/dist/cdn/{HJQRQGJX.js → ASR3PHZX.js} +2 -2
- package/dist/cdn/{QMD6QGIT.js → AT2K2TZK.js} +2 -2
- package/dist/cdn/{CLWHYL22.js → AUZIEPJY.js} +2 -2
- package/dist/cdn/{TDYBGGVN.js → AWBOSR4C.js} +1 -1
- package/dist/cdn/{KXS4CNPZ.js → AXOVLMEZ.js} +2 -2
- package/dist/cdn/{G6MBJI5J.js → AZCLMDQA.js} +2 -2
- package/dist/cdn/{LJCAL7OB.js → B4GTYQZH.js} +2 -2
- package/dist/cdn/B4OV3LHY.js +4 -0
- package/dist/cdn/{OBKLZGUU.js → B7ALYLRG.js} +2 -2
- package/dist/cdn/{726PAGUX.js → B7RCE3HL.js} +3 -3
- package/dist/cdn/{XI7C3XWW.js → B7V66ZZG.js} +1 -1
- package/dist/cdn/{D75EEQ33.js → BBIGCWRV.js} +2 -2
- package/dist/cdn/{KEHYFSHC.js → BDJVTVGV.js} +2 -2
- package/dist/cdn/{MCDCI4Q4.js → BHDNLSI7.js} +1 -1
- package/dist/cdn/{CZ4NJTNL.js → BMYOJ35W.js} +2 -2
- package/dist/cdn/{ZMBJ3XAR.js → BPOQYDR5.js} +2 -2
- package/dist/cdn/{RXEB4V4A.js → BPXPCMXX.js} +2 -2
- package/dist/cdn/{L2RZOLUH.js → BTBWYAZW.js} +3 -3
- package/dist/cdn/{IJG7Y6LQ.js → BUF25CTJ.js} +1 -1
- package/dist/cdn/{QYI2NM63.js → BV53Z64R.js} +2 -2
- package/dist/cdn/{VIWMYTAZ.js → BX56GQJM.js} +2 -2
- package/dist/cdn/{RAZL3S2Z.js → C4AGRX46.js} +2 -2
- package/dist/cdn/{UE63NZ5Q.js → C6XXEAWS.js} +2 -2
- package/dist/cdn/{GCSY3KDP.js → CAC5OPSW.js} +2 -2
- package/dist/cdn/{YKL4VZN3.js → CEUB4OXF.js} +2 -2
- package/dist/cdn/{KAIC5OTF.js → CNZTLIB3.js} +2 -2
- package/dist/cdn/{XVY32XYS.js → CP4HACAH.js} +1 -1
- package/dist/cdn/{YUPFOWG4.js → CQKXZVLC.js} +2 -2
- package/dist/cdn/{2FBPNSXA.js → CUAZD4LK.js} +2 -2
- package/dist/cdn/{J4VYZFXO.js → CYDNA2QI.js} +2 -2
- package/dist/cdn/{YOQCSJUB.js → D2D2CPBJ.js} +2 -2
- package/dist/cdn/{MS3FGES5.js → D465QWTQ.js} +2 -2
- package/dist/cdn/{7GMXQZUT.js → DFEHZSKJ.js} +2 -2
- package/dist/cdn/{XGW262HE.js → DLDZLA7R.js} +2 -2
- package/dist/cdn/{K6VOOOXL.js → DOUPRF5M.js} +2 -2
- package/dist/cdn/{FZW5EXN6.js → DPZVQEH4.js} +2 -2
- package/dist/cdn/{5AMI6PBN.js → DTHSN36M.js} +2 -2
- package/dist/cdn/{SOFXBUR4.js → DUBCPEXD.js} +2 -2
- package/dist/cdn/{7JFNQTIC.js → DUH2FCJG.js} +2 -2
- package/dist/cdn/{7DHMSIFZ.js → E6CHHVGK.js} +2 -2
- package/dist/cdn/{DLC7H4IG.js → EB2JKK3D.js} +2 -2
- package/dist/cdn/{7PLVROAD.js → ECGNRFQC.js} +2 -2
- package/dist/cdn/{XOIR37AC.js → ECKEIM2Y.js} +2 -2
- package/dist/cdn/{KNNAE5VT.js → EDB5QBJ4.js} +1 -1
- package/dist/cdn/{4JV2PH5I.js → EGM522HI.js} +1 -1
- package/dist/cdn/{4U4B757Q.js → EHZVBSNG.js} +2 -2
- package/dist/cdn/{S3DG3VY2.js → EIY2RNYU.js} +2 -2
- package/dist/cdn/{Y7S2OJQS.js → EORDZOGU.js} +2 -2
- package/dist/cdn/{VVM4QRLC.js → EVNTAGJW.js} +2 -2
- package/dist/cdn/{JKTIVJQS.js → EVNUKA47.js} +2 -2
- package/dist/cdn/{GS2OHJH2.js → EZU7FJ4I.js} +2 -2
- package/dist/cdn/{ZOHD67WR.js → F2EIQ3EO.js} +2 -2
- package/dist/cdn/{IH3XGMXV.js → F2QEERVM.js} +2 -2
- package/dist/cdn/{IE4EXQ23.js → F5Z37SAY.js} +2 -2
- package/dist/cdn/F6BFZHUG.js +4 -0
- package/dist/cdn/{XGCUX3YH.js → FA3IKFAL.js} +1 -1
- package/dist/cdn/{4TDVT627.js → FDUPZ25R.js} +2 -2
- package/dist/cdn/{O76KRXD2.js → FEWO73EQ.js} +2 -2
- package/dist/cdn/{PI6SOLMA.js → FG6WOVWI.js} +2 -2
- package/dist/cdn/{JH4HEEH5.js → FKNP522A.js} +1 -1
- package/dist/cdn/{FDABEUAQ.js → FLQEDTUI.js} +2 -2
- package/dist/cdn/{F64RESAA.js → FP6CVRPP.js} +2 -2
- package/dist/cdn/{BBIRTPAK.js → FRS5F6O5.js} +2 -2
- package/dist/cdn/{F3LKDXNE.js → GAQ3EPIU.js} +2 -2
- package/dist/cdn/GD43N373.js +4 -0
- package/dist/cdn/{FXMELYCX.js → GFEO3V7B.js} +2 -2
- package/dist/cdn/{7XTEWTAE.js → GGMFABEF.js} +2 -2
- package/dist/cdn/{YFWHPJ2I.js → GJYH7TRE.js} +2 -2
- package/dist/cdn/{O3DZOH2M.js → GLIEFW2W.js} +1 -1
- package/dist/cdn/{Z6PF2GY3.js → GNLAHRZT.js} +2 -2
- package/dist/cdn/{3PBF2KZT.js → GOLJIOZF.js} +2 -2
- package/dist/cdn/{FTNEAQKJ.js → GPLD4OLN.js} +1 -1
- package/dist/cdn/{SB5SB5HY.js → GPLPJI55.js} +2 -2
- package/dist/cdn/{WMMBNMLJ.js → GWPPIURG.js} +2 -2
- package/dist/cdn/{JFVR3ZWS.js → H2R75MHA.js} +2 -2
- package/dist/cdn/{SRT44NZQ.js → H3WB7ANQ.js} +2 -2
- package/dist/cdn/{BUPS4YPB.js → H4UX7IPM.js} +2 -2
- package/dist/cdn/{XNX7G65U.js → HC4IU67I.js} +2 -2
- package/dist/cdn/{542TBJQF.js → HDWF5BGC.js} +1 -1
- package/dist/cdn/{4MUHLGT3.js → HGN2PHJG.js} +2 -2
- package/dist/cdn/{LEIFM2XZ.js → HMBSQFUJ.js} +2 -2
- package/dist/cdn/{ZNEMJXIU.js → HN2G2EYZ.js} +2 -2
- package/dist/cdn/{L7TQUYCB.js → HQX2UTQA.js} +2 -2
- package/dist/cdn/{IJUFXY6R.js → HVONRLYE.js} +2 -2
- package/dist/cdn/{P4NU3Y3E.js → HXI2RJM3.js} +2 -2
- package/dist/cdn/{ZGKMQBVD.js → HXVM7BGX.js} +2 -2
- package/dist/cdn/{6A3LUFZU.js → HYVUOIDV.js} +1 -1
- package/dist/cdn/I73WIDZD.js +4 -0
- package/dist/cdn/IJCG3D4S.js +4 -0
- package/dist/cdn/{Q2HFYTXK.js → IJGEUPSK.js} +2 -2
- package/dist/cdn/{GJUURF7E.js → ILTORA35.js} +2 -2
- package/dist/cdn/{2HJZGGHS.js → ISBYRWUS.js} +2 -2
- package/dist/cdn/{SDKGHYVN.js → ITD43QIH.js} +2 -2
- package/dist/cdn/{PEBQQBVF.js → ITJX53EA.js} +2 -2
- package/dist/cdn/{DBBI5RCO.js → J2A24DGF.js} +1 -1
- package/dist/cdn/{5IGHMZZA.js → J45MBO4E.js} +2 -2
- package/dist/cdn/{M5V26I24.js → J62SMQQ7.js} +2 -2
- package/dist/cdn/{QGSETP7P.js → J7QDKBVB.js} +2 -2
- package/dist/cdn/{YT6FTUKT.js → JACZFLX5.js} +2 -2
- package/dist/cdn/{JNVMYQVW.js → JBJKRXXO.js} +2 -2
- package/dist/cdn/{A5EI6IRA.js → JC7USH53.js} +1 -1
- package/dist/cdn/{WXDHOB76.js → JFL4U4UA.js} +2 -2
- package/dist/cdn/{AL366YXY.js → JFT5UZJT.js} +2 -2
- package/dist/cdn/{36BYOAWA.js → JHUQCA3Z.js} +2 -2
- package/dist/cdn/{OBZ5BM4K.js → JN3I6HM2.js} +2 -2
- package/dist/cdn/{SPATRERU.js → JNSLXW7O.js} +2 -2
- package/dist/cdn/{5KGTOQXP.js → JQHH2OCZ.js} +2 -2
- package/dist/cdn/{BJMDPMCI.js → JTVBLWSK.js} +2 -2
- package/dist/cdn/{FIXJ7QOA.js → JXBEZT5A.js} +2 -2
- package/dist/cdn/{YOICY57S.js → K54HDSYB.js} +2 -2
- package/dist/cdn/{5HWG3VF5.js → KAFYTKP3.js} +2 -2
- package/dist/cdn/KIOXB2OZ.js +18 -0
- package/dist/cdn/{MB2ICWGW.js → KJ7FA4KA.js} +2 -2
- package/dist/cdn/{ASIP3ESQ.js → KJQJXQFO.js} +2 -2
- package/dist/cdn/{Z2IYJMDP.js → KPWGBLMQ.js} +2 -2
- package/dist/cdn/{WGO5IDFZ.js → KRGPHVWG.js} +2 -2
- package/dist/cdn/{2VJDHMSH.js → KUQK2ONH.js} +2 -2
- package/dist/cdn/{PIFPCJBZ.js → KV6OFAYE.js} +2 -2
- package/dist/cdn/{ENKQMZ7S.js → KXFJ5CVI.js} +2 -2
- package/dist/cdn/{5PR3GTCJ.js → L4ENNIQZ.js} +2 -2
- package/dist/cdn/{KCYHQEQL.js → L5LXFBXD.js} +2 -2
- package/dist/cdn/{AALWDC3F.js → LAOPK2BR.js} +2 -2
- package/dist/cdn/{6Q2D2CTV.js → LGY6RHRJ.js} +2 -2
- package/dist/cdn/{3IGAGUT7.js → LIQY6VUI.js} +2 -2
- package/dist/cdn/{DRLGRYKZ.js → LJ37OTR5.js} +2 -2
- package/dist/cdn/{6Z3QBPKC.js → LKEA7WT3.js} +2 -2
- package/dist/cdn/{H5FV45E4.js → LMF2IQVY.js} +2 -2
- package/dist/cdn/{W6IUZFTR.js → LMLBAQTW.js} +2 -2
- package/dist/cdn/{D7HJFEDE.js → LONY44WL.js} +2 -2
- package/dist/cdn/{UUCWDQN5.js → LPOSNNLD.js} +3 -3
- package/dist/cdn/{Q4WG6KC5.js → LWNDAKHU.js} +2 -2
- package/dist/cdn/{ULSSRPEH.js → LYQT3N5Z.js} +1 -1
- package/dist/cdn/{35ZDTVIH.js → M77VUV2Q.js} +2 -2
- package/dist/cdn/{FNHOBSV7.js → MBBBUQA7.js} +2 -2
- package/dist/cdn/{X4ITRPIH.js → MBGLCBIC.js} +2 -2
- package/dist/cdn/{Y5QA3ZCL.js → MCPVXPMM.js} +1 -1
- package/dist/cdn/{Y6C5AM2I.js → MMRBO6I4.js} +2 -2
- package/dist/cdn/{GM6NXIGN.js → MRRQXIAY.js} +1 -1
- package/dist/cdn/{XWT2BRTM.js → MRS7JBCM.js} +2 -2
- package/dist/cdn/{G3UXDFGM.js → MT4KKD5M.js} +2 -2
- package/dist/cdn/{2MMYLH3O.js → MXKXWU54.js} +1 -1
- package/dist/cdn/{PKW52G6Y.js → MYKMNK6X.js} +2 -2
- package/dist/cdn/{EWYFYQPN.js → MYMVJFH4.js} +3 -3
- package/dist/cdn/{QNYQE7MB.js → N3YA5MDL.js} +2 -2
- package/dist/cdn/{MDKKMIEU.js → NALQ7ZA4.js} +2 -2
- package/dist/cdn/{LPYRWLZT.js → NDBQUUTO.js} +1 -1
- package/dist/cdn/{TK75DXOU.js → NEVLWT5F.js} +2 -2
- package/dist/cdn/{6OGRA4SX.js → NGHRTOE5.js} +1 -1
- package/dist/cdn/{O762ISS4.js → NGL5DBBP.js} +2 -2
- package/dist/cdn/NLLMNIAA.js +4 -0
- package/dist/cdn/{HX77OJEL.js → NLPH7XLY.js} +2 -2
- package/dist/cdn/{YSGYQYCP.js → NMEYVDKO.js} +2 -2
- package/dist/cdn/{2KGPGX35.js → NQNIGRVW.js} +2 -2
- package/dist/cdn/{DQ42CLRJ.js → NS2BBVPW.js} +2 -2
- package/dist/cdn/{OSAGFF5P.js → NTLJHWLQ.js} +2 -2
- package/dist/cdn/{ZNLFP6VU.js → NWANGG5T.js} +2 -2
- package/dist/cdn/{X4XAWAN7.js → O4LF5ZK4.js} +2 -2
- package/dist/cdn/{3743AG44.js → O5O4WPGT.js} +2 -2
- package/dist/cdn/{NTXRAEF7.js → OCTGDVTD.js} +1 -1
- package/dist/cdn/{K5A2VUNS.js → OGFRY2XT.js} +2 -2
- package/dist/cdn/{KDMCL6HD.js → OGFYIHYL.js} +2 -2
- package/dist/cdn/{DOMDWVGG.js → OHWJG6P3.js} +2 -2
- package/dist/cdn/{JDXLOQSK.js → OJFZ6T4L.js} +2 -2
- package/dist/cdn/{SVB7U2ZV.js → OKEQ6VW4.js} +2 -2
- package/dist/cdn/{NS5IWWQO.js → ON3VIYPQ.js} +2 -2
- package/dist/cdn/{GJT7AIQM.js → OOC5Y54N.js} +2 -2
- package/dist/cdn/{C3OEVLZQ.js → OOHID67S.js} +2 -2
- package/dist/cdn/{UUSURSDT.js → OSOFOQEK.js} +2 -2
- package/dist/cdn/{BIYAU4S2.js → OU7QCTNJ.js} +2 -2
- package/dist/cdn/{QPWJ7SIS.js → OVWAIW4T.js} +2 -2
- package/dist/cdn/{4RQIHLRH.js → P32GLMOO.js} +2 -2
- package/dist/cdn/{D4V5BHBL.js → P7TBO62O.js} +1 -1
- package/dist/cdn/{LOIDFQHI.js → PCJIW7J4.js} +2 -2
- package/dist/cdn/{YCGWVXIN.js → PGGLPX3Y.js} +2 -2
- package/dist/cdn/{KZIQOWD4.js → PGWOXALJ.js} +2 -2
- package/dist/cdn/{3VGZ4J3A.js → PJFQYGK6.js} +2 -2
- package/dist/cdn/{TRGAH34U.js → PKH6X23Q.js} +2 -2
- package/dist/cdn/{TYO7JWQJ.js → PLRNVZN6.js} +2 -2
- package/dist/cdn/{UGZBVEZ3.js → PNAS5XAC.js} +1 -1
- package/dist/cdn/{JDNN62G4.js → PPT7MVPV.js} +2 -2
- package/dist/cdn/{3APBMJ3S.js → PTTGFXZZ.js} +2 -2
- package/dist/cdn/{OBUNVBBR.js → PVKLE7AC.js} +2 -2
- package/dist/cdn/{7U4W6N4M.js → Q5KLXIL2.js} +2 -2
- package/dist/cdn/QCGMRCNR.js +4 -0
- package/dist/cdn/{O6KQHRYO.js → QDHG7XI7.js} +2 -2
- package/dist/cdn/{EA2TP3R5.js → QG473DGW.js} +2 -2
- package/dist/cdn/{KCEO6GFM.js → QH7G7WSC.js} +1 -1
- package/dist/cdn/{BB54UEQC.js → QN7Y6QOZ.js} +2 -2
- package/dist/cdn/{CGAVSTWP.js → QNUGOWWM.js} +2 -2
- package/dist/cdn/{BRSNFP74.js → QOAKCYXR.js} +2 -2
- package/dist/cdn/{2JXEV33J.js → QRR2HRFO.js} +2 -2
- package/dist/cdn/{KD4QVMNS.js → QSX5S7NE.js} +2 -2
- package/dist/cdn/{HINBQAWV.js → QTHKDVZA.js} +2 -2
- package/dist/cdn/{OA4GSMQB.js → QTQ5VFMI.js} +2 -2
- package/dist/cdn/{WXZERFVD.js → QVX3HKWH.js} +2 -2
- package/dist/cdn/{UF4QMABZ.js → QYQGUEKK.js} +2 -2
- package/dist/cdn/{76MLLPPL.js → R5UVF7YP.js} +2 -2
- package/dist/cdn/{CWWAF2S2.js → R6C247GY.js} +2 -2
- package/dist/cdn/{3EFZ5JXZ.js → RBY55AW4.js} +2 -2
- package/dist/cdn/{T5EIBZZV.js → RH7MI7ML.js} +2 -2
- package/dist/cdn/{GKTXV5ZP.js → RJAI2F2A.js} +2 -2
- package/dist/cdn/{OCV6FKFE.js → RKXN5H6E.js} +2 -2
- package/dist/cdn/{K6RZLBPC.js → RMJBQVZQ.js} +2 -2
- package/dist/cdn/{CYBLJRLK.js → RYDA2GVY.js} +2 -2
- package/dist/cdn/{NYIVFYLB.js → RYTGUQNW.js} +2 -2
- package/dist/cdn/{OXMY3TPR.js → S2AT5YY2.js} +2 -2
- package/dist/cdn/{QKHCSBYB.js → S362MWIR.js} +2 -2
- package/dist/cdn/{EH5XLEIL.js → SH2FEGSB.js} +2 -2
- package/dist/cdn/{NXBWIYEG.js → SJGKDRLS.js} +1 -1
- package/dist/cdn/{H5ZICFAO.js → SLTVLCFQ.js} +2 -2
- package/dist/cdn/{YLFSEACC.js → SQ4ONYA6.js} +2 -2
- package/dist/cdn/{UAOFFEFM.js → STNJMHAQ.js} +2 -2
- package/dist/cdn/{ZB4QZ6LA.js → SWMICF3O.js} +2 -2
- package/dist/cdn/{GVKZVKRI.js → SZSFIVOE.js} +2 -2
- package/dist/cdn/{XV3SFNUW.js → SZVZ7L22.js} +2 -2
- package/dist/cdn/{HPLXSQ2N.js → T66GPNTR.js} +2 -2
- package/dist/cdn/{O7IJ64TR.js → TC3U37J7.js} +2 -2
- package/dist/cdn/{NI5MP5UO.js → TDB43YAO.js} +2 -2
- package/dist/cdn/{PK6CP2ZH.js → TE7MJY7J.js} +2 -2
- package/dist/cdn/{ORSAW35N.js → TF7HCU4R.js} +2 -2
- package/dist/cdn/{4HWH5G5I.js → TISZ6QTW.js} +2 -2
- package/dist/cdn/{P4P4WDTU.js → TPMDZI3N.js} +2 -2
- package/dist/cdn/{S563BKKD.js → TQZZQ74I.js} +1 -1
- package/dist/cdn/{KR2JYDNE.js → TUMBFPWA.js} +2 -2
- package/dist/cdn/{CLZSCNRP.js → TXZZ7IGA.js} +1 -1
- package/dist/cdn/{BVC6JEBE.js → TZC7FR57.js} +2 -2
- package/dist/cdn/{NYK2WSRK.js → U3RN3VMR.js} +2 -2
- package/dist/cdn/{G253ASXG.js → U6IZ7NDO.js} +2 -2
- package/dist/cdn/{2VNFIZUI.js → U7CHN77W.js} +2 -2
- package/dist/cdn/{257H7DCL.js → UE4JYH6Q.js} +2 -2
- package/dist/cdn/{TTGQRG44.js → UJ7M33YD.js} +1 -1
- package/dist/cdn/{IB66Q3IN.js → UN3HEMCS.js} +2 -2
- package/dist/cdn/{CNYJHDVN.js → UNU2VFCG.js} +2 -2
- package/dist/cdn/{UH5JF7SF.js → UQDX4HH7.js} +2 -2
- package/dist/cdn/{SP5EUX36.js → UVYMD3SU.js} +2 -2
- package/dist/cdn/{WG6VKW5A.js → UWIIDEOZ.js} +2 -2
- package/dist/cdn/{I4HXR4KE.js → UXPVRSYI.js} +2 -2
- package/dist/cdn/{3H5HYNGJ.js → V33LR6IS.js} +2 -2
- package/dist/cdn/{IX6SFALO.js → VF3BOXK6.js} +1 -1
- package/dist/cdn/{T3FOXI6I.js → VFV5JCQN.js} +2 -2
- package/dist/cdn/{BKPR432S.js → VWZIPDPO.js} +2 -2
- package/dist/cdn/{2R3GZF2S.js → VZLRW2AX.js} +2 -2
- package/dist/cdn/{GR2VYUT3.js → W5WC3DQR.js} +2 -2
- package/dist/cdn/{KZ6VY3MN.js → WA6JCIVJ.js} +2 -2
- package/dist/cdn/{7IMXBIGC.js → WFJNZNPO.js} +2 -2
- package/dist/cdn/{3TPMJHUT.js → WIIOBTYW.js} +2 -2
- package/dist/cdn/{C5VJ7GOT.js → WL6ES3HJ.js} +2 -2
- package/dist/cdn/{HXO622MX.js → WMWRHS2O.js} +2 -2
- package/dist/cdn/{JIMW5YDX.js → WNNXONB6.js} +2 -2
- package/dist/cdn/{JWQ7JPYV.js → WNSRF7JD.js} +2 -2
- package/dist/cdn/{CMXNNII4.js → WP6QUJD5.js} +2 -2
- package/dist/cdn/{ZNWEOXSV.js → WR2PXMWC.js} +2 -2
- package/dist/cdn/{5P4X23BP.js → X4O2UX77.js} +2 -2
- package/dist/cdn/{LS72HDOK.js → XDQ5U3RX.js} +2 -2
- package/dist/cdn/{H7Z5P3AJ.js → XEQGJKML.js} +2 -2
- package/dist/cdn/{G5B2PCFS.js → XLTAB44X.js} +2 -2
- package/dist/cdn/{ZQ35GRH3.js → XP2EQZNN.js} +2 -2
- package/dist/cdn/{DCKPAQ5Z.js → XPA5STW7.js} +2 -2
- package/dist/cdn/{4M7DAOJ7.js → XQK2EEXA.js} +2 -2
- package/dist/cdn/{3A5PB3ZB.js → XQURVTFE.js} +1 -1
- package/dist/cdn/{CCO34V56.js → XTBZMRJM.js} +2 -2
- package/dist/cdn/{65DGPJI2.js → Y27TXUN2.js} +4 -4
- package/dist/cdn/{U4WOIDAR.js → Y5BS3BHR.js} +2 -2
- package/dist/cdn/{QH2ZDDE2.js → Y7MPYZYV.js} +2 -2
- package/dist/cdn/{HXMKFZZQ.js → Y7YN2IIU.js} +2 -2
- package/dist/cdn/{FPOMFUPS.js → YFRAG76M.js} +2 -2
- package/dist/cdn/{5UR5J6VH.js → YLAFYD5G.js} +2 -2
- package/dist/cdn/{J7DPEFCV.js → YOA42CLH.js} +2 -2
- package/dist/cdn/{POVGDGKO.js → YUE54TGU.js} +2 -2
- package/dist/cdn/{4WZVOCWK.js → YWB3PVWJ.js} +2 -2
- package/dist/cdn/{673HYW6J.js → YZLM4OIF.js} +2 -2
- package/dist/cdn/{SRUK5QKI.js → Z6455FX4.js} +1 -1
- package/dist/cdn/{55FRHYNS.js → ZGWPTRGZ.js} +2 -2
- package/dist/cdn/ZIRTUZJU.js +4 -0
- package/dist/cdn/{KWVC4XEM.js → ZKOJOIGE.js} +2 -2
- package/dist/cdn/{6TVVOWPA.js → ZL226NXE.js} +2 -2
- package/dist/cdn/{SJBY747R.js → ZLJ5FGJ6.js} +2 -2
- package/dist/cdn/{EFGIZETO.js → ZLWE4SGQ.js} +1 -1
- package/dist/cdn/{W4Y4F6GZ.js → ZPV3TQLX.js} +2 -2
- package/dist/cdn/{EWQES6A3.js → ZQLLWXUS.js} +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/CardsFetcher.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +21 -21
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/floor-filter/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +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 +6 -6
- 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 +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +2 -2
- 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 +3 -3
- package/dist/docs/docs.json +3 -3
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +6 -6
- package/dist/cdn/3V6EHDEK.js +0 -4
- package/dist/cdn/6JWR7DUB.js +0 -4
- package/dist/cdn/DG4PWWON.js +0 -4
- package/dist/cdn/HOKEGLBP.js +0 -4
- package/dist/cdn/HSGEOLEV.js +0 -4
- package/dist/cdn/KQW2X5A3.js +0 -4
- package/dist/cdn/MH254WK2.js +0 -4
- package/dist/cdn/Q5XVNKOV.js +0 -4
- package/dist/cdn/RRY2T7EL.js +0 -4
- package/dist/cdn/UGQ46CNF.js +0 -4
- package/dist/cdn/WUWVXWTS.js +0 -4
- package/dist/cdn/YZQQOAJ3.js +0 -4
- package/dist/cdn/ZFFK2KU6.js +0 -18
|
@@ -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 as u}from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{b as u}from"./65ZZ77SE.js";import{a as c}from"./65GKVZWM.js";import"./PCJIW7J4.js";import"./STNJMHAQ.js";import{b as o}from"./JFT5UZJT.js";import{C as r,D as h,E as l,h as n,i,o as s}from"./QH7G7WSC.js";import"./XQURVTFE.js";var m=n`/** @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.30 */
|
|
4
|
+
import{a as C,c as T}from"./MYKMNK6X.js";import{a as P}from"./FLQEDTUI.js";import b from"./ZPV3TQLX.js";import{a as A,c as I}from"./CP4HACAH.js";import a from"./BDJVTVGV.js";import{b as f}from"./OHWJG6P3.js";import{K as m,M as _,N as M,q as g,sa as L}from"./OVWAIW4T.js";import"./TF7HCU4R.js";import"./6M575VM5.js";import"./KJ7FA4KA.js";import"./AE6H6ELK.js";import"./LGY6RHRJ.js";import"./P7TBO62O.js";import"./UJ7M33YD.js";import"./ZGWPTRGZ.js";import"./5HZVV4CF.js";import"./EDB5QBJ4.js";import"./ZLWE4SGQ.js";import"./GAQ3EPIU.js";import"./C6XXEAWS.js";import{k}from"./L4ENNIQZ.js";import"./FA3IKFAL.js";import"./BHDNLSI7.js";import"./2GMVKD6U.js";import"./HYVUOIDV.js";import"./MXKXWU54.js";import"./OCTGDVTD.js";import{a as R}from"./65GKVZWM.js";import"./PCJIW7J4.js";import"./STNJMHAQ.js";import{b as $}from"./JFT5UZJT.js";import{C as c,D as d,E as w,G as p,H as y,I as v,h as x,i as s,o as u}from"./QH7G7WSC.js";import"./XQURVTFE.js";export default $arcgis.t(([,{b:S,c:E}])=>{var O=x`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/.display-flex{display:flex}.flex-direction-row{flex-direction:row}.flex-direction-column{flex-direction:column}.cursor-default{cursor:default}solution-details-card[id*=you-may-also-like]{width:240px}.border-bottom{border-bottom-color:var(--calcite-color-border-1);border-bottom-width:var(--calcite-spacing-px);border-bottom-style:solid}ul{list-style-type:disc;margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}ul ul{list-style-type:circle}li{margin:var(--calcite-spacing-sm) var(--calcite-spacing-none)}calcite-label{--calcite-label-margin-bottom: var(--calcite-spacing-none)}.padding-1{padding:var(--calcite-spacing-lg)}.padding-1-5{padding:var(--calcite-spacing-xl)}.padding-2px{padding:var(--calcite-spacing-base)}.padding-bottom-1{padding-bottom:var(--calcite-spacing-lg)}.padding-top-md{padding-top:var(--calcite-spacing-md)}.padding-bottom-1-5{padding-bottom:var(--calcite-spacing-xxl)}.padding-top-1{padding-top:var(--calcite-spacing-lg)}.padding-top-1-5{padding-top:var(--calcite-spacing-xxl)}.padding-top-1-2{padding-top:var(--calcite-spacing-sm)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-end-2{padding-inline-end:var(--calcite-spacing-xxxl)}.padding-start-1{padding-inline-start:var(--calcite-spacing-lg)}.margin-bottom-1{margin-bottom:var(--calcite-spacing-lg)}.margin-bottom-1-5{margin-bottom:var(--calcite-spacing-xxl)}.margin-end-1{margin-inline-end:var(--calcite-spacing-lg)}.margin-top-0{margin-top:var(--calcite-spacing-none)}.margin-top-1{margin-top:var(--calcite-spacing-lg)}.margin-sides-0-5{margin-left:var(--calcite-spacing-sm);margin-right:var(--calcite-spacing-sm)}.margin-block-start-end-0{margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}.align-self-center{align-self:center;padding:5px;--calcite-fab-shadow: #FFFFFF00}.align-items-center{align-items:center}.align-items-baseline{align-items:baseline}.button-width{width:260px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.button-width{width:auto}}.image-width{width:395px;flex-grow:0;flex-shrink:0}@media(max-width:1280px){.image-width{flex-grow:2;flex-shrink:.5}}.width-full{width:100%}.card-group{overflow:hidden}calcite-card{width:450px}@media(max-width:1496px){calcite-card{width:calc(100% / 3 - .5rem)}}@media(max-width:1100px){calcite-card{width:calc(50% - .5rem)}}@media(max-width:550px){calcite-card{width:100%}}.max-height-300{max-height:300px}.display-none{display:none}.cursor-pointer{cursor:pointer}calcite-card:hover img{-webkit-filter:brightness(50%);filter:brightness(50%);-webkit-transition:all 1s ease;-moz-transition:all 1s ease;-o-transition:all 1s ease;-ms-transition:all 1s ease;transition:all 1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{border:var(--calcite-spacing-base) solid var(--calcite-ui-brand);box-sizing:border-box;cursor:pointer;padding:var(--calcite-spacing-base)}.hover-text{transition:.5s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.margin-inline-unset{margin-inline:unset}.collapsible-div{overflow:hidden;transition:max-height .3s ease-in-out}.collapsible-div.expanded{max-height:100%}.back-color-override{--calcite-panel-background-color: var(--calcite-color-foreground-2)}.back-color-override-1{background-color:var(--calcite-color-foreground-1)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.line-height-xxl{line-height:var(--calcite-spacing-xxl)}.font-1{font-size:var(--calcite-spacing-lg)}.font-color-1{color:var(--calcite-color-text-1)}h1{font-weight:unset;margin:var(--calcite-spacing-none);padding:var(--calcite-spacing-none)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.accordion-bg{--calcite-accordion-background-color: var(--calcite-color-foreground-1)}.table-cell{font-size:var(--calcite-spacing-lg);color:var(--calcite-color-text-1)}calcite-table-header{font-weight:var(--calcite-font-weight-medium);--calcite-internal-table-cell-font-size: var(--calcite-font-size-md)}`,b=class extends w{constructor(){super(),this._showScreenshotsShowMore=!1,this._showYouMayAlsoLikeShowMore=!1,this._isScreenshotsRowExpanded=!1,this._isYouMayAlsoLikeRowExpanded=!1,this._screenshotsRowBaseHeight=340,this._templates=[],this._translations=R({name:"solution-details-panel",blocking:!0}),this._youMayAlsoLikeBaseHeight=340,this._allCards=[],this._authContextConsumer=f({context:I,subscribe:!0}),this._configureLearnMore="",this._customDeploymentMappings={},this._deployDialogRef=c(),this._deployingDialogRef=c(),this._overviewAccordionItemElement=c(),this._privilegePopoverRef=c(),this._privileges=[],this._regexFsUrl="https?:\\/\\/.+FeatureServer\\b",this._regexID="\\b[0-9A-F]{32}\\b",this._releaseNotesAccordionItemElement=c(),this._relatedResourcesAccordionItemElement=c(),this._screenshotsAccordionItemElement=c(),this._screenshotsDialogRef=c(),this._screenshotsElement=c(),this._termsOfUseAccordionItemElement=c(),this._userOptions=[],this._userSessionContextConsumer=f({context:A,subscribe:!0}),this._youMayAlsoLikeAccordionItemElement=c(),this._youMayAlsoLikeElement=c(),this.templatesFetched=u(),this.itemPropertiesFetched=u(),this.sortTypeChanged=u(),this.tokenRefreshed=u(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"allCardsFetched",this._allCardsFetched),this.listenOn(window,"deployAppTabSelected",this._handleDeployAppTabSelected)}static{this.properties={card:0,_showScreenshotsShowMore:16,_showYouMayAlsoLikeShowMore:16,_isScreenshotsRowExpanded:16,_isYouMayAlsoLikeRowExpanded:16,_itemProperties:16,_missingPrivilegeMessages:16,_screenshotsRowBaseHeight:16,_templates:16,_translations:16,_youMayAlsoLikeBaseHeight:16}}static{this.styles=O}async connectedCallback(){super.connectedCallback(),this.listenOn(window,"calciteTabChange",this._cleanupPanel),this.listenOn(window,"detailsCardSelected",this._cleanupPanel)}loaded(){this._resizeObserver=new ResizeObserver(async()=>{this._onResize()}),this._screenshotsElement.value&&this._resizeObserver.observe(this._screenshotsElement.value)}disconnectedCallback(){super.disconnectedCallback(),this._resizeObserver?.disconnect()}render(){let e="padding-bottom-1-5",t=this._getRelatedResources(),i=this._getYouMayAlsoLikeCards();return s`<h1><calcite-panel class="back-color-override padding-top-1"><div class=${`${e} padding-1-5 back-color-override-1 margin-bottom-1-5`} id=solution-details-row>${this._getSolutionRow()}</div><div class=${p(e)}>${this._getScreenshotsRow()}</div><div class=${p(e)}>${this._getOverviewRow()}</div><div class=${p(e)}>${this._getReleaseNotesRow()}</div>${t.length>0?s`<div class=${p(e)}>${this._getRelatedResourcesRow(t)}</div>`:""}${i.length>0?s`<div class=${p(e)}>${this._getYouMayAlsoLikeRow(i)}</div>`:""}<div class=${p(e)}>${this._getTermsOfUseRow()}</div><solution-deploy-dialog .card=${this.card} @deployFailed=${this._closeDialogs} @deployProgressEnd=${this._closeDialogs} @deployProgressStart=${this._deployProgressStart} @deployProgressUpdated=${this._deployProgessUpdated} id=solutionDeployDialog .userOptions=${this._userOptions} ${d(this._deployDialogRef)}></solution-deploy-dialog><solution-snapshot-gallery .card=${this.card} id=solutionSnapshotGallery .itemProperties=${this._itemProperties} ${d(this._screenshotsDialogRef)}></solution-snapshot-gallery><solution-deploying-dialog .card=${this.card} ${d(this._deployingDialogRef)}></solution-deploying-dialog></calcite-panel></h1>`}updated(){setTimeout(()=>{let e=this._getYouMayAlsoLikeCards(),t=340;for(let i=0;i<e.length;i++){let a=this.el.shadowRoot?.getElementById(`you-may-also-like-${i}`),o=a?.offsetHeight?a.offsetHeight+40:0;o>t&&(t=o)}this._youMayAlsoLikeBaseHeight=t,this._showYouMayAlsoLikeShowMore=(this._youMayAlsoLikeElement.value?.scrollHeight||0)>this._youMayAlsoLikeBaseHeight},100)}_getSolutionRow(){let e=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400"),t=this._missingPrivilegeMessages?.leadingMessages||[],i=t.length>0,a=this._missingPrivilegeMessages?.bulletedMessages||[],o=a.length>0,l=this._missingPrivilegeMessages?.trailingMessages||[],r=l.length>0;return s`<div class="display-flex flex-direction-row"><div class="padding-end-2 image-width"><img alt=${this.card?.title??v} src=${e??v}></div><div class="display-flex flex-direction-row">${this._getTextSection(i,o,r,t,a,l)}${this._getButtons(i||o||r||!this._authContextConsumer.value?.IsSignedIn,this._authContextConsumer.value?.IsEnterprisePortal)}</div></div>`}_getTextSection(e,t,i,a,o,l){return s`<div class="display-flex flex-direction-column padding-end-1"><div class="display-flex flex-direction-row align-items-baseline"><h2 class="padding-top-1 title-font margin-top-0 margin-bottom-1-5">${this.card?.title}</h2>${this.card?.categories?.some(r=>r.includes("New Release"))&&s`<calcite-chip class="margin-top-1 margin-bottom-1-5 margin-sides-0-5" kind=brand .label=${this._translations.new} scale=m icon=mega-phone>${this._translations.new}</calcite-chip>`||""}</div><calcite-label scale=l class="font-1 padding-end-1">${this.card?.snippet}</calcite-label>${e||t||i?s`<div class="display-flex flex-direction-row padding-top-1">${this._getMissingPrivilegesNotice(a,o,l)}</div>`:""}</div>`}_getButtons(e,t){let i=this._itemProperties?.demoURL||"",a=i?"":"display-none";return s`<div class="display-flex flex-direction-column button-width"><calcite-button class="padding-bottom-1" .disabled=${e} icon-end=arrow-bold-right icon-flip-rtl=end @click=${()=>this._openDeploy()} scale=l>${this._translations.deploy}</calcite-button><calcite-button appearance=outline-fill kind=neutral class=${`padding-bottom-1 ${a}`} @click=${()=>this._openUrl(i)} scale=l>${this._translations.watchDemo}</calcite-button><calcite-button appearance=outline-fill kind=neutral class="padding-bottom-1" @click=${()=>this._openUrl(this.card?.learnMoreUrl||"")} scale=l>${this._translations.learnMore}</calcite-button>${!t&&s`<solution-social-share button-appearance=outline-fill class="padding-bottom-1" share-button-kind=neutral .shareButtonText=${this._translations.share} share-button-scale=l></solution-social-share>`||""}</div>`}_getMissingPrivilegesNotice(e,t,i){let a="solutions-missing-privileges-notice",o=this._translations.missingPrivilegesPopup.missingLicensingOrPrivileges;return s`<div><calcite-notice class="margin-inline-unset" kind=warning open><div slot=message>${`${o}`}</div><calcite-action icon=information id=${a} slot=actions-end .text=${o}></calcite-action></calcite-notice><calcite-popover closable .label=${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading} overlay-positioning=fixed placement=bottom reference-element=solutions-missing-privileges-notice ${d(this._privilegePopoverRef)}><div class="padding-1 display-flex flex-direction-column"><span class="padding-bottom-1">${this._translations.missingPrivilegesPopup.missingPrivilegesListHeading}</span>${this._getSpanMessages(e,"padding-bottom-1")}${this._getBulletedMessages(t)}${this._getSpanMessages(i,"padding-top-1")}</div></calcite-popover></div>`}_getSpanMessages(e,t){return e.length>0?e.map(i=>s`<span class=${p(t)}>${i}</span>`):""}_getBulletedMessages(e){return e.length>0?s`<ul>${e.map(t=>s`<li>${t}</li>`)}</ul>`:""}_getScreenshotsRow(){let e=this._isScreenshotsRowExpanded?this._translations.showLess:this._translations.showMore,t=this._isScreenshotsRowExpanded?"arrow-up":"arrow-down",i=this._showScreenshotsShowMore?"":"display-none";return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._screenshotsAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.screenshots}</div><calcite-panel><div class="display-flex flex-direction-column back-color-override-1"><div class="collapsible-div max-height-300" id=screenshots-subsection ${d(this._screenshotsElement)}>${this._getScreenshots()}</div><calcite-fab appearance=outline-fill class=${`align-self-center ${i}`} .icon=${t} kind=neutral @click=${()=>{this._screenshotsElement.value?.classList.toggle("expanded"),this._isScreenshotsRowExpanded=this._screenshotsElement.value.classList.contains("expanded")}} .text=${e} text-enabled></calcite-fab></div></calcite-panel></calcite-accordion-item></calcite-accordion>`}_getScreenshots(){let e=this._itemProperties?.preview||[];return s`<calcite-card-group class="card-group" .label=${this._translations.screenshots}>${e.map(t=>this.card?.id?s`<calcite-card class="cursor-pointer" .label=${t.alt} @click=${()=>this._openScreenshotGallery(t)}><div class="card-image-wrap" slot=thumbnail><img alt=${t.alt??v} class="thumbnail card-image" slot=thumbnail src=${E(this.card.id||"",t.name,this._authContextConsumer.value)??v}><div class="hover-text">${this._translations.openInGallery}</div></div></calcite-card>`:"")}</calcite-card-group>`}_openScreenshotGallery(e){let t=this._screenshotsDialogRef.value;t&&(t.screenshot=e,t.open=!0)}_getOverviewRow(){return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._overviewAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.solutionOverview}</div>${this._getDescriptionRow()}${this._getInformationProductsRow()}</calcite-accordion-item></calcite-accordion>`}_getDescriptionRow(){return s`<div class="display-flex flex-direction-column"><p class="font-color-1 font-1 margin-top-0 line-height-xxl" .innerHTML=${this.card?.description??""}></p></div>`}_getInformationProductsRow(){return s`<div class="display-flex flex-direction-column padding-top-md font-1 line-height-xxl font-color-1"><span>${this.card?.title?this._translations.informationProductsSubText.replace("{{solutionTitle}}",this.card.title):""}</span><calcite-table bordered caption class="padding-top-1">${this._getInformationTableHeaderRow()}${this._getInformationTableRows()}</calcite-table><p>${this._translations.informationProductsFooterText}</p></div>`}_getInformationTableHeaderRow(){return s`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.item}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header><calcite-table-header .heading=${this._translations.minimumUserType}></calcite-table-header></calcite-table-row>`}_getInformationTableRows(){return(this._itemProperties?.infoProducts||[]).map(e=>s`<calcite-table-row><calcite-table-cell><p class="table-cell" .innerHTML=${g(e.item)??""}></p></calcite-table-cell><calcite-table-cell><p class="table-cell" .innerHTML=${g(e.description)??""}></p></calcite-table-cell><calcite-table-cell><p class="table-cell" .innerHTML=${g(e.userType)??""}></p></calcite-table-cell></calcite-table-row>`)}_getReleaseNotesRow(){return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._releaseNotesAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.releaseNotes}</div><div class="display-flex flex-direction-column"><calcite-table bordered caption>${this._getReleaseNotesTableHeaderRow()}${this._getReleaseNotesTableRows()}</calcite-table></div></calcite-accordion-item></calcite-accordion>`}_getReleaseNotesTableHeaderRow(){return s`<calcite-table-row slot=table-header><calcite-table-header .heading=${this._translations.version}></calcite-table-header><calcite-table-header .heading=${this._translations.description}></calcite-table-header></calcite-table-row>`}_getReleaseNotesTableRows(){return(this._itemProperties?.releaseNotes||[])?.map(e=>s`<calcite-table-row><calcite-table-cell><p class="table-cell" .innerHTML=${g(e.version)??""}></p></calcite-table-cell><calcite-table-cell><p class="table-cell" .innerHTML=${g(e.description)??""}></p></calcite-table-cell></calcite-table-row>`)}_getRelatedResourcesRow(e){return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._relatedResourcesAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.relatedResources}</div><div class="display-flex flex-direction-row">${e.map(t=>{console.log(t),s`<solution-resource-card></solution-resource-card>`})}</div></calcite-accordion-item></calcite-accordion>`}_getRelatedResources(){return[]}_getYouMayAlsoLikeRow(e){let t=this._showYouMayAlsoLikeShowMore?"":"display-none",i=this._isYouMayAlsoLikeRowExpanded?this._translations.showLess:this._translations.showMore,a=this._isYouMayAlsoLikeRowExpanded?"arrow-up":"arrow-down",o=this._isYouMayAlsoLikeRowExpanded?"":{height:`${this._youMayAlsoLikeBaseHeight}px`};return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._youMayAlsoLikeAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>${this._translations.youMayAlsoLike}</div><div class="display-flex flex-direction-column"><div class="collapsible-div" id=you-may-also-like-subsection style=${y(o)} ${d(this._youMayAlsoLikeElement)}><div class="display-flex flex-direction-row"><calcite-card-group class="card-group" .label=${this._translations.youMayAlsoLike}>${e.map((l,r)=>s`<solution-details-card .id=${`you-may-also-like-${r}`} .card=${l} class="padding-2px"></solution-details-card>`)}</calcite-card-group></div></div><calcite-fab appearance=outline-fill class=${`align-self-center ${t}`} .icon=${a} kind=inverse @click=${()=>{this._youMayAlsoLikeElement.value?.classList.toggle("expanded"),this._isYouMayAlsoLikeRowExpanded=this._youMayAlsoLikeElement.value.classList.contains("expanded")}} .text=${i} text-enabled></calcite-fab></div></calcite-accordion-item></calcite-accordion>`}_getYouMayAlsoLikeCards(){let e=this._itemProperties?.relatedSolutions||[];return this._allCards.filter(t=>e.indexOf(t.deployCommonId)>-1)}_getTermsOfUseRow(){return s`<calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded ${d(this._termsOfUseAccordionItemElement)}><div class="margin-block-start-end-0 heading-font" slot=content-start>Terms of Use</div><div class="display-flex flex-direction-column"><p class="font-color-1 font-1 margin-top-0 line-height-xxl" .innerHTML=${this._translations.copyrightHeading??""}></p><p class="font-color-1 font-1 margin-top-0 line-height-xxl" .innerHTML=${this._translations.apacheLicense??""}></p><calcite-link class="margin-top-0 line-height-xxl" .href=${this._translations.apacheLicenseUrl}>${this._translations.apacheLicenseUrl}</calcite-link><p class="font-color-1 font-1 margin-top-1 line-height-xxl" .innerHTML=${this._translations.asIsBasis??""}></p></div></calcite-accordion-item></calcite-accordion>`}_openDeploy(){if(this._authContextConsumer.value.IsSignedIn){let e=this._deployDialogRef.value;e&&(e.userOptions=this._userOptions,e.open=!0)}else this._authContextConsumer.value.signIn()}_openUrl(e){window.open(e,"_blank")}async _detailsCardSelected(e){this.card=e.detail,this._onResize(),this._missingPrivilegeMessages=void 0,await this._getItemData(),this._expandAccordions()}_expandAccordions(){this._overviewAccordionItemElement.value&&(this._overviewAccordionItemElement.value.expanded=!0),this._releaseNotesAccordionItemElement.value&&(this._releaseNotesAccordionItemElement.value.expanded=!0),this._relatedResourcesAccordionItemElement.value&&(this._relatedResourcesAccordionItemElement.value.expanded=!0),this._screenshotsAccordionItemElement.value&&(this._screenshotsAccordionItemElement.value.expanded=!0),this._termsOfUseAccordionItemElement.value&&(this._termsOfUseAccordionItemElement.value.expanded=!0),this._youMayAlsoLikeAccordionItemElement.value&&(this._youMayAlsoLikeAccordionItemElement.value.expanded=!0)}async _getItemData(){let e=this._userSessionContextConsumer.value,t=await L(this.card.id,e),i=await k(this.card.id,e);this._itemProperties=i.properties,this.itemPropertiesFetched.emit(this._itemProperties);let a=C(t,this.card.typeKeywords,this._authContextConsumer.value);this._privileges=e.username?a:[],this._userPrivileges=this._authContextConsumer.value?this._authContextConsumer.value.PortalUserPrivileges:[];let o=this._privileges.filter(l=>!this._userPrivileges.includes(l));this._missingPrivilegeMessages=T(this._translations,o),(t.params?this.formatParams(t.params):Promise.resolve([])).then(l=>{this._userOptions=l}),this._templates=t.templates,this.templatesFetched.emit(t.templates)}formatParams(e){let t=this._userSessionContextConsumer.value,i=[],a=e?Object.keys(e):[],o={id:"",props:[],accordionDisplay:!1};if(a.length>0){let l=[];return a.forEach(r=>{let h=e[r];h.valueType&&h.valueType.toLowerCase()==="itemid"&&l.push(this._findExistingItem(r,"Feature Service",t.username||""))}),Promise.all(l).then(r=>{let h={};return r.forEach(n=>{if(n.query&&n.results&&n.results.length>0){let D=n.query.split(" ")[0].replace("typekeywords:source-","");h[D]={resultId:n.results[0].id,response:n.results[0]}}}),a.forEach(n=>{if(n==="serviceLearnMore"){this._configureLearnMore=e[n],alert(this._configureLearnMore),delete e[n];return}e[n].enterpriseIDMapping&&(this._customDeploymentMappings[n]=e[n].enterpriseIDMapping),o.id=n,h[n]&&(e[n].existingItemId=h[n].resultId,this.updateUserProp(e[n],h[n].response)),this.updateOption(e[n],o,n)}),i.push(o),Promise.resolve(i)}).catch(()=>Promise.resolve([]))}else return Promise.resolve([])}_findExistingItem(e,t,i){let a=this._userSessionContextConsumer.value;return P(`typekeywords:source-${e} type:${t} owner:${i}`,a)}updateUserProp(e,t){let i=e.itemType?.toLowerCase()==="feature service",a=new RegExp(i?this._regexFsUrl:e.itemType,"iu"),o=_(t,i?"url":"type","")||"",l=o!==""&&a.test(o);return e.responseValue=l?o:"",e.name=l&&m(t,"name")||"",e.title=l&&m(t,"title")||"",e.itemType=l?m(t,"type"):e.itemType,e.validId=l,e.itemUrl=S(t.id,this._authContextConsumer.value),l}updateOption(e,t,i){let a=e.default||"",o=typeof a,l=a.toString();this._setFeatureServiceProps(e);let r=this.getValidation(e,l);t.props.push({id:i,outType:o,prop:i,itemType:e.itemType||"",responseValue:e.responseValue||"",label:e.label||"",choices:e.choices||[],valueType:e.valueType.toLowerCase(),attributes:e.attributes||{},value:e.existingItemId&&e.valueType.toLowerCase()==="itemid"?e.existingItemId:l,default:l,srSearchText:l,autoSelect:l!=="",...r,loading:!1,validId:!0,tooltip:e.tooltip||"",name:e.name||"",title:e.title||"",itemUrl:e.itemUrl||""})}_setFeatureServiceProps(e){e.valueType&&e.valueType.toLowerCase()==="itemid"&&M(e,"attributes.required","true")}getValidation(e,t){let i="",a=m(e,"validation.message")||"",o=!0;return m(e,"attributes.required")==="true"&&(i=_(e,"validation.expression","\\S{1,}"),o=new RegExp(i).test(t)),e.valueType&&e.valueType.toLowerCase()==="itemid"&&(i=this._regexID,a=this._translations.configure.invalidID),{valid:o,validation:{expression:i,message:a}}}_allCardsFetched(e){this._allCards=e.detail}_onResize(){this._showYouMayAlsoLikeShowMore=(this._youMayAlsoLikeElement.value?.scrollHeight||0)>this._youMayAlsoLikeBaseHeight,this._showScreenshotsShowMore=(this._screenshotsElement.value?.scrollHeight||0)>this._screenshotsRowBaseHeight+2}_cleanupPanel(){this.el.shadowRoot?.getElementById("solution-details-row")?.scrollIntoView(!0),this._isScreenshotsRowExpanded=!1,this._showScreenshotsShowMore=!1,this._screenshotsElement.value?.classList.remove("expanded"),this._isYouMayAlsoLikeRowExpanded=!1,this._showYouMayAlsoLikeShowMore=!1,this._youMayAlsoLikeElement.value?.classList.remove("expanded"),this._privilegePopoverRef.value?.open&&(this._privilegePopoverRef.value.open=!1),this._expandAccordions()}_deployProgressStart(e){this._deployingDialogRef.value&&(this._deployingDialogRef.value.open=!0,this._deployingDialogRef.value.abortController=e.detail),this._deployDialogRef.value&&this._deployDialogRef.value.classList.add("display-none")}_deployProgessUpdated(e){let t=e.detail;this._deployingDialogRef.value.deploymentProgress=t.progress}_closeDialogs(){this._deployingDialogRef.value.close(),this._deployDialogRef.value.open=!1,this._deployDialogRef.value.classList.remove("display-none")}_handleDeployAppTabSelected(e){e.detail==="details"&&this.sortTypeChanged.emit("")}};$("solution-details-panel",b);return b},a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{l as g}from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{l as g}from"./AE6H6ELK.js";import{c as i,d as f}from"./UJ7M33YD.js";import{a as o}from"./EDB5QBJ4.js";import{b as c}from"./GAQ3EPIU.js";import{c as m,j as l,k as s,l as d,w as p}from"./L4ENNIQZ.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
|
|
@@ -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.30 */
|
|
4
|
+
import"./XQURVTFE.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
|
|
@@ -1,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 as o}from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{b as o}from"./65ZZ77SE.js";import{b as d}from"./JFT5UZJT.js";import{C as n,D as a,E as r,h as t,i as s}from"./QH7G7WSC.js";import"./XQURVTFE.js";var h=t`/**
|
|
5
5
|
* @license
|
|
6
6
|
* Copyright 2025 Esri
|
|
7
7
|
*
|
|
@@ -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,c as t,e as a,g as s,k as o}from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a as e,c as t,e as a,g as s,k as o}from"./JC7USH53.js";var u=["hub:group:edit","hub:group:settings","hub:group:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],i={required:["name"],type:"object",properties:{name:e,summary:Object.assign(Object.assign({},t),{maxLength:250}),description:{type:"string"},_thumbnail:o,access:{type:"string",enum:["private","org","public"],default:"private"},isSharedUpdate:{type:"boolean",enum:[!1,!0],default:!1},leavingDisallowed:{type:"boolean",enum:[!1,!0],default:!1},isOpenData:{type:"boolean",enum:[!1,!0],default:!1},membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"},isViewOnly:{type:"boolean",enum:[!1,!0],default:!1},_join:{type:"string",enum:["invite","request","auto"],default:"invite"},hiddenMembers:{type:"boolean",enum:[!1,!0],default:!1},isDiscussable:s,tags:a}};export{u as a,i as b};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{d as l}from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{d as l}from"./CP4HACAH.js";import{b as r}from"./OHWJG6P3.js";import{a as o}from"./65GKVZWM.js";import"./PCJIW7J4.js";import"./STNJMHAQ.js";import{b as c}from"./JFT5UZJT.js";import{E as n,h as a,i as s}from"./QH7G7WSC.js";import"./XQURVTFE.js";var u=a`/** @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 e from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import e from"./H3WB7ANQ.js";import b from"./MBGLCBIC.js";import"./LJ37OTR5.js";import a from"./MT4KKD5M.js";import{a as g}from"./TISZ6QTW.js";import"./AWBOSR4C.js";import{b as p}from"./25MYRWPK.js";import"./PCJIW7J4.js";import"./STNJMHAQ.js";import{E as o,G as d,H as l,I as c,h as s,i as t,o as r}from"./QH7G7WSC.js";import"./XQURVTFE.js";export default $arcgis.t(([,,{i:h,t:v}])=>{var _=s`:host{display:block;--instant-apps-interactive-legend-heading-font-size: 1rem;--instant-apps-interactive-legend-heading-font-weight: normal;--instant-apps-interactive-legend-secondary-color: var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding: 15px 10px}:host .esri-widget__heading{overflow:hidden}:host .esri-widget__heading{margin:0;overflow-x:hidden}:host .esri-widget__heading{display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size)}:host .esri-widget__heading{font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}:host header{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}:host header h3{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color)}:host header .instant-apps-interactive-legend__heading-text--group-item{-webkit-line-clamp:2;line-clamp:2}:host header span{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}:host header .instant-apps-interactive-legend__header-action-container{display:flex;align-items:center}:host .esri-widget__heading header{padding:var(--instant-apps-interactive-legend-ui-padding)}:host .esri-widget--panel{margin:0}:host(.calcite-mode-dark) .instant-apps-interactive-legend__header{background-color:#242424;color:var(--calcite-color-text-1)}:host(.calcite-mode-light) .instant-apps-interactive-legend__header{background-color:#fff;color:var(--calcite-color-text-1)}`,e={label:"esri-legend__service-label",header:"esri-widget__heading",interactiveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container"},a=class extends o{constructor(){super(...arguments),this._messages=g({name:"instant-apps-interactive-legend",blocking:!0}),this.isChild=!1,this.expanded=!0,this.groupLayerCaptionElementExpandUpdated=r()}static{this.properties={legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5,expanded:5}}static{this.styles=_}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.groupLayerCaptionElementExpandUpdated.emit(this.expanded)}}render(){let m=h(this.activeLayerInfo),{expanded:n}=this,i=n?this._messages.collapse:this._messages.expand,f=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return t`<header class=${`${e.interactiveLegendHeader} ${v(this.el)}`} style=${l({borderLeft:"1px solid var(--calcite-color-border-3)"})}><span><span class=${d(e.headerActionContainer)}><calcite-action @click=${this.toggleExpanded()} .icon=${n?"chevron-down":"chevron-up"} appearance=transparent .text=${i} .label=${i} scale=s></calcite-action><h3 class=${`${e.header} ${e.label}${f}`} title=${this.activeLayerInfo?.title??""??c}>${this.activeLayerInfo?.title}</h3></span>${this.featureCount&&m?t`<instant-apps-interactive-legend-count .activeLayerInfo=${this.activeLayerInfo} show-total .legendvm=${this.legendvm}></instant-apps-interactive-legend-count>`:null}</span></header>`}};p("instant-apps-interactive-legend-group-legend-element-caption",a);return a},a,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{a as o}from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a as o}from"./ZLWE4SGQ.js";function r(n,t){let e;t.authentication&&(e=t.authentication.token);let a=t.authentication?`?token=${e}`:"";return n&&o(`${n}${a}`)}export{r as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.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"./XGCUX3YH.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.30 */
|
|
4
|
+
import{b as p,d as a,e as h,f as E}from"./FA3IKFAL.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{c as i}from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{c as i}from"./JFT5UZJT.js";function l(r,t){let a=n(r,t),e=i("assets/item-icons/");return a==="group"?`${e}/${a}16.png`:`${e}/${a}16.svg`}function n(r,t){let a=r.toLowerCase(),e=t||[],s=e.includes("Hosted Service");switch(a.trim()){case"360 vr experience":return"360vr";case"3dtiles package":return"3dtileslayerpackage";case"3dtiles service":return e.includes("3DObject")?"3dobjecttileslayer":e.includes("IntegratedMesh")?"integratedmeshtileslayer":"3dobjecttileslayer";case"feature service":case"feature collection":case"kml":case"wfs":if(e.includes("IndoorPositioningDataService"))return"indoorpositioningdataservice";let c=e.includes("Spatiotemporal");return e.includes("Table")?c?"spatiotemporaltable":"table":e.includes("Route Layer")?"routelayer":e.includes("Markup")?"markup":c?"spatiotemporal":e.includes("UtilityNetwork")?"utilitynetwork":s?"featureshosted":"features";case"group":return"group";case"group layer":return e.includes("Map")?"layergroup2d":e.includes("Scene")?"layergroup3d":"layergroup";case"wmts":return"maptiles";case"map service":case"wms":return s||e.includes("Tiled")?"maptiles":"mapimages";case"scene service":return e.includes("Line")?"sceneweblayerline":e.includes("3DObject")?"sceneweblayermultipatch":e.includes("Point")?"sceneweblayerpoint":e.includes("IntegratedMesh")?"sceneweblayermesh":e.includes("PointCloud")?"sceneweblayerpointcloud":e.includes("Polygon")?"sceneweblayerpolygon":e.includes("Building")?"sceneweblayerbuilding":e.includes("Voxel")?"sceneweblayervoxel":"sceneweblayer";case"image service":return e.includes("Elevation 3D Layer")?"elevationlayer":e.includes("Tiled Imagery")?"tiledimagerylayer":"imagery";case"stream service":return"streamlayer";case"video service":return e.includes("Live Stream")?"livestreamvideolayer":"mediaservice";case"vector tile service":return"vectortile";case"datastore catalog service":return"datastorecollection";case"geocoding service":return"geocodeservice";case"geoprocessing service":return e.includes("Web Tool")?"tool":"layers";case"geodata service":return"geodataservice";case"web map":case"cityengine web scene":return"maps";case"web scene":return e.includes("ViewingMode-Local")?"webscenelocal":"websceneglobal";case"application":case"web mapping application":case"mobile application":case"operation view":case"desktop application":return e.includes("configurableApp")?"instantapps":"apps";case"map document":case"map package":case"published map":case"scene document":case"globe document":case"basemap package":case"mobile basemap package":case"mobile map package":case"project package":case"project template":case"pro map":case"layout":return"mapsgray";case"layer":return e.includes("ArcGIS Pro")?"mapsgray":"layersgray";case"explorer map":return e.indexOf("Explorer Document")?"mapsgray":e.includes("Explorer Mapping Application")?"datafilesgray":"mapsgray";case"pro presentation":return"propresentation";case"api key":return"key";case"csv":return"csv";case"shapefile":return"shapefile";case"csv collection":return"csvcollection";case"media layer":return"medialayer";case"microsoft excel":return"excel";case"microsoft powerpoint":return"powerpoint";case"microsoft word":return"word";case"pdf":return"pdf";case"sqlite geodatabase":return"sqlite";case"administrative report":return"report";case"image":return"image";case"cad drawing":return"cad";case"service definition":case"geojson":case"netcdf":return"data";case"explorer add in":case"desktop add in":case"windows viewer add in":case"windows viewer configuration":return"appsgray";case"arcgis pro add in":case"arcgis pro configuration":return"addindesktop";case"rule package":case"file geodatabase":case"kml collection":case"windows mobile package":case"map template":case"desktop application template":case"gml":case"arcpad package":case"code sample":case"document link":case"earth configuration":case"operations dashboard add in":case"rules package":case"workflow manager package":return"datafilesgray";case"form":return e.includes("Survey123")?"survey":"datafilesgray";case"network analysis service":case"geometry service":case"geoprocessing package":case"locator package":case"geoprocessing sample":case"workflow manager service":return"toolsgray";case"layer package":case"explorer layer":return"layersgray";case"scene package":return"scenepackage";case"mobile scene package":return"mobilescenepackage";case"tile package":case"compact tile package":return"tilepackage";case"task file":return"taskfile";case"report template":return"reporttemplate";case"statistical data collection":return"statisticaldatacollection";case"analysis model":return"geoprocessingmodel";case"insights workbook":return"workbook";case"insights model":return"insightsmodel";case"insights page":return"insightspage";case"insights theme":return"insightstheme";case"hub initiative":return"hubinitiative";case"hub page":return"hubpage";case"hub event":return"hubevent";case"hub site application":return"hubsite";case"hub project":return"hubproject";case"relational database connection":return"relationaldatabaseconnection";case"image collection":return"imagecollection";case"style":return e.includes("Dictionary")?"dictionarystyle":"style";case"desktop style":return"desktopstyle";case"dashboard":return"dashboard";case"raster function template":return"rasterprocessingtemplate";case"vector tile package":return"vectortilepackage";case"ortho mapping project":return"orthomappingproject";case"ortho mapping template":return"orthomappingtemplate";case"solution":return"solutions";case"geopackage":return"geopackage";case"deep learning package":return"deeplearningpackage";case"real time analytic":return"realtimeanalytics";case"big data analytic":return"bigdataanalytics";case"feed":return"feed";case"excalibur imagery project":return"excaliburimageryproject";case"notebook":return"notebook";case"reality mapping project":return"realitymappingproject";case"storymap":return e.includes("storymaptemplate")?"storymapstemplate":e.includes("storymapcollection")?"storymapcollection":e.includes("storymapbriefing")?"storymapbriefing":"storymap";case"survey123 add in":return"survey123addin";case"mission":return"mission";case"mission report":return"missionreport";case"quickcapture project":return"quickcaptureproject";case"pro report":return"proreport";case"urban model":return"urbanmodel";case"urban project":return"urbanproject";case"web experience":return"experiencebuilder";case"web experience template":return"webexperiencetemplate";case"experience builder widget":return"experiencebuilderwidget";case"experience builder widget package":return"experiencebuilderwidgetpackage";case"workflow":return"workflow";case"insights script":return"insightsscript";case"kernel gateway connection":return"kernelgatewayconnection";case"hub initiative template":return"hubinitiativetemplate";case"storymap theme":return"storymaptheme";case"knowledge graph":return"knowledgegraph";case"knowledge studio project":return"knowledgestudio";case"knowledge graph layer":return"knowledgegraphlayer";case"native application":return"nativeapp";case"native application installer":return"nativeappinstaller";case"web link chart":return"linkchart";case"knowledge graph web investigation":return"investigation";case"ogcfeatureserver":return"features";case"pro project":return"proproject";case"insights workbook package":return"insightsworkbookpackage";case"apache parquet":return"apacheparquet";case"notebook code snippets":case"notebook code snippet library":return"notebookcodesnippets";case"suitability model":return"suitabilitymodel";case"esri classifier definition":return"classifierdefinition";case"esri classification schema":return"classificationschema";case"insights data engineering workbook":return"dataengineeringworkbook";case"insights data engineering model":return"dataengineeringmodel";case"deep learning studio project":return"deeplearningproject";case"data store":return"datastore";case"data pipeline":return"datapipeline";default:return e.includes("Document")?"datafilesgray":a.includes("service")?"layers":"maps"}}export{l 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.30 */
|
|
4
|
+
import{a as n}from"./V33LR6IS.js";import{a as s}from"./NQNIGRVW.js";import"./L4ENNIQZ.js";import"./FA3IKFAL.js";import{a as o}from"./4EXGNBXW.js";import"./BHDNLSI7.js";import"./2GMVKD6U.js";import"./HYVUOIDV.js";import{a}from"./74G765B3.js";import"./CAC5OPSW.js";import"./E6CHHVGK.js";import"./MRRQXIAY.js";import"./ITJX53EA.js";import"./AK4FP6HL.js";import"./PNAS5XAC.js";import"./DUBCPEXD.js";import"./MXKXWU54.js";import"./3Z6YZFUQ.js";import"./LWNDAKHU.js";import"./HC4IU67I.js";import"./2YRUPZI2.js";import"./RBY55AW4.js";import"./OGFRY2XT.js";import"./KRGPHVWG.js";import"./D2D2CPBJ.js";import"./RYTGUQNW.js";import"./GGMFABEF.js";import"./3VWHKZED.js";import"./MCPVXPMM.js";import"./JC7USH53.js";import"./HDWF5BGC.js";import"./XQURVTFE.js";async function b(e,r,t){let l=await n(`${e}.content`,t);return l[0].rules=[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}],delete l[0].options.helperText,{type:"Layout",elements:[{type:"Section",options:{section:"accordion",selectionMode:"single"},elements:[{type:"Section",label:`{{${e}.content.label:translate}}`,options:{section:"accordionItem",expanded:!0},elements:[{scope:"/properties/selectionMode",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.content.selectionMode`},width:"full"}},{label:`{{${e}.content.access.label:translate}}`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.content.access.private.description:translate}}`,`{{${e}.content.access.org.description:translate}}`,`{{${e}.content.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.content.access.private.label:translate}}`,`{{${e}.content.access.org.label:translate}}`,`{{${e}.content.access.public.label:translate}}`],type:"checkbox"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{label:`{{${e}.content.tags.label:translate}}`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await s(r.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},...l,{scope:"/properties/entityIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:[o(`${e}.content.entityIds`,"organization","item",{user:t.currentUser,collectionNames:["site","initiative","project"],filters:[],context:t})],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.username}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",field:"access",display:"multi-select",operation:"OR"}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"dynamic"}}]}]},{scope:"/properties/eventIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"event",catalogs:[{schemaVersion:1,title:"{{catalogs.event.label:translate}}",scopes:{event:{targetEntity:"event",filters:[{predicates:[{orgid:t.currentUser.orgId}]}]}},collections:[{key:"event",label:"{{catalogs.event.collections.event.label:translate}}",targetEntity:"event",include:[],scope:{targetEntity:"event",filters:[{predicates:[]}]}}]}],facets:[{label:"{{facets.from.label:translate}}",key:"from",display:"single-select",operation:"OR",options:[{label:"{{facets.from.myContent.label:translate}}",key:"myContent",selected:!0,predicates:[{owner:t.currentUser.id}]},{label:"{{facets.from.myOrganization.label:translate}}",key:"myOrganization",selected:!1,predicates:[{orgId:t.currentUser.orgId}]}]},{label:"{{facets.sharing.label:translate}}",key:"access",display:"multi-select",operation:"OR",options:[{label:"{{facets.sharing.public.label:translate}}",key:"public",selected:!1,predicates:[{access:"public"}]},{label:"{{facets.sharing.private.label:translate}}",key:"private",selected:!1,predicates:[{access:"private"}]},{label:"{{facets.sharing.organization.label:translate}}",key:"org",selected:!1,predicates:[{access:"org"}]}]}],width:"full",kind:"brand",appearance:"solid"},rules:[{effect:a.SHOW,conditions:[{scope:"/properties/selectionMode",schema:{const:"manual"}}]}]},{type:"Slot",options:{name:"add-content-slot"}}]},{type:"Section",label:`{{${e}.appearance.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.appearance.titleHeading.label:translate}}`,scope:"/properties/titleHeading",type:"Control",options:{control:"hub-field-input-radio-group",enum:{i18nScope:`${e}.appearance.titleHeading`},width:"full",tooltip:{label:`{{${e}.appearance.titleHeading.tooltip:translate}}`}}},{label:`{{${e}.appearance.corners.label:translate}}`,scope:"/properties/corners",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.corners`}}},{label:`{{${e}.appearance.shadow.label:translate}}`,scope:"/properties/shadow",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.shadow`}}},{label:`{{${e}.appearance.showAdditionalInfo.label:translate}}`,scope:"/properties/showAdditionalInfo",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between"}},{label:`{{${e}.appearance.layout.label:translate}}`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.appearance.layout`}},scope:"/properties/layout",type:"Control"}]},{type:"Section",label:`{{${e}.options.label:translate}}`,options:{section:"accordionItem"},elements:[{label:`{{${e}.options.openIn.label:translate}}`,scope:"/properties/openIn",type:"Control",options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.options.openIn`}}},{type:"Notice",options:{notice:{configuration:{id:"open-in-notice",noticeType:"notice",closeable:!1,kind:"brand",scale:"m"},title:`{{${e}.options.openIn.notice.title:translate}}`,body:`{{${e}.options.openIn.notice.body:translate}}`,autoShow:!0,actions:[{label:`{{${e}.options.openIn.notice.link:translate}}`,ariaLabel:`{{${e}.options.openIn.notice.linkAriaLabel:translate}}`,icon:"launch",href:"https://www.w3.org/TR/WCAG20-TECHS/G200.html",target:"_blank"}]}}}]}]}]}}export{b as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{e as t,g as i}from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{e as t,g as i}from"./ZGWPTRGZ.js";function n(r){let o=r&&r.hubApiUrl;return o||i(t(r))}export{n 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 v}from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a as v}from"./SJGKDRLS.js";import{b as I}from"./OHWJG6P3.js";import{a as w,b as f,d as y}from"./W5WC3DQR.js";import"./OCTGDVTD.js";import"./GPLD4OLN.js";import{a as L}from"./65GKVZWM.js";import"./PCJIW7J4.js";import"./STNJMHAQ.js";import{b as u}from"./JFT5UZJT.js";import{C as o,D as d,E as g,G as p,H as c,h as b,i as a,l,o as h,r as _}from"./QH7G7WSC.js";import"./XQURVTFE.js";var $=b`@layer{/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{g as s}from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{g as s}from"./AWBOSR4C.js";async function S(i,y,o){let e=y?.layer;if(!i)return e?.effect?e.effect:e?.featureEffect?o==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let n=await s(),l=new n({includedEffect:i}).toJSON().includedEffect,u=l,m=e.effect,h=e.featureEffect,r=null;h?r=o==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:r=m;let p=r?l:null;if(!p)return n.fromJSON({includedEffect:l}).includedEffect;let f=[...p];return u&&u.forEach(d=>{f.forEach(t=>{let{value:E}=t;if(E)E.forEach((a,c)=>{a.type===d.type?E[c]=d:!t.value.find(v=>v.type===u[0].type)&&(t.value=[...t.value,...u])});else{let a=!f.find(c=>c.type===t.type);!f.find(c=>c.type===d.type)&&(f=[...f,d]),a&&(f=[...f,t])}})}),n.fromJSON({includedEffect:f}).includedEffect}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 e from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import e from"./H3WB7ANQ.js";import c from"./MBGLCBIC.js";import"./LJ37OTR5.js";import b from"./MT4KKD5M.js";import"./AWBOSR4C.js";import{b as l}from"./25MYRWPK.js";import"./STNJMHAQ.js";import{C as i,D as n,E as r,G as o,H as d,h as s,i as a}from"./QH7G7WSC.js";import"./XQURVTFE.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)
|
|
@@ -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 as h}from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{b as h}from"./65ZZ77SE.js";import{b as c}from"./JFT5UZJT.js";import{C as n,D as l,E as r,h as i,i as s,o as a}from"./QH7G7WSC.js";import"./XQURVTFE.js";var u=i`/** @license
|
|
5
5
|
* Copyright 2025 Esri
|
|
6
6
|
*
|
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as m}from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a as m}from"./LYQT3N5Z.js";import{a as f}from"./ZGWPTRGZ.js";var i=class extends Error{constructor(t,e,s){super(t),this.status=s,this.url=e}};var c=class extends i{constructor(t,e,s,n){super(t,e,s),this.error=n}};function u(r){let{token:t,authentication:e}=r,s=()=>Promise.resolve(t);return e&&(s=e.getToken.bind(e,e.portal)),s()}function h(r,t,e,s){var n;let p=r,o=new Headers(t.headers);o.append("Content-Type","application/json"),s&&o.append("Authorization",`Bearer ${s}`);let d={headers:o,method:t.httpMethod||"GET",mode:t.mode,cache:t.cache,credentials:t.credentials},x=f({host:t.hubApiUrl||"https://hub.arcgis.com",path:`/api/discussions/${e}`});if(t.data)if(t.httpMethod==="GET"){let a=new URLSearchParams(t.data).toString();p+=`?${a}`}else d.body=JSON.stringify(t.data);let g=["/posts","/posts/search"].includes(r)&&(((n=t.data)===null||n===void 0?void 0:n.f)===m.CSV||o.get("Accept")==="text/csv"),l=[x.replace(/\/$/,""),p.replace(/^\//,"")].join("/");return fetch(l,d).then(a=>{if(a.ok)return g?a.text():a.json();{let{statusText:b,status:q}=a;return a.json().then(y=>{throw new c(b,l,q,JSON.stringify(y.message))})}})}function w(r,t){return u(t).then(e=>h(r,t,"v1",e))}function P(r,t){return u(t).then(e=>h(r,t,"v2",e))}export{w as a,P 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{a as s}from"./
|
|
3
|
+
v1.2.0-next.30 */
|
|
4
|
+
import{a as s}from"./CYDNA2QI.js";import"./ZGWPTRGZ.js";import"./5HZVV4CF.js";import"./EDB5QBJ4.js";import"./ZLWE4SGQ.js";import{a as i,b as a}from"./7QLGF5J6.js";import"./P32GLMOO.js";import"./GAQ3EPIU.js";import"./C6XXEAWS.js";import{a as o}from"./V33LR6IS.js";import{a as r}from"./NQNIGRVW.js";import"./L4ENNIQZ.js";import"./FA3IKFAL.js";import"./BHDNLSI7.js";import"./2GMVKD6U.js";import"./HYVUOIDV.js";import"./74G765B3.js";import"./CAC5OPSW.js";import"./E6CHHVGK.js";import"./MRRQXIAY.js";import"./ITJX53EA.js";import"./AK4FP6HL.js";import"./PNAS5XAC.js";import"./DUBCPEXD.js";import"./MXKXWU54.js";import"./3Z6YZFUQ.js";import"./LWNDAKHU.js";import"./HC4IU67I.js";import"./2YRUPZI2.js";import"./RBY55AW4.js";import"./OGFRY2XT.js";import"./KRGPHVWG.js";import"./D2D2CPBJ.js";import"./RYTGUQNW.js";import"./GGMFABEF.js";import"./3VWHKZED.js";import"./MCPVXPMM.js";import"./JC7USH53.js";import"./HDWF5BGC.js";import"./XQURVTFE.js";var u=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...s(e,t.thumbnail,t.thumbnailUrl,"discussion",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await i(t.location,l.hubRequestOptions),options:await a(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),mapTools:["polygon","rectangle"],noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.details.label`,elements:[{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{control:"hub-field-input-input",type:"textarea",messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]}]});export{u as buildUiSchema};
|