@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
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{e,f as t}from"./
|
3
|
+
v1.0.0-next.20250610 */
|
4
|
+
import{e,f as t}from"./QDCUDH5M.js";import"./SA3FJIMJ.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as l}from"./
|
3
|
+
v1.0.0-next.20250610 */
|
4
|
+
import{a as l}from"./4D7Q4GOL.js";import"./OG4YXHRH.js";import"./GRH6L6AX.js";import"./6ZSHJ5AZ.js";import{a as o}from"./2KAZVBXF.js";import"./GLQGCQKQ.js";import"./U5WH4XWF.js";import"./RKK6IXRN.js";import"./UIUU6DED.js";import"./3U5ZQLVD.js";import"./VHT2MWYW.js";import"./COVJW67Z.js";import"./AO22ELU2.js";import"./2VLL65Q3.js";import"./XIWWE2AH.js";import"./7EC2QANE.js";import"./YFYERRHB.js";import"./N4PA6ZFU.js";import"./OGISURJ2.js";import"./SPJUB4WW.js";import"./GA2ZUKPH.js";import"./OBGE3PJZ.js";import"./PERO5WYC.js";import"./YN6JZ5LC.js";import"./62U5XQ53.js";import"./GWCLKO7W.js";import"./QDCUDH5M.js";import"./SA3FJIMJ.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};export{u as buildUiSchema};
|
@@ -0,0 +1,4 @@
|
|
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.20250610 */
|
4
|
+
import{a as i}from"./CHIYX226.js";import{a as l}from"./T3L6RRVE.js";import"./V3GT6ZDE.js";import"./H7XUQNKK.js";import"./OG4YXHRH.js";import{a as r}from"./6ZSHJ5AZ.js";import{a as s}from"./2KAZVBXF.js";import"./GLQGCQKQ.js";import"./U5WH4XWF.js";import"./RKK6IXRN.js";import"./UIUU6DED.js";import"./3U5ZQLVD.js";import"./VHT2MWYW.js";import"./COVJW67Z.js";import"./AO22ELU2.js";import"./2VLL65Q3.js";import"./XIWWE2AH.js";import"./7EC2QANE.js";import"./YFYERRHB.js";import"./N4PA6ZFU.js";import"./OGISURJ2.js";import"./SPJUB4WW.js";import"./GA2ZUKPH.js";import"./OBGE3PJZ.js";import"./PERO5WYC.js";import"./YN6JZ5LC.js";import"./62U5XQ53.js";import"./GWCLKO7W.js";import"./QDCUDH5M.js";import"./SA3FJIMJ.js";var d=async(e,a,t)=>({type:"Layout",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.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},!l("platform:portal:admin:createUpdateCapableGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isSharedUpdate.tooltip`}}),rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},!l("platform:portal:admin:createLeavingDisallowedGroup",t).access&&{tooltip:{labelKey:`${e}.fields.isAdmin.tooltip`}}),rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:Object.assign(Object.assign({control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.isOpenData.helperText`}},(!l("platform:opendata:user:designateGroup",t).access||a.access!=="public")&&{tooltip:{labelKey:`${e}.fields.isOpenData.tooltip`}}),{messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]}),rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!r(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,a,t)=>Object.assign(Object.assign({},i("hubGroup",t)),a);export{f as buildDefaults,d as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as v}from"./
|
3
|
+
v1.0.0-next.20250610 */
|
4
|
+
import{a as v}from"./GLQGCQKQ.js";import{a as y}from"./U5WH4XWF.js";import{a as p}from"./UIUU6DED.js";import{a as d}from"./3U5ZQLVD.js";import{a as E}from"./VHT2MWYW.js";import{a as s}from"./COVJW67Z.js";import{a as n}from"./AO22ELU2.js";import{a}from"./2VLL65Q3.js";import{a as l}from"./XIWWE2AH.js";import{a as e}from"./7EC2QANE.js";import{a as r}from"./SPJUB4WW.js";import{a as t}from"./GA2ZUKPH.js";import{a as i}from"./YN6JZ5LC.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
|
@@ -0,0 +1,4 @@
|
|
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.20250610 */
|
4
|
+
import{a as o}from"./CHIYX226.js";import{a as r}from"./T3L6RRVE.js";import"./V3GT6ZDE.js";import"./H7XUQNKK.js";import"./OG4YXHRH.js";import"./6ZSHJ5AZ.js";import{a as s}from"./2KAZVBXF.js";import"./GLQGCQKQ.js";import"./U5WH4XWF.js";import"./RKK6IXRN.js";import"./UIUU6DED.js";import"./3U5ZQLVD.js";import"./VHT2MWYW.js";import"./COVJW67Z.js";import"./AO22ELU2.js";import"./2VLL65Q3.js";import"./XIWWE2AH.js";import"./7EC2QANE.js";import"./YFYERRHB.js";import"./N4PA6ZFU.js";import"./OGISURJ2.js";import"./SPJUB4WW.js";import"./GA2ZUKPH.js";import"./OBGE3PJZ.js";import"./PERO5WYC.js";import"./YN6JZ5LC.js";import"./62U5XQ53.js";import"./GWCLKO7W.js";import"./QDCUDH5M.js";import"./SA3FJIMJ.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};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as
|
3
|
+
v1.0.0-next.20250610 */
|
4
|
+
import{a as C}from"./QEONXNFP.js";import"./C2WZRDNU.js";import{d as I}from"./A7XA3HJY.js";import{a as s}from"./QVNQSDMG.js";import"./GT7ZLIPV.js";import{a as h,b as r}from"./EY76BJOK.js";import{a as x}from"./YJVHNGLM.js";import{A as v,D as L,c as g,d as l,f as w,n as b,p as y,y as $,z as m}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var F=g`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -15,4 +15,4 @@ import{a as I}from"./YRGOM6Q5.js";import"./KSWXMOC6.js";import{d as C}from"./6QF
|
|
15
15
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
16
|
* See the License for the specific language governing permissions and
|
17
17
|
* limitations under the License.
|
18
|
-
*/:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.padding-1-2{padding:.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.z-index-1{z-index:1}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none!important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button,.esri-floor-filter__level-button,.esri-floor-filter__browse-button{width:40px!important;height:40px!important}.position-absolute-50{position:absolute;inset:50px 0 0}.position-absolute-0{position:absolute;inset:0}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0}.floating-container .floating-button{box-shadow:0 10px 25px #5c5d5e99;-webkit-transform:translatey(5px);transform:translatey(5px);-webkit-transition:all .3s;transition:all .3s}.z-index-0{z-index:0!important}.z-index-1{z-index:1!important}.filter-content-space{--calcite-dialog-content-space: 0px}.background-dark{background:var(--calcite-color-background)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}}`,_=class extends ${constructor(){super(),this.coverPageEnabled=!1,this.customInfoText="",this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableSnapping=!0,this.enableZoom=!0,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor="",this.popupHeaderHoverColor="",this.popupHeaderHoverTextColor="",this.popupHeaderTextColor="",this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.enableSelectionTool=!0,this.featureSelectionMode="multiple",this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._translations=x({name:"crowdsource-manager",blocking:!0}),this._layoutMode=s.GRID,this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerExpressions=[],this._layerIds=[],this._isLoading=!0,this._mapExtentFilterChecked=!1,this._deleteIds=[],this._defaultAppLayoutHonored=!1,this._defaultCenterHonored=!1,this._defaultLevelHonored=!1,this._layerTable=h(),this._shouldSetMapView=!1,this._filterList=h(),this._mapCard=h(),this._isMapViewOnLoad=!1,this.showIntroductionWindow=b(),this.showCoverPage=b(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"popupClosed",this.popupClosed),this.listenOn(window,"layoutChanged",this.layoutChanged),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"showDelete",this.showDelete),this.listenOn(window,"idsFound",this.idsFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"relatedRecordToggled",this.relatedRecordToggled),I(window)}static{this.properties={appLayout:1,appProxies:1,basemapConfig:0,coverPageEnabled:5,customInfoText:1,defaultAppLayout:1,defaultCenter:1,defaultGlobalId:1,defaultLayer:1,defaultLevel:1,defaultOid:1,defaultWebmap:1,honorMapFieldSettings:5,introductionWindowEnabled:5,enableAutoRefresh:5,enableBasemap:5,enableColumnReorder:5,enableCSV:5,enableFloorFilter:5,enableFullscreen:5,enableHome:5,enableLegend:5,enableSearch:5,enableShare:5,enableSnapping:5,enableZoom:5,mapInfos:0,onlyShowUpdatableLayers:5,popupHeaderColor:1,popupHeaderHoverColor:1,popupHeaderHoverTextColor:1,popupHeaderTextColor:1,searchConfiguration:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,theme:1,zoomAndScrollToSelected:5,zoomToScale:9,enableSelectionTool:5,featureSelectionMode:1,_deleteDialogOpen:16,_enableCreateFeatures:16,_hideFooter:16,_hideTable:16,_isMobile:16,_translations:16,_layer:16,_layoutMode:16,_mapInfo:16,_mapView:16,_panelOpen:16,_numSelected:16,_filterOpen:16,_showInformationHeader:16,_layerExpressions:16,_layerIds:16,_isLoading:16,_mapExtentFilterChecked:16,_deleteIds:16}}static{this.styles=F}static{this.shadowRootOptions=y}willUpdate(e){e.has("appLayout")&&this.appLayout&&this.appLayoutWatchHandler(this.appLayout,e.get("appLayout")),e.has("enableZoom")&&(this.hasUpdated||this.enableZoom!==!0)&&this.enableZoomWatchHandler()}appLayoutWatchHandler(e,t){e!==t&&(this._layerTable.value?.validateTableUpdate(e==="splitView"),this._setActiveLayout(e),this.appLayout==="mapView"&&this._layer?.isTable&&this._mapCard.value&&this._mapCard.value.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.value&&this._layerTable.value.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async featureSelectionChange(e){this._numSelected=e.detail?.length}async popupClosed(){this._isMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(e){this._layoutMode=e.detail}async mapChanged(e){this._mapChange=e.detail,this.showHideMapPopupAndTable(!1),await this._mapChange?.mapView.when(async()=>{await this._setMapView()})}async layerSelectionChange(e){let t=e.detail[0],i=this._mapView&&await C(this._mapView,t);i&&await i.when(()=>{i.isTable&&!this._isMobile&&(this.appLayout="tableView"),this._layer=i,this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1})}async showDelete(e){this._deleteIds=e.detail.ids,this._deleteDialogOpen=!0}async idsFound(e){this._layerIds=e.detail.layerIds}async clearSelection(){this.showHideMapPopupAndTable(!1)}async relatedRecordToggled(e){let t=e.detail;this._relatedTableLayer=t}load(){this._resizeObserver=new ResizeObserver(()=>this._onResize())}render(){let e=this.popupHeaderColor&&this.popupHeaderColor!=="#FFFFFF"?"border-width-0":"";return l`<calcite-shell class="position-relative"><calcite-panel class=${`width-full height-full ${e}`} .loading=${this._isLoading}>${this._getBody(this._layoutMode,this._panelOpen,this._hideTable)}</calcite-panel>${this._getFooter()}</calcite-shell>${this._filterModal()}${!this._isMobile&&this._deleteModal()||""}`}async updated(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}loaded(){this._resizeObserver?.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad=this.appLayout==="mapView",this._setActiveLayout(this.appLayout)}_getFooter(){let e=this._numSelected>0,t=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._relatedTableLayer:this._layer,i=this._layer?.editingEnabled&&this._layer.capabilities?.operations.supportsDelete;return this._isMobile&&e&&!this._hideFooter?l`<div class=${"width-100"} slot=footer><div class="display-flex padding-1-2"><calcite-button appearance=solid id=solutions-show @click=${()=>this.showHideMapPopupAndTable(!0)} width=full>${this._translations.view.replace("{{n}}",this._numSelected.toString())}</calcite-button>${i?l`<delete-button class="padding-inline-start-1 width-full" id=solutions-delete .ids=${this.updateIdsToBeDeleted()} @deleteClicked=${this.updateIdsToBeDeleted} .layer=${t}></delete-button>`:void 0}</div></div>`:void 0}updateIdsToBeDeleted(){return this._deleteIds=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._layerTable.value.selectedRelatedIds:this._layerTable.value?.selectedIds,this._deleteIds}_setActiveLayout(e){e==="splitView"&&!this._panelOpen&&this._toggleLayout(),e==="mapView"?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(e,t){let i="";switch(e){case s.HORIZONTAL:i=t?"chevrons-up":"chevrons-down";break;case s.VERTICAL:i=t?"chevrons-left":"chevrons-right";break;case s.GRID:i=t?"chevrons-left":"chevrons-right";break}return i}_getMapSizeClass(e,t,i){let a="";switch(e){case s.HORIZONTAL:a=`${t&&!i?"height-1-2 display-grid":t&&i?"height-full":"height-0"} width-full position-relative`;break;case s.GRID:a=`height-full position-relative ${t?"width-1-3":"width-0"}`;break;case s.VERTICAL:a=`height-full position-relative ${t?"width-1-2":"width-0"}`;break}return a}_getTableSizeClass(e,t){let i="";switch(e){case s.HORIZONTAL:i=`${t?"height-1-2":"height-full"} width-full display-flex flex-column`;break;case s.GRID:i=`${t?"width-2-3":"width-full"} height-full display-flex`;break;case s.VERTICAL:i=`${t?"width-1-2":"width-full"} height-full display-flex`;break}return i}_getBody(e,t,i){let a=e===s.HORIZONTAL?"":"display-flex",o=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class="width-full height-full position-absolute"><div class=${`width-full height-full overflow-hidden ${a}`}>${this._getMapAndCard(e,t,i)}${this._getTable(e,t,i)}</div>${this.coverPageEnabled&&l`<div class="floating-container" @click=${this.coverPageButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=content-minimal kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}${this.introductionWindowEnabled&&l`<div class="floating-container" @click=${this.infoButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=information-letter kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}</calcite-panel>`}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(e,t,i){let a=this._getMapSizeClass(e,t,i);return l`<div class=${`${a} overflow-hidden z-index-1`}>${this._getMapNode(t)}${this._getPopupExpandNode()}</div>`}_getMapNode(e){let t=this.appLayout==="mapView",i=this.appLayout==="tableView",a=this._isMobile?"height-full":t||i?"position-absolute-0":this._layoutMode===s.HORIZONTAL&&(!this._isMobile||e)?"":"adjusted-height-50",o=this.defaultWebmap&&this.defaultLayer,n=this.enableSelectionTool&&this.featureSelectionMode==="multiple"&&!this._layer?.isTable,d=["home","legend","search","fullscreen","basemap","floorfilter","selectiontool"],p=["map-picker","map-layer-picker"];return l`<div class=${`${a} overflow-hidden`} id=card-mapView><map-card .appLayout=${this.appLayout} .appProxies=${this.appProxies} .basemapConfig=${this.basemapConfig} class="width-full" .defaultLayerId=${o?this.defaultLayer:""} .defaultWebmapId=${this.defaultWebmap} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableSelectionTool=${n} .enableShare=${this.enableShare} enable-single-expand .featureSelectionMode=${this.featureSelectionMode} .hide=${!this._isMobile&&i} zoom-tools-size=s .isMapLayout=${t} .isMobile=${this._isMobile} .mapInfo=${this._mapInfo} .mapInfos=${this.mapInfos?.filter(c=>c.visible!==!1)} map-widgets-index=0 map-widgets-position=top-left mobile-map-widgets-position=top-right map-widgets-size=m .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .selectedFeaturesIds=${this._layerTable.value?.selectedIds??[]} .selectedLayer=${this._layer} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} stack-tools .theme=${this.theme} .mapToolsOrder=${d} .mobileToolsOrder=${p} .zoomToScale=${this.zoomToScale} ${r(this._mapCard)}></map-card></div>`}_getPopupExpandNode(){let e=this._isMobile?"height-full":"height-full position-relative",t=this._isMobile&&this._showInformationHeader?"display-none height-0":"",i=this.popupHeaderColor?"":this._isMobile?"calcite-mode-light":"calcite-mode-dark",a=this._isMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isMobile?"display-none height-0":"",o=this.mapInfos?.length>1&&this.appLayout==="tableView"?"position-relative top-51":"",n=this.appLayout!=="tableView"?"position-sticky":"";return l`<div class=${`${i} ${e} ${a} ${o} ${n}`} style=${v({"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor})}><calcite-panel>${!this._isMobile&&this._showInformationHeader||this._numSelected>0&&!this._isMobile?l`<div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-icon icon=information scale=s></calcite-icon><div class="padding-inline-start-75">${this._translations.information}</div></div>`:l`<div></div>`}${this._getCardNode()}</calcite-panel></div>`}_getCardNode(){let e=this.appLayout==="mapView",t=this.appLayout==="tableView",i=this._isMobile?"height-full":t&&this.mapInfos?.length>1?"adjusted-height-100-51":e||t?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isMobile?"height-full":"height-50":"adjusted-height-50_25",a=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<div class=${`width-50 height-full ${a}`}><card-manager class=${`${i} width-full`} .customInfoText=${this.customInfoText} .enableCreateFeatures=${this._enableCreateFeatures&&!this._isMobile} .enableEditGeometry=${this?._mapInfo?.enableEditGeometry} .enableSnapping=${this.enableSnapping} .isMobile=${this._isMobile} .layerOrTable=${this._layer} .mapView=${this?._mapView} @backFromCreateWorkFlow=${()=>{this._showInformationHeader=!0}} @createWorkFlowStarted=${()=>{this.appLayout=this._layer?.isTable?"tableView":"mapView",this._showInformationHeader=!1}} @featureOrRecordSubmitted=${()=>this._layerTable.value&&void this._layerTable.value.refresh()} .selectedFeaturesIds=${this._layerTable.value?.selectedIds} .selectingFeatureFromMap=${this.appLayout==="mapView"} .showSketchWidgets=${this._layer?.geometryType!=="point"} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected}></card-manager></div>`}_getTable(e,t,i){let a=this.appLayout==="mapView",o=this.appLayout==="tableView",n=i&&this._isMobile?"visibility-hidden":a?"display-none":"",d=a?"height-full width-full z-index-0":"display-none",p=this._getTableSizeClass(e,t),c=e===s.HORIZONTAL?"horizontal":"vertical",T=e===s.HORIZONTAL?"header":"panel-start",u=this.defaultWebmap&&this.defaultLayer,f=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,S=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map(M=>Number.parseInt(M,10)):[Number.parseInt(this.defaultOid,10)]:void 0;return l`<calcite-shell class=${`${p} border-bottom z-index-1`}>${this._isMobile?void 0:l`<calcite-action-bar class="border-sides" expand-disabled .layout=${c} slot=${T??w}>${this.getActions(e,t)}</calcite-action-bar>`}<div class=${`width-full height-full position-relative z-index-0 ${n}`}><layer-table .appLayout=${this.appLayout} .defaultGlobalId=${u?f:void 0} .defaultLayerId=${u?this.defaultLayer:""} .defaultOid=${u&&!f?S:void 0} .enableAutoRefresh=${this.enableAutoRefresh} .enableCSV=${this.enableCSV} .enableColumnReorder=${this.enableColumnReorder} .enableInlineEdit=${this?._mapInfo?.enableInlineEdit} .enableShare=${this.enableShare} .featureSelectionMode=${this.featureSelectionMode} .honorMapFieldSettings=${this.honorMapFieldSettings} .isMobile=${this._isMobile} .mapHidden=${o} .mapInfo=${this._mapInfo} .mapView=${this?._mapView} .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} .showNewestFirst=${this.showNewestFirst} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected} .zoomToScale=${this.zoomToScale} ${r(this._layerTable)}></layer-table></div><div class=${m(d)} id=full-map-view></div></calcite-shell>`}getActions(e,t){let i=this._getDividerIcon(e,t),a=t?this._translations.close:this._translations.open,o="toggle-layout";return l`<calcite-action .active=${this.appLayout==="splitView"} class="toggle-node" .disabled=${this._layer?.isTable} icon=browser id=browser-action @click=${()=>{this.appLayout="splitView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-action><span>${this._translations.splitView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="tableView"} class="toggle-node" icon=dock-left id=dock-left-action @click=${()=>{this.appLayout="tableView"}} text></calcite-action><calcite-tooltip placement=right reference-element=dock-left-action><span>${this._translations.tableView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="mapView"} class="toggle-node" .disabled=${this._layer?.isTable} icon=browser-map id=browser-map-action @click=${()=>{this.appLayout="mapView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-map-action><span>${this._translations.mapView}</span></calcite-tooltip><calcite-action class="toggle-node" .icon=${i} id=${o} @click=${()=>this._toggleLayout()} slot=actions-end text></calcite-action><calcite-tooltip placement=bottom .referenceElement=${o}><span>${a}</span></calcite-tooltip>`}_deleteModal(){let e=(this._layerTable.value?.selectedRelatedIds?.length??0)>0?this._relatedTableLayer:this._layer;return l`<delete-dialog id=deleteDialogId .ids=${this._deleteIds} .layer=${e} @deleteDialogClose=${()=>this._deleteDialogOpen=!1} .open=${this._deleteDialogOpen}></delete-dialog>`}_mapExtentFilter(){let e=this._layerExpressions?.length===0;return l`<calcite-panel><div><calcite-block class=${m(this.theme==="dark"?"background-dark":"")} heading menu-placement=bottom-end open><div class="filter-extent-container"><div class="filter-extent-message"><span>${this._translations.filterByExtentMsg}</span><calcite-icon icon=information id=filter-message-info scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top reference-element=filter-message-info>${this._translations.filterByExtentTooltipMsg}</calcite-tooltip></div><calcite-switch .checked=${this._mapExtentFilterChecked} @calciteSwitchChange=${t=>{let i=!!(t.target.checked||this._filterList.value?.filterCount&&this._filterList.value?.filterCount>0);this._layerTable.value&&this._layerTable.value?.filterUpdate(i,t.target.checked),this._mapCard.value&&this._mapCard.value?.updateFilterState(i),this._mapExtentFilterChecked=t.target.checked}} scale=m></calcite-switch></div></calcite-block>${e&&l`<div class="filter-modal-buttons" slot=footer><calcite-button appearance=outline @click=${this._handleFilterListReset} width=full>${this._translations.Resetfilter}</calcite-button><calcite-button @click=${this._closeFilter} width=full>${this._translations.close}</calcite-button></div>`||""}</div></calcite-panel>`}_filterModal(){let e=this._layerExpressions?.length>0;return l`<calcite-dialog class="filter-content-space" .heading=${this._translations.filter.replace("{{title}}",this._layer?.title||"")} id=solutions-filter-dialog-manager kind=brand modal @calciteDialogClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width=s>${!this._layer?.isTable&&this._mapExtentFilter()||""}${e&&this._mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._layerExpressions} @filterListReset=${this._handleFilterListReset} @filterUpdate=${()=>void this._updateFilter()} .view=${this._mapView} ${r(this._filterList)}></instant-apps-filter-list>`||""}</calcite-dialog>`}_updateFilter(){let e=this._filterList?.value?.filterCount&&this._filterList.value.filterCount>0||this._mapExtentFilterChecked;this._layerTable.value&&this._layerTable.value?.filterUpdate(e),this._mapCard.value&&this._mapCard.value.updateFilterState(e)}_initLayerExpressions(){let e=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=e?e.filter(t=>t.id===this._layer?.id):[]}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.value&&this._mapCard.value.resetFilter(),this._layerTable.value&&this._layerTable.value.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.value&&this._layerTable.value.closeFilter())}_onResize(){let e=this.el.offsetWidth<=1024,t=!this._isMobile&&e;this._isMobile=e,t&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this.appLayout="splitView"):(this._layer?.isTable&&(this.appLayout="tableView"),this._isMobile=!1),this._layoutMode=this._isMobile?s.HORIZONTAL:s.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if(this.appLayout!=="mapView"){let e=document.getElementById("full-map-view")?.childNodes[0],t=document.getElementById("card-mapView");e&&t&&t.appendChild(e)}}_showMapInFullView(){let e=document.getElementById("card-mapView")?.childNodes,t;e?.forEach(a=>{!t&&a.mapView&&(t=a)});let i=document.getElementById("full-map-view");t&&i&&i.appendChild(t)}showHideMapPopupAndTable(e){this._hideTable=e,this._hideFooter=e}_getMapInfo(e){let t;return this.mapInfos.some(i=>i.id===e?(t={...i},!0):!1),t}async _setMapView(){let e=this._mapChange&&this._getMapInfo(this._mapChange.id);if(e&&this._mapChange){this._mapInfo=e,this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;let t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map(a=>Number.parseFloat(a)),i=!this.defaultLevel||this._defaultLevelHonored?void 0:Number.parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView?.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView?.ui.remove("zoom")}};L("crowdsource-manager",_);export{_ as CrowdsourceManager};
|
18
|
+
*/:host{display:block;--calcite-label-margin-bottom: 0px;--solutions-theme-foreground-color: var(--calcite-color-foreground-1)}.padding-1-2{padding:.5rem}.display-flex{display:flex}.width-full{width:100%}.width-1-2{position:relative;width:50%}.width-1-3{position:relative;width:33.33%}.width-2-3{position:relative;width:66.66%}.width-0{width:0}.z-index-1{z-index:1}.height-full{height:100%}.height-1-2{position:relative;height:50%}.height-0{height:0}.toggle-node{width:51px;height:51px}.overflow-hidden{overflow:hidden}.flex-column{flex-direction:column}.border{border:1px solid var(--calcite-color-border-3)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.border-right{border-right:2px solid var(--calcite-color-border-3)}.border-sides{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.position-relative{position:relative}.position-absolute{position:absolute}.position-sticky{position:sticky}.height-50{height:50%}.top-51{top:51px}.adjusted-height-50{height:calc(50% - 25px)}.adjusted-height-100{height:calc(100% - 50px)}.adjusted-height-100-51{height:calc(100% - 51px)}.display-none{display:none!important}.adjusted-height-50_25{height:calc(50% + 25px)}.position-absolute-53{position:absolute;top:53px}.display-grid{display:grid}.height-50-px{height:50px}.padding-inline-start-75{padding-inline-start:.75rem}.align-items-center{align-items:center}.esri-floor-filter__close-levels-button,.esri-floor-filter__level-button,.esri-floor-filter__browse-button{width:40px!important;height:40px!important}.position-absolute-50{position:absolute;inset:50px 0 0}.position-absolute-0{position:absolute;inset:0}.visibility-hidden{visibility:hidden;height:0px}.position-fixed{position:fixed}.border-width-0{border-width:0px}.border-bottom-width-0{border-bottom-width:0px}.floating-container{position:fixed;width:100px;height:10px;bottom:0;right:0;margin:100px 0}.floating-container .floating-button{box-shadow:0 10px 25px #5c5d5e99;-webkit-transform:translatey(5px);transform:translatey(5px);-webkit-transition:all .3s;transition:all .3s}.z-index-0{z-index:0!important}.z-index-1{z-index:1!important}.filter-content-space{--calcite-dialog-content-space: 0px}.background-dark{background:var(--calcite-color-background)}.filter-extent-container{display:flex;justify-content:space-between;align-items:center;padding:10px 0}.filter-modal-buttons{display:flex;padding:12px;gap:10px}.filter-extent-message{align-items:center;display:flex;gap:5px}}`,_=class extends ${constructor(){super(),this.coverPageEnabled=!1,this.customInfoText="",this.defaultCenter="",this.defaultGlobalId="",this.defaultLayer="",this.defaultLevel="",this.defaultOid="",this.defaultWebmap="",this.honorMapFieldSettings=!1,this.introductionWindowEnabled=!1,this.enableAutoRefresh=!1,this.enableBasemap=!0,this.enableColumnReorder=!0,this.enableCSV=!0,this.enableFloorFilter=!0,this.enableFullscreen=!0,this.enableHome=!0,this.enableLegend=!0,this.enableSearch=!0,this.enableShare=!1,this.enableSnapping=!0,this.enableZoom=!0,this.mapInfos=[],this.onlyShowUpdatableLayers=!0,this.popupHeaderColor="",this.popupHeaderHoverColor="",this.popupHeaderHoverTextColor="",this.popupHeaderTextColor="",this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!0,this.theme="light",this.zoomAndScrollToSelected=!1,this.enableSelectionTool=!0,this.featureSelectionMode="multiple",this._deleteDialogOpen=!1,this._enableCreateFeatures=!0,this._hideFooter=!1,this._hideTable=!1,this._isMobile=!1,this._translations=x({name:"crowdsource-manager",blocking:!0}),this._layoutMode=s.GRID,this._panelOpen=!0,this._numSelected=0,this._filterOpen=!1,this._showInformationHeader=!0,this._layerExpressions=[],this._layerIds=[],this._isLoading=!0,this._mapExtentFilterChecked=!1,this._deleteIds=[],this._defaultAppLayoutHonored=!1,this._defaultCenterHonored=!1,this._defaultLevelHonored=!1,this._layerTable=h(),this._shouldSetMapView=!1,this._filterList=h(),this._mapCard=h(),this._isMapViewOnLoad=!1,this.showIntroductionWindow=b(),this.showCoverPage=b(),this.listenOn(window,"featureSelectionChange",this.featureSelectionChange),this.listenOn(window,"popupClosed",this.popupClosed),this.listenOn(window,"layoutChanged",this.layoutChanged),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"showDelete",this.showDelete),this.listenOn(window,"idsFound",this.idsFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"relatedRecordToggled",this.relatedRecordToggled),C(window)}static{this.properties={appLayout:1,appProxies:1,basemapConfig:0,coverPageEnabled:5,customInfoText:1,defaultAppLayout:1,defaultCenter:1,defaultGlobalId:1,defaultLayer:1,defaultLevel:1,defaultOid:1,defaultWebmap:1,honorMapFieldSettings:5,introductionWindowEnabled:5,enableAutoRefresh:5,enableBasemap:5,enableColumnReorder:5,enableCSV:5,enableFloorFilter:5,enableFullscreen:5,enableHome:5,enableLegend:5,enableSearch:5,enableShare:5,enableSnapping:5,enableZoom:5,mapInfos:0,onlyShowUpdatableLayers:5,popupHeaderColor:1,popupHeaderHoverColor:1,popupHeaderHoverTextColor:1,popupHeaderTextColor:1,searchConfiguration:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,theme:1,zoomAndScrollToSelected:5,zoomToScale:9,enableSelectionTool:5,featureSelectionMode:1,_deleteDialogOpen:16,_enableCreateFeatures:16,_hideFooter:16,_hideTable:16,_isMobile:16,_translations:16,_layer:16,_layoutMode:16,_mapInfo:16,_mapView:16,_panelOpen:16,_numSelected:16,_filterOpen:16,_showInformationHeader:16,_layerExpressions:16,_layerIds:16,_isLoading:16,_mapExtentFilterChecked:16,_deleteIds:16}}static{this.styles=F}static{this.shadowRootOptions=y}willUpdate(e){e.has("appLayout")&&this.appLayout&&this.appLayoutWatchHandler(this.appLayout,e.get("appLayout")),e.has("enableZoom")&&(this.hasUpdated||this.enableZoom!==!0)&&this.enableZoomWatchHandler()}appLayoutWatchHandler(e,t){e!==t&&(this._layerTable.value?.validateTableUpdate(e==="splitView"),this._setActiveLayout(e),this.appLayout==="mapView"&&this._layer?.isTable&&this._mapCard.value&&this._mapCard.value.updateLayer(),this._isMapViewOnLoad&&(this._layerTable.value&&this._layerTable.value.refresh(),this._isMapViewOnLoad=!1))}enableZoomWatchHandler(){this._initMapZoom()}async featureSelectionChange(e){this._numSelected=e.detail?.length}async popupClosed(){this._isMobile&&this.showHideMapPopupAndTable(!1)}async layoutChanged(e){this._layoutMode=e.detail}async mapChanged(e){this._mapChange=e.detail,this.showHideMapPopupAndTable(!1),await this._mapChange?.mapView.when(async()=>{await this._setMapView()})}async layerSelectionChange(e){let t=e.detail[0],i=this._mapView&&await I(this._mapView,t);i&&await i.when(()=>{i.isTable&&!this._isMobile&&(this.appLayout="tableView"),this._layer=i,this._initLayerExpressions(),this._handleFilterListReset(),this._isLoading=!1})}async showDelete(e){this._deleteIds=e.detail.ids,this._deleteDialogOpen=!0}async idsFound(e){this._layerIds=e.detail.layerIds}async clearSelection(){this.showHideMapPopupAndTable(!1)}async relatedRecordToggled(e){let t=e.detail;this._relatedTableLayer=t}load(){this._resizeObserver=new ResizeObserver(()=>this._onResize())}render(){let e=this.popupHeaderColor&&this.popupHeaderColor!=="#FFFFFF"?"border-width-0":"";return l`<calcite-shell class="position-relative"><calcite-panel class=${`width-full height-full ${e}`} .loading=${this._isLoading}>${this._getBody(this._layoutMode,this._panelOpen,this._hideTable)}</calcite-panel>${this._getFooter()}</calcite-shell>${this._filterModal()}${!this._isMobile&&this._deleteModal()||""}`}async updated(){this._shouldSetMapView&&(this._shouldSetMapView=!1,this._mapChange&&await this._setMapView())}loaded(){this._resizeObserver?.observe(this.el),!this._defaultAppLayoutHonored&&this.defaultAppLayout?(this._defaultAppLayoutHonored=!0,this.appLayout=this.defaultAppLayout):this.appLayout||(this.appLayout="splitView"),this._isMapViewOnLoad=this.appLayout==="mapView",this._setActiveLayout(this.appLayout)}_getFooter(){let e=this._numSelected>0,t=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._relatedTableLayer:this._layer,i=this._layer?.editingEnabled&&this._layer.capabilities?.operations.supportsDelete;return this._isMobile&&e&&!this._hideFooter?l`<div class=${"width-100"} slot=footer><div class="display-flex padding-1-2"><calcite-button appearance=solid id=solutions-show @click=${()=>this.showHideMapPopupAndTable(!0)} width=full>${this._translations.view.replace("{{n}}",this._numSelected.toString())}</calcite-button>${i?l`<delete-button class="padding-inline-start-1 width-full" id=solutions-delete .ids=${this.updateIdsToBeDeleted()} @deleteClicked=${this.updateIdsToBeDeleted} .layer=${t}></delete-button>`:void 0}</div></div>`:void 0}updateIdsToBeDeleted(){return this._deleteIds=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._layerTable.value.selectedRelatedIds:this._layerTable.value?.selectedIds,this._deleteIds}_setActiveLayout(e){e==="splitView"&&!this._panelOpen&&this._toggleLayout(),e==="mapView"?this._showMapInFullView():this._showMapInCardView()}_getDividerIcon(e,t){let i="";switch(e){case s.HORIZONTAL:i=t?"chevrons-up":"chevrons-down";break;case s.VERTICAL:i=t?"chevrons-left":"chevrons-right";break;case s.GRID:i=t?"chevrons-left":"chevrons-right";break}return i}_getMapSizeClass(e,t,i){let a="";switch(e){case s.HORIZONTAL:a=`${t&&!i?"height-1-2 display-grid":t&&i?"height-full":"height-0"} width-full position-relative`;break;case s.GRID:a=`height-full position-relative ${t?"width-1-3":"width-0"}`;break;case s.VERTICAL:a=`height-full position-relative ${t?"width-1-2":"width-0"}`;break}return a}_getTableSizeClass(e,t){let i="";switch(e){case s.HORIZONTAL:i=`${t?"height-1-2":"height-full"} width-full display-flex flex-column`;break;case s.GRID:i=`${t?"width-2-3":"width-full"} height-full display-flex`;break;case s.VERTICAL:i=`${t?"width-1-2":"width-full"} height-full display-flex`;break}return i}_getBody(e,t,i){let a=e===s.HORIZONTAL?"":"display-flex",o=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-panel class="width-full height-full position-absolute"><div class=${`width-full height-full overflow-hidden ${a}`}>${this._getMapAndCard(e,t,i)}${this._getTable(e,t,i)}</div>${this.coverPageEnabled&&l`<div class="floating-container" @click=${this.coverPageButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=content-minimal kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}${this.introductionWindowEnabled&&l`<div class="floating-container" @click=${this.infoButtonClick}><calcite-button appearance=solid class=${`floating-button ${o}`} icon-start=information-letter kind=neutral label round scale=l split-child=primary width=auto></calcite-button></div>`||""}</calcite-panel>`}infoButtonClick(){this.showIntroductionWindow.emit()}coverPageButtonClick(){this.showCoverPage.emit()}_getMapAndCard(e,t,i){let a=this._getMapSizeClass(e,t,i);return l`<div class=${`${a} overflow-hidden z-index-1`}>${this._getMapNode(t)}${this._getPopupExpandNode()}</div>`}_getMapNode(e){let t=this.appLayout==="mapView",i=this.appLayout==="tableView",a=this._isMobile?"height-full":t||i?"position-absolute-0":this._layoutMode===s.HORIZONTAL&&(!this._isMobile||e)?"":"adjusted-height-50",o=this.defaultWebmap&&this.defaultLayer,n=this.enableSelectionTool&&this.featureSelectionMode==="multiple"&&!this._layer?.isTable,d=["home","legend","search","fullscreen","basemap","floorfilter","selectiontool"],p=["map-picker","map-layer-picker"];return l`<div class=${`${a} overflow-hidden`} id=card-mapView><map-card .appLayout=${this.appLayout} .appProxies=${this.appProxies} .basemapConfig=${this.basemapConfig} class="width-full" .defaultLayerId=${o?this.defaultLayer:""} .defaultWebmapId=${this.defaultWebmap} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableSelectionTool=${n} .enableShare=${this.enableShare} enable-single-expand enable-map-layer-picker enable-map-picker .featureSelectionMode=${this.featureSelectionMode} .hide=${!this._isMobile&&i} zoom-tools-size=s .isMapLayout=${t} .isMobile=${this._isMobile} .mapInfo=${this._mapInfo} .mapInfos=${this.mapInfos?.filter(c=>c.visible!==!1)} map-widgets-index=0 map-widgets-position=top-left mobile-map-widgets-position=top-right map-widgets-size=m .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .selectedFeaturesIds=${this._layerTable.value?.selectedIds??[]} .selectedLayer=${this._layer} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} stack-tools .theme=${this.theme} .mapToolsOrder=${d} .mobileToolsOrder=${p} .zoomToScale=${this.zoomToScale} ${r(this._mapCard)}></map-card></div>`}_getPopupExpandNode(){let e=this._isMobile?"height-full":"height-full position-relative",t=this._isMobile&&this._showInformationHeader?"display-none height-0":"",i=this.popupHeaderColor?"":this._isMobile?"calcite-mode-light":"calcite-mode-dark",a=this._isMobile&&this._hideTable?"position-absolute-0 width-full height-full":this._isMobile?"display-none height-0":"",o=this.mapInfos?.length>1&&this.appLayout==="tableView"?"position-relative top-51":"",n=this.appLayout!=="tableView"?"position-sticky":"";return l`<div class=${`${i} ${e} ${a} ${o} ${n}`} style=${v({"--calcite-color-foreground-1":this.popupHeaderColor,"--calcite-color-foreground-2":this.popupHeaderHoverColor,"--calcite-color-text-3":this.popupHeaderTextColor,"--calcite-color-text-2":this.popupHeaderTextColor})}><calcite-panel>${!this._isMobile&&this._showInformationHeader||this._numSelected>0&&!this._isMobile?l`<div class=${`display-flex align-items-center ${t}`} slot=header-content><calcite-icon icon=information scale=s></calcite-icon><div class="padding-inline-start-75">${this._translations.information}</div></div>`:l`<div></div>`}${this._getCardNode()}</calcite-panel></div>`}_getCardNode(){let e=this.appLayout==="mapView",t=this.appLayout==="tableView",i=this._isMobile?"height-full":t&&this.mapInfos?.length>1?"adjusted-height-100-51":e||t?"height-full":this._numSelected>0&&!this._isMobile?"height-50":this._showInformationHeader?this._isMobile?"height-full":"height-50":"adjusted-height-50_25",a=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",o=this._layerTable.value&&this._layerTable.value.selectedRelatedIds?.length>0?this._relatedTableLayer:this._layer;return l`<div class=${`width-50 height-full ${a}`}><card-manager class=${`${i} width-full`} .customInfoText=${this.customInfoText} .enableCreateFeatures=${this._enableCreateFeatures&&!this._isMobile} .enableEditGeometry=${this?._mapInfo?.enableEditGeometry} .enableSnapping=${this.enableSnapping} .isMobile=${this._isMobile} .layerOrTable=${o} .mapView=${this?._mapView} @backFromCreateWorkFlow=${()=>{this._showInformationHeader=!0}} @createWorkFlowStarted=${()=>{this.appLayout=o?.isTable?"tableView":"mapView",this._showInformationHeader=!1}} @featureOrRecordSubmitted=${()=>this._layerTable.value&&void this._layerTable.value.refresh()} .selectedFeaturesIds=${this._layerTable.value?.selectedIds} .selectingFeatureFromMap=${this.appLayout==="mapView"} .showSketchWidgets=${o?.geometryType!=="point"} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected}></card-manager></div>`}_getTable(e,t,i){let a=this.appLayout==="mapView",o=this.appLayout==="tableView",n=i&&this._isMobile?"visibility-hidden":a?"display-none":"",d=a?"height-full width-full z-index-0":"display-none",p=this._getTableSizeClass(e,t),c=e===s.HORIZONTAL?"horizontal":"vertical",T=e===s.HORIZONTAL?"header":"panel-start",u=this.defaultWebmap&&this.defaultLayer,f=this.defaultGlobalId?this.defaultGlobalId?.indexOf(",")>-1?this.defaultGlobalId.split(","):[this.defaultGlobalId]:void 0,S=this.defaultOid?this.defaultOid?.indexOf(",")>-1?this.defaultOid.split(",").map(M=>Number.parseInt(M,10)):[Number.parseInt(this.defaultOid,10)]:void 0;return l`<calcite-shell class=${`${p} border-bottom z-index-1`}>${this._isMobile?void 0:l`<calcite-action-bar class="border-sides" expand-disabled .layout=${c} slot=${T??w}>${this.getActions(e,t)}</calcite-action-bar>`}<div class=${`width-full height-full position-relative z-index-0 ${n}`}><layer-table .appLayout=${this.appLayout} .defaultGlobalId=${u?f:void 0} .defaultLayerId=${u?this.defaultLayer:""} .defaultOid=${u&&!f?S:void 0} .enableAutoRefresh=${this.enableAutoRefresh} .enableCSV=${this.enableCSV} .enableColumnReorder=${this.enableColumnReorder} .enableInlineEdit=${this?._mapInfo?.enableInlineEdit} .enableShare=${this.enableShare} .featureSelectionMode=${this.featureSelectionMode} .honorMapFieldSettings=${this.honorMapFieldSettings} .isMobile=${this._isMobile} .mapHidden=${o} .mapInfo=${this._mapInfo} .mapView=${this?._mapView} .showOnlyUpdatableLayers=${this.onlyShowUpdatableLayers} @toggleFilter=${this._toggleFilter} .shareIncludeEmbed=${this.shareIncludeEmbed} .shareIncludeSocial=${this.shareIncludeSocial} .showNewestFirst=${this.showNewestFirst} .zoomAndScrollToSelected=${this.zoomAndScrollToSelected} .zoomToScale=${this.zoomToScale} ${r(this._layerTable)}></layer-table></div><div class=${m(d)} id=full-map-view></div></calcite-shell>`}getActions(e,t){let i=this._getDividerIcon(e,t),a=t?this._translations.close:this._translations.open,o="toggle-layout";return l`<calcite-action .active=${this.appLayout==="splitView"} class="toggle-node" .disabled=${this._layer?.isTable} icon=browser id=browser-action @click=${()=>{this.appLayout="splitView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-action><span>${this._translations.splitView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="tableView"} class="toggle-node" icon=dock-left id=dock-left-action @click=${()=>{this.appLayout="tableView"}} text></calcite-action><calcite-tooltip placement=right reference-element=dock-left-action><span>${this._translations.tableView}</span></calcite-tooltip><calcite-action .active=${this.appLayout==="mapView"} class="toggle-node" .disabled=${this._layer?.isTable} icon=browser-map id=browser-map-action @click=${()=>{this.appLayout="mapView"}} text></calcite-action><calcite-tooltip placement=right reference-element=browser-map-action><span>${this._translations.mapView}</span></calcite-tooltip><calcite-action class="toggle-node" .icon=${i} id=${o} @click=${()=>this._toggleLayout()} slot=actions-end text></calcite-action><calcite-tooltip placement=bottom .referenceElement=${o}><span>${a}</span></calcite-tooltip>`}_deleteModal(){let e=(this._layerTable.value?.selectedRelatedIds?.length??0)>0?this._relatedTableLayer:this._layer;return l`<delete-dialog id=deleteDialogId .ids=${this._deleteIds} .layer=${e} @deleteDialogClose=${()=>this._deleteDialogOpen=!1} .open=${this._deleteDialogOpen}></delete-dialog>`}_mapExtentFilter(){let e=this._layerExpressions?.length===0;return l`<calcite-panel><div><calcite-block class=${m(this.theme==="dark"?"background-dark":"")} heading menu-placement=bottom-end open><div class="filter-extent-container"><div class="filter-extent-message"><span>${this._translations.filterByExtentMsg}</span><calcite-icon icon=information id=filter-message-info scale=s></calcite-icon><calcite-tooltip overlay-positioning=fixed placement=top reference-element=filter-message-info>${this._translations.filterByExtentTooltipMsg}</calcite-tooltip></div><calcite-switch .checked=${this._mapExtentFilterChecked} @calciteSwitchChange=${t=>{let i=!!(t.target.checked||this._filterList.value?.filterCount&&this._filterList.value?.filterCount>0);this._layerTable.value&&this._layerTable.value?.filterUpdate(i,t.target.checked),this._mapCard.value&&this._mapCard.value?.updateFilterState(i),this._mapExtentFilterChecked=t.target.checked}} scale=m></calcite-switch></div></calcite-block>${e&&l`<div class="filter-modal-buttons" slot=footer><calcite-button appearance=outline @click=${this._handleFilterListReset} width=full>${this._translations.Resetfilter}</calcite-button><calcite-button @click=${this._closeFilter} width=full>${this._translations.close}</calcite-button></div>`||""}</div></calcite-panel>`}_filterModal(){let e=this._layerExpressions?.length>0,t=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light";return l`<calcite-dialog class=${`filter-content-space ${t}`} .heading=${this._translations.filter.replace("{{title}}",this._layer?.title||"")} id=solutions-filter-dialog-manager kind=brand modal @calciteDialogClose=${()=>void this._closeFilter()} .open=${this._filterOpen} width=s>${!this._layer?.isTable&&this._mapExtentFilter()||""}${e&&this._mapView&&l`<instant-apps-filter-list close-btn .closeBtnOnClick=${()=>void this._closeFilter()} combobox-overlay-positioning=fixed .layerExpressions=${this._layerExpressions} @filterListReset=${this._handleFilterListReset} @filterUpdate=${()=>void this._updateFilter()} .view=${this._mapView} ${r(this._filterList)}></instant-apps-filter-list>`||""}</calcite-dialog>`}_updateFilter(){let e=this._filterList?.value?.filterCount&&this._filterList.value.filterCount>0||this._mapExtentFilterChecked;this._layerTable.value&&this._layerTable.value?.filterUpdate(e),this._mapCard.value&&this._mapCard.value.updateFilterState(e)}_initLayerExpressions(){let e=this._mapInfo?.filterConfig?.layerExpressions;this._layerExpressions=e?e.filter(t=>t.id===this._layer?.id):[]}_toggleFilter(){this._filterOpen=!this._filterOpen}_handleFilterListReset(){this._mapExtentFilterChecked=!1,this._mapCard.value&&this._mapCard.value.resetFilter(),this._layerTable.value&&this._layerTable.value.filterReset()}async _closeFilter(){this._filterOpen&&(this._filterOpen=!1,this._layerTable.value&&this._layerTable.value.closeFilter())}_onResize(){let e=this.el.offsetWidth<=1024,t=!this._isMobile&&e;this._isMobile=e,t&&(this._panelOpen=!0),this._isMobile?(this.showHideMapPopupAndTable(!this._isMobile),this.appLayout="splitView"):(this._layer?.isTable&&(this.appLayout="tableView"),this._isMobile=!1),this._layoutMode=this._isMobile?s.HORIZONTAL:s.GRID}_toggleLayout(){this._panelOpen=!this._panelOpen}_showMapInCardView(){if(this.appLayout!=="mapView"){let e=document.getElementById("full-map-view")?.childNodes[0],t=document.getElementById("card-mapView");e&&t&&t.appendChild(e)}}_showMapInFullView(){let e=document.getElementById("card-mapView")?.childNodes,t;e?.forEach(a=>{!t&&a.mapView&&(t=a)});let i=document.getElementById("full-map-view");t&&i&&i.appendChild(t)}showHideMapPopupAndTable(e){this._hideTable=e,this._hideFooter=e}_getMapInfo(e){let t;return this.mapInfos.some(i=>i.id===e?(t={...i},!0):!1),t}async _setMapView(){let e=this._mapChange&&this._getMapInfo(this._mapChange.id);if(e&&this._mapChange){this._mapInfo=e,this._initLayerExpressions(),this._enableCreateFeatures=this._mapInfo.enableCreateFeatures,this._mapView=this._mapChange.mapView,this._initMapZoom(),this._mapView.popupEnabled=!1;let t=!this.defaultCenter||this._defaultCenterHonored?void 0:this.defaultCenter?.split(";").map(a=>Number.parseFloat(a)),i=!this.defaultLevel||this._defaultLevelHonored?void 0:Number.parseInt(this.defaultLevel,10);t&&i&&(await this._mapView.goTo({center:t,zoom:i}),this._defaultCenterHonored=!0,this._defaultLevelHonored=!0)}}_initMapZoom(){this.enableZoom?this.enableZoom&&this._mapView?.ui.add({component:"zoom",position:"top-left",index:0}):this._mapView?.ui.remove("zoom")}};L("crowdsource-manager",_);export{_ as CrowdsourceManager};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
3
|
+
v1.0.0-next.20250610 */
|
4
4
|
var le="'Avenir Next','Avenir','Helvetica Neue',sans-serif";function et(e){return e||le}var F=function(){return F=Object.assign||function(r){for(var t,a=1,s=arguments.length;a<s;a++){t=arguments[a];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},F.apply(this,arguments)},z={exports:{}},g={},N={exports:{}},w={};function q(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function fe(e,r,t){}function ue(e,r,t){}var ce=/javascript\s*\:/img;function ge(e,r){return ce.test(r)?"":r}w.whiteList=q();w.getDefaultWhiteList=q;w.onAttr=fe;w.onIgnoreAttr=ue;w.safeAttrValue=ge;var de={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,s;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,s=e.length;a<s;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},L=de;function pe(e,r){e=L.trimRight(e),e[e.length-1]!==";"&&(e+=";");var t=e.length,a=!1,s=0,i=0,l="";function o(){if(!a){var u=L.trim(e.slice(s,i)),f=u.indexOf(":");if(f!==-1){var d=L.trim(u.slice(0,f)),p=L.trim(u.slice(f+1));if(d){var h=r(s,l.length,d,p,u);h&&(l+=h+"; ")}}}s=i+1}for(;i<t;i++){var n=e[i];if(n==="/"&&e[i+1]==="*"){var c=e.indexOf("*/",i+2);if(c===-1)break;i=c+1,s=i+1,a=!1}else n==="("?a=!0:n===")"?a=!1:n===";"?a||o():n===`
|
5
5
|
`&&o()}return L.trim(l)}var he=pe,_=w,ve=he;function D(e){return e==null}function me(e){var r={};for(var t in e)r[t]=e[t];return r}function B(e){e=me(e||{}),e.whiteList=e.whiteList||_.whiteList,e.onAttr=e.onAttr||_.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||_.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||_.safeAttrValue,this.options=e}B.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,s=t.onAttr,i=t.onIgnoreAttr,l=t.safeAttrValue,o=ve(e,function(n,c,u,f,d){var p=a[u],h=!1;if(p===!0?h=p:typeof p=="function"?h=p(f):p instanceof RegExp&&(h=p.test(f)),h!==!0&&(h=!1),f=l(u,f),!!f){var m={position:c,sourcePosition:n,source:d,isWhite:h};if(h){var v=s(u,f,m);return D(v)?u+":"+f:v}else{var v=i(u,f,m);if(!D(v))return v}}});return o};var be=B;(function(e,r){var t=w,a=be;function s(l,o){var n=new a(o);return n.process(l)}r=e.exports=s,r.FilterCSS=a;for(var i in t)r[i]=t[i]})(N,N.exports);var W=N.exports,$={indexOf:function(e,r){var t,a;if(Array.prototype.indexOf)return e.indexOf(r);for(t=0,a=e.length;t<a;t++)if(e[t]===r)return t;return-1},forEach:function(e,r,t){var a,s;if(Array.prototype.forEach)return e.forEach(r,t);for(a=0,s=e.length;a<s;a++)r.call(t,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var r=/\s|\n|\t/,t=r.exec(e);return t?t.index:-1}},ye=W.FilterCSS,we=W.getDefaultWhiteList,P=$;function Q(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var M=new ye;function Ae(e,r,t){}function xe(e,r,t){}function Te(e,r,t){}function Se(e,r,t){}function Z(e){return e.replace(Le,"<").replace(Ee,">")}function ke(e,r,t,a){if(t=re(t),r==="href"||r==="src"){if(t=P.trim(t),t==="#")return"#";if(!(t.substr(0,7)==="http://"||t.substr(0,8)==="https://"||t.substr(0,7)==="mailto:"||t.substr(0,4)==="tel:"||t.substr(0,11)==="data:image/"||t.substr(0,6)==="ftp://"||t.substr(0,2)==="./"||t.substr(0,3)==="../"||t[0]==="#"||t[0]==="/"))return""}else if(r==="background"){if(O.lastIndex=0,O.test(t))return""}else if(r==="style"){if(G.lastIndex=0,G.test(t)||(j.lastIndex=0,j.test(t)&&(O.lastIndex=0,O.test(t))))return"";a!==!1&&(a=a||M,t=a.process(t))}return t=ae(t),t}var Le=/</g,Ee=/>/g,_e=/"/g,Oe=/"/g,Ce=/&#([a-zA-Z0-9]*);?/gim,Ie=/:?/gim,Fe=/&newline;?/gim,O=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,G=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,j=/u\s*r\s*l\s*\(.*/gi;function J(e){return e.replace(_e,""")}function Y(e){return e.replace(Oe,'"')}function K(e){return e.replace(Ce,function(t,a){return a[0]==="x"||a[0]==="X"?String.fromCharCode(parseInt(a.substr(1),16)):String.fromCharCode(parseInt(a,10))})}function ee(e){return e.replace(Ie,":").replace(Fe," ")}function te(e){for(var r="",t=0,a=e.length;t<a;t++)r+=e.charCodeAt(t)<32?" ":e.charAt(t);return P.trim(r)}function re(e){return e=Y(e),e=K(e),e=ee(e),e=te(e),e}function ae(e){return e=J(e),e=Z(e),e}function Pe(){return""}function Ve(e,r){typeof r!="function"&&(r=function(){});var t=!Array.isArray(e);function a(l){return t?!0:P.indexOf(e,l)!==-1}var s=[],i=!1;return{onIgnoreTag:function(l,o,n){if(a(l))if(n.isClosing){var c="[/removed]",u=n.position+c.length;return s.push([i!==!1?i:n.position,u]),i=!1,c}else return i||(i=n.position),"[removed]";else return r(l,o,n)},remove:function(l){var o="",n=0;return P.forEach(s,function(c){o+=l.slice(n,c[0]),n=c[1]}),o+=l.slice(n),o}}}function Re(e){for(var r="",t=0;t<e.length;){var a=e.indexOf("<!--",t);if(a===-1){r+=e.slice(t);break}r+=e.slice(t,a);var s=e.indexOf("-->",a);if(s===-1)break;t=s+3}return r}function ze(e){var r=e.split("");return r=r.filter(function(t){var a=t.charCodeAt(0);return a===127?!1:a<=31?a===10||a===13:!0}),r.join("")}g.whiteList=Q();g.getDefaultWhiteList=Q;g.onTag=Ae;g.onIgnoreTag=xe;g.onTagAttr=Te;g.onIgnoreTagAttr=Se;g.safeAttrValue=ke;g.escapeHtml=Z;g.escapeQuote=J;g.unescapeQuote=Y;g.escapeHtmlEntities=K;g.escapeDangerHtml5Entities=ee;g.clearNonPrintableCharacter=te;g.friendlyAttrValue=re;g.escapeAttrValue=ae;g.onIgnoreTagStripAll=Pe;g.StripTagBody=Ve;g.stripCommentTag=Re;g.stripBlankChar=ze;g.cssFilter=M;g.getDefaultCSSWhiteList=we;var V={},y=$;function Ne(e){var r=y.spaceIndex(e),t;return r===-1?t=e.slice(1,-1):t=e.slice(1,r+1),t=y.trim(t).toLowerCase(),t.slice(0,1)==="/"&&(t=t.slice(1)),t.slice(-1)==="/"&&(t=t.slice(0,-1)),t}function We(e){return e.slice(0,2)==="</"}function $e(e,r,t){var a="",s=0,i=!1,l=!1,o=0,n=e.length,c="",u="";e:for(o=0;o<n;o++){var f=e.charAt(o);if(i===!1){if(f==="<"){i=o;continue}}else if(l===!1){if(f==="<"){a+=t(e.slice(s,o)),i=o,s=o;continue}if(f===">"){a+=t(e.slice(s,i)),u=e.slice(i,o+1),c=Ne(u),a+=r(i,a.length,c,u,We(u)),s=o+1,i=!1;continue}if(f==='"'||f==="'")for(var d=1,p=e.charAt(o-d);p.trim()===""||p==="=";){if(p==="="){l=f;continue e}p=e.charAt(o-++d)}}else if(f===l){l=!1;continue}}return s<e.length&&(a+=t(e.substr(s))),a}var Ue=/[^a-zA-Z0-9\\_:.-]/gim;function Xe(e,r){var t=0,a=0,s=[],i=!1,l=e.length;function o(d,p){if(d=y.trim(d),d=d.replace(Ue,"").toLowerCase(),!(d.length<1)){var h=r(d,p||"");h&&s.push(h)}}for(var n=0;n<l;n++){var c=e.charAt(n),u,f;if(i===!1&&c==="="){i=e.slice(t,n),t=n+1,a=e.charAt(t)==='"'||e.charAt(t)==="'"?t:Ge(e,n+1);continue}if(i!==!1&&n===a){if(f=e.indexOf(c,n+1),f===-1)break;u=y.trim(e.slice(a+1,f)),o(i,u),i=!1,n=f,t=n+1;continue}if(/\s|\n|\t/.test(c))if(e=e.replace(/\s|\n|\t/g," "),i===!1)if(f=De(e,n),f===-1){u=y.trim(e.slice(t,n)),o(u),i=!1,t=n+1;continue}else{n=f-1;continue}else if(f=je(e,n-1),f===-1){u=y.trim(e.slice(t,n)),u=H(u),o(i,u),i=!1,t=n+1;continue}else continue}return t<e.length&&(i===!1?o(e.slice(t)):o(i,H(y.trim(e.slice(t))))),y.trim(s.join(" "))}function De(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="="?r:-1}}function Ge(e,r){for(;r<e.length;r++){var t=e[r];if(t!==" ")return t==="'"||t==='"'?r:-1}}function je(e,r){for(;r>0;r--){var t=e[r];if(t!==" ")return t==="="?r:-1}}function He(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function H(e){return He(e)?e.substr(1,e.length-2):e}V.parseTag=$e;V.parseAttr=Xe;var qe=W.FilterCSS,b=g,ie=V,Be=ie.parseTag,Qe=ie.parseAttr,I=$;function C(e){return e==null}function Me(e){var r=I.spaceIndex(e);if(r===-1)return{html:"",closing:e[e.length-2]==="/"};e=I.trim(e.slice(r+1,-1));var t=e[e.length-1]==="/";return t&&(e=I.trim(e.slice(0,-1))),{html:e,closing:t}}function Ze(e){var r={};for(var t in e)r[t]=e[t];return r}function Je(e){var r={};for(var t in e)Array.isArray(e[t])?r[t.toLowerCase()]=e[t].map(function(a){return a.toLowerCase()}):r[t.toLowerCase()]=e[t];return r}function se(e){e=Ze(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=b.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=Je(e.whiteList||e.allowList):e.whiteList=b.whiteList,e.onTag=e.onTag||b.onTag,e.onTagAttr=e.onTagAttr||b.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||b.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||b.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||b.safeAttrValue,e.escapeHtml=e.escapeHtml||b.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new qe(e.css))}se.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var r=this,t=r.options,a=t.whiteList,s=t.onTag,i=t.onIgnoreTag,l=t.onTagAttr,o=t.onIgnoreTagAttr,n=t.safeAttrValue,c=t.escapeHtml,u=r.cssFilter;t.stripBlankChar&&(e=b.stripBlankChar(e)),t.allowCommentTag||(e=b.stripCommentTag(e));var f=!1;t.stripIgnoreTagBody&&(f=b.StripTagBody(t.stripIgnoreTagBody,i),i=f.onIgnoreTag);var d=Be(e,function(p,h,m,v,ne){var E={sourcePosition:p,position:h,isClosing:ne,isWhite:Object.prototype.hasOwnProperty.call(a,m)},S=s(m,v,E);if(!C(S))return S;if(E.isWhite){if(E.isClosing)return"</"+m+">";var U=Me(v),oe=a[m],X=Qe(U.html,function(A,x){var R=I.indexOf(oe,A)!==-1,k=l(m,A,x,R);return C(k)?R?(x=n(m,A,x,u),x?A+'="'+x+'"':A):(k=o(m,A,x,R),C(k)?void 0:k):k});return v="<"+m,X&&(v+=" "+X),U.closing&&(v+=" /"),v+=">",v}else return S=i(m,v,E),C(S)?c(v):S},c);return f&&(d=f.remove(d)),d};var Ye=se;(function(e,r){var t=g,a=V,s=Ye;function i(o,n){var c=new s(n);return c.process(o)}r=e.exports=i,r.filterXSS=i,r.FilterXSS=s,function(){for(var o in t)r[o]=t[o];for(var n in a)r[n]=a[n]}();function l(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}l()&&(self.filterXSS=e.exports)})(z,z.exports);var T=z.exports,Ke=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var r=Object.getPrototypeOf(e);if(r===null)return!0;for(;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r},tt=function(){function e(r,t){var a=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=F(F({},T.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(i,l,o,n){return i==="a"&&l==="href"||(i==="img"||i==="source")&&l==="src"?a.sanitizeUrl(o):T.safeAttrValue(i,l,o,n)}},this._entityMap={"&":"8","<":"<",">":">",'"':""","'":"'","/":"/"};var s;r&&!t?s=r:r&&t?(s=Object.create(this.arcgisFilterOptions),s.css={whiteList:this.arcgisCSSWhiteList},Object.keys(r).forEach(function(i){if(i==="whiteList")s.whiteList=a._extendObjectOfArrays([a.arcgisWhiteList,r.whiteList||{}]);else if(i==="css"){var l=r.css.whiteList;l!=null&&r.css instanceof Object&&Object.keys(l).forEach(function(o){return s.css.whiteList[o]=l[o]})}else s[i]=r[i]})):(s=Object.create(this.arcgisFilterOptions),s.whiteList=this.arcgisWhiteList,s.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=s,this._xssFilter=new T.FilterXSS(s)}return e.prototype.sanitize=function(r,t){switch(t===void 0&&(t={}),typeof r){case"number":return isNaN(r)||!isFinite(r)?null:r;case"boolean":return r;case"string":return this._xssFilter.process(r);case"object":return this._iterateOverObject(r,t);default:return t.allowUndefined&&typeof r>"u"?void 0:null}},e.prototype.sanitizeUrl=function(r,t){var a=(t??{}).isProtocolRequired,s=a===void 0?!0:a,i=this._trim(r.substring(0,r.indexOf(":"))),l=r==="/",o=/^#/.test(r),n=i&&this.allowedProtocols.indexOf(i.toLowerCase())>-1;return l||o||n?T.escapeAttrValue(r):!i&&!s?T.escapeAttrValue("https://".concat(r)):""},e.prototype.sanitizeHTMLAttribute=function(r,t,a,s){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(r,t,a,s):T.safeAttrValue(r,t,a,s)},e.prototype.validate=function(r,t){t===void 0&&(t={});var a=this.sanitize(r,t);return{isValid:r===a,sanitized:a}},e.prototype.encodeHTML=function(r){var t=this;return String(r).replace(/[&<>"'\/]/g,function(a){return t._entityMap[a]})},e.prototype.encodeAttrValue=function(r){var t=/^[a-zA-Z0-9]$/;return String(r).replace(/[\x00-\xFF]/g,function(a,s){return t.test(a)?a:"&#x".concat(Number(r.charCodeAt(s)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(r){var t={};return r.forEach(function(a){Object.keys(a).forEach(function(s){Array.isArray(a[s])&&Array.isArray(t[s])?t[s]=t[s].concat(a[s]):t[s]=a[s]})}),t},e.prototype._iterateOverObject=function(r,t){var a=this;t===void 0&&(t={});try{var s=!1,i=void 0;if(Array.isArray(r))i=r.reduce(function(o,n){var c=a.validate(n,t);return c.isValid?o.concat([n]):(s=!0,o.concat([c.sanitized]))},[]);else if(Ke(r)){var l=Object.keys(r);i=l.reduce(function(o,n){var c=r[n],u=a.validate(c,t);return u.isValid?o[n]=c:(s=!0,o[n]=u.sanitized),o},{})}else return t.allowUndefined&&typeof r>"u"?void 0:null;return s?i:r}catch{return null}},e.prototype._trim=function(r){return String.prototype.trim?r.trim():r.replace(/(^\s*)|(\s*$)/g,"")},e}();export{et as a,tt as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.0-next.20250610 */
|
4
|
+
import{a as e}from"./62U5XQ53.js";var i=["hub:initiativeTemplate:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}},recommendedTemplates:{type:"array",items:{type:"string"}}})});export{i as a,r as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a,b}from"./
|
3
|
+
v1.0.0-next.20250610 */
|
4
|
+
import{a,b}from"./2VLL65Q3.js";import"./62U5XQ53.js";import"./GWCLKO7W.js";import"./QDCUDH5M.js";import"./SA3FJIMJ.js";export{a as InitiativeTemplateEditorTypes,b as InitiativeTemplateSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as i,c as n,d as p,e as a}from"./
|
3
|
+
v1.0.0-next.20250610 */
|
4
|
+
import{a as i,c as n,d as p,e as a}from"./C2WZRDNU.js";import"./SA3FJIMJ.js";var c=":host{display:block}",d=c,h=class{constructor(s){i(this,s),this.inTour=!1,this.currentId=void 0,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}componentWillLoad(){let s=this.host.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,r)=>{let o=t.getAttribute("ref-id");t.parent=this,t.index=r,this.instantAppsPopovers.set(o,t)}),this.host.addEventListener("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}render(){return n(p,{key:"5e963a64d3fe1adafbf07b03a319007dcc028fa8"},n("slot",{key:"f06cad97f188592dd6b1936825e4b80163ac3d37",name:"popovers"}))}next(){let s=Array.from(this.instantAppsPopovers.keys()),e=s.indexOf(this.currentId)+1,t=s[e];this.close(this.currentId),this.open(t)}previous(){let s=Array.from(this.instantAppsPopovers.keys()),e=s.indexOf(this.currentId)-1,t=s[e];this.close(this.currentId),this.open(t)}done(){this.endTour()}handlePopoverProps(s){Array.from(this.host.querySelector("[slot='popovers']")?.children||[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}async open(s){await this.beforeOpen();let e=this.instantAppsPopovers.get(s)?.firstElementChild;e.open=!0}async close(s){let e=this.instantAppsPopovers.get(s)?.firstElementChild;e.open=!1}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());this.open(s[0])}async endTour(){this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}get host(){return a(this)}};h.style=d;export{h as instant_apps_popovers};
|
@@ -0,0 +1,4 @@
|
|
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.20250610 */
|
4
|
+
import{a,b}from"./U5WH4XWF.js";import"./RKK6IXRN.js";import"./SA3FJIMJ.js";export{a as ChannelEditorTypes,b as ChannelSchema};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as r}from"./
|
3
|
+
v1.0.0-next.20250610 */
|
4
|
+
import{a as r}from"./M74AMYXF.js";import"./FO3XKEOC.js";import{c as n}from"./MFATTJGH.js";import"./XPJYK2RV.js";import"./RLTUCGPF.js";import"./G6HN6TFX.js";import"./AJ4EANAJ.js";import"./LFIVJEK2.js";import"./5PTXJEIG.js";import"./4BBMUYOY.js";import"./V3GT6ZDE.js";import"./OG4YXHRH.js";import"./ZRRGRRES.js";import"./JFIQPHVY.js";import"./MSN724ZV.js";import"./JA6ZHJAG.js";import"./XKTGW3XN.js";import"./3MMNPTWA.js";import"./LUWKLSCB.js";import"./GRH6L6AX.js";import"./6ZSHJ5AZ.js";import{b as i}from"./QVNQSDMG.js";import{a as f}from"./YJVHNGLM.js";import{A as m,D as _,c as h,d as a,f as o,y as u,z as p}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var b=h`/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as g}from"./
|
3
|
+
v1.0.0-next.20250610 */
|
4
|
+
import{a as g}from"./YJVHNGLM.js";import{B as s,D as p,c as l,d as c,p as h,y as u}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var b=l`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -0,0 +1,4 @@
|
|
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.20250610 */
|
4
|
+
import{b as p,d as n,e as h,f as R}from"./LUWKLSCB.js";function a(r={}){return r.portal?R(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function u(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function U(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function j(r){return r.join(",")}function nr(r,t){let e=P(r,t),o=Object.assign({httpMethod:"GET"},t);return n(e,o)}var P=(r,t)=>`${typeof t=="string"?t:a(t)}/content/items/${r}`;function ar(r,t){let e=`${P(r,t)}/data`,o=Object.assign({httpMethod:"GET",params:{}},t);return o.file&&(o.params.f=null),n(e,o).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function ir(r){let t=`${P(r.id,r)}/relatedItems`,e=Object.assign({httpMethod:"GET",params:{direction:r.direction}},r);return typeof r.relationshipType=="string"?e.params.relationshipType=r.relationshipType:e.params.relationshipTypes=r.relationshipType,delete e.direction,delete e.relationshipType,n(t,e)}function mr(r,t){let e=`${P(r,t)}/resources`,o=Object.assign({},t);return o.params=Object.assign({num:1e3},o.params),n(e,o)}function lr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/delete`;return n(e,r)})}function dr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),n(e,r)})}function hr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${encodeURIComponent(t)}/${r.folderId}/delete`;return n(e,r)})}function xr(r,t){let e=r||"self",o=`${a(t)}/portals/${e}/settings`,i=Object.assign({httpMethod:"GET"},t);return n(o,i)}function W(r){return u(r).then(t=>{let e=r.folderId?`${a(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${a(r)}/content/users/${t}/items/${r.item.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent)),n(e,r)})}function Ur(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),n(e,r)})}function jr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.itemId}/move`,o=r.folderId;return o||(o="/"),r.params=Object.assign({folder:o},r.params),n(e,r)})}function Cr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/addRelationship`,o=h(r,["originItemId","destinationItemId","relationshipType"],{params:Object.assign({},r.params)});return n(e,o)})}function Rr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),n(e,r)})}function Dr(r){return u(r).then(t=>{let o=`${`${a(r)}/content/users/${t}`}/createFolder`;return r.params=Object.assign({title:r.title},r.params),n(o,r)})}function Y(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):u(r).then(t=>{let e=`${a(r)}/content/users/${t}`,o=`${e}/addItem`;r.folderId&&(o=`${e}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&U(r.params.extent)&&(r.params.extent=j(r.params.extent));let i=h(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return n(o,i)})}function Wr(r){let t=Object.assign({folderId:null},r);return Y(t)}function Xr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/protect`;return n(e,r)})}function Zr(r){return u(r).then(t=>{let e=`${a(r)}/content/users/${t}/items/${r.id}/unprotect`;return n(e,r)})}function E(r,t){let e=`${a(t)}/community/groups/${r}`,o=Object.assign({httpMethod:"GET"},t);return n(e,o)}function tt(r,t){let e=`${a(t)}/content/groups/${r}`,o=Object.assign(Object.assign({httpMethod:"GET"},{params:{start:1,num:100}}),t);return t&&t.paging&&(o.params=Object.assign({},t.paging)),n(e,o)}function M(r,t){let e=t||r.authentication.username,o=r.owner||e;return`${a(r)}/content/users/${encodeURIComponent(o)}/items/${r.id}/share`}function A(r,t){let e=t||r.authentication.username;return(r.owner||e)===e}function G(r){return r.authentication.getUser().then(t=>t&&t.role==="org_admin"&&!t.roleId)}function v(r){return E(r.groupId,r).then(t=>t.userMembership.memberType).catch(()=>"none")}var x=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let e=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(p(`${e} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(p("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(p('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(p('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(p(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(p(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(p(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&p("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function $(r,t){let e;typeof r=="string"||r instanceof x?e={httpMethod:"GET",params:{q:r}}:e=h(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let o;switch(t){case"item":o="/search";break;case"group":o="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof x)&&r.groupId)o=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":o="/community/users";break;default:o="/portals/self/users/search";break}let i=a(e)+o;return n(i,e).then(m=>(m.nextStart&&m.nextStart!==-1&&(m.nextPage=function(){let c;return typeof r=="string"||r instanceof x?c={q:r,start:m.nextStart}:(c=r,c.start=m.nextStart),$(c,t)}),m))}function k(r){return $(r,"item")}function b(r,t){if(r.length===0)return[];let e=[];for(let o=0;o<r.length;o+=t)e.push(r.slice(o,o+t));return e}function F(r){let t=r.id,e=`${a(r)}/community/groups/${t}/addUsers`,o=Object.assign({},r,{admins:void 0,users:void 0}),m=[...N("users",r.users,o),...N("admins",r.admins,o)].map(c=>H(e,c));return Promise.all(m).then(J)}function N(r,t,e){return!t||t.length<1?[]:b(t,25).map(i=>z(r,i,e))}function z(r,t,e){return Object.assign({},e,{[r]:t,params:Object.assign(Object.assign({},e.params),{[r]:t})})}function H(r,t){return n(r,t).catch(e=>({errors:[e]}))}function J(r){let t=r.filter(i=>i.notAdded).reduce((i,m)=>i.concat(m.notAdded),[]),e=r.filter(i=>i.errors).reduce((i,m)=>i.concat(m.errors),[]),o={notAdded:t};return e.length>0&&(o.errors=e),o}function _(r){let{id:t,users:e}=r,o=`${a(r)}/community/groups/${t}/removeUsers`,i=c=>{let d=Object.assign(Object.assign({},r),{users:c,params:{users:c}});return n(o,d).catch(f=>({errors:[f]}))},m=b(e,25).map(c=>i(c));return Promise.all(m).then(c=>{let d=l=>c.filter(g=>g[l]).reduce((g,w)=>g.concat(w[l]),[]),f=d("errors"),s={notRemoved:d("notRemoved")};return f.length?Object.assign(Object.assign({},s),{errors:f}):s})}function Ft(r){let t=`${a(r)}/community/createGroup`;return r.params=Object.assign(Object.assign({},r.params),r.group),n(t,r)}function Ht(r){let t=`${a(r)}/community/groups/${r.id}/protect`;return n(t,r)}function Jt(r){let t=`${a(r)}/community/groups/${r.id}/unprotect`;return n(t,r)}function Kt(r){let t=`${a(r)}/community/groups/${r.id}/delete`,e=Object.assign({},r);return n(t,e)}function Ot(r){return $(r,"group")}function qt(r){return $(r,"groupContent")}function oe(r){let t=`${a(r)}/community/groups/${r.group.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.group),n(t,r)}function S(r){let t=`${a(r)}/community/groups/${r.id}/updateUsers`,e={authentication:r.authentication,params:{}};return r.newMemberType==="admin"?e.params.admins=r.users:e.params.users=r.users,n(t,e)}async function y(r){var t;if(r.username)return encodeURIComponent(r.username);if(!((t=r.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(r.authentication.username);if(r.authentication)return r.authentication.getUsername().then(encodeURIComponent)}async function I(r){let t,e={httpMethod:"GET"};if(typeof r=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${r}`;else{let o=await y(r);t=`${a(r)}/community/users/${o}`,e=Object.assign(Object.assign({},r),e)}return n(t,e)}async function Le(r){let t=await r.authentication.getUsername(),e=M(r,t);return A(r,t)?B(e,r):G(r).then(o=>{if(o)return B(e,r);throw Error(`This item can not be shared by ${t}. They are neither the item owner nor an organization admin.`)})}function B(r,t){return t.params=Object.assign({org:!1,everyone:!1},t.params),t.access==="private"&&(t.params.groups=" "),t.access==="org"&&(t.params.org=!0),t.access==="public"&&(t.params.account=!0,t.params.everyone=!0),n(r,t)}function T(r){let t={q:`id: ${r.id} AND group: ${r.groupId}`,start:1,num:10,sortField:"title",authentication:r.authentication,httpMethod:"POST"};return k(t).then(e=>{let o=!1;if(e.total>0)return o=e.results.some(i=>i.id===r.id),o})}async function ao(r){return T(r).then(async t=>{if(t)return{itemId:r.id,shortcut:!0,notSharedWith:[]};let{owner:e,confirmItemControl:o}=r,i=await r.authentication.getUsername(),m=e||i;if(m!==i){let c=!1,d=!1;return Promise.all([I({username:i,authentication:r.authentication}),I({username:m,authentication:r.authentication}),v(r)]).then(([f,s,l])=>{let g=!!o;return c=f.role==="org_admin"&&!f.roleId,d=f.orgId!==s.orgId,V(f,g,l,c,s,r)}).then(f=>{let[{revert:s}={promise:Promise.resolve({notAdded:[]}),revert:l=>Promise.resolve(l)}]=f;return Promise.all(f.map(({promise:l})=>l)).then(()=>D(r,c,d)).then(l=>s(l))})}return D(r)}).then(t=>{if(t.notSharedWith.length)throw Error(`Item ${r.id} could not be shared to group ${r.groupId}.`);return t})}function V(r,t,e,o,i,m){let c=[];if(m.groupId!==r.favGroupId){if(t){if(!o)throw Error(`This item can not be shared to shared editing group ${m.groupId} by ${r.username} as they not the item owner or org admin.`);c.push(C(r,r,!1,`Error adding ${r.username} as member to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m),C(r,i,!0,e==="none"?`Error adding user ${i.username} to edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`:`Error promoting user ${i.username} to admin in edit group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m))}else if(o)c.push(C(r,r,!1,`Error adding ${r.username} as member to view group ${m.groupId}. Consequently item ${m.id} was not shared to the group.`,m));else if(e==="none")throw new Error(`This item can not be shared by ${r.username} as they are not a member of the specified group ${m.groupId}.`)}return c}async function D(r,t=!1,e=!1){let o=await r.authentication.getUsername(),i=r.owner||o,m=`${a(r)}/content/items/${r.id}/share`;return(i===o||t&&!e)&&(m=`${a(r)}/content/users/${i}/items/${r.id}/share`),r.params={groups:r.groupId,confirmItemControl:r.confirmItemControl},n(m,r)}function C(r,t,e,o,i){let m=t.groups||[],c=m.find(s=>s.id===i.groupId);if(r.orgId!==t.orgId)throw Error(`User ${t.username} is not a member of the same org as ${r.username}. Consequently they can not be added added to group ${i.groupId} nor can item ${i.id} be shared to the group.`);if(!c&&m.length>511)throw Error(`User ${t.username} already has 512 groups, and can not be added to group ${i.groupId}. Consequently item ${i.id} can not be shared to the group.`);let d,f;if(c)e&&c.userMembership.memberType==="member"?(d=S({id:i.groupId,users:[t.username],newMemberType:"admin",authentication:i.authentication}).then(s=>{let l=s.results.reduce((g,w)=>(w.success||g.push(w.username),g),[]);return Promise.resolve({notAdded:l})}).catch(()=>({notAdded:[t.username]})),f=s=>S({id:i.groupId,users:[t.username],newMemberType:"member",authentication:i.authentication}).then(()=>s).catch(()=>s)):(d=Promise.resolve({notAdded:[]}),f=s=>Promise.resolve(s));else{let s=e?"admins":"users";d=F({id:i.groupId,[s]:[t.username],authentication:i.authentication}).then(l=>{if(l.errors&&l.errors.length)throw l.errors[0];return l}).catch(()=>({notAdded:[t.username]})),f=l=>_({id:i.groupId,users:[t.username],authentication:i.authentication}).then(()=>l)}return{promise:d.then(s=>{if(s.notAdded.length)throw new Error(o);return s}),revert:f}}function lo(r){return T(r).then(async t=>{if(!t)return Promise.resolve({itemId:r.id,shortcut:!0,notUnsharedFrom:[]});let{owner:e}=r,o=await r.authentication.getUsername();return Promise.all([v(r),I({username:o,authentication:r.authentication})]).then(([i,m])=>{let d=(e||o)===o,f=m.role==="org_admin"&&!m.roleId;if(!d&&!f&&["admin","owner"].indexOf(i)<0)throw Error(`This item can not be unshared from group ${r.groupId} by ${o} as they not the item owner, an org admin, group admin or group owner.`);return L(r)}).then(i=>{if(i.notUnsharedFrom.length)throw Error(`Item ${r.id} could not be unshared to group ${r.groupId}`);return i})})}async function L(r){let t=await r.authentication.getUsername(),e=r.owner||t,o=`${a(r)}/content/items/${r.id}/unshare`;return e===t&&(o=`${a(r)}/content/users/${e}/items/${r.id}/unshare`),r.params={groups:r.groupId},n(o,r)}function wo(r){return Q(null,r)}function Q(r,t){let e=r||"self",o=`${a(t)}/portals/${e}`,i=Object.assign({httpMethod:"GET"},t);return n(o,i)}export{a,u as b,W as c,Ur as d,jr as e,Cr as f,Rr as g,Dr as h,Y as i,Wr as j,nr as k,ar as l,ir as m,mr as n,Xr as o,Zr as p,E as q,tt as r,lr as s,dr as t,hr as u,x as v,k as w,_ as x,Ft as y,Ht as z,Jt as A,Kt as B,Ot as C,qt as D,oe as E,I as F,Le as G,ao as H,lo as I,wo as J,Q as K,xr as L};
|
@@ -0,0 +1,18 @@
|
|
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.20250610 */
|
4
|
+
import e from"./ZCJBWPBW.js";import d from"./TVJRJKDY.js";import{a as b,c as O}from"./Q2RVLL7P.js";import{b as I,w as T,x}from"./MFATTJGH.js";import"./XPJYK2RV.js";import"./RLTUCGPF.js";import"./G6HN6TFX.js";import"./AJ4EANAJ.js";import"./LFIVJEK2.js";import"./5PTXJEIG.js";import"./4BBMUYOY.js";import"./V3GT6ZDE.js";import"./OG4YXHRH.js";import"./ZRRGRRES.js";import"./JFIQPHVY.js";import"./MSN724ZV.js";import"./JA6ZHJAG.js";import"./XKTGW3XN.js";import"./3MMNPTWA.js";import"./LUWKLSCB.js";import"./GRH6L6AX.js";import"./6ZSHJ5AZ.js";import{j as v,k as w,m as a,n as c,o as y,p as u,q as A}from"./QVNQSDMG.js";import{a as f}from"./YJVHNGLM.js";import{D as S,c as m,d as l,e as p,n as _,x as h,y as C}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";export default $arcgis.t(([{b:E},{a:d,b:U}])=>{var P=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 F(s,e,t){let r=t;return s&&(s?.IsEnterprisePortal&&await D("",e)&&r.push(a.NOTEBOOK),await E(e)?t.push(a.VELOCITY):s?.PortalUserPrivileges&&[c.VELOCITYFEEDS,c.VELOCITYBIGDATA,c.VELOCITYREALTIME].forEach(o=>{let i=t.indexOf(o)||-1;i!==-1&&t.splice(i,1)}),r=r.concat(N(V(s),M(s))),r=r.concat(L(s)),r=r.concat(await R(s))),Promise.resolve(r)}function N(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 L(s){return $(s)?[a.HUBPREMIUM]:[]}async function R(s){let e=await x(s?.RestUserSession);return await T(e,s?.RestUserSession)?[a.WORKFLOW]:[]}async function D(s,e){let t=s+"/sharing/rest",r={authentication:e,portal:t,params:{f:"json"}};return I(`${t}/portals/self/servers`,r).then(o=>o?.servers?.find(i=>i.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 $(s){return s?.PortalSubset?.hubPremiumEnabled||!1}var g=class extends C{constructor(){super(...arguments),this.authContextConsumer=h({context:O,subscribe:!0}),this.agoSolutionsGroupId="",this.enterpriseSolutionsGroupId="",this.locale="",this.orgUrl="",this.portalUrl="",this.sortType="numviews",this.userSessionContextConsumer=h({context:b,subscribe:!0}),this.cards=[],this._translations=f({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=P}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 l`<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=>l`<solution-details-card .card=${e}></solution-details-card>`):l`<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",r=e?.cards.length?e.cards:[];this.sortType==="new"&&r.sort((i,n)=>i.categories.includes(t)&&!n.categories.includes(t)?-1:!i.categories.includes(t)&&n.categories.includes(t)?1:i.categories.includes(t)&&n.categories.includes(t)?i.categories.length-n.categories.length:0);let o=r.map(i=>{let n=i.categories.indexOf(t)>-1;return i.chip=n?"updated":"none",i});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 r=await U(e,t,this._cardsFetcher,this._cardsFetcherDeployed,y,"created");r&&(this._relatedSolutions=r.relatedSolutions,console.log(this._relatedSolutions))}}async _getUserPrivileges(){let e=[],t=this.authContextConsumer.value,r=this.userSessionContextConsumer.value;return r&&t&&(e=t.PortalUserPrivileges?await F(t,r,t?.PortalUserPrivileges):[]),e}_getSolutionsBriefcase(){return l`<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 r=this._getDomainValue(e.domain);this._categories=[`/Categories/${t}/${r}`]}else this._categories=[`/Categories/${t}`];this._getSolutions()}}_getDomainValue(e){return w[e]}_getIndustryValue(e){return e==="AEC"?"AEC":v[e]}_clearFilterCategories(){this._categories=[]}};S("solutions-all-panel",g);return g},d,e)
|
@@ -0,0 +1,18 @@
|
|
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.20250610 */
|
4
|
+
import{a as l,b as a}from"./EY76BJOK.js";import{b}from"./WCZZYOTM.js";import{a as f}from"./YJVHNGLM.js";import{D as u,c as _,d as h,f as c,y as w,z as o}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var $=_`/** @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}.display-none{display:none}.display-flex{display:flex}.margin-top-1-2{margin-top:.5rem}.margin-left-1-2{margin-left:.5rem}.square-32{width:32px;height:32px}.square-40{width:40px;height:40px}.square-48{width:48px;height:48px}.width-40{width:40px}.square-40-41{width:40px;height:41px}.border-bottom{border-bottom:1px solid var(--calcite-color-border-3)}.box-shadow{box-shadow:0 1px 2px #0000004d}.margin-bottom-1-2{margin-bottom:.5rem}`,m=class extends w{constructor(){super(...arguments),this.enabledLayerIds=[],this.enableLegend=!1,this.enableFloorFilter=!1,this.enableFullscreen=!1,this.enableSearch=!1,this.enableBasemap=!1,this.enableHome=!1,this.enableSingleExpand=!1,this.zoomToolsSize="m",this.layout="vertical",this.mapWidgetsSize="m",this.enableMapPicker=!1,this.enableMapLayerPicker=!1,this.position="top-right",this.stackTools=!0,this.enableSelectionTool=!1,this.toolOrder=["home","legend","search","fullscreen","floorfilter","selectiontool","map-picker","map-layer-picker"],this.mapInfos=[],this.defaultLayerId="",this.isMobile=!1,this.selectedWebMapId="",this.showOnlyUpdatableLayers=!1,this._hasFloorInfo=!1,this._translations=f({name:"map-tools",blocking:!0}),this._showTools=!0,this._showBasemapWidget=!1,this._showFloorFilter=!1,this._showFullscreen=!1,this._showLegendWidget=!1,this._showSearchWidget=!1,this._selectionToolActive=!1,this._showEllipsisTools=!0,this._ellipsisTools=[],this._basemapElement=l(),this._floorFilterElement=l(),this._fullscreenElement=l(),this._legendElement=l(),this._searchElement=l(),this._widgets=[],this._selectionToolElement=l(),this._mapTools=[],this._mapTool=l()}static{this.properties={basemapConfig:0,enabledLayerIds:0,enableLegend:5,enableFloorFilter:5,enableFullscreen:5,enableSearch:5,enableBasemap:5,enableHome:5,enableSingleExpand:5,zoomToolsSize:1,layout:1,mapView:0,mapWidgetsSize:1,enableMapPicker:5,enableMapLayerPicker:5,position:1,searchConfiguration:0,stackTools:5,enableSelectionTool:5,toolOrder:0,selectedLayer:0,mapInfos:0,defaultLayerId:1,isMobile:5,parentComponentHeight:9,parentComponentWidth:9,selectedWebMapId:1,showOnlyUpdatableLayers:5,_hasFloorInfo:16,_translations:16,_showTools:16,_showBasemapWidget:16,_showFloorFilter:16,_showFullscreen:16,_showLegendWidget:16,_showSearchWidget:16,_selectionToolActive:16,_showEllipsisTools:16,_ellipsisTools:16}}static{this.styles=$}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler(),e.has("parentComponentWidth")&&this.parentComponentWidth&&this.parentComponentWidthWatchHandler(this.parentComponentWidth),e.has("_showBasemapWidget")&&(this.hasUpdated||this._showBasemapWidget!==!1)&&this._showBasemapWidgetWatchHandler(this._showBasemapWidget),e.has("_showFloorFilter")&&(this.hasUpdated||this._showFloorFilter!==!1)&&this._showFloorFilterWatchHandler(this._showFloorFilter),e.has("_showFullscreen")&&(this.hasUpdated||this._showFullscreen!==!1)&&this._showFullscreenWatchHandler(this._showFullscreen),e.has("_showLegendWidget")&&(this.hasUpdated||this._showLegendWidget!==!1)&&this._showLegendWidgetWatchHandler(this._showLegendWidget),e.has("_showSearchWidget")&&(this.hasUpdated||this._showSearchWidget!==!1)&&this._showSearchWidgetWatchHandler(this._showSearchWidget)}async mapViewWatchHandler(){await this.mapView?.when(()=>{this.enableHome&&this._initHome(),this.parentComponentWidth&&this._updateTools(this.parentComponentWidth)})}async parentComponentWidthWatchHandler(e){this._updateTools(e)}async _showBasemapWidgetWatchHandler(e){let s=this._basemapElement.value?this._basemapElement.value.basemapWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showFloorFilterWatchHandler(e){let s=this._floorFilterElement.value?this._floorFilterElement.value.floorFilterWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showFullscreenWatchHandler(e){let s=this._fullscreenElement.value?this._fullscreenElement.value.fullscreenWidget:void 0;s&&(e?s.viewModel.state==="ready"&&s.viewModel.enter():s.viewModel.state==="active"&&s.viewModel.exit())}async _showLegendWidgetWatchHandler(e){let s=this._legendElement.value?this._legendElement.value.legendWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async _showSearchWidgetWatchHandler(e){let s=this._searchElement.value?this._searchElement.value.searchWidget:void 0;s&&(e?this.mapView?.ui.add(s,{position:this.position,index:1}):this.mapView?.ui.remove(s))}async load(){this._mapTools=[...this.toolOrder],await this._initModules()}render(){this._setZoomToolsSize();let e=this.layout==="horizontal"?"display-flex":"",s=this._getToggleIcon(),i=this._showTools?e:"display-none",t=this._showEllipsisTools?"":"display-none",n=this._showSearchWidget?"":"display-none",r=this._showBasemapWidget?"":"display-none",d=this._showLegendWidget?"":"display-none",p=this._showFloorFilter?"":"display-none",y=this._showFullscreen?"":"display-none",W=this._showTools?this._translations.collapse:this._translations.expand,T=!this.enableBasemap&&!this.enableFullscreen&&!this.enableLegend&&!this.enableSearch&&!this.enableMapPicker&&!this.enableMapLayerPicker?"display-none":"",v=this.enableSingleExpand?this.layout==="horizontal"?"margin-left-1-2":"margin-top-1-2":"",F=this._ellipsisTools.length>0&&this._showTools?"":"display-none",g=this.stackTools&&this._ellipsisTools.length===0?"box-shadow":"";return h`<div class=${`${T} ${e}`}>${this.enableSingleExpand?h`<div class=${o(g)}>${this._getActionGroup(s,!1,W||"",()=>this._toggleTools())}</div>`:void 0}<div class=${`${v} ${g} ${i}`}>${this._getMapWidgets(this._mapTools)}</div><div><div class=${o(F)}>${this._getActionGroup("ellipsis",!1,"",()=>this._toggleEllipsisTools())}<div class=${o(t)}>${this._getMapWidgets(this._ellipsisTools)}</div></div></div></div><basemap-gallery .basemapConfig=${this.basemapConfig} class=${o(r)} .mapView=${this.mapView} ${a(this._basemapElement)}></basemap-gallery><map-search class=${o(n)} .mapView=${this.mapView} result-graphic-enabled .searchConfiguration=${this.searchConfiguration} ${a(this._searchElement)}></map-search><map-legend class=${o(d)} .mapView=${this.mapView} ${a(this._legendElement)}></map-legend><map-fullscreen class=${o(y)} .mapView=${this.mapView} @fullscreenStateChange=${E=>this._fullscreenStateChange(E.detail)} ${a(this._fullscreenElement)}></map-fullscreen><floor-filter class=${o(p)} .enabled=${this.enableFloorFilter} .mapView=${this.mapView} ${a(this._floorFilterElement)}></floor-filter><selection-tool .mapView=${this.mapView} @drawingComplete=${()=>{this._selectionToolActive=!this._selectionToolActive}} .selectedLayerId=${this.selectedLayer?.id} tool=rectangle ${a(this._selectionToolElement)}></selection-tool>${this.enableMapPicker&&h`<map-picker class=mapPickerClass .height=${(this.parentComponentHeight??0)-25} id=map-picker .mapInfos=${this.mapInfos} reference-element=map .selectedWebMapId=${this.selectedWebMapId} show-map-list-in-popover></map-picker>`||""}${this.enableMapLayerPicker&&h`<map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} .enabledLayerIds=${this.enabledLayerIds} .height=${(this.parentComponentHeight??0)-25} .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} reference-element=layers scale=s .selectedIds=${this.selectedLayer?[this.selectedLayer.id]:[]} show-layers-list-in-popover show-tables type=dropdown></map-layer-picker>`||""}`}async _initModules(){let[e,s]=await b(["esri/widgets/Expand","esri/widgets/Home"]);this.Expand=e,this.Home=s}_initHome(){this.enableHome&&(this._homeWidget=this.Home&&new this.Home({view:this.mapView}))}_setZoomToolsSize(){let e=document.getElementsByClassName("esri-zoom")[0]?.children[0],s=document.getElementsByClassName("esri-zoom")[0]?.children[1];if(e&&s){let i=this.zoomToolsSize==="s"?"32px":this.zoomToolsSize==="m"?"40px":"48px";e.style.width=i,e.style.height=i,s.style.width=i,s.style.height=i}this.layout==="horizontal"&&(document.getElementsByClassName("esri-zoom")[0]?.setAttribute("style","position: absolute; top: 50px; left: 0"),document.getElementsByClassName("esri-ui-top-left")[0]?.setAttribute("style","flex-direction: row-reverse; gap: 5px; align-items: flex-start;"))}_getToggleIcon(){let e;return this.layout==="horizontal"?e=this._showTools?"chevrons-left":"chevrons-right":e=this._showTools?"chevrons-up":"chevrons-down",e}_updateTools(e){let s=JSON.parse(JSON.stringify(this.toolOrder));this._hasFloorInfo=this.mapView?.map?.floorInfo;let i=s.indexOf("floorfilter");i>-1&&!this._hasFloorInfo&&s.splice(i,1);let t=Math.ceil(e/40)-1;t&&t!==s.length-1?(this._mapTools=s.slice(0,t),this._ellipsisTools=s.slice(t,s.length)):(this._mapTools=s,this._ellipsisTools=[])}_getMapWidgets(e){let s=this._showFullscreen?"full-screen-exit":"full-screen",i=this._showFullscreen?this._translations.exitFullscreen:this._translations.enterFullscreen;return e.map(t=>{switch(t){case"legend":return this.enableLegend&&this.enableSingleExpand?this._getActionGroup("legend",!1,this._translations.legend,()=>this._showLegend()):this.enableLegend?this._getWidget(t,this._legendElement.value?.legendWidget,!0):void 0;case"search":return this.enableSearch&&this.enableSingleExpand?this._getActionGroup("magnifying-glass",!1,this._translations.search,()=>this._search()):this.enableSearch?this._getWidget(t,this._searchElement.value?.searchWidget,!0):void 0;case"fullscreen":return this.enableFullscreen&&this.enableSingleExpand?this._getActionGroup(s,!1,i||"",()=>this._expand()):this.enableFullscreen?this._getWidget(t,this._fullscreenElement.value?.fullscreenWidget,!1):void 0;case"basemap":return this.enableBasemap&&this.enableSingleExpand?this._getActionGroup("basemap",!1,this._translations.basemap,()=>this._toggleBasemapPicker()):this.enableBasemap?this._getWidget(t,this._basemapElement.value?.basemapWidget,!0):void 0;case"floorfilter":return this.enableFloorFilter&&this._hasFloorInfo&&this.enableSingleExpand?this._getActionGroup("urban-model",!1,this._translations.floorFilter,()=>this._toggleFloorFilter()):this.enableFloorFilter&&this._hasFloorInfo?this._getWidget(t,this._floorFilterElement.value?.floorFilterWidget,!0):void 0;case"selectiontool":return this.enableSelectionTool?this._getActionGroup("cursor-selection",!1,this._translations.selectByRectangle,()=>this._toggleSelectionTool(),this._selectionToolActive):void 0;case"home":return this.enableHome?this._getActionGroup("home",!1,this._translations.defaultMapView,()=>this._homeWidget?.go()):void 0;case"map-picker":return this.enableMapPicker?this._getActionGroup("map",!1,"",()=>{}):void 0;case"map-layer-picker":return this.enableMapLayerPicker?this._getActionGroup("layers",!1,"",()=>{}):void 0;default:return""}})}_fullscreenStateChange(e){e==="ready"&&this._showFullscreen?this._showFullscreen=!1:e==="active"&&!this._showFullscreen&&(this._showFullscreen=!0)}_getActionGroup(e,s,i,t,n){let r=this.mapWidgetsSize==="s"?"square-32":this.mapWidgetsSize==="m"?"square-40":"square-48",d=this.stackTools?"":"margin-bottom-1-2",p=this.stackTools?"":"box-shadow";return h`<div><calcite-action alignment=center .indicator=${n} class=${`map-actions ${r} ${d} border-bottom ${p}`} .disabled=${s} .icon=${e} id=${e??c} @click=${t} scale=s text ${a(this._mapTool)}><calcite-icon icon=cheveron-up scale=s slot=icon></calcite-icon></calcite-action>${!this.isMobile&&h`<calcite-tooltip .placement=${this.layout==="vertical"?"auto":"bottom"} reference-element=${e??c}><span>${i}</span></calcite-tooltip>`||""}</div>`}_getWidget(e,s,i){if(this._widgets.indexOf(e)<0&&this.mapView&&s){let t=this.toolOrder.indexOf(e),n=this.Expand&&new this.Expand({view:this.mapView,content:s}),r=this.enableHome?2:1;this.mapView.ui.add(i?n:s,{position:this.position,index:t>-1?t+r:1}),this._widgets.push(e)}}_showLegend(){this._showLegendWidget=!this._showLegendWidget,this._showTools=!1,this._toggleEllipsisTools()}_search(){this._showSearchWidget=!this._showSearchWidget,this._showTools=!1,this._toggleEllipsisTools()}_toggleBasemapPicker(){this._showBasemapWidget=!this._showBasemapWidget,this._showTools=!1,this._toggleEllipsisTools()}_toggleFloorFilter(){this._showFloorFilter=!this._showFloorFilter,this._showTools=!1,this._toggleEllipsisTools()}_toggleSelectionTool(){this._selectionToolActive=!this._selectionToolActive,this._selectionToolElement.value?.toggleSelectionTool()}_expand(){this._showFullscreen=!this._showFullscreen}_toggleTools(){this._showTools||(this._showBasemapWidget=!1,this._showSearchWidget=!1,this._showLegendWidget=!1,this._showFloorFilter=!1),this._showTools=!this._showTools,this._toggleEllipsisTools()}_toggleEllipsisTools(){this._showEllipsisTools=!this._showEllipsisTools}};u("map-tools",m);export{m as MapTools};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.0-next.20250610 */
|
4
|
+
import{a as e}from"./62U5XQ53.js";var s=["hub:page:edit","hub:page:create"],a=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});export{s as a,a as b};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import"./
|
3
|
+
v1.0.0-next.20250610 */
|
4
|
+
import"./SA3FJIMJ.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.0.0-next.20250610 */
|
4
|
+
import{a as s}from"./2KAZVBXF.js";import"./GLQGCQKQ.js";import"./U5WH4XWF.js";import"./RKK6IXRN.js";import"./UIUU6DED.js";import"./3U5ZQLVD.js";import"./VHT2MWYW.js";import"./COVJW67Z.js";import"./AO22ELU2.js";import"./2VLL65Q3.js";import"./XIWWE2AH.js";import"./7EC2QANE.js";import"./YFYERRHB.js";import"./N4PA6ZFU.js";import"./OGISURJ2.js";import"./SPJUB4WW.js";import"./GA2ZUKPH.js";import"./OBGE3PJZ.js";import"./PERO5WYC.js";import"./YN6JZ5LC.js";import"./62U5XQ53.js";import"./GWCLKO7W.js";import"./QDCUDH5M.js";import"./SA3FJIMJ.js";var c=async(e,l,n)=>{let{isSharedUpdate:i,leavingDisallowed:t}=l;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[t]}],[{effect:s.DISABLE,conditions:[t]},{effect:s.DISABLE,conditions:[i]}]]},rules:[{effect:s.RESET,conditions:[t]},{effect:s.RESET,conditions:[i,{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}};export{c as buildUiSchema};
|
@@ -0,0 +1,4 @@
|
|
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.20250610 */
|
4
|
+
var u="::",r="|";function c(t){return t.indexOf(r)>-1&&(t=t.replace(r,u)),t}function f(t){return t[0]==="{"&&(t=t.substring(1,t.length-1)),/^(\{){0,1}[0-9a-fA-F]{8}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{4}[-]?[0-9a-fA-F]{12}(\}){0,1}$/gi.test(t)}var i="~",p=256,o="slug";function S(t,e,n=0){return[o,e.toLowerCase(),t].join("|").substring(0,p-n).replace(/-+$/,"").replace(new RegExp(`^${o}\\|`),"")}function _(t){let e=`${o}|${t}|`;return p-e.length}var a=(t,e)=>`${t.split(r).pop()}${i}${e}`;export{f as a,c as b,o as c,S as d,_ as e,a as f};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as f}from"./
|
3
|
+
v1.0.0-next.20250610 */
|
4
|
+
import{a as f}from"./CHPCWQV3.js";import{e as b}from"./AO3Y73S4.js";import{c as u,n as g,t as _,z as x}from"./P7PGGEDY.js";import"./ZBC2KSKJ.js";import{a as m,c as a,d as w,e as v,f as y}from"./C2WZRDNU.js";import"./SA3FJIMJ.js";var k=`
|
5
5
|
@media print {
|
6
6
|
@page {
|
7
7
|
size: Portrait;
|