@esri/solutions-components 1.1.0-next.20250925 → 1.1.0-next.20250930
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/{2OPURCY3.js → 22BLGFPB.js} +2 -2
- package/dist/cdn/{XKVPLHFY.js → 23IEP3SP.js} +2 -2
- package/dist/cdn/{D5Q6B25A.js → 24EBO2H6.js} +2 -2
- package/dist/cdn/25QXZCP2.js +18 -0
- package/dist/cdn/{YTO75MV2.js → 266WRGZQ.js} +2 -2
- package/dist/cdn/{AYZSOCD5.js → 2D2O46SR.js} +2 -2
- package/dist/cdn/{HCP2V3UU.js → 2ECABYID.js} +2 -2
- package/dist/cdn/{THJHFKQV.js → 2FCWGGEI.js} +1 -1
- package/dist/cdn/{LPXLHBPX.js → 2GADU3E5.js} +2 -2
- package/dist/cdn/{JWO5QIYY.js → 2HQSAHOD.js} +2 -2
- package/dist/cdn/{AAUCK7LH.js → 2IB23QVE.js} +2 -2
- package/dist/cdn/{UYF2NNBB.js → 2JOPI5SJ.js} +2 -2
- package/dist/cdn/2NFLDAR7.js +4 -0
- package/dist/cdn/{Q6TJGV2D.js → 2NMPWU7Q.js} +1 -1
- package/dist/cdn/{SUXFN2X6.js → 2ON3WOE6.js} +1 -1
- package/dist/cdn/{65OMZCAP.js → 2PUIOUZY.js} +1 -1
- package/dist/cdn/{ZF6AQYFE.js → 2RY5SB6Y.js} +2 -2
- package/dist/cdn/{FM5VRWXF.js → 2ZKQYZDQ.js} +2 -2
- package/dist/cdn/{BHA4XTDN.js → 2ZVLBM4A.js} +2 -2
- package/dist/cdn/{TWGZAHIH.js → 323WPFRO.js} +2 -2
- package/dist/cdn/{VI62OQOH.js → 356AFTQR.js} +2 -2
- package/dist/cdn/{U46QNBND.js → 35H4EZVY.js} +1 -1
- package/dist/cdn/{ZT2CE7NP.js → 3DC5SNKZ.js} +2 -2
- package/dist/cdn/{R73ZGYHF.js → 3EF4NDDW.js} +2 -2
- package/dist/cdn/{XFMDSFW7.js → 3EM7OIRO.js} +2 -2
- package/dist/cdn/{H6GH7IOT.js → 3HBEYVFM.js} +2 -2
- package/dist/cdn/{MWKNWUIW.js → 3NYMMGYV.js} +2 -2
- package/dist/cdn/{UQPU366W.js → 3RGKQEJS.js} +2 -2
- package/dist/cdn/{LGVP5INX.js → 3SG23KIT.js} +2 -2
- package/dist/cdn/{LO7MRNGB.js → 3TLKP5NH.js} +2 -2
- package/dist/cdn/{GF4XCPBZ.js → 3VDNW4LC.js} +1 -1
- package/dist/cdn/{TXVRQ5PZ.js → 3YBYVFJK.js} +2 -2
- package/dist/cdn/{SSTYILQA.js → 3ZCKP3OS.js} +2 -2
- package/dist/cdn/{NOVKOM57.js → 43UI7OSH.js} +2 -2
- package/dist/cdn/{VMQ6BQAB.js → 47RIZZKK.js} +2 -2
- package/dist/cdn/{DNNYXYMB.js → 4AICO5JP.js} +2 -2
- package/dist/cdn/{C7WHKGC3.js → 4ALM45BU.js} +2 -2
- package/dist/cdn/{U77WXORN.js → 4AZI5XWG.js} +2 -2
- package/dist/cdn/4DDYEFGY.js +6 -0
- package/dist/cdn/{6XJFJMJQ.js → 4NHVP7UY.js} +2 -2
- package/dist/cdn/{GH7EGFT6.js → 4OFJQO4X.js} +2 -2
- package/dist/cdn/{YHMMK2FG.js → 4UQ74FNF.js} +2 -2
- package/dist/cdn/{X5CXVGZF.js → 4WW2TEWD.js} +2 -2
- package/dist/cdn/{FEHKEJZD.js → 4XYSVDJW.js} +1 -1
- package/dist/cdn/{W5IBV76O.js → 54HOPFOW.js} +2 -2
- package/dist/cdn/{BV5STBSZ.js → 5HHF4NUO.js} +2 -2
- package/dist/cdn/5MFKIF3Q.js +4 -0
- package/dist/cdn/{USJR4B76.js → 5O7I76T3.js} +2 -2
- package/dist/cdn/{YA54WNBU.js → 5PNHMHFU.js} +2 -2
- package/dist/cdn/{LXDMBT5O.js → 5URSIH5U.js} +2 -2
- package/dist/cdn/{MXWYSH3O.js → 5V4ZBDFW.js} +2 -2
- package/dist/cdn/{5WADHR5N.js → 5VL5INMQ.js} +2 -2
- package/dist/cdn/{ETBTTZNA.js → 5YEGEQZS.js} +2 -2
- package/dist/cdn/{KHXSICQE.js → 65WVLWXY.js} +2 -2
- package/dist/cdn/{EBIRS27O.js → 67P3IFEK.js} +2 -2
- package/dist/cdn/{KFF4AJDE.js → 6DVNASY7.js} +2 -2
- package/dist/cdn/{NQIJKYWM.js → 6F5OGR7C.js} +2 -2
- package/dist/cdn/{YQ2TKW7R.js → 6GNS7GKM.js} +2 -2
- package/dist/cdn/{VEDQ6C5V.js → 6H5CYZBQ.js} +2 -2
- package/dist/cdn/{3MLUZIHQ.js → 6LUI7ZT2.js} +2 -2
- package/dist/cdn/{RY3PLDSP.js → 6RCQYQNI.js} +2 -2
- package/dist/cdn/{5BALCZTO.js → 6TMWINTR.js} +1 -1
- package/dist/cdn/{JBUK53GU.js → 6WF2GYYC.js} +2 -2
- package/dist/cdn/{PSSYHWBH.js → 74ESN34B.js} +2 -2
- package/dist/cdn/{TXTXSTLS.js → 75K5SRLH.js} +2 -2
- package/dist/cdn/{WYRAGGNP.js → 75R3MO43.js} +2 -2
- package/dist/cdn/{R6HH3ODD.js → 7CO73YLK.js} +2 -2
- package/dist/cdn/{QK4JQJUW.js → 7DZ74HXF.js} +2 -2
- package/dist/cdn/{CIJJVEVF.js → 7KET45PO.js} +2 -2
- package/dist/cdn/{KMZWBDXN.js → 7KQZYJLA.js} +2 -2
- package/dist/cdn/7VLVF2BS.js +4 -0
- package/dist/cdn/{P3CL4EMR.js → 7WJXXENF.js} +2 -2
- package/dist/cdn/{BTSXOO2M.js → 7YTPXNRD.js} +2 -2
- package/dist/cdn/{QRZTW7BU.js → A2IV3Z6Z.js} +2 -2
- package/dist/cdn/{ATOYGIHH.js → AADVJRE6.js} +2 -2
- package/dist/cdn/{N24O4QQI.js → ACA37DMT.js} +2 -2
- package/dist/cdn/{EF5JL2VQ.js → AFDUDC2N.js} +2 -2
- package/dist/cdn/{XVGFKPLI.js → AGDV2LAI.js} +2 -2
- package/dist/cdn/{P3JXP6RB.js → AHK6ZG3A.js} +2 -2
- package/dist/cdn/{QEAKPZQP.js → AIEFXSLN.js} +2 -2
- package/dist/cdn/{473QHOPM.js → ASBD7AC3.js} +2 -2
- package/dist/cdn/{MNLNPPRU.js → AVRS6THA.js} +2 -2
- package/dist/cdn/{JLK6R26T.js → AWCFBWHQ.js} +2 -2
- package/dist/cdn/{S2LSR4AS.js → AYJTAPI7.js} +2 -2
- package/dist/cdn/{FNSY7LO2.js → B4FEQLMG.js} +2 -2
- package/dist/cdn/{MXZZNY4F.js → B4IGWR3F.js} +2 -2
- package/dist/cdn/{DEZFQJNZ.js → B5C365S4.js} +2 -2
- package/dist/cdn/{S2RBXS2V.js → BA4S5XKJ.js} +2 -2
- package/dist/cdn/{VE37PUTE.js → BASKHVNL.js} +2 -2
- package/dist/cdn/{2OP7BHUA.js → BCADRR3Q.js} +2 -2
- package/dist/cdn/{UTIDNCRT.js → BDDAYVOQ.js} +1 -1
- package/dist/cdn/{FFZUA5X4.js → BDNVVUIT.js} +2 -2
- package/dist/cdn/{2VMWXHN3.js → BGIBTCAX.js} +2 -2
- package/dist/cdn/{XTGQKRQA.js → BGIMI6AA.js} +2 -2
- package/dist/cdn/{LNJPYNGK.js → BIEQ7KK2.js} +2 -2
- package/dist/cdn/{GMNC7X6H.js → BNPX242D.js} +2 -2
- package/dist/cdn/{XVWWKYTO.js → BQR4BIXL.js} +2 -2
- package/dist/cdn/{FQYW2U4R.js → BR6ACL7P.js} +2 -2
- package/dist/cdn/{AFYTT5PZ.js → C2OYBD5D.js} +2 -2
- package/dist/cdn/{WR74D3JQ.js → CD7X2MST.js} +2 -2
- package/dist/cdn/{KAVW3QCR.js → CDKD6UKE.js} +2 -2
- package/dist/cdn/{S5VYS4SB.js → CRHUJGHY.js} +2 -2
- package/dist/cdn/{J3NBJJ74.js → CTARUCKT.js} +2 -2
- package/dist/cdn/{L45RDDBK.js → CTODW2AG.js} +2 -2
- package/dist/cdn/{BZF3B6LY.js → CUOOBR5E.js} +2 -2
- package/dist/cdn/{6HHPO62F.js → D75MT2IG.js} +2 -2
- package/dist/cdn/{NYQEWR7X.js → DCK7KGNM.js} +1 -1
- package/dist/cdn/{HT645HS7.js → DD3OHYXF.js} +2 -2
- package/dist/cdn/{5563BFJZ.js → DEOGFJUI.js} +2 -2
- package/dist/cdn/{QWIT76LO.js → DJZVV3PM.js} +2 -2
- package/dist/cdn/{GZTZVBO5.js → DKRLKIUR.js} +2 -2
- package/dist/cdn/{3RHWJV4W.js → DRR2OKOF.js} +2 -2
- package/dist/cdn/{M6OOLFCJ.js → DXH6Q7YD.js} +1 -1
- package/dist/cdn/{LSMRGUCM.js → DY3JTLBU.js} +2 -2
- package/dist/cdn/{CEGWELML.js → E3L5SMJR.js} +2 -2
- package/dist/cdn/{KR6VTFJA.js → E3N2636B.js} +2 -2
- package/dist/cdn/{RV6DRTTP.js → E4E2FO7E.js} +2 -2
- package/dist/cdn/{QZDH24N7.js → E4S3Q5OW.js} +1 -1
- package/dist/cdn/{GAHL3SYV.js → E5SEEOIV.js} +2 -2
- package/dist/cdn/{OLVFU265.js → EAEPH2DK.js} +1 -1
- package/dist/cdn/{MIRZHYKN.js → EGQS26KS.js} +2 -2
- package/dist/cdn/{OROYLFVP.js → EMWDRQ3S.js} +1 -1
- package/dist/cdn/{AFQPOT74.js → EO55S6RD.js} +1 -1
- package/dist/cdn/{KGL2ZJHJ.js → EQV6RRR6.js} +2 -2
- package/dist/cdn/{KBC6DIJZ.js → ETKNUPUS.js} +2 -2
- package/dist/cdn/{BAYOM6SI.js → EU5DRFMT.js} +2 -2
- package/dist/cdn/{PBM57FIT.js → EVDDGPFB.js} +2 -2
- package/dist/cdn/EVJGDIYM.js +20 -0
- package/dist/cdn/{ZAET6YPI.js → F2AFMRUH.js} +2 -2
- package/dist/cdn/{HZE3LXEE.js → F2LWDBNQ.js} +2 -2
- package/dist/cdn/{ZYR3HZEK.js → F524Q2NJ.js} +2 -2
- package/dist/cdn/{E4Y6GVNV.js → FBNVLSMN.js} +2 -2
- package/dist/cdn/{MTIRZAK6.js → FDBSY5EH.js} +2 -2
- package/dist/cdn/{ISXJUGGA.js → FILH23FI.js} +2 -2
- package/dist/cdn/{LFBG4JZ7.js → FPS2Q5WP.js} +2 -2
- package/dist/cdn/{WWDAOW57.js → FSTOIVGE.js} +2 -2
- package/dist/cdn/{6PBSS6FB.js → FWAAVZFS.js} +2 -2
- package/dist/cdn/{M4LYPHMX.js → FWIK3P4X.js} +2 -2
- package/dist/cdn/{POV7XSHA.js → G2TY7BDV.js} +2 -2
- package/dist/cdn/{W34C5H2W.js → G3GOC3N7.js} +2 -2
- package/dist/cdn/G7DLAUBZ.js +4 -0
- package/dist/cdn/GF5XGNO5.js +18 -0
- package/dist/cdn/{CVG5RATD.js → GGR6HRVV.js} +2 -2
- package/dist/cdn/{WWEDQX52.js → GGUFYXRM.js} +2 -2
- package/dist/cdn/{HXM7W2BW.js → GHZTGAZM.js} +2 -2
- package/dist/cdn/{TPVOMX5N.js → GLMQSHFB.js} +2 -2
- package/dist/cdn/{WHEEVELQ.js → GPEQY3RN.js} +2 -2
- package/dist/cdn/GWDC4SZF.js +4 -0
- package/dist/cdn/{JC7ZAYKG.js → GZDDP456.js} +2 -2
- package/dist/cdn/{FBSD5IXJ.js → H2W4MY6J.js} +2 -2
- package/dist/cdn/{EWUDMX32.js → H3VGOXNI.js} +2 -2
- package/dist/cdn/{BQ6S5XKL.js → H6HYWSBZ.js} +2 -2
- package/dist/cdn/{MW2FGYGV.js → HBYY3KDT.js} +1 -1
- package/dist/cdn/{Z4WEZVOA.js → HE4NOXJ3.js} +2 -2
- package/dist/cdn/{NGRBGHVV.js → HF3PUWXF.js} +2 -2
- package/dist/cdn/{KJRI7DRU.js → HGY2UKNC.js} +2 -2
- package/dist/cdn/{6LDOG2ME.js → HJJYOSIJ.js} +2 -2
- package/dist/cdn/{Y7K3POJH.js → HKAUWMMG.js} +2 -2
- package/dist/cdn/{GZKHYIAT.js → HNNI5WAM.js} +2 -2
- package/dist/cdn/{N3JGY53P.js → HQTF75WO.js} +1 -1
- package/dist/cdn/{YEX5UXGV.js → HWIHJHFL.js} +4 -4
- package/dist/cdn/{WQPXVA5A.js → I4BGIYMI.js} +2 -2
- package/dist/cdn/{77HTAQZE.js → I6MZEZ56.js} +2 -2
- package/dist/cdn/{KFCB3T26.js → I6ZDBAQP.js} +2 -2
- package/dist/cdn/{I7ESEAUO.js → IBKI675K.js} +2 -2
- package/dist/cdn/{73DDXQ7N.js → IEKRWN5D.js} +2 -2
- package/dist/cdn/{ZBPUYD75.js → IELLQPVZ.js} +2 -2
- package/dist/cdn/{HLETUGG3.js → IISGJ6DA.js} +2 -2
- package/dist/cdn/{KYNEIKUT.js → IIVKUMB4.js} +2 -2
- package/dist/cdn/{2DLRU2VG.js → IQ2S7K55.js} +1 -1
- package/dist/cdn/{N5KQGDLL.js → IQQ7HCCI.js} +2 -2
- package/dist/cdn/{SCZM2XR2.js → JC4JL4ZX.js} +2 -2
- package/dist/cdn/{BUSDCGM3.js → JHB73LZI.js} +2 -2
- package/dist/cdn/{WWVGMEQR.js → JM3GUS6L.js} +2 -2
- package/dist/cdn/{ZSMGY5JQ.js → JP56IADL.js} +2 -2
- package/dist/cdn/{UH4UKCGX.js → K4Q2SQTZ.js} +2 -2
- package/dist/cdn/{XBUOOEYY.js → K5SJYGVE.js} +2 -2
- package/dist/cdn/{26EMEDKL.js → KCE6C64B.js} +2 -2
- package/dist/cdn/{55PXWNYE.js → KHWPXZDE.js} +2 -2
- package/dist/cdn/{65PMMLC3.js → KQ5K4TDN.js} +2 -2
- package/dist/cdn/{GIGNYRHN.js → L6F7MKSZ.js} +2 -2
- package/dist/cdn/{R6LB7MHN.js → L7BFIWS6.js} +1 -1
- package/dist/cdn/{VU5ZSX7O.js → L7JOASPG.js} +2 -2
- package/dist/cdn/{2FHCNAX7.js → LAMHNBCE.js} +2 -2
- package/dist/cdn/LANEMFHC.js +18 -0
- package/dist/cdn/{X6NND7S3.js → LARQGETS.js} +1 -1
- package/dist/cdn/LBUL7KNM.js +4 -0
- package/dist/cdn/{WXSOWA6A.js → LDGWGH6X.js} +1 -1
- package/dist/cdn/{RUD5AGHP.js → LDPR3VUK.js} +2 -2
- package/dist/cdn/{FB4FWUNL.js → LNGL6TXH.js} +2 -2
- package/dist/cdn/{PHRHUP64.js → LNZSLBZP.js} +2 -2
- package/dist/cdn/{ER3ZLRLV.js → LO2TFJEI.js} +2 -2
- package/dist/cdn/{ZTPF724K.js → LQUOYKPE.js} +1 -1
- package/dist/cdn/{IWGOA46T.js → LTBQ7RL6.js} +1 -1
- package/dist/cdn/{MKCIYBPT.js → LWXY7EKZ.js} +2 -2
- package/dist/cdn/{GVZUTXR2.js → LXKKRNKX.js} +2 -2
- package/dist/cdn/{IJ6HSCOY.js → M22WBW5C.js} +2 -2
- package/dist/cdn/{J7RAPNOH.js → M2THGRZD.js} +1 -1
- package/dist/cdn/{PX2QGVS3.js → M5FFDZZD.js} +2 -2
- package/dist/cdn/{D7LR22CF.js → M6IH4MUH.js} +2 -2
- package/dist/cdn/{FU7BP62B.js → ME6JSTRV.js} +2 -2
- package/dist/cdn/{DAMW3REA.js → MEWGZTOS.js} +2 -2
- package/dist/cdn/{MFFFCOFR.js → MFDBUB7P.js} +2 -2
- package/dist/cdn/{H7PPVWDR.js → MGVREFJR.js} +2 -2
- package/dist/cdn/{QTPV3FTX.js → MQX2K2YB.js} +2 -2
- package/dist/cdn/{QU7KXVDR.js → MQZRCC3R.js} +2 -2
- package/dist/cdn/{A6HUHBMQ.js → MSFVJZS4.js} +2 -2
- package/dist/cdn/{R5RRAWEB.js → MYGI6G62.js} +2 -2
- package/dist/cdn/{R7U46D5B.js → N4KFWOVF.js} +2 -2
- package/dist/cdn/{2HAO3FHD.js → N4RQSTOH.js} +2 -2
- package/dist/cdn/{UNJMGUK2.js → N4XF3SDK.js} +1 -1
- package/dist/cdn/{OGMM2WEY.js → N72WSNJD.js} +2 -2
- package/dist/cdn/{N6QDTGLW.js → NAR4WZYN.js} +2 -2
- package/dist/cdn/{IWQSRGSD.js → NDELA7DW.js} +2 -2
- package/dist/cdn/{NYXX2G4A.js → NDHK32YT.js} +2 -2
- package/dist/cdn/{IABCWEOV.js → NGOSIDLM.js} +2 -2
- package/dist/cdn/{NKZ3BLZ2.js → NK66SUU6.js} +2 -2
- package/dist/cdn/{SBE4AVXM.js → NNHTS2OV.js} +2 -2
- package/dist/cdn/{ORWR25WB.js → NWP4FTID.js} +2 -2
- package/dist/cdn/{36R7NQXN.js → NZ3244T3.js} +2 -2
- package/dist/cdn/{SLVNYZVX.js → O3IIFUQS.js} +2 -2
- package/dist/cdn/{EXU6PQ54.js → O4DCTBMS.js} +2 -2
- package/dist/cdn/{C2KR5VLL.js → OAACLYHW.js} +2 -2
- package/dist/cdn/{SHNBY54H.js → OBA32KSF.js} +2 -2
- package/dist/cdn/{NRQ6MMGP.js → OGUKW7UF.js} +2 -2
- package/dist/cdn/{SHUUBUII.js → OOAYP65P.js} +2 -2
- package/dist/cdn/{UGU56XUK.js → OQ2XNLUJ.js} +2 -2
- package/dist/cdn/{D5HHTQN4.js → OQWW5GOD.js} +2 -2
- package/dist/cdn/{XWSJEPAY.js → OXWHG2JJ.js} +1 -1
- package/dist/cdn/P3DANCNA.js +18 -0
- package/dist/cdn/{JI65BR4X.js → P56PKYKW.js} +2 -2
- package/dist/cdn/{CLKCQTML.js → P7BVRBAM.js} +2 -2
- package/dist/cdn/{PIHX5ITU.js → PEEESAGD.js} +2 -2
- package/dist/cdn/{IYWOPTG3.js → PKYF5QVD.js} +2 -2
- package/dist/cdn/{IKCRST7G.js → PMX7R4AD.js} +2 -2
- package/dist/cdn/{NMFAADJX.js → PP4EUCLU.js} +2 -2
- package/dist/cdn/{HNMRLRJW.js → PSUDABII.js} +2 -2
- package/dist/cdn/{3BOYXWN3.js → PTHCQMPY.js} +2 -2
- package/dist/cdn/{V64TTKSX.js → PWBZGGXP.js} +2 -2
- package/dist/cdn/{BVIUDIGF.js → PZMZZ5CN.js} +2 -2
- package/dist/cdn/{OPLNE5ST.js → QF55UWLV.js} +1 -1
- package/dist/cdn/{OP4WGZFL.js → QIUJXUOE.js} +2 -2
- package/dist/cdn/{K5OZT7T2.js → QLICRMB2.js} +2 -2
- package/dist/cdn/{U2GNUOU3.js → QPOWVOQW.js} +2 -2
- package/dist/cdn/{XC4FJ5WE.js → QXWVQS3F.js} +2 -2
- package/dist/cdn/{CQLA56QO.js → R5Z6D6M7.js} +2 -2
- package/dist/cdn/{2JHNJNS2.js → RAFQZUOI.js} +2 -2
- package/dist/cdn/{WBVC3BG2.js → RBIHPCO4.js} +2 -2
- package/dist/cdn/{WNCVTLXA.js → RDBOZN6J.js} +2 -2
- package/dist/cdn/{MDNB4YJA.js → RELLGPSE.js} +2 -2
- package/dist/cdn/{UBSZGRAH.js → RFUWQMF7.js} +2 -2
- package/dist/cdn/{RX4UKFIW.js → RGGLFJVZ.js} +2 -2
- package/dist/cdn/{QS7CTP67.js → RHBPBF7Z.js} +2 -2
- package/dist/cdn/{2T54TXDG.js → RRKP5CIH.js} +2 -2
- package/dist/cdn/{JWYZYDY4.js → RT77N3UL.js} +2 -2
- package/dist/cdn/{JGLVXEV4.js → RUNLAPNP.js} +2 -2
- package/dist/cdn/{SKJFZS7G.js → RWAQFBTM.js} +2 -2
- package/dist/cdn/{HSCLCBHG.js → RZC3IYH5.js} +2 -2
- package/dist/cdn/{P2ILALBS.js → RZPVM54I.js} +2 -2
- package/dist/cdn/{7FTAFCJ2.js → SLANTCAC.js} +2 -2
- package/dist/cdn/{K5JXAIFM.js → SLJDD3FS.js} +2 -2
- package/dist/cdn/{VRKYLQUQ.js → SQCMB2UB.js} +2 -2
- package/dist/cdn/{JUWOEYDX.js → SSUPBLSO.js} +2 -2
- package/dist/cdn/{KXYU5IR5.js → SY3W6JNJ.js} +2 -2
- package/dist/cdn/{MTCLLVL7.js → T26V7ODN.js} +2 -2
- package/dist/cdn/{QHTCEAXV.js → T2EWH5IQ.js} +2 -2
- package/dist/cdn/{G2GWPSGO.js → T2YJUKUD.js} +1 -1
- package/dist/cdn/{ULQENDE6.js → T6WKLJYO.js} +2 -2
- package/dist/cdn/{YKAQDT2U.js → TCRDYPS5.js} +2 -2
- package/dist/cdn/{RRHTLAAA.js → TF2UOA54.js} +2 -2
- package/dist/cdn/{BT7CLLDK.js → TGDRLQ4O.js} +2 -2
- package/dist/cdn/{KMYGQXSV.js → TWRCCC3K.js} +2 -2
- package/dist/cdn/{RQAOJXPS.js → TX447FTE.js} +2 -2
- package/dist/cdn/{3JBVAHK6.js → TZ4G5I43.js} +2 -2
- package/dist/cdn/{24BXIQZ7.js → U25THAWD.js} +2 -2
- package/dist/cdn/{PV3NLPFG.js → U5KP66P2.js} +2 -2
- package/dist/cdn/{JARW5IVD.js → UCBSVUJO.js} +2 -2
- package/dist/cdn/{D3E4SX3O.js → UDLU5BLH.js} +2 -2
- package/dist/cdn/{VKN5M2H2.js → UKKF6ICH.js} +1 -1
- package/dist/cdn/{KS4RKS4M.js → UL7UNFT6.js} +2 -2
- package/dist/cdn/{4HI6FZUO.js → UOTNYMKC.js} +2 -2
- package/dist/cdn/{TEHFWJ7C.js → UQ7DAXP2.js} +2 -2
- package/dist/cdn/{EFJAP4WK.js → URDIYJDY.js} +2 -2
- package/dist/cdn/UVECELIA.js +4 -0
- package/dist/cdn/{EJ4R77EB.js → UW5ESZP6.js} +1 -1
- package/dist/cdn/{Q3BLS33D.js → UZAJZ5TS.js} +1 -1
- package/dist/cdn/{42AGDBE4.js → UZJHE7WR.js} +2 -2
- package/dist/cdn/{WZRONVJZ.js → VDNNFT35.js} +2 -2
- package/dist/cdn/{YTMOSPLG.js → VEKUCF54.js} +2 -2
- package/dist/cdn/{K33ORAXO.js → VPPGQP3F.js} +2 -2
- package/dist/cdn/{XDQL3NIY.js → VTI3VKW3.js} +2 -2
- package/dist/cdn/{AISYSTZW.js → VYPAVTBZ.js} +6 -6
- package/dist/cdn/{2L7PQ47G.js → VZLLG5ZN.js} +2 -2
- package/dist/cdn/{Z6AH4R75.js → W2CYN36L.js} +1 -1
- package/dist/cdn/{5FLGUC57.js → W4DUSPLY.js} +2 -2
- package/dist/cdn/{RNVVUHUQ.js → W4W2UWW4.js} +1 -1
- package/dist/cdn/{DMJ7ZB4K.js → W63MB7VH.js} +2 -2
- package/dist/cdn/{BGSHIX7G.js → W7NRHWGE.js} +2 -2
- package/dist/cdn/{K7RLU4Y2.js → WD2JLYA6.js} +2 -2
- package/dist/cdn/{AGBENW6G.js → WDUF3ELA.js} +2 -2
- package/dist/cdn/{EK43Y7Z2.js → WI4YHLNP.js} +2 -2
- package/dist/cdn/{MX6RTOQG.js → WJQKMHJZ.js} +2 -2
- package/dist/cdn/{DAWEZ3PP.js → WL54FYOU.js} +2 -2
- package/dist/cdn/{G2LCRPWW.js → WLYCBHJY.js} +1 -1
- package/dist/cdn/{O2FICKKC.js → WMGMAARS.js} +2 -2
- package/dist/cdn/{NZNYZUTU.js → WW6MD4TF.js} +1 -1
- package/dist/cdn/{WFP5XXEK.js → WY3ISXXZ.js} +2 -2
- package/dist/cdn/{KUMMPXMH.js → WZERQSJW.js} +2 -2
- package/dist/cdn/{LUWFREHJ.js → WZSZLETN.js} +2 -2
- package/dist/cdn/{HX3WF3FR.js → X3W3ZXNH.js} +2 -2
- package/dist/cdn/{PD35GUHM.js → X3YQSK4M.js} +1 -1
- package/dist/cdn/{Z323EBNW.js → X5V263ZF.js} +2 -2
- package/dist/cdn/{2OPQXTH4.js → XDZ5DQ73.js} +2 -2
- package/dist/cdn/{LFU5MJCP.js → XH2M7SON.js} +2 -2
- package/dist/cdn/{ZA6O5D72.js → XKS62AFO.js} +2 -2
- package/dist/cdn/{3BSRG4G7.js → XOYRZBAP.js} +2 -2
- package/dist/cdn/{LDVVWQGY.js → XPADHCD4.js} +2 -2
- package/dist/cdn/{KEBHA3QD.js → XPF6NERF.js} +1 -1
- package/dist/cdn/{YSXDW4ET.js → XPOTXEEC.js} +2 -2
- package/dist/cdn/XR6HLBKK.js +4 -0
- package/dist/cdn/{245NPYHN.js → XR7PKWLI.js} +2 -2
- package/dist/cdn/{37GUPKRX.js → XSR4VHUZ.js} +2 -2
- package/dist/cdn/{WEXUAI5Q.js → XTAYZWYY.js} +2 -2
- package/dist/cdn/XVOCJN6U.js +18 -0
- package/dist/cdn/{GQA6YR5I.js → XZ5IZIPG.js} +2 -2
- package/dist/cdn/{PQQYPDWQ.js → Y4DBLHQP.js} +1 -1
- package/dist/cdn/{RHTJZXBZ.js → Y4ILHAXC.js} +2 -2
- package/dist/cdn/{UGWV4TWD.js → YDI3MX2A.js} +2 -2
- package/dist/cdn/{KKWPB4UB.js → YIWKP4HK.js} +2 -2
- package/dist/cdn/{WL6IYRDK.js → YJE446FB.js} +2 -2
- package/dist/cdn/{IMDXMWOJ.js → YS7H6RST.js} +2 -2
- package/dist/cdn/{ARN35KP2.js → YVC4WJCU.js} +2 -2
- package/dist/cdn/{7ZU4SW7Z.js → YYCPQK2C.js} +2 -2
- package/dist/cdn/{YBN33CFC.js → Z4T6IBAY.js} +2 -2
- package/dist/cdn/{X55WNPTN.js → Z4VUH3B5.js} +2 -2
- package/dist/cdn/{EV6FIS7V.js → ZDYMKGAY.js} +2 -2
- package/dist/cdn/ZIOUWJO5.js +4 -0
- package/dist/cdn/{WE65DJBN.js → ZNHB4XXK.js} +2 -2
- package/dist/cdn/{OKMWCFIQ.js → ZPA7ULN3.js} +2 -2
- package/dist/cdn/{VHHNWHEK.js → ZVPXDTBR.js} +2 -2
- package/dist/cdn/{5DH5RGM3.js → ZX6DNUC7.js} +2 -2
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/solutions-deploy-app-nav/t9n/messages.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- 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 +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +56 -38
- 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-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-dialog/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-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-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.d.ts +2 -0
- package/dist/components/solutions-all-shell/customElement.js +10 -10
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.js +1 -1
- package/dist/components/solutions-deploy-app-nav/customElement.d.ts +5 -0
- package/dist/components/solutions-deploy-app-nav/customElement.js +68 -0
- package/dist/components/solutions-deploy-app-nav/index.d.ts +1 -0
- package/dist/components/solutions-deploy-app-nav/index.js +1 -0
- package/dist/components/solutions-deployed-filter-panel/customElement.js +26 -22
- 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 +31 -27
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +97 -2
- package/dist/docs/docs.json +74 -2
- package/dist/docs/vscode.html-custom-data.json +7 -1
- package/dist/docs/web-types.json +22 -2
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -1
- package/dist/solutions-components_commit.txt +10 -0
- package/dist/types/lumina.d.ts +6 -0
- package/dist/types/preact.d.ts +7 -0
- package/dist/types/preact10.d.ts +8 -0
- package/dist/types/react.d.ts +8 -0
- package/dist/types/stencil.d.ts +6 -0
- package/package.json +1 -1
- package/dist/cdn/2WZRC5GT.js +0 -18
- package/dist/cdn/4EWRLUR4.js +0 -4
- package/dist/cdn/74FAOYDJ.js +0 -4
- package/dist/cdn/7QAOC7IR.js +0 -4
- package/dist/cdn/BOFE4H2M.js +0 -18
- package/dist/cdn/FCD4WDE3.js +0 -20
- package/dist/cdn/HMIBT73Y.js +0 -4
- package/dist/cdn/LO2XE6HZ.js +0 -18
- package/dist/cdn/M24WWAVV.js +0 -4
- package/dist/cdn/MN6AFYEX.js +0 -6
- package/dist/cdn/NS5LEAZO.js +0 -18
- package/dist/cdn/NSFPTAFA.js +0 -4
- package/dist/cdn/RWOR2UOA.js +0 -4
- package/dist/cdn/XSWOWJXM.js +0 -4
- package/dist/cdn/ZNJ7ME6U.js +0 -4
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{a as p}from"./
|
3
|
+
v1.1.0-next.20250930 */
|
4
|
+
import{a as p}from"./LARQGETS.js";import{a as m}from"./2PUIOUZY.js";import{a as c}from"./N4XF3SDK.js";import{b as g}from"./NK66SUU6.js";import{E as d,G as o,H as a,h as l,i as e,l as i,o as r}from"./EAEPH2DK.js";import"./4XYSVDJW.js";var u=l`:host{--instant-apps-header-height: auto;--instant-apps-header-min-height: 50px;--instant-apps-header-title-text-link-decoration: underline;--instant-apps-header-height--logo-scale--s: 55px;--instant-apps-header-logo-width--logo-scale--s: 35px;--instant-apps-header-logo-height--logo-scale--s: 35px;--instant-apps-header-height--logo-scale--m: 70px;--instant-apps-header-logo-width--logo-scale--m: 50px;--instant-apps-header-logo-height--logo-scale--m: 50px;--instant-apps-header-height--logo-scale--l: 80px;--instant-apps-header-logo-width--logo-scale--l: 60px;--instant-apps-header-logo-height--logo-scale--l: 60px;--instant-apps-header-actions-end-height: auto;width:100%}:host .image.image_resized img{width:100%}:host .header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .header-container{display:flex;align-items:center;width:100%;height:inherit}:host .header-container slot{display:flex;height:inherit}:host .header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .header-container ::slotted(*) calcite-button{height:100%}:host .header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration);overflow:hidden}:host .header-content img{margin:10px}:host .header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .header-content #infoButton{margin-inline-start:10px}:host .header-content.center{justify-content:center}:host .header-content.right{justify-content:end}:host .header.height-s{height:var(--instant-apps-header-height--logo-scale--s)}:host .header.height-s h1{font-size:1.125rem}:host .header.height-s img{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .header.height-m{height:var(--instant-apps-header-height--logo-scale--m)}:host .header.height-m img{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .header.height-l{height:var(--instant-apps-header-height--logo-scale--l)}:host .header.height-l h1{font-size:1.375rem}:host .header.height-l img{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}`,s={base:"header",headerContainer:"header-container",headerContent:"header-content",actionsEndContainer:"actions-end-container"},h=class extends d{constructor(){super(...arguments),this._sanitizer=new c({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.handleMobileMediaQueryChange=t=>{let{matches:n}=t;if(n){this.logoScale="s";return}this.logoScale=this.initialScale},this.initialScale="m",this.titleText="",this.logoScale="m",this.infoButton=!1,this.infoIsOpen=!1,this.headerAlignment="left",this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=p.medium[1],this.infoIsOpenChanged=r({cancelable:!1})}static{this.properties={initialScale:16,titleText:1,titleTextLink:1,backgroundColor:1,textColor:1,logoImage:1,logoScale:3,logoImageAltText:1,logoLink:1,infoButton:7,infoIsOpen:7,infoTitleText:1,customHeaderHtml:1,headerAlignment:1,customHeaderCss:1,fontFamily:3,mobileWidthBreakpoint:9}}static{this.styles=u}async toggleInfo(){this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen)}load(){this.handleMobileBreakpoints(),this.sanitizeCustomHeaderHtml()}willUpdate(t){t.has("customHeaderHtml")&&this.sanitizeCustomHeaderHtml()}disconnectedCallback(){super.disconnectedCallback(),this._mobileMediaQuery?.removeEventListener("change",this.handleMobileMediaQueryChange)}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}handleMobileBreakpoints(){this.initialScale=this.logoScale,this._mobileMediaQuery=window.matchMedia(`(max-width: ${this.mobileWidthBreakpoint}px)`),this._mobileMediaQuery.matches&&(this.logoScale="s"),this._mobileMediaQuery.addEventListener("change",this.handleMobileMediaQueryChange)}get hasEmptyLogo(){return this.logoImage==="undefined"||this.logoImage?.split("?")[0]==="undefined"||this.logoImage?.split("?")[0]===""||!this.logoImage}render(){let t=this.renderLogo(),n=this.renderTitle(),f=m(this.fontFamily);return this.customHeaderHtml?[e`<style>${this.customHeaderCss}</style>`,e`<div id=customHeader .innerHTML=${this.customHeaderHtml??""}></div>`]:e`<header class=${o({[s.base]:s.base,[`height-${this.logoScale}`]:!!t})} style=${a({backgroundColor:this.backgroundColor,fontFamily:f})}><div class=${o(s.headerContainer)}><span class=${`${s.headerContent} ${this.headerAlignment}`}>${t}${n}${this.infoButton?e`<calcite-button style=${a({"--calcite-color-text-1":this.textColor})} id=infoButton alignment=start appearance=transparent kind=neutral icon-start=information-f scale=s .label=${this.infoTitleText} title=${this.infoTitleText??i} @click=${this.toggleInfo}></calcite-button>`:null}</span><div class=${o(s.actionsEndContainer)}><slot name=actions-end></slot></div></div></header>`}renderLogo(){if(this.hasEmptyLogo)return null;let t=e`<img src=${this.logoImage??i} alt=${this.logoImageAltText??i}>`;return this.logoLink?e`<a href=${this.logoLink??i} target=_blank>${t}</a>`:t}renderTitle(){return this.titleText&&this.titleTextLink?e`<a style=${a({color:this.textColor})} href=${this.titleTextLink??i} rel="noopener noreferrer" target=_blank>${e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}</a>`:e`<h1 style=${a({color:this.textColor})}>${this.titleText}</h1>`}};g("instant-apps-header",h);export{h as InstantAppsHeader};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.1/esri/copyright.txt for details.
|
3
|
-
v1.1.0-next.
|
4
|
-
import{b as p,d as a,e as h,f as E}from"./G2LCRPWW.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.1.0-next.20250930 */
|
4
|
+
import{b as p,d as a,e as h,f as E}from"./WLYCBHJY.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};
|