@esri/solutions-components 1.0.0-next.20250528.2 → 1.0.0-next.20250528.3
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/{WX4ZUMZN.js → 257RHCO3.js} +2 -2
- package/dist/cdn/{Y4M5KS3M.js → 25INXMQ7.js} +1 -1
- package/dist/cdn/{4QWQA7SP.js → 2ZFWVIHB.js} +2 -2
- package/dist/cdn/{YZCPJ5JI.js → 37ZOOYA6.js} +2 -2
- package/dist/cdn/{RTTXS2RX.js → 3DBNRKRY.js} +2 -2
- package/dist/cdn/{4KGZBVTB.js → 3IKHEFIM.js} +2 -2
- package/dist/cdn/{HYTRDNUE.js → 3P5H2MBX.js} +2 -2
- package/dist/cdn/3QEJ6I3X.js +4 -0
- package/dist/cdn/{GUP4UK2N.js → 3SEFRTZS.js} +2 -2
- package/dist/cdn/{6GVJGNRK.js → 3SXC6AOX.js} +2 -2
- package/dist/cdn/{BKQVXWB7.js → 3Z5EZESP.js} +2 -2
- package/dist/cdn/{HM7JZP3A.js → 46JQWJOE.js} +1 -1
- package/dist/cdn/{ARYFWYUR.js → 4BKW6WVP.js} +1 -1
- package/dist/cdn/{IIPLB2RS.js → 4BPV7HBX.js} +2 -2
- package/dist/cdn/{WO7YGQFB.js → 4CX3U6PC.js} +2 -2
- package/dist/cdn/{73NJ4RPV.js → 4E5A4WPJ.js} +1 -1
- package/dist/cdn/{27LQAQ6Y.js → 4G5AFL4H.js} +2 -2
- package/dist/cdn/{YOSMKTOJ.js → 4GNPLNA5.js} +2 -2
- package/dist/cdn/{HOYVNZRK.js → 4KMMWHZB.js} +2 -2
- package/dist/cdn/{HTYN6WXU.js → 4TQV7BER.js} +2 -2
- package/dist/cdn/{N324UTZ5.js → 4VPENS73.js} +2 -2
- package/dist/cdn/{XHZTR3BJ.js → 53SSMHID.js} +2 -2
- package/dist/cdn/{JBG5SAVM.js → 57ANO2DW.js} +1 -1
- package/dist/cdn/{FPWLAJBO.js → 5IVJBGE4.js} +1 -1
- package/dist/cdn/{GLCP6BKS.js → 5KXQH2TS.js} +2 -2
- package/dist/cdn/{4S2I2R2Q.js → 5NBJWXNC.js} +1 -1
- package/dist/cdn/{BANL5YR3.js → 5NMQ55IB.js} +2 -2
- package/dist/cdn/{IBEMOISL.js → 5VQKGIOK.js} +2 -2
- package/dist/cdn/{CQMNR2XZ.js → 5Y2BA7TP.js} +1 -1
- package/dist/cdn/{XFZL2VCD.js → 6GIWU3Q5.js} +2 -2
- package/dist/cdn/{SFJHXT65.js → 6J3VKLVD.js} +1 -1
- package/dist/cdn/{YQHRK3AQ.js → 6KIF7L5Z.js} +2 -2
- package/dist/cdn/{SMLBVO43.js → 6LYEORFR.js} +2 -2
- package/dist/cdn/{XOHNTOVE.js → 6QGYSL5T.js} +2 -2
- package/dist/cdn/{TWGLV5JH.js → 6TZ6MO2O.js} +2 -2
- package/dist/cdn/{YAK6SM64.js → 6VQV2GNN.js} +2 -2
- package/dist/cdn/{2IDGPQJR.js → 6XBPF2IB.js} +2 -2
- package/dist/cdn/{FEWEA7AN.js → 6Z4UGB7L.js} +2 -2
- package/dist/cdn/{ZZAKVFN7.js → 6ZRKBOXK.js} +2 -2
- package/dist/cdn/{JHFAVQVG.js → 72DBGADN.js} +2 -2
- package/dist/cdn/{66IB2PZE.js → 73FJRU3Y.js} +2 -2
- package/dist/cdn/{IE24UY4O.js → 7JZFXQTO.js} +2 -2
- package/dist/cdn/{Z6TJZJH7.js → 7LLQQFEB.js} +2 -2
- package/dist/cdn/{X6GE3EIS.js → 7XDT73TY.js} +2 -2
- package/dist/cdn/{LYQL4O5M.js → 7XJJ6UNT.js} +2 -2
- package/dist/cdn/{LYWU4RZH.js → 7YOYRP5L.js} +2 -2
- package/dist/cdn/{ABYMP2JA.js → A4PGD7XA.js} +2 -2
- package/dist/cdn/{V5UFRWYB.js → A64GN7NT.js} +2 -2
- package/dist/cdn/{DUOJYQGU.js → AAGHN52S.js} +2 -2
- package/dist/cdn/{U2EADFOW.js → ABWO2Y2R.js} +2 -2
- package/dist/cdn/{FTCXP7FD.js → AEDFL2E5.js} +2 -2
- package/dist/cdn/{TWFIXUDH.js → AGULCZFG.js} +2 -2
- package/dist/cdn/{VGPMZBNK.js → AKLAIQPQ.js} +2 -2
- package/dist/cdn/{JBZH2KKN.js → ALV3PJ2R.js} +2 -2
- package/dist/cdn/{XQNKJT3W.js → ASWV5O2Y.js} +2 -2
- package/dist/cdn/{IIX655ZM.js → AWWZW7JA.js} +1 -1
- package/dist/cdn/{TKILZGVC.js → AXBWHDMC.js} +2 -2
- package/dist/cdn/{UOL6LQRJ.js → AYWX3KW6.js} +2 -2
- package/dist/cdn/{IBDFSTWX.js → B3IN3DJY.js} +2 -2
- package/dist/cdn/{ELBSRAMH.js → BEZWSSYS.js} +2 -2
- package/dist/cdn/{M3OFPTT3.js → BPD6VDN3.js} +2 -2
- package/dist/cdn/{N2MZJBHS.js → BR5BGBOX.js} +2 -2
- package/dist/cdn/{XA34OFHO.js → BXTCLUSK.js} +2 -2
- package/dist/cdn/{ZOPBEUAZ.js → BYAPO6P2.js} +2 -2
- package/dist/cdn/{N5UBRYXZ.js → C24L4MSW.js} +2 -2
- package/dist/cdn/{YTSZZUYS.js → C2JRXUXY.js} +2 -2
- package/dist/cdn/{54NDBS5W.js → C55OWKWP.js} +2 -2
- package/dist/cdn/{NZCTTZQJ.js → C7Y7S4NU.js} +2 -2
- package/dist/cdn/{K6SJCTAS.js → CFHWPF7I.js} +1 -1
- package/dist/cdn/{FNHXNPPV.js → CRCPW7XU.js} +2 -2
- package/dist/cdn/{3S4FG2ZZ.js → CRFHO7BW.js} +2 -2
- package/dist/cdn/{J5LWWUIP.js → CSFSBFDF.js} +2 -2
- package/dist/cdn/{ZEIIGNWR.js → CYIFUTLZ.js} +2 -2
- package/dist/cdn/{6CPKRUI3.js → D3BZ4JKK.js} +1 -1
- package/dist/cdn/{QO56HLQG.js → D7SHA6YV.js} +2 -2
- package/dist/cdn/{T2DUZEDU.js → DAHQXZ7C.js} +1 -1
- package/dist/cdn/{A4JM6VWA.js → DHA6CKJ5.js} +2 -2
- package/dist/cdn/{C3A3SGFC.js → DIWZ4EZC.js} +2 -2
- package/dist/cdn/{A3JKO4I4.js → DLLA4WWL.js} +1 -1
- package/dist/cdn/{FCHOLYNH.js → DOSVUJOV.js} +2 -2
- package/dist/cdn/{3SGIDV3I.js → DP7ML6HU.js} +2 -2
- package/dist/cdn/DRFK3L56.js +4 -0
- package/dist/cdn/{Z3T7XWKC.js → DTIQ7MYW.js} +2 -2
- package/dist/cdn/{5APFWJZZ.js → DTX4EEAG.js} +2 -2
- package/dist/cdn/{YUOGYP2W.js → DU5TL74Q.js} +2 -2
- package/dist/cdn/{YVBTB4PY.js → E2CFMMUE.js} +2 -2
- package/dist/cdn/{2HAFNSIE.js → EB4DFEHA.js} +2 -2
- package/dist/cdn/{2MMQZII3.js → EOEBZDQ7.js} +2 -2
- package/dist/cdn/ET752DLS.js +4 -0
- package/dist/cdn/{455HDVF4.js → EWDSC7JU.js} +2 -2
- package/dist/cdn/{NNQAPUKF.js → EZV7ZQF6.js} +1 -1
- package/dist/cdn/{VUHZ6YXM.js → FB2N4NQN.js} +2 -2
- package/dist/cdn/{QZVIZAH5.js → FBZBMUAD.js} +2 -2
- package/dist/cdn/{AT3MTRQS.js → FMJ3IGTU.js} +1 -1
- package/dist/cdn/{6WQKENE2.js → FP2KIDFS.js} +4 -4
- package/dist/cdn/{O4UWY4LV.js → FQYP65V5.js} +2 -2
- package/dist/cdn/{IVXXAKCK.js → G2TXHXIQ.js} +2 -2
- package/dist/cdn/{3LMFSQQR.js → G475MWQ2.js} +2 -2
- package/dist/cdn/{ZA4R3KFB.js → GA725JQR.js} +2 -2
- package/dist/cdn/{DZXTVGRQ.js → GND4GHDV.js} +2 -2
- package/dist/cdn/{RVOILI7H.js → GP52ZICE.js} +2 -2
- package/dist/cdn/{XCO35G7O.js → GTLMVRBQ.js} +2 -2
- package/dist/cdn/{5USKOL72.js → GXBIS6H4.js} +2 -2
- package/dist/cdn/{J62YOWFC.js → GXI3KDOE.js} +2 -2
- package/dist/cdn/{RFYBQIXD.js → GYCPXIJ5.js} +2 -2
- package/dist/cdn/{SDKQPMU5.js → GZNBACBO.js} +2 -2
- package/dist/cdn/{VYMYL6JP.js → HBE3N77B.js} +2 -2
- package/dist/cdn/{SGX5RQ3B.js → HDW5T7V3.js} +2 -2
- package/dist/cdn/{Y3MVHWDO.js → HFXUVSOV.js} +2 -2
- package/dist/cdn/{OW7E6OZU.js → HG6ROEFU.js} +2 -2
- package/dist/cdn/{SFS5GEDR.js → HHFI6AJ6.js} +2 -2
- package/dist/cdn/{QPNL4XAH.js → HHWQZE3T.js} +1 -1
- package/dist/cdn/{DCP6AHDZ.js → HIXLWRCS.js} +2 -2
- package/dist/cdn/{JY7KFFEJ.js → HKP7U3P5.js} +2 -2
- package/dist/cdn/{JSDNVCX7.js → HMJICBL6.js} +2 -2
- package/dist/cdn/{7GY7BTPK.js → HREL2VNY.js} +2 -2
- package/dist/cdn/{6APCAUUT.js → HUL5SQEE.js} +2 -2
- package/dist/cdn/{ETSCX6UD.js → HVU5S3SS.js} +1 -1
- package/dist/cdn/{UZVRS2XU.js → HXKTFHQR.js} +1 -1
- package/dist/cdn/{U4N25UBP.js → HZWWZ5OV.js} +2 -2
- package/dist/cdn/{PZFNMBVW.js → I645STAC.js} +2 -2
- package/dist/cdn/{ARQHAHK5.js → I72S2GNB.js} +2 -2
- package/dist/cdn/{KSMEO6R5.js → IFSKR5NC.js} +2 -2
- package/dist/cdn/{2XZSJ6JD.js → IIQAYHWH.js} +2 -2
- package/dist/cdn/{DT2GGHBN.js → IJ67TGJO.js} +2 -2
- package/dist/cdn/{GPKFZD7B.js → IRTJHTIG.js} +2 -2
- package/dist/cdn/{UOWOGIE5.js → IRZVL4KH.js} +2 -2
- package/dist/cdn/{RVNPJNAS.js → IT4M2IPN.js} +2 -2
- package/dist/cdn/{CR3NXOPF.js → IYMUBGXL.js} +2 -2
- package/dist/cdn/{I4KZ2A5P.js → J44ASWJ4.js} +2 -2
- package/dist/cdn/{RS6TXCOP.js → JGCUTWDH.js} +2 -2
- package/dist/cdn/{BACSZ2Z7.js → JHPW6QLA.js} +1 -1
- package/dist/cdn/{5NIDGVLZ.js → JJ32NDZX.js} +2 -2
- package/dist/cdn/{JKB6LYON.js → JLEFBKIL.js} +2 -2
- package/dist/cdn/{UBUVKOMA.js → JML5Z4SW.js} +2 -2
- package/dist/cdn/{6PWODZF3.js → JQW32XBP.js} +2 -2
- package/dist/cdn/{5PENO4BC.js → JTNM4TFC.js} +2 -2
- package/dist/cdn/{3XJKMZHA.js → JYDPZBDX.js} +1 -1
- package/dist/cdn/{2BECX5WX.js → K24RDTH6.js} +2 -2
- package/dist/cdn/{JATAGG24.js → K6SZWAR3.js} +2 -2
- package/dist/cdn/{QOPQPJ6E.js → KEPRQ3ES.js} +1 -1
- package/dist/cdn/{5P6SZW5B.js → KGR5GOOM.js} +2 -2
- package/dist/cdn/{XN5WML6J.js → KHJP4IY5.js} +2 -2
- package/dist/cdn/{INDADVJP.js → KSE7HHSL.js} +2 -2
- package/dist/cdn/{XEO56VFL.js → KWE6JXSH.js} +2 -2
- package/dist/cdn/{XIJFQNOB.js → L4O6BNWC.js} +2 -2
- package/dist/cdn/{C7TWT6K2.js → LDMCSIBE.js} +2 -2
- package/dist/cdn/{6QWS7JEN.js → LHCD675Z.js} +2 -2
- package/dist/cdn/{UQBMV5BY.js → LHIJT2HG.js} +2 -2
- package/dist/cdn/{PGFLUWJN.js → LKDIV5SU.js} +2 -2
- package/dist/cdn/{72HLVTY7.js → LLCXPW73.js} +2 -2
- package/dist/cdn/{ROR6SI6U.js → LNEC3E7R.js} +2 -2
- package/dist/cdn/{5BKTEPSJ.js → LUGKZDYN.js} +2 -2
- package/dist/cdn/{DJI7J3C3.js → LVEXDYI4.js} +2 -2
- package/dist/cdn/{N4OHCK66.js → LZVWAYZB.js} +2 -2
- package/dist/cdn/{D6KVYJKN.js → M7CNRM6A.js} +2 -2
- package/dist/cdn/{WVVZ4CLC.js → MA5REVSP.js} +2 -2
- package/dist/cdn/{6RHP2Y7C.js → MANSOOOS.js} +1 -1
- package/dist/cdn/{YFG6Q4W4.js → MBMIPTOA.js} +2 -2
- package/dist/cdn/{Z2MJRFIE.js → MEX4YKRX.js} +2 -2
- package/dist/cdn/{3WC22OVN.js → MJFIELVD.js} +2 -2
- package/dist/cdn/{Y5QDB3GF.js → MNEEEIPJ.js} +2 -2
- package/dist/cdn/{KOQOMT46.js → MYVEMTBD.js} +2 -2
- package/dist/cdn/{KFFWCZKY.js → N2YRZNJW.js} +2 -2
- package/dist/cdn/{6XYU4BZS.js → N5QWENGQ.js} +2 -2
- package/dist/cdn/{X4W4ZZ7O.js → NARGNUFD.js} +2 -2
- package/dist/cdn/{IJBFY7JW.js → NBQSWHCM.js} +2 -2
- package/dist/cdn/{BZFFNFXK.js → NDKH42VU.js} +2 -2
- package/dist/cdn/{GLL5XNBZ.js → NLMEJ6OR.js} +2 -2
- package/dist/cdn/{ZEZCVFYU.js → NN72RJBE.js} +2 -2
- package/dist/cdn/{S56UY63G.js → NNFIBE7G.js} +2 -2
- package/dist/cdn/{R53BLRMX.js → NOADX75H.js} +2 -2
- package/dist/cdn/{QIVTK7HW.js → NOARAMKV.js} +2 -2
- package/dist/cdn/{PLAM4ZSV.js → NPTRZOUL.js} +2 -2
- package/dist/cdn/{QDMUSM3I.js → NS5J2QEB.js} +2 -2
- package/dist/cdn/{2TF5G4JI.js → NWMAPEZO.js} +1 -1
- package/dist/cdn/{MHSBM4WB.js → O2V3QWTR.js} +2 -2
- package/dist/cdn/{OPD73MSN.js → O5DQGL2K.js} +2 -2
- package/dist/cdn/{2OOMOXGH.js → OMSNNRI7.js} +2 -2
- package/dist/cdn/{LWBDG7UH.js → OVEB2NLB.js} +2 -2
- package/dist/cdn/{64XCUKMX.js → OXKYDDEZ.js} +2 -2
- package/dist/cdn/{HM7CZ2CI.js → P2IKZYCY.js} +2 -2
- package/dist/cdn/{JBDNXDLS.js → P6VZV53I.js} +2 -2
- package/dist/cdn/{KETC3CAC.js → P7PCKJWP.js} +2 -2
- package/dist/cdn/{SLKM4GXK.js → PAD56U7M.js} +2 -2
- package/dist/cdn/{OC334CIK.js → PAF4B5CR.js} +2 -2
- package/dist/cdn/{ZHXAH2ZO.js → PGKRFU3R.js} +2 -2
- package/dist/cdn/{ZUGYY22V.js → PJYYGD44.js} +2 -2
- package/dist/cdn/{GOHA6HJP.js → PTAN4GLB.js} +2 -2
- package/dist/cdn/{OC44744D.js → PUAEVLQU.js} +2 -2
- package/dist/cdn/{OI3SHZPE.js → PXZK3CBW.js} +2 -2
- package/dist/cdn/{XQKIPHIH.js → PYKJG7SD.js} +2 -2
- package/dist/cdn/{ZJKJXFXC.js → PYRAMUCP.js} +2 -2
- package/dist/cdn/{WYRW7PJT.js → PZONGH5R.js} +2 -2
- package/dist/cdn/{4ME5QMIF.js → Q3WXELPH.js} +2 -2
- package/dist/cdn/{CQ6SIDRV.js → QKPUNN2K.js} +2 -2
- package/dist/cdn/{COLHBQ5X.js → QKUPYWE6.js} +2 -2
- package/dist/cdn/RCTTGANS.js +4 -0
- package/dist/cdn/{GR5ID3PD.js → REY2ZQR6.js} +1 -1
- package/dist/cdn/{C2XKMOX2.js → RFKLI2UC.js} +2 -2
- package/dist/cdn/{DMRVOPBM.js → RLDDKQ2A.js} +2 -2
- package/dist/cdn/{B4HONVWZ.js → RLI3W2QT.js} +1 -1
- package/dist/cdn/{TQ24PIOH.js → RP3ZDJY3.js} +1 -1
- package/dist/cdn/{SGXJZQ4L.js → RPUUF7I5.js} +2 -2
- package/dist/cdn/{JDSGIOVR.js → RSXDYYA2.js} +2 -2
- package/dist/cdn/{Q5HH7VHO.js → RV3CKUUX.js} +2 -2
- package/dist/cdn/{AH5AIEIN.js → RY2PW6Q6.js} +1 -1
- package/dist/cdn/{LBJE5BZD.js → RYIFJU2L.js} +1 -1
- package/dist/cdn/{QPRN44LY.js → S2PDOHOK.js} +2 -2
- package/dist/cdn/{HOYA4JWQ.js → S46J7E35.js} +2 -2
- package/dist/cdn/{UKDRKFWF.js → S4RIRRI3.js} +2 -2
- package/dist/cdn/{FF7R4YTO.js → S6HJ3I7H.js} +2 -2
- package/dist/cdn/{7OZTZCPH.js → SDENIK4H.js} +2 -2
- package/dist/cdn/{3PIEW24G.js → SHU43YTZ.js} +2 -2
- package/dist/cdn/SPI3VQIT.js +4 -0
- package/dist/cdn/SVS5LLYX.js +4 -0
- package/dist/cdn/SX6I6JSI.js +4 -0
- package/dist/cdn/{EU3TXNP2.js → SXAXFCDU.js} +2 -2
- package/dist/cdn/{PRB7DA6V.js → T35NKXTU.js} +2 -2
- package/dist/cdn/{POG7OHTN.js → TI2OAXLC.js} +2 -2
- package/dist/cdn/{KZWHC2ST.js → TLEVVT7A.js} +2 -2
- package/dist/cdn/{XSNJZI7M.js → TNIKKEFN.js} +2 -2
- package/dist/cdn/{UHBAUGQ4.js → TSVG63JR.js} +1 -1
- package/dist/cdn/{ZJXXAWMH.js → TUFSJ5ED.js} +1 -1
- package/dist/cdn/{NGO6CV3G.js → TXOCFG5N.js} +2 -2
- package/dist/cdn/{TCRWJTPW.js → U2Z3YXS7.js} +2 -2
- package/dist/cdn/{PP63JUSI.js → U3NXYF4O.js} +2 -2
- package/dist/cdn/{5ZAVVIAH.js → UFMHHX7B.js} +2 -2
- package/dist/cdn/{IPIQ52KV.js → UGQ4RM5I.js} +2 -2
- package/dist/cdn/{DWBMQBAB.js → UNVA5BAJ.js} +2 -2
- package/dist/cdn/{CLZ42RFU.js → UQ2LJHER.js} +1 -1
- package/dist/cdn/{RJJHXXVX.js → UUZYQKN4.js} +2 -2
- package/dist/cdn/{YXUMTVRG.js → UYTZEYBK.js} +1 -1
- package/dist/cdn/{ZGO54R7R.js → V3PW6EX3.js} +2 -2
- package/dist/cdn/{CPB7DXI3.js → V5YSOVGP.js} +2 -2
- package/dist/cdn/{VXCG5LEV.js → VC7B7NH7.js} +2 -2
- package/dist/cdn/{AHEWCN4W.js → VDQJCQFK.js} +2 -2
- package/dist/cdn/{BGVU5VPJ.js → VFQJ6YON.js} +2 -2
- package/dist/cdn/VHTVJV3F.js +18 -0
- package/dist/cdn/{BB7RJW6E.js → VOBVDUMB.js} +2 -2
- package/dist/cdn/{JFVYQIUH.js → VS43HQSJ.js} +2 -2
- package/dist/cdn/{XFDA7NEB.js → VUTNTYC5.js} +2 -2
- package/dist/cdn/{TMXXOYO3.js → VYVSHVZB.js} +2 -2
- package/dist/cdn/{IP6ATOM6.js → WAUFDV6T.js} +2 -2
- package/dist/cdn/{RIQZUFV2.js → WBO3TCWN.js} +2 -2
- package/dist/cdn/{A2WX4D7A.js → WDWDMQVM.js} +1 -1
- package/dist/cdn/{AJUGJQUJ.js → WF5UX25P.js} +1 -1
- package/dist/cdn/{6WXHOI6Z.js → WN76KRXW.js} +2 -2
- package/dist/cdn/{GVI4R5J2.js → WQSNANI3.js} +2 -2
- package/dist/cdn/{GA7L2IWK.js → WUBGSVNP.js} +2 -2
- package/dist/cdn/{AGRD4ULC.js → X24ZBRHP.js} +2 -2
- package/dist/cdn/{35BOYRXZ.js → X6GWKDIO.js} +2 -2
- package/dist/cdn/{EXWX56R4.js → XFIYMAZN.js} +2 -2
- package/dist/cdn/{KPKDVL2J.js → XJEPTFMD.js} +2 -2
- package/dist/cdn/{CRYN5SYR.js → XKO4R2YH.js} +2 -2
- package/dist/cdn/{IUBGSA3I.js → XPHFZJND.js} +1 -1
- package/dist/cdn/{TSB43IHY.js → XPJTXSVJ.js} +2 -2
- package/dist/cdn/{AF3RJAL5.js → XQIKYMOT.js} +1 -1
- package/dist/cdn/{FATTGIYI.js → XRZVDWVR.js} +2 -2
- package/dist/cdn/{ZLNLCCC6.js → XS7KQI2S.js} +1 -1
- package/dist/cdn/{CXW7Q33E.js → XX5ZE6Q4.js} +2 -2
- package/dist/cdn/XXPXRGUL.js +4 -0
- package/dist/cdn/{QDFSCCOX.js → XYJXY6OR.js} +2 -2
- package/dist/cdn/{XL4TPC5B.js → YCFUCRRU.js} +2 -2
- package/dist/cdn/{RR3GDG64.js → YGL7EHMU.js} +1 -1
- package/dist/cdn/{INY65VHN.js → YGVTWTVP.js} +2 -2
- package/dist/cdn/{UFQAANOF.js → YIMCEBHV.js} +2 -2
- package/dist/cdn/{MRUWYVHI.js → YJ7ODQWE.js} +2 -2
- package/dist/cdn/{L3IX5SCS.js → YNFTQLNB.js} +2 -2
- package/dist/cdn/{MVN27KOI.js → YWMWF52K.js} +2 -2
- package/dist/cdn/{MRMD4H7O.js → Z2O5FTC6.js} +2 -2
- package/dist/cdn/{5IZBEDEU.js → Z4G45C2O.js} +1 -1
- package/dist/cdn/{L32HIJPV.js → ZHF7YFFZ.js} +2 -2
- package/dist/cdn/{HJJD6V2O.js → ZKPAIAU6.js} +2 -2
- package/dist/cdn/{TCDUH4QD.js → ZL6A3Q67.js} +2 -2
- package/dist/cdn/{ZWGDNNV7.js → ZXKUSH35.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/cardFetchingUtils.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/index.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/publicNotificationStore.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 +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-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-panel/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-deploy-panel/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/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.d.ts +8 -0
- package/dist/components/solution-item-accordion/customElement.js +7 -6
- package/dist/components/solution-item-details/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-items-diagram/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-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-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-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/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 +40 -1
- package/dist/docs/docs.json +28 -1
- package/dist/docs/vscode.html-custom-data.json +12 -0
- package/dist/docs/web-types.json +17 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cdn/CSTT6IAN.js +0 -4
- package/dist/cdn/F7YKY2OF.js +0 -4
- package/dist/cdn/FY5WSCFM.js +0 -4
- package/dist/cdn/K72NRGFR.js +0 -4
- package/dist/cdn/O4YIZH4Y.js +0 -4
- package/dist/cdn/PTLSWZZ2.js +0 -4
- package/dist/cdn/QBYJ6PX6.js +0 -18
- package/dist/cdn/XY544Q64.js +0 -4
- package/dist/cdn/Y236OPC4.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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as l}from"./HVU5S3SS.js";import{b as t,c as u}from"./TSVG63JR.js";import"./RLI3W2QT.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as r}from"./DOSVUJOV.js";import"./NWMAPEZO.js";import"./ZKPAIAU6.js";import"./KHJP4IY5.js";import"./5IVJBGE4.js";import"./LUGKZDYN.js";import"./HXKTFHQR.js";import"./JYDPZBDX.js";import"./RYIFJU2L.js";import{a as d}from"./MBMIPTOA.js";import{D as l,I as p,c as h,d as n,g as a}from"./EZV7ZQF6.js";import"./RLI3W2QT.js";var g=h`/** @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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{a as d}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as d}from"./WDWDMQVM.js";import{a as y}from"./I72S2GNB.js";import"./HFXUVSOV.js";import"./WF5UX25P.js";import"./5IVJBGE4.js";import"./4E5A4WPJ.js";import{a as s,b as p}from"./O2V3QWTR.js";import"./VDQJCQFK.js";import"./J44ASWJ4.js";import{a as n}from"./P6VZV53I.js";import{a}from"./B3IN3DJY.js";import"./LUGKZDYN.js";import"./HXKTFHQR.js";import"./HHWQZE3T.js";import"./JYDPZBDX.js";import{a as l}from"./QKUPYWE6.js";import"./TUFSJ5ED.js";import"./KWE6JXSH.js";import"./TSVG63JR.js";import"./VOBVDUMB.js";import"./Q3WXELPH.js";import"./NOADX75H.js";import"./VUTNTYC5.js";import"./RSXDYYA2.js";import"./N5QWENGQ.js";import"./WAUFDV6T.js";import"./WBO3TCWN.js";import"./6J3VKLVD.js";import"./GP52ZICE.js";import{a as t,b as r}from"./RY2PW6Q6.js";import"./3SEFRTZS.js";import"./7XDT73TY.js";import"./MEX4YKRX.js";import"./DAHQXZ7C.js";import"./4VPENS73.js";import"./YWMWF52K.js";import"./25INXMQ7.js";import"./DLLA4WWL.js";import"./RLI3W2QT.js";var T=async(e,i,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.eventInfo.label`,options:{helperText:{labelKey:`${e}.sections.eventInfo.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"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...y(e,i.thumbnail,d(i),"event",o.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 a(i.tags,o.portal.id,o.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await n(e,o)]}]},{type:"Section",labelKey:`${e}.sections.dateTime.label`,elements:[{labelKey:`${e}.fields.allDay.label`,type:"Control",scope:"/properties/isAllDay",options:{control:"hub-field-input-switch"}},{labelKey:`${e}.fields.startDate.label`,scope:"/properties/startDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startDate.requiredError`}]}},{labelKey:`${e}.fields.startTime.label`,scope:"/properties/startTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.startTime.requiredError`}]}},{labelKey:`${e}.fields.endDate.label`,scope:"/properties/endDate",type:"Control",options:{control:"hub-field-input-date",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endDate.requiredError`},{type:"ERROR",keyword:"formatMinimum",icon:!0,labelKey:`${e}.fields.endDate.minDateError`}]}},{labelKey:`${e}.fields.endTime.label`,scope:"/properties/endTime",type:"Control",rule:{condition:{scope:"/properties/isAllDay",schema:{const:!1}},effect:l.SHOW},options:{control:"hub-field-input-time",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.endTime.requiredError`},{type:"ERROR",keyword:"formatExclusiveMinimum",icon:!0,labelKey:`${e}.fields.endTime.minTimeError`}]}},{labelKey:`${e}.fields.timeZone.label`,scope:"/properties/timeZone",type:"Control",options:{control:"hub-field-input-time-zone",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.timeZone.requiredError`}]}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{labelKey:`${e}.fields.attendanceType.label`,scope:"/properties/attendanceType",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.attendanceType.inPerson.label:translate}}`,`{{${e}.fields.attendanceType.online.label:translate}}`,`{{${e}.fields.attendanceType.both.label:translate}}`],layout:"horizontal"}},{scope:"/properties/location",type:"Control",labelKey:`${e}.fields.location.label`,rule:{condition:{scope:"/properties/attendanceType",schema:{const:"online"}},effect:l.HIDE},options:{control:"hub-field-input-location-picker",enableInvalidGeometryWarning:!0,extent:await s(i.location,o.hubRequestOptions),options:await p(i.id,i.type,i.location,o.portal.name,o.hubRequestOptions),locationNameRequired:!0,messages:[{type:"ERROR",keyword:"if",hidden:!0}],noticeTitleElementAriaLevel:3}},{type:"Section",labelKey:`${e}.sections.inPersonRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.inPersonRegistrationCapacity.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.inPersonCapacityType.label`,scope:"/properties/inPersonCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.InPerson,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.inPersonCapacityType.unlimited.label:translate}}`,`{{${e}.fields.inPersonCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.inPersonCapacity.label`,scope:"/properties/inPersonCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.InPerson,t.Both]},inPersonCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.inPersonCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.inPersonCapacity.minimumError`}]}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationDetails.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationDetails.helperText`}},rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineUrl.label`,scope:"/properties/onlineUrl",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-input",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineUrl.requiredError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"}]}},{labelKey:`${e}.fields.onlineDetails.label`,scope:"/properties/onlineDetails",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.onlineRegistrationCapacity.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.onlineRegistrationCapacity.helperText`}},rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]}}}},effect:l.SHOW},elements:[{labelKey:`${e}.fields.onlineCapacityType.label`,scope:"/properties/onlineCapacityType",type:"Control",rule:{condition:{scope:"/properties/attendanceType",schema:{enum:[t.Online,t.Both]}},effect:l.SHOW},options:{control:"hub-field-input-tile-select",enum:{i18nScope:`${e}.fields.onlineCapacityType`},labels:[`{{${e}.fields.onlineCapacityType.unlimited.label:translate}}`,`{{${e}.fields.onlineCapacityType.fixed.label:translate}}`],layout:"horizontal"}},{labelKey:`${e}.fields.onlineCapacity.label`,scope:"/properties/onlineCapacity",type:"Control",rule:{condition:{schema:{properties:{attendanceType:{enum:[t.Online,t.Both]},onlineCapacityType:{const:r.Fixed}}}},effect:l.SHOW},options:{control:"hub-field-input-input",type:"number",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.onlineCapacity.requiredError`},{type:"ERROR",keyword:"minimum",icon:!0,labelKey:`${e}.fields.onlineCapacity.minimumError`}]}}]}]}]});export{T 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{g as N}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{g as N}from"./UQ2LJHER.js";async function h(a,g,i){let e=g?.layer;if(!a)return e?.effect?e.effect:e?.featureEffect?i==="includedEffect"?e.featureEffect.includedEffect:e.featureEffect.excludedEffect:null;let u=await N(),d=new u({includedEffect:a}).toJSON().includedEffect,r=d,p=e.effect,y=e.featureEffect,l=null;y?l=i==="includedEffect"?e.featureEffect?.includedEffect:e.featureEffect?.excludedEffect:l=p;let s=l?d:null;if(!s)return u.fromJSON({includedEffect:d}).includedEffect;let f=[...s];return r&&r.forEach(c=>{f.forEach(t=>{let{value:o}=t;if(o)o.forEach((E,S)=>{E.type===c.type?o[S]=c:!t.value.find(J=>J.type===r[0].type)&&(t.value=[...t.value,...r])});else{let E=!f.find(n=>n.type===t.type);!f.find(n=>n.type===c.type)&&(f=[...f,c]),E&&(f=[...f,t])}})}),u.fromJSON({includedEffect:f}).includedEffect}export{h 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{b as y,e as g,k as h}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{b as y,e as g,k as h}from"./6ZRKBOXK.js";import{b as s,c as f}from"./MANSOOOS.js";import{a as i}from"./5IVJBGE4.js";import{b as c}from"./J44ASWJ4.js";import{b as m,e as p,f as a,g as d,k as l}from"./LUGKZDYN.js";function M(e,t){return f(y(e),t,4)}function U(e,t){let r=e.filter(o=>!o.startsWith(`${s}|`));return r.push([s,t].join("|")),r}async function b(e,t){if(!e.slug)return[];let o={filter:`typekeywords:"${e.slug.startsWith(`${s}|`)?e.slug:[s,e.slug].join("|")}"`};t.authentication?o.authentication=t.authentication:t.portal&&(o.portal=t.portal),e.exclude&&(o.q=`NOT id:${e.exclude}`);try{return(await l(o)).results}catch(n){throw n}}function w(e,t,r=0){let o=r?[e.slug,r].join("-"):e.slug;return b({slug:o,exclude:e.existingId},t).then(n=>n.length?w(e,t,r+1):o).catch(n=>{throw Error(`Error in getUniqueSlug ${n}`)})}function u(e){return e.params=Object.assign(Object.assign({},e.params),j(e.item)),e}function j(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 p(u(e[0]))}function K(...e){return m(u(e[0]))}var S={location:"location.json"};function z(){let e=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant"],r=Object.keys(S),o=[];return e.forEach(n=>{o.push({entityKey:n,storeKey:`item.${n}`})}),t.forEach(n=>{o.push({entityKey:n,storeKey:`data.${n}`})}),r.forEach(n=>{o.push({entityKey:n,storeKey:`resources.${n}`})}),o.push({entityKey:"slug",storeKey:"item.properties.slug"}),o.push({entityKey:"summary",storeKey:"item.snippet"}),o.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),o.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),o.push({entityKey:"name",storeKey:"item.title"}),o.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),o.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),o.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),o}function J(e,t){return t.createdDate=new Date(e.created),t.createdDateSource="item.created",t.updatedDate=new Date(e.modified),t.updatedDateSource="item.modified",t.location=t.location||g(e),t.isDiscussable=h(e),t}function I(e,t){return Promise.all([a(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function O(e,t){let r=i(e.item);r.data=i(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let o=await x(Object.assign({item:r},t));return I(o.id,t)}function Q(e,t){let r=i(e.item);r.data=i(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),E(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let o=Object.assign({item:r},t);return K(o).then(()=>r.data?I(r.id,t):a(r.id,t).then(n=>({item:n})))}function E(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{M as a,U as b,w as c,z as d,J as e,I as f,O as g,Q as h};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{a as e,b as t}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as e,b as t}from"./RY2PW6Q6.js";var n={if:{properties:{isAllDay:{const:!1}}},then:{required:["startTime","endTime"],properties:{endTime:{format:"timePickerTime",formatExclusiveMinimum:{$data:"1/startTime"}}}}},r={if:{properties:{attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineUrl"],properties:{onlineUrl:{format:"url"}}}},o={if:{properties:{onlineCapacityType:{const:t.Fixed},attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineCapacity"],properties:{onlineCapacity:{minimum:1}}}},p={if:{properties:{inPersonCapacityType:{const:t.Fixed},attendanceType:{enum:[e.InPerson,e.Both]}}},then:{required:["inPersonCapacity"],properties:{inPersonCapacity:{minimum:1}}}};export{n as a,r as b,o as c,p as d};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as o}from"./YGVTWTVP.js";import{a as r}from"./S2PDOHOK.js";import"./Z4G45C2O.js";import"./7XJJ6UNT.js";import"./JYDPZBDX.js";import{a as s}from"./QKUPYWE6.js";import"./TUFSJ5ED.js";import"./KWE6JXSH.js";import"./TSVG63JR.js";import"./VOBVDUMB.js";import"./Q3WXELPH.js";import"./NOADX75H.js";import"./VUTNTYC5.js";import"./RSXDYYA2.js";import"./N5QWENGQ.js";import"./WAUFDV6T.js";import"./WBO3TCWN.js";import"./6J3VKLVD.js";import"./GP52ZICE.js";import"./RY2PW6Q6.js";import"./3SEFRTZS.js";import"./7XDT73TY.js";import"./MEX4YKRX.js";import"./DAHQXZ7C.js";import"./4VPENS73.js";import"./YWMWF52K.js";import"./25INXMQ7.js";import"./DLLA4WWL.js";import"./RLI3W2QT.js";var p=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.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:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:s.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createAssociation.any:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!r("platform:portal:user:addExternalMembersToGroup",t).access]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createAssociation.admins:translate}}`]}}]}]}]}),c=async(e,l,t)=>Object.assign({},o("hubAssociationsGroup",t));export{c as buildDefaults,p 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{a as I}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as I}from"./6Z4UGB7L.js";import"./TLEVVT7A.js";import{d as C}from"./JGCUTWDH.js";import{a as s}from"./RYIFJU2L.js";import"./JHPW6QLA.js";import{a as h,b as r}from"./RPUUF7I5.js";import{a as x}from"./MBMIPTOA.js";import{D as $,E as m,F as v,I as L,c as g,d as l,g as w,o as b,q as y}from"./EZV7ZQF6.js";import"./RLI3W2QT.js";var F=g`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import d from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import d from"./HHFI6AJ6.js";import{a as U,c as P}from"./4BKW6WVP.js";import{b as T,n as x,o as b}from"./ZKPAIAU6.js";import"./KHJP4IY5.js";import"./5IVJBGE4.js";import"./LUGKZDYN.js";import"./HXKTFHQR.js";import"./JYDPZBDX.js";import{j as w,k as y,l as a,m as c,n as I,o as u,p as A}from"./RYIFJU2L.js";import{a as v}from"./MBMIPTOA.js";import{C as h,D as C,G as S,I as f,c as m,d as n,e as p,o as _}from"./EZV7ZQF6.js";import"./RLI3W2QT.js";export default $arcgis.t(([{a:O,b:d,c:E}])=>{var F=m`/** @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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{a as o}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as o}from"./4TQV7BER.js";import"./7XJJ6UNT.js";import{a as n}from"./P6VZV53I.js";import{a as s}from"./B3IN3DJY.js";import"./LUGKZDYN.js";import"./HXKTFHQR.js";import"./HHWQZE3T.js";import"./JYDPZBDX.js";import{a}from"./QKUPYWE6.js";import"./TUFSJ5ED.js";import"./KWE6JXSH.js";import"./TSVG63JR.js";import"./VOBVDUMB.js";import"./Q3WXELPH.js";import"./NOADX75H.js";import"./VUTNTYC5.js";import"./RSXDYYA2.js";import"./N5QWENGQ.js";import"./WAUFDV6T.js";import"./WBO3TCWN.js";import"./6J3VKLVD.js";import"./GP52ZICE.js";import"./RY2PW6Q6.js";import"./3SEFRTZS.js";import"./7XDT73TY.js";import"./MEX4YKRX.js";import"./DAHQXZ7C.js";import"./4VPENS73.js";import"./YWMWF52K.js";import"./25INXMQ7.js";import"./DLLA4WWL.js";import"./RLI3W2QT.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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{e as o}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{e as o}from"./LHCD675Z.js";import"./UQ2LJHER.js";import"./D3BZ4JKK.js";import{a as i,c as e,e as a,f as c}from"./TLEVVT7A.js";import"./RLI3W2QT.js";function h(t){window?.localStorage.setItem(t,"false")}function l(t){return!!window?.localStorage?.getItem(t)}function d(t){window?.localStorage?.removeItem(t)}var p=":host{--instant-apps-splash-content-max-height:100%;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:flex;align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom:0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}",u=p,g={back:"instant-apps-splash__back-content",content:"instant-apps-splash__content"},b=class{constructor(t){i(this,t),this.splashClose=c(this,"splashClose",7),this._sanitizer=null,this.localStorageKey=void 0,this.titleText="",this.content="",this.primaryButtonText="",this.open=!0,this.closeButtonDisabled=!1,this.outsideCloseDisabled=!1,this.secondaryButton=!1,this.secondaryButtonText=void 0,this.secondaryButtonIcon=void 0,this.secondaryButtonCallback=void 0,this.messages=void 0}sanitizeContent(){}componentWillLoad(){let t,{localStorageKey:s}=this;s?t=this.open&&!l(this.localStorageKey):t=this.open,this.el.open=t,this.content&&this._sanitizer&&this.sanitizeContent()}componentDidLoad(){o(this)}render(){return e("calcite-dialog",{key:"bab56b60ce5cd05e63a285073240339cc6245a42",ref:t=>{t&&(t.focusTrapOptions={allowOutsideClick:!0},t.open=this.open)},modal:!0,heading:this.titleText,"aria-describedby":"description",onCalciteDialogClose:this.close.bind(this),closeDisabled:this.closeButtonDisabled,outsideCloseDisabled:this.outsideCloseDisabled},e("div",{key:"42811bb7fb0b369e5c29e0ed75122e9c7ca59362",id:"description",innerHTML:this.content}),e("slot",{key:"51244921b37c362cb40f2e7bfa97dad8e06cea13",name:"custom-action"}),this.localStorageKey?this.renderDontShowThisAgainCheckbox():null,this.secondaryButton?this.renderSecondaryButton():null,this.renderPrimaryButton())}renderDontShowThisAgainCheckbox(){let{localStorageKey:t,messages:s}=this,n=l(t)?!0:null;return e("div",{class:g.back,slot:"footer-start"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{onCalciteCheckboxChange:this.handleDontShowThisAgain.bind(this),checked:n??void 0}),s?.dontShowThisAgain))}renderPrimaryButton(){let{primaryButtonText:t}=this;return e("calcite-button",{onClick:this.close.bind(this),slot:"footer-end"},t||"Enter")}renderSecondaryButton(){return e("calcite-button",{onClick:this.secondaryButtonCallback?.bind(this),slot:"footer-end","icon-start":this.secondaryButtonIcon,appearance:"outline"},this.secondaryButtonText)}close(){this.open=!1,this.splashClose.emit()}handleDontShowThisAgain(t){let{localStorageKey:s}=this;if(!s)return;let n=t.target,{checked:r}=n;r?h(s):d(s)}get el(){return a(this)}static get watchers(){return{content:["sanitizeContent"]}}};b.style=u;export{b as instant_apps_splash};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as r}from"./MBMIPTOA.js";import{D as n,I as o,c as i,d as t,q as s}from"./EZV7ZQF6.js";import"./RLI3W2QT.js";var a=i`@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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{a as n}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as n}from"./57ANO2DW.js";import{a as s}from"./I72S2GNB.js";import"./HFXUVSOV.js";import"./WF5UX25P.js";import"./5IVJBGE4.js";import"./4E5A4WPJ.js";import{a as r,b as a}from"./O2V3QWTR.js";import"./VDQJCQFK.js";import"./J44ASWJ4.js";import{a as o}from"./P6VZV53I.js";import{a as i}from"./B3IN3DJY.js";import"./LUGKZDYN.js";import"./HXKTFHQR.js";import"./HHWQZE3T.js";import"./JYDPZBDX.js";import"./QKUPYWE6.js";import"./TUFSJ5ED.js";import"./KWE6JXSH.js";import"./TSVG63JR.js";import"./VOBVDUMB.js";import"./Q3WXELPH.js";import"./NOADX75H.js";import"./VUTNTYC5.js";import"./RSXDYYA2.js";import"./N5QWENGQ.js";import"./WAUFDV6T.js";import"./WBO3TCWN.js";import"./6J3VKLVD.js";import"./GP52ZICE.js";import"./RY2PW6Q6.js";import"./3SEFRTZS.js";import"./7XDT73TY.js";import"./MEX4YKRX.js";import"./DAHQXZ7C.js";import"./4VPENS73.js";import"./YWMWF52K.js";import"./25INXMQ7.js";import"./DLLA4WWL.js";import"./RLI3W2QT.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.siteEntityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...s(e,l.thumbnail,l.thumbnailUrl,"site",t.requestOptions),...t.isPortal?[n(e)]:[],{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(l.location,t.hubRequestOptions),options:await a(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{d as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{a as m}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as m}from"./LUGKZDYN.js";function p(r){if(typeof r=="string")return r.replace(/\/sharing\/rest\/?$/,"");if(typeof r=="object"){let t=r.portalSelf||r,{portalHostname:e,urlKey:s,customBaseUrl:n}=t;if(e||s&&n)return t.isPortal?`https://${t.portalHostname}`:`https://${t.urlKey}.${t.customBaseUrl}`}return p(m(r))}function U(r,o){return`${p(o)}/home/item.html?id=${r}`}function h(r,o){let t=p(o),e;/(devext|mapsdevext)\.arcgis\.com/.test(t)?e="https://hubdevcdn.arcgis.com/opendata-ui/assets":/(qaext|mapsqa)\.arcgis\.com/.test(t)?e="https://hubqacdn.arcgis.com/opendata-ui/assets":/(www|maps)\.arcgis\.com/.test(t)?e="https://hubcdn.arcgis.com/opendata-ui/assets":e=`${t}/apps/sites`;let s=r.startsWith("/")?"":"/";return[e,r].join(s)}function S(r){let{host:o,path:t,query:e}=r,s=o.endsWith("/")?o:`${o}/`,n=new URL(t,s);return n.search=l(e),n.toString()}function l(r={}){let o=Object.keys(r).filter(t=>r[t]!==void 0).reduce((t,e)=>(t[e]=r[e],t),{});return new URLSearchParams(o).toString()}function i(r){return`${p(r)}/sharing/rest`}var A=(r,o,t)=>{let{id:e,access:s}=r,n=`${i(o)}/content/items/${e}`,a=new URLSearchParams({f:"json"});return s!=="public"&&t&&a.append("token",t),`${n}?${a.toString()}`};var f=/\/(map|feature)server/i,E=r=>f.test(r);export{S as a,p as b,i as c,U as d,A as e,h as f,E as g};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{a as d}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as d}from"./OVEB2NLB.js";import{a as u,b as t,c as h}from"./5Y2BA7TP.js";import"./7XJJ6UNT.js";import{a as w}from"./JYDPZBDX.js";import"./RLI3W2QT.js";var f=e=>new Promise(o=>setTimeout(o,e));async function G(e){m(e);let o=P(e),{pollInterval:r,updateCache:n,progressCallback:s}=e,a;return n&&(a="updateCache"),E(o,r,a,s)}function m(e){let{layers:o=[]}=e;if(o.length===0)throw new d("fetchHubApiDownloadFileUrl","No layers provided for download");if(o.length>1)throw new d("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function P(e){let{entity:o,format:r,context:n,layers:s,geometry:a,where:c}=e,i=new URLSearchParams({redirect:"false",layers:s[0].toString()});if(a){let l=a.toJSON();l.type=a.type,i.append("geometry",JSON.stringify(l))}[u.GEOJSON,u.KML].includes(r)&&i.append("spatialRefId","4326"),c&&i.append("where",c);let p=w(n,"hubRequestOptions.authentication.token");return p&&i.append("token",p),`${n.hubUrl}/api/download/v1/items/${o.id}/${r}?${i.toString()}`}async function E(e,o,r,n){let s=e;r&&(s=`${e}&${r}=true`);let a=await fetch(s);if(!a.ok){let g=await a.json();throw new h({rawMessage:g.message})}let{status:c,progressInPercent:i,resultUrl:p,cacheStatus:l}=await a.json(),S=C(c);if(S===t.FAILED)throw new d("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:l}:(n&&n(S,i),await f(o),E(e,o,"trackCacheUpdate",n))}function C(e){let o={Pending:t.PENDING,InProgress:t.PROCESSING,ExportingData:t.PROCESSING,ExportAttachments:t.PROCESSING,Completed:t.COMPLETED,CompletedWithErrors:t.FAILED,Failed:t.FAILED,ProvisioningReplica:t.PROCESSING,ImportChanges:t.PROCESSING,ExportChanges:t.PROCESSING,ExportingSnapshot:t.PROCESSING,ImportAttachments:t.PROCESSING,UnRegisteringReplica:t.PROCESSING},r={Pending:t.PENDING,InProgress:t.PROCESSING,PagingData:t.PROCESSING,ConvertingData:t.CONVERTING,Failed:t.FAILED,Completed:t.COMPLETED};return o[e]||r[e]}export{G as fetchHubApiDownloadFile};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{d as b,e as I,k as E,l as w,w as k}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{d as b,e as I,k as E,l as w,w as k}from"./ZKPAIAU6.js";import{e as P}from"./HXKTFHQR.js";import{n as A}from"./RYIFJU2L.js";export default $arcgis.t(([])=>{function M(s,r){let e=[];return s.forEach(t=>{r.has(t.id)&&e.push(t)}),e}function u(s,r,e){if(r<1||s.length<r)return{cards:[],paging:{start:r,num:0,nextStart:-1,total:s.length}};let t=Math.min(r+e,s.length+1),a=t<s.length?t:-1;return{cards:s.slice(r-1,t-1),paging:{start:r,num:t-r,nextStart:a,total:s.length}}}function N(s,r){let e=L(s);return T(e,r)}function T(s,r){let e=[];return r.forEach(t=>{let a=x(t);a&&s.indexOf(a)>=0&&t.relatedSolutions&&(e=e.concat(t.relatedSolutions))}),new Set(e)}function x(s){let r="solutionid-",e=s.typeKeywords.filter(a=>a.startsWith(r)),t=null;return Array.isArray(e)&&e.length>0&&(t=e[0].substring(r.length)),t}function L(s){let r=[];return s.forEach(e=>{let t=x(e);t&&r.push(t)}),r=Array.from(new Set(r)),r}function y(s,r,e){let t,a=e==="asc"?1:-1;switch(r){case"created":t=(o,i)=>a*(o.createdMs<i.createdMs?-1:o.createdMs>i.createdMs?1:0);break;case"numviews":t=(o,i)=>a*(o.numViews<i.numViews?-1:o.numViews>i.numViews?1:0);break;case"title":t=(o,i)=>a*(o.title.toLowerCase()<i.title.toLowerCase()?-1:o.title.toLowerCase()>i.title.toLowerCase()?1:0);break;default:t=()=>0;break}return s.sort(t),s}function Y(s){return s?k(s,{}).then(r=>Promise.resolve(!!r)):Promise.resolve(!1)}function j(s){if(s){let r=s.trim();return r?"<div>"+r+"</div>":""}else return""}function K(s){let r="",e="?";return s.forEach(t=>{t.k&&t.v&&(r+=e+t.k+"="+t.v,e="&")}),r}function G(s,r,e,t){let a="";return r?a=t+"/sharing/rest/content/items/"+s+"/info/"+r+K([{k:"w",v:"400"}]):a=e,a}function V(s,r="en"){return new Intl.DateTimeFormat(r,{year:"numeric",month:"long",day:"numeric"}).format(s)}function D(s,r){let e="";return s.some(t=>t.startsWith(r)?(e=t.substring(r.length),!0):!1),e}var R=class{constructor(r,e,t){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=r,this.orgUrl=e,this.portalUrl=t,this.anonAgolSession=new P({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(r){this.cardCache.push(r)}getCache(){return this.cardCache}removeFromCache(r){this.cardCache=this.cardCache.filter(e=>e.id!==r)}requestAvailableSolutionCards(r,e,t,a,o,i){let l=o?.start?o.start:1,h=o?.num?o.num:24,g=this.portalUrl+"/sharing/rest",m=this.agolPortalUrl+"/sharing/rest",B=this.anonAgolSession,S=JSON.stringify(r.categories);if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==S||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:S,sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=y(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let c;if(i&&i.size>0){let n=M(this.cardCache,i);c=u(n,l,h)}else c=u(this.cardCache,l,h);return Promise.resolve(c)}let U={filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,categories:r?.categories?this.convertSearchCategories(r.categories):""},p=[];if(e){let c=a||new P({});p.push(w(e,r.q,c,U,g))}return t&&p.push(w(t,r.q,B,U,m)),Promise.allSettled(p).then(c=>{let n=[];c.forEach((d,J)=>{let O=!!e&&J===0;if(d.status==="fulfilled"){let F=d.value,f="",v=!1;O?f=this.portalUrl:(f=this.agolPortalUrl,v=!0),F.results.forEach(q=>{q.sourcePortalUrl=f,q.knownToBePublicSource=v}),n.push(F)}else if(d.status==="rejected")throw new Error(O?d.reason.message:"enterpriseCannotAccessAGO")}),n.length===0?this.cardCache=[]:n.length===1?this.cardCache=this.getCardsFromResponse(n[0]):this.cardCache=y(this.getCardsFromResponse(this.mergeResponses(n)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let C;if(i&&i.size>0){let d=M(this.cardCache,i);C=u(d,l,h)}else C=u(this.cardCache,l,h);return Promise.resolve(C)}).catch(c=>Promise.reject(new Error(c.message)))}requestDeployedSolutionCards(r,e){let t=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==r.q||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:"[]",sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=y(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}let a={q:r.q,filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,authentication:e,portal:t,categories:r?.categories?JSON.stringify(r.categories):""};return E(a).then(o=>{this.cardCache=this.getCardsFromResponse(o);let i=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(o=>Promise.reject(new Error(o)))}convertSearchCategories(r){return r&&(Array.isArray(r)?r=r.map(e=>JSON.stringify(Array.isArray(e)?e:[e])):r=JSON.stringify([r])),r}getCardsFromResponse(r){return r.results.length>0?b(r.results).map(e=>{let t={id:e.id,title:e.title,snippet:e.snippet||"",description:e.description||"",url:e.url||"",itemUrl:this.orgUrl+"/home/item.html"+K([{k:"id",v:e.id}])||"",thumbnailFilename:e.thumbnail,thumbnailUrl:G(e.id,e.thumbnail,this.cMissingImageDataURI,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),tryitUrl:e.url||"",typeKeywords:e.typeKeywords,learnMoreUrl:e.properties?.learnMoreUrl||"",createdMs:e.created,created:V(e.created,this.locale),modified:V(e.modified,this.locale),numViews:e.numViews,tags:e.tags,categories:e.groupCategories&&e.groupCategories.length>0?e.groupCategories:e.categories||[],licenseInfo:j(e.licenseInfo),deployCommonId:D(e.typeKeywords||[],"solutionid-"),deployVersion:D(e.typeKeywords||[],"solutionversion-"),canDelete:e.created>16183314e5,canDeploy:(e.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(e.id,e.properties?.preview,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),sourcePortalUrl:e.sourcePortalUrl||"",knownToBePublicSource:e.knownToBePublicSource||!1,waitId:"",relatedSolutions:I(e,"properties.relatedSolutions")||[],owner:e.owner};return t.deployCommonId!==""&&t.deployVersion!==""?t:null}).filter(e=>e!=null):[]}mergeResponses(r){let e=0;r.forEach(a=>e+=a.total);let t=[];return r.forEach(a=>t=t.concat(a.results)),{query:r[0].query,start:1,num:e,nextStart:-1,total:e,results:t}}preparePreviewImageUrls(r,e,t){return e?e.map(a=>(a.format==="image"&&(a.name=t+"/sharing/rest/content/items/"+r+"/resources/"+a.name),a)):[]}};async function Z(s,r,e,t,a=A,o="created",i="desc",l=!1,h=[],g=[]){if(!s?.SignedIn)return;let m={q:a,filter:"type:Solution",sortField:o,sortOrder:i,delay:l,categories:h};return m.q+=z(s),await W(r,m,t,g)}function z(s){let r="",e=s.PortalUserOrg,t=s.PortalUserName;return e&&(r+=" orgid:"+e),t&&(r+=" owner:"+t),r}async function W(s,r,e,t){let a=await e.requestDeployedSolutionCards(r,s),o=N(a.cards,t);return{cards:a.cards,relatedSolutions:o}}return{a:Y,b:R,c:Z}},"intl")
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
4
|
var c=["Application","City Engine Web Scene","CityEngine Web Scene","Dashboard","Insights Page","Insights Workbook","Operation View","Web Mapping Application","StoryMap","Web Experience","Urban Model"],s=["CSV Collection","CSV","Feature Collection Template","Feature Collection","Feature Layer","Feature Service","File Geodatabase","GeoJSON","GeoJson","KML Collection","KML","Microsoft Excel","Raster Layer","Shapefile","Stream Service","Table"],l=["CAD Drawing","Document Link","Hub Page","Site Page","Image","iWork Keynote","iWork Numbers","iWork Pages","Microsoft Powerpoint","Microsoft Visio","Microsoft Word","Notebook","PDF","Pro Map","Report Template"],p=["Hub Event"],g=["Form","Quick Capture Project"],d=["Hub Initiative"],u=["Solution"],S=["Hub Initiative Template"],k=["Image Collection","Image Service","Map Service Layer","Map Service","Scene Service","Scene Layer","Vector Tile Service","Web Map Service","Web Map Tile Service","Web Map","Web Scene","WFS","WMS","WMTS"],b=["360 VR Experience","3DTiles Package","3DTiles Service","API Key","Activity","Addin Package","Administrative Report","AllSource Project","Analysis Model","Apache Parquet","App Bundle","AppBuilder Extension","AppBuilder Widget Package","Application Configuration","Application SDK","ArcGIS Pro Add In","ArcGIS Pro Configuration","ArcPad Package","Arcade Module","Basemap Package","Big Data Analytic","Big Data File Share","Code Attachment","Code Sample","Color Set","Compact Tile Package","Content Category Set","Data Package Collection","Data Pipeline","Data Store","Deep Learning Package","Deep Learning Studio Project","Desktop Add In","Desktop Application","Desktop Application Template","Desktop Style","Earth Configuration","Esri Classification Schema","Esri Classifier Definition","Excalibur Imagery Project","Experience Builder Widget","Experience Builder Widget Package","Explorer Add In","Explorer Layer","Explorer Map","Export Package","Featured Items","Feed","GML","GeoBIM Application","GeoBIM Project","GeoPackage","Geocoding Service","Geodata Service","Geoenrichment Service","Geometry Service","Geoprocessing Package","Geoprocessing Sample","Geoprocessing Service","Globe Document","Globe Service","Group Layer","IPS Configuration","Indoors Map Configuration","Insights Data Engineering Model","Insights Data Engineering Workbook","Insights Model","Insights Script","Insights Theme","Insights Workbook Package","Kernel Gateway Connection","Knowledge Graph","Knowledge Graph Layer","Knowledge Graph Web Investigation","Knowledge Studio Project","Layer","Layer File","Layer Package","Layer Template","Layout","Legend","Living Atlas Export Package","Locator Package","Map Area","Map Document","Map Package","Map Service Definition","Map Template","Media Layer","Mission","Mission Report","Mission Template","Mobile Application","Mobile Basemap Package","Mobile Map Package","Mobile Scene Package","Native Application","Native Application Installer","Native Application Template","Network Analysis Service","Notebook Code Snippet Library","Notebook Code Snippets","OGCFeatureServer","Operations Dashboard Add In","Operations Dashboard Extension","Oriented Imagery Catalog","Ortho Mapping Project","Ortho Mapping Template","Pro Presentation","Pro Project","Pro Report","Pro Report Template","Project Package","Project Template","Published Map","QuickCapture Project","Raster Function Template","Real Time Analytic","Reality Mapping Project","Reality Studio Project","Relational Database Connection","Replication Package","Rule Package","SMX Item","SMX Map","SMX Theme","SQLite Geodatabase","Scene Document","Scene Package","Scene Package Part","Server","Service Definition","Statistical Data Collection","StoryMap Theme","Style","Suitability Model","Survey123 Add In","Symbol Service","Symbol Set","Task File","Tile Package","Urban Project","User License Type Extension","Vector Tile Package","Video Service","Viewer Configuration","Visio Document","WCS","Web AppBuilder Widget","Web Experience Template","Web Link Chart","Windows Mobile Package","Windows Viewer Add In","Workflow","Workflow Manager Package","Workflow Manager Service","Workforce Project","netCDF"],m=["Hub Site Application","Site Application"],r=a=>{if(!a)return;let e=a.toLocaleLowerCase();return Object.keys(i).find(t=>i[t].some(n=>n.toLocaleLowerCase()===e))},o=a=>{if(!a)return;let e=a.toLocaleLowerCase();return i[e]},i={app:c,dataset:s,document:l,event:p,feedback:g,initiative:d,template:S,solution:u,map:k,other:b,site:m};function P(a){return{other:"content",solution:"template"}[a]||a}function y(a){let e;switch(a.toLowerCase()){case"image service":e="dataset";break;case"feature service":case"raster layer":e="map";break;case"microsoft excel":e="document";break;case"cad drawing":case"feature collection template":case"report template":e="content";break;case"hub project":e="project";break;case"discussion":e="discussion";break;case"event":e="event";break;case"hub initiative":e="initiative";break;case"organization":e="organization";break;default:e=P(r(a))}return e}function A(a){let e;switch(a.toLowerCase()){case"content":e=o("other"),e=e.concat(["CAD Drawing","Feature Collection Template","Report Template"]);break;case"template":e=[...o("template"),...o("solution")];break;case"dataset":e=o(a.toLowerCase()).filter(t=>t!=="Feature Collection Template"&&t!=="Raster Layer"&&t!=="Microsoft Excel"),e=e.concat("Image Service");break;case"map":e=o(a.toLowerCase()).filter(t=>t!=="Image Service"),e=e.concat(["Raster Layer"]);break;case"document":e=o(a.toLowerCase()).filter(t=>t!=="CAD Drawing"&&t!=="Report Template"),e=e.concat("Microsoft Excel");break;case"project":e=["Hub Project"];break;case"discussion":e=["Discussion"];break;case"initiative":e=["Hub Initiative"];break;default:e=o(a.toLowerCase())}return e}export{y as a,A 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{e as o}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{e as o}from"./LHCD675Z.js";import"./UQ2LJHER.js";import"./D3BZ4JKK.js";import{a as l,c as i,d,e as h}from"./TLEVVT7A.js";import"./RLI3W2QT.js";var c=class{constructor(){this.pages=[],this.headerText="",this.pages=[]}setPages(t){this.pages=t,this.setDefaultHeaderText()}setDefaultHeaderText(){this.headerText=this.pages.length?this.pages[0].title:""}},u=":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}",_=u,p={contentList:"instant-apps-app-guide__content-list",contentListItem:"instant-apps-app-guide__content-list--item",contentWrapper:"instant-apps-app-guide__content-wrapper"},m=class{constructor(e){l(this,e),this._viewModel=new c,this.header=!0,this.data=void 0,this.messages=void 0,this.headerText=void 0}watchPropHandler(e){this._setContent(e)}watchStateHandler(e){this._viewModel.headerText=e}componentWillLoad(){this._setContent(this?.data)}componentDidLoad(){o(this)}render(){let e=this._renderAppGuidePages(this._viewModel.pages),t=this._renderAppGuideHeader();return i(d,{key:"17ec07719a7ea4692912d8c5e51a0ccfcf4fe448"},i("calcite-panel",{key:"fc659c5fcd7ee8370d79e8c6506cc6f55e784e74",scale:"s"},t,i("calcite-carousel",{key:"aa9b07f8ada18253b1a0fb0bfe228e04c81c6021",label:"App Guide",onCalciteCarouselChange:()=>this._updateHeaderText(),ref:a=>this._carouselRef=a,"arrow-type":this._getArrowType()},e)))}_setContent(e){this._viewModel.setPages(e),this.headerText=this._viewModel.headerText}_updateHeaderText(){let{_viewModel:e,_carouselRef:t,messages:a}=this;if(!(e&&t))return;let n=Array.from(t.childNodes).indexOf(t.selectedItem),r=e?.pages,g=r?.[n]??r[0];this.headerText=g?.title||a?.headerText}_getArrowType(){return this._viewModel.pages.length>2?"inline":"none"}_renderAppGuideHeader(){let{messages:e,header:t,headerText:a}=this,s=!!t&&e?.headerText,n=a||e?.headerText;return s?i("span",{slot:"header-content"},n," ",i("calcite-icon",{icon:"lightbulb",scale:"s"})):null}_renderAppGuidePages(e){return e.map((t,a)=>{let{content:s,type:n,title:r}=t;return i("calcite-carousel-item",{label:r,key:`page_${a}`},i("div",{class:p.contentWrapper},this._renderContentItems(s,n)))})}_renderContentItems(e,t){switch(t){case"list":return i("ol",{class:p.contentList},e.map((a,s)=>i("li",{key:`content-list-item-${s}`,class:p.contentListItem},a)));case"paragraphs":default:return e.map((a,s)=>i("p",{key:`content-paragraph-${s}`},a))}}get el(){return h(this)}static get watchers(){return{data:["watchPropHandler"],headerText:["watchStateHandler"]}}};m.style=_;export{m as instant_apps_app_guide};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{a as g}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as g}from"./MBMIPTOA.js";import{D as u,G as s,I as p,c as l,d as c,q as h}from"./EZV7ZQF6.js";import"./RLI3W2QT.js";var b=l`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{a as y}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{a as y}from"./SXAXFCDU.js";import"./NWMAPEZO.js";import{a as w,b as f,d as v}from"./JGCUTWDH.js";import"./RYIFJU2L.js";import"./JHPW6QLA.js";import{a as d,b as c}from"./RPUUF7I5.js";import{a as L}from"./MBMIPTOA.js";import{D as g,E as p,F as n,I as u,c as b,d as i,g as l,o as r,q as _}from"./EZV7ZQF6.js";import"./RLI3W2QT.js";var I=b`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import{c as l}from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import{c as l}from"./JGCUTWDH.js";import"./RYIFJU2L.js";import"./JHPW6QLA.js";import{b as n}from"./AWWZW7JA.js";import{D as c,I as h,c as o,o as s,q as r}from"./EZV7ZQF6.js";import"./RLI3W2QT.js";var d=o`@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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import"./RLI3W2QT.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,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
4
|
var o={user:"user",group:"group",groupAdmin:"group-admin",org:"org",orgAdmin:"org-admin",authenticated:"authenticated",anonymous:"anonymous",owner:"owner"};export{o as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
4
|
function L(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]]);return t}function C(r){return Object.keys(r).some(e=>{let t=r[e];if(!t)return!1;switch(t&&t.toParam&&(t=t.toParam()),t.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function N(r){let e={};return Object.keys(r).forEach(t=>{var n,o;let s=r[t];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,a;switch(i){case"Array":let u=(o=(n=s[0])===null||n===void 0?void 0:n.constructor)===null||o===void 0?void 0:o.name;a=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":a=JSON.stringify(s);break;case"Date":a=s.valueOf();break;case"Function":a=null;break;case"Boolean":a=s+"";break;default:a=s;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(e[t]=a)}),e}function J(r,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(t=>J(r,t)).join("&"):encodeURIComponent(r)+"="+encodeURIComponent(e)}function O(r){let e=N(r);return Object.keys(e).map(t=>J(t,e[t])).join("&")}var K=globalThis.FormData,me=globalThis.File,ge=globalThis.Blob;function W(r,e){let t=C(r)||e,n=N(r);if(t){let o=new K;return Object.keys(n).forEach(s=>{if(typeof Blob<"u"&&n[s]instanceof Blob){let i=n.fileName||n[s].name||s;o.append(s,n[s],i)}else o.append(s,n[s])}),o}else return O(r)}var b=class extends Error{constructor(e,t,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",t=t||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=t==="UNKNOWN_ERROR_CODE"?e:`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};function V(r){console&&console.warn&&console.warn.apply(console,[r])}function Q(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}var q="@esri/arcgis-rest-js";function ie(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var R=class extends b{constructor(e="AUTHENTICATION_ERROR",t="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,t,n,o,s),this.name="ArcGISAuthError",this.message=t==="AUTHENTICATION_ERROR_CODE"?e:`${t}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,t=1){let n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(a=>{let u=Object.assign(Object.assign({},this.options),{authentication:a});return X(this.url,u)}).then(a=>{s(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<t?o(s,i):a.name===this.name&&a.message===this.message&&n>=t?i(this):i(a)})};return new Promise((s,i)=>{o(s,i)})}};function ae(r,e,t,n,o){if(r.code>=400){let{message:s,code:i}=r;throw new b(s,i,r,e,n)}if(r.error){let{message:s,code:i,messageCode:a}=r.error,u=a||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new R(s,u,r,e,n):new b(s,u,r,e,n)}if(r.status==="failed"||r.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(r.statusMessage).message,i=JSON.parse(r.statusMessage).code}catch{s=r.statusMessage||r.message}throw new b(s,i,r,e,n)}return r}function X(r,e){let t=ie(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},t),e),{params:Object.assign(Object.assign({},t.params),e.params),headers:Object.assign(Object.assign({},t.headers),e.headers)}),{httpMethod:o,rawResponse:s}=n,i=Object.assign({f:"json"},n.params),a=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let g;if(typeof n.authentication=="string"){let c=n.authentication;g={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(c)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AATK")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(V("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else g=n.authentication;let d=r;return(g?g.getToken(r).catch(c=>(c.url=r,c.options=n,a=c,Promise.resolve(""))):Promise.resolve("")).then(c=>{c.length&&(i.token=c),g&&g.getDomainCredentials&&(u.credentials=g.getDomainCredentials(r));let h={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(h["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let f=O(i)===""?r:r+"?"+O(i);n.maxUrlLength&&f.length>n.maxUrlLength||!n.maxUrlLength&&f.length>2e3||i.token&&n.hideToken?(u.method="POST",c.length&&n.hideToken&&(i.token=c,delete h["X-Esri-Authorization"])):r=f}let E=new RegExp("/items/.+/updateResources").test(r);return u.method==="POST"&&(u.body=W(i,E)),u.headers=Object.assign(Object.assign({},h),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=q),!C(i)&&!E&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(r,u):Q().then(({fetch:l})=>l(r,u))}).then(c=>{if(!c.ok)return c.json().then(h=>{let{status:E,statusText:l}=c,{message:f,details:T}=h.error,w=`${f}. ${T?T.join(" "):""}`.trim();throw new b(w,`HTTP ${E} ${l}`,h,r,n)}).catch(h=>{if(h.name==="ArcGISRequestError")throw h;let{status:E,statusText:l}=c;throw new b(l,`HTTP ${E}`,c,r,n)});if(s)return c;switch(i.f){case"json":return c.json();case"geojson":return c.json();case"html":return c.text();case"text":return c.text();default:return c.blob()}}).then(c=>{if((i.f==="json"||i.f==="geojson")&&!s){let h=ae(c,d,i,n,a);if(a){let E=r.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[E]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return h}else return c})}function p(r,e={params:{f:"json"}}){let{request:t}=e,n=L(e,["request"]);return t?t(r,n):X(r,n).catch(o=>o instanceof R&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function ce(r){let[e,t]=r.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function Y(r){return!r||r.length<=0?{}:r.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:n,value:o}=ce(t);return e[n]=o,e},{})}var B=5*60*1e3;function v(r,e){let t=e;return t.rawResponse=!1,p(r,t).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:e.params.username,expires:new Date(n.expires)};let o={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-B),ssl:n.ssl===!0};return n.refresh_token&&(o.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(o.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-B)),o})}function m(r){return typeof r!="string"||(r=r.trim(),r[r.length-1]==="/"&&(r=r.slice(0,-1))),r}var F=/^https?:\/\/(\S+)\.arcgis\.com.+/;function Z(r){return F.test(r)}function ue(r){if(!F.test(r))return r;switch(G(r)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function G(r){if(!F.test(r))return null;let t=r.match(F)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function ee(r,e){let t=m(ue(e)).replace(/https?:\/\//,""),n=m(r).replace(/https?:\/\//,"");return new RegExp(n,"i").test(t)}function te(r,e){let t=Z(r),n=Z(e),o=G(r),s=G(e);return!!(t&&n&&o===s)}function re(r,e,t="https://www.arcgis.com/sharing/rest"){let n=`${t}/oauth2/validateAppAccess`;return p(n,{method:"POST",params:{f:"json",client_id:e,token:r}})}function Ge(r,e,t){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},t),r);return o.params=e.reduce((s,i)=>((r[i]||typeof r[i]=="boolean"||typeof r[i]=="number"&&r[i]===0)&&(s[i]=r[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var x;(function(r){r.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",r.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",r.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",r.NOT_FEDERATED="NOT_FEDERATED",r.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(x||(x={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",t=x.UNKNOWN_ERROR_CODE,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};var D=class extends Error{constructor(){super("The user has denied your authorization request.");let t=new.target.prototype;Object.setPrototypeOf(this,t),this.name="ArcGISAccessDeniedError"}};var ne;(function(r){r.ArcGISRequestError="ArcGISRequestError",r.ArcGISAuthError="ArcGISAuthError",r.ArcGISAccessDeniedError="ArcGISAccessDeniedError",r.ArcGISTokenRequestError="ArcGISTokenRequestError"})(ne||(ne={}));var A=class{constructor(e){this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this._username=e.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(e=>e.username)}getUser(e){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let t=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=p(t,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var H;(function(r){r.Success="Succeeded",r.Failed="Failed",r.Waiting="Waiting",r.Cancelled="Cancelled",r.Cancelling="Cancelling",r.New="New",r.Executing="Executing",r.Submitted="Submitted",r.Failure="Failure",r.TimedOut="TimedOut",r.Error="Error",r.Status="Etatus",r.Unknown="Unknown"})(H||(H={}));function oe(r){let e=`${m(r.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,t=r.token,n=r.clientId;delete r.portal,delete r.clientId,delete r.token;let o=Object.assign(Object.assign({},r),{httpMethod:"POST",params:{client_id:n,auth_token:t}});return p(e,o).then(s=>{if(!s.success)throw new b("Unable to revoke token",500,s,e,o);return s})}function M(r,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,r)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function se(r,e=window){if(!e&&window&&(e=window),r&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(r);return e.crypto.subtle.digest("SHA-256",n).then(o=>M(new Uint8Array(o),e))}return Promise.resolve(null)}function z(r){!r&&window&&(r=window);let e=r.crypto.getRandomValues(new Uint8Array(32));return M(e)}function le(r){return typeof r.userId=="string"||typeof r.expires=="number"}var k=class r extends A{constructor(e){if(super(e),this.clientId=e.clientId,this._refreshToken=e.refreshToken,this._refreshTokenExpires=e.refreshTokenExpires,this.password=e.password,this._token=e.token,this._tokenExpires=e.tokenExpires,this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this.ssl=e.ssl,this.provider=e.provider||"arcgis",this.tokenDuration=e.tokenDuration||20160,this.redirectUri=e.redirectUri,this.server=e.server,this.referer=e.referer,this.federatedServers={},this.trustedDomains=[],e.server){let t=this.getServerRootUrl(e.server);this.federatedServers[t]={token:e.token,expires:e.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(e,t){!t&&window&&(t=window);let{portal:n,provider:o,clientId:s,expiration:i,redirectUri:a,popup:u,popupWindowFeatures:g,locale:d,params:c,style:h,pkce:E,state:l}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},e),f=l||z(t),T=`ARCGIS_REST_JS_AUTH_STATE_${s}`;t.localStorage.setItem(T,f);let w=`${m(n)}/oauth2/authorize`,I={client_id:s,response_type:E?"code":"token",expiration:i,redirect_uri:a,state:JSON.stringify({id:f,originalUrl:t.location.href}),locale:d,style:h};o!=="arcgis"&&(w=`${m(n)}/oauth2/social/authorize`,I.socialLoginProviderName=o,I.autoAccountCreateForSocial=!0);let $;if(E){let P=z(t),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;t.localStorage.setItem(U,P),$=se(P,t).then(function(_){I.code_challenge_method=_?"S256":"plain",I.code_challenge=_||P})}else $=Promise.resolve();return $.then(()=>{if(w=`${w}?${O(I)}`,c&&(w=`${w}&${O(c)}`),u)return new Promise((P,U)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${s}`,_=>{if(_.detail.error==="access_denied"){let j=new D;return U(j),j}if(_.detail.errorMessage){let j=new R(_.detail.errorMessage,_.detail.error);return U(j),j}P(new r({clientId:s,portal:n,ssl:_.detail.ssl,token:_.detail.token,tokenExpires:_.detail.expires,username:_.detail.username,refreshToken:_.detail.refreshToken,refreshTokenExpires:_.detail.refreshTokenExpires,redirectUri:a}))},{once:!0}),t.open(w,"oauth-window",g),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=w})}static completeOAuth2(e,t){!t&&window&&(t=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,g=t.localStorage.getItem(u),d=Y(i?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),c=d&&d.state?JSON.parse(d.state):void 0;function h(l,f,T){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:f,errorMessage:l}})),t.close();return}return T&&t.history.replaceState(t.history.state,"",T),f==="access_denied"?Promise.reject(new D):Promise.reject(new R(l,f))}function E(l,f){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign({},l)})),t.close();return}return t.history.replaceState(t.history.state,"",f),new r({clientId:o,portal:n,ssl:l.ssl,token:l.token,tokenExpires:l.expires,username:l.username,refreshToken:l.refreshToken,refreshTokenExpires:l.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!g||!c)return h("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(c.id!==g)return h("Saved client state did not match server sent state.","mismatched-auth-state");if(d.error){let l=d.error,f=d.error_description||"Unknown error";return h(f,l,c.originalUrl)}if(i&&d.code){let l=m(`${n}/oauth2/token/`),f=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,T=t.localStorage.getItem(f);return t.localStorage.removeItem(f),v(l,{httpMethod:"POST",params:{client_id:o,code_verifier:T,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:d.code}}).then(w=>E(Object.assign(Object.assign({},w),c),c.originalUrl)).catch(w=>h(w.originalMessage,w.code,c.originalUrl))}return!i&&d.access_token?Promise.resolve(E(Object.assign({token:d.access_token,expires:new Date(Date.now()+parseInt(d.expires_in,10)*1e3),ssl:d.ssl==="true",username:d.username},c),c.originalUrl)):h("Unknown error","oauth-error",c.originalUrl)}static fromParent(e,t){!t&&window&&(t=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===t.parent&&i.data)try{return o(r.parentMessageHandler(i))}catch(a){return s(a)}},t.addEventListener("message",n,!1),t.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(t.removeEventListener("message",n,!1),o))}static authorize(e,t){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};a&&(u.state=a);let g=`${n}/oauth2/authorize?${O(u)}`;t.writeHead(301,{Location:g}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return v(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:s,code:t}}).then(i=>new r({clientId:o,portal:n,ssl:i.ssl,redirectUri:s,refreshToken:i.refreshToken,refreshTokenExpires:i.refreshTokenExpires,token:i.token,tokenExpires:i.expires,username:i.username})).catch(i=>{throw new y(i.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let t=JSON.parse(e);return new r({clientId:t.clientId,refreshToken:t.refreshToken,refreshTokenExpires:t.refreshTokenExpires?new Date(t.refreshTokenExpires):void 0,username:t.username,password:t.password,token:t.token,tokenExpires:t.tokenExpires?new Date(t.tokenExpires):void 0,portal:t.portal,ssl:t.ssl,tokenDuration:t.tokenDuration,redirectUri:t.redirectUri,server:t.server})}static fromCredential(e,t){let n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return t.hasServer?new r({server:e.server,ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new r({portal:m(e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest"),ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)})}static parentMessageHandler(e){if(e.data.type==="arcgis:auth:credential"){let t=e.data.credential;return le(t)?r.fromCredential(t,{hasPortal:!0,hasServer:!1,server:t.server}):new r(t)}if(e.data.type==="arcgis:auth:error"){let t=new Error(e.data.error.message);throw t.name=e.data.error.name,t}else throw new Error("Unknown message type.")}static destroy(e){return oe({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let t=new r(e);return t.getUser().then(()=>t)}static signIn(e){let t=new r(e);return t.getUser().then(()=>t)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(e){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let t=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=p(t,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,t){return te(this.portal,e)?this.getFreshToken(t):new RegExp(this.portal,"i").test(e)?this.getFreshToken(t):this.getTokenForServer(e,t)}validateAppAccess(e){return this.getToken(this.portal).then(t=>re(t,e))}toJSON(){return{clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(e,t){!t&&window&&(t=window),this._hostHandler=this.createPostMessageHandler(e),t.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(e){!e&&window&&(e=window),e.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(e){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(e):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new y("Unable to refresh token. No refresh token or password present.",x.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[t]=m(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=t.match(/(https?:\/\/)(.+)/),[i,...a]=s.split("/");return`${o}${i.toLowerCase()}/${a.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(t=>e.startsWith(t.toLowerCase()))?"include":"same-origin")}signOut(){return r.destroy(this)}createPostMessageHandler(e){return t=>{let n=e.indexOf(t.origin)>-1,o=t.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};if(s){let a=this.toCredential();a.server=a.server.replace("/sharing/rest",""),i={type:"arcgis:auth:credential",credential:a}}else i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};t.source.postMessage(i,t.origin)}}}getTokenForServer(e,t){let n=this.getServerRootUrl(e),o=this.federatedServers[n];return o&&o.expires&&o.expires.getTime()>Date.now()?Promise.resolve(o.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>p(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ee(s.owningSystemUrl,this.portal))return p(`${s.owningSystemUrl}/sharing/rest/info`,t);throw new y(`${e} is not federated with ${this.portal}.`,x.NOT_FEDERATED)}else{if(s.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:s.authInfo});throw new y(`${e} is not federated with any portal and is not explicitly trusted.`,x.NOT_FEDERATED)}}).then(s=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)).then(s=>(this.federatedServers[n]=s,delete this._pendingTokenRequests[n],s.token))),this._pendingTokenRequests[n])}generateTokenForServer(e,t){return p(e,{params:{token:this.token,serverUrl:t,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new y(n.message,x.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(e){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(e).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(e){let t={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:q};return(this.server?p(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>p(n.authInfo.tokenServicesUrl,Object.assign({params:t},e))):p(`${this.portal}/generateToken`,Object.assign({params:t},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,x.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return v(`${this.portal}/oauth2/token`,n).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new y(o.message,x.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,t){return this._token=e,this._tokenExpires=t,this}exchangeRefreshToken(e){let t=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return v(`${this.portal}/oauth2/token`,t).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new y(n.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(e=>(e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(this.trustedDomains=e.authorizedCrossOriginDomains.filter(t=>!t.startsWith("http://")).map(t=>t.startsWith("https://")?t:`https://${t}`)),this))}};function S(r){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new k(r)}S.beginOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),k.beginOAuth2(...r)};S.completeOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),r.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),k.completeOAuth2(...r)};S.fromParent=function(...r){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),k.fromParent(...r)};S.authorize=function(...r){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),k.authorize(...r)};S.exchangeAuthorizationCode=function(...r){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),k.exchangeAuthorizationCode(...r)};S.fromCredential=function(...r){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),k.fromCredential(...r)};S.deserialize=function(...r){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),k.deserialize(...r)};export{V as a,p as b,Ge as c,m as d,k as 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.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250528.
|
4
|
-
import a from"./
|
3
|
+
v1.0.0-next.20250528.3 */
|
4
|
+
import a from"./73FJRU3Y.js";import{a as g,b as m,c as _}from"./4BKW6WVP.js";import"./ZKPAIAU6.js";import"./KHJP4IY5.js";import"./5IVJBGE4.js";import"./LUGKZDYN.js";import"./HXKTFHQR.js";import"./JYDPZBDX.js";import{a as f,b as y}from"./RPUUF7I5.js";import{a as b}from"./MBMIPTOA.js";import{B as s,D as h,F as l,G as n,I as u,c as p,d as i,o as r}from"./EZV7ZQF6.js";import"./RLI3W2QT.js";export default $arcgis.t(([{a:v,b:o,c:x,d:C,e:c,f:w}])=>{var k=p`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|