@esri/solutions-components 1.0.0-next.20250602 → 1.0.0-next.20250603.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{26NBJVZZ.js → 23JUUYFN.js} +2 -2
- package/dist/cdn/{SUKCP66T.js → 23KRBWNX.js} +1 -1
- package/dist/cdn/{IY3OZUEQ.js → 23TE6EVK.js} +1 -1
- package/dist/cdn/{43VWZHZ4.js → 26OF6DOI.js} +2 -2
- package/dist/cdn/2HOKIBIJ.js +4 -0
- package/dist/cdn/{RB2AS75H.js → 2I5J5JBB.js} +2 -2
- package/dist/cdn/{BVSP7QVQ.js → 2K7BLOL6.js} +2 -2
- package/dist/cdn/{4J4QSJMN.js → 2NRHRJMW.js} +2 -2
- package/dist/cdn/{OX3NC4XD.js → 2VPGZ7E2.js} +2 -2
- package/dist/cdn/2W64V4FL.js +4 -0
- package/dist/cdn/{5LXBRQII.js → 2YSLDCYN.js} +2 -2
- package/dist/cdn/{UFAKSMYV.js → 3DYJ4FTG.js} +1 -1
- package/dist/cdn/{4XSSLUVA.js → 3FD4XRIR.js} +2 -2
- package/dist/cdn/{QGQCUZHR.js → 3I5XCDRF.js} +2 -2
- package/dist/cdn/{FP7YI2GP.js → 3JEMJ2EV.js} +2 -2
- package/dist/cdn/{PKS5R7VU.js → 3M72CEYO.js} +2 -2
- package/dist/cdn/{4SUKTZKA.js → 3OHXXSQC.js} +2 -2
- package/dist/cdn/{QGNWNBJN.js → 45GEUPJR.js} +1 -1
- package/dist/cdn/{EUPBZJHY.js → 47FBP4UH.js} +2 -2
- package/dist/cdn/{RXIT5QD4.js → 4EP3SSVQ.js} +2 -2
- package/dist/cdn/{ADFGB7AN.js → 4FJC45LY.js} +2 -2
- package/dist/cdn/{P2XVKHCW.js → 4HECS3TA.js} +2 -2
- package/dist/cdn/{KT5QSDM6.js → 4MPZW2AH.js} +2 -2
- package/dist/cdn/{CBL5BRM4.js → 4NKQ4OHH.js} +1 -1
- package/dist/cdn/{OE57CTB6.js → 55EOCAZO.js} +2 -2
- package/dist/cdn/{HV2KHWHT.js → 57F2XN77.js} +1 -1
- package/dist/cdn/{FN5TEXTV.js → 5ANAYW5P.js} +2 -2
- package/dist/cdn/{FQEBA4KU.js → 5BB6ZTVD.js} +2 -2
- package/dist/cdn/{I7PT6FAK.js → 5DNXV7XL.js} +2 -2
- package/dist/cdn/{36EB3CRX.js → 5IJJO4LY.js} +2 -2
- package/dist/cdn/{P4GFBVOF.js → 5V42POES.js} +2 -2
- package/dist/cdn/{PYUTAJEA.js → 5X7D5OFH.js} +2 -2
- package/dist/cdn/{VF6PQLYK.js → 62PWRVOA.js} +1 -1
- package/dist/cdn/{FPREMAUM.js → 6A4RAOPS.js} +2 -2
- package/dist/cdn/{TU5EB3SG.js → 6B26NMRD.js} +2 -2
- package/dist/cdn/{2UHWYM2M.js → 6H5BLERA.js} +2 -2
- package/dist/cdn/{NVAOBJET.js → 6P4GVMOZ.js} +2 -2
- package/dist/cdn/{UTZH2TFS.js → 6RLLS3XZ.js} +2 -2
- package/dist/cdn/{3P7JYKAA.js → 6YSPEIYA.js} +2 -2
- package/dist/cdn/{52A772AY.js → 6YVXLIWR.js} +2 -2
- package/dist/cdn/{LXIJ7KVU.js → 7B72B7FY.js} +4 -4
- package/dist/cdn/{CXKG6USO.js → 7FBWIG3K.js} +2 -2
- package/dist/cdn/{UKPXEI5B.js → 7H4LF6S3.js} +2 -2
- package/dist/cdn/{HCZ6FFD5.js → 7IJWIQKS.js} +2 -2
- package/dist/cdn/{7QIWEWJB.js → 7MLUC4ZF.js} +2 -2
- package/dist/cdn/{NKVVPNTL.js → 7OBFFSGV.js} +2 -2
- package/dist/cdn/{ROFI6I4A.js → 7OOX6EYU.js} +2 -2
- package/dist/cdn/{ZJFZ75HQ.js → 7QH32TZC.js} +2 -2
- package/dist/cdn/{BRP3CGIU.js → 7RAFMZMY.js} +2 -2
- package/dist/cdn/{XERQENM5.js → 7SBXAJO4.js} +2 -2
- package/dist/cdn/{VPKBHDHE.js → A5OGKGEV.js} +2 -2
- package/dist/cdn/{GWBWCMEH.js → AAE7EK4I.js} +2 -2
- package/dist/cdn/{KF2WMPDA.js → AAOA4QBP.js} +2 -2
- package/dist/cdn/{IWDPSGBA.js → ABYYFXA3.js} +2 -2
- package/dist/cdn/{GCOLAVO7.js → ADABT6KF.js} +2 -2
- package/dist/cdn/{O7CQVXLY.js → AE2GFHQI.js} +2 -2
- package/dist/cdn/{U7FY3Z6J.js → AJIFFKGX.js} +2 -2
- package/dist/cdn/{HAYNJTAQ.js → AKWYDDKA.js} +2 -2
- package/dist/cdn/{DTYJWPW7.js → ALIHQ2MF.js} +2 -2
- package/dist/cdn/{2UT3AL6J.js → ALV5KMDH.js} +2 -2
- package/dist/cdn/{L2UNPKWB.js → B7C2SG7U.js} +2 -2
- package/dist/cdn/{3VMVU5ES.js → B7V2TCV2.js} +1 -1
- package/dist/cdn/{3NED4V6X.js → BB5THTK5.js} +2 -2
- package/dist/cdn/{PY5JDU7J.js → BKEUB7D6.js} +2 -2
- package/dist/cdn/{CFCFOBMC.js → BMKFZOGZ.js} +1 -1
- package/dist/cdn/{I3A5FLJX.js → BTMSD3FY.js} +2 -2
- package/dist/cdn/{77R2YFJG.js → BUGW2FJW.js} +1 -1
- package/dist/cdn/{OIZT53OO.js → BWIARGK3.js} +2 -2
- package/dist/cdn/{6VZMPYJ5.js → BXQLGQ6O.js} +2 -2
- package/dist/cdn/{O3VY75AJ.js → BXWG6ASU.js} +2 -2
- package/dist/cdn/{23G7VEHG.js → CGFFKEWQ.js} +2 -2
- package/dist/cdn/{4665JE7L.js → CGPIDLBY.js} +2 -2
- package/dist/cdn/{7T4TUTI3.js → CKP5NRSZ.js} +2 -2
- package/dist/cdn/{VJYZRK5U.js → CPPGBHGB.js} +2 -2
- package/dist/cdn/{GZUKF6LK.js → CUB7E2CZ.js} +1 -1
- package/dist/cdn/{GHQ2LWYD.js → CUTLCVEY.js} +2 -2
- package/dist/cdn/{CMXG2M4O.js → CZPQYOMC.js} +1 -1
- package/dist/cdn/{FBMHJIQX.js → D6S3BMVV.js} +1 -1
- package/dist/cdn/{C2K7AWBU.js → DDHWUUM5.js} +2 -2
- package/dist/cdn/{VFDF4ROS.js → DGMABTNK.js} +2 -2
- package/dist/cdn/{THF2NVYP.js → DHEXYRM4.js} +2 -2
- package/dist/cdn/{MXVKQ2IP.js → DP4HUTJB.js} +2 -2
- package/dist/cdn/{CEMJF7BH.js → DS2RXS3N.js} +2 -2
- package/dist/cdn/{CRB7SEY5.js → DTQTQMKB.js} +1 -1
- package/dist/cdn/{LIITBMWX.js → DUX7RIHF.js} +2 -2
- package/dist/cdn/{ZLX44O64.js → DV4IGJMT.js} +2 -2
- package/dist/cdn/{W2Y6LTHF.js → DVCGX7AQ.js} +2 -2
- package/dist/cdn/{QC676X4G.js → DVOJAUT5.js} +2 -2
- package/dist/cdn/{D2CS6GXR.js → E236QMQ7.js} +2 -2
- package/dist/cdn/{NYPC4U7K.js → E2JMZPHI.js} +2 -2
- package/dist/cdn/{CNAN2LR5.js → E43HBSTM.js} +2 -2
- package/dist/cdn/{B52UULYQ.js → EJJPCG36.js} +2 -2
- package/dist/cdn/{SR5UXEZC.js → EJKR2ZHP.js} +2 -2
- package/dist/cdn/{B3MVDBCA.js → EPT2WH3D.js} +2 -2
- package/dist/cdn/ERUVVBEL.js +4 -0
- package/dist/cdn/{ECSLDMAC.js → EZJUU4SD.js} +2 -2
- package/dist/cdn/{5MIHZEX3.js → F4ZGDGM4.js} +2 -2
- package/dist/cdn/{EBFJLUNN.js → F6ZVXJY4.js} +2 -2
- package/dist/cdn/{5CPJFSLZ.js → F6ZZOQ45.js} +2 -2
- package/dist/cdn/{3XYELSRJ.js → FAXNU5CL.js} +1 -1
- package/dist/cdn/{XDFUQD2L.js → FBUSWZJT.js} +2 -2
- package/dist/cdn/{DKKUIANX.js → FEK5UIIE.js} +2 -2
- package/dist/cdn/{GY2OYI5D.js → FI7VCDS7.js} +2 -2
- package/dist/cdn/{VV57DRLT.js → FRU4NUKP.js} +1 -1
- package/dist/cdn/{2QOWYA3F.js → FV7CWXXA.js} +2 -2
- package/dist/cdn/{IGAQLS35.js → G25UYWU2.js} +2 -2
- package/dist/cdn/{EBDJ264L.js → G4AY2BY2.js} +1 -1
- package/dist/cdn/{FCRG74YC.js → G4WB3PBR.js} +2 -2
- package/dist/cdn/{NNZJVFSR.js → GD22AZGD.js} +2 -2
- package/dist/cdn/{JNRXLD2Y.js → GDVWCARK.js} +2 -2
- package/dist/cdn/{J5JJWJST.js → GGLOL5YA.js} +2 -2
- package/dist/cdn/{2VCCQVWV.js → GNMYTB4B.js} +2 -2
- package/dist/cdn/{TOK7WOLO.js → GSFDUUIV.js} +2 -2
- package/dist/cdn/{JN5OUP7E.js → H2QIWGB3.js} +2 -2
- package/dist/cdn/H4LF7LYL.js +18 -0
- package/dist/cdn/{3ESNVIEB.js → H77AUDKG.js} +2 -2
- package/dist/cdn/{TLTMGAYX.js → H7LE3225.js} +2 -2
- package/dist/cdn/{MDUIQHWP.js → HACX7AGZ.js} +2 -2
- package/dist/cdn/HCQBWHV3.js +18 -0
- package/dist/cdn/{HLR6HDY3.js → HE6RDTLW.js} +2 -2
- package/dist/cdn/{IXAJVNIU.js → HFPFPCEQ.js} +2 -2
- package/dist/cdn/{LULN4KJC.js → HIFJRRQY.js} +2 -2
- package/dist/cdn/{7AIFCSOJ.js → HM3EFLFF.js} +2 -2
- package/dist/cdn/{H26QSL2F.js → HQRD3W3T.js} +2 -2
- package/dist/cdn/{PPZ6M2CC.js → HUHVTN5N.js} +2 -2
- package/dist/cdn/{PYOCUWAR.js → HUY2NQF2.js} +1 -1
- package/dist/cdn/{7IUINEVK.js → HVBM4D6S.js} +1 -1
- package/dist/cdn/{C7MBEKKG.js → IAM2GWWY.js} +2 -2
- package/dist/cdn/{EPC627TH.js → IEKYGBCE.js} +2 -2
- package/dist/cdn/{D2D6LOXR.js → IFGU7UKD.js} +2 -2
- package/dist/cdn/{QSMQBG3B.js → IJOJIH2Q.js} +2 -2
- package/dist/cdn/{PE6DCA3I.js → IUKY4AJJ.js} +2 -2
- package/dist/cdn/{FR7J7CFL.js → IUO3RQBY.js} +2 -2
- package/dist/cdn/{5O23XWTI.js → JDLIQP26.js} +1 -1
- package/dist/cdn/{JGQZ3EBA.js → JEXYLSPT.js} +2 -2
- package/dist/cdn/{A4HGPGWR.js → JHZMQC26.js} +2 -2
- package/dist/cdn/{6ILUF2CQ.js → JK3NLT2O.js} +2 -2
- package/dist/cdn/{CVVU4KAG.js → JMFIHU24.js} +2 -2
- package/dist/cdn/{XTFZE4SM.js → JRBPHSAK.js} +2 -2
- package/dist/cdn/{IWEWW7UF.js → JTT7WLPJ.js} +2 -2
- package/dist/cdn/{IZRJGJNT.js → K22YDYDF.js} +1 -1
- package/dist/cdn/{7OBM63GA.js → K2N3GFEJ.js} +2 -2
- package/dist/cdn/{ZI26RSTF.js → K5GUPAGQ.js} +2 -2
- package/dist/cdn/{GENZOKN4.js → K6752QH3.js} +2 -2
- package/dist/cdn/K6H6OHMX.js +18 -0
- package/dist/cdn/{UP5YHHVX.js → KC4DY2HC.js} +2 -2
- package/dist/cdn/{ZINXGQGV.js → KDBUQPCS.js} +2 -2
- package/dist/cdn/{XMTH5TYU.js → KGUBXPVQ.js} +2 -2
- package/dist/cdn/{JQTYVN4M.js → KHYYZCSF.js} +1 -1
- package/dist/cdn/{TRGQYCJH.js → KI6QHNPI.js} +1 -1
- package/dist/cdn/{37KIAMAS.js → KOY2DGQB.js} +2 -2
- package/dist/cdn/{MKH4ISUR.js → KT3PTRZ6.js} +2 -2
- package/dist/cdn/{ECKJFFD3.js → KVQYP6QO.js} +2 -2
- package/dist/cdn/{3DP6J6SC.js → KY25YQM3.js} +2 -2
- package/dist/cdn/{VAMROQTR.js → LAARQ3SC.js} +2 -2
- package/dist/cdn/{HEHIUXMR.js → LBFKPX2C.js} +2 -2
- package/dist/cdn/{GWABTOFY.js → LJ67HDLQ.js} +2 -2
- package/dist/cdn/{UUIJYUXC.js → LJN277XH.js} +1 -1
- package/dist/cdn/{H2Y4QRE4.js → LO5XB3CJ.js} +2 -2
- package/dist/cdn/{CWOST2RQ.js → LQSN4MQB.js} +2 -2
- package/dist/cdn/{PJIJ655P.js → LW67Q7U3.js} +2 -2
- package/dist/cdn/{XWKRLPXO.js → LXCV6LJ6.js} +1 -1
- package/dist/cdn/{DS7RSNNI.js → LYOVCHLV.js} +2 -2
- package/dist/cdn/{FB57Z37X.js → LZ67DRAD.js} +2 -2
- package/dist/cdn/{BHYARFEL.js → LZWGO4KG.js} +2 -2
- package/dist/cdn/{MQDNCLQF.js → M2LFTGSG.js} +2 -2
- package/dist/cdn/{P4YH3X65.js → M7NNYPVJ.js} +2 -2
- package/dist/cdn/{SPOPBX7Y.js → MCDQUORV.js} +2 -2
- package/dist/cdn/{7PCMY7XC.js → MEWYK3DQ.js} +2 -2
- package/dist/cdn/{XSOOFRYI.js → MLZAIX3K.js} +2 -2
- package/dist/cdn/{L5F2YIGY.js → MPQ4CIM7.js} +2 -2
- package/dist/cdn/{PYIFAA7W.js → MPV7FCIF.js} +2 -2
- package/dist/cdn/{SOFUJZ3D.js → MTIUYXWA.js} +2 -2
- package/dist/cdn/MVS6QH7E.js +4 -0
- package/dist/cdn/MWGRZML6.js +4 -0
- package/dist/cdn/{D5SL3VGO.js → N55W5Z4W.js} +2 -2
- package/dist/cdn/{FFEVHA54.js → NCWTGVLS.js} +2 -2
- package/dist/cdn/{LSQ5BIVZ.js → NJDPBF7U.js} +2 -2
- package/dist/cdn/{LE6WWQF7.js → NOPVFUIA.js} +2 -2
- package/dist/cdn/{ZT7BLGUD.js → NTM7VXP2.js} +2 -2
- package/dist/cdn/{HE7IB5CL.js → NXZVUBHX.js} +2 -2
- package/dist/cdn/{5BWL4IEJ.js → O3MMCKSZ.js} +2 -2
- package/dist/cdn/{LRHUNYT4.js → O7J65UZA.js} +1 -1
- package/dist/cdn/{LC5YWKYI.js → OBH5D5B3.js} +2 -2
- package/dist/cdn/{6XV7AL47.js → OHFEEKIB.js} +2 -2
- package/dist/cdn/{4GUKXZWM.js → OMQTD6W4.js} +2 -2
- package/dist/cdn/{PXAOKWPK.js → OUXGXK3J.js} +1 -1
- package/dist/cdn/{N4S5NMAT.js → OVZLS4VM.js} +1 -1
- package/dist/cdn/{MFNJAERQ.js → P4NNQGNZ.js} +2 -2
- package/dist/cdn/{JA7AXS45.js → PGSEOWFX.js} +2 -2
- package/dist/cdn/{ATJKU5BO.js → PHRFHM2D.js} +2 -2
- package/dist/cdn/{G7MH556M.js → PZYR43RF.js} +1 -1
- package/dist/cdn/{VU2XZBBH.js → QGGEZQ5P.js} +1 -1
- package/dist/cdn/{IA7SPSNX.js → QHY3HOJZ.js} +1 -1
- package/dist/cdn/{I6WLOVYE.js → QLHC6CPF.js} +2 -2
- package/dist/cdn/{TZRDOWBK.js → QPNW6P3H.js} +2 -2
- package/dist/cdn/{5NQ4I5W6.js → QVAA7UWM.js} +2 -2
- package/dist/cdn/{L5MOZJ5R.js → QX2LVJEP.js} +2 -2
- package/dist/cdn/{I6T4DNMK.js → QXLE5FAV.js} +1 -1
- package/dist/cdn/{RS5NTHM5.js → R475XUMQ.js} +2 -2
- package/dist/cdn/{HTQZJJEM.js → RCFGDSWA.js} +2 -2
- package/dist/cdn/{SKCMFCS7.js → RCPW7BND.js} +2 -2
- package/dist/cdn/RJRURTM3.js +4 -0
- package/dist/cdn/{MNM5B3BF.js → RRTZSCHT.js} +2 -2
- package/dist/cdn/{O4FSY2OZ.js → S7I5NQIT.js} +2 -2
- package/dist/cdn/{V6F7F5EQ.js → SEJNBKC3.js} +2 -2
- package/dist/cdn/{QJN75MNZ.js → SO2MJYUC.js} +2 -2
- package/dist/cdn/SOKSUQE7.js +4 -0
- package/dist/cdn/{JVBZXQR6.js → SRCXOI3Y.js} +2 -2
- package/dist/cdn/{XWKDDYMN.js → SVF5ULXK.js} +2 -2
- package/dist/cdn/{WX6QLUGO.js → SXDVITDW.js} +2 -2
- package/dist/cdn/{HHG6ZUPU.js → SYKOTABZ.js} +2 -2
- package/dist/cdn/{J3HD5HLJ.js → T2KSGTVF.js} +2 -2
- package/dist/cdn/{PHEZ3MV4.js → T3AWV5HU.js} +2 -2
- package/dist/cdn/{N2LEHUCQ.js → TM4VLUD7.js} +1 -1
- package/dist/cdn/{42YNAPAP.js → TT5NLCZ7.js} +2 -2
- package/dist/cdn/{ABDLISXN.js → TW3LKPAL.js} +2 -2
- package/dist/cdn/{VE32BTAF.js → TWSVZ4MU.js} +2 -2
- package/dist/cdn/{5GEGTWOQ.js → TXPPQ5K7.js} +1 -1
- package/dist/cdn/{QM36ZUFT.js → TYS4GUXP.js} +2 -2
- package/dist/cdn/{FNTJLKD2.js → U6HIPEIC.js} +2 -2
- package/dist/cdn/{DGSPIK2T.js → UBMKB36W.js} +2 -2
- package/dist/cdn/{FFI6SWY5.js → USVRA2PF.js} +2 -2
- package/dist/cdn/{VBY2NOFA.js → UTKAQVP4.js} +2 -2
- package/dist/cdn/{XQVIBAF5.js → UY4MNUVT.js} +2 -2
- package/dist/cdn/{IFRGKORC.js → UYNSQSTA.js} +2 -2
- package/dist/cdn/{AXQI5RRD.js → V5XXUD57.js} +2 -2
- package/dist/cdn/{V6HVZYGZ.js → VGUIEWXD.js} +1 -1
- package/dist/cdn/{H5ZIGMRI.js → VNMQ4LFX.js} +2 -2
- package/dist/cdn/{QMVZ56M5.js → VONL6KBY.js} +2 -2
- package/dist/cdn/{HOAV4OHX.js → VQKLQBOO.js} +2 -2
- package/dist/cdn/{6FXEWTKM.js → W22GLIX6.js} +2 -2
- package/dist/cdn/{UDOVYXDG.js → WCNH7COY.js} +2 -2
- package/dist/cdn/{POJSHOPU.js → WEJIR3KC.js} +2 -2
- package/dist/cdn/{LIYWSETY.js → WGO54NYU.js} +2 -2
- package/dist/cdn/{7A2GAI5N.js → WINQVMKE.js} +2 -2
- package/dist/cdn/{KB3K57TU.js → WOGXYHTW.js} +1 -1
- package/dist/cdn/{3E6JVCKB.js → WPA4NXXH.js} +2 -2
- package/dist/cdn/{EX7O7TLM.js → WTVJEJOH.js} +2 -2
- package/dist/cdn/{3PVQNJZD.js → WUYXX4RA.js} +1 -1
- package/dist/cdn/{36FXCDNJ.js → WX6NTYZO.js} +2 -2
- package/dist/cdn/{TIVYTH2C.js → WZWGNIEX.js} +2 -2
- package/dist/cdn/{3LHLZJPX.js → XAABPBEY.js} +2 -2
- package/dist/cdn/{JZZFN7NR.js → XASSYP2N.js} +2 -2
- package/dist/cdn/{7LDUAT3S.js → XDB2IAAB.js} +2 -2
- package/dist/cdn/{7O4CFQEN.js → XG3GBQPB.js} +2 -2
- package/dist/cdn/{DRZSEY3Y.js → XH7TNO6J.js} +2 -2
- package/dist/cdn/{ES7XNROT.js → XIH6ZMGJ.js} +1 -1
- package/dist/cdn/{CSQ523GB.js → XN5ERJUX.js} +2 -2
- package/dist/cdn/{4HKALJ2Y.js → XOWZ4LD3.js} +2 -2
- package/dist/cdn/{2OWHUGXN.js → XPLFSIZL.js} +2 -2
- package/dist/cdn/{QHS4RQMX.js → XX372MHT.js} +2 -2
- package/dist/cdn/{DNOKW6XD.js → Y2WO5VQQ.js} +2 -2
- package/dist/cdn/{E4RSRTQZ.js → Y3ESQQEV.js} +2 -2
- package/dist/cdn/{BNPG5IW3.js → Y5NSXWTE.js} +2 -2
- package/dist/cdn/{QZIQJ6SA.js → YBGWD4DE.js} +2 -2
- package/dist/cdn/{BWGBAWCO.js → YDN7DHK5.js} +2 -2
- package/dist/cdn/{4NO2UJWR.js → YEYDGCMG.js} +2 -2
- package/dist/cdn/{RYGBJCL4.js → YLMFQSC4.js} +2 -2
- package/dist/cdn/{Q3GBSDXK.js → YN3ZXEKJ.js} +2 -2
- package/dist/cdn/{TDNEC4ET.js → YN72HJN7.js} +2 -2
- package/dist/cdn/YOMJ4KM5.js +4 -0
- package/dist/cdn/{M2NFJOZG.js → YOUICQQX.js} +2 -2
- package/dist/cdn/{WA77C3F4.js → YSQPEWEY.js} +1 -1
- package/dist/cdn/{S2GW652B.js → YT5JSWCJ.js} +2 -2
- package/dist/cdn/{JAF5EPQU.js → YZMGJ7SM.js} +2 -2
- package/dist/cdn/{VUYPJKBN.js → Z642X5R6.js} +2 -2
- package/dist/cdn/{Z3ETJYGZ.js → ZBRMQKPX.js} +2 -2
- package/dist/cdn/{EA4H4V5U.js → ZIZWR2E2.js} +2 -2
- package/dist/cdn/{Y7SNFI2C.js → ZJZRCIO6.js} +2 -2
- package/dist/cdn/{OEUC2E3S.js → ZMEBOR2G.js} +2 -2
- package/dist/cdn/{ZXU6LSAN.js → ZQ2HPN3W.js} +2 -2
- package/dist/cdn/{NVBZ7AJX.js → ZSIMORYA.js} +2 -2
- package/dist/cdn/{EIALH5ZV.js → ZTYNAGFP.js} +2 -2
- package/dist/cdn/{SVW6AZR5.js → ZVLVAUCM.js} +1 -1
- package/dist/cdn/{V5COCALB.js → ZZ5CPOFT.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/loadModules.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/publicNotificationStore.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-store.js +1 -1
- package/dist/chunks/templates.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
- package/dist/components/basemap-gallery/customElement.js +1 -1
- package/dist/components/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +7 -5
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +78 -63
- 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 +9 -7
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-fullscreen/customElement.js +1 -1
- package/dist/components/map-layer-picker/customElement.js +1 -1
- package/dist/components/map-legend/customElement.js +1 -1
- package/dist/components/map-picker/customElement.js +1 -1
- package/dist/components/map-search/customElement.js +1 -1
- package/dist/components/map-select-tools/customElement.js +1 -1
- package/dist/components/map-tools/customElement.js +1 -1
- package/dist/components/pci-calculator/customElement.js +1 -1
- package/dist/components/pdf-download/customElement.js +1 -1
- package/dist/components/public-notification/customElement.js +1 -1
- package/dist/components/refine-selection/customElement.js +1 -1
- package/dist/components/selection-tool/customElement.js +1 -1
- package/dist/components/solution-article-card/customElement.js +1 -1
- package/dist/components/solution-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-panel/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-panel/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deploying-panel/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.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 +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-article-panel/customElement.js +1 -1
- package/dist/components/solutions-articles/customElement.js +1 -1
- package/dist/components/solutions-articles-shell/customElement.js +1 -1
- package/dist/components/solutions-deployed-panel/customElement.js +1 -1
- package/dist/components/solutions-deployed-shell/customElement.js +1 -1
- package/dist/components/solutions-filter-panel/customElement.js +1 -1
- package/dist/components/spatial-ref/customElement.js +1 -1
- package/dist/components/store-manager/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +2 -1
- package/dist/cdn/4NBBB2OS.js +0 -18
- package/dist/cdn/DYBKB6PO.js +0 -4
- package/dist/cdn/E3NCXYSH.js +0 -4
- package/dist/cdn/NO6N7UTU.js +0 -4
- package/dist/cdn/OPRTPHCU.js +0 -18
- package/dist/cdn/PTQK2QE7.js +0 -4
- package/dist/cdn/SYPORCKB.js +0 -4
- package/dist/cdn/TSHKTCVE.js +0 -4
- package/dist/cdn/VMTU5ZOX.js +0 -18
- package/dist/cdn/VQGFPSVK.js +0 -4
- package/dist/cdn/XFEJTNUZ.js +0 -4
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{f as a}from"./
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import{f as a}from"./7H4LF6S3.js";var n={discussion:"/ember-arcgis-opendata-components/assets/images/placeholders/discussion.png",group:"/ember-arcgis-opendata-components/assets/images/placeholders/group.png",event:"/ember-arcgis-opendata-components/assets/images/placeholders/event.png",content:"/ember-arcgis-opendata-components/assets/images/placeholders/content.png"};function d(t,p,o,e,l){var i;let r=(i=n[e])!==null&&i!==void 0?i:n.content,c=a(r,l),s;return e==="group"?s={aspectRatio:1,sizeDescription:{labelKey:`${t}.fields._thumbnail.sizeDescription`}}:e==="event"?s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"},sources:["url"]}:s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"}},[{labelKey:e==="group"?`${t}.fields._thumbnail.label`:"shared.fields._thumbnail.label",scope:"/properties/_thumbnail",type:"Control",options:Object.assign({control:"hub-field-input-image-picker",imgSrc:o,defaultImgUrl:c,maxWidth:727,maxHeight:484},s)}]}export{d as a};
|
@@ -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.20250603.1 */
|
4
|
+
import{a,b}from"./NTM7VXP2.js";import"./OVZLS4VM.js";import"./7QH32TZC.js";import"./PZYR43RF.js";import"./57F2XN77.js";import"./DTQTQMKB.js";export{a as EventEditorTypes,b as buildSchema};
|
@@ -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 D,b as w}from"./LIYWSETY.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./MKH4ISUR.js";import"./PJIJ655P.js";import{a as _,b as L}from"./SKCMFCS7.js";import{C as S,D as y}from"./FBMHJIQX.js";import"./CFCFOBMC.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./GWBWCMEH.js";import"./CRB7SEY5.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",i={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(l=>l.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:i.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:i.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:i.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:i.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:i.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:i.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:i.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:i.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:i.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(l=>{let o=c.includes(l)?"partial":"full",p=_[o],{language:u,translated:h}=p[l],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${l}`,value:l},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],l=n===e-1?i.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:l,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:i.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:i.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:i.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),l=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(l),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let l=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(l,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import{a as D,b as w}from"./WGO54NYU.js";import{c as f,e as d,f as s,g as x,h as C,i as m,k as b,m as I,n as v}from"./KT3PTRZ6.js";import"./LW67Q7U3.js";import{a as _,b as L}from"./RCPW7BND.js";import{C as S,D as y}from"./D6S3BMVV.js";import"./BMKFZOGZ.js";import{a as T,c as t,d as k,e as P,f as E,j as U}from"./AAE7EK4I.js";import"./DTQTQMKB.js";var A=".sc-instant-apps-language-translator-h{display:block}.sc-instant-apps-language-translator-h calcite-modal.sc-instant-apps-language-translator{--calcite-modal-content-padding:0}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header.sc-instant-apps-language-translator{display:flex;justify-content:space-between;width:100%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-text.sc-instant-apps-language-translator{font-size:18px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__writing-icon.sc-instant-apps-language-translator{display:flex;justify-content:center;align-items:center;margin-right:5px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__close-button.sc-instant-apps-language-translator{width:175px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__header-tip.sc-instant-apps-language-translator{padding:20px;max-width:45vw}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar.sc-instant-apps-language-translator calcite-label.sc-instant-apps-language-translator{--calcite-label-margin-bottom:0;font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:0.5%}.sc-instant-apps-language-translator-h .instant-apps-language-translator__user-lang-text.sc-instant-apps-language-translator{font-weight:var(--calcite-font-weight-medium)}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:first-child{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__top-bar-section.sc-instant-apps-language-translator:nth-child(2) calcite-select.sc-instant-apps-language-translator{width:255px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator{display:flex;justify-content:space-between}.sc-instant-apps-language-translator-h .instant-apps-language-translator__collapse-search-container.sc-instant-apps-language-translator calcite-input.sc-instant-apps-language-translator{width:300px;margin-left:30px}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator{display:flex;align-items:center}.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners.sc-instant-apps-language-translator{margin-top:10px !important;margin-left:55px !important}.ck-editor__editable.sc-instant-apps-language-translator{height:70px !important;font-size:0.875rem !important;line-height:1.375 !important}.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:first-child,.ck.ck-editor__editable_inline.sc-instant-apps-language-translator>.sc-instant-apps-language-translator:last-child{--ck-spacing-large:0.5rem !important}.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__close-button.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__saving-indicator.sc-instant-apps-language-translator,.sc-instant-apps-language-translator-h:dir(rtl) .instant-apps-language-translator__primary-content.sc-instant-apps-language-translator .instant-apps-language-translator__last-auto-save.sc-instant-apps-language-translator{margin-right:unset;margin-left:20px}",B=A,r="instant-apps-language-translator",i={BASE:r,header:`${r}__header`,headerText:`${r}__header-text`,savingIndicator:`${r}__saving-indicator`,closeButton:`${r}__close-button`,headerTip:`${r}__header-tip`,topBar:`${r}__top-bar`,topBarSection:`${r}__top-bar-section`,collapseSearchContainer:`${r}__collapse-search-container`,userLangText:`${r}__user-lang-text`,lastItem:`${r}--last-item`,writingIcon:`${r}__writing-icon`,primaryContent:`${r}__primary-content`,lastAutoSave:`${r}__last-auto-save`},R=class{constructor(a){T(this,a),this.translatorDataUpdated=E(this,"translatorDataUpdated",7),this.portalItem=void 0,this.appSettings=void 0,this.locales=void 0,this.open=!1,this.userLocaleInputOnChangeCallback=void 0,this.translatedLocaleInputOnChangeCallback=void 0,this.saving=!1,this.messages=void 0,this.isCollapse=!0}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}handleLocaleChange(){this.initUIData(),this.initSelectLanguage()}handleAppSettings(){this.initUIData(),this.initSelectLanguage()}componentWillLoad(){I()}async componentDidLoad(){this.initialize()}async initialize(){let[a,n]=await Promise.all([S(),y()]);this.intl=a,this.request=n,await this.initMessages(),this.initUIData(),this.initPortalItemResourceT9nData(),this.initSelectLanguage()}async initMessages(){try{let{el:a}=this,n=await C(a);return this.messages=n,Promise.resolve()}catch{return void await Promise.reject(new Error("Failed to initialize messages"))}}initUIData(){let{appSettings:a,locales:n}=this,e=x(a,n);s.set("uiData",e)}initSelectLanguage(){if(!this.intl)return;let{locales:a}=this,n=a?.[0]?.locale??this.intl.getLocale(),e=s.get("currentLanguage");this.locales.filter(l=>l.locale===e).length===0&&s.set("currentLanguage",n)}async initPortalItemResourceT9nData(){try{let a=await w(this.portalItem);s.set("portalItemResource",a);let n=await D(a);s.set("lastSave",n.lastSave),s.set("portalItemResourceT9n",n??{})}catch{}}render(){return t(k,{key:"5eec7bc36e73be3b3b77b60660ff4da55631b1ea"},this.renderDialog(),this.renderPopoverTip())}renderDialog(){return t("calcite-dialog",{open:this.open,scale:"l",placement:"cover",onCalciteDialogClose:this.close.bind(this)},this.renderHeader(),this.renderContent(),this.renderPrimaryContent())}renderPopoverTip(){return t("calcite-popover",{label:"",referenceElement:"headerTip",placement:"trailing","auto-close":!0,closable:!0},t("div",{class:i.headerTip},this.messages?.headerTip))}renderHeader(){return t("header",{class:i.header,slot:"header-content"},this.renderHeaderText())}renderHeaderText(){let{messages:a}=this;return t("div",{class:i.headerText},t("span",null,a?.header),t("calcite-button",{id:"headerTip",appearance:"transparent"},t("calcite-icon",{icon:f.Popover,scale:"s"})))}renderSavingIndicator(){let a=this.messages?.saving;return t("div",{class:i.savingIndicator},t("calcite-loader",{label:a,inline:!0}),t("span",null,a))}renderContent(){let a=b(this.locales);return t("div",null,this.renderTopBar(),a?.length>0?this.renderUIData():this.renderNotice())}renderTopBar(){return t("div",{class:i.topBar},this.renderLeadingTopBarSection(),this.renderTrailingTopBarSection())}renderLeadingTopBarSection(){return t("div",{class:i.topBarSection},this.renderUserLocale(),this.renderCollapseSearchContainer())}renderUserLocale(){let a=this.messages?.languages,n=L(),e=a?.[n];return t("div",{class:i.userLangText},e)}renderCollapseSearchContainer(){return t("div",{class:i.collapseSearchContainer},this.renderExpandCollapseButton(),this.renderSearch())}renderExpandCollapseButton(){let{isCollapse:a,messages:n}=this,e=a?n?.collapseAll:n?.expandAll;return t(U,null,t("slot",{name:"primary-custom-action"}),t("slot",{name:"secondary-custom-action"}),t("calcite-button",{onClick:this.handleExpandCollapseAll.bind(this),appearance:"transparent","icon-start":f.ExpandCollapse},e))}renderSearch(){return t("instant-apps-language-translator-search",{onSuggestionSelected:this.onSuggestionSelect.bind(this),t9nPlaceholder:this.messages?.searchPlaceholder})}renderTrailingTopBarSection(){return t("div",{class:i.topBarSection},this.renderLanguageSelection(),t("slot",{name:"translation-custom-action"}))}renderLanguageSelection(){return t("calcite-label",{layout:"inline"},this.messages?.translatedLanguage,t("calcite-select",{label:"",onCalciteSelectChange:this.handleLanguageSelection.bind(this)},this.renderTranslatedLangOptions()))}renderTranslatedLangOptions(){let n=s.get("uiData")?.get("locales"),e=b(n),c=Object.keys(_.partial);return e?.map(l=>{let o=c.includes(l)?"partial":"full",p=_[o],{language:u,translated:h}=p[l],$=`${u} - ${h}`;return t("calcite-option",{key:`translated-lang-option-${l}`,value:l},$)})}renderUIData(){if(!d?.uiData)return;let a=m();return t("div",null,a?.map((n,e)=>this.renderUIDataItem(n,e,a.length)))}renderNotice(){let a=this.messages?.noLanguage;return t("calcite-notice",{open:!0,icon:"exclamation-mark-triangle",kind:"warning"},t("div",{slot:"title"},a?.title),t("div",{slot:"message"},a?.message))}renderUIDataItem(a,n,e){let c=this.appSettings?.translatedLanguageLabels?.[d.currentLanguage],l=n===e-1?i.lastItem:"",g=this.appSettings.content.find(o=>o.id===a);return t("instant-apps-language-translator-item",{key:`${a}-${n}`,class:l,fieldName:a,translatedLanguageLabels:c,setting:g,userLocaleInputOnChangeCallback:async(o,p)=>{try{await this.userLocaleInputOnChangeCallback(o,p);let u=s.get("portalItemResource");v(u)}catch{}},translatedLocaleInputOnChangeCallback:async(o,p,u,h)=>{try{await this.translatedLocaleInputOnChangeCallback(o,p,u,h),v(h)}catch{}}})}renderPrimaryContent(){return t("div",{class:i.primaryContent,slot:"footer-end"},s.get("saving")?this.renderSavingIndicator():null,s.get("lastSave")?t("span",{key:"last-save",class:i.lastAutoSave},this.messages?.lastAutoSave," ",this.intl.formatDate(s.get("lastSave"))):null,t("calcite-button",{onClick:()=>this.open=!1,class:i.closeButton},this.messages?.close))}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let a=new Map(d.uiData);m().forEach(e=>a.get(e).expanded=this.isCollapse),s.set("uiData",a)}onSuggestionSelect(a){let n=a.detail,e=new Map(d.uiData),c=m(),l=g=>{let o=e.get(g);if(g===n){o.selected=!0;return}o.selected=!1};c.forEach(l),s.set("uiData",e)}close(){this.open=!1}handleLanguageSelection(a){let e=a.target.value;s.set("currentLanguage",e)}async getTranslationData(){return s.get("portalItemResourceT9n")}async setTranslationData(a){s.set("portalItemResourceT9n",a)}async getPortalItemResource(){return s.get("portalItemResource")}async batchWriteToPortalItemResource(a){s.set("saving",!0);try{let n=await this.getPortalItemResource();if(!n){s.set("saving",!1);return}let e=Date.now();s.set("lastSave",e);let l=[JSON.stringify({...a,lastSave:e})],g={type:"application/json"},o=new Blob(l,g);return await n.update(o),setTimeout(()=>s.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(n){return console.error("Error writing to portal item resource: ",n),s.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}get el(){return P(this)}static get watchers(){return{locales:["handleLocaleChange"],appSettings:["handleAppSettings"]}}};R.style=B;export{R as instant_apps_language_translator};
|
@@ -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.
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
4
|
function a(t){let e=t;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://qaext.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://devext.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(e="https://www.arcgis.com"),e}export{a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a,b}from"./
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import{a,b}from"./SO2MJYUC.js";import"./ZQ2HPN3W.js";import"./TXPPQ5K7.js";import"./57F2XN77.js";import"./DTQTQMKB.js";export{a as SurveyEditorTypes,b as SurveySchema};
|
@@ -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 r,b as d,e as g,g as f,j as y,k as _,o as b,p as x,r as I,s as C,v}from"./
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import{a as r,b as d,e as g,g as f,j as y,k as _,o as b,p as x,r as I,s as C,v}from"./USVRA2PF.js";import"./IJOJIH2Q.js";import"./LW67Q7U3.js";import{C as u}from"./D6S3BMVV.js";import{a as h,c as n,e as m,f as L,h as w}from"./AAE7EK4I.js";import"./DTQTQMKB.js";var k=".sc-instant-apps-interactive-legend-count-h{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text.sc-instant-apps-interactive-legend-count{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected.sc-instant-apps-interactive-legend-count{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact.sc-instant-apps-interactive-legend-count .instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-size:0.75rem}.sc-instant-apps-interactive-legend-count-h:dir(rtl){margin-left:0;margin-right:auto}",E=k,p={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},A=class{constructor(e){h(this,e),this.showTotal=!1,this.legendvm=void 0,this.activeLayerInfo=void 0,this.categoryId="",this.infoIndex=void 0,this.messages=void 0,this.selected=void 0,this.legendElement=void 0}async componentWillLoad(){new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0});let t=await u();this.intl=t}render(){let e=d.get("compact")?p.compact:"";return n("div",{key:"int-legend-count",class:e},this.showTotal?n("span",{class:p.totalFeatureCount},this.messages?.totalFeatureCount,": ",this.getTotalFeatureCount()):n("span",{key:"element-info-count",class:`${p.countText} ${v(this.el)}${this.selected?p.countTextSelected:""}`},this.getCount()))}getCount(){let{categoryId:e}=this,t=this.activeLayerInfo.layer.id,i=r.data[t]?.categories?.size;if((!r.data||!t||!e)&&!i)return"";let s=r.data[t];if(!s)return;let{categories:l}=s,a=l.get(e),c;return a?.nestedInfos?c=I(a,this.infoIndex):c=a,Number.isNaN(c.count)?"":this.intl.formatNumber(c.count)}getTotalFeatureCount(){let e=this.activeLayerInfo.layer.id;if(!r.data||!e)return"";let t=r.data[e];if(!t)return;let{categories:i}=t,s=g(i),l=C(i),a;if(l)a=x(s);else if(y(this.activeLayerInfo)){let c=f(this.activeLayerInfo.layer);a=g(c.categories)[1].count}else a=b(s);return this.intl.formatNumber(a)}get el(){return m(this)}};A.style=E;var S=".sc-instant-apps-interactive-legend-layer-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:500;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header--compact.sc-instant-apps-interactive-legend-layer-element-caption .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{font-size:0.9rem}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption h3.sc-instant-apps-interactive-legend-layer-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-layer-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption span.sc-instant-apps-interactive-legend-layer-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-layer-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}",z=S,o={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},T=class{constructor(e){h(this,e),this.layerCaptionElementExpandUpdatedEvent=L(this,"layerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){let e=_(this.activeLayerInfo),{expanded:t}=this,i=t?this.messages?.collapse:this.messages?.expand,s=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",l=d.get("compact")?` ${o.compact}`:"";return n("header",{key:"bfb5c7b5059bcefcd898b46a4e2bb1f5397a2d6f",class:`${o.interacitveLegendHeader} ${v(this.el)}${l}`},n("calcite-action",{key:"24eee4c2208df0dfa8fb209729c67ec1f34d843e",onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:i??"",label:i,scale:"s"}),n("span",{key:"95977b78f4afe0206085567b061c8cb5d9f8dc5d"},n("span",{key:"258004a4847688b94edf6d8416eef9cb07accfe5",class:o.headerActionContainer},n("h3",{key:"980f06c2054a8be5c471b5b44c667b4be1a451f9",class:`${o.header} ${o.label}${s}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&e?n("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return m(this)}};T.style=z;export{A as instant_apps_interactive_legend_count,T as instant_apps_interactive_legend_layer_element_caption};
|
@@ -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.20250603.1 */
|
4
|
+
import{a as r}from"./WEJIR3KC.js";import{D as o,I as n,c as t,d as i,q as s}from"./23KRBWNX.js";import"./DTQTQMKB.js";var a=t`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as c}from"./
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import{a as c}from"./WEJIR3KC.js";import{D as l,G as r,I as n,c as a,d as e,q as s}from"./23KRBWNX.js";import"./DTQTQMKB.js";var d=a`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as d}from"./IY3OZUEQ.js";import{e as h}from"./SKCMFCS7.js";import{c as l}from"./FBMHJIQX.js";import"./CFCFOBMC.js";import{a as v,c as a,d as m,e as u}from"./GWBWCMEH.js";import"./CRB7SEY5.js";var p={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},f=new Map;Object.keys(p).forEach(t=>{f.set(t,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${p[t].fill}"><path d="${p[t].path}"/></svg>`)});function o(t){return f.get(t)||""}var _=":host{display:block;--instant-apps-create-action-background:var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-create-action-background-press:var(--calcite-color-foreground-3);--instant-apps-create-action-height:100%;--instant-apps-create-action-width:fit-content;--instant-apps-create-action-icon-color:var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-create-background:var(--calcite-color-foreground-1);--instant-apps-create-text-color:var(--calcite-color-text-1);--instant-apps-create-popover-width:450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1:var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1:var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 0.5rem 0;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:0.5rem;cursor:pointer;--calcite-color-text-link:var(--calcite-color-text-1);align-items:stretch;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.instant-apps-create__option:first-of-type{margin-top:0.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:0.75rem;color:var(--calcite-color-text-2);padding:0.75rem 0 0 0.75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:0.25rem;color:rgb(126, 126, 126);--tw-translate-x:0px;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x:0.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}",A=_,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",hidden:"instant-apps-create__visually-hidden",header:"instant-apps-create__header",options:"instant-apps-create__options",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle",optionLink:"instant-apps-create__option-link"},y=class{constructor(t){v(this,t),this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.content=void 0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"],this.portal=void 0,this.baseClass=i.baseLight,this.messages=void 0,this.CreateOptionsLookup=void 0}contentChanged(){this.CreateOptionsLookup&&Object.keys(this.CreateOptionsLookup).forEach(t=>{this.CreateOptionsLookup[t].href=this.hrefLookup(t)})}async componentWillLoad(){return this.baseClass=d(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),await h(this).then(()=>{this.initializePredefinedOptions()})}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return a(m,{key:"662bf8aee21aafd15b22d1c64f63e242229c932b"},a("div",{key:"51f0a144f417a0c4fda1a8db71a7d67472e6b7fb",class:this.baseClass},t))}async initializeModules(){return this.handles=await l(),await Promise.resolve()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:n,mapViewerDesc:s,arcgisStoryMaps:r,storyMapsDesc:c,experienceBuilder:g,experienceBuilderDesc:w,dashboards:b,dashboardsDesc:x}=this.messages;this.CreateOptionsLookup={"instant-apps":{title:t,subtitle:e,img:o("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:n,subtitle:s,img:o("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:r,subtitle:c,img:o("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:g,subtitle:w,img:o("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:b,subtitle:x,img:o("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),n=this._getEnvironment(e),s=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${s}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${s}`;case"story-maps":return`https://storymaps${n==="prod"?"":n}.arcgis.com/stories/new?${s}`;case"experience-builder":return`https://experience${n==="prod"?"":n}.arcgis.com/builder/page/template/?${s}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:n,urlKey:s}=t,{protocol:r}=window.location,c=s?`${s}.${e}`:n;return`${r}//${c}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}renderPopover(){let t=this.renderPanel();return[a("calcite-popover",{referenceElement:"create-popover-btn",overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e,label:this.messages?.createLabel},t),a("calcite-action",{id:"create-popover-btn",alignment:"center",icon:this.popoverIcon,title:this.messages?.create,text:this.messages?.create})]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderOptions(),n=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return a("div",{class:n},t,e)}renderHeader(){let{create:t,createSubheading:e}=this.messages;return a("div",{class:i.header},a("h3",null,t),a("p",null,e))}renderOptions(){return a("nav",null,this.options.map(t=>this.renderOption(t)))}renderOption(t){if(typeof t=="string"&&(t=this.CreateOptionsLookup?.[t]),t==null)return a("div",null);let{title:e,subtitle:n,img:s,href:r}=t;return a("a",{class:i.option,href:r,target:"_blank"},a("span",{class:i.optionIcon,innerHTML:s}),a("span",{class:i.optionText},a("span",{class:i.optionTextWrapper},a("h3",{class:i.optionTitle},e),a("calcite-icon",{scale:"s",icon:"launch"})),a("p",{class:i.optionSubtitle},n)))}get el(){return u(this)}static get watchers(){return{content:["contentChanged"]}}};y.style=A;export{y as instant_apps_create};
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import{a as d}from"./23TE6EVK.js";import{e as h}from"./RCPW7BND.js";import{c as l}from"./D6S3BMVV.js";import"./BMKFZOGZ.js";import{a as v,c as a,d as m,e as u}from"./AAE7EK4I.js";import"./DTQTQMKB.js";var p={"instant-apps":{path:"M11.206 4.805v-1.38a2.231 2.231 0 0 1 2.23-2.231h13.168a2.231 2.231 0 0 1 2.231 2.23v11.15a2.231 2.231 0 0 1-2.23 2.231h-1.398V5.555a.75.75 0 0 0-.75-.75zM30.94 27.204l-5.447-4.41a.211.211 0 0 0-.344.164v2.225H8.197a1.344 1.344 0 0 1-1.344-1.344V11.665a.75.75 0 0 1 .75-.75h9.872a.75.75 0 0 1 .75.75l-.003 7.534a2.422 2.422 0 0 1-.798 1.796l-.945.855h4.3a1.075 1.075 0 0 0 1.074-1.075v-10.54a2.231 2.231 0 0 0-2.23-2.23H5.354a2.148 2.148 0 0 0-2.13 2.23v16.507a2.231 2.231 0 0 0 2.23 2.231l19.695-.003v2.725a.211.211 0 0 0 .344.164l5.447-4.41a.158.158 0 0 0 0-.245z",fill:"#83a238"},"map-viewer":{path:"M21.647 13.706A1.647 1.647 0 1 1 20 15.353a1.647 1.647 0 0 1 1.647-1.647zM19 19.083A1.917 1.917 0 1 1 17.082 21 1.917 1.917 0 0 1 19 19.082zm7.684 3.393a2.433 2.433 0 0 1-.64 1.776l-.01.012c-1.045 1.134-3.215 1.8-5.738 1.8-3.815 0-5.054-1.485-8.586-1.828a6.765 6.765 0 0 1 .566-4.07c.98-1.674 2.445-1.568 3.41-2.724.967-1.157.033-3.384 1.397-4.748 1.539-1.538 3.44-.12 4.57-2.542.877-1.884 1.84-2.98 3.68-3.35a.39.39 0 0 1 .047.07c.132.695 1.097 11.68 1.304 15.604zM6.208 8.864A3.054 3.054 0 0 1 8.115 6.17s2.425-.88 3.09-1.029a2.637 2.637 0 0 1 .314-.01 4.967 4.967 0 0 1 1.157.157l.404.095a7.26 7.26 0 0 0-.238 3.294c.188 1.354.657 2.399-.066 4.361-1.003 2.721-2.901 2.585-3.857 4.562-1.285 2.657.21 6.226-2.182 6.835l.004.002.003.003c-.801.114-1.363.22-1.663.272zm21.549-5.09a.055.055 0 0 0-.022-.037.058.058 0 0 0-.037-.01l-7.37 1.025-8.771-2.742a.227.227 0 0 0-.162.01L3.594 5.566a.054.054 0 0 0-.032.045L1.58 29a41.592 41.592 0 0 1 9.115-1.285c2.765.094 6.646 2.287 10.29 2.177 3.51-.108 8.582-2.382 9.564-2.836a.054.054 0 0 0 .03-.056z",fill:"#3DB8FF"},"story-maps":{path:"M25.5 0C23.015 0 21 .953 21 3.433v8.517a1.467 1.467 0 0 0 .43 1.038l3.837 3.827a.33.33 0 0 0 .466 0l3.836-3.827A1.467 1.467 0 0 0 30 11.95V3.433C30 .953 27.985 0 25.5 0zm0 8.1a2.6 2.6 0 1 1 2.6-2.599A2.599 2.599 0 0 1 25.5 8.1zm-7.856.453c.294-.153.312-.457.312-.788v-2.31a.104.104 0 0 0-.129-.1 6.128 6.128 0 0 0-2.248 1.19.14.14 0 0 1-.167.008c-3.437-2.283-8.543-1.52-12.131-.988-.432.064-1.762.34-2.164.424A.146.146 0 0 0 1 6.133V26.69a.147.147 0 0 0 .05.11.134.134 0 0 0 .116.035A36.394 36.394 0 0 1 9.5 25.781c3.283.054 4.403.96 4.967 1.513l.915.897a.164.164 0 0 0 .23 0l.916-.897a5.98 5.98 0 0 1 3.972-1.47 25.341 25.341 0 0 1 5.715.516c.718.109 1.46.22 2.186.312l1.251.16a.308.308 0 0 0 .348-.305v-7.375a.161.161 0 0 0-.303-.077l-.107.2a7.218 7.218 0 0 1-6.902 3.766 10.455 10.455 0 0 0-5.688.796V9.454a.89.89 0 0 1 .332-.693 2.058 2.058 0 0 1 .312-.208zM14 23.817c-3.071-1.38-5.998-.808-9.447-.293l-.253.036a.263.263 0 0 1-.3-.259V8.525a.098.098 0 0 1 .084-.097l.804-.115c2.518-.372 6.303-1.048 8.708.515a.89.89 0 0 1 .404.746z",fill:"#4fbaa9"},dashboards:{path:"M25.819 28H23.18a.181.181 0 0 1-.181-.181V13.18a.181.181 0 0 1 .181-.181h2.638a.181.181 0 0 1 .181.181V27.82a.181.181 0 0 1-.181.181zM21 27.816v-9.631a.184.184 0 0 0-.184-.185h-2.631a.184.184 0 0 0-.185.184v9.631a.184.184 0 0 0 .184.185h2.631a.184.184 0 0 0 .185-.184zm9.82.184a.18.18 0 0 0 .18-.18v-7.64a.18.18 0 0 0-.18-.18h-2.64a.18.18 0 0 0-.18.18v7.64a.18.18 0 0 0 .18.18zM7 9.267v10.475c.706.033 3.538-1.718 4.274-4.7.679-2.751 3.485-2.864 4.443-2.94 1.766-.14 3.588-.607 4.566-2.798A.216.216 0 0 0 20.085 9H7.267A.267.267 0 0 0 7 9.267zm18.997-1.053A4.411 4.411 0 0 0 21.63 4H2.684A.684.684 0 0 0 2 4.684V21.81A3.19 3.19 0 0 0 5.19 25h9.565a.245.245 0 0 0 .245-.245v-2.362a.393.393 0 0 0-.393-.393H6.38A1.385 1.385 0 0 1 5 20.619V7.349A.348.348 0 0 1 5.348 7h16.324A1.346 1.346 0 0 1 23 8.363v1.28a.357.357 0 0 0 .357.357h2.599a.046.046 0 0 0 .046-.046z",fill:"#ee9e01"},"experience-builder":{path:"M30.85 12.82l-2.85 5v7.44A1.78 1.78 0 0 1 26.22 27H25V7.75a.76.76 0 0 0-.75-.75H12V1.31a.28.28 0 0 1 .42-.25L17.51 4h8.71A1.78 1.78 0 0 1 28 5.78v4.42l2.54 1.47a.83.83 0 0 1 .31 1.15zM12 18h8v-6h-8zm7.62 5H7.75a.76.76 0 0 1-.75-.75V4H5.78A1.78 1.78 0 0 0 4 5.78V13l-2.89 5a.85.85 0 0 0 .31 1.15L4 20.59v4.61A1.78 1.78 0 0 0 5.78 27h8.62l5.18 3a.28.28 0 0 0 .42-.24v-6.39a.38.38 0 0 0-.38-.37z",fill:"#09b8ca"},geoBIM:{path:"M17.802 21.398l6.2 2.557-5.14 2.133a.772.772 0 0 1-1.06-.717zM9.311 7.868a.604.604 0 0 1-.003-1.122L16 4.169l8.12 3.148-8.119 3.184zm-3.5 1.541l8.387 3.413v12.554a.772.772 0 0 1-1.06.717l-6.297-2.736a1.639 1.639 0 0 1-1.03-1.521zM3.844 6.03a1.316 1.316 0 0 0-.827 1.22v17.395a1.316 1.316 0 0 0 .827 1.221L16 30.888l12.983-5.317v-2.423l-7.156-3.023 7.156-2.963v-1.95l-5.101-2.2-3.867 1.516L24 16.123l-6.199 2.505v-5.711l.073-.122 11.108-4.487v-1.95l-12.47-5.047a1.384 1.384 0 0 0-1.027 0z",fill:"#11ad1d"},notebooks:{path:"M2.941 25A.906.906 0 0 1 2 24.135v-.271A.906.906 0 0 1 2.941 23h3.118a.906.906 0 0 1 .941.864v.271a.906.906 0 0 1-.941.865zm3.118-8A.906.906 0 0 0 7 16.135v-.271A.906.906 0 0 0 6.059 15H2.941a.906.906 0 0 0-.941.864v.271a.906.906 0 0 0 .941.865zm0-8A.906.906 0 0 0 7 8.135v-.271A.906.906 0 0 0 6.059 7H2.941A.906.906 0 0 0 2 7.864v.271A.906.906 0 0 0 2.941 9zm9.44 16h-3.726a.773.773 0 0 1-.773-.774V6.171A.172.172 0 0 1 11.172 6H15.5a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5H5.342A1.345 1.345 0 0 0 4 4.343V5h2.059A2.904 2.904 0 0 1 9 7.858v.277A2.907 2.907 0 0 1 6.059 11H4v2h2.059A2.907 2.907 0 0 1 9 15.864v.271A2.907 2.907 0 0 1 6.059 19H4v2h2.059A2.907 2.907 0 0 1 9 23.864v.271A2.907 2.907 0 0 1 6.059 27H4v1.405a.595.595 0 0 0 .595.595H15.5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zM20 3.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 1 .5.5v18a.5.5 0 0 1-.5.5h-4a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-25a.5.5 0 0 0-.5-.5h-8a.5.5 0 0 0-.499.5z",fill:"#6e6e6e"},sites:{path:"M2.656 29A.656.656 0 0 1 2 28.344V6.185A3.189 3.189 0 0 1 5.185 3H29.72a.281.281 0 0 1 .281.281v22.53A3.194 3.194 0 0 1 26.81 29zm2.838-3h21.211a.295.295 0 0 0 .296-.295V13.494a.493.493 0 0 0-.493-.494H5v12.506a.494.494 0 0 0 .494.494zM23 9.91a.09.09 0 0 0 .09.09h3.82a.09.09 0 0 0 .09-.09V6.026A.026.026 0 0 0 26.974 6h-3.948a.026.026 0 0 0-.026.026zM6.633 6A1.597 1.597 0 0 0 5 7.595V10h14.523A.477.477 0 0 0 20 9.523V6.477A.477.477 0 0 0 19.523 6zM16 22v-5h7v5zm-7-2v-3h3v3z",fill:"#7842ed"},webAppBuilder:{path:"M15.044 19.974a.188.188 0 0 1-.192-.001l-3.762-2.35a.188.188 0 0 1-.09-.16v-4.098a.188.188 0 0 1 .096-.163l3.761-2.178a.188.188 0 0 1 .182-.001l3.863 2.179a.188.188 0 0 1 .098.165v4.095a.187.187 0 0 1-.092.161zm15.13-1.04a.052.052 0 0 0 .099.022 8.048 8.048 0 0 0 .67-3.147 7.155 7.155 0 0 0-3.507-6.213L17.59 3.768a4.054 4.054 0 0 0-1.968-.627 3.95 3.95 0 0 0-1.894.485c-.607.334-1.132.67-1.278.754a2.951 2.951 0 0 0-1.39 2.506v1.078a.2.2 0 0 0 .307.167l1.365-.87a4.988 4.988 0 0 1 2.319-.792 4.62 4.62 0 0 1 2.219.792s8.442 5.017 9.392 5.576a7.045 7.045 0 0 1 3.513 6.084zM9.546 23.55l.947-.547a.2.2 0 0 0 0-.345l-1.369-.79a4.326 4.326 0 0 1-2.13-3.842V7.286a7.16 7.16 0 0 1 3.63-6.083l.081-.05a.025.025 0 0 0-.012-.045l-.25-.005a8.333 8.333 0 0 0-3.887.994A7.102 7.102 0 0 0 3.069 8.31v10.786a3.96 3.96 0 0 0 1.89 3.362c.894.545 1.605.974 1.81 1.092a2.787 2.787 0 0 0 2.777 0zm4.383 6.37l9.997-5.773a3.959 3.959 0 0 0 1.967-3.32c.021-.929.034-1.604.034-1.806a2.786 2.786 0 0 0-1.39-2.406l-1.123-.57a.2.2 0 0 0-.289.177v1.604a4.45 4.45 0 0 1-2.218 3.842l-3.708 2.14a3.366 3.366 0 0 1-.256.135L11.6 27.128a6.427 6.427 0 0 1-3.343.938 7.137 7.137 0 0 1-3.513-1.038c-.09-.052-.38-.226-.797-.479a.094.094 0 0 0-.134.12 7.182 7.182 0 0 0 2.942 3.25 7.241 7.241 0 0 0 3.587 1.028 7.243 7.243 0 0 0 3.587-1.028z",fill:"#09b8ca"},urban:{path:"M32 14l-4 .003a1 1 0 0 0-1 1V21a1 1 0 0 1-1 1h-2V5.451l-7.598-3.335A1 1 0 0 0 15 3.03V25a1 1 0 0 1-1 1h-2V11.24h-.02L7.5 9l-4.48 2.24H3V20H0v4h5a1 1 0 0 0 1-1V12.717L7.5 12l1.5.717V28a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6.094l3 1.317V24a2 2 0 0 0 2 2h5.02A1.977 1.977 0 0 0 30 24.024V17h2z",fill:"#3DB8FF"}},f=new Map;Object.keys(p).forEach(t=>{f.set(t,`<svg viewBox="0 0 32 32" width="32" height="32" fill="${p[t].fill}"><path d="${p[t].path}"/></svg>`)});function o(t){return f.get(t)||""}var _=":host{display:block;--instant-apps-create-action-background:var(--calcite-color-foreground-1);--instant-apps-create-action-background-hover:var(--calcite-color-foreground-2);--instant-apps-create-action-background-press:var(--calcite-color-foreground-3);--instant-apps-create-action-height:100%;--instant-apps-create-action-width:fit-content;--instant-apps-create-action-icon-color:var(--calcite-color-text-3);--instant-apps-create-action-icon-hover-color:var(--calcite-color-text-1);--instant-apps-create-background:var(--calcite-color-foreground-1);--instant-apps-create-text-color:var(--calcite-color-text-1);--instant-apps-create-popover-width:450px}.instant-apps-create{height:100%}.instant-apps-create *{box-sizing:border-box}.instant-apps-create__popover-container,.instant-apps-create__inline-container{padding:1rem 1.5rem;background:var(--instant-apps-create-background);--calcite-color-text-1:var(--instant-apps-create-text-color)}.instant-apps-create__popover-container{width:var(--instant-apps-create-popover-width)}.instant-apps-create calcite-popover{--calcite-color-foreground-1:var(--instant-apps-create-background)}.instant-apps-create calcite-button:last-of-type{margin-top:0.5rem}.instant-apps-create__header h3{margin:0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__header p{margin:0;padding:0 0 0.5rem 0;font-weight:var(--calcite-font-weight-normal)}.instant-apps-create__options{display:flex;justify-content:space-between;align-items:center;flex-direction:column}.instant-apps-create__option{display:flex;color:inherit;text-decoration:inherit;height:fit-content;margin-bottom:0.5rem;cursor:pointer;--calcite-color-text-link:var(--calcite-color-text-1);align-items:stretch;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow);outline-offset:0;outline-color:transparent;transition:outline-offset 100ms ease-in-out, outline-color 100ms ease-in-out}.instant-apps-create__option:first-of-type{margin-top:0.5rem}.instant-apps-create__option:last-of-type{margin-bottom:0}.instant-apps-create__option:hover{outline:1px solid var(--calcite-color-border-1);outline-offset:2px}.instant-apps-create__option-icon{display:flex;background:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1);font-size:1.25rem;background-color:var(--calcite-color-background);justify-content:center;align-items:center;flex:1 1 auto;max-width:5rem;min-width:5rem;height:auto}.instant-apps-create__option-icon svg{display:block;overflow-clip-margin:content-box;overflow:hidden}.instant-apps-create__option-text{min-height:2rem;font-size:0.75rem;color:var(--calcite-color-text-2);padding:0.75rem 0 0 0.75rem}.instant-apps-create__option-text-wrapper{display:flex;align-items:center}.instant-apps-create__option-text h3{margin:0;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.instant-apps-create__option-text calcite-icon{margin-left:0.25rem;color:rgb(126, 126, 126);--tw-translate-x:0px;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));opacity:0;transition-property:all;transition-duration:150ms;transition-timing-function:ease-in-out;transition-delay:0s}a:hover .instant-apps-create__option-text calcite-icon{opacity:1;--tw-translate-x:0.5rem;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.instant-apps-create__option-text p{margin:0;font-size:var(--calcite-font-size--1);color:var(--calcite-color-text-3);line-height:1.35;min-height:3rem}",A=_,i={baseDark:"instant-apps-create calcite-mode-dark",baseLight:"instant-apps-create calcite-mode-light",inlineContainer:"instant-apps-create__inline-container",popoverContainer:"instant-apps-create__popover-container",hidden:"instant-apps-create__visually-hidden",header:"instant-apps-create__header",options:"instant-apps-create__options",option:"instant-apps-create__option",optionIcon:"instant-apps-create__option-icon",optionText:"instant-apps-create__option-text",optionTextWrapper:"instant-apps-create__option-text-wrapper",optionTitle:"instant-apps-create__option-title",optionSubtitle:"instant-apps-create__option-subtitle",optionLink:"instant-apps-create__option-link"},y=class{constructor(t){v(this,t),this.popoverIcon="grid",this.mode="inline",this.popoverPositioning="absolute",this.popoverPlacement="auto",this.showHeader=!0,this.content=void 0,this.options=["instant-apps","map-viewer","story-maps","experience-builder","dashboards"],this.portal=void 0,this.baseClass=i.baseLight,this.messages=void 0,this.CreateOptionsLookup=void 0}contentChanged(){this.CreateOptionsLookup&&Object.keys(this.CreateOptionsLookup).forEach(t=>{this.CreateOptionsLookup[t].href=this.hrefLookup(t)})}async componentWillLoad(){return this.baseClass=d(this.el)==="dark"?i.baseDark:i.baseLight,await this.initializeModules(),await h(this).then(()=>{this.initializePredefinedOptions()})}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let t=this.mode==="popover"?this.renderPopover():this.renderPanel();return a(m,{key:"662bf8aee21aafd15b22d1c64f63e242229c932b"},a("div",{key:"51f0a144f417a0c4fda1a8db71a7d67472e6b7fb",class:this.baseClass},t))}async initializeModules(){return this.handles=await l(),await Promise.resolve()}initializePredefinedOptions(){let{instantApps:t,instantAppsDesc:e,mapViewer:n,mapViewerDesc:s,arcgisStoryMaps:r,storyMapsDesc:c,experienceBuilder:g,experienceBuilderDesc:w,dashboards:b,dashboardsDesc:x}=this.messages;this.CreateOptionsLookup={"instant-apps":{title:t,subtitle:e,img:o("instant-apps"),href:this.hrefLookup("instant-apps")},"map-viewer":{title:n,subtitle:s,img:o("map-viewer"),href:this.hrefLookup("map-viewer")},"story-maps":{title:r,subtitle:c,img:o("story-maps"),href:this.hrefLookup("story-maps")},"experience-builder":{title:g,subtitle:w,img:o("experience-builder"),href:this.hrefLookup("experience-builder")},dashboards:{title:b,subtitle:x,img:o("dashboards"),href:this.hrefLookup("dashboards")}}}hrefLookup(t){let e=this.getBaseUrl(this.portal),n=this._getEnvironment(e),s=this.contentHref();switch(t){case"instant-apps":return`${e}/apps/instantgallery/index.html?${s}`;case"dashboards":return this.content!=null&&"portalItem"in this.content?`${e}/apps/dashboards/new#id=${this.content?.portalItem?.id}`:`${e}/apps/dashboards/new`;case"map-viewer":return`${e}/apps/mapviewer/index.html?${s}`;case"story-maps":return`https://storymaps${n==="prod"?"":n}.arcgis.com/stories/new?${s}`;case"experience-builder":return`https://experience${n==="prod"?"":n}.arcgis.com/builder/page/template/?${s}`}return""}contentHref(){return this?.content?.portalItem?.type==="Web Map"?`webmap=${this.content?.portalItem?.id}`:this?.content?.portalItem?.type==="Web Scene"?`webscene=${this.content?.portalItem?.id}`:typeof this?.content?.fetchMembers=="function"?`group=${this.content.id}`:""}getBaseUrl(t){if(!t)return"";let{customBaseUrl:e,portalHostname:n,urlKey:s}=t,{protocol:r}=window.location,c=s?`${s}.${e}`:n;return`${r}//${c}`}_getEnvironment(t){let e="";try{e=new URL(t)?.hostname}catch{}return e?.includes("arcgis.com")?e.includes("devext")&&"dev"||e.includes("qaext")&&"qa"||"prod":"dev"}renderPopover(){let t=this.renderPanel();return[a("calcite-popover",{referenceElement:"create-popover-btn",overlayPositioning:this.popoverPositioning,placement:this.popoverPlacement,autoClose:!0,ref:e=>this.popoverEl=e,label:this.messages?.createLabel},t),a("calcite-action",{id:"create-popover-btn",alignment:"center",icon:this.popoverIcon,title:this.messages?.create,text:this.messages?.create})]}renderPanel(){let t=this.showHeader?this.renderHeader():null,e=this.renderOptions(),n=this.mode==="inline"?i.inlineContainer:i.popoverContainer;return a("div",{class:n},t,e)}renderHeader(){let{create:t,createSubheading:e}=this.messages;return a("div",{class:i.header},a("h3",null,t),a("p",null,e))}renderOptions(){return a("nav",null,this.options.map(t=>this.renderOption(t)))}renderOption(t){if(typeof t=="string"&&(t=this.CreateOptionsLookup?.[t]),t==null)return a("div",null);let{title:e,subtitle:n,img:s,href:r}=t;return a("a",{class:i.option,href:r,target:"_blank"},a("span",{class:i.optionIcon,innerHTML:s}),a("span",{class:i.optionText},a("span",{class:i.optionTextWrapper},a("h3",{class:i.optionTitle},e),a("calcite-icon",{scale:"s",icon:"launch"})),a("p",{class:i.optionSubtitle},n)))}get el(){return u(this)}static get watchers(){return{content:["contentChanged"]}}};y.style=A;export{y as instant_apps_create};
|
@@ -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.
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
4
|
var r;(function(e){e.simple="simple",e.informational="informational"})(r||(r={}));var l;(function(e){e.small="s",e.medium="m",e.large="l"})(l||(l={}));var n;(function(e){e.before="before",e.after="after",e.below="below"})(n||(n={}));var i;(function(e){e.none="none",e.icon="icon"})(i||(i={}));var o;(function(e){e.caretUp="caret-up",e.caretDown="caret-down",e.caretDouble="caret-double-horizontal"})(o||(o={}));var t;(function(e){e.dynamic="dynamic",e.static="static",e.itemQuery="itemQuery"})(t||(t={}));var u;(function(e){e.start="start",e.center="center",e.end="end"})(u||(u={}));var p;(function(e){e.square="square",e.round="round"})(p||(p={}));var a;(function(e){e.none="none",e.low="low",e.medium="medium",e.heavy="heavy"})(a||(a={}));var s;(function(e){e.h1="h1",e.h2="h2",e.h3="h3",e.h4="h4",e.h5="h5",e.h6="h6"})(s||(s={}));var d={type:"object",required:[],properties:{type:{type:"string",enum:Object.keys(t),default:t.dynamic},cardTitle:{type:"string"},value:{},valueType:{type:"string",default:"string",enum:["string","number","date"]},dynamicMetric:{type:"object"},allowUnitFormatting:{type:"boolean",default:!1},unit:{type:"string"},unitPosition:{type:"string",default:n.after,enum:Object.keys(n)},serverTimeout:{type:"number",maximum:95,minimum:5,default:10},subtitle:{type:"string"},trailingText:{type:"string"},textAlign:{type:"string",default:u.start},allowLink:{type:"boolean",default:!1},allowDynamicLink:{type:"boolean",default:!0},sourceLink:{type:"string"},sourceTitle:{type:"string"},valueColor:{type:"string"},layout:{type:"string",default:r.simple,enum:Object.keys(r)},dropShadow:{type:"string",default:a.none,enum:Object.keys(a)},icon:{type:"string",default:o.caretUp,enum:Object.values(o)},visualInterest:{type:"string",default:i.none,enum:Object.keys(i)},shareable:{type:"boolean",default:!1},shareableByValue:{type:"boolean",default:!1},shareableOnHover:{type:"boolean",default:!0},popoverText:{type:"string"},publisherText:{type:"string"}},allOf:[{$ref:"#/definitions/if-source-title-then-source-link"},{$ref:"#/definitions/value-type-value-mapping"},{$ref:"#/definitions/if-static-then-url-format"}],definitions:{"if-source-title-then-source-link":{if:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]},then:{required:["sourceLink"]}},"value-type-value-mapping":{if:{type:"object",properties:{valueType:{enum:["string","date"]}}},then:{type:"object",properties:{value:{type:"string"}}},else:{type:"object",properties:{value:{type:"number"}}}},"if-static-then-url-format":{if:{type:"object",properties:{type:{const:t.static}}},then:{type:"object",properties:{sourceLink:{format:"url"}}}}}};export{o as a,t as b,d as c};
|
@@ -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{e as w}from"./
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import{e as w}from"./XASSYP2N.js";import"./OUXGXK3J.js";import"./K22YDYDF.js";import{a as p,b as g}from"./G25UYWU2.js";import{b as m}from"./QHY3HOJZ.js";import{a as _}from"./WEJIR3KC.js";import{D as l,E as n,I as c,c as h,d as o,o as s,q as d}from"./23KRBWNX.js";import"./DTQTQMKB.js";var u=h`@layer{/** @license
|
5
5
|
* Copyright 2025 Esri
|
6
6
|
*
|
7
7
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as s}from"./
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import{a as s}from"./S7I5NQIT.js";import"./LXCV6LJ6.js";import"./7IJWIQKS.js";import"./WOGXYHTW.js";import"./UTKAQVP4.js";import"./5DNXV7XL.js";import"./YLMFQSC4.js";import"./55EOCAZO.js";import"./QX2LVJEP.js";import"./EZJUU4SD.js";import"./SO2MJYUC.js";import"./NTM7VXP2.js";import"./OVZLS4VM.js";import"./7QH32TZC.js";import"./PZYR43RF.js";import"./XAABPBEY.js";import"./GD22AZGD.js";import"./7MLUC4ZF.js";import"./45GEUPJR.js";import"./ZMEBOR2G.js";import"./ZQ2HPN3W.js";import"./TXPPQ5K7.js";import"./57F2XN77.js";import"./DTQTQMKB.js";var c=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:s.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-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:[{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}}]}]]},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.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};
|
@@ -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 c,b as e,c as s,d as x}from"./
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import{a as c,b as e,c as s,d as x}from"./XIH6ZMGJ.js";function o(r={}){return r.portal?x(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function i(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 h(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function p(r){return r.join(",")}function N(r,t){let n=b(r,t),a=Object.assign({httpMethod:"GET"},t);return e(n,a)}var b=(r,t)=>`${typeof t=="string"?t:o(t)}/content/items/${r}`;function F(r,t){let n=`${b(r,t)}/data`,a=Object.assign({httpMethod:"GET",params:{}},t);return a.file&&(a.params.f=null),e(n,a).catch(m=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(m.message))throw m})}function Y(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/delete`;return e(n,r)})}function z(r){return i(r).then(t=>{let n=`${o(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),e(n,r)})}function L(r,t){let n=r||"self",a=`${o(t)}/portals/${n}/settings`,m=Object.assign({httpMethod:"GET"},t);return e(a,m)}function y(r){return i(r).then(t=>{let n=r.folderId?`${o(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${o(r)}/content/users/${t}/items/${r.item.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&h(r.params.extent)&&(r.params.extent=p(r.params.extent)),e(n,r)})}function O(r){return i(r).then(t=>{let n=`${o(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"),e(n,r)})}function nr(r){return i(r).then(t=>{let n=`${o(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),e(n,r)})}function I(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):i(r).then(t=>{let n=`${o(r)}/content/users/${t}`,a=`${n}/addItem`;r.folderId&&(a=`${n}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&h(r.params.extent)&&(r.params.extent=p(r.params.extent));let m=s(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return e(a,m)})}function dr(r){let t=Object.assign({folderId:null},r);return I(t)}var f=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 n=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(c(`${n} 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?(c("`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?(c('`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?(c('`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?(c(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(c(`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(c(`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&&c("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function l(r,t){let n;typeof r=="string"||r instanceof f?n={httpMethod:"GET",params:{q:r}}:n=s(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let a;switch(t){case"item":a="/search";break;case"group":a="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof f)&&r.groupId)a=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":a="/community/users";break;default:a="/portals/self/users/search";break}let m=o(n)+a;return e(m,n).then(u=>(u.nextStart&&u.nextStart!==-1&&(u.nextPage=function(){let d;return typeof r=="string"||r instanceof f?d={q:r,start:u.nextStart}:(d=r,d.start=u.nextStart),l(d,t)}),u))}function U(r){return l(r,"item")}function xt(r){return l(r,"groupContent")}function We(r,t){let n=r||"self",a=`${o(t)}/portals/${n}`,m=Object.assign({httpMethod:"GET"},t);return e(a,m)}export{o as a,y as b,O as c,nr as d,dr as e,N as f,F as g,Y as h,z as i,f as j,U as k,xt as l,We as m,L as n};
|
@@ -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 as l}from"./
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import{e as l}from"./RCPW7BND.js";import{a as o,f as r,z as c}from"./D6S3BMVV.js";import"./BMKFZOGZ.js";import{a as p,c as t,d as g,e as d}from"./AAE7EK4I.js";import"./DTQTQMKB.js";var h=':host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}',u=h,a={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator"},m=class{constructor(n){p(this,n),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0,this.closeLandingPage=void 0,this.signInDropdownItems=void 0,this.ready=!1,this.isSignedIn=!1,this.user=void 0,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){l(this),await this.initSignIn()}render(){let n=this.ready?this.renderContent():null;return t(g,{key:"da0c1f1bb7efb0c0bd243612ab6212b61d6e9d2e"},n)}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return t("div",{class:a.base},this.isSignedIn?this.renderSignInDropdown():this.renderSignInButton())}renderSignInDropdown(){let n=this.type==="navigation"?"m":"s",i=this.showIndicator?a.indicator:"",s=this.user?.id??this.user?.sourceJSON?.id;return t("calcite-dropdown",{placement:"bottom-end",scale:n},this.type==="navigation"?t("calcite-navigation-user",{class:i,slot:"trigger",thumbnail:this.user?.thumbnailUrl??"","full-name":this.user?.fullName,username:this.user?.username,"user-id":s,textDisabled:!0}):t("button",{slot:"trigger"},t("calcite-avatar",{class:i,thumbnail:this.user?.thumbnailUrl??"","full-name":this.user?.fullName,username:this.user?.username,"user-id":s})),t("slot",{name:"sign-in-dropdown-top"}),t("calcite-dropdown-group",{"selection-mode":"none"},this.signInDropdownItems?.map(e=>t("calcite-dropdown-item",{onClick:e.onClick},e.label)),t("calcite-dropdown-item",{onClick:this.signOut.bind(this)},this.messages?.signOut)))}renderSignInButton(){let n=this.type==="navigation"?"transparent":"solid",i=this.type==="navigation"?a.SignInBtn:"";return t("calcite-button",{class:i,onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:n},this.messages?.signIn)}renderLandingPageSignIn(){return t("div",{class:a.buttonContainer},t("calcite-button",{class:a.entryButton,scale:"l",onClick:this.landingPageSignIn.bind(this)},this.messages?.signIn),t("calcite-button",{class:a.entryButton,scale:"l",appearance:"outline-fill",onClick:this.guestOnClick.bind(this)},this.messages?.continueAsGuest))}async initSignIn(){if(this.portal==null||this.oauthappid==null)return;let[n,i]=await Promise.all([o(),c()]);this.idManager=n,this.info=await r({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await i.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user))}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let n=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=n,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let n=new Date,i=2e3;localStorage.setItem("signing-in",n.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},i)}get el(){return d(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};m.style=u;export{m as instant_apps_sign_in};
|
@@ -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 as o}from"./
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import{e as o}from"./RCPW7BND.js";import"./D6S3BMVV.js";import"./BMKFZOGZ.js";import{a as n,c as t,d as r,e as i}from"./AAE7EK4I.js";import"./DTQTQMKB.js";var c=":host .instant-apps-keyboard-shortcuts__content{display:flex;flex-direction:column;font-family:var(--calcite-sans-family);font-size:0.875rem;background-color:var(--calcite-color-background);color:var(--calcite-color-text-1);width:auto;padding:0.5em;margin-bottom:0;overflow:auto}:host .instant-apps-keyboard-shortcuts__content table{border:none;border-collapse:collapse;width:100%;margin-bottom:1em}:host .instant-apps-keyboard-shortcuts__content table td,:host .instant-apps-keyboard-shortcuts__content table th{border:solid 1px var(--calcite-color-border-1);padding:0.5rem 0.75rem 0.5rem 0.75rem;white-space:normal}:host .instant-apps-keyboard-shortcuts__content table td:lang(ja),:host .instant-apps-keyboard-shortcuts__content table td:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja-JP),:host .instant-apps-keyboard-shortcuts__content table th:lang(ja){white-space:nowrap}:host .instant-apps-keyboard-shortcuts__content tr:nth-child(even){background-color:var(--calcite-color-foreground-2)}:host .instant-apps-keyboard-shortcuts__content tr th{padding:0.5em 0.7em;font-weight:400}",l=c,h={content:"instant-apps-keyboard-shortcuts__content"},d=class{constructor(s){n(this,s),this.messages=void 0,this.view=void 0}render(){let s=this?.view?.type==="2d"||!this?.view?this._getMapViewCommands():this._getSceneViewCommands(),a=this._isMacLike()?"Option":"Alt";return t(r,{key:"84f9106dc025e1e2f72b3877c07f4f518f114451"},t("calcite-block",{key:"25201b23d1d74d25678b324db2d9ba8a19b65fe1",open:!0,class:h.content,heading:this?.messages?.generalShortcuts?.label},t("table",{key:"3eda56857013107bb19470f47b12c7a2296c6c51"},this.renderTableHeader(),t("tr",{key:"432311f662920cdc42f15f5d70b3ef9b93844cd0"},t("td",{key:"389c393270a40a0e9c7e0976d67a29154aa7b082"},`${a} + M`),t("td",{key:"e375dc8f8d69e75e20db9387d41dc2bd80862e06"},this?.messages?.generalShortcuts?.title))),t("calcite-label",{key:"5e770d6232fba18fb9a8bf64eadd713a417ec465"},this?.messages?.generalShortcuts?.title),t("table",{key:"6a16dbd6d987507dc024da5248ee3a4c5591fc7f"},this.renderTableHeader(),s.map(e=>t("tr",null,t("td",null,e.alias),t("td",null,e.title))))))}componentDidLoad(){o(this)}renderTableHeader(){return this?.messages?t("tr",null,t("th",null,this?.messages?.generalShortcuts.shortcut),t("th",null,this?.messages?.generalShortcuts.action)):null}_getMapViewCommands(){let s=this.view?.type==="2d"&&this.view.constraints.rotationEnabled,a=this?.messages?[{alias:this?.messages.mapShortcuts.arrowKeys,title:this?.messages.mapShortcuts.nudge,show:!0},{alias:"N",title:this?.messages.mapShortcuts.N,show:s},{alias:"A",title:this?.messages.mapShortcuts.A,show:s},{alias:"D",title:this?.messages.mapShortcuts.D,show:s},{alias:"+",title:this?.messages.mapShortcuts.plus,show:!0},{alias:"-",title:this?.messages.mapShortcuts.minus,show:!0}]:[];return this?.messages?a?.filter(e=>e.show):[]}_getSceneViewCommands(){let s=this.view?.type==="3d"&&this.view.viewingMode==="global",a=this?.messages?[{alias:this?.messages.mapShortcuts.arrowKeys,title:this?.messages.mapShortcuts.nudge,show:!!s},{alias:"P",title:this?.messages.sceneShortcuts.P,show:!0},{alias:"N",title:this?.messages.sceneShortcuts.N,show:!0},{alias:"W",title:this?.messages.sceneShortcuts.W,show:!0},{alias:"A",title:this?.messages.sceneShortcuts.A,show:!0},{alias:"D",title:this?.messages.sceneShortcuts.D,show:!0},{alias:"S",title:this?.messages.sceneShortcuts.S,show:!0},{alias:"J",title:this?.messages.sceneShortcuts.globalCommands.J,show:!!s},{alias:"U",title:this?.messages.sceneShortcuts.globalCommands.U,show:!!s}]:[];return this?.messages?a?.filter(e=>e.show):[]}_isMacLike(){return/(Mac)/iu.test(navigator.platform)}get el(){return i(this)}};d.style=l;export{d as instant_apps_keyboard_shortcuts};
|
@@ -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.
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
4
|
var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as c};
|
@@ -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.20250603.1 */
|
4
|
+
import{a as e}from"./ZQ2HPN3W.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});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.
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
4
|
var t={type:"string",minLength:1,maxLength:250,format:"entityTitleValidator"},e={type:"string",minLength:1,maxLength:250,format:"siteEntityTitleValidator"},p={type:"string",maxLength:2048},r={type:"string",enum:["public","org","private"],default:"private"},o={type:"array",items:{type:"string"}},s={type:"array",items:{type:"string"},maxItems:20},n={type:"boolean",enum:[!0,!1],default:!0},i={type:"array",maxItems:4,items:{type:"string"}},a={type:"object",default:{type:"none"},properties:{type:{type:"string",enum:["none","org","custom"],default:"none"},name:{type:"string"}}},y={type:"object",properties:{baseViewItemId:{type:"array",items:{type:"string"},maxItems:1}}},E={type:"object",properties:{base64:{type:"string"},format:{type:"string"},fileName:{type:"string"},blob:{type:"object",properties:{type:{type:"string"},size:{type:"number"}}},url:{type:"string"}}},g={type:"object",properties:{title:{type:"string"},description:{type:"string"},canCollapse:{type:"boolean"},stages:{type:"array",items:{type:"object",properties:{title:{type:"string"},timeframe:{type:"string"},stageDescription:{type:"string"},status:{type:"string"},link:{type:"object",properties:{href:{type:"string"},title:{type:"string"}}}}}}}},c={type:"object",properties:{consentNotice:{type:"object",properties:{allowPrivacyConfig:{type:"boolean",default:!1},blocking:{type:"boolean",default:!1},disclaimer:{type:"array",items:[{type:"object",properties:{text:{type:"string"},lang:{type:"string"},default:{type:"boolean"}}}]},policyURL:{type:"string",pattern:"^(https?:\\/\\/)?([\\da-z.-]+)\\.([a-z.]{2,6})([\\/\\w.-]*)*\\/?$|^$"}}}}},l={type:"string",pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$"};export{t as a,e as b,p as c,r as d,o as e,s as f,n as g,i as h,a as i,y as j,E as k,g as l,c as m,l as n};
|
@@ -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.20250603.1 */
|
4
|
+
import"./DTQTQMKB.js";var o=async(e,r,t)=>({type:"Layout",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`}]}}]});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"./
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import"./DTQTQMKB.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as e}from"./
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import{a as e}from"./ZQ2HPN3W.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{a as i}from"./
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import{a as i}from"./Y2WO5VQQ.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
|
@@ -1,4 +1,4 @@
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
2
2
|
See https://js.arcgis.com/1.0/esri/copyright.txt for details.
|
3
|
-
v1.0.0-next.
|
4
|
-
import{a as m}from"./
|
3
|
+
v1.0.0-next.20250603.1 */
|
4
|
+
import{a as m}from"./JMFIHU24.js";import{a as i}from"./QPNW6P3H.js";import"./Y2WO5VQQ.js";import{a as c}from"./2VPGZ7E2.js";import"./7H4LF6S3.js";import"./3DYJ4FTG.js";import"./WUYXX4RA.js";import"./KI6QHNPI.js";import{a as n,b as p}from"./UBMKB36W.js";import"./U6HIPEIC.js";import"./2I5J5JBB.js";import{a}from"./VNMQ4LFX.js";import{a as r}from"./HFPFPCEQ.js";import"./4FJC45LY.js";import"./XIH6ZMGJ.js";import"./YSQPEWEY.js";import"./FRU4NUKP.js";import"./S7I5NQIT.js";import"./LXCV6LJ6.js";import"./7IJWIQKS.js";import"./WOGXYHTW.js";import"./UTKAQVP4.js";import"./5DNXV7XL.js";import"./YLMFQSC4.js";import"./55EOCAZO.js";import"./QX2LVJEP.js";import"./EZJUU4SD.js";import"./SO2MJYUC.js";import"./NTM7VXP2.js";import"./OVZLS4VM.js";import"./7QH32TZC.js";import"./PZYR43RF.js";import"./XAABPBEY.js";import"./GD22AZGD.js";import"./7MLUC4ZF.js";import"./45GEUPJR.js";import"./ZMEBOR2G.js";import"./ZQ2HPN3W.js";import"./TXPPQ5K7.js";import"./57F2XN77.js";import"./DTQTQMKB.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T as buildUiSchema};
|