@esri/solutions-components 1.0.0-next.20250604 → 1.0.0-next.20250610
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/assets/spatialReferences.json.d.ts +3 -0
- package/dist/cdn/{TLBLKOSP.js → 243XIJUK.js} +2 -2
- package/dist/cdn/{DEOYLAEF.js → 25SG2GT6.js} +2 -2
- package/dist/cdn/26V65KO5.js +4 -0
- package/dist/cdn/{O6YU35I2.js → 2KAZVBXF.js} +2 -2
- package/dist/cdn/2NFTBOR6.js +4 -0
- package/dist/cdn/{IAV6RAUX.js → 2QLL7KRA.js} +3 -3
- package/dist/cdn/{XIROVWXB.js → 2SPB6YWD.js} +1 -1
- package/dist/cdn/{OVYTYWMG.js → 2VLL65Q3.js} +2 -2
- package/dist/cdn/{LKWWHXOA.js → 2ZBKRLIH.js} +2 -2
- package/dist/cdn/{D4RSDPZE.js → 2ZYGIAK7.js} +2 -2
- package/dist/cdn/3FYSHEGC.js +4 -0
- package/dist/cdn/{BS33EVAP.js → 3GQWIJEV.js} +2 -2
- package/dist/cdn/{ALD6NWTO.js → 3IM72Q7I.js} +2 -2
- package/dist/cdn/3MMNPTWA.js +4 -0
- package/dist/cdn/3RSE7GWO.js +18 -0
- package/dist/cdn/3TPK447W.js +18 -0
- package/dist/cdn/{PODWXGKR.js → 3U5ZQLVD.js} +2 -2
- package/dist/cdn/{BPGVSHQW.js → 3YU6HJT3.js} +2 -2
- package/dist/cdn/{AEPIDWNF.js → 3ZZA5SJJ.js} +2 -2
- package/dist/cdn/4BBMUYOY.js +4 -0
- package/dist/cdn/{UCHW2VOH.js → 4CU2JG7Y.js} +2 -2
- package/dist/cdn/{ADCN5EQ6.js → 4D7Q4GOL.js} +2 -2
- package/dist/cdn/{K7MDBVZ5.js → 4RCKKVLX.js} +2 -2
- package/dist/cdn/{CTUCKF3P.js → 4REMJIC2.js} +2 -2
- package/dist/cdn/{ZTMR6MQW.js → 4YZYX25D.js} +2 -2
- package/dist/cdn/{D2PEMAQB.js → 55WTY3OW.js} +2 -2
- package/dist/cdn/{WICNCAEP.js → 5BVRVDRV.js} +2 -2
- package/dist/cdn/5FJYF35Q.js +18 -0
- package/dist/cdn/{AF677W6B.js → 5GOMCD3R.js} +2 -2
- package/dist/cdn/{MMGAOSLP.js → 5PTXJEIG.js} +1 -1
- package/dist/cdn/{ZPVOBCSG.js → 5QW7OUY4.js} +2 -2
- package/dist/cdn/{R3KXDLBC.js → 62U5XQ53.js} +2 -2
- package/dist/cdn/{FLHA6SUG.js → 6J57YUW2.js} +2 -2
- package/dist/cdn/{L3EOUKGK.js → 6JMHJ4JX.js} +2 -2
- package/dist/cdn/{X3ULYFMR.js → 6JNDGVGH.js} +2 -2
- package/dist/cdn/{QHAATBTL.js → 6MX6UN7I.js} +2 -2
- package/dist/cdn/{7UF7ASVK.js → 6N4W6KCO.js} +2 -2
- package/dist/cdn/{CB6KYK3A.js → 6POZOMRQ.js} +2 -2
- package/dist/cdn/{AMWVUVI2.js → 6QCOPT4C.js} +2 -2
- package/dist/cdn/{4FSK32YK.js → 6QFNQCBR.js} +2 -2
- package/dist/cdn/{2WTLR7AF.js → 6SWIDSO3.js} +2 -2
- package/dist/cdn/{4E3IKHTV.js → 6XDCOPQY.js} +1 -1
- package/dist/cdn/{6YLZDF5Z.js → 6ZFIZXBP.js} +2 -2
- package/dist/cdn/{VT5P4INT.js → 6ZSHJ5AZ.js} +1 -1
- package/dist/cdn/747TJLHD.js +4 -0
- package/dist/cdn/7CYK6OHD.js +4 -0
- package/dist/cdn/{3UOZA57X.js → 7EC2QANE.js} +2 -2
- package/dist/cdn/7KHJWE7I.js +46 -0
- package/dist/cdn/7NVOEDDR.js +4 -0
- package/dist/cdn/{JMLCAWVB.js → 7NYELHIW.js} +2 -2
- package/dist/cdn/{M2XRDDQA.js → 7PGOUADZ.js} +2 -2
- package/dist/cdn/{2KM6GVBX.js → 7QIPUZMZ.js} +2 -2
- package/dist/cdn/{IY5MA5TQ.js → 7URYQJYI.js} +2 -2
- package/dist/cdn/{Z56WHDSU.js → A57VSTIU.js} +2 -2
- package/dist/cdn/{IPTJRUEL.js → A7I5BLUD.js} +2 -2
- package/dist/cdn/{6QFHZ3JL.js → A7XA3HJY.js} +2 -2
- package/dist/cdn/{KYOJO322.js → AA2RTEXB.js} +2 -2
- package/dist/cdn/{YA4UNEDL.js → AE4QMTGD.js} +2 -2
- package/dist/cdn/AJ4EANAJ.js +4 -0
- package/dist/cdn/{NKQJ45UL.js → AKVBZAV2.js} +2 -2
- package/dist/cdn/AL32QPJO.js +18 -0
- package/dist/cdn/{KKS7II75.js → AMA3CIUW.js} +2 -2
- package/dist/cdn/{76BAM4JD.js → ANDBAAW7.js} +2 -2
- package/dist/cdn/{YWL5BSMR.js → AO22ELU2.js} +2 -2
- package/dist/cdn/{OI44SOUH.js → AO3Y73S4.js} +2 -2
- package/dist/cdn/{DQF7T3WP.js → APPDDPRJ.js} +2 -2
- package/dist/cdn/{LSZWLE7J.js → ARFHWNZW.js} +2 -2
- package/dist/cdn/{OGMFH36G.js → AZRDVXFS.js} +2 -2
- package/dist/cdn/BCT6TYYF.js +4 -0
- package/dist/cdn/BJEE2QDX.js +4 -0
- package/dist/cdn/{ANWOHFXY.js → BMCGFY4D.js} +2 -2
- package/dist/cdn/{KSWXMOC6.js → C2WZRDNU.js} +2 -2
- package/dist/cdn/{RIR7ISEG.js → CHIYX226.js} +2 -2
- package/dist/cdn/{CEJDTHNZ.js → CHPCWQV3.js} +1 -1
- package/dist/cdn/{FCYQRR3U.js → CKPYQPTD.js} +2 -2
- package/dist/cdn/{Y4ZIUU3O.js → COVJW67Z.js} +2 -2
- package/dist/cdn/{ICYWQWLJ.js → CQQABTQM.js} +2 -2
- package/dist/cdn/{THV4VHVL.js → CTYWBQY2.js} +2 -2
- package/dist/cdn/{BE5PQLO3.js → CUNBBRGG.js} +2 -2
- package/dist/cdn/{NBTA2YSB.js → CZGM62A6.js} +2 -2
- package/dist/cdn/{7VUGOBSM.js → D3O2HT2V.js} +2 -2
- package/dist/cdn/{HFUW7B3U.js → D5G2QLXU.js} +2 -2
- package/dist/cdn/{JMXRRM2J.js → DAEBIZTJ.js} +2 -2
- package/dist/cdn/DI3SB5LW.js +4 -0
- package/dist/cdn/{Q2UDHSAN.js → DJD52FAE.js} +3 -3
- package/dist/cdn/{NQMT3ZM2.js → DKKDSFW7.js} +2 -2
- package/dist/cdn/{7TR632PO.js → DWL6QFE4.js} +2 -2
- package/dist/cdn/DX7BBY5L.js +18 -0
- package/dist/cdn/DYZLHNVS.js +4 -0
- package/dist/cdn/{JYHFFQPV.js → DZTZIDHJ.js} +2 -2
- package/dist/cdn/{UQKWMKYX.js → E4GHAC43.js} +2 -2
- package/dist/cdn/{UZS6KXNI.js → E5SVQDAC.js} +2 -2
- package/dist/cdn/{OT3LBEYQ.js → E6LAV57F.js} +2 -2
- package/dist/cdn/{ZFQHFXDO.js → E7LSGXZN.js} +2 -2
- package/dist/cdn/{KCQU26AE.js → E7TY2OIZ.js} +2 -2
- package/dist/cdn/{YNIZ4XXM.js → EBHIEP3O.js} +2 -2
- package/dist/cdn/{QOKOI3NT.js → ECUMDGF6.js} +2 -2
- package/dist/cdn/{GZEPT2M3.js → EDPMTOWD.js} +2 -2
- package/dist/cdn/{ZCRJUKEL.js → EGTQT3ZY.js} +2 -2
- package/dist/cdn/{GV4VMWZC.js → EHA23YLG.js} +2 -2
- package/dist/cdn/{42G7HHTM.js → EJ7MPJF2.js} +2 -2
- package/dist/cdn/{CJNGBIUI.js → ELFPC4FQ.js} +2 -2
- package/dist/cdn/{PPLIT4QW.js → EOURQHYH.js} +2 -2
- package/dist/cdn/{RJVPADY4.js → EWLVZYDD.js} +2 -2
- package/dist/cdn/{XWT4JOO6.js → EWPN7Y3J.js} +2 -2
- package/dist/cdn/{USOHU6ZJ.js → EY76BJOK.js} +2 -2
- package/dist/cdn/{JUUBSWSN.js → EZROAF3H.js} +2 -2
- package/dist/cdn/{SU7JDERD.js → F75ZTCHZ.js} +2 -2
- package/dist/cdn/{O5TASUMK.js → FGIPZYFM.js} +3 -3
- package/dist/cdn/{I2DY4IS2.js → FNMXMPWJ.js} +2 -2
- package/dist/cdn/{KAN7CBK7.js → FO3XKEOC.js} +1 -1
- package/dist/cdn/{5UYYGX3U.js → FWTBUEHA.js} +2 -2
- package/dist/cdn/{GMCLBVIJ.js → G3FC7NQX.js} +6 -6
- package/dist/cdn/{NOWWSO43.js → G54HYU4T.js} +2 -2
- package/dist/cdn/G6HN6TFX.js +4 -0
- package/dist/cdn/{EMZ6RPP3.js → GA2ZUKPH.js} +2 -2
- package/dist/cdn/{OZDEHP24.js → GLQGCQKQ.js} +1 -1
- package/dist/cdn/{RN47VRJO.js → GLZNOZSV.js} +2 -2
- package/dist/cdn/{6KZH4YCI.js → GRH6L6AX.js} +1 -1
- package/dist/cdn/{K4J7ONE5.js → GT7ZLIPV.js} +1 -1
- package/dist/cdn/{54BQVAZQ.js → GWCLKO7W.js} +1 -1
- package/dist/cdn/GXLRWAQM.js +4 -0
- package/dist/cdn/GZTSZRL2.js +4 -0
- package/dist/cdn/{LFDYLJKA.js → H2TUSR7R.js} +1 -1
- package/dist/cdn/{AC6N4APV.js → H7XUQNKK.js} +1 -1
- package/dist/cdn/{ALLFENVH.js → HAXSU4N2.js} +3 -3
- package/dist/cdn/HDPFTEW7.js +4 -0
- package/dist/cdn/{Y2TYQRMX.js → HIXGXDSF.js} +2 -2
- package/dist/cdn/{NDYM7KNN.js → HJW7MRV7.js} +2 -2
- package/dist/cdn/{MWHO4QDE.js → HPIQJM5V.js} +2 -2
- package/dist/cdn/{VSXWXDUG.js → HR26NMCP.js} +2 -2
- package/dist/cdn/{KEJK7WEU.js → HRXPEGPN.js} +2 -2
- package/dist/cdn/{7AYXAEZ4.js → HTGPVMDF.js} +4 -4
- package/dist/cdn/{J2IBVR4K.js → HY2FPZMQ.js} +3 -3
- package/dist/cdn/I5BHAIXT.js +18 -0
- package/dist/cdn/{3ML7QFWK.js → I6IP3HEU.js} +1 -1
- package/dist/cdn/{NKVMRM3O.js → IAYSY7E4.js} +2 -2
- package/dist/cdn/{VNATQD74.js → IDOXNWMU.js} +2 -2
- package/dist/cdn/{KBJOJOJ4.js → IQIUJCL5.js} +1 -1
- package/dist/cdn/{RTSUY2Q2.js → IQZR2JNQ.js} +2 -2
- package/dist/cdn/{KCGRRB43.js → IWQEYRKW.js} +2 -2
- package/dist/cdn/J32WUI3V.js +4 -0
- package/dist/cdn/{B24P555R.js → J42OBAV6.js} +2 -2
- package/dist/cdn/{PCE2GNPD.js → JA6ZHJAG.js} +1 -1
- package/dist/cdn/{5ZN3LDSR.js → JEFKNJI4.js} +2 -2
- package/dist/cdn/{PDQQ3CKY.js → JFIQPHVY.js} +1 -1
- package/dist/cdn/JHGRJIHO.js +18 -0
- package/dist/cdn/JRP43TMR.js +18 -0
- package/dist/cdn/{QLBAKOYA.js → JTR6HRTY.js} +2 -2
- package/dist/cdn/{UGHIR2H5.js → JTSY6HU4.js} +2 -2
- package/dist/cdn/JXXQJ623.js +18 -0
- package/dist/cdn/{Z2XU5LLK.js → KB55TNLB.js} +2 -2
- package/dist/cdn/{NYPIOWTH.js → KKHWQSXB.js} +2 -2
- package/dist/cdn/KLYS5Y7D.js +4 -0
- package/dist/cdn/{6XIFWTU3.js → KMLGXG55.js} +2 -2
- package/dist/cdn/{55ER3JZZ.js → KPZNCFK7.js} +1 -1
- package/dist/cdn/{HLWVXTFA.js → KVDLSZT5.js} +2 -2
- package/dist/cdn/{E7CZ4ZJ7.js → KXIP4DWR.js} +3 -3
- package/dist/cdn/{Z7JJZ3FM.js → KZ5AJUM6.js} +2 -2
- package/dist/cdn/LC4T5GIX.js +4 -0
- package/dist/cdn/LFIVJEK2.js +4 -0
- package/dist/cdn/{FHUPZXRA.js → LMDJKC64.js} +2 -2
- package/dist/cdn/LOMV7XIZ.js +4 -0
- package/dist/cdn/{OJALXFPS.js → LQVTKXFQ.js} +2 -2
- package/dist/cdn/{63FJFV7Z.js → LR42KSD7.js} +3 -3
- package/dist/cdn/{SCFIKT66.js → LUCGZBV3.js} +2 -2
- package/dist/cdn/{XC5VKQJJ.js → LUWKLSCB.js} +2 -2
- package/dist/cdn/{5IXEWYS7.js → LZ37AJKN.js} +2 -2
- package/dist/cdn/{2EM743GZ.js → M4X65SJB.js} +2 -2
- package/dist/cdn/{4ALXTQ7N.js → M74AMYXF.js} +2 -2
- package/dist/cdn/MFATTJGH.js +6 -0
- package/dist/cdn/{IACEMZB4.js → MGTISYNJ.js} +2 -2
- package/dist/cdn/{6426ECPL.js → MLRAY2VI.js} +2 -2
- package/dist/cdn/MSN724ZV.js +4 -0
- package/dist/cdn/{Q65D6PKP.js → MXTL3VB4.js} +2 -2
- package/dist/cdn/{2ZYEO4QU.js → N4PA6ZFU.js} +2 -2
- package/dist/cdn/NB6P2ZLZ.js +18 -0
- package/dist/cdn/{M3IMWYAR.js → NS5FDWXK.js} +2 -2
- package/dist/cdn/{E6UHW6W4.js → O5WPS53A.js} +1 -1
- package/dist/cdn/{XC55JAZC.js → O7LAX6TU.js} +2 -2
- package/dist/cdn/{3R6FI5UM.js → OBGE3PJZ.js} +2 -2
- package/dist/cdn/{TA4R7WKW.js → ODZBAUH3.js} +2 -2
- package/dist/cdn/OEIXBUC3.js +4 -0
- package/dist/cdn/{ZHGAX6R3.js → OG4YXHRH.js} +2 -2
- package/dist/cdn/{HQKIH26Q.js → OGISURJ2.js} +1 -1
- package/dist/cdn/{7D3QOJHZ.js → OOYAGXFU.js} +2 -2
- package/dist/cdn/{QU5VIRGY.js → OUTGXSIV.js} +2 -2
- package/dist/cdn/OWN2B732.js +4 -0
- package/dist/cdn/{ERW3YZU6.js → P7PGGEDY.js} +1 -1
- package/dist/cdn/{Y2XCXPZJ.js → PERO5WYC.js} +1 -1
- package/dist/cdn/{K54F34MD.js → PITFPHXJ.js} +2 -2
- package/dist/cdn/{T7EW26WY.js → PWNQPO7M.js} +2 -2
- package/dist/cdn/{UXMQRK5S.js → Q2RVLL7P.js} +1 -1
- package/dist/cdn/{ROJ6UXWC.js → QB5Q44P3.js} +2 -2
- package/dist/cdn/{2B5FSZQH.js → QBKQKD2G.js} +2 -2
- package/dist/cdn/{73M3K3MB.js → QDCUDH5M.js} +1 -1
- package/dist/cdn/{YRGOM6Q5.js → QEONXNFP.js} +2 -2
- package/dist/cdn/{HWXLPBZH.js → QS3XVQM7.js} +2 -2
- package/dist/cdn/{LACXORO5.js → QVNQSDMG.js} +2 -2
- package/dist/cdn/{YKLMVODS.js → QZUUFSWN.js} +2 -2
- package/dist/cdn/{7MXFY5SO.js → REUK7FUQ.js} +1 -1
- package/dist/cdn/RJCPG2OD.js +4 -0
- package/dist/cdn/{3OXV4AIJ.js → RKK6IXRN.js} +1 -1
- package/dist/cdn/{4Q5U26MM.js → RLTUCGPF.js} +2 -2
- package/dist/cdn/{L6CZXSW3.js → RQNTLRQO.js} +2 -2
- package/dist/cdn/S2DOD45C.js +4 -0
- package/dist/cdn/{SQ72UPK3.js → S7S35K4N.js} +2 -2
- package/dist/cdn/{FQLSHIBF.js → SA3FJIMJ.js} +2 -2
- package/dist/cdn/{7MJFKTU3.js → SCC7OFOE.js} +1 -1
- package/dist/cdn/{YL7XZAGN.js → SCJF5DK5.js} +2 -2
- package/dist/cdn/{DR4VMI7G.js → SKJFR7RS.js} +2 -2
- package/dist/cdn/{TR24DOO4.js → SKNW5XHW.js} +2 -2
- package/dist/cdn/{GX6G4BFZ.js → SMVLVIKJ.js} +1 -1
- package/dist/cdn/{M5375MUO.js → SPDKAPN2.js} +2 -2
- package/dist/cdn/{MTDTWNGL.js → SPJUB4WW.js} +2 -2
- package/dist/cdn/{XPSM5W4L.js → STTIKHQJ.js} +2 -2
- package/dist/cdn/{OXHYCHE7.js → SUUXG2YV.js} +2 -2
- package/dist/cdn/SV5SVPCF.js +4 -0
- package/dist/cdn/{UJNLCDAP.js → SXV6GOCF.js} +2 -2
- package/dist/cdn/T3L6RRVE.js +4 -0
- package/dist/cdn/{5WSSG5DQ.js → TQBG4MEK.js} +2 -2
- package/dist/cdn/TVJRJKDY.js +4 -0
- package/dist/cdn/{JVV2LRKV.js → U5WH4XWF.js} +2 -2
- package/dist/cdn/U7YWLWVS.js +4 -0
- package/dist/cdn/{V7G2AU5A.js → UC6XV223.js} +2 -2
- package/dist/cdn/{NG7FCMTK.js → UFK4WM7T.js} +2 -2
- package/dist/cdn/{LTRG7P5T.js → UHSG6QNQ.js} +2 -2
- package/dist/cdn/{6FMYJDB3.js → UI54E7VB.js} +2 -2
- package/dist/cdn/{SCCCHUE7.js → UIUU6DED.js} +2 -2
- package/dist/cdn/UPMKLS4C.js +4 -0
- package/dist/cdn/UXH6MGRX.js +4 -0
- package/dist/cdn/V3GT6ZDE.js +4 -0
- package/dist/cdn/{IWLSOPNU.js → V4ESJ7QL.js} +2 -2
- package/dist/cdn/{MABGXJJX.js → V74PXGTC.js} +2 -2
- package/dist/cdn/{QH4CLBMI.js → VANG24M3.js} +2 -2
- package/dist/cdn/VGIYVVAU.js +4 -0
- package/dist/cdn/{AWTEJER6.js → VHT2MWYW.js} +2 -2
- package/dist/cdn/{HPWA6TTI.js → VLQDRULY.js} +2 -2
- package/dist/cdn/VMFAWFAM.js +4 -0
- package/dist/cdn/VOEWFARL.js +4 -0
- package/dist/cdn/{QU6MV2R4.js → VPUUIWE2.js} +2 -2
- package/dist/cdn/VQL327GB.js +18 -0
- package/dist/cdn/{4X3BLJYO.js → W27KI4TX.js} +2 -2
- package/dist/cdn/WCIL4Y2K.js +18 -0
- package/dist/cdn/{XWJ5XRDA.js → WCZZYOTM.js} +1 -1
- package/dist/cdn/{HUNK6CQY.js → WE523ZR2.js} +2 -2
- package/dist/cdn/{EOMS3F3L.js → WEVRGLHV.js} +2 -2
- package/dist/cdn/{GJ2KTUEU.js → WH2I2W6Q.js} +2 -2
- package/dist/cdn/{UUYHFCW4.js → WNR7QUVP.js} +2 -2
- package/dist/cdn/WRV2RHJ6.js +18 -0
- package/dist/cdn/{WNZMO54V.js → X77OKZCY.js} +2 -2
- package/dist/cdn/{ETSHTE72.js → XA6VGCTE.js} +2 -2
- package/dist/cdn/{TXLHJXSD.js → XARXAL4K.js} +2 -2
- package/dist/cdn/{GNROCWA2.js → XFOQ237Z.js} +2 -2
- package/dist/cdn/{OWQIRWGB.js → XIWWE2AH.js} +2 -2
- package/dist/cdn/{I5NHFG7C.js → XJYLRRFL.js} +2 -2
- package/dist/cdn/{CRZVA7XS.js → XKTGW3XN.js} +2 -2
- package/dist/cdn/{QBEPAEZG.js → XKYLZR42.js} +2 -2
- package/dist/cdn/{IE2Z57EL.js → XOEQBFVP.js} +1 -1
- package/dist/cdn/{CTJUD4LO.js → XPJYK2RV.js} +2 -2
- package/dist/cdn/{NVZPOTDK.js → XSUHYP6Q.js} +2 -2
- package/dist/cdn/{6LFV2GIT.js → XVFOF3T5.js} +1 -1
- package/dist/cdn/{USVH5XRC.js → XVV53OIG.js} +2 -2
- package/dist/cdn/{RAOR6DNG.js → Y4MLXPRQ.js} +2 -2
- package/dist/cdn/{IJRPDGUW.js → YFYERRHB.js} +1 -1
- package/dist/cdn/{OHULOUJ7.js → YGNM3KWY.js} +1 -1
- package/dist/cdn/{JYGS22BT.js → YJ3QUHDU.js} +2 -2
- package/dist/cdn/{XD7HIK35.js → YJ6YWNY6.js} +2 -2
- package/dist/cdn/{F4VOMVZI.js → YJVHNGLM.js} +2 -2
- package/dist/cdn/{I2YEFWJ6.js → YKGOPNZG.js} +2 -2
- package/dist/cdn/{LPK5NKSR.js → YN6JZ5LC.js} +2 -2
- package/dist/cdn/YOUEIKMV.js +18 -0
- package/dist/cdn/{MHW7GG43.js → YYIW4SX5.js} +2 -2
- package/dist/cdn/Z4QMYZMZ.js +4 -0
- package/dist/cdn/{5JZHSF5Q.js → ZBC2KSKJ.js} +1 -1
- package/dist/cdn/ZCJBWPBW.js +4 -0
- package/dist/cdn/{6GI4INVZ.js → ZHYUBIKC.js} +2 -2
- package/dist/cdn/{47H5FO7V.js → ZIXRBHFZ.js} +2 -2
- package/dist/cdn/ZRRGRRES.js +4 -0
- package/dist/cdn/{GEVOY2L5.js → ZSCGQDPT.js} +2 -2
- package/dist/cdn/{ZUBYVBHB.js → ZX7QCDFK.js} +2 -2
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
- package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/Auth.js +3 -9
- package/dist/chunks/appConfig.js +11 -0
- package/dist/chunks/cardFetchingUtils.js +102 -150
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/helpers.js +76 -0
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +21 -20
- 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 +24 -23
- package/dist/components/consent-manager/customElement.js +264 -264
- package/dist/components/create-feature/customElement.d.ts +6 -0
- package/dist/components/create-feature/customElement.js +8 -8
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +16 -16
- package/dist/components/crowdsource-reporter/customElement.js +19 -16
- 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 +24 -18
- 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.d.ts +12 -0
- package/dist/components/map-card/customElement.js +25 -25
- package/dist/components/map-draw-tools/customElement.js +2 -2
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +3 -3
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +22 -18
- 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 +2 -2
- 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 +7 -7
- package/dist/components/refine-selection/customElement.js +2 -2
- 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.d.ts +42 -0
- package/dist/components/solution-deploy-dialog/customElement.js +154 -16
- package/dist/components/solution-deploy-dialog/index.d.ts +9 -0
- package/dist/components/solution-deploy-dialog/index.js +9 -0
- package/dist/components/solution-deployed-card/customElement.d.ts +4 -0
- package/dist/components/solution-deployed-card/customElement.js +16 -11
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.d.ts +4 -11
- package/dist/components/solution-details-card/customElement.js +16 -16
- package/dist/components/solution-details-panel/customElement.d.ts +17 -0
- package/dist/components/solution-details-panel/customElement.js +113 -18
- package/dist/components/solution-details-panel/index.d.ts +12 -0
- package/dist/components/solution-details-panel/index.js +12 -0
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-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 +2 -2
- 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.d.ts +8 -8
- package/dist/components/solutions-all-panel/customElement.js +50 -52
- package/dist/components/solutions-all-shell/customElement.d.ts +1 -1
- package/dist/components/solutions-all-shell/customElement.js +31 -29
- 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 +15 -14
- package/dist/components/solutions-deployed-shell/customElement.d.ts +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +28 -26
- package/dist/components/solutions-filter-panel/customElement.d.ts +8 -3
- package/dist/components/solutions-filter-panel/customElement.js +82 -101
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +522 -260
- package/dist/docs/docs.json +505 -193
- package/dist/docs/vscode.html-custom-data.json +32 -43
- package/dist/docs/web-types.json +172 -87
- package/dist/index.d.ts +32 -6
- package/dist/index.js +1 -1
- package/dist/loader.js +7 -8
- package/dist/types/lumina.d.ts +10 -10
- package/dist/types/preact.d.ts +10 -11
- package/dist/types/react.d.ts +10 -12
- package/dist/types/stencil.d.ts +10 -10
- package/dist/utils/cardFetchingUtils.d.ts +3 -3
- package/dist/utils/interfaces.d.ts +47 -9
- package/package.json +3 -2
- package/dist/cdn/2AFE7E7M.js +0 -4
- package/dist/cdn/2K5LERLJ.js +0 -18
- package/dist/cdn/2MYQP6Y5.js +0 -4
- package/dist/cdn/2WSY3VK5.js +0 -18
- package/dist/cdn/345MWWXW.js +0 -4
- package/dist/cdn/3ELXMEAJ.js +0 -4
- package/dist/cdn/47T4MQZM.js +0 -18
- package/dist/cdn/5EGJZQNO.js +0 -4
- package/dist/cdn/5NTBUHXP.js +0 -4
- package/dist/cdn/5TTXDO2X.js +0 -4
- package/dist/cdn/6UX6KQVQ.js +0 -4
- package/dist/cdn/6XXYDAON.js +0 -18
- package/dist/cdn/ARCAXJNI.js +0 -4
- package/dist/cdn/B5IEC4IT.js +0 -6
- package/dist/cdn/BGMGLS3V.js +0 -18
- package/dist/cdn/BIUFSOZZ.js +0 -18
- package/dist/cdn/CNEWKYEJ.js +0 -4
- package/dist/cdn/CWNIFA6D.js +0 -4
- package/dist/cdn/CYNBZWVT.js +0 -4
- package/dist/cdn/D7NBVCTF.js +0 -4
- package/dist/cdn/EMDO67DU.js +0 -18
- package/dist/cdn/FJ6RGFDH.js +0 -4
- package/dist/cdn/GMPQXS6C.js +0 -4
- package/dist/cdn/GXKZH3J4.js +0 -4
- package/dist/cdn/H6KJVVW5.js +0 -18
- package/dist/cdn/HQOSEDMS.js +0 -18
- package/dist/cdn/K4LNUMMZ.js +0 -18
- package/dist/cdn/KGNJ2Y2O.js +0 -4
- package/dist/cdn/KNAH23B5.js +0 -18
- package/dist/cdn/LNP7R5ZI.js +0 -4
- package/dist/cdn/LYGETQIB.js +0 -4
- package/dist/cdn/MT4W2VSR.js +0 -4
- package/dist/cdn/MXJ7JORF.js +0 -18
- package/dist/cdn/NMCGBOOO.js +0 -4
- package/dist/cdn/OQ4ARNXB.js +0 -4
- package/dist/cdn/P3JN7YAP.js +0 -4
- package/dist/cdn/PBE7PDSN.js +0 -4
- package/dist/cdn/R3QDSUMS.js +0 -4
- package/dist/cdn/RTQCBY45.js +0 -4
- package/dist/cdn/RZLD7GPX.js +0 -4
- package/dist/cdn/TAE7C5OI.js +0 -18
- package/dist/cdn/TOGUBI36.js +0 -4
- package/dist/cdn/TPT5GHCA.js +0 -4
- package/dist/cdn/TTKYUHNY.js +0 -4
- package/dist/cdn/VGFMPJPG.js +0 -18
- package/dist/cdn/VQ7R4YV2.js +0 -4
- package/dist/cdn/X3XUCW5D.js +0 -18
- package/dist/cdn/XISD2FJX.js +0 -4
- package/dist/cdn/Y53CA6HP.js +0 -18
- package/dist/cdn/YN6OX32H.js +0 -4
- package/dist/cdn/Z4R46WXZ.js +0 -4
- package/dist/cdn/ZVSE3IZ4.js +0 -4
- package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +0 -1
- package/dist/components/solution-deploy-panel/customElement.d.ts +0 -18
- package/dist/components/solution-deploy-panel/customElement.js +0 -72
- package/dist/components/solution-deploy-panel/index.d.ts +0 -12
- package/dist/components/solution-deploy-panel/index.js +0 -12
package/dist/cdn/LNP7R5ZI.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a as n,e as c,f as d}from"./Q65D6PKP.js";import{a as r}from"./GXKZH3J4.js";import"./AC6N4APV.js";import"./ZHGAX6R3.js";import"./PBE7PDSN.js";import"./PDQQ3CKY.js";import"./CWNIFA6D.js";import"./PCE2GNPD.js";import"./CNEWKYEJ.js";import"./XC5VKQJJ.js";import"./VT5P4INT.js";import{a as o,b as i}from"./O6YU35I2.js";import"./OZDEHP24.js";import"./JVV2LRKV.js";import"./3OXV4AIJ.js";import"./SCCCHUE7.js";import"./PODWXGKR.js";import"./AWTEJER6.js";import"./Y4ZIUU3O.js";import"./YWL5BSMR.js";import"./OVYTYWMG.js";import"./OWQIRWGB.js";import"./3UOZA57X.js";import"./IJRPDGUW.js";import"./2ZYEO4QU.js";import"./HQKIH26Q.js";import"./MTDTWNGL.js";import"./EMZ6RPP3.js";import"./3R6FI5UM.js";import"./Y2XCXPZJ.js";import"./LPK5NKSR.js";import"./R3KXDLBC.js";import"./54BQVAZQ.js";import"./73M3K3MB.js";import"./FQLSHIBF.js";function u(e,t){let l=[];if(p(t)){let s=f(e);l.push(s)}let a=m(e,t);return l.push(a),{type:"Section",labelKey:`${e}.sections.downloads.label`,options:{},elements:l}}function p(e){return n(e)}function f(e){return{labelKey:`${e}.fields.serverExtractCapability.label`,scope:"/properties/serverExtractCapability",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.serverExtractCapability.exportDataSetting.label:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.label:translate}}`],descriptions:[`{{${e}.fields.serverExtractCapability.exportDataSetting.description:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.description:translate}}`],layout:"vertical",messages:[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.title`,labelKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.body`,allowShowBeforeInteract:!0,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}]}}}function m(e,t){let l={labelKey:`${e}.fields.downloadFormats.label`,scope:"/properties/downloadFormats",type:"Control",options:{control:"hub-field-input-list",helperText:{labelKey:`${e}.fields.downloadFormats.helperText`},allowReorder:!0,allowHide:!0},rules:[]};return p(t)?l.rules.push({effect:o.DISABLE,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}):y(t)&&(l.rules.push({effect:o.DISABLE,conditions:[!0]}),l.options.messages=[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.title`,labelKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.body`,allowShowBeforeInteract:!0,alwaysShow:!0}]),l}function y(e){return!c(e)}var v=async(e,t,l)=>{let a={type:"Layout",elements:[]};if(r("hub:content:workspace:settings:schedule",l,t).access){let s=[{type:"Control",scope:"/properties/schedule",labelKey:`${e}.sections.schedule.helperText`,options:{type:"Control",control:"hub-field-input-scheduler",labelKey:"fieldHeader",format:"select",inputs:[{type:"automatic"},{type:"daily"},{type:"weekly"},{type:"monthly"},{type:"yearly"},{type:"manual",helperActionIcon:"information-f",helperActionText:`{{${e}.fields.schedule.manual.helperActionText:translate}}`}]},rules:[{effect:o.DISABLE,conditions:[t.access!=="public"]}]},{type:"Notice",options:{notice:{configuration:{id:"schedule-unavailable-notice",noticeType:"notice",closable:!1,kind:"warning",icon:"exclamation-mark-triangle",scale:"m"},title:`{{${e}.fields.schedule.unavailableNotice.title:translate}}`,message:`{{${e}.fields.schedule.unavailableNotice.body:translate}}`,autoShow:!0}},rules:[{effect:o.SHOW,conditions:[t.access!=="public"]}]},{type:"Control",scope:"/properties/_forceUpdate",options:{control:"hub-field-input-tile-select",type:"checkbox",labels:[`{{${e}.fields.schedule.forceUpdateButton.label:translate}}`],descriptions:[`{{${e}.fields.schedule.forceUpdateButton.description:translate}}`]},rules:[{effect:o.SHOW,conditions:[t.access==="public"]}]}];a.elements.push({type:"Section",labelKey:`${e}.sections.schedule.label`,elements:s})}if(d(t)){let s=u(e,t);a.elements.push(s)}return a};export{v as buildUiSchema};
|
package/dist/cdn/LYGETQIB.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{b as y,e as g,k as h}from"./TTKYUHNY.js";import{b as s,c as f}from"./CYNBZWVT.js";import{a as i}from"./CWNIFA6D.js";import{b as c}from"./CRZVA7XS.js";import{b as m,e as p,f as a,g as d,k as l}from"./CNEWKYEJ.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};
|
package/dist/cdn/MT4W2VSR.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a as n}from"./IE2Z57EL.js";import{a as p}from"./GXKZH3J4.js";import"./AC6N4APV.js";import{a}from"./6FMYJDB3.js";import"./ZHGAX6R3.js";import"./PCE2GNPD.js";import{a as r,b as i}from"./JMLCAWVB.js";import"./YA4UNEDL.js";import"./CRZVA7XS.js";import"./XC5VKQJJ.js";import"./6KZH4YCI.js";import"./VT5P4INT.js";import{a as t}from"./O6YU35I2.js";import"./OZDEHP24.js";import"./JVV2LRKV.js";import"./3OXV4AIJ.js";import"./SCCCHUE7.js";import"./PODWXGKR.js";import"./AWTEJER6.js";import"./Y4ZIUU3O.js";import"./YWL5BSMR.js";import"./OVYTYWMG.js";import"./OWQIRWGB.js";import"./3UOZA57X.js";import"./IJRPDGUW.js";import"./2ZYEO4QU.js";import"./HQKIH26Q.js";import"./MTDTWNGL.js";import"./EMZ6RPP3.js";import"./3R6FI5UM.js";import"./Y2XCXPZJ.js";import"./LPK5NKSR.js";import"./R3KXDLBC.js";import"./54BQVAZQ.js";import"./73M3K3MB.js";import"./FQLSHIBF.js";var h=async(e,s,o)=>{var l;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,helperText:{labelKey:`${e}.fields.summary.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},{labelKey:`${e}.fields.hero.label`,scope:"/properties/view/properties/hero",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.hero.helperText`},labels:[`{{${e}.fields.hero.map.label:translate}}`,`{{${e}.fields.hero.image.label:translate}}`],descriptions:[`{{${e}.fields.hero.map.description:translate}}`,`{{${e}.fields.hero.image.description:translate}}`],icons:["map-pin","image"]}}]}]},{type:"Section",labelKey:`${e}.sections.hero.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{type:"Section",labelKey:`${e}.sections.location.label`,rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"image"}}},options:{helperText:{labelKey:`${e}.sections.location.helperText`}},elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await r(s.location,o.hubRequestOptions),options:await i(s.id,s.type,s.location,o.portal.name,o.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.fields.featuredImage.label`,options:{helperText:{labelKey:`${e}.fields.featuredImage.helperText`}},rule:{effect:t.HIDE,condition:{scope:"/properties/view/properties/hero",schema:{const:"map"}}},elements:[{scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:a((l=s.view)===null||l===void 0?void 0:l.featuredImageUrl,o.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:`${e}.fields.featuredImage.sizeDescription`}}},{labelKey:`${e}.fields.featuredImage.altText.label`,scope:"/properties/view/properties/featuredImageAltText",type:"Control",options:{helperText:{labelKey:`${e}.fields.featuredImage.altText.helperText`}}}]}]},{type:"Section",labelKey:`${e}.sections.sharing.label`,options:{section:"step"},rules:[{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{const:""}}]},{effect:t.DISABLE,conditions:[{scope:"/properties/name",schema:{minLength:251}}]},{effect:t.DISABLE,condition:{scope:"/properties/summary",schema:{minLength:2049}}}],elements:[{scope:"/properties/access",type:"Control",options:{control:"arcgis-hub-access-level-controls",orgName:o.portal.name,itemType:`{{${e}.fields.access.itemType:translate}}`}},{labelKey:`${e}.fields.groups.label`,scope:"/properties/_groups",type:"Control",options:{control:"hub-field-input-combobox",items:n(o.currentUser.groups),disabled:!p("platform:portal:user:shareToGroup",o),allowCustomValues:!1,selectionMode:"multiple"}}]}]}]}};export{h as buildUiSchema};
|
package/dist/cdn/MXJ7JORF.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{d as w,e as L}from"./6QFHZ3JL.js";import"./LACXORO5.js";import"./K4J7ONE5.js";import{a as p,b as m}from"./USOHU6ZJ.js";import{b as V}from"./XWJ5XRDA.js";import{a as b}from"./F4VOMVZI.js";import{D as M,E as c,I as v,c as y,d as l,o as h,q as f}from"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";var E=y`@layer{/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.edit-location-btn{margin:5px;display:flex}.esri-editor__panel-content{padding-block:10px!important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,u=class extends M{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this.updateMapPosition=!1,this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this.showSketchWidgets=!1,this._currentPage="templatePicker",this._editorLoading=!1,this._inValidGeomtryDrawn=!1,this._translations=b({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._calciteNotice=p(),this._isSubmitBtnClicked=!1,this._mapViewContainer=p(),this._searchDiv=p(),this.success=h(),this.fail=h(),this.drawComplete=h(),this.editingLocation=h(),this.editingAttachment=h(),this.progressStatus=h(),this.modeChanged=h()}static{this.properties={customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,updateMapPosition:5,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,showSketchWidgets:5,_currentPage:16,_editorLoading:16,_inValidGeomtryDrawn:16,_translations:16}}static{this.styles=E}static{this.shadowRootOptions=f}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("isMobile")&&this.hasUpdated&&this.isMobileHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{await this.init()})}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(e){if(e){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){if(this._selectedLayer.templates&&this._editor){let t=this._selectedLayer.templates[0],i={layer:this._selectedLayer,template:t};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(i),await this.hideEditorsElements()}}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(e){this._editor&&(e?await this._setFloorLevel(e):this.reportingArea&&this.reportingAreaLayer&&this._currentPage!=="drawing"?await this.queryIntersectingFeatures():this._currentPage!=="drawing"&&(this._inValidGeomtryDrawn=!1,this.drawComplete.emit(this._inValidGeomtryDrawn)))}async showForm(){this.progressStatus.emit(100),this._container?.classList.remove("display-none"),this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._currentPage="featureForm"}async load(){await this.initModules()}async loaded(){await this.init()}async updated(){if(this.isMobile&&this.updateMapPosition){let e=this._currentPage==="drawing"?80:30,t=this.enableSearch?this._searchDiv.value?.offsetHeight:0;await this._calciteNotice.value?.componentOnReady();let i=(this._calciteNotice.value?.offsetHeight||0)+t+e;this._mapViewContainer.value&&(this._mapViewContainer.value.style.top=`${i}px`)}}disconnectedCallback(){super.disconnectedCallback(),this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&this.mapView?.ui.view&&((this.mapView?.ui.view).grid=null))}render(){let e=this._currentPage==="drawing"||this._currentPage==="editing"?"":"display-none",t=this._editorLoading?"":"display-none",i=this._editorLoading?"display-none":"",s=this.isMobile&&this.updateMapPosition?"show-map":"display-none",a=this._inValidGeomtryDrawn?"danger":"success",r=this._inValidGeomtryDrawn?"exclamation-mark-triangle":"lightbulb",n=this.showGuidingMsg&&this._currentPage!=="templatePicker",d=this._translations.chooseCategoryMsg;return this._inValidGeomtryDrawn?d=this.reportingAreaMessage||this._translations.reportOutsideAreaMessage:this._currentPage==="drawing"||this._currentPage==="editing"?d=this._translations.provideLocationMsg:this._currentPage==="featureForm"&&(d=this._translations.provideDetailsMsg),l`${n&&l`<calcite-notice class="notice-msg" .icon=${r} .kind=${a} open ${m(this._calciteNotice)}><div slot=message>${d}</div></calcite-notice>`||""}<calcite-loader class=${c(t)} label scale=s></calcite-loader>${this._currentPage==="featureForm"&&this.isMobile&&l`<calcite-button appearance=transparent class="edit-location-btn" icon-start=pin @click=${this.editLocation}>${this._translations.editLocationLabel}</calcite-button>`||""}<div class=${c(i)} id=feature-form></div>${this.enableSearch&&l`<div class=${`search-widget ${e} ${i}`} id=search-widget-ref ${m(this._searchDiv)}></div>`||""}<div class=${c(s)} ${m(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile&&this.updateMapPosition?this.createMobileMapView():this._loadWidgets()))}async initModules(){let[e,t,i,s,a,r,n,d]=await V(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView","esri/widgets/Home"]);this.Editor=e,this.reactiveUtils=t,this.Search=i,this.ExpressionInfo=s,this.FieldElement=a,this.FormTemplate=r,this.MapView=n,this.Home=d}async createMobileMapView(){this._mapViewContainer.value&&this.MapView&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom,center:this.mapView.center}).when(e=>{this._updatedMapView=e;let t=this.Home&&new this.Home({view:this._updatedMapView});t&&this._updatedMapView.ui.add(t,"top-left"),this._loadWidgets()},e=>{console.log(e)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();let e=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");let t=this._updatedMapView&&await L(this._updatedMapView),i=this.mapView&&await w(this.mapView,this.selectedLayerId);if(i&&(this._selectedLayer=i,!this._selectedLayer?.isTable&&t&&t.forEach(s=>{e.push({layer:s,enabled:s?.type==="feature"&&s?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this.Editor&&(this._editor=new this.Editor({view:this._updatedMapView,layerInfos:e,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:this.showSketchWidgets&&this._selectedLayer?.geometryType!=="point"},container:this._container}),this._mapViewContainer.value?this.el.insertBefore(this._container,this._mapViewContainer.value):this.el.appendChild(this._container),this._selectedLayer?.isTable&&(this._editorLoading=!0),this._editor)){let s=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="adding-attachment"||o==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)});s&&this._editor.viewModel.addHandles(s);let a=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,o=>{o==="ready"&&this._editor?.viewModel?.activeWorkflow?.type!=="create-features"&&(this.progressStatus.emit(50),this._editorLoading=!0)});a&&this._editor.viewModel.addHandles(a);let r=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,o=>{o==="ready"&&this._editor?.viewModel.featureFormViewModel&&this._currentPage!=="editing"&&(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel)},50),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit(!1))});r&&this._editor.viewModel.addHandles(r);let n=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,o=>{o==="creating-features"&&this._editor?.viewModel.featureFormViewModel&&this._editor.viewModel.featureFormViewModel.state==="disabled"&&(this._mapViewContainer.value?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))});n&&this._editor.viewModel.addHandles(n),this._editor.on("sketch-create",async o=>{o.detail.state==="complete"&&(this._drawnGeometry=o.detail.graphic.geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures())});let d;this._editor.on("sketch-update",o=>{clearTimeout(d),d=window.setTimeout(async()=>{this._drawnGeometry=o.detail.graphics[0].geometry,this.reportingArea&&this.reportingAreaLayer&&await this.queryIntersectingFeatures()},50)})}}async queryIntersectingFeatures(){let e=this.mapView&&await w(this.mapView,this.reportingAreaLayer);if(e){let t=e.createQuery();t.geometry=this._drawnGeometry,t.spatialRelationship="intersects";let i=await e.queryFeatureCount(t)===0;this._inValidGeomtryDrawn=i,this.drawComplete.emit(this._inValidGeomtryDrawn)}}editLocation(){this.progressStatus.emit(75),this.editingLocation.emit(),this._container?.classList.add("display-none"),this._mapViewContainer.value?.classList.replace("hide-map","show-map"),this._currentPage="editing"}async startCreate(){return await this.hideEditorsElements(),new Promise((e,t)=>{if(this._editor?.viewModel.featureTemplatesViewModel.items?.length){let i=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.addHandles(this._editor.viewModel.featureTemplatesViewModel.on("select",()=>{this.progressStatus.emit(75),setTimeout(()=>{this.hideEditorsElements().then(()=>{e({})},a=>t(a))},700)})),i.length===1&&this._editor.viewModel.featureTemplatesViewModel.select(i[0]);let s=i.length>1;this.hideEditorsElements().then(()=>{s&&e({})},a=>s&&t(a))}})}async createSearchWidget(){if(this._updatedMapView&&this.Search){let e={view:this._updatedMapView};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(e),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let t;this._search.viewModel.addHandles(this._search.on("search-complete",s=>{this._updatedMapView?.goTo(s.results[0].results[0].extent),this._selectedLayer?.geometryType==="point"&&(t=s.results[0].results[0]?.feature.geometry)}));let i=this.reactiveUtils?.watch(()=>this._search?.viewModel.state,s=>{s==="ready"&&setTimeout(()=>{if(this._editor?.viewModel.sketchViewModel?.createGraphic&&t)this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",t),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements();else if(this._editor?.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel.updateGraphics.length>0&&t){let a=this._editor?.viewModel.sketchViewModel?.updateGraphics.getItemAt(0);a&&(a.set("geometry",t),this._editor?.viewModel.sketchViewModel?.update(a),this.hideEditorsElements())}},100)});i&&this._search.viewModel.addHandles(i)}}_getSearchConfig(e,t){let i="includeDefaultSources",s=e.sources;return s&&s?.length>0?(e[i]=!1,s.forEach(a=>{if(a.hasOwnProperty("layer")){let r=a,n=r.layer?.id,d=n?t.map?.findLayerById(n):"",o=r?.layer?.url;d?r.layer=d:o&&this.FeatureLayer&&(r.layer=new this.FeatureLayer(o))}}),s?.forEach(a=>{if(a.hasOwnProperty("locator")){let r=a;if(r?.name==="ArcGIS World Geocoding Service"){let n=r.outFields||["Addr_type","Match_addr","StAddr","City"];r.outFields=n,r.singleLineFieldName="SingleLine"}r.url=r.url,delete r.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,i=t?.floorInfo?.floorField;if(i){let s=t.fields.find(a=>a.name===i);if(s&&!t?.formTemplate)this._editor?.viewModel.featureFormViewModel&&(this._editor.viewModel.featureFormViewModel.setValue(s.name,e),s.editable=!1);else if(t.formTemplate&&this.formElements&&this.ExpressionInfo&&this.FieldElement){let a=new this.ExpressionInfo({expression:`'${e}'`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),r=new this.FieldElement({label:i,editableExpression:"false",fieldName:i,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:a.name});this._updatedMapView?.map.editableLayers.forEach(n=>{let d=this.formElements.orgElements,o=this.formElements.orgExpressionInfos,_=[...d];if(_.push(r),n.type==="feature"&&this.FormTemplate){let g=n,S=new this.FormTemplate({title:g?.formTemplate?.title,description:g?.formTemplate?.description,elements:_,expressionInfos:[a].concat(o)});n.formTemplate=S}})}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};v("create-feature",u);export{u as CreateFeature};
|
package/dist/cdn/NMCGBOOO.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a}from"./TA4R7WKW.js";import"./LFDYLJKA.js";import"./ADCN5EQ6.js";import"./ZHGAX6R3.js";import"./6KZH4YCI.js";import"./VT5P4INT.js";import"./3OXV4AIJ.js";import"./FQLSHIBF.js";export{a as buildUiSchema};
|
package/dist/cdn/OQ4ARNXB.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a,b}from"./YWL5BSMR.js";import"./73M3K3MB.js";import"./FQLSHIBF.js";export{a as GroupEditorTypes,b as GroupSchema};
|
package/dist/cdn/P3JN7YAP.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{p as h}from"./B5IEC4IT.js";import{e as n}from"./XC5VKQJJ.js";export default $arcgis.t(([l,u,c])=>{var b="WNufTOT96eMYwAik",S="https://www.arcgis.com",w="966b251241bb4e3bb9ee3f2b92921aa5",f="1d3a7ed66deb47269beea05ff9afd4c1",y="en";var p=class{constructor(t,e,r){this._credential=null,this._locale="en",this._portalSubset=null,this._isEnterprise=!1,this._portalUserSubset=null,this._clientId=t,this._locale=r,this._portalUrl=e,this._portalUrl=location.origin.endsWith(".arcgis.com")?window.location.origin:e;let s=new u({appId:t,locale:this._locale,popup:!1,portalUrl:this._portalUrl,preserveUrlHash:!0});l.registerOAuthInfos([s]),this._portal=new c({url:this._portalUrl})}async init(){try{await this._init()}catch{this.destroy()}return this}async _init(){this._credential=await l.checkSignInStatus(this._portalUrl+"/sharing");try{let t=await l.checkAppAccess(this._portalUrl,this._clientId);(typeof t.valid<"u"&&!t.valid||t.viewOnlyUserTypeApp)&&window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}catch{window.location.replace(`error.html?error=blocked&locale=${this._locale}`)}return this._portal.authMode="immediate",await this._portal.load(),this._isEnterprise=this._portal.isPortal,this._portalSubset={name:this._portal.name??"",id:this._portal.id??"",restUrl:this._portal.restUrl,portalUrl:this._portal.url,urlKey:this._portal.urlKey??"",hostName:this._portal.portalHostname??"",orgUrl:this._getOrgUrl(this._portal.url,this._portal.urlKey??"",this._portal.customBaseUrl??""),locationTrackingEnabled:this._portal.helperServices.hasOwnProperty("locationTracking"),hubPremiumEnabled:this._portal.portalProperties?.hub?.enabled||!1,workflowURL:this._portal.helperServices?.workflowManager?.url??this._portal.url,isReadOnly:this._portal.isReadOnly},this._portalUserSubset={fullName:this._portal.user?.fullName??"",username:this._portal.user?.username??"",culture:this._portal.user?.culture?.toLowerCase()||"en",thumbnailUrl:this._portal.user?.thumbnailUrl||this._portal.url+"/home/js/arcgisonline/css/images/no-user-thumb.jpg",orgId:this._portal.user?.orgId??"",privileges:this._portal.user.privileges,role:this._portal.user?.role??""},this._isEnterprise&&(this._portalSubset.workflowURL=await h(this._portal.restUrl,this.RestUserSession||new n({}))),this._portal.user?.roleId&&(this._portalUserSubset.roleId=this._portal.user.roleId),this}get SignedIn(){return this._credential!==null}get Credential(){return this._credential}get Portal(){return this._portal}get PortalUrl(){return this._portalUrl}get PortalSubset(){return this._portalSubset}get PortalUserSubset(){return this._portalUserSubset}get PortalUserOrg(){return this._portalSubset&&this._portalSubset.id}get PortalUserName(){return this._portalUserSubset&&this._portalUserSubset.username||""}get PortalUserCulture(){return this._portalUserSubset&&this._portalUserSubset.culture||""}get PortalUserPrivileges(){let t=[];return this._portalUserSubset?.privileges&&(t=this._portalUserSubset.privileges),t}get IsEnterprisePortal(){return this._isEnterprise}get RestUserSession(){let t=this.Credential;if(!t)return null;let e={server:this.PortalUrl,hasPortal:this.IsEnterprisePortal,hasServer:this.IsEnterprisePortal},r=n.fromCredential(t,e);return r.clientId=this._credential._oAuthCred?.appId,r._refreshToken=this._credential._oAuthCred?.refreshToken,r}refreshSession(){let t=this.RestUserSession;return t?t.exchangeRefreshToken():null}signIn(t=""){l.setOAuthRedirectionHandler(e=>{let r=e.authorizeParams.redirect_uri;if(t.length>0){let s=r.split("?"),i=s[0],a="";if(s[1]){let o=new URLSearchParams(s[1]);o.append("signInParam",t),a="?"+o.toString()}e.authorizeParams.redirect_uri=i+a}window.location.href=e.authorizeUrl+"?"+this._objectToQuery(e.authorizeParams)}),l.getCredential((this._portalSubset?.portalUrl??this._portalUrl)+"/sharing").then(()=>{window.location.reload()})}signOut(){let t="https://"+this._portalSubset?.hostName;window.location.hostname===this._portalSubset?.hostName?t+="/index.html":this._portalSubset?.urlKey&&window.location.hostname.indexOf(this._portalSubset?.urlKey)>-1?t=window.location.origin+"/home/index.html":t=this._portalUrl+"/home",this.signOutAndRedirect(t)}signOutAndRedirect(t){let e=`${this._portalSubset?.restUrl??this._portalUrl+"/sharing/rest"}/oauth2/signout?client_id=${this._clientId}&redirect_uri=${encodeURIComponent(t)}`;this.destroy(),window.location.replace(e)}destroy(){this._credential=null,this._portalSubset=null,this._portalUserSubset=null,l.destroyCredentials()}_getOrgUrl(t,e,r){return e&&r?window.location.protocol+"//"+e.toLowerCase()+"."+r:t}_isSerializable(t){return t&&typeof t=="object"&&"toJSON"in t&&typeof t.toJSON=="function"}_objectToQuery(t,e){return t?e&&typeof e=="function"?Object.keys(t).map(r=>encodeURIComponent(r)+"="+encodeURIComponent(e(r,t[r]))).join("&"):Object.keys(t).map(r=>{let s=t[r];if(s==null)return"";let i=encodeURIComponent(r)+"=",a=e&&e[r];return a?i+encodeURIComponent(a(s)):Array.isArray(s)?s.map(o=>this._isSerializable(o)?i+encodeURIComponent(JSON.stringify(o)):i+encodeURIComponent(o)).join("&"):this._isSerializable(s)?i+encodeURIComponent(JSON.stringify(s)):i+encodeURIComponent(s)}).filter(r=>r).join("&"):""}};return{a:b,b:S,c:w,d:f,e:y,f:p}},"identity/IdentityManager","identity/OAuthInfo","portal/Portal")
|
package/dist/cdn/PBE7PDSN.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a as m}from"./CNEWKYEJ.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};
|
package/dist/cdn/R3QDSUMS.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{b as e,e as r}from"./FCYQRR3U.js";import"./7MJFKTU3.js";import"./6LFV2GIT.js";import"./THV4VHVL.js";import{d as t}from"./5NTBUHXP.js";import"./LFDYLJKA.js";import"./PBE7PDSN.js";import"./PDQQ3CKY.js";import"./CWNIFA6D.js";import"./PCE2GNPD.js";import"./CNEWKYEJ.js";import"./XC5VKQJJ.js";import"./VT5P4INT.js";import"./3OXV4AIJ.js";import"./FQLSHIBF.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
|
package/dist/cdn/RTQCBY45.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a as Y}from"./CTJUD4LO.js";import{a as O}from"./7MJFKTU3.js";import{a as w}from"./ROJ6UXWC.js";import{a as J}from"./OT3LBEYQ.js";import{a as N,d as W,e as H,f as B,g as V,h as X}from"./LYGETQIB.js";import{c as u,f as T,l as h,m as E}from"./TTKYUHNY.js";import"./5TTXDO2X.js";import"./5NTBUHXP.js";import"./MMGAOSLP.js";import{a as S,c as C,e as R}from"./CYNBZWVT.js";import"./LFDYLJKA.js";import{a as j,d as F}from"./AC6N4APV.js";import{a as f}from"./ZHGAX6R3.js";import{d as A}from"./PBE7PDSN.js";import"./PDQQ3CKY.js";import{a as m,b as M,c as P,e as l}from"./CWNIFA6D.js";import"./PCE2GNPD.js";import"./YA4UNEDL.js";import"./CRZVA7XS.js";import{h as L}from"./CNEWKYEJ.js";import"./XC5VKQJJ.js";import"./6KZH4YCI.js";import"./VT5P4INT.js";import{b as g}from"./54BQVAZQ.js";import"./FQLSHIBF.js";function z(e,o=!1){let{id:i,properties:r}=e,t=r?.slug;return t?S(o?R(t,i):t):i}var y;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(y||(y={}));var d;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(d||(d={}));function G(e,o){var i;let r=e._slug;delete e._slug;let t=m(e);return t.orgUrlKey=e.orgUrlKey?e.orgUrlKey:o.urlKey,t.extent=(i=e.location)===null||i===void 0?void 0:i.extent,r?t.slug=C(r,t.orgUrlKey):t.slug="",t}function Q(e,o){let i=Object.assign(Object.assign({},o),e),r=Object.keys(o);return Object.keys(i).reduce((n,s)=>(r.includes(s)||n.push(s),n),[]).forEach(n=>{delete i[n]}),i}function Z(e,o){let i;return o.authentication&&(i=o.authentication.token),{self:A(e.id,o),siteRelative:T(e.type,z(e),e.typeKeywords),siteRelativeEntityType:T(e.type),workspaceRelative:J(e.type,e.id),thumbnail:u(e,o,i)}}var I="Hub Project",q={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:g.notStarted,tags:[],typeKeywords:[I],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:j},ee={item:{type:I,title:"",description:"",snippet:"",tags:[],typeKeywords:[I],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:g.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function te(e,o){return Z(e,o)}function K(e,o,i){var r,t;let n;return i.authentication&&(n=i.authentication.token),o=H(e.item,o),o.thumbnailUrl=u(e.item,i,n),o.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(r=e.data.view)===null||r===void 0?void 0:r.featuredImageUrl}),o.catalog=Y(o.catalog||{}),o.features=Q(((t=e.data.settings)===null||t===void 0?void 0:t.features)||{},F),o.links=te(e.item,i),o}function b(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},o,i){let{value:r,valueType:t,dynamicMetric:n}=e,s=O(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:p,statistic:_,serviceUrl:oe,fieldType:se,sourceLink:x,sourceTitle:k,allowExpressionSet:D,expressionSet:$,legacyWhere:U}=n||{},{entityInfo:ne,metricName:ae}=i||{},ce={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:p,statistic:_,where:U||pe(D?$:[])}:{type:"static-value",value:r,valueType:t},name:ae||o,entityInfo:ne||{id:void 0,name:void 0,type:void 0},id:o};delete s.itemId;let me=Object.assign(Object.assign({},s),{displayType:s.displayType||"stat-card",visibility:s.visibility||d.hidden,metricId:o,fieldType:se,itemId:c,expressionSet:$,allowExpressionSet:D,statistic:_,sourceLink:e.type==="dynamic"&&x?x:s.sourceLink,sourceTitle:e.type==="dynamic"&&k?k:s.sourceTitle,allowLink:e.type==="dynamic"?s.allowDynamicLink:s.allowLink,type:e.type});return{metric:ce,displayConfig:me}}function pe(e=[]){let o=e.map(i=>{let{field:r,values:t,relationship:n}=i,s=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!t||!t.length||!r||!r.name)return!1;let a;switch(r.type){case"esriFieldTypeString":a=n===y.LIKE?`${r.name} like '%${t[0]}%'`:`(${r.name} IN (${t.map(c=>`'${s(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof t[0]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00'`),typeof t[1]=="string"&&(a=`${r.name} <= timestamp '${s(t[1])} 23:59:59'`),typeof t[0]=="string"&&typeof t[1]=="string"&&(a=`${r.name} >= timestamp '${s(t[0])} 00:00:00' AND ${r.name} <= timestamp '${s(t[1])} 23:59:59'`);break;default:l(t[0])||(a=`(${r.name}) >= ${t[0]}`),l(t[1])||(a=`(${r.name}) <= ${t[1]}`),!l(t[0])&&!l(t[1])&&(a=`(${r.name}) >= ${t[0]} AND (${r.name}) <= ${t[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(o)}function v(e,o){let i=e.filter(r=>!r.startsWith("status|"));return i.push(`status|${o}`),i}function re(e,o,i){let r=m(e),t=o.id,n=f(r,"metrics",[]),s=n.findIndex(p=>p.id===t),a=f(r,"view.metricDisplays",[]),c=a.findIndex(p=>p.metricId===t);return s>-1?n[s]=o:n.push(o),c>-1?a[c]=i:a.push(i),r.view.metricDisplays=a,r.metrics=n,r}async function ct(e,o){let i=Object.assign(Object.assign({},q),e);i.slug||(i.slug=N(i.name,i.orgUrlKey)),await w(i,o),i.typeKeywords=v(i.typeKeywords,i.status),i.typeKeywords=h(i.typeKeywords,i.isDiscussable);let r=new E(b()),t=r.entityToStore(i,m(ee));t=await V(t,o);let n=r.storeToEntity(t,{});return n=K(t,n,o),n}function mt(e,o){var i;let r=e._metric;delete e._groups,delete e._thumbnail,(i=e.view)===null||i===void 0||delete i.featuredImage,delete e._metric,delete e._groups;let t=G(e,o);if(r&&Object.keys(r).length){let n=r.metricId||M(P(`${r.cardTitle}_`)),{metric:s,displayConfig:a}=ie(r,n,{metricName:r.cardTitle});t=re(t,s,a)}return t}async function pt(e,o){await w(e,o),e.typeKeywords=v(e.typeKeywords,e.status),e.typeKeywords=h(e.typeKeywords,e.isDiscussable);let i=await B(e.id,o),r=new E(b()),t=r.entityToStore(e,i),n=await X(t,o),s=r.storeToEntity(n,e);return s=K(i,s,o),s}async function lt(e,o){let i=Object.assign(Object.assign({},o),{id:e});await L(i)}export{ct as createProject,lt as deleteProject,mt as editorToProject,pt as updateProject};
|
package/dist/cdn/RZLD7GPX.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a as o}from"./RIR7ISEG.js";import{a as r}from"./GXKZH3J4.js";import"./AC6N4APV.js";import"./ZHGAX6R3.js";import"./VT5P4INT.js";import{a as s}from"./O6YU35I2.js";import"./OZDEHP24.js";import"./JVV2LRKV.js";import"./3OXV4AIJ.js";import"./SCCCHUE7.js";import"./PODWXGKR.js";import"./AWTEJER6.js";import"./Y4ZIUU3O.js";import"./YWL5BSMR.js";import"./OVYTYWMG.js";import"./OWQIRWGB.js";import"./3UOZA57X.js";import"./IJRPDGUW.js";import"./2ZYEO4QU.js";import"./HQKIH26Q.js";import"./MTDTWNGL.js";import"./EMZ6RPP3.js";import"./3R6FI5UM.js";import"./Y2XCXPZJ.js";import"./LPK5NKSR.js";import"./R3KXDLBC.js";import"./54BQVAZQ.js";import"./73M3K3MB.js";import"./FQLSHIBF.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};
|
package/dist/cdn/TAE7C5OI.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{b as m,c as h}from"./7AYXAEZ4.js";import"./B5IEC4IT.js";import"./5TTXDO2X.js";import"./CWNIFA6D.js";import"./CNEWKYEJ.js";import"./XC5VKQJJ.js";import"./VT5P4INT.js";import"./3ML7QFWK.js";import"./K4J7ONE5.js";import{a as b,b as g}from"./USOHU6ZJ.js";import{b as d}from"./XWJ5XRDA.js";import{a as c}from"./F4VOMVZI.js";import{D as o,I as p,c as n,d as r}from"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";var u=[{descriptionPDF:{labelWidthDisplay:"2-5/8",labelHeightDisplay:"1",labelsPerPageDisplay:"30",averyPartNumber:"*60"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.1875,rightMargin:.1875,topMargin:.5,bottomMargin:.5},numLabelsAcross:3,numLabelsDown:10,labelWidth:2.625,labelHeight:1,horizGapIn:.125,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1",labelsPerPageDisplay:"20",averyPartNumber:"*61"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.47637821,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:10,labelWidth:4,labelHeight:1.0025,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:4}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"1-1/3",labelsPerPageDisplay:"14",averyPartNumber:"*62"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.81889808,bottomMargin:.83464612},numLabelsAcross:2,numLabelsDown:7,labelWidth:4,labelHeight:1.3352,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:11,maxNumLabelLines:6}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"2",labelsPerPageDisplay:"10",averyPartNumber:"*63"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.5,bottomMargin:.5},numLabelsAcross:2,numLabelsDown:5,labelWidth:4,labelHeight:2,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:12,maxNumLabelLines:10}},{descriptionPDF:{labelWidthDisplay:"4",labelHeightDisplay:"3-1/3",labelsPerPageDisplay:"6",averyPartNumber:"*64"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.15625,rightMargin:.15625,topMargin:.4724412,bottomMargin:.50000027},numLabelsAcross:2,numLabelsDown:3,labelWidth:4,labelHeight:3.342,horizGapIn:.1875,vertGapIn:0,labelPadding:.1,fontSizePx:14,maxNumLabelLines:12}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"1/2",labelsPerPageDisplay:"80",averyPartNumber:"*67"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.307086375,rightMargin:.307086375,topMargin:.4724412,bottomMargin:.49606326},numLabelsAcross:4,numLabelsDown:20,labelWidth:1.75,labelHeight:.50155,horizGapIn:.29527575,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:3}},{descriptionPDF:{labelWidthDisplay:"1-3/4",labelHeightDisplay:"2/3",labelsPerPageDisplay:"60",averyPartNumber:"*95"},labelSpec:{type:"AVERY",pageProperties:{pageType:"ANSI A",leftMargin:.28936983,rightMargin:.28936983,topMargin:.53937037,bottomMargin:.5511814},numLabelsAcross:4,numLabelsDown:15,labelWidth:1.75,labelHeight:.6605,horizGapIn:.30708678,vertGapIn:0,labelPadding:.1,fontSizePx:8,maxNumLabelLines:4}}],y=Object.freeze(Object.defineProperty({__proto__:null,default:u},Symbol.toStringTag,{value:"Module"})),D=n`/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/:host{display:block}`,s=class extends o{constructor(){super(...arguments),this.disabled=!1,this._translations=c({name:"pdf-download",blocking:!0}),this._labelInfoElement=b()}static{this.properties={defaultNumLabelsPerPage:9,disabled:5,_translations:16}}static{this.styles=D}async downloadCSV(e,a,i,l=!0){return m(e,a,!0,i,l)}async downloadPDF(e,a,i=!1,l="",t=""){let P=this._labelInfoElement.value?this._labelInfoElement.value.selectedOption?.value:"";return h(e,a,P,i,l,t)}async load(){await this._initModules()}render(){return r`<calcite-select .disabled=${this.disabled} label ${g(this._labelInfoElement)}>${this._renderOptions()}</calcite-select>`}async _initModules(){let[e]=await d(["esri/intl"]);this._intl=e}_getLabelSizeText(e){let a=e.descriptionPDF.labelsPerPageDisplay,i=e.descriptionPDF.labelWidthDisplay+" x "+e.descriptionPDF.labelHeightDisplay;return this._translations.pdfLabel?this._translations.pdfLabel.replace("{{n}}",a).replace("{{labelSize}}",i):""}_renderOptions(){let e=y;return(e.default||e).sort((a,i)=>{let l=Number.parseInt(a.descriptionPDF.labelsPerPageDisplay,10),t=Number.parseInt(i.descriptionPDF.labelsPerPageDisplay,10);return l<t?-1:l>t?1:0}).map((a,i)=>{let l=!1;return(this.defaultNumLabelsPerPage?Number.parseInt(a.descriptionPDF.labelsPerPageDisplay,10)===this.defaultNumLabelsPerPage:i===0)&&(l=!0),r`<calcite-option .selected=${l} .value=${a}>${this._getLabelSizeText(a)}</calcite-option>`})}};p("pdf-download",s);export{s as PdfDownload};
|
package/dist/cdn/TOGUBI36.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a as o}from"./RIR7ISEG.js";import{a as r}from"./GXKZH3J4.js";import"./AC6N4APV.js";import"./ZHGAX6R3.js";import"./VT5P4INT.js";import{a as s}from"./O6YU35I2.js";import"./OZDEHP24.js";import"./JVV2LRKV.js";import"./3OXV4AIJ.js";import"./SCCCHUE7.js";import"./PODWXGKR.js";import"./AWTEJER6.js";import"./Y4ZIUU3O.js";import"./YWL5BSMR.js";import"./OVYTYWMG.js";import"./OWQIRWGB.js";import"./3UOZA57X.js";import"./IJRPDGUW.js";import"./2ZYEO4QU.js";import"./HQKIH26Q.js";import"./MTDTWNGL.js";import"./EMZ6RPP3.js";import"./3R6FI5UM.js";import"./Y2XCXPZJ.js";import"./LPK5NKSR.js";import"./R3KXDLBC.js";import"./54BQVAZQ.js";import"./73M3K3MB.js";import"./FQLSHIBF.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:[{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.any.description:translate}}`],disabled:[!1,!r("platform:portal:user:addExternalMembersToGroup",t).access,!0]}},{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.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubEditGroup",t));export{m as buildDefaults,p as buildUiSchema};
|
package/dist/cdn/TPT5GHCA.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a as l}from"./RIR7ISEG.js";import"./GXKZH3J4.js";import"./AC6N4APV.js";import"./ZHGAX6R3.js";import"./VT5P4INT.js";import{a as t}from"./O6YU35I2.js";import"./OZDEHP24.js";import"./JVV2LRKV.js";import"./3OXV4AIJ.js";import"./SCCCHUE7.js";import"./PODWXGKR.js";import"./AWTEJER6.js";import"./Y4ZIUU3O.js";import"./YWL5BSMR.js";import"./OVYTYWMG.js";import"./OWQIRWGB.js";import"./3UOZA57X.js";import"./IJRPDGUW.js";import"./2ZYEO4QU.js";import"./HQKIH26Q.js";import"./MTDTWNGL.js";import"./EMZ6RPP3.js";import"./3R6FI5UM.js";import"./Y2XCXPZJ.js";import"./LPK5NKSR.js";import"./R3KXDLBC.js";import"./54BQVAZQ.js";import"./73M3K3MB.js";import"./FQLSHIBF.js";var n=async(e,s,r)=>{let o=s;return{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:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.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.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{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.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
|
package/dist/cdn/TTKYUHNY.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a as x}from"./5TTXDO2X.js";import{a as I}from"./5NTBUHXP.js";import{a as d}from"./LFDYLJKA.js";import{b as p,d as v,e as M}from"./PBE7PDSN.js";import{a as y}from"./CWNIFA6D.js";import{a as k,e as R,f as A,g as E}from"./CRZVA7XS.js";import{a as U}from"./6KZH4YCI.js";import{a as c}from"./VT5P4INT.js";function h(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,l)=>{!o.hasOwnProperty(s)||o[s]==null?l===i?o[s]=r:o[s]={}:l===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=y(r):o[s]=Object.assign(o[s],y(r)):o[s]=r),o=o[s]})}function f(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),h(r,t,e,n)}var K=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var l=o/s,u=i/s;if(l>=0&&l<=1&&u>=0&&u<=1)return!0}return!1},V=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},J=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},$=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(K(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},S=function(e){return J(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},N=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},j=function(e,r){var n=$(e,r),a=V(e,r[0]);return!!(!n&&a)},Q=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var l=S(e[s].slice(0));if(!(l.length<4))if(D(l)){var u=[l.slice().reverse()];r.push(u)}else n.push(l.slice().reverse())}for(var g=[];n.length;){i=n.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||g.push(i)}for(;g.length;){i=g.pop();var P=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],$(o,i)){r[a].push(i),P=!0;break}P||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},Z=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},xe=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=Q(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?N(e.attributes):null,e.attributes))try{n.id=Z(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},T=function(e){var r=[],n=e.slice(0),a=S(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=S(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},Y=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=T(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=T(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=Y(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?N(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function Se(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function m(t){let e="enterprise";return t.includes("arcgis.com")&&(e="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(e="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(e="devext"),e}function Pe(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=M(t,e,n),[i,s]=o.split("?"),l=new URLSearchParams(s);l.delete("f"),a&&l.append("w",a+"");let u=l.toString(),g=`${i}/info/${t.thumbnail}`;return u?`${g}?${u}`:g}var L;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(L||(L={}));function z(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}var b={devext:"dev",qaext:"qa",production:""};var q=t=>R(t)?Object.assign(Object.assign({},k(t)),{type:"extent"}):void 0,We=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=q(r);if(a)return{type:z(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=E(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:A(o)?i:re(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var _e=(t,e,r)=>{let n=ee(t,e,r)||te(t,e,r),a=U(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":X(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},X=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ee=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},te=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var B;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(B||(B={}));var re=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},Ge=(t,e,r)=>{let n=ne(e);return n&&n.map(a=>({name:a.orName,url:ae(a,t,r),isDataSource:F(a,t)}))},ne=t=>{let e=[];return C(c(t,"metadata.distInfo")||[]).forEach(r=>{C(r.distTranOps||[]).forEach(n=>{C(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},C=t=>Array.isArray(t)?t:[t],F=(t,e)=>{let r=e.url&&x(e.url);return r&&t.linkage&&t.linkage.includes(r)},ae=(t,e,r)=>{let n=t.linkage,a=c(r,"authentication.token");if(a&&F(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var Ke=(t,e)=>{let r;switch(oe(t)){case"Dashboard":r=le(t,e);break;case"Insights Workbook":r=pe(t,e);break;case"Experience":r=se(t,e);break;case"Web AppBuilder":r=ce(t,e);break;case"Form":r=ue(t,e);break;case"StoryMap":r=ie(t,e);break;case"Urban Model":r=de(t,e);break;default:r=v(t.id,e)}return r},oe=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ie=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=p(e),a=m(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},se=(t,e)=>{let r=p(e),n=m(r);return`${`https://experience${b[n]}.arcgis.com`}/builder/?id=${t.id}`},le=(t,e)=>{let r=p(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},ce=(t,e)=>`${p(e)}/apps/webappbuilder/index.html?id=${t.id}`,ue=(t,e)=>{let r=p(e),n=m(r),a=`https://survey123${b[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=v(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},pe=(t,e)=>{let r=p(e),n=m(r),a=`https://insights${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/#/edit/${t.id}`},de=(t,e)=>{let r=p(e),n=m(r),a=`https://urban${b[n]}.arcgis.com`,o=v(t.id,r);return H(r)?o:`${a}/?id=${t.id}`},H=t=>t.indexOf("arcgis.com")===-1;function Ve(t,e){return`${fe(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function fe(t){return I(t).replace(/\/api\/v3$/,"")}var Je=async(t,e)=>{let n=`${I(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};function W(t){let e=!1;return t&&(e=!(t.typeKeywords||[]).includes(d)),e}function Ze(t,e){let r=(t||[]).filter(n=>n!==d);return e||r.push(d),r}var _=class{constructor(e){this.mappings=e}storeToEntity(e,r){let n=me(e,r,this.mappings);if(c(e,"item")){let a=c(e,"item");f("canEdit",["admin","update"].includes(a.itemControl),n),f("canDelete",a.itemControl==="admin",n),f("canRecycle",a.canRecycle||!1,n),f("protected",a.protected,n)}return n}entityToStore(e,r){return ge(e,r,this.mappings)}};function ge(t,e,r){if(c(e,"item")){let n=c(e,"item");n.typeKeywords&&(n.typeKeywords=c(t,"isDiscussable")?n.typeKeywords.filter(a=>a!==d):[...n.typeKeywords,d],f("item.typeKeywords",n.typeKeywords,e))}return G(t,"entityKey",e,"storeKey",r)}function me(t,e,r){if(c(t,"item")){let n=c(t,"item");f("isDiscussable",W(n),e)}return G(t,"storeKey",e,"entityKey",r)}function G(t,e,r,n,a){let o=y(r);return a.forEach(i=>{let s=c(i,e),l=c(i,n),u=c(t,s);u!=null&&h(o,l,u,!0)}),o}export{f as a,Se as b,Pe as c,xe as d,We as e,_e as f,Ge as g,Ke as h,Ve as i,Je as j,W as k,Ze as l,_ as m,ge as n,me as o};
|
package/dist/cdn/VGFMPJPG.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a as E}from"./YRGOM6Q5.js";import"./KSWXMOC6.js";import{a as C,c as m,d,e as _,f as x,g as S}from"./6QFHZ3JL.js";import"./LACXORO5.js";import{b as v}from"./K4J7ONE5.js";import{a as h,b as o}from"./USOHU6ZJ.js";import{b as I}from"./XWJ5XRDA.js";import{a as $}from"./F4VOMVZI.js";import{D as L,E as u,I as F,c as w,d as a,g as p,o as y,q as b}from"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";var k=w`@layer{/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.width-full{width:100%!important}.width-0{width:0}.height-full{height:100%!important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{background-color:var(--calcite-color-foreground-1)!important;border-block-end:1px solid var(--calcite-color-border-3);display:flex;justify-content:center;padding:5px 0}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}.report-submitted-msg{position:absolute;z-index:1000}.share-node{display:flex}}`,f=class extends L{constructor(){super(),this.center="",this.commentButtonText="",this.commentSubmittedMessage="",this.defaultWebmap="",this.description="",this.enableAnonymousAccess=!1,this.enableAnonymousComments=!1,this.enableComments=!1,this.enableHome=!0,this.enableLogin=!1,this.enableNewReports=!1,this.enableSearch=!0,this.enableSnapping=!1,this.enableZoom=!0,this.isMobile=!1,this.layerExpressions=[],this.layerId="",this.level="",this.loginTitle="",this.mapInfos=[],this.objectId="",this.reportButtonText="",this.reportsHeader="",this.reportSubmittedMessage="",this.showComments=!1,this.showUserImageInCommentsList=!1,this.showFeatureSymbol=!1,this.showMyReportsOnly=!1,this.submitNewReportsMessage="",this.theme="light",this.floorLevel="",this.showFullCommentTitle=!0,this.filterByMapExtent=!1,this.sortOption="newest",this.reportingArea=!1,this.reportingAreaLayer="",this.reportingAreaMessage="",this._featureCreationFailedErrorMsg="",this._filterActive=!1,this._flowItems=[],this._hasValidLayers=!1,this._reportSubmitted=!1,this._selectedLayerName="",this._showSubmitCancelButton=!1,this._showLoadingIndicator=!1,this._sidePanelCollapsed=!1,this._translations=$({name:"crowdsource-reporter",blocking:!0}),this._updatedProgressBarStatus=25,this._updatedSortOption="newest",this._commentSubmitted=!1,this._addingCommentFailed=!1,this._filterOpen=!1,this._showNextButton=!1,this._submitNextButtonDisabled=!1,this._createFeature=h(),this._currentFeatureId="",this._editableLayerIds=[],this._featureDetails=h(),this._featureList=h(),this._selectedRelatedFeature=[],this._filterList=h(),this._layerList=h(),this._createRelatedFeature=h(),this._layers=[],this._mapImageryLayersId=[],this._selectedFeature=[],this._selectedFeatureIndex=0,this._selectedLayerId="",this._shareNode=h(),this._urlParamsLoaded=!1,this._validLayers=[],this._nonVisibleValidLayers=[],this._showFullPanel=!1,this._floorExpression="",this._formElements=[],this._prevSelectedLayerId="",this._t9nLayerExpressions=[],this._reportSubmittedAlert=h(),this.togglePanel=y(),E(window)}static{this.properties={center:1,commentButtonText:1,commentSubmittedMessage:1,defaultWebmap:1,description:1,enableAnonymousAccess:5,enableAnonymousComments:5,enableComments:5,enableHome:5,enableLogin:5,enableNewReports:5,enableSearch:5,enableSnapping:5,enableZoom:5,isMobile:5,layerExpressions:0,layerId:1,level:1,loginTitle:1,mapInfos:0,mapView:0,objectId:1,reportButtonText:1,reportingOptions:0,reportsHeader:1,reportSubmittedMessage:1,searchConfiguration:0,showComments:5,showUserImageInCommentsList:5,showFeatureSymbol:5,showMyReportsOnly:5,submitNewReportsMessage:1,theme:1,zoomToScale:9,floorLevel:1,showFullCommentTitle:5,filterByMapExtent:5,sortOption:1,reportingArea:5,reportingAreaLayer:1,reportingAreaMessage:1,_featureCreationFailedErrorMsg:16,_filterActive:16,_flowItems:16,_hasValidLayers:16,_mapInfo:16,_reportSubmitted:16,_selectedLayerName:16,_showSubmitCancelButton:16,_showLoadingIndicator:16,_sidePanelCollapsed:16,_translations:16,_updatedProgressBarStatus:16,_updatedSorting:16,_updatedSortOption:16,_commentSubmitted:16,_addingCommentFailed:16,_filterOpen:16,_showNextButton:16,_submitNextButtonDisabled:16}}static{this.styles=k}static{this.shadowRootOptions=b}willUpdate(e){e.has("isMobile")&&this.isMobileWatchHandler(this.isMobile),e.has("mapView")&&this.mapViewWatchHandler(),e.has("floorLevel")&&this.floorLevelWatchHandler(),(e.has("reportingAreaLayer")||e.has("reportingArea")&&this.hasUpdated)&&setTimeout(()=>{this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)},50),e.has("showMyReportsOnly")&&(this.hasUpdated||this.showMyReportsOnly!==!1)&&this.showMyReportsOnlyWatchHandler(),e.has("sortOption")&&(this.hasUpdated||this.sortOption!=="newest")&&this.sortOptionWatchHandler(),e.has("filterByMapExtent")&&(this.hasUpdated||this.filterByMapExtent!==!1)&&this.filterByMapExtentChangeWatchHandler(),e.has("layerExpressions")&&(this.hasUpdated||this.layerExpressions?.length>0)&&this.layerExpressionsWatchHandler(),e.has("showFeatureSymbol")&&(this.hasUpdated||this.showFeatureSymbol!==!1)&&this.showFeatureSymbolWatchHandler(),(this._flowItems.includes("filter-panel")||this._filterOpen)&&this._filterList.value?.updateInitDefExpressions({initDefExpressions:this._initDefExpressions})}async isMobileWatchHandler(e){this.updatePanelState(!1,this._showFullPanel),e&&this._flowItems[this._flowItems.length-1]==="filter-panel"?(await this.backFromFilterPanel(),this._filterOpen=!0):!e&&this._filterOpen&&(await this._closeFilter(),this._flowItems=[...this._flowItems,"filter-panel"])}async mapViewWatchHandler(){await this.mapView?.when(async()=>{this.setInitExpressions(),await this.setMapView()})}async floorLevelWatchHandler(){if(this._editableLayerIds)for(let e of this._editableLayerIds){let t=this.mapView&&await d(this.mapView,e);t&&t.floorInfo?.floorField&&this._updateFloorDefinitionExpression(t)}this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value&&await this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh(),this._createFeature.value&&this._createFeature.value.refresh(this.floorLevel)}async showMyReportsOnlyWatchHandler(){this._editableLayerIds&&(await this._updateFeatures(),this.refreshLists())}async sortOptionWatchHandler(){this.updateSortingOptions()}filterByMapExtentChangeWatchHandler(){this.refreshLists()}async layerExpressionsWatchHandler(){this.resetFilterList(),await this.handleSelectedLayersFilter(),await this._featureList.value?.refresh()}async showFeatureSymbolWatchHandler(){await this._featureList.value?.refresh()}async updateLayerExpressionsT9n(e){if(this._t9nLayerExpressions=e||this.layerExpressions,this._filterList.value!=null)await this._filterList.value.handleUpdatingT9nData(this._t9nLayerExpressions);else if(this._currentLayerExpressions!=null){let t=structuredClone(this._currentLayerExpressions);this.handleLayerExpressionsT9n(t,this._t9nLayerExpressions),this._currentLayerExpressions=t}return Promise.resolve()}async load(){this._urlParamsLoaded=!1,await this._initModules(),await this.mapView?.when(async()=>{this._layers=this.reportingOptions?Object.keys(this.reportingOptions).filter(e=>{let t=e&&this.reportingOptions&&this.reportingOptions[e];return t&&t.visible}):[],this.setInitExpressions(),await this.setMapView()})}render(){let e=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return a`${this._reportSubmitted&&a`<calcite-alert auto-close class=${`${e} report-submitted-msg`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._reportSubmitted=!1}} open placement=top><div slot=message .innerHTML=${(this.reportSubmittedMessage||this._translations.submitMsg)??""} ${o(this._reportSubmittedAlert)}></div></calcite-alert>`||""}${this._featureCreationFailedErrorMsg&&a`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._featureCreationFailedErrorMsg=""}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._featureCreationFailedErrorMsg}</div></calcite-alert>`||""}${this._commentSubmitted&&a`<calcite-alert auto-close class=${`report-submitted ${e}`} icon=check-circle kind=success label @calciteAlertClose=${()=>{this._commentSubmitted=!1}} open placement=top><div slot=message>${this.commentSubmittedMessage||this._translations.commentSubmittedMsg}</div></calcite-alert>`||""}${this._addingCommentFailed&&a`<calcite-alert auto-close class=${u(e)} icon=x-octagon kind=danger label @calciteAlertClose=${()=>{this._addingCommentFailed=!1}} open placement=top><div slot=title>${this._translations.error}</div><div slot=message>${this._translations.addingCommentFailedMsg}</div></calcite-alert>`||""}<div><calcite-shell content-behind>${this._getReporter()}</calcite-shell></div>${this.isMobile&&this.filterModal()||""}`}updated(){this.reportSubmittedMessage&&this._reportSubmittedAlert.value?.children[0]&&(this._reportSubmittedAlert.value.children[0].style.margin="0px")}async _initModules(){let[e,t,i,s]=await I(["esri/core/reactiveUtils","esri/layers/support/FeatureFilter","esri/rest/identify","esri/rest/support/IdentifyParameters"]);this.reactiveUtils=e,this.FeatureFilter=t,this.identify=i,this.IdentifyParameters=s}async setSelectedLayer(e,t){this._selectedLayerId=e,this._selectedLayer=this.mapView&&await d(this.mapView,e),this._selectedLayerName=t,this._validLayers.forEach(i=>{this._nonVisibleValidLayers.find(s=>s.id===i.id)||i.set("visible",!e||i.id===e)})}_getLayersConfig(e){return this.reportingOptions&&this.reportingOptions[e]?this.reportingOptions[e]:null}_getReporter(){let e=[];this._flowItems.forEach(i=>{switch(i){case"layer-list":e.push(this.getLayerListFlowItem());break;case"feature-list":e.push(this.getFeatureListFlowItem(this._selectedLayerId,this._selectedLayerName));break;case"filter-panel":e.push(this.getFilterPanel());break;case"feature-details":e.push(this.getFeatureDetailsFlowItem());break;case"reporting-layer-list":e.push(this.getChooseCategoryFlowItem());break;case"feature-create":e.push(this.getFeatureCreateFlowItem());break;case"comment-details":e.push(this.getCommentDetailsFlowItem());break;case"add-comment":e.push(this.getAddCommentFlowItem());break}});let t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return a`<calcite-panel class=${`width-full ${t}`}>${this.mapView?a`<calcite-flow>${e?.length>0&&e||""}</calcite-flow>`:a`<calcite-loader label scale=m></calcite-loader>`}</calcite-panel>`}filterModal(){return(this.layerExpressions?this.layerExpressions.filter(e=>e.id===this._selectedLayerId):[]).length>0&&a`<calcite-modal aria-labelledby=modal-title class="modal" kind=brand @calciteModalClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width-scale=s><div class="display-flex align-center" id=modal-title slot=header>${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)}</div><div slot=content>${this.mapView&&a`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>{this._filterActive=!1,this._featureList.value&&this._featureList.value.refresh()}} @filterUpdate=${()=>{this._filterList.value?.filterCount!==void 0&&this._handleFilterUpdate(this._filterList.value?.filterCount>0)}} reset-btn .view=${this.mapView} ${o(this._filterList)}></instant-apps-filter-list>`||""}</div></calcite-modal>`||""}_toggleFilter(){this._filterOpen=!this._filterOpen}async _closeFilter(){this._filterOpen=!1,this._filterList.value!=null&&(this._currentLayerExpressions=await this._filterList.value.getCurrentLayerExpressions())}async sortOptionClick(e,t,i){this._updatedSorting={field:e,order:t},this._updatedSortOption=i}_toggleSort(){let e=this.reportingOptions&&this.reportingOptions[this._selectedLayerId]&&this.reportingOptions[this._selectedLayerId].like&&this.reportingOptions[this._selectedLayerId].likeField;return a`<calcite-popover auto-close label offset-distance=0 .placement=${this.isMobile?"leading-start":"bottom-start"} pointer-disabled reference-element=sort-popover><calcite-list label selection-mode=single-persist><calcite-list-item .label=${this._translations.sortNewest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"desc","newest")}} .selected=${this._updatedSortOption==="newest"} value=newest></calcite-list-item><calcite-list-item .label=${this._translations.sortOldest} @calciteListItemSelect=${()=>{this._selectedLayer&&this.sortOptionClick(this._selectedLayer.objectIdField,"asc","oldest")}} .selected=${this._updatedSortOption==="oldest"} value=oldest></calcite-list-item>${e&&a`<calcite-list-item .label=${this._translations.sortHighestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t!==void 0&&this.sortOptionClick(t,"desc","highestVoted")}} .selected=${this._updatedSortOption==="highestVoted"} value=highestVoted></calcite-list-item><calcite-list-item .label=${this._translations.sortLowestVoted} @calciteListItemSelect=${()=>{let t=this.reportingOptions&&this.reportingOptions[this._selectedLayerId].likeField;t&&this.sortOptionClick(t,"asc","lowestVoted")}} .selected=${this._updatedSortOption==="lowestVoted"} value=lowestVoted></calcite-list-item>`||""}</calcite-list></calcite-popover>`}async _handleFilterListReset(){this._filterActive=!1}async _handleFilterUpdate(e){this._showLoadingIndicator=!0,this._filterActive=e,this._featureList.value&&await this._featureList.value.refresh(),this._showLoadingIndicator=!1}getLayerListFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportsHeader} .selected=${this._flowItems[this._flowItems.length-1]==="layer-list"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this._hasValidLayers&&this.enableNewReports&&a`<calcite-button appearance=solid @click=${this.navigateToChooseCategory} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel><layer-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} .layers=${this._editableLayerIds?.length>0?this._editableLayerIds:this._layers} .mapView=${this.mapView} @layerSelect=${this.displayFeaturesList} @layersListLoaded=${this.layerListLoaded} show-feature-count show-next-icon ${o(this._layerList)}></layer-list></calcite-panel></calcite-flow-item>`}getChooseCategoryFlowItem(){let e=this.reportingOptions?Object.keys(this.reportingOptions).filter(t=>this.reportingOptions&&this.reportingOptions[t].visible&&this.reportingOptions[t].reporting&&this._layerItemsHash&&this._layerItemsHash[t]&&this._layerItemsHash[t].supportsAdd):[];return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="reporting-layer-list"}><calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.chooseCategoryMsg}</div></calcite-notice><layer-list class="height-full" .layers=${e} .mapView=${this.mapView} @layerSelect=${this.navigateToCreateFeature}></layer-list></calcite-panel></calcite-flow-item>`}getFeatureCreateFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} @calciteFlowItemBack=${this.backFromCreateFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-create"}>${this._showSubmitCancelButton&&a`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${this._submitNextButtonDisabled} @click=${this._showNextButton?this.onNextButtonClick.bind(this):this.onCreateFeatureSubmitButtonClick.bind(this)} width=full>${this._showNextButton?this._translations.next:this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}<calcite-panel><div class="progress-bar"><calcite-progress type=determinate .value=${this._updatedProgressBarStatus}></calcite-progress></div><create-feature customize-submit enable-search .enableSnapping=${this.enableSnapping} .floorLevel=${this.floorLevel} .formElements=${this._formElements.find(e=>e.id===this._selectedLayerId)} .reportingAreaLayer=${this.reportingAreaLayer} .isMobile=${this.isMobile} .mapView=${this.mapView} @drawComplete=${this.onFormReady} @editingLocation=${this.editingLocation} @editingAttachment=${this.showSubmitCancelButton} @fail=${this.createFeatureFailed} @modeChanged=${this.backFromCreateFeaturePanel} @progressStatus=${this.updatedProgressStatus} @success=${this.onReportSubmitted} .searchConfiguration=${this.searchConfiguration} .selectedLayerId=${this._selectedLayerId} .reportingArea=${this.reportingArea} .reportingAreaMessage=${this.reportingAreaMessage} .submitNewReportsMessage=${this.submitNewReportsMessage} update-map-position ${o(this._createFeature)}></create-feature></calcite-panel></calcite-flow-item>`}updatedProgressStatus(e){this._updatedProgressBarStatus=e.detail}onFormReady(e){this._submitNextButtonDisabled=e.detail,this._showSubmitCancelButton=!0}editingLocation(){this._showNextButton=!0}showSubmitCancelButton(e){this._showSubmitCancelButton=!e.detail}onCreateFeatureSubmitButtonClick(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this._createFeature.value.submit())}backFromCreateFeaturePanel(){this._createFeature.value&&(this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updateNonVisibleLayersOnMap(!1)),this.backFromSelectedPanel()}onNextButtonClick(){this._createFeature.value&&(this._showNextButton=!1,this._showSubmitCancelButton=!0,this._createFeature.value.showForm())}onCreateRelatedFeatureSubmitButtonClick(){this._createRelatedFeature.value&&this._createRelatedFeature.value.submit()}backFromCreateRelatedFeaturePanel(){this._createRelatedFeature.value&&(this._showSubmitCancelButton=!1),this.backFromSelectedPanel()}createFeatureFailed(e){console.error(e.detail),this._featureCreationFailedErrorMsg=e.detail.message}async onReportSubmitted(){this.updateNonVisibleLayersOnMap(!1),await this.navigateToHomePage(),this._reportSubmitted=!0,this._updatedProgressBarStatus=25,this._showFullPanel&&this.updatePanelState(this._sidePanelCollapsed,!1)}addCommentFailed(e){console.error(e.detail),this._addingCommentFailed=!0}async onCommentSubmitted(){this._commentSubmitted=!0,this.backFromSelectedPanel(),this._showLoadingIndicator=!0,this._featureDetails.value&&await this._featureDetails.value.refresh(this._currentFeature),setTimeout(()=>{this._showLoadingIndicator=!1},300)}async navigateToHomePage(){await this.setSelectedFeatures([]),this._layerList.value&&await this._layerList.value.refresh(),this._editableLayerIds.length===1?(this._featureList.value&&await this._featureList.value.refresh(),this._flowItems=["feature-list"]):this._flowItems=["layer-list"]}async navigateToCreateFeature(e){e.detail.layerId&&e.detail.layerName&&await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateNonVisibleLayersOnMap(!0),this._getFormElements(),this._showSubmitCancelButton=!1,this._showNextButton=!1,this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"feature-create"]}navigateToChooseCategory(){this.updatePanelState(!1,!0),this._flowItems=[...this._flowItems,"reporting-layer-list"]}updateNonVisibleLayersOnMap(e){this._nonVisibleValidLayers.find(t=>t.id===this._selectedLayerId)&&this._selectedLayer&&this._selectedLayer.set("visible",e)}async layerListLoaded(e){if(this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"||this._flowItems[0]==="feature-list"){let t=e.detail,i=this.mapView&&await _(this.mapView),s=[];this._validLayers=[],this._nonVisibleValidLayers=[],i?.forEach(l=>{t.includes(l.id)&&(this._validLayers.push(l),l.visible||this._nonVisibleValidLayers.push(l),this._getLayersConfig(l.id)?.reporting&&this._layerItemsHash&&this._layerItemsHash[l.id]&&this._layerItemsHash[l.id].supportsAdd&&s.push(l.id))}),this.handleMapClick(),this._hasValidLayers=s.length>0,this._urlParamsLoaded||(this._urlParamsLoaded=!0,await this.loadFeatureFromURLParams())}}async displayFeaturesList(e){await this.setSelectedLayer(e.detail.layerId,e.detail.layerName),this.updateSortingOptions(),this.handleSelectedLayersFilter(),this._flowItems=[...this._flowItems,"feature-list"],this._prevSelectedLayerId=this._selectedLayerId}updateSortingOptions(){let e=this.sortOption===""?"newest":this.sortOption,t=e==="oldest"||e==="lowestVoted"?"asc":"desc",i=this.reportingOptions?.[this._selectedLayerId]?.like?this.reportingOptions?.[this._selectedLayerId]?.likeField:"",s=this._selectedLayer&&(e==="newest"||e==="oldest")?this._selectedLayer?.objectIdField:i;this._updatedSorting={field:s||"",order:t},this._updatedSortOption=!i&&(e==="highestVoted"||e==="lowestVoted")?"newest":e}async backFromFilterPanel(){this._filterList.value!=null&&(this._currentLayerExpressions=await this._filterList.value.getCurrentLayerExpressions()),this._featureList.value&&await this._featureList.value.refresh(),this.backFromSelectedPanel()}backFromSelectedPanel(){this._updatedProgressBarStatus=25;let e=[...this._flowItems];if(e[e.length-1]==="comment-details"||e[e.length-1]==="add-comment"||this.clearHighlights(),(e[e.length-1]==="reporting-layer-list"||e[e.length-1]==="feature-create"&&(e[0]==="feature-list"||e[e.length-2]==="feature-list"))&&this.updatePanelState(this._sidePanelCollapsed,!1),e.pop(),e.length===1&&e[0]==="layer-list"){this.navigateToHomePage();return}this._flowItems=[...e]}toggleSidePanel(){this._sidePanelCollapsed=!this._sidePanelCollapsed,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}updatePanelState(e,t){this._sidePanelCollapsed=e,this._showFullPanel=t,this.togglePanel.emit({panelState:this._sidePanelCollapsed,isFormOpen:this._showFullPanel})}async onFeatureSelectFromList(e){await this.setSelectedFeatures([e.detail]),this._flowItems=[...this._flowItems,"feature-details"]}async getRelatedTable(){let e=this._currentFeature?.layer,t=this.mapView&&await x(this.mapView);e.relationships?.some(i=>{let s=t?.filter(l=>e.url===l.url&&l.layerId===i.relatedTableId);return s&&s.length>0?(this._relatedTable=s[0],!0):!1})}async updatingFeatureDetails(e){this._showLoadingIndicator=e}async selectionChanged(e){this.updatingFeatureDetails(!0),await this.setCurrentFeature(e.detail.selectedFeature[0]),this.highlightOnMap(e.detail.selectedFeature[0]),this._selectedFeatureIndex=e.detail.selectedFeatureIndex,this._featureDetails.value&&await this._featureDetails.value.refresh(e.detail.selectedFeature[0])}showAddCommentsPanel(){this._flowItems=[...this._flowItems,"add-comment"]}async onCommentSelectFromList(e){this._selectedRelatedFeature=[e.detail],this._flowItems=[...this._flowItems,"comment-details"]}getFeatureListFlowItem(e,t){let i=this._getLayersConfig(this._selectedLayerId)?.reporting&&this._layerItemsHash&&this._layerItemsHash[this._selectedLayerId].supportsAdd,s=this._currentLayerExpressions?.length;return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${t} .loading=${!this.isMobile&&this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-list"}>${this._toggleSort()}<calcite-action icon=sort-ascending-arrow id=sort-popover slot=header-actions-end .text=${this._translations.sort} title=${this._translations.sort??p}></calcite-action>${s&&a`<calcite-action icon=filter .indicator=${this._filterActive} @click=${()=>{this.isMobile?this._toggleFilter():this._flowItems=[...this._flowItems,"filter-panel"]}} slot=header-actions-end .text=${this._translations.filter} title=${this._translations.filter??p}></calcite-action>`||""}${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.enableNewReports&&i&&a`<calcite-button appearance=solid @click=${this.navigateToCreateFeature} slot=footer width=full>${this.reportButtonText?this.reportButtonText:this._translations.createReportButtonText}</calcite-button>`||""}<calcite-panel>${a`<feature-list .applyLayerViewFilter=${this.showMyReportsOnly} class="height-full" .filterByMapExtent=${this.filterByMapExtent} highlight-on-hover .mapView=${this.mapView} .noFeaturesFoundMsg=${this._translations.featureErrorMsg} @featureClick=${()=>{this._showLoadingIndicator=!0}} @featureSelect=${this.onFeatureSelectFromList} page-size=30 .reportingOptions=${this.reportingOptions} .selectedLayerId=${e} .showFeatureSymbol=${this.showFeatureSymbol} .sortingInfo=${this._updatedSorting} ${o(this._featureList)}></feature-list>`}</calcite-panel></calcite-flow-item>`}getFilterPanel(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._translations.filterLayerTitle.replace("{{title}}",this._selectedLayerName)} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromFilterPanel} .selected=${this._flowItems[this._flowItems.length-1]==="filter-panel"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer><div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" .disabled=${!this._filterActive} @click=${this.resetFilterList} width=full>${this._translations.resetFilter}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromFilterPanel} width=full>${this._translations.close}</calcite-button></div></div><calcite-panel>${this.mapView&&a`<instant-apps-filter-list .closeBtnOnClick=${()=>{}} combobox-overlay-positioning=fixed .layerExpressions=${this._currentLayerExpressions} @filterListReset=${()=>void this._handleFilterListReset()} @filterUpdate=${()=>{let e=this._filterList.value?.filterCount;e!==void 0&&this._handleFilterUpdate(e>0)}} .view=${this.mapView} ${o(this._filterList)}></instant-apps-filter-list>`||""}</calcite-panel></calcite-flow-item>`}getFeatureDetailsFlowItem(){let e=this._selectedLayer?.relationships,t=this._getLayersConfig(this._selectedLayerId)?.comment&&e&&e.length>0&&this._relatedTable;return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._selectedLayerName} .loading=${this._showLoadingIndicator} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="feature-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}${this.mapView&&a`<instant-apps-social-share class=share-node flip-rtl popover-button-icon-scale=s remove-popover-offset scale=m share-button-color=neutral share-button-type=action slot=header-actions-end social-media .view=${this.mapView} ${o(this._shareNode)}></instant-apps-social-share>`||""}${this._selectedFeature.length>1&&this.getFeaturesPagination()||""}<calcite-panel><feature-details class=full-height .enableSnapping=${this.enableSnapping} .graphics=${this._selectedFeature} .layerItemsHash=${this._layerItemsHash} .mapView=${this.mapView} @addComment=${this.showAddCommentsPanel} @commentClick=${()=>{this._showLoadingIndicator=!0}} @commentSelect=${this.onCommentSelectFromList} @featureSelectionChange=${this.selectionChanged} @likeOrDislikeClicked=${()=>{this._featureList.value&&this._featureList.value.refresh(!0)}} @loadingStatus=${i=>void this.updatingFeatureDetails(i.detail)} .reportingOptions=${this.reportingOptions} .showFullCommentTitle=${this.showFullCommentTitle} .showUserImageInCommentsList=${this.showUserImageInCommentsList} ${o(this._featureDetails)}></feature-details>${t&&a`<calcite-button appearance=solid @click=${this.showAddCommentsPanel} slot=footer width=full>${this.commentButtonText||this._translations.comment}</calcite-button>`||""}</calcite-panel></calcite-flow-item>`}getFeaturesPagination(){return a`<div class="feature-pagination"><div><calcite-button appearance=transparent icon-start=chevron-left id=solutions-back @click=${()=>this._featureDetails.value&&void this._featureDetails.value.back()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-button appearance=transparent @click=${()=>this._featureDetails.value&&void this._featureDetails.value.toggleListView()} scale=s><span class="pagination-count">${this._getCount()}</span></calcite-button><div><calcite-button appearance=transparent icon-start=chevron-right id=solutions-next @click=${()=>this._featureDetails.value&&void this._featureDetails.value.next()} scale=s width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`}getCommentDetailsFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromSelectedPanel} .selected=${this._flowItems[this._flowItems.length-1]==="comment-details"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<calcite-panel><info-card .enableSnapping=${this.enableSnapping} .graphics=${this._selectedRelatedFeature} .mapView=${this.mapView} @selectionChanged=${()=>{this._showLoadingIndicator=!1}}></info-card></calcite-panel></calcite-flow-item>`}getAddCommentFlowItem(){return a`<calcite-flow-item .collapsed=${this.isMobile&&this._sidePanelCollapsed} .heading=${this._relatedTable?.title||""} @calciteFlowItemBack=${this.backFromCreateRelatedFeaturePanel} .selected=${this._flowItems[this._flowItems.length-1]==="add-comment"}>${this.isMobile&&this.getActionToExpandCollapsePanel()||""}<div class=width-full slot=footer>${this._showSubmitCancelButton&&a`<div class=width-full slot=footer><calcite-button appearance=solid class="footer-top-button footer-button" @click=${this.onCreateRelatedFeatureSubmitButtonClick} width=full>${this._translations.submit}</calcite-button><calcite-button appearance=outline class=footer-button @click=${this.backFromCreateRelatedFeaturePanel} width=full>${this._translations.cancel}</calcite-button></div>`||""}</div><calcite-panel><create-related-feature customize-submit .enableSnapping=${this.enableSnapping} .mapView=${this.mapView} @fail=${this.addCommentFailed} @formReady=${this.onFormReady} @isActionPending=${this.showSubmitCancelButton} @success=${this.onCommentSubmitted} .selectedFeature=${this._currentFeature} .table=${this._relatedTable} ${o(this._createRelatedFeature)}></create-related-feature></calcite-panel></calcite-flow-item>`}async setSelectedFeatures(e){this._selectedFeature=e,await this.setCurrentFeature(this._selectedFeature.length?this._selectedFeature[0]:void 0)}async setCurrentFeature(e){if(this._currentFeature=e,e&&e.layer){let t=e.layer;t.title&&this.setSelectedLayer(t.id,t.title),this._currentFeatureId=e.attributes[t.objectIdField],this._getLayersConfig(t.id)?.comment&&t.relationships&&t.relationships.length>0&&await this.getRelatedTable()}else this._editableLayerIds.length>1&&(this.setSelectedLayer("",""),this.handlePrevLayersFilter()),this._currentFeatureId="";this._updateShareURL()}async highlightOnMap(e){if(this.clearHighlights(),e&&e.geometry&&e.layer&&e.layer.id!==void 0){let t=this.mapView&&await m(this.mapView,e.layer.id.toString());if(t){t.highlightOptions=null;let i=Number(e.getObjectId());this._highlightHandle=this.mapView&&await S([i],t,this.mapView,!0,this.zoomToScale)}}this.updatingFeatureDetails(!1)}clearHighlights(){this._highlightHandle&&this._highlightHandle.remove()}getActionToExpandCollapsePanel(){return a`<calcite-action .icon=${this._sidePanelCollapsed?"chevrons-up":"chevrons-down"} @click=${this.toggleSidePanel} slot=header-actions-end .text=${(this._sidePanelCollapsed?this._translations.expand:this._translations.collapse)||""}></calcite-action>`}async setMapView(){await this.getLayersToShowInList(),await this._updateFeatures(),this._editableLayerIds?.length===1?await this.renderFeaturesList():this._flowItems=["layer-list"],this.mapView&&(this.mapView.popupEnabled=!1,this._defaultCenter&&this._defaultLevel&&(await this.mapView.goTo({center:this._defaultCenter,zoom:this._defaultLevel}),this._defaultCenter=void 0,this._defaultLevel=void 0))}handleMapClick(){this._mapClickHandle&&this._mapClickHandle.remove(),this._mapClickHandle=this.reactiveUtils?.on(()=>this.mapView,"click",this.onMapClick.bind(this))}async onMapClick(e){if(this.mapView){this.mapView.popupEnabled=!1;let t=await this.mapView.hitTest(e),i=[],s=[],l=[],n=!1;t.results.length>0&&t.results.forEach(c=>{c.type==="graphic"&&i.push(c.graphic)}),i.length>0&&(await this._setReportingGraphics(i),s=this._getNonReportingLayerGraphics(i)),this._mapImageryLayersId.length>0&&(l=await this._getIdentifiedGraphics(e.mapPoint),n=l.length>0);let r=s.concat(l);if(r.length>0){this.mapView.popupEnabled=!0;let c={features:r,location:e.mapPoint,updateLocationEnabled:!n};await this.mapView.openPopup(c)}}}async _setReportingGraphics(e){let t=e.filter(i=>{if(i.layer?.type==="feature"){let s=i.layer;return this._validLayers.includes(s)}else return!1});t.length>0&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems.includes("feature-details")?(this._flowItems=[...this._flowItems.slice(0,this._flowItems.indexOf("feature-details")+1)],await this.highlightOnMap(e[0])):this._flowItems=[...this._flowItems,"feature-details"])}_getNonReportingLayerGraphics(e){return e.filter(t=>{if(t.layer?.type==="feature"){let i=t.layer;return!this._validLayers.includes(i)&&i?.popupEnabled&&i?.id}else return!1})}async _getIdentifiedGraphics(e){let t=this.IdentifyParameters&&new this.IdentifyParameters({geometry:e,tolerance:3,mapExtent:this.mapView?.extent}),i=this._mapImageryLayersId.map(async n=>{let r=this.mapView&&await d(this.mapView,n);if(r?.url&&t)return await this.identify?.identify(r.url,t)}),s=await Promise.all(i),l=[];return s.forEach(n=>{n.results.forEach(r=>{let c=Object.keys(r.feature.attributes).map(g=>({fieldName:g,label:g}));r.feature.popupTemplate={title:r.layerName,content:[{type:"fields",fieldInfos:c}]},l.push(r.feature)})}),l}_getCount(){let e=(this._selectedFeatureIndex+1).toString(),t=this._selectedFeature.length.toString();return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)}_updateFloorDefinitionExpression(e){let t=`${e?.floorInfo?.floorField} = '${this.floorLevel}'`,i=e.definitionExpression;e.definitionExpression=i&&i?.indexOf(this._floorExpression)>-1?i.replace(this._floorExpression,t):t,this._floorExpression=t}_getFormElements(){let e=this._selectedLayer;if(e?.floorInfo?.floorField&&this.floorLevel&&e?.formTemplate){let t=this._formElements.find(i=>i.id===e.id);(this._formElements.length===0||!t)&&this._formElements.push({id:e.id,orgElements:e.formTemplate.elements,orgExpressionInfos:e.formTemplate.expressionInfos})}}reduceToConfiguredLayers(e,t){return Object.keys(e).reduce((i,s)=>{let l=this.reportingOptions?this._getLayersConfig(s)?.visible:e[s].supportsAdd;return!t.includes(s)&&l&&i.push(s),i},[])}refreshLists(){setTimeout(()=>{this._layerList.value&&this._flowItems[this._flowItems.length-1]==="layer-list"&&this._layerList.value.refresh(),this._featureList.value&&this._featureList.value.refresh()},50)}async _updateFeatures(){for(let e of this._editableLayerIds){let t=this.mapView&&await m(this.mapView,e);t&&(await this._showMyFeaturesOnly(t),t.layer?.floorInfo?.floorField&&this.floorLevel&&this._updateFloorDefinitionExpression(t.layer))}}async _showMyFeaturesOnly(e){let t=(this.mapView?.map).portalItem.portal?.credential?.userId;if(t&&e){let i=e.layer.editFieldsInfo?.creatorField.toLowerCase();e.filter=this.showMyReportsOnly&&i&&this.FeatureFilter?new this.FeatureFilter({where:i+"='"+t+"'"}):null}}async getLayersToShowInList(){let e=this.mapView&&await C(this.mapView,!0),t=this.mapView&&await _(this.mapView),i=[];t?.forEach(s=>{s?.type==="feature"&&s?.editingEnabled&&s?.capabilities?.operations?.supportsAdd&&(e[s.id].supportsAdd=!0),s?.editingEnabled||i.push(s.id)}),this._editableLayerIds=this.reduceToConfiguredLayers(e,i),this._layerItemsHash=e}async renderFeaturesList(){this._flowItems=["feature-list"];let e={detail:this._editableLayerIds};await this.layerListLoaded(e),await this.setSelectedLayer(this._validLayers[0].id,this._validLayers[0]?.title||""),this.updateSortingOptions(),this.handleSelectedLayersFilter()}_updateShareURL(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this._selectedLayerId?t.searchParams.set("layerid",this._selectedLayerId):t.searchParams.delete("layerid"),this._selectedFeature?.length?t.searchParams.set("oid",this._currentFeatureId):t.searchParams.delete("oid"),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}async loadFeatureFromURLParams(){if(this.center&&this.level&&await this.mapView?.goTo({center:this.center.split(";").map(Number),zoom:this.level}),this.layerId&&this.objectId){let e=this.mapView&&await d(this.mapView,this.layerId);if(e){let t=this.mapView&&await v([Number(this.objectId)],e,[],!0,this.mapView.spatialReference);t?.length&&(await this.setSelectedFeatures(t),this._flowItems.length&&this._flowItems[this._flowItems.length-1]!=="feature-details"?this._flowItems=[...this._flowItems,"feature-details"]:this._flowItems=[...this._flowItems])}}}async handleSelectedLayersFilter(){if(this._selectedLayer){let e=this.layerExpressions?structuredClone(this.layerExpressions.filter(t=>t.id===this._selectedLayerId)):[];this._t9nLayerExpressions!=null&&this.handleLayerExpressionsT9n(e,this._t9nLayerExpressions),this._currentLayerExpressions=e,this.setActiveDefinitionExpressions()}}async handlePrevLayersFilter(){if(this._prevSelectedLayerId){let e=this.mapView&&await d(this.mapView,this._prevSelectedLayerId);e&&this._initDefExpressions&&(e.definitionExpression=this._initDefExpressions[this._prevSelectedLayerId])}}resetFilterList(){this._filterList.value?.forceReset(),this._selectedLayer!==void 0&&this._initDefExpressions&&(this._selectedLayer.definitionExpression=this._initDefExpressions[this._selectedLayerId],this._filterActive=!1)}setActiveDefinitionExpressions(){if(this._selectedLayer===void 0)return;let e=[];if(this._currentLayerExpressions&&this._currentLayerExpressions?.length>0){let t=this._currentLayerExpressions[0];for(let i of t.expressions){let{active:s,definitionExpression:l}=i;s&&l&&e.push(`(${l})`)}this._filterActive=e.length>0,this.updateFilterLayerDefExpression(e,t.operator)}}updateFilterLayerDefExpression(e,t){let i=this._initDefExpressions&&this._initDefExpressions[this._selectedLayerId],s=e?.length>0&&i?`(${e.join(t)}) AND (${i})`:e.length>0?e.join(t):i;this._selectedLayer&&(this._selectedLayer.definitionExpression=s)}setInitExpressions(){if(this._initDefExpressions={},this.mapView==null)return;let e=this.mapView.map;e.allLayers.concat(e.allTables).forEach(t=>{if(t.type==="map-image"&&!this._mapImageryLayersId.includes(t.id)){this._mapImageryLayersId.push(t.id);return}if(t.type!=="feature")return;let i=t;this._initDefExpressions&&(this._initDefExpressions[i.id]=i.definitionExpression||"")})}handleLayerExpressionsT9n(e,t){e?.forEach(i=>{let s=t?.find(l=>l.id===i.id);s!=null&&(i.title=s.title,i.expressions?.forEach(l=>{let n=s.expressions?.find(r=>r.id===l.id);n!=null&&(l.name=n.name)}))})}};F("crowdsource-reporter",f);export{f as CrowdsourceReporter};
|
package/dist/cdn/VQ7R4YV2.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a,b}from"./3UOZA57X.js";import"./IJRPDGUW.js";import"./2ZYEO4QU.js";import"./HQKIH26Q.js";import"./73M3K3MB.js";import"./FQLSHIBF.js";export{a as EventEditorTypes,b as buildSchema};
|
package/dist/cdn/X3XUCW5D.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import a from"./2AFE7E7M.js";import{a as y,c as f}from"./UXMQRK5S.js";import"./B5IEC4IT.js";import"./5TTXDO2X.js";import"./CWNIFA6D.js";import"./CNEWKYEJ.js";import"./XC5VKQJJ.js";import"./VT5P4INT.js";import{j as g,k as m,n as r}from"./LACXORO5.js";import{a as p}from"./F4VOMVZI.js";import{C as i,D as c,G as d,I as u,c as n,d as s,e as l,o as h}from"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";export default $arcgis.t(([{b:a,c:_}])=>{var x=n`/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/calcite-panel{width:100%;height:100%}.card-group{overflow:hidden;padding:.5rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}.display-flex{display:flex}.flex-direction-column{flex-direction:column}`,o=class extends c{constructor(){super(...arguments),this.authContextConsumer=i({context:f,subscribe:!0}),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="created",this.userSessionContextConsumer=i({context:y,subscribe:!0}),this.cards=[],this._translations=p({name:"solutions-deployed-panel",blocking:!0}),this._allCards=[],this._agoTerms=r,this._baseAgoTerms=r,this._categories=[],this._delay=!1,this._sortField="created",this._sortOrder="desc",this.deployedCardsFetched=h()}static{this.properties={authContextConsumer:32,agoSolutionsGroupId:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,userSessionContextConsumer:32,cards:16,_translations:16}}static{this.styles=x}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),await this._getDeployedSolutions()}async load(){this._cardsFetcher=new a(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new a(this.locale,this.orgUrl,this.portalUrl),await this._getDeployedSolutions()}render(){return s`<calcite-panel><calcite-card-group class="card-group" label>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this.cards.length?this.cards.map(e=>s`<solution-deployed-card .deployedDate=${e.created} .description=${e.snippet} .heading=${e.title} itemId=${e.id??d} .owner=${e.owner} .thumbnail=${e.thumbnailUrl}></solution-deployed-card>`):s`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1 display-flex flex-direction-column"><span>${this._translations.noSolutionsYet}</span><span>${this._translations.noSolutionsInstruction}</span></div></div>`}async _getDeployedSolutions(){let e=await _(this.authContextConsumer.value,this.userSessionContextConsumer.value,this._cardsFetcher,this._cardsFetcherDeployed,this._agoTerms,this._sortField,this._sortOrder,this._delay,this._categories,this._allCards);this.cards=e?.cards??[],e?.relatedSolutions&&(this._relatedSolutions=e?.relatedSolutions,console.log(this._relatedSolutions)),this.deployedCardsFetched.emit(this.cards.length)}_getSolutionsBriefcase(){return s`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${l`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;(t==="relevance"||t==="title")&&(t==="title"&&(this._sortOrder="asc"),this._sortField=t),this.sortType=t}_filterCards(e){if(e.industry){let t=this._getIndustryValue(e.industry);if(e.domain){let C=this._getDomainValue(e.domain);this._categories=[`/Categories/${t}/${C}`]}else this._categories=[`/Categories/${t}`];this._getDeployedSolutions()}}_getDomainValue(e){return m[e]}_getIndustryValue(e){return e==="AEC"?"AEC":g[e]}_clearFilterCategories(){this._categories=[]}};u("solutions-deployed-panel",o);return o},a)
|
package/dist/cdn/XISD2FJX.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a as s}from"./GXKZH3J4.js";import"./AC6N4APV.js";import"./ZHGAX6R3.js";import"./VT5P4INT.js";import"./3OXV4AIJ.js";import"./FQLSHIBF.js";var a=async(e,r,l)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.groupAccess.label`,scope:"/properties/_associations/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.groupAccess.helperText`},labels:[`{{${e}.fields.groupAccess.private.label:translate}}`,`{{${e}.fields.groupAccess.org.label:translate}}`,`{{${e}.fields.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.groupAccess.private.description:translate}}`,`{{${e}.fields.groupAccess.org.description:translate}}`,`{{${e}.fields.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/_associations/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org:translate}}`,`{{${e}.fields.membershipAccess.collab:translate}}`,`{{${e}.fields.membershipAccess.any:translate}}`],disabled:[!1,!s("platform:portal:user:addExternalMembersToGroup",l).access,!s("platform:portal:user:addExternalMembersToGroup",l).access]}}]}]});export{a as buildUiSchema};
|
package/dist/cdn/Y53CA6HP.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import d from"./2AFE7E7M.js";import{a as U,c as P}from"./UXMQRK5S.js";import{b as T,n as x,o as b}from"./B5IEC4IT.js";import"./5TTXDO2X.js";import"./CWNIFA6D.js";import"./CNEWKYEJ.js";import"./XC5VKQJJ.js";import"./VT5P4INT.js";import{j as w,k as y,l as a,m as c,n as I,o as u,p as A}from"./LACXORO5.js";import{a as v}from"./F4VOMVZI.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"./E7CZ4ZJ7.js";import"./FQLSHIBF.js";export default $arcgis.t(([{a:O,b:d,c:E}])=>{var F=m`/** @license
|
5
|
-
* Copyright 2025 Esri
|
6
|
-
*
|
7
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
* you may not use this file except in compliance with the License.
|
9
|
-
* You may obtain a copy of the License at
|
10
|
-
*
|
11
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
*
|
13
|
-
* Unless required by applicable law or agreed to in writing, software
|
14
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
* See the License for the specific language governing permissions and
|
17
|
-
* limitations under the License.
|
18
|
-
*/calcite-panel{width:100%;height:100%}.card-group{overflow:hidden;padding:.5rem}.solutions-briefcase{margin:auto;padding-top:2rem}.text-center{text-align:center}.leader-1{margin-top:1.5rem}.trailer-1{margin-bottom:1.5rem}.warning-text{max-width:35em;margin-left:auto;margin-right:auto}.no-solutions{display:flex;flex-direction:column;justify-content:center;width:100%;height:100%}`;async function N(s,e,t){let i=t;return s&&(s?.IsEnterprisePortal&&await D("",e)&&i.push(a.NOTEBOOK),await O(e)?t.push(a.VELOCITY):s?.PortalUserPrivileges&&[c.VELOCITYFEEDS,c.VELOCITYBIGDATA,c.VELOCITYREALTIME].forEach(o=>{let r=t.indexOf(o)||-1;r!==-1&&t.splice(r,1)}),i=i.concat(L(V(s),M(s))),i=i.concat(R(s)),i=i.concat(await $(s))),Promise.resolve(i)}function L(s,e){let t=[];return s&&e?t=[a.TRACKINGADMINANDTRACKING,a.TRACKINGADMIN,a.TRACKING]:s&&!e?t=[a.TRACKINGADMIN]:!s&&e&&(t=[a.TRACKING]),t}function R(s){return G(s)?[a.HUBPREMIUM]:[]}async function $(s){let e=await b(s?.RestUserSession);return await x(e,s?.RestUserSession)?[a.WORKFLOW]:[]}async function D(s,e){let t=s+"/sharing/rest",i={authentication:e,portal:t,params:{f:"json"}};return T(`${t}/portals/self/servers`,i).then(o=>o?.servers?.find(r=>r.serverFunction.indexOf("NotebookServer")>-1),o=>(console.error(o),!1))}function V(s){let e=s?.PortalUserSubset;return e?.role==="org_admin"&&!e?.hasOwnProperty("roleId")}function M(s){return s?.PortalSubset?.locationTrackingEnabled||!1}function G(s){return s?.PortalSubset?.hubPremiumEnabled||!1}var g=class extends C{constructor(){super(...arguments),this.authContextConsumer=h({context:P,subscribe:!0}),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="numviews",this.userSessionContextConsumer=h({context:U,subscribe:!0}),this.cards=[],this._translations=v({name:"solutions-all-panel",blocking:!0}),this._agoTerms=`${u} OR ${A}`,this._allCards=[],this._baseAgoTerms=u,this._categories=[],this._delay=!1,this._getSuggested=!1,this._relatedSolutions=new Set,this._sortField="numviews",this._sortOrder="desc",this._userPrivileges=[],this.cardsFetched=_()}static{this.properties={authContextConsumer:32,agoSolutionsGroupId:1,enterpriseSolutionsGroupId:1,locale:1,orgUrl:1,portalUrl:1,sortType:1,userSessionContextConsumer:32,cards:16,_translations:16}}static{this.styles=F}async searchSolutions(e){e?"searchTerm"in e?this._textSearch(e.searchTerm):"sortType"in e?this._sortCards(e):this._filterCards(e):(this._agoTerms=this._baseAgoTerms,this._clearFilterCategories()),this.cards=await this._getSolutions()}async load(){this._cardsFetcher=new d(this.locale,this.orgUrl,this.portalUrl),this._cardsFetcherDeployed=new d(this.locale,this.orgUrl,this.portalUrl),this.cards=await this._getSolutions(),await this._getDeployedSolutions(),this._userPrivileges=await this._getUserPrivileges(),console.log(this._userPrivileges)}render(){return n`<calcite-panel><calcite-card-group class="card-group" label>${this._renderCards()}</calcite-card-group></calcite-panel>`}_renderCards(){return this.cards.length?this.cards.map(e=>n`<solution-details-card .chip=${e.chip} .description=${e.description} .heading=${e.heading} itemId=${e.itemId??S} .thumbnail=${e.thumbnail}></solution-details-card>`):n`<div class="no-solutions">${this._getSolutionsBriefcase()}<div class="text-center leader-1 warning-text trailer-1">${this._translations.noSolutionsFound}</div></div>`}async _getSolutions(){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},this.agoSolutionsGroupId,"",this.userSessionContextConsumer.value,{num:1e3}),t="/Categories/New Release",i=e?.cards.length?e.cards:[];this.sortType==="new"&&i.sort((r,l)=>r.categories.includes(t)&&!l.categories.includes(t)?-1:!r.categories.includes(t)&&l.categories.includes(t)?1:r.categories.includes(t)&&l.categories.includes(t)?r.categories.length-l.categories.length:0);let o=i.map(r=>({chip:r.categories.indexOf(t)>-1?"updated":"none",description:r.snippet,heading:r.title,itemId:r.id,thumbnail:r.thumbnailUrl}));return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards),this.cardsFetched.emit(o.length),o}async _getDeployedSolutions(){let e=this.authContextConsumer.value,t=this.userSessionContextConsumer.value;if(e&&t){let i=await E(e,t,this._cardsFetcher,this._cardsFetcherDeployed,I,"created");i&&(this._relatedSolutions=i.relatedSolutions,console.log(this._relatedSolutions))}}async _getUserPrivileges(){let e=[],t=this.authContextConsumer.value,i=this.userSessionContextConsumer.value;return i&&t&&(e=t.PortalUserPrivileges?await N(t,i,t?.PortalUserPrivileges):[]),e}_getSolutionsBriefcase(){return n`<div class="solutions-briefcase"><svg viewBox="0 0 32 32" width=200 height=200 xmlns=http://www.w3.org/2000/svg>${p`<path d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" fill=#ccc /><path d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" fill=#ccc />`}</svg></div>`}_textSearch(e){this._agoTerms=this._baseAgoTerms+` ${e}`}_sortCards(e){let t=e.sortType;this._getSuggested=!1,this._sortOrder="desc",t==="suggested"?this._getSuggested=!0:t==="new"?this._sortField="relevance":(t==="relevance"||t==="title"||t==="numviews")&&(t==="title"&&(this._sortOrder="asc"),this._sortField=t),this.sortType=t}_filterCards(e){if(e.industry){let t=this._getIndustryValue(e.industry);if(e.domain){let i=this._getDomainValue(e.domain);this._categories=[`/Categories/${t}/${i}`]}else this._categories=[`/Categories/${t}`];this._getSolutions()}}_getDomainValue(e){return y[e]}_getIndustryValue(e){return e==="AEC"?"AEC":w[e]}_clearFilterCategories(){this._categories=[]}};f("solutions-all-panel",g);return g},d)
|
package/dist/cdn/YN6OX32H.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a as o}from"./RIR7ISEG.js";import{a as r}from"./GXKZH3J4.js";import"./AC6N4APV.js";import"./ZHGAX6R3.js";import"./VT5P4INT.js";import{a as s}from"./O6YU35I2.js";import"./OZDEHP24.js";import"./JVV2LRKV.js";import"./3OXV4AIJ.js";import"./SCCCHUE7.js";import"./PODWXGKR.js";import"./AWTEJER6.js";import"./Y4ZIUU3O.js";import"./YWL5BSMR.js";import"./OVYTYWMG.js";import"./OWQIRWGB.js";import"./3UOZA57X.js";import"./IJRPDGUW.js";import"./2ZYEO4QU.js";import"./HQKIH26Q.js";import"./MTDTWNGL.js";import"./EMZ6RPP3.js";import"./3R6FI5UM.js";import"./Y2XCXPZJ.js";import"./LPK5NKSR.js";import"./R3KXDLBC.js";import"./54BQVAZQ.js";import"./73M3K3MB.js";import"./FQLSHIBF.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.any.description: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.admins.description:translate}}`]}}]}]}]}),m=async(e,l,t)=>Object.assign({},o("hubViewGroup",t));export{m as buildDefaults,p as buildUiSchema};
|
package/dist/cdn/Z4R46WXZ.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a,b}from"./MTDTWNGL.js";import"./3R6FI5UM.js";import"./Y2XCXPZJ.js";import"./R3KXDLBC.js";import"./54BQVAZQ.js";import"./73M3K3MB.js";import"./FQLSHIBF.js";export{a as ProjectEditorTypes,b as ProjectSchema};
|
package/dist/cdn/ZVSE3IZ4.js
DELETED
@@ -1,4 +0,0 @@
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
|
-
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.20250604 */
|
4
|
-
import{a as O,c as R,d as g,e as u}from"./FCYQRR3U.js";import"./7MJFKTU3.js";import{a}from"./6LFV2GIT.js";import"./THV4VHVL.js";import{c as s,e as o,f as c}from"./5NTBUHXP.js";import"./LFDYLJKA.js";import"./PBE7PDSN.js";import"./PDQQ3CKY.js";import"./CWNIFA6D.js";import"./PCE2GNPD.js";import"./CNEWKYEJ.js";import"./XC5VKQJJ.js";import"./VT5P4INT.js";import{c as r}from"./3OXV4AIJ.js";import"./FQLSHIBF.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"cancel":"Cancel","close":"Close","customize":"Customize","deploy":"Deploy","failedToDeploy":"{{solution}} failed to be deployed.","options":"Options","solutionName":"Solution name","solutionNameErrorLength":"The solution name is too long.","solutionNameErrorSpecialCharacter":"The solution name contains a special character which is not allowed.","solutionNameErrorUniqueName":"A solution named {{proposedName}} already exists in your content. Please choose a different name.","solutionNameHint":"Provide a unique name for your solution deployment","spatialReference":"Spatial reference","title":"Deploy {{solution}}","tryAgain":"Try again"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"cancel":"Cancel","close":"Close","customize":"Customize","deploy":"Deploy","failedToDeploy":"{{solution}} failed to be deployed.","options":"Options","solutionName":"Solution name","solutionNameErrorLength":"The solution name is too long.","solutionNameErrorSpecialCharacter":"The solution name contains a special character which is not allowed.","solutionNameErrorUniqueName":"A solution named {{proposedName}} already exists in your content. Please choose a different name.","solutionNameHint":"Provide a unique name for your solution deployment","spatialReference":"Spatial reference","title":"Deploy {{solution}}","tryAgain":"Try again"}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/// <reference types="../../index.d.ts" />
|
2
|
-
import { PublicLitElement as LitElement, TargetedEvent, JsxNode } from '@arcgis/lumina';
|
3
|
-
import { ITemplateInfo } from '../../utils/interfaces';
|
4
|
-
|
5
|
-
export declare class SolutionDeployPanel extends LitElement {
|
6
|
-
/** The solution that will be deployed */
|
7
|
-
solutionItem: ITemplateInfo | undefined;
|
8
|
-
/**
|
9
|
-
* the wkid to match against.
|
10
|
-
*
|
11
|
-
* @default '3857'
|
12
|
-
*/
|
13
|
-
wkid: string;
|
14
|
-
/** Closes the panel */
|
15
|
-
close(): void;
|
16
|
-
/** Deploys a solution */
|
17
|
-
deploy(): void;
|
18
|
-
}
|