@esri/solutions-components 1.2.0-next.38 → 1.2.0-next.39
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/{DDWZNUZS.js → 2AJOUQB7.js} +2 -2
- package/dist/cdn/{2FVNCWOA.js → 2ES34Q6J.js} +1 -1
- package/dist/cdn/{TYXANF4L.js → 2GANLR5Q.js} +2 -2
- package/dist/cdn/{JK22HA3B.js → 2GJE2W5K.js} +2 -2
- package/dist/cdn/{BRKXHNDD.js → 2IX3QGSO.js} +2 -2
- package/dist/cdn/{7FKJLGII.js → 2KYRVCYO.js} +1 -1
- package/dist/cdn/{XFASBCXW.js → 2LBWKLHR.js} +2 -2
- package/dist/cdn/{XJKIXAYN.js → 2O6NGBB6.js} +2 -2
- package/dist/cdn/{DN274VMS.js → 2Q4FTEUR.js} +2 -2
- package/dist/cdn/{7WCVPKVP.js → 2VG4KTXI.js} +2 -2
- package/dist/cdn/{SGX3472W.js → 2WXPOV3P.js} +1 -1
- package/dist/cdn/{ATKAVXFK.js → 2YPK4AUS.js} +2 -2
- package/dist/cdn/{ADQP7YJE.js → 352FKSLT.js} +2 -2
- package/dist/cdn/{JAWTCH7J.js → 3CZIT627.js} +2 -2
- package/dist/cdn/{2G2ABE73.js → 3INDJ4AP.js} +2 -2
- package/dist/cdn/{2S4CUMJ6.js → 3ISSDQ4D.js} +2 -2
- package/dist/cdn/{6AL3SUJ7.js → 3PPCI2R3.js} +1 -1
- package/dist/cdn/{CJ2U26E2.js → 3QN5E5ZG.js} +2 -2
- package/dist/cdn/{5CWOJPPE.js → 3ST4PJS2.js} +2 -2
- package/dist/cdn/{YPFWQTGP.js → 3TEA7MX6.js} +1 -1
- package/dist/cdn/{7J273U2Z.js → 3VN4LR27.js} +2 -2
- package/dist/cdn/{G7NP2JQ4.js → 44NBOHM2.js} +2 -2
- package/dist/cdn/{7KDZOGN2.js → 44NXP2VH.js} +2 -2
- package/dist/cdn/{4SUQ4Y5C.js → 45I67QEZ.js} +2 -2
- package/dist/cdn/{TWTE6ANP.js → 4AE4PUDE.js} +2 -2
- package/dist/cdn/4BRGJEKH.js +4 -0
- package/dist/cdn/{5EIIYAAT.js → 4BWFKSLS.js} +2 -2
- package/dist/cdn/{5S76KEEY.js → 4CZMUJAU.js} +2 -2
- package/dist/cdn/{NP6KZHON.js → 4EI3LJ75.js} +1 -1
- package/dist/cdn/{QW6XVBWW.js → 4NGLWLMV.js} +2 -2
- package/dist/cdn/{2NNDBF2P.js → 4SCKR3SG.js} +2 -2
- package/dist/cdn/{JRN4Y3DV.js → 4VFCAKDX.js} +2 -2
- package/dist/cdn/{BNQZVMZV.js → 4WNCYDZV.js} +2 -2
- package/dist/cdn/{B3NUH64R.js → 4XMI442R.js} +2 -2
- package/dist/cdn/54YAKRH3.js +4 -0
- package/dist/cdn/{L476FYEM.js → 574TSGS3.js} +2 -2
- package/dist/cdn/{2V3UNNU7.js → 5G5DFCQ2.js} +2 -2
- package/dist/cdn/{HQRDNTWE.js → 5GRPH64Y.js} +2 -2
- package/dist/cdn/{ELZIA2CM.js → 5NYJD7TZ.js} +2 -2
- package/dist/cdn/{SUEANLGQ.js → 5OH2OKSA.js} +2 -2
- package/dist/cdn/{O6I27TPU.js → 5RQ465F3.js} +2 -2
- package/dist/cdn/{4E2MMS3U.js → 5VVNZED5.js} +2 -2
- package/dist/cdn/{SFOL7GYB.js → 5XOOAIG3.js} +2 -2
- package/dist/cdn/{OSMJZYZ7.js → 5XZXS7KC.js} +1 -1
- package/dist/cdn/{LY5OQBIC.js → 5Z5TBRGZ.js} +2 -2
- package/dist/cdn/{W2ZX24VQ.js → 5ZNDWVZH.js} +2 -2
- package/dist/cdn/{PMHRJNJ4.js → 64OWILE3.js} +2 -2
- package/dist/cdn/{T72P36C5.js → 67DXBPNN.js} +1 -1
- package/dist/cdn/{D3IGXOOQ.js → 6A2NATOZ.js} +2 -2
- package/dist/cdn/{Z3XVTJFU.js → 6EIKVLU7.js} +2 -2
- package/dist/cdn/{7GDAM2DS.js → 6EQFECME.js} +2 -2
- package/dist/cdn/{NEW2IQIA.js → 6F2DKEFE.js} +2 -2
- package/dist/cdn/{7FMJ2FWK.js → 6GG4PERR.js} +2 -2
- package/dist/cdn/{FS7WUCPO.js → 6GJQHZLV.js} +2 -2
- package/dist/cdn/{6LN7UVH2.js → 6HLRUCZG.js} +2 -2
- package/dist/cdn/6IOFUKLT.js +4 -0
- package/dist/cdn/6J3DNHKP.js +4 -0
- package/dist/cdn/{TFS5OJFO.js → 6NAJSWSH.js} +2 -2
- package/dist/cdn/{E3GIRPSF.js → 6O7APH3Z.js} +2 -2
- package/dist/cdn/{RQNFXST6.js → 6VJXMFYM.js} +2 -2
- package/dist/cdn/6VTRHK52.js +4 -0
- package/dist/cdn/{SC6DO2EX.js → 6YPWVM37.js} +2 -2
- package/dist/cdn/{NT75NL4Z.js → 72AB6BBZ.js} +2 -2
- package/dist/cdn/{UI6IX36Q.js → 73A3MIHN.js} +2 -2
- package/dist/cdn/{ATG5EGOY.js → 75FCMS3Q.js} +2 -2
- package/dist/cdn/{OEKIR5CI.js → 7H5I3SD4.js} +2 -2
- package/dist/cdn/7JDAS6PM.js +18 -0
- package/dist/cdn/{VJF3T5NM.js → 7OIK5YLC.js} +2 -2
- package/dist/cdn/{M3NGPH7I.js → ADGRZEHH.js} +2 -2
- package/dist/cdn/{XWRFSW2T.js → AHPHMUFH.js} +2 -2
- package/dist/cdn/{6BIOYD3L.js → AIUKZ7QZ.js} +2 -2
- package/dist/cdn/{OXJR6CYO.js → AMF6BI56.js} +2 -2
- package/dist/cdn/{7M2QY7IT.js → AMT5P6S7.js} +2 -2
- package/dist/cdn/{P55VR6Q3.js → APTD6OZU.js} +2 -2
- package/dist/cdn/{AFOLBBYS.js → ASQECNQT.js} +1 -1
- package/dist/cdn/{I37J6DPD.js → AUX627ZK.js} +2 -2
- package/dist/cdn/{4XOMPXB5.js → AVRTEGMF.js} +2 -2
- package/dist/cdn/{S2ABHEPA.js → AWEQVKIB.js} +2 -2
- package/dist/cdn/{5ZPJI3ZK.js → BCWAOOBL.js} +2 -2
- package/dist/cdn/{XSOYU3DF.js → BIKIWV7Q.js} +2 -2
- package/dist/cdn/{I35FFKSE.js → BKOGMQC7.js} +2 -2
- package/dist/cdn/{ZUOW5NVL.js → BQ3F536M.js} +1 -1
- package/dist/cdn/{PZ4WDEBE.js → BQG6CK2P.js} +2 -2
- package/dist/cdn/{GEZUMFPM.js → BRUTOLXS.js} +2 -2
- package/dist/cdn/{NS7SRMXC.js → BTBUOLUA.js} +2 -2
- package/dist/cdn/{CT65UGZZ.js → BYEECON3.js} +2 -2
- package/dist/cdn/{WLUBBOD4.js → BYRYCYHN.js} +2 -2
- package/dist/cdn/{EDPD3UVF.js → BZYIJT4H.js} +2 -2
- package/dist/cdn/{RVDRIXX3.js → C46SRFOU.js} +1 -1
- package/dist/cdn/{YVVBMJIZ.js → CE5L46DL.js} +2 -2
- package/dist/cdn/{ZIBKF533.js → CEG5AOTW.js} +2 -2
- package/dist/cdn/{WKCMJFBL.js → CG4CZ32M.js} +2 -2
- package/dist/cdn/{QXETJSDH.js → CGUJSWMR.js} +2 -2
- package/dist/cdn/{HXWIK2J4.js → CJMUNG5Y.js} +2 -2
- package/dist/cdn/{L2ALHN3Q.js → CLLV77OZ.js} +2 -2
- package/dist/cdn/{W3QK4K7X.js → CME3FQFQ.js} +2 -2
- package/dist/cdn/{BVCCL4VB.js → COFVR5QC.js} +2 -2
- package/dist/cdn/{LFMHNEYC.js → CONE7BUX.js} +1 -1
- package/dist/cdn/{DLRWOKNV.js → CQG3ZUSI.js} +1 -1
- package/dist/cdn/{WPAVKGWB.js → CQQZWTFQ.js} +2 -2
- package/dist/cdn/{CHKPF4ST.js → CTO2VJXA.js} +2 -2
- package/dist/cdn/{L6WLCH4N.js → CTTYGCJK.js} +2 -2
- package/dist/cdn/{5FV2XMJF.js → CTY2EBIR.js} +2 -2
- package/dist/cdn/CVXNKCZL.js +4 -0
- package/dist/cdn/{F27UHK4B.js → CWBKZLNV.js} +2 -2
- package/dist/cdn/{MWG5ET2L.js → CWKRSSOA.js} +2 -2
- package/dist/cdn/{KWOEGN35.js → CZKLCZBX.js} +1 -1
- package/dist/cdn/{U2YRPNFE.js → CZNTAIG5.js} +2 -2
- package/dist/cdn/DGLC6S3I.js +4 -0
- package/dist/cdn/{JU6AXC47.js → DGM7V6SO.js} +2 -2
- package/dist/cdn/{2VIWSK5N.js → DGUXBPYO.js} +2 -2
- package/dist/cdn/{EAOAVR6T.js → DNQ5PPRV.js} +1 -1
- package/dist/cdn/{ZW6W37OU.js → DOCQSXJ7.js} +2 -2
- package/dist/cdn/{SXHVTYP6.js → DTZTMTPS.js} +2 -2
- package/dist/cdn/{J5O77MX2.js → DWAVU62X.js} +2 -2
- package/dist/cdn/{YXGWG4DE.js → E3ZJUJQE.js} +1 -1
- package/dist/cdn/{5ZKEC6XH.js → EAYYPNUN.js} +2 -2
- package/dist/cdn/{HFOMSGRE.js → ED5WILS7.js} +1 -1
- package/dist/cdn/{GXSPICDV.js → EGAIBYO4.js} +2 -2
- package/dist/cdn/{O2ICET7S.js → EJNLBR4A.js} +2 -2
- package/dist/cdn/{BFSNJ2EB.js → EL5FRVS6.js} +2 -2
- package/dist/cdn/{TFG462JL.js → ERPFWR4V.js} +2 -2
- package/dist/cdn/{WTEWSJQM.js → ES5HSUHM.js} +2 -2
- package/dist/cdn/{XGRBMFRW.js → EXHFUAHT.js} +2 -2
- package/dist/cdn/{FT3RIOQX.js → EXJCJXVV.js} +2 -2
- package/dist/cdn/{P7CEQW6U.js → F3MCBCB6.js} +2 -2
- package/dist/cdn/{UYOYS7RB.js → F5TWGHSB.js} +2 -2
- package/dist/cdn/{TWBBIAHJ.js → FG5AJMYA.js} +2 -2
- package/dist/cdn/FGTV2JOZ.js +4 -0
- package/dist/cdn/{KQP3AJSX.js → FI2RYZTL.js} +2 -2
- package/dist/cdn/{RBC7LZTC.js → FVIWRJEX.js} +2 -2
- package/dist/cdn/FYLGBYPU.js +4 -0
- package/dist/cdn/G5ZFF6K4.js +4 -0
- package/dist/cdn/{PCHNZS5N.js → GC6WKYIL.js} +2 -2
- package/dist/cdn/{HZLKBLEE.js → GCWO775W.js} +2 -2
- package/dist/cdn/{SUYX6UMX.js → GEJU4I45.js} +2 -2
- package/dist/cdn/{PLY5ZJ2G.js → GEUFVTB2.js} +2 -2
- package/dist/cdn/{2C5FGXWX.js → GFSUU6WL.js} +2 -2
- package/dist/cdn/{GUJB6YZW.js → GFVX4EMM.js} +2 -2
- package/dist/cdn/{FE5VQVFH.js → GGC6RL2U.js} +2 -2
- package/dist/cdn/{LAY7ZOKS.js → GGKFJMLJ.js} +2 -2
- package/dist/cdn/{G3GLPOZS.js → GL7LRY5F.js} +2 -2
- package/dist/cdn/{VODVKUYT.js → GSWS6LV4.js} +2 -2
- package/dist/cdn/{HQKTE42T.js → GXTBHUQ3.js} +2 -2
- package/dist/cdn/{PDDHE2GA.js → H3WFFNMJ.js} +1 -1
- package/dist/cdn/H7GNFLX5.js +18 -0
- package/dist/cdn/{KTDUECNM.js → HDQCKS57.js} +2 -2
- package/dist/cdn/{FRRL3VOX.js → HESFWY6K.js} +1 -1
- package/dist/cdn/{O5ZV3UHV.js → HETORT6U.js} +2 -2
- package/dist/cdn/{54GRIGGQ.js → HIFCAPVC.js} +2 -2
- package/dist/cdn/{BUUMWQBX.js → HLO4ESLP.js} +2 -2
- package/dist/cdn/{SQUI6CTW.js → HLX23ODB.js} +2 -2
- package/dist/cdn/{OBCSQFUM.js → HN35ETXK.js} +2 -2
- package/dist/cdn/{B7HIGUVX.js → HRU5TQGK.js} +2 -2
- package/dist/cdn/{3G43FIE4.js → HUDLR4XR.js} +2 -2
- package/dist/cdn/{DOEIBRNL.js → HUZIVTBQ.js} +2 -2
- package/dist/cdn/{U7LWEUY7.js → IBOKCC7C.js} +2 -2
- package/dist/cdn/{7F357E22.js → IEPOS5EV.js} +2 -2
- package/dist/cdn/{UYOLR3HI.js → IFH6ER27.js} +2 -2
- package/dist/cdn/{PE4LAJPJ.js → IHK3NBEO.js} +2 -2
- package/dist/cdn/{YOQVQHWA.js → IHW26JOK.js} +2 -2
- package/dist/cdn/{CBM5SVKV.js → IQDY7VUL.js} +2 -2
- package/dist/cdn/{CB6PV55L.js → IR4NISLP.js} +1 -1
- package/dist/cdn/{SNGQJER3.js → IT2MV4QW.js} +2 -2
- package/dist/cdn/{VXSYXI5Z.js → IYCAGAXO.js} +2 -2
- package/dist/cdn/{3GO45KNW.js → J2RRRBDM.js} +2 -2
- package/dist/cdn/{IIAM5HPA.js → J2XTPBZ7.js} +2 -2
- package/dist/cdn/{X3DE2KFS.js → JDG372HJ.js} +2 -2
- package/dist/cdn/{RBIWPS7B.js → JDP425FV.js} +2 -2
- package/dist/cdn/{IKCC43KY.js → JFD2GLUZ.js} +2 -2
- package/dist/cdn/{PO62H53X.js → JGG25YKA.js} +2 -2
- package/dist/cdn/{ONETA4IZ.js → JNIH7XXW.js} +2 -2
- package/dist/cdn/{ZTJENKRZ.js → JPJINGZH.js} +2 -2
- package/dist/cdn/{6R2SPDYG.js → JPUHNRZ6.js} +2 -2
- package/dist/cdn/{HL6K2YTH.js → JQRRHZBK.js} +1 -1
- package/dist/cdn/{ADFQUVVN.js → JTN3AKO6.js} +2 -2
- package/dist/cdn/{3UVFR5IX.js → JUEKMPOJ.js} +2 -2
- package/dist/cdn/{ISXAN7ZH.js → JVI6VOOY.js} +2 -2
- package/dist/cdn/{FHJNTOFV.js → JWMKG6UR.js} +2 -2
- package/dist/cdn/{T4JA6UEK.js → JYP27YIQ.js} +2 -2
- package/dist/cdn/{IDRZXFTP.js → JZMWBYSL.js} +2 -2
- package/dist/cdn/{D6UXUVO3.js → K56GVQG2.js} +2 -2
- package/dist/cdn/{CU2DHBCR.js → KE7LRF4I.js} +2 -2
- package/dist/cdn/KEC4V5NM.js +4 -0
- package/dist/cdn/{J7FL27H5.js → KFDSUIDH.js} +2 -2
- package/dist/cdn/{HODFZHIN.js → KH6KBN5S.js} +2 -2
- package/dist/cdn/{OQXK6IER.js → KMUD7MIG.js} +2 -2
- package/dist/cdn/{QNKMSTXV.js → KMX7DYG7.js} +2 -2
- package/dist/cdn/{CV4LFUGW.js → KN6VRCJR.js} +2 -2
- package/dist/cdn/{YX6PKVZ5.js → KNCE4TTO.js} +2 -2
- package/dist/cdn/{6AVYFAZV.js → KNV6T7IX.js} +2 -2
- package/dist/cdn/{CS47PCEA.js → KPVMNGYD.js} +2 -2
- package/dist/cdn/{LDIJEGEK.js → KRJK7YPS.js} +2 -2
- package/dist/cdn/{E6HHYNLI.js → KTJQK2DV.js} +2 -2
- package/dist/cdn/{NYPKBBU6.js → KULCFWUA.js} +2 -2
- package/dist/cdn/{CSMA4TNL.js → KYRIG7D4.js} +2 -2
- package/dist/cdn/{MTGSCLQC.js → KZRCF37A.js} +2 -2
- package/dist/cdn/{P7S5ARVM.js → L2PXD7EH.js} +2 -2
- package/dist/cdn/{Q6TPFBCR.js → LHM6JY3L.js} +2 -2
- package/dist/cdn/{OYTIM3XA.js → LIY7TY7Z.js} +2 -2
- package/dist/cdn/{MABCGF2C.js → LJUGVDCP.js} +2 -2
- package/dist/cdn/{7HPHZT6D.js → LK5TYQL5.js} +2 -2
- package/dist/cdn/{IE2W2C7Q.js → LMW4LPU4.js} +3 -3
- package/dist/cdn/{42HD4LS6.js → LPUIJYXX.js} +1 -1
- package/dist/cdn/{IAGMSUVF.js → LVR5WN67.js} +2 -2
- package/dist/cdn/{MT7UVLPM.js → LWA5F2BZ.js} +1 -1
- package/dist/cdn/{52BQUP6R.js → LWSKZY3I.js} +2 -2
- package/dist/cdn/{3THQWD5C.js → LZSDBEQY.js} +2 -2
- package/dist/cdn/M57DXFH6.js +4 -0
- package/dist/cdn/{AVSW6FTW.js → M5JMSIE7.js} +2 -2
- package/dist/cdn/{5VXJZOZ7.js → MBHAKWXC.js} +1 -1
- package/dist/cdn/{BT7ZFQNB.js → MDGGXEIV.js} +2 -2
- package/dist/cdn/{RL3QIEW2.js → MEJIGZJA.js} +2 -2
- package/dist/cdn/{BWSH4VJG.js → MEWRX3M3.js} +2 -2
- package/dist/cdn/{K7FVHROV.js → MFMURPUV.js} +2 -2
- package/dist/cdn/{FGDLOFSV.js → MIOO5HYN.js} +2 -2
- package/dist/cdn/{EGCQTWVW.js → MN2R7MTW.js} +2 -2
- package/dist/cdn/{EYVEIIH4.js → MRWIBLIJ.js} +2 -2
- package/dist/cdn/{OZQZ44E4.js → MUA7ZCJU.js} +2 -2
- package/dist/cdn/{ZWKX3IFE.js → MW4NBRQZ.js} +1 -1
- package/dist/cdn/{5I6COHGY.js → MZZHC6MJ.js} +2 -2
- package/dist/cdn/{JUPJVTUF.js → NAXDVUOY.js} +2 -2
- package/dist/cdn/{4RXQVCM4.js → NEVD3I6S.js} +2 -2
- package/dist/cdn/{PYSKXKFD.js → NFC7YG45.js} +2 -2
- package/dist/cdn/{4GYMMLH6.js → NNRTA5SJ.js} +2 -2
- package/dist/cdn/{XRV4FLNJ.js → NPAJRPLS.js} +1 -1
- package/dist/cdn/{R2HBEQY2.js → NQR5HWGO.js} +2 -2
- package/dist/cdn/{3AS7DRIH.js → NXBFLQLG.js} +2 -2
- package/dist/cdn/{C2KTBBG3.js → O3RPPL4R.js} +2 -2
- package/dist/cdn/{KNAJV2HV.js → O5ALHKVH.js} +1 -1
- package/dist/cdn/{AXGUYSFJ.js → O7CTM4NU.js} +1 -1
- package/dist/cdn/{T52O6LAG.js → OBAJ3QVO.js} +2 -2
- package/dist/cdn/{TY7S3RXU.js → OBQWYEXQ.js} +2 -2
- package/dist/cdn/{YUDPELTS.js → OCORZHZK.js} +2 -2
- package/dist/cdn/{S6KVE7T5.js → OHHPHVIZ.js} +2 -2
- package/dist/cdn/{KTL5I4N7.js → OKG5OWZ4.js} +2 -2
- package/dist/cdn/OKYASTM3.js +4 -0
- package/dist/cdn/ORIRCVEP.js +4 -0
- package/dist/cdn/{P6AMX4QY.js → P2EO3DWY.js} +2 -2
- package/dist/cdn/{GIVX5Y3H.js → P6NEF3AG.js} +2 -2
- package/dist/cdn/{3XFCRB5B.js → P6WMRRIT.js} +2 -2
- package/dist/cdn/{AU5ROKBM.js → PBK6ZGYF.js} +2 -2
- package/dist/cdn/{HNJAS7WK.js → PC5PQMH3.js} +2 -2
- package/dist/cdn/PCCIGDAH.js +4 -0
- package/dist/cdn/{ZSMTVBEM.js → PIHN7OGO.js} +2 -2
- package/dist/cdn/{TEFQ3LAP.js → PK6MBS72.js} +3 -3
- package/dist/cdn/{LB2XKIGA.js → PKQMEHQA.js} +2 -2
- package/dist/cdn/{ERLOTZSB.js → PKVF2FP5.js} +2 -2
- package/dist/cdn/{72Y7V4E2.js → PNWUR4FN.js} +2 -2
- package/dist/cdn/{ZTSNO64A.js → PQYA37C4.js} +1 -1
- package/dist/cdn/{7UZHDBXH.js → PXJUCITY.js} +2 -2
- package/dist/cdn/{6P5XL7WJ.js → PXSFL6NE.js} +1 -1
- package/dist/cdn/{4VPZBQBA.js → PYKRSFCJ.js} +2 -2
- package/dist/cdn/{7MPALAN6.js → PZJICKXI.js} +2 -2
- package/dist/cdn/{UP3SPGCQ.js → PZNQ6JJL.js} +2 -2
- package/dist/cdn/{257IN2Y7.js → PZTV2JTA.js} +2 -2
- package/dist/cdn/{6M262WHD.js → Q4KFQCM6.js} +2 -2
- package/dist/cdn/{6XU3AT25.js → QBWBOGFY.js} +2 -2
- package/dist/cdn/QBYFRB7X.js +4 -0
- package/dist/cdn/{QV57KIBB.js → QEAZDKTC.js} +2 -2
- package/dist/cdn/{JB5XMXNY.js → QFKKMAW7.js} +2 -2
- package/dist/cdn/{GUQWOX4S.js → QL653ZDR.js} +2 -2
- package/dist/cdn/{3SLRUFJF.js → QLD2MUBD.js} +1 -1
- package/dist/cdn/{Y3O7XLID.js → QLU5OWJF.js} +2 -2
- package/dist/cdn/{BO7ZX6VY.js → QP3FFP7T.js} +2 -2
- package/dist/cdn/{7RLXHVA4.js → QPH7RQUD.js} +2 -2
- package/dist/cdn/{ZUIPQQRM.js → QQKNXZ7O.js} +2 -2
- package/dist/cdn/{4QFRPNLX.js → QS4IJ33L.js} +2 -2
- package/dist/cdn/{V264QANZ.js → QXT7E6EY.js} +2 -2
- package/dist/cdn/{6UTJ3QVT.js → R2OABS2T.js} +2 -2
- package/dist/cdn/{63GW76E5.js → R3FHS5ZA.js} +2 -2
- package/dist/cdn/{KMHXK4ZM.js → R7JCMEBX.js} +2 -2
- package/dist/cdn/{XYR7D7OA.js → RCDFWLE4.js} +2 -2
- package/dist/cdn/{3NUWB5RM.js → RCONKWD3.js} +1 -1
- package/dist/cdn/{WQLBTX4S.js → RHFUZ4EQ.js} +1 -1
- package/dist/cdn/{4FLD2OM6.js → RIA6LI7U.js} +2 -2
- package/dist/cdn/{ZY72624Y.js → RIQN7H3T.js} +2 -2
- package/dist/cdn/{R2AXNE5Z.js → RKQTODFO.js} +2 -2
- package/dist/cdn/{HXZTDQXD.js → RMSZYQJG.js} +2 -2
- package/dist/cdn/{OBV4IKG7.js → RNCLA6XD.js} +2 -2
- package/dist/cdn/{BK6RBWAX.js → RR77N5AA.js} +2 -2
- package/dist/cdn/{4TQAEHIB.js → RSXAK76K.js} +2 -2
- package/dist/cdn/{JI5ONG3N.js → S3PARDYS.js} +2 -2
- package/dist/cdn/{HUJMUYZW.js → S7GXXB2P.js} +2 -2
- package/dist/cdn/{JKUVQVLV.js → SABMPJEJ.js} +2 -2
- package/dist/cdn/{KUVT55JS.js → SBMKGTYT.js} +2 -2
- package/dist/cdn/{NOWWYKDM.js → SGODNKW5.js} +2 -2
- package/dist/cdn/{TEIQ4T2N.js → SJ3LMJOB.js} +2 -2
- package/dist/cdn/{YPJK7AY7.js → SJYJMWIY.js} +2 -2
- package/dist/cdn/SN74PV4Q.js +4 -0
- package/dist/cdn/{JQWD63ZZ.js → SQ4556X7.js} +2 -2
- package/dist/cdn/{346L7JFF.js → TATJA4IA.js} +2 -2
- package/dist/cdn/{EAYM2DXQ.js → TB5HMOJ3.js} +2 -2
- package/dist/cdn/{WMBQKDYZ.js → TDAI5FBB.js} +2 -2
- package/dist/cdn/{LS5JUMF2.js → TLJ572GX.js} +2 -2
- package/dist/cdn/{QOUDGHEQ.js → TSO2GPQ5.js} +2 -2
- package/dist/cdn/{2WW2IBRS.js → U2LYBUGE.js} +2 -2
- package/dist/cdn/{YWCCKYDU.js → U3G2QMBL.js} +2 -2
- package/dist/cdn/{VMXXHGDB.js → U7OZ5SFK.js} +2 -2
- package/dist/cdn/{X5D3D4IZ.js → UBKD5JKQ.js} +2 -2
- package/dist/cdn/{XVUKIVR5.js → UC4RHZAC.js} +4 -4
- package/dist/cdn/{7FK4VFH2.js → ULZSI2DN.js} +2 -2
- package/dist/cdn/{WXEJPLIR.js → UM77354S.js} +2 -2
- package/dist/cdn/{ZL3GBZXD.js → UQH76H3R.js} +1 -1
- package/dist/cdn/{2YFZHBS2.js → UUILJSCG.js} +2 -2
- package/dist/cdn/{2CFCHSK4.js → UVOTALEM.js} +2 -2
- package/dist/cdn/{KP2FDI6M.js → UXTVUYEE.js} +2 -2
- package/dist/cdn/{LLCTMEH5.js → UYP7LPCO.js} +2 -2
- package/dist/cdn/{OIQDGNWH.js → V5NG2JBW.js} +2 -2
- package/dist/cdn/{D3H7O3WT.js → V67XFEUW.js} +2 -2
- package/dist/cdn/{IABD5DDD.js → VCGAGRCW.js} +1 -1
- package/dist/cdn/{JVFEGKQM.js → VL5YXNHS.js} +2 -2
- package/dist/cdn/{ZEQOJPBZ.js → VNSARVVC.js} +1 -1
- package/dist/cdn/{WJXQ2DPU.js → VRSKGCS7.js} +2 -2
- package/dist/cdn/{OKOUAIZU.js → VZKG4JHV.js} +2 -2
- package/dist/cdn/{WKJ2R7JY.js → W7JWL435.js} +2 -2
- package/dist/cdn/{BI2ROVDZ.js → WEWWSGGN.js} +2 -2
- package/dist/cdn/{UGOKUTLP.js → WHS2PMPC.js} +2 -2
- package/dist/cdn/WNOETQOT.js +4 -0
- package/dist/cdn/{ZYTFJSHA.js → WP7VNBE6.js} +2 -2
- package/dist/cdn/{EYHCDLYW.js → WRBLZ2EY.js} +2 -2
- package/dist/cdn/{M432DZB4.js → WSNKRWTS.js} +2 -2
- package/dist/cdn/{4I3JSUFW.js → WTBUBL7G.js} +2 -2
- package/dist/cdn/{LKNLPOAI.js → WTPDNXJI.js} +2 -2
- package/dist/cdn/{7RVECVHK.js → WUDSDZT7.js} +1 -1
- package/dist/cdn/{MMGVDNX3.js → WZML2FIR.js} +2 -2
- package/dist/cdn/{GJPI4XR6.js → WZUVYC73.js} +2 -2
- package/dist/cdn/{E6B2EFTX.js → XBE6YUAO.js} +2 -2
- package/dist/cdn/{HCZI2WKF.js → XCPR5CLY.js} +2 -2
- package/dist/cdn/{GSFEYQ47.js → XIM7BJJT.js} +2 -2
- package/dist/cdn/{YAINND4R.js → XLE7HHIL.js} +2 -2
- package/dist/cdn/XMCWDSSJ.js +4 -0
- package/dist/cdn/{BS4IA6YE.js → XPWG546Z.js} +2 -2
- package/dist/cdn/{RW6HUZEM.js → XRIEOIYQ.js} +2 -2
- package/dist/cdn/{FTUW735F.js → XWCG6AMB.js} +2 -2
- package/dist/cdn/{2ZCD4CM4.js → XWYZJJRL.js} +2 -2
- package/dist/cdn/{BR6B4ITF.js → XXWZDACE.js} +2 -2
- package/dist/cdn/{URUSIM7Q.js → Y2WHVNN4.js} +2 -2
- package/dist/cdn/{PT3L2R7W.js → YAE55YMV.js} +2 -2
- package/dist/cdn/{YYHZ5MY3.js → YKVADFXR.js} +1 -1
- package/dist/cdn/YLMKS7JB.js +4 -0
- package/dist/cdn/{DQBLQ47Q.js → YWTNIFNR.js} +2 -2
- package/dist/cdn/{PGYCKBKP.js → Z37462H3.js} +2 -2
- package/dist/cdn/{QM2GKBRK.js → Z6HB2LKU.js} +2 -2
- package/dist/cdn/{EFP3DQ4F.js → ZFICIJZQ.js} +2 -2
- package/dist/cdn/{UX4CN3RL.js → ZKZS3TY4.js} +2 -2
- package/dist/cdn/{LFI2BBTH.js → ZLCJOGCM.js} +2 -2
- package/dist/cdn/{CR7TX2QF.js → ZO4AXM6R.js} +2 -2
- package/dist/cdn/{KTF7FHOK.js → ZUCD46UL.js} +2 -2
- package/dist/cdn/{4ZIUJEHS.js → ZWG3U3E7.js} +2 -2
- package/dist/cdn/{A5QZXDV6.js → ZXIUDDYB.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/Auth.js +1 -1
- package/dist/chunks/appConfig.js +1 -1
- package/dist/chunks/cardFetchingUtils.js +1 -1
- package/dist/chunks/cardsHelpers.js +1 -1
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/deployAppContexts.js +1 -1
- package/dist/chunks/downloadUtils.js +1 -1
- package/dist/chunks/getItemIcon.js +1 -1
- package/dist/chunks/helpers.js +1 -1
- package/dist/chunks/interfaces.js +1 -1
- package/dist/chunks/mapViewUtils.js +1 -1
- package/dist/chunks/pciUtils.js +1 -1
- package/dist/chunks/popupUtils.js +1 -1
- package/dist/chunks/privilegeUtils.js +1 -1
- package/dist/chunks/publicNotificationContext.js +1 -1
- package/dist/chunks/queryUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/solution-deployed-card.js +13 -10
- 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/buffer-tools/customElement.js +1 -1
- package/dist/components/card-manager/customElement.js +1 -1
- package/dist/components/consent-manager/customElement.js +1 -1
- package/dist/components/create-feature/customElement.js +1 -1
- package/dist/components/create-related-feature/customElement.js +1 -1
- package/dist/components/crowdsource-manager/customElement.js +1 -1
- package/dist/components/crowdsource-reporter/customElement.js +1 -1
- package/dist/components/deduct-calculator/customElement.js +1 -1
- package/dist/components/delete-button/customElement.js +1 -1
- package/dist/components/delete-dialog/customElement.js +1 -1
- package/dist/components/edit-card/customElement.js +1 -1
- package/dist/components/feature-details/customElement.js +1 -1
- package/dist/components/feature-list/customElement.js +1 -1
- package/dist/components/field-selection/customElement.js +1 -1
- package/dist/components/info-card/customElement.js +1 -1
- package/dist/components/json-editor/customElement.js +1 -1
- package/dist/components/layer-list/customElement.js +1 -1
- package/dist/components/layer-table/customElement.js +1 -1
- package/dist/components/map-basemap-gallery/customElement.js +1 -1
- package/dist/components/map-card/customElement.js +1 -1
- package/dist/components/map-draw-tools/customElement.js +1 -1
- package/dist/components/map-floor-filter/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-configuration/customElement.js +1 -1
- package/dist/components/solution-configure-titles/customElement.js +1 -1
- package/dist/components/solution-contents/customElement.js +1 -1
- package/dist/components/solution-delete-dialog/customElement.js +1 -1
- package/dist/components/solution-deploy-dialog/customElement.js +1 -1
- package/dist/components/solution-deployed-card/customElement.js +1 -1
- package/dist/components/solution-deployed-card-panel/customElement.js +9 -8
- package/dist/components/solution-deploying-dialog/customElement.js +1 -1
- package/dist/components/solution-details-card/customElement.js +1 -1
- package/dist/components/solution-details-panel/customElement.js +1 -1
- package/dist/components/solution-item/customElement.js +1 -1
- package/dist/components/solution-item-accordion/customElement.js +1 -1
- package/dist/components/solution-item-details/customElement.js +1 -1
- package/dist/components/solution-item-diagram/customElement.js +1 -1
- package/dist/components/solution-item-icon/customElement.js +1 -1
- package/dist/components/solution-item-sharing/customElement.js +1 -1
- package/dist/components/solution-organization-variables/customElement.js +1 -1
- package/dist/components/solution-resource-card/customElement.js +1 -1
- package/dist/components/solution-resource-item/customElement.js +1 -1
- package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
- package/dist/components/solution-social-share/customElement.js +1 -1
- package/dist/components/solution-spatial-ref/customElement.js +1 -1
- package/dist/components/solution-template-data/customElement.js +1 -1
- package/dist/components/solution-variables/customElement.js +1 -1
- package/dist/components/solutions-all-panel/customElement.js +1 -1
- package/dist/components/solutions-all-shell/customElement.js +1 -1
- package/dist/components/solutions-deploy-app/customElement.d.ts +1 -0
- package/dist/components/solutions-deploy-app/customElement.js +10 -10
- package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
- package/dist/components/solutions-deployed-filter-panel/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/solutions-resource-panel/customElement.js +1 -1
- package/dist/components/solutions-resources/customElement.js +1 -1
- package/dist/components/solutions-resources-shell/customElement.js +1 -1
- package/dist/components/solutions-searchsort-toolbar/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 +12 -1
- package/dist/docs/docs.json +15 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +10 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/types/lumina.d.ts +1 -0
- package/dist/types/preact.d.ts +1 -0
- package/dist/types/preact10.d.ts +1 -0
- package/dist/types/react.d.ts +1 -0
- package/dist/types/stencil.d.ts +1 -0
- package/dist/utils/interfaces.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cdn/2URTN7IK.js +0 -4
- package/dist/cdn/3E3XNLNE.js +0 -4
- package/dist/cdn/B5ZLDAFW.js +0 -4
- package/dist/cdn/BQOV6FU7.js +0 -4
- package/dist/cdn/CHLMBFRA.js +0 -18
- package/dist/cdn/DKNKBHHW.js +0 -4
- package/dist/cdn/EITZ2CS3.js +0 -4
- package/dist/cdn/F3BCCICK.js +0 -4
- package/dist/cdn/G4FU3A4M.js +0 -4
- package/dist/cdn/GTIEVTDP.js +0 -4
- package/dist/cdn/I5ZHI4XU.js +0 -4
- package/dist/cdn/JRSTXHPR.js +0 -4
- package/dist/cdn/JWKFCKTE.js +0 -4
- package/dist/cdn/MSCBFODL.js +0 -4
- package/dist/cdn/OS4RG5NL.js +0 -4
- package/dist/cdn/R5KCWF5H.js +0 -4
- package/dist/cdn/SX45AEWP.js +0 -4
- package/dist/cdn/VCUU2HVI.js +0 -4
- package/dist/cdn/WZLBCOQS.js +0 -18
- package/dist/cdn/XAV2PM3Y.js +0 -4
- package/dist/cdn/XNNCHNUY.js +0 -4
- package/dist/cdn/Z4KL5JYW.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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as B}from"./6LN7UVH2.js";import{b as U}from"./YUDPELTS.js";import"./O5ZV3UHV.js";import"./52BQUP6R.js";import{C as S,D as u,E as h,F as I,H as a,I as m,J as L,h as T,i as n,j as w}from"./2FVNCWOA.js";import"./ZL3GBZXD.js";export default $arcgis.t(([M,Q,k,Y,O])=>{var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var( --calcite-color-foreground-1 );--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var( --calcite-icon-color );--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",H=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=B({name:"instant-apps-social-share"}),this.popoverRef=u(),this.embedWidthRef=u(),this.embedHeightRef=u(),this.embedCodeRef=u(),this.copyLinkPopoverRef=u(),this.copyEmbedPopoverRef=u(),this.dialogContentRef=u(),this.shareListRef=u(),this.popoverButtonRef=u(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let p=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(p),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let l;r&&(l=window.open("","_blank"),this.shortenShareUrl&&(p=await this.shortenUrl(this.shareUrl)||p));let g={url:encodeURI(p)},f=e==="x"?{...g,text:this.shareText}:g,P=M.substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&l?(l.location=P,l.focus()):window.open(encodeURI(P),"_blank")}break;case"native-share":let b={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(p)};navigator?.canShare?.(b)?navigator.share(b).catch(l=>{console.error("Error using native share:",l)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await Q("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=new O({...o.toJSON()}),p=new Y({x:e,y:s,spatialReference:r}),b=await this.processPoint(p),{isWGS84:l,isWebMercator:g}=b.spatialReference,f=l||g;return this.generateShareUrlParams(b,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=new O({wkid:4326}),p=this.view?.spatialReference??r;try{return await k.load(),k.execute(e,p)}catch(b){console.error("Failed to project point to outSpatialReference",b);try{let l=k.execute(e,r);return Promise.resolve(l)}catch(l){return console.error("Failed to project point to fallbackOutSpatialReference",l),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:p,y:b}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let l=this.roundValue(s?o:p),g=this.roundValue(s?r:b),{zoom:f}=this.view,P=this.roundValue(f),R=this.view?.popup?.selectedFeature,F=this.view?.popup?.visible,$,x;if(R&&F&&R?.layer?.type==="feature"){let v=R?.layer;$=v?.id,x=R.attributes[v.objectIdField]}let C=this.view.map?.allLayers.filter(v=>!v.visible).toArray().map(v=>v.id).toString().replaceAll(",",";"),{type:N}=this.view,{defaultUrlParams:_}=this,c=new URL(this.shareUrl),{searchParams:d}=c;if(d.get("center")&&d.delete("center"),d.get("level")&&d.delete("level"),d.get("selectedFeature")&&d.delete("selectedFeature"),d.get("hiddenLayers")&&d.delete("hiddenLayers"),d.get("viewpoint")&&d.delete("viewpoint"),N==="3d"){let{camera:v}=this.view,{heading:D,position:A,tilt:V}=v,{longitude:W,latitude:j,x:K,y:Z,z:G}=A,X=s?W:K,q=s?j:Z,y={longitude:this.roundValue(X,8),latitude:this.roundValue(q,8),z:this.roundValue(G,3),heading:this.roundValue(D,3),tilt:this.roundValue(V,3)},J=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return _?.viewpoint!==!1&&c.searchParams.set("viewpoint",J),$&&x&&_?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),C&&_?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",C),c.search=decodeURIComponent(c.search),c.href}return _?.center!==!1&&c.searchParams.set("center",`${l};${g}${!s&&this.view?.spatialReference?.wkid?`;${this.view?.spatialReference?.wkid}`:""}`),_?.level!==!1&&c.searchParams.set("level",`${P}`),$&&x&&_?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),C&&_?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",C),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(H)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,p=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${p} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??L} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??L} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${m({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${m({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${m({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(H);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${m({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${m({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${m({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${m({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${m({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${m({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);return z},"intl","request","geometry/operators/projectOperator","geometry/Point","geometry/SpatialReference")
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{a as B}from"./6HLRUCZG.js";import{b as U}from"./OCORZHZK.js";import"./HETORT6U.js";import"./LWSKZY3I.js";import{C as S,D as u,E as h,F as I,H as a,I as m,J as L,h as T,i as n,j as w}from"./2ES34Q6J.js";import"./UQH76H3R.js";export default $arcgis.t(([M,Q,k,Y,O])=>{var ee=T`:host{display:block;--instant-apps-social-share-action-width: initial;--instant-apps-social-share-width--s: 200px;--instant-apps-social-share-width--m: 280px;--instant-apps-social-share-width--l: 320px;--instant-apps-social-share-width-horizontal--s: 300px;--instant-apps-social-share-width-horizontal--m: 380px;--instant-apps-social-share-width-horizontal--l: 420px;--instant-apps-social-share-background-color: var( --calcite-color-foreground-1 );--instant-apps-social-share-popover-button-background-color: transparent;--instant-apps-social-share-popover-button-icon-color: var( --calcite-icon-color );--instant-apps-social-share-embed-border: 1px solid $border;--instant-apps-social-share-embed-text-area-text: #468540}:host .instant-apps-social-share__popover-button{background-color:var(--instant-apps-social-share-popover-button-background-color)}:host .instant-apps-social-share__popover-button calcite-icon{color:var(--instant-apps-social-share-popover-button-icon-color)}:host .instant-apps-social-share__dialog,:host .instant-apps-social-share__dialog-embed{background-color:var(--instant-apps-social-share-background-color);border:var(--instant-apps-social-share-embed-border)}:host .instant-apps-social-share__dialog{box-sizing:border-box;height:auto;padding:10px 0;border-radius:5px;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__options{margin:0;padding:1% 0 0;list-style-type:none}:host .instant-apps-social-share__options li{box-sizing:border-box;display:flex;align-items:center;width:100%;padding:5%;transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__options li .instant-apps-social-share__icon,:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{display:inline-block}:host .instant-apps-social-share__options li .instant-apps-social-share__icon{display:flex;align-items:center}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text{width:85%;margin-left:10px;word-break:break-word}:host .instant-apps-social-share__options li .instant-apps-social-share__option-text--rtl{margin-left:0;margin-right:10px}:host .instant-apps-social-share__options li:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2)}:host .instant-apps-social-share__options__x-logo--light path{fill:#000}:host .instant-apps-social-share__options__x-logo--dark path{fill:#fff}:host .instant-apps-social-share__tip{box-sizing:border-box;padding:0 5% 1%}:host .instant-apps-social-share__tip-header{display:flex;align-items:center;color:#007ac2;margin:8px 0 5px}:host .instant-apps-social-share__tip-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__tip-content{line-height:17px;margin:0;padding-top:2%}:host .instant-apps-social-share__success{display:flex;flex-direction:column;padding:15px}:host .instant-apps-social-share__success-header{display:flex;align-items:center;font-weight:700;margin-bottom:10px}:host .instant-apps-social-share__success-icon{display:flex;align-items:center;margin-right:5px}:host .instant-apps-social-share__success-icon calcite-icon{color:var(--calcite-color-status-success)}:host .instant-apps-social-share__success-message{line-height:16px}:host .instant-apps-social-share__embed{box-sizing:border-box;width:100%;padding:5%;margin-bottom:10px;border-top:1px solid #d3d3d3}:host .instant-apps-social-share__embed-header{display:flex;align-items:center;margin-bottom:5px}:host .instant-apps-social-share__embed-header calcite-icon{margin-right:5px}:host .instant-apps-social-share__embed-code-text-area{border:1px solid #d3d3d3}:host .instant-apps-social-share__embed-code-text-area textarea{box-sizing:border-box;padding:4%;border:none;resize:none;background:transparent;width:100%;font-family:var(--calcite-sans-family);color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button{display:flex;align-items:center;text-align:start;width:100%;border:none;border-top:1px solid #d3d3d3;background-color:transparent;line-height:16px;font-weight:400;padding:3%;color:var(--calcite-color-text-1)}:host .instant-apps-social-share__embed-code-text-area button calcite-icon{color:#007ac2;margin-right:3px}:host .instant-apps-social-share__embed-code-text-area button:hover{cursor:pointer;background-color:var(--calcite-color-foreground-2);transition:background-color .15s ease-out 0s}:host .instant-apps-social-share__embed-text-area-text{display:inline-block;padding-block-start:var(--calcite-spacing-md);font-weight:600;color:var(--instant-apps-social-share-embed-text-area-text)}:host .instant-apps-social-share__embed .instant-apps-social-share__text-area--rtl{text-align:left;direction:ltr}:host .instant-apps-social-share__embed-dimensions{display:flex;justify-content:space-between;margin-top:10px}:host .instant-apps-social-share__embed-dimensions-input{width:47%;box-sizing:border-box}:host .instant-apps-social-share__embed-dimensions-input input{border:1px solid #d3d3d3;width:100%;height:25px;font-family:var(--calcite-sans-family)}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options{display:flex;justify-content:space-around;margin-bottom:8%}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li{flex-direction:column;padding:0}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li .instant-apps-social-share__option-text{word-break:break-word;margin-left:0;margin-top:10px;text-align:center}:host .instant-apps-social-share__layout--horizontal .instant-apps-social-share__options li:hover{background-color:unset}:host .instant-apps-social-share__icon-container{display:flex;align-items:center}:host calcite-action{width:var(--instant-apps-social-share-action-width)}:host([scale=s]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--s)}:host([scale=s]) .instant-apps-social-share__icon{width:16px;height:16px}:host([scale=s]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size--1)}:host([scale=s]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--s)}:host([scale=s]) .instant-apps-social-share__tip-header,:host([scale=s]) .instant-apps-social-share__tip-content,:host([scale=s]) .instant-apps-social-share__embed-header,:host([scale=s]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--2)}:host([scale=m]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--m)}:host([scale=m]) .instant-apps-social-share__icon{width:24px;height:24px}:host([scale=m]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-0)}:host([scale=m]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--m)}:host([scale=m]) .instant-apps-social-share__tip-header,:host([scale=m]) .instant-apps-social-share__tip-content,:host([scale=m]) .instant-apps-social-share__embed-header,:host([scale=m]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size--1)}:host([scale=l]) .instant-apps-social-share__dialog{width:var(--instant-apps-social-share-width--l)}:host([scale=l]) .instant-apps-social-share__icon{width:32px;height:32px}:host([scale=l]) .instant-apps-social-share__option-text{font-size:var(--calcite-font-size-1)}:host([scale=l]) .instant-apps-social-share__dialog.instant-apps-social-share__layout--horizontal{width:var(--instant-apps-social-share-width-horizontal--l)}:host([scale=l]) .instant-apps-social-share__tip-header,:host([scale=l]) .instant-apps-social-share__tip-content,:host([scale=l]) .instant-apps-social-share__embed-header,:host([scale=l]) .instant-apps-social-share__embed-dimensions-input{font-size:var(--calcite-font-size-0)}`,i="instant-apps-social-share",H=".calcite-mode-dark",t={dialog:`${i}__dialog`,dialogContent:`${i}__dialog-content`,options:`${i}__options`,tipContainer:`${i}__tip`,tipHeader:`${i}__tip-header`,tipContent:`${i}__tip-content`,icon:`${i}__icon`,iconContainer:`${i}__icon-container`,optionText:`${i}__option-text`,popoverButton:`${i}__popover-button`,layout:{vertical:`${i}__layout--vertical`,horizontal:`${i}__layout--horizontal`},xLogo:{light:`${i}__x-logo--light`,dark:`${i}__x-logo--dark`},success:{container:`${i}__success`,header:`${i}__success-header`,message:`${i}__success-message`,icon:`${i}__success-icon`},embed:{container:`${i}__embed`,header:`${i}__embed-header`,embedCode:{container:`${i}__embed-code`,textArea:`${i}__embed-code-text-area`,copyButton:`${i}__embed-code-copy-button`},textAreaText:`${i}__embed-text-area-text`,dimensions:{container:`${i}__embed-dimensions`,input:`${i}__embed-dimensions-input`}},rtl:{optionText:`${i}__option-text--rtl`,textArea:`${i}__text-area--rtl`}},te={facebook:"https://www.facebook.com/sharer/sharer.php?u={url}",x:"https://x.com/intent/post?url={url}",linkedIn:"https://www.linkedin.com/sharing/share-offsite/?text={url}",bluesky:"https://bsky.app/intent/compose?text={url}"},E=1,z=class extends I{constructor(){super(...arguments),this._messages=B({name:"instant-apps-social-share"}),this.popoverRef=u(),this.embedWidthRef=u(),this.embedHeightRef=u(),this.embedCodeRef=u(),this.copyLinkPopoverRef=u(),this.copyEmbedPopoverRef=u(),this.dialogContentRef=u(),this.shareListRef=u(),this.popoverButtonRef=u(),this.handlePopoverRefKeyDown=async e=>{if(!this.isNativeShareEnabled)if(e.code==="Tab"){if(!this.shareListRef.value)return;let s=e.target,o=this.shareListRef.value.children[0],r=this.shareListRef.value.children[this.shareListRef.value.children.length-1];e.shiftKey&&s===o?(e.preventDefault(),r.focus()):!e.shiftKey&&s===r&&(e.preventDefault(),o.focus())}else e.code==="Escape"&&(this.closePopover(),await this.popoverButtonRef.value?.setFocus())},this.stopEventPropagation=e=>{e.stopPropagation()},this.autoCloseCallback=()=>{this.mode==="popover"&&this.popoverRef.value?(this.isPopoverOpen=!1,this.popoverRef.value.open=this.isPopoverOpen):(this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1),this.inlineCopyEmbedOpened=!1)},this.resetPopoverCopyState=async()=>{await this.popoverButtonRef.value?.setFocus(),setTimeout(()=>{this.isLinkCopiedToClipboard=!1},200)},this.isPopoverOpen=!1,this.isLinkCopiedToClipboard=!1,this.inlineCopyLinkOpened=!1,this.inlineCopyEmbedOpened=!1,this.embedWidth=400,this.embedHeight=600,this.mode="popover",this.shareUrl=window.location.href,this.autoUpdateShareUrl=!0,this.shareText="",this.embed=!1,this.shareButtonColor="neutral",this.shareButtonType="button",this.shareButtonScale="m",this.iframeInnerText="",this.popoverButtonIconScale="m",this.displayTipText=!0,this.shortenShareUrl=!0,this.socialMedia=!0,this.shareIconsLayout="vertical",this.scale="m",this.successMessage="",this.flipRtl=!1,this.defaultUrlParams=null,this.inlineSuccessPopoverPlacement="trailing",this.popoverPositioning="absolute",this.removePopoverOffset=!1,this.useNativeShare=!1,this.isNativeShareEnabled=!1}static{this.properties={isPopoverOpen:16,isLinkCopiedToClipboard:16,inlineCopyLinkOpened:16,inlineCopyEmbedOpened:16,embedWidth:16,embedHeight:16,mode:3,shareUrl:1,autoUpdateShareUrl:5,shareText:3,embed:7,shareButtonColor:3,shareButtonType:3,shareButtonScale:3,iframeInnerText:3,popoverButtonIconScale:3,view:0,displayTipText:7,shortenShareUrl:7,socialMedia:7,shareIconsLayout:3,scale:3,successMessage:3,flipRtl:7,defaultUrlParams:0,inlineSuccessPopoverPlacement:3,popoverPositioning:3,removePopoverOffset:7,useNativeShare:7,isNativeShareEnabled:7}}static{this.styles=ee}load(){document.documentElement.addEventListener("click",this.autoCloseCallback),this.isNativeShareEnabled=this.useNativeShare&&this.isMobileDevice}disconnectedCallback(){super.disconnectedCallback(),document.documentElement.removeEventListener("click",this.autoCloseCallback)}makeOptionKeyDownHandler(e){return async s=>{let o=s.code;(o==="Space"||o==="Enter")&&await this.handleShareItem(e)}}makeEmbedResizeHandler(e){let s=e==="width"?this.embedWidthRef.value:this.embedHeightRef.value;return()=>{if(!(!this.embed||this.isNativeShareEnabled)&&s){let o=Math.max(s.valueAsNumber??0,E);this[e==="width"?"embedWidth":"embedHeight"]=o}}}togglePopoverVisibility(e){e.stopPropagation(),this.isPopoverOpen=!this.isPopoverOpen,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}closePopover(){this.isPopoverOpen=!1,this.popoverRef.value&&(this.popoverRef.value.open=this.isPopoverOpen)}async handleShareItem(e){this.shareUrl=await this.generateShareUrl();let s=null,o=navigator?.userAgent?.includes("Chrome")??!1,r=(navigator?.userAgent?.includes("Safari")??!1)&&!o;!r&&this.shortenShareUrl&&(s=await this.shortenUrl(this.shareUrl));let p=s||this.shareUrl;switch(e){case"link":await navigator.clipboard.writeText(p),this.embed&&this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1,this.inlineCopyEmbedOpened=!1),this.mode==="inline"&&this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!0,setTimeout(()=>{this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1)},3e3)),this.inlineCopyLinkOpened=!0,this.isLinkCopiedToClipboard=!0,this.mode==="popover"&&setTimeout(()=>this.closePopover(),2e3);return;case"facebook":case"bluesky":case"x":case"linkedIn":{let l;r&&(l=window.open("","_blank"),this.shortenShareUrl&&(p=await this.shortenUrl(this.shareUrl)||p));let g={url:encodeURI(p)},f=e==="x"?{...g,text:this.shareText}:g,P=M.substitute(te[e],f);this.mode==="popover"&&this.closePopover(),r&&l?(l.location=P,l.focus()):window.open(encodeURI(P),"_blank")}break;case"native-share":let b={title:this._messages.share?.label||"Share",text:this.shareText,url:encodeURI(p)};navigator?.canShare?.(b)?navigator.share(b).catch(l=>{console.error("Error using native share:",l)}):console.warn("Native share is not supported or the provided data is not shareable.");return}}async shortenUrl(e){let s=(await Q("https://arcg.is/prod/shorten",{query:{longUrl:e,f:"json"}}))?.data?.data?.url;if(s)return s.replace("http://","https://")}getEmbedCode(){return`<iframe src="${this.shareUrl}" width="${this.embedWidth}" height="${this.embedHeight}" frameborder="0" style="border:0" allowfullscreen>${this.iframeInnerText}</iframe>`}async copyEmbedCode(){await navigator.clipboard.writeText(this.getEmbedCode()),this.copyLinkPopoverRef.value&&(this.copyLinkPopoverRef.value.open=!1),this.inlineCopyLinkOpened=!1,this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!0,setTimeout(()=>{this.copyEmbedPopoverRef.value&&(this.copyEmbedPopoverRef.value.open=!1)},3e3)),this.inlineCopyEmbedOpened=!0}async generateShareUrl(){if(this.autoUpdateShareUrl&&(this.shareUrl=window.location.href),!this.view?.ready)return this.shareUrl;let{x:e,y:s}=this.view.center,{spatialReference:o}=this.view,r=new O({...o.toJSON()}),p=new Y({x:e,y:s,spatialReference:r}),b=await this.processPoint(p),{isWGS84:l,isWebMercator:g}=b.spatialReference,f=l||g;return this.generateShareUrlParams(b,f)}async processPoint(e){let{isWGS84:s,isWebMercator:o}=e.spatialReference;if(s||o)return e;let r=new O({wkid:4326}),p=this.view?.spatialReference??r;try{return await k.load(),k.execute(e,p)}catch(b){console.error("Failed to project point to outSpatialReference",b);try{let l=k.execute(e,r);return Promise.resolve(l)}catch(l){return console.error("Failed to project point to fallbackOutSpatialReference",l),await Promise.reject(new Error("Failed to project point to both spatial references"))}}}generateShareUrlParams(e,s){let{longitude:o,latitude:r,x:p,y:b}=e;if(o===void 0||r===void 0||!this.view)return this.shareUrl;let l=this.roundValue(s?o:p),g=this.roundValue(s?r:b),{zoom:f}=this.view,P=this.roundValue(f),R=this.view?.popup?.selectedFeature,F=this.view?.popup?.visible,$,x;if(R&&F&&R?.layer?.type==="feature"){let v=R?.layer;$=v?.id,x=R.attributes[v.objectIdField]}let C=this.view.map?.allLayers.filter(v=>!v.visible).toArray().map(v=>v.id).toString().replaceAll(",",";"),{type:N}=this.view,{defaultUrlParams:_}=this,c=new URL(this.shareUrl),{searchParams:d}=c;if(d.get("center")&&d.delete("center"),d.get("level")&&d.delete("level"),d.get("selectedFeature")&&d.delete("selectedFeature"),d.get("hiddenLayers")&&d.delete("hiddenLayers"),d.get("viewpoint")&&d.delete("viewpoint"),N==="3d"){let{camera:v}=this.view,{heading:D,position:A,tilt:V}=v,{longitude:W,latitude:j,x:K,y:Z,z:G}=A,X=s?W:K,q=s?j:Z,y={longitude:this.roundValue(X,8),latitude:this.roundValue(q,8),z:this.roundValue(G,3),heading:this.roundValue(D,3),tilt:this.roundValue(V,3)},J=`cam:${y.longitude},${y.latitude},${y.z}${!s&&this.view?.spatialReference?.wkid?`,${this.view?.spatialReference?.wkid}`:""};${y.heading},${y.tilt}`;return _?.viewpoint!==!1&&c.searchParams.set("viewpoint",J),$&&x&&_?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),C&&_?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",C),c.search=decodeURIComponent(c.search),c.href}return _?.center!==!1&&c.searchParams.set("center",`${l};${g}${!s&&this.view?.spatialReference?.wkid?`;${this.view?.spatialReference?.wkid}`:""}`),_?.level!==!1&&c.searchParams.set("level",`${P}`),$&&x&&_?.selectedFeature!==!1&&c.searchParams.set("selectedFeature",`${$};${x}`),C&&_?.hiddenLayers!==!1&&c.searchParams.set("hiddenLayers",C),c.search=decodeURIComponent(c.search),c.href}roundValue(e,s=4){return Number.parseFloat(e.toFixed(s))}get isMobileDevice(){return/Mobi|Android|iPhone|iPad|iPod/iu.test(navigator.userAgent)}render(){let e=this.isLinkCopiedToClipboard&&this.mode==="popover"?this.renderSuccess():n`<div class=${a(t.dialogContent)}>${this.renderMenuOptions()}${this.displayTipText?this.renderTip():null}${this.embed?this.renderEmbed():null}</div>`,s=this.shareIconsLayout==="vertical"?` ${t.layout.vertical}`:` ${t.layout.horizontal}`,o=` calcite-mode-${this.el.closest(H)?"dark":"light"}`,r=n`<div class=${`${t.dialog}${s}${o}`} @click=${this.stopEventPropagation} ${h(this.dialogContentRef)}>${e}</div>`,p=this.removePopoverOffset?0:6;return this.isNativeShareEnabled?this.renderShareButton():this.mode==="popover"?[n`<calcite-popover .open=${this.isPopoverOpen} .label=${this._messages.share?.label??""} reference-element=shareButton placement=bottom-start .scale=${this.scale} .overlayPositioning=${this.popoverPositioning} .offsetDistance=${p} .pointerDisabled=${this.removePopoverOffset} @calcitePopoverOpen=${()=>{!this.shareListRef.value||this.isNativeShareEnabled||this.shareListRef.value.children[0].focus()}} @calcitePopoverBeforeClose=${this.resetPopoverCopyState} @click=${this.stopEventPropagation} @keydown=${this.handlePopoverRefKeyDown} ${h(this.popoverRef)}>${r}</calcite-popover>`,this.renderShareButton()]:[r,n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyLinkPopoverRef)}>${this.renderSuccess()}</calcite-popover>`,this.embed?n`<calcite-popover .label=${this._messages.share?.label??""} reference-element=copyEmbedToClipboard .placement=${this.inlineSuccessPopoverPlacement} .scale=${this.scale} overlay-positioning=fixed ${h(this.copyEmbedPopoverRef)}>${this.renderEmbedSuccess()}</calcite-popover>`:null]}renderShareButton(){let e=this.shareButtonScale??this.scale,s=async r=>{this.isNativeShareEnabled?(r.stopPropagation(),await this.handleShareItem("native-share")):this.togglePopoverVisibility(r)},o=n`<div class=${a(t.iconContainer)}><calcite-icon icon=share .scale=${this.popoverButtonIconScale}></calcite-icon></div>`;return this.shareButtonType==="button"?n`<calcite-button id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??L} .scale=${e} @click=${s} .kind=${this.shareButtonColor} appearance=transparent ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-button>`:n`<calcite-action id=shareButton class=${a(t.popoverButton)} .label=${this._messages.share?.label} title=${this._messages.share?.label??L} .scale=${e} @click=${s} appearance=transparent text alignment=center ${h(this.isNativeShareEnabled?void 0:this.popoverButtonRef)}>${o}</calcite-action>`}renderSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${this.successMessage||e?.url}</span></div>`}renderEmbedSuccess(){let e=this._messages.success;return n`<div class=${a(t.success.container)}><span class=${a(t.success.header)}><span class=${a(t.success.icon)}><calcite-icon icon=check-circle-f .scale=${this.scale}></calcite-icon></span>${e?.label}</span><span class=${a(t.success.message)}>${e?.embed}</span></div>`}renderMenuOptions(){let e=this._messages.options,s=document.dir==="rtl"?` ${t.rtl.optionText}`:"";return n`<ul class=${a(t.options)} role=menu ${h(this.shareListRef)}><li id=copyToClipboard @click=${this.handleShareItem.bind(this,"link")} @keydown=${this.makeOptionKeyDownHandler("link")} role=menuitem tabindex=0><span class=${a(t.icon)}><calcite-icon icon=link .scale=${this.scale}></calcite-icon></span><span class=${`${t.optionText}${s}`}>${e?.link?.label}</span></li>${this.socialMedia?[n`<li @click=${this.handleShareItem.bind(this,"facebook")} @keydown=${this.makeOptionKeyDownHandler("facebook")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderFacebookIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.facebook?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"x")} @keydown=${this.makeOptionKeyDownHandler("x")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderXIcon()}</span><span class=${`${t.optionText}${s}`}>X</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"linkedIn")} @keydown=${this.makeOptionKeyDownHandler("linkedIn")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderLinkedInIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.linkedIn?.label}</span></li>`,n`<li @click=${this.handleShareItem.bind(this,"bluesky")} @keydown=${this.makeOptionKeyDownHandler("bluesky")} role=menuitem tabindex=0><span class=${a(t.icon)}>${this.renderBlueSkyIcon()}</span><span class=${`${t.optionText}${s}`}>${e?.blueSky?.label}</span></li>`]:null}</ul>`}renderFacebookIcon(){return n`<svg height=100% style=${m({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g><path d="M512,256c0,-141.385 -114.615,-256 -256,-256c-141.385,0 -256,114.615 -256,256c0,127.777 93.616,233.685 216,252.89l0,-178.89l-65,0l0,-74l65,0l0,-56.4c0,-64.16 38.219,-99.6 96.695,-99.6c28.009,0 57.305,5 57.305,5l0,63l-32.281,0c-31.801,0 -41.719,19.733 -41.719,39.978l0,48.022l71,0l-11.35,74l-59.65,0l0,178.89c122.385,-19.205 216,-125.113 216,-252.89Z" style=${m({fill:"#1877f2",fillRule:"nonzero"})} /><path d="M355.65,330l11.35,-74l-71,0l0,-48.022c0,-20.245 9.917,-39.978 41.719,-39.978l32.281,0l0,-63c0,0 -29.297,-5 -57.305,-5c-58.476,0 -96.695,35.44 -96.695,99.6l0,56.4l-65,0l0,74l65,0l0,178.89c13.033,2.045 26.392,3.11 40,3.11c13.608,0 26.966,-1.065 40,-3.11l0,-178.89l59.65,0Z" style=${m({fill:"#fff",fillRule:"nonzero"})} /></g>`}</svg>`}renderXIcon(){let e=!!this.el.closest(H);return n`<svg height=100% class=${a(e?t.xLogo.dark:t.xLogo.light)} viewBox="0 0 1200 1227" fill=none xmlns=http://www.w3.org/2000/svg>${w`<rect height=400 style=${m({fill:"none"})} width=400 x=56 y=56 /><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill=${e?"white":"black"} />`}</svg>`}renderBlueSkyIcon(){return n`<svg height=100% fill=#0f85fe xmlns=http://www.w3.org/2000/svg viewBox="0 0 512 512">${w`<path d="M111.8 62.2C170.2 105.9 233 194.7 256 242.4c23-47.6 85.8-136.4 144.2-180.2c42.1-31.6 110.3-56 110.3 21.8c0 15.5-8.9 130.5-14.1 149.2C478.2 298 412 314.6 353.1 304.5c102.9 17.5 129.1 75.5 72.5 133.5c-107.4 110.2-154.3-27.6-166.3-62.9l0 0c-1.7-4.9-2.6-7.8-3.3-7.8s-1.6 3-3.3 7.8l0 0c-12 35.3-59 173.1-166.3 62.9c-56.5-58-30.4-116 72.5-133.5C100 314.6 33.8 298 15.7 233.1C10.4 214.4 1.5 99.4 1.5 83.9c0-77.8 68.2-53.4 110.3-21.8z" />`}</svg>`}renderLinkedInIcon(){return n`<svg height=100% style=${m({fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"2"})} version=1.1 viewBox="0 0 512 512" width=100% xmlns=http://www.w3.org/2000/svg>${w`<g id=g5891><path d="M512,64c0,-35.323 -28.677,-64 -64,-64l-384,0c-35.323,0 -64,28.677 -64,64l0,384c0,35.323 28.677,64 64,64l384,0c35.323,0 64,-28.677 64,-64l0,-384Z" id=background style=${m({fill:"#2867b2"})} /><g id=shapes><rect height=257.962 id=rect11 style=${m({fill:"#fff"})} width=85.76 x=61.053 y=178.667 /><path d="M104.512,54.28c-29.341,0 -48.512,19.29 -48.512,44.573c0,24.752 18.588,44.574 47.377,44.574l0.554,0c29.903,0 48.516,-19.822 48.516,-44.574c-0.555,-25.283 -18.611,-44.573 -47.935,-44.573Z" id=path13-0 style=${m({fill:"#fff",fillRule:"nonzero"})} /><path d="M357.278,172.601c-45.49,0 -65.866,25.017 -77.276,42.589l0,-36.523l-85.738,0c1.137,24.197 0,257.961 0,257.961l85.737,0l0,-144.064c0,-7.711 0.554,-15.42 2.827,-20.931c6.188,-15.4 20.305,-31.352 43.993,-31.352c31.012,0 43.436,23.664 43.436,58.327l0,138.02l85.741,0l0,-147.93c0,-79.237 -42.305,-116.097 -98.72,-116.097Z" id=path15 style=${m({fill:"#fff",fillRule:"nonzero"})} /></g></g>`}</svg>`}renderTip(){let e=this._messages.info;return n`<div class=${a(t.tipContainer)}><span class=${a(t.tipHeader)}><calcite-icon icon=lightbulb .scale=${this.scale}></calcite-icon><span>${e?.label}</span></span><p class=${a(t.tipContent)}>${e?.tooltip}</p></div>`}renderEmbed(){let e=this._messages.embed,s=document.dir==="rtl"?` ${t.rtl.textArea}`:"";return n`<div class=${a(t.embed.container)}><span class=${a(t.embed.header)}><calcite-icon icon=code .scale=${this.scale}></calcite-icon><span>${this._messages.embed?.label}</span></span><div class=${a(t.embed.embedCode.container)}><div class=${a(t.embed.embedCode.textArea)}><textarea cols=30 rows=5 readonly class=${a(s)} .value=${S(this.getEmbedCode()??"")} ${h(this.embedCodeRef)}></textarea><button id=copyEmbedToClipboard @click=${this.copyEmbedCode} class=${a(t.embed.embedCode.copyButton)}><calcite-icon icon=copy .scale=${this.scale}></calcite-icon><span>${e?.copy}</span></button></div><span class=${a(t.embed.textAreaText)}><slot name=text-area-text></slot></span><div class=${a(t.embed.dimensions.container)}><label class=${a(t.embed.dimensions.input)}><span>${e?.width}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("width")} .value=${S(this.embedWidth??"")} min=${E} ${h(this.embedWidthRef)}></label><label class=${a(t.embed.dimensions.input)}><span>${e?.height}</span><input type=number @keydown=${o=>["e","E","+","-"].includes(o.key)&&o.preventDefault()} @change=${this.makeEmbedResizeHandler("height")} .value=${S(this.embedHeight??"")} min=${E} ${h(this.embedHeightRef)}></label></div></div></div>`}};U("instant-apps-social-share",z);return z},"intl","request","geometry/operators/projectOperator","geometry/Point","geometry/SpatialReference")
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import w from"./PZJICKXI.js";import t from"./KPVMNGYD.js";import r from"./HLO4ESLP.js";import q from"./7OIK5YLC.js";import o from"./KH6KBN5S.js";import n from"./LMW4LPU4.js";import m from"./GFVX4EMM.js";import l from"./45I67QEZ.js";import k from"./AIUKZ7QZ.js";import"./MEWRX3M3.js";import j from"./QL653ZDR.js";import h from"./PK6MBS72.js";import{c as I}from"./CQG3ZUSI.js";import f from"./XCPR5CLY.js";import e from"./75FCMS3Q.js";import"./2VG4KTXI.js";import"./UVOTALEM.js";import d from"./2WXPOV3P.js";import b from"./H7GNFLX5.js";import a from"./MFMURPUV.js";import"./3ST4PJS2.js";import"./E3ZJUJQE.js";import"./ZXIUDDYB.js";import"./AMF6BI56.js";import"./ERPFWR4V.js";import"./5G5DFCQ2.js";import"./CZKLCZBX.js";import"./NPAJRPLS.js";import"./ADGRZEHH.js";import"./PXSFL6NE.js";import"./2KYRVCYO.js";import"./4EI3LJ75.js";import"./GC6WKYIL.js";import"./4XMI442R.js";import"./ZLCJOGCM.js";import"./IR4NISLP.js";import"./HESFWY6K.js";import"./JYP27YIQ.js";import"./MW4NBRQZ.js";import"./5XZXS7KC.js";import{a as v}from"./GGKFJMLJ.js";import"./HETORT6U.js";import"./LWSKZY3I.js";import{b as g}from"./S7GXXB2P.js";import{D as i,E as s,F as y,H as p,h as T,i as u,p as c}from"./2ES34Q6J.js";import"./UQH76H3R.js";export default $arcgis.t(([,,,{a:n,c:m,d:S,e:C,f:f},,{o:w,p:x},,,,,,,{g:k,h:A},,,,,,{a:b,b:$}])=>{var O=T`/** @license
|
|
5
|
+
* Copyright 2025 Esri
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/.back-color-override{background-color:var(--calcite-color-foreground-2);--calcite-tab-border-color: var(--calcite-color-foreground-3)}.display-none{display:none!important}.height-100{height:100%}calcite-tab-nav{padding-bottom:6px;padding-top:6px}calcite-tabs{--calcite-color-focus: transparent;height:100%}.tab-space-0{--calcite-tab-content-space-y: var(--calcite-spacing-none)}.tab-space-md{--calcite-tab-content-space-y: var(--calcite-spacing-md)}solutions-searchsort-toolbar,solutions-deploy-app-nav,solution-details-panel,solutions-resources-shell,solutions-deployed-shell,solutions-all-shell,calcite-tab-nav,solution-deployed-card-panel{width:1440px;display:block;max-width:96vw;padding-right:var(--calcite-spacing-none);padding-left:var(--calcite-spacing-none);margin-left:auto;margin-right:auto;box-sizing:border-box}.border{height:var(--calcite-spacing-px);border-bottom-color:var(--calcite-color-border-3);border-bottom-style:solid;border-bottom-width:var(--calcite-border-width-sm);box-sizing:border-box}.overflow-auto{overflow:auto}`,_=class extends y{constructor(){super(),this.initTitleOrId="",this.sortType="relevance",this.useLocalAppConfig=!1,this.authentication=void 0,this._isLoaded=!1,this.isMobile=!1,this._activeTab="all-solutions",this._translations=v({name:"solutions-deploy-app",blocking:!0}),this._agoTerms=`${x}`,this._allCards=[],this._allShell=i(),this._allTab=i(),this._allTabTitle=i(),this._resourcesTab=i(),this._resourcesTabTitle=i(),this._authContextProvider=n({context:C}),this._categories=[],this._configContextProvider=n({context:f}),this._delay=!1,this._deployAppNav=i(),this._deployedCardPanel=i(),this._deployedCardTab=i(),this._deployedCardTabTitle=i(),this._detailsShell=i(),this._detailsTab=i(),this._detailsTabTitle=i(),this._getSuggested=!1,this._isMobileContextProvider=n({context:S}),this._mySolutionsShell=i(),this._mySolutionsTab=i(),this._mySolutionsTabTitle=i(),this._sortField="relevance",this._sortOrder="desc",this._userSessionContextProvider=n({context:m}),this.deployAppTabSelected=c(),this.detailsCardSelected=c(),this.deployedCardSelected=c(),this.initDeployedCard=c(),this.listenOn(window,"detailsCardSelected",this._detailsCardSelected),this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"deployProgressEnd",this._deployProgressEnd),this.listenOn(window,"navTabSelected",this._setActiveTab),this._mediaQueryChange=this._mediaQueryChange.bind(this)}static{this.properties={appConfig:1,initTab:1,initTitleOrId:1,sortType:1,useLocalAppConfig:5,authentication:16,_isLoaded:16,isMobile:16,_activeTab:16,_translations:16}}static{this.styles=O}async selectTab(t,e){if(this._isLoaded){let l=this._getDefaultSearchOptions(e);switch(t.tabType){case"all-solutions":this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0,l&&await this._allShell.value?.searchSolutions(l);break;case"resources":this._resourcesTab.value.selected=!0,this._resourcesTabTitle.value.selected=!0;break;case"deployed-card":if(console.log(this._deployedSolutions),console.log(this.initTitleOrId),console.log(this.initTab),this._cardsFetcherDeployed&&(console.log("has cards fetcher"),await this._getDeployedSolutions(),console.log("should have fetched")),console.log("this._deployedSolutions"),console.log(this._deployedSolutions),this.initDeployedCard.emit({tab:t}),this._deployedSolutions?.cards?.length>0){let a;this._deployedSolutions.cards.some(o=>(console.log(o),o.id===t.tabTitleOrId?(a=o,this.deployedCardSelected.emit({card:a}),!0):!1))}alert("need to figure out the lookup here since it will need to happen based on id");break;case"details":if(this._allCards){let a=k(this._allCards,t.tabTitleOrId);a=a||A(this._allCards,t.tabTitleOrId),a?(this._detailsTab.value.selected=!0,this._detailsTabTitle.value.selected=!0,this.detailsCardSelected.emit(a)):(t.tabType="all-solutions",this._allTab.value.selected=!0,this._allTabTitle.value.selected=!0)}break;case"deployments":this._mySolutionsTab.value.selected=!0,this._mySolutionsTabTitle.value.selected=!0,l&&await this._mySolutionsShell.value?.searchSolutions(l);break}this._setActiveTab(new CustomEvent("setActiveTab",{detail:t})),this._blurTabs()}else this._initTab=t,this._initFilters=e}async connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 800px)"),this._mediaQuery.addEventListener("change",this._mediaQueryChange),this._mediaQueryChange(this._mediaQuery)}async load(){this.useLocalAppConfig&&(this.appConfig=I)}render(){let t=this._isLoaded?"display-none":"",e=this._isLoaded?"":"display-none";return u`<calcite-shell><solutions-deploy-app-nav .appConfig=${this.appConfig} @authInit=${this._handleAuthInit} slot=header .useLocalAppConfig=${this.useLocalAppConfig} ${s(this._deployAppNav)}></solutions-deploy-app-nav>${this._isSearchToolbarShowing()&&u`<div class="border" slot=header></div>`||""}<solutions-searchsort-toolbar .isMobile=${this.isMobile} slot=header></solutions-searchsort-toolbar><calcite-loader class=${p(t)} id=solutions-loader .label=${this._translations.fetchingAllSolutions}></calcite-loader><calcite-tabs class=${p(e)} scale=l><calcite-tab-nav class="display-none" slot=title-group><calcite-tab-title ${s(this._allTabTitle)}>${this._translations.allSolutions}</calcite-tab-title><calcite-tab-title ${s(this._mySolutionsTabTitle)}>${this._translations.mySolutions}</calcite-tab-title><calcite-tab-title ${s(this._resourcesTabTitle)}>${this._translations.solutionResources}</calcite-tab-title><calcite-tab-title class="display-none" ${s(this._detailsTabTitle)}></calcite-tab-title><calcite-tab-title class="display-none" ${s(this._deployedCardTabTitle)}></calcite-tab-title></calcite-tab-nav><calcite-tab class="back-color-override tab-space-0" selected ${s(this._allTab)}><solutions-all-shell class="height-100" ${s(this._allShell)}></solutions-all-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${s(this._mySolutionsTab)}><solutions-deployed-shell class="height-100" ${s(this._mySolutionsShell)}></solutions-deployed-shell></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${s(this._resourcesTab)}><solutions-resources-shell class="height-100"></solutions-resources-shell></calcite-tab><calcite-tab class="back-color-override" ${s(this._detailsTab)}><solution-details-panel class="height-100" ${s(this._detailsShell)}></solution-details-panel></calcite-tab><calcite-tab class="back-color-override tab-space-0" ${s(this._deployedCardTab)}><solution-deployed-card-panel class="shell-container height-100 overflow-auto" ${s(this._deployedCardPanel)}></solution-deployed-card-panel></calcite-tab></calcite-tabs></calcite-shell>`}disconnectedCallback(){super.disconnectedCallback(),this._mediaQuery?.removeEventListener("change",this._mediaQueryChange)}async _handleAuthInit(t){let e=t.detail;e.userSession&&this._userSessionContextProvider.setValue(e.userSession),e.authentication&&(this.authentication=e.authentication,this._authContextProvider.setValue(this.authentication)),console.log("handle auth init"),console.log("this.initTab"),console.log(this.initTab),console.log("this.initTitleOrId"),console.log(this.initTitleOrId),this._cardsFetcherDeployed=new b(e.locale,e.orgUrl,e.portalUrl),this._cardsFetcher=new b(e.locale,e.orgUrl,e.portalUrl),await this._getSolutions(e.primarySolutionsGroupId),e.allCards=this._allCards,this._configContextProvider.setValue(e),this._isLoaded=!0,console.log("this._initTab"),console.log(this._initTab),this._initTab&&(this.selectTab(this._initTab,this._initFilters),this._initTab=void 0,this._initFilters=void 0)}_mediaQueryChange(t){this.isMobile=t.matches,this._isMobileContextProvider.setValue(this.isMobile)}_setActiveTab(t){let e=t.detail.tabType;switch(this._activeTab=e,e){case"all-solutions":this._allTabTitle.value?.click();break;case"deployments":this._mySolutionsTabTitle.value?.click();break;case"resources":this._resourcesTabTitle.value?.click();break;case"deployed-card":this._deployedCardTabTitle.value?.click();case"details":this._detailsTabTitle.value?.click();break}e!=="details"&&(this._deployAppNav.value.activateMenuItem(e),this.deployAppTabSelected.emit(e))}_detailsCardSelected(){this._activeTab="details",this._detailsTabTitle.value.selected=!0,this._detailsTab.value.selected=!0,this._deployAppNav.value.clearMenuItems()}_deployedCardSelected(){this._activeTab="deployed-card",this._deployedCardTabTitle.value.selected=!0,this._deployedCardTab.value.selected=!0,this._deployAppNav.value.clearMenuItems()}_deployProgressEnd(){this._activeTab="deployments",this._mySolutionsTabTitle.value.selected=!0,this._mySolutionsTab.value.selected=!0}async _getSolutions(t){let e=await this._cardsFetcher?.requestAvailableSolutionCards({q:this._agoTerms,filter:"type:Solution",sortField:this._sortField,sortOrder:this._sortOrder,nextStart:-1,categories:this._categories,delay:this._delay,getSuggested:this._getSuggested},t,"",this._userSessionContextProvider.value,{num:1e3});return this._allCards.length===0&&e?.cards&&(this._allCards=e?.cards),this._allCards}async _getDeployedSolutions(){let t=this._authContextProvider.value,e=this._userSessionContextProvider.value;console.log("authentication.IsSignedIn"),console.log(t.IsSignedIn),t&&e&&t.IsSignedIn&&(console.log("fetching solutions"),this._deployedSolutions=await $(t,e,this._cardsFetcher,this._cardsFetcherDeployed,w,"created"))}_blurTabs(){this._allTabTitle.value?.blur(),this._resourcesTabTitle.value?.blur(),this._detailsTabTitle.value?.blur(),this._mySolutionsTabTitle.value?.blur()}_isSearchToolbarShowing(){return this._activeTab==="all-solutions"||this._activeTab==="deployments"&&this.authentication?.IsSignedIn===!0}_getDefaultSearchOptions(t){let e;if(t){let l=t.domain,a=t.industry,o=t.offerType,d=t.searchTerm,L="",r=t.sortField,h=t.owner;e=l||a?{type:l?"domain":a?"industry":""}:void 0,l&&(e=e?{...e,domain:l}:{domain:l}),a&&(e=e?{...e,industry:a}:{industry:a}),d&&(e=e?{...e,searchTerm:d}:{searchTerm:d}),e&&(e={...e,displayValue:L}),r&&(e=e?{...e,sortType:r}:{sortType:r}),o&&(r=o.toLowerCase(),e=e?{...e,sortType:r}:{sortType:r}),h&&(e=e?{...e,owner:h}:{owner:h})}return e}};g("solutions-deploy-app",_);return _},"identity/IdentityManager","identity/OAuthInfo","portal/Portal",a,b,d,e,f,h,j,k,l,m,n,o,q,r,t,w)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import b from"./MFMURPUV.js";import{a as g}from"./GGKFJMLJ.js";import{b as p}from"./S7GXXB2P.js";import{D as a,E as c,F as d,I as h,h as s,i as t,j as r,p as n}from"./2ES34Q6J.js";export default $arcgis.t(([{b:o,d:u,e:m}])=>{var b=s`/** @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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as h}from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{a as h}from"./ZLCJOGCM.js";function i(t){if(typeof t=="string")return t.replace(/\/sharing\/rest\/?$/,"");if(typeof t=="object"){let e=t.portalSelf||t,{portalHostname:s,urlKey:o,customBaseUrl:n}=e;if(s||o&&n)return e.isPortal?`https://${e.portalHostname}`:`https://${e.urlKey}.${e.customBaseUrl}`}return i(h(t))}function _(t){let r="enterprise";return t.includes("arcgis.com")&&(r="production"),(t.includes("qaext.arcgis.com")||t.includes("mapsqa.arcgis.com"))&&(r="qaext"),(t.includes("devext.arcgis.com")||t.includes("mapsdev.arcgis.com"))&&(r="devext"),r}function S(t,r){return`${i(r)}/home/item.html?id=${t}`}var a="/apps/sites";function E(t,r){let e=i(r),s;/(devext|mapsdevext)\.arcgis\.com/.test(e)?s="https://hubdevcdn.arcgis.com/opendata-ui/assets":/(qaext|mapsqa)\.arcgis\.com/.test(e)?s="https://hubqacdn.arcgis.com/opendata-ui/assets":/(www|maps)\.arcgis\.com/.test(e)?s="https://hubcdn.arcgis.com/opendata-ui/assets":s=`${e}${a}`;let o=t.startsWith("/")?"":"/";return[s,t].join(o)}function R(t){let{host:r,path:e,query:s}=t,o=r.endsWith("/")?r:`${r}/`,n=new URL(e,o);return n.search=f(s),n.toString()}function f(t={}){let r=Object.keys(t).filter(e=>t[e]!==void 0).reduce((e,s)=>(e[s]=t[s],e),{});return new URLSearchParams(r).toString()}var u={devext:"https://hubdevcdn.arcgis.com",qaext:"https://hubqacdn.arcgis.com",www:"https://hubcdn.arcgis.com"};function q(t){if(t.isPortal)return`${i(t)}${a}`;{let r=t.portalHostname.split(".")[0];return`${u[r]||u.www}/opendata-ui/assets`}}function c(t){return`${i(t)}/sharing/rest`}function N(t){return t=t.toLowerCase(),t.includes("//")&&(t=t.split("//")[1]),t}function p(t){let r;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?r="https://hubqa.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?r="https://hubdev.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(r="https://hub.arcgis.com"),r}function K(t){if(t.isPortal)throw new Error("Hub Url is not available in ArcGIS Enterprise");return p(t.portalHostname)}var V=(t,r,e)=>{let{id:s,access:o}=t,n=`${c(r)}/content/items/${s}`,l=new URLSearchParams({f:"json"});return o!=="public"&&e&&l.append("token",e),`${n}?${l.toString()}`};var m=/\/(map|feature)server/i,Q=t=>m.test(t);export{R as a,i as b,_ as c,q as d,c as e,N as f,p as g,K as h,S as i,V as j,E as k,Q as l};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as _}from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{a as _}from"./2VG4KTXI.js";import{a as m}from"./6HLRUCZG.js";import{b as p}from"./OCORZHZK.js";import"./HETORT6U.js";import"./LWSKZY3I.js";import{D as h,E as b,F as d,h as o,i as c}from"./2ES34Q6J.js";import"./UQH76H3R.js";export default $arcgis.t(([g,D,{watch:w},a,B,x])=>{var v=o`:host{--label-padding-inline: 12px;--calcite-action-bar-items-space: 8px}calcite-label span,.checkbox-wrapper{padding-inline:var(--label-padding-inline)}`,n={style:"solid",color:[100,100,100,.5],outline:{color:[255,255,255,255],width:.75}};function M(f,e){return new x({geometry:f,symbol:e})}async function C({graphic:f,distance:e,unit:t,isGeodesic:r}){r&&!a.isLoaded()&&await a.load();let i=r?a:B;try{let s={unit:t},l=i.execute(f.geometry,e,s);if(!l)throw new Error("buffer failed");return l}catch(s){console.error(String(s))}}var y=["meters","kilometers","miles","yards","feet","us-feet"],u=class extends d{constructor(){super(),this._bufferDistance=1,this._bufferMinDistance=.1,this._bufferMaxDistance=1e6,this._bufferInputStep=1,this._bufferUnit="miles",this._messages=m({name:"instant-apps-buffer",blocking:!0}),this._readyToBuffer=!1,this._firstFocusableElement=h(),this.geodesicBufferEnabled=!1,this.disabled=!1,this.bufferColor=n.color,this.bufferStyle=n.style,this.bufferOutlineColor=n.outline.color,this.bufferOutlineWidth=n.outline.width,this.bufferLayer=new g}static{this.properties={bufferLayer:0,inputGraphics:0,view:0,bufferUnit:3,bufferInputStep:11,bufferDistance:11,bufferMinDistance:11,bufferMaxDistance:11,geodesicBufferEnabled:7,disabled:7,readyToBuffer:32,bufferColor:1,bufferStyle:1,bufferOutlineColor:1,bufferOutlineWidth:9,bufferGraphicSymbol:32}}static{this.styles=v}get bufferUnit(){return this._bufferUnit}set bufferUnit(e){if(y.includes(e))this._bufferUnit=e;else throw Error("bufferDistance must be a valid length unit type")}get bufferInputStep(){return this._bufferInputStep}set bufferInputStep(e){this._validateBufferNumber(e,"bufferInputStep"),this._bufferInputStep=e}get bufferDistance(){return this._bufferDistance}set bufferDistance(e){if(this._validateBufferNumber(e,"bufferDistance"),e<this.bufferMinDistance)throw new Error("bufferDistance must be greater than bufferMinDistance");if(e>this.bufferMaxDistance)throw new Error("bufferDistance must be less than bufferMaxDistance");this._bufferDistance=e}get bufferMinDistance(){return this._bufferMinDistance}set bufferMinDistance(e){if(this._validateBufferNumber(e,"bufferMinDistance"),e>this.bufferMaxDistance)throw new Error("bufferMinDistance must be less than bufferMaxDistance");this._bufferMinDistance=e}get bufferMaxDistance(){return this._bufferMaxDistance}set bufferMaxDistance(e){if(this._validateBufferNumber(e,"bufferMaxDistance"),e<this.bufferMinDistance)throw new Error("bufferMaxDistance must be greater than bufferMinDistance");this._bufferMaxDistance=e}get readyToBuffer(){return this._readyToBuffer}get bufferGraphicSymbol(){let e=typeof this.bufferOutlineWidth=="number"&&this.bufferOutlineWidth>0,t=typeof this.bufferOutlineColor<"u"&&e;return new D({color:this.bufferColor,style:this.bufferStyle,outline:t?{color:this.bufferOutlineColor,width:this.bufferOutlineWidth}:null})}async clearBufferLayer(){this._clearBufferLayer()}async setFocus(){await this._firstFocusableElement.value?.setFocus()}async willUpdate(e){(e.has("view")||e.has("inputGraphics")||e.has("bufferLayer"))&&this._validateBufferCapability()}disconnectedCallback(){super.disconnectedCallback(),this._inputGraphicsWatchHandle?.remove()}_clearBufferLayer(){this.bufferLayer?.removeAll()}async _onCreateBufferClick(){this._readyToBuffer&&await this._bufferInputGraphics()}_onRemoveBufferClick(){this._clearBufferLayer()}_onBufferDistanceChange(e){let t=Number(e.target.value);t>=this.bufferMinDistance&&t<=this.bufferMaxDistance&&(this.bufferDistance=t)}_onBufferUnitChange(e){let t=e.target.value;this.bufferUnit=t}_onGeodesicBufferChange(e){let t=e.target.checked;this.geodesicBufferEnabled=t}_validateBufferNumber(e,t){if(typeof e!="number"||Number.isNaN(e))throw new Error(`${t} must be a valid number`);if(e<=0)throw new Error(`${t} must be > 0`)}_validateBufferCapability(){let e=!!this.view,t=!!this.inputGraphics,r=!!this.bufferLayer;e&&t&&r?(this._inputGraphicsWatchHandle?.remove(),this._inputGraphicsWatchHandle=w(()=>this.inputGraphics?.length,i=>{i&&i>0?this._readyToBuffer=!0:this._readyToBuffer=!1},{initial:!0})):(this._readyToBuffer=!1,this._inputGraphicsWatchHandle?.remove())}async _bufferInputGraphics(){if(!this.bufferLayer||!this.view||!this.inputGraphics)return;this.view.map?.layers.indexOf(this.bufferLayer)===-1?this.view.map.add(this.bufferLayer):this.bufferLayer.removeAll();let e=[];for(let i of this.inputGraphics){let s=C({graphic:i,distance:this.bufferDistance,unit:this.bufferUnit,isGeodesic:this.geodesicBufferEnabled});e.push(s)}let t=this.bufferGraphicSymbol,r=(await Promise.all(e)).filter(i=>!!i).map(i=>M(i,t));this.bufferLayer.addMany(r)}render(){return c`<calcite-action-bar expand-disabled expanded><calcite-action-group><calcite-action .text=${this._messages.labels.draw} icon=circle text-enabled .disabled=${this.disabled} @click=${this._onCreateBufferClick} ${b(this._firstFocusableElement)}></calcite-action><calcite-action .text=${this._messages.labels.remove} icon=trash text-enabled .disabled=${this.disabled} @click=${this._onRemoveBufferClick}></calcite-action></calcite-action-group><calcite-action-group><calcite-label><span>${this._messages.labels.distance}</span><calcite-input-number .value=${`${this.bufferDistance}`} .step=${this.bufferInputStep} .min=${this.bufferMinDistance} .max=${this.bufferMaxDistance} .disabled=${this.disabled} @calciteInputNumberChange=${this._onBufferDistanceChange}></calcite-input-number></calcite-label><calcite-label><span>${this._messages.labels.unit}</span><calcite-select .label=${this._messages.labels.unit} @calciteSelectChange=${this._onBufferUnitChange} .disabled=${this.disabled}>${_(y,e=>e,e=>c`<calcite-option .value=${e} .selected=${this.bufferUnit===e}>${this._messages.units[e]}</calcite-option>`)}</calcite-select></calcite-label><div class="checkbox-wrapper"><calcite-label layout=inline><calcite-checkbox .checked=${this.geodesicBufferEnabled} .disabled=${this.disabled} @calciteCheckboxChange=${this._onGeodesicBufferChange}></calcite-checkbox>${this._messages.labels.toggleGeodesic}</calcite-label></div></calcite-action-group></calcite-action-bar>`}};p("instant-apps-buffer",u);return u},"layers/GraphicsLayer","symbols/SimpleFillSymbol","core/reactiveUtils","geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator","Graphic")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import a from"./2WXPOV3P.js";export default $arcgis.t(([{A:T,B:y,C:A,D:w,E:E,F:G,n:t,q:d,r:m,s:b,t:k,u:h,v:f,w:O,x:M,y:g,z:P}])=>{function K(a,r,e){let s=a.templates.map(o=>o.type),i=[];i.push(m),s.indexOf("Group")>=0&&(i.push(b),i.push(g)),s.indexOf("Feature Service")>=0&&i.push(h);let n=s.indexOf("Feed")>-1;n&&i.push(f);let l=s.indexOf("Big Data Analytic")>-1;l&&i.push(k);let u=s.indexOf("Real Time Analytic")>-1;u&&i.push(M),(n||l||u)&&i.push(E),s.indexOf("Workflow")>-1&&(i.push(b),i.push(h),i.push(g),i.push(G)),s.indexOf("Geoprocessing Service")>-1&&(i.push(O),e.IsEnterprisePortal&&i.push(T));let p=a.templates.reduce((o,x)=>o.concat(x.item.typeKeywords||[]),[]);return I(i,p,e),R(i,r),S(i,a),i}function S(a,r){r.templates.some(e=>e.type==="Group"&&e.item?.membershipAccess==="collaboration")&&a.push(d)}function I(a,r,e){let s=B(e),i=F(e);["Location Tracking View"].some(n=>r.indexOf(n)>-1)&&(!s&&!i?a.push(y):s&&!i?a.push(A):!s&&i&&a.push(w))}function R(a,r){["HubPremium"].some(e=>r.indexOf(e)>-1)&&a.push(P)}function B(a){let r=a.PortalUserSubset;return r?.role==="org_admin"&&!r?.hasOwnProperty("roleId")}function F(a){return a.PortalSubset?.locationTrackingEnabled||!1}function N(a,r){let e={leadingMessages:[],bulletedMessages:[],trailingMessages:[]},s=[t.NOTEBOOK,t.VELOCITY,t.HUBPREMIUM,t.WORKFLOW,t.TRACKINGBASE],i=c(a,r,t.VELOCITY);i&&e.leadingMessages.push(i);let n=c(a,r,t.NOTEBOOK);n&&e.leadingMessages.push(n);let l=c(a,r,t.HUBPREMIUM);l&&e.leadingMessages.push(l);let u=c(a,r,t.WORKFLOW);u&&e.leadingMessages.push(u),r=r.filter(o=>s.indexOf(o)<0),r.forEach(o=>{e.bulletedMessages.push(v(a,o))});let p=c(a,r,t.TRACKINGBASE);return p&&e.trailingMessages.push(p),(e.leadingMessages.length>0||e.trailingMessages.length>0)&&e.trailingMessages.push(a.missingPrivilegesPopup.suggestedProblemRemedyMessage),e}function c(a,r,e){return r.filter(s=>s.includes(e)).length>0?v(a,e):""}function v(a,r){let e=a.missingPrivilegesPopup.requiredPrivilegesList,s="";switch(r){case"portal:user:createItem":s=e.createItem;break;case"portal:publisher:publishFeatures":s=e.publishFeatures;break;case"portal:user:createGroup":s=e.createGroup;break;case"portal:user:shareToGroup":s=e.shareToGroup;break;case"portal:user:addExternalMembersToGroup":s=e.addMembers;break;case"portal:publisher:publishFeeds":s=e.publishFeeds;break;case"portal:publisher:publishBigDataAnalytics":s=e.publishBigDataAnalytics;break;case"portal:publisher:publishRealTimeAnalytics":s=e.publishRealTimeAnalytics;break;case"solutions:locationtracking:admin:tracking":s=e.requiresLocationTrackingAndAdmin;break;case"solutions:locationtracking:tracking":s=e.requiresLocationTracking;break;case"solutions:locationtracking:admin":s=e.requiresAdmin;break;case"solutions:hubPremium":s=e.hubPremium;break;case"solutions:workflowManager":s=e.workflowManager;break;case"solutions:velocity":s=e.velocity;break;case"solutions:notebook":s=e.requiresNotebookServer;break;case"portal:publisher:publishServerGPServices":s=e.publishGPServices;break;case"writable:Enterprise":s=e.writableEnterprise;break;case"writable:Online":s=e.writableOnline;break}return s}return{a:K,b:B,c:N}},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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{l as g}from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{l as g}from"./ERPFWR4V.js";import{c as i,d as f}from"./NPAJRPLS.js";import{a as o}from"./2KYRVCYO.js";import{b as c}from"./GC6WKYIL.js";import{c as m,j as l,k as s,l as d,w as p}from"./ZLCJOGCM.js";function P(e,t=""){return f(g(e),t,4)}function M(e,t){let r=e.filter(n=>!n.startsWith(`${i}|`));return r.push([i,t].join("|")),r}async function S(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${i}|`)?e.slug:[i,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await p(n)).results}function I(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return S({slug:n,exclude:e.existingId},t).then(a=>a.length?I(e,t,r+1):n).catch(a=>{throw Error(`Error in getUniqueSlug ${a}`)})}function U(e){let t=o(e.item);return t.text=JSON.stringify(e.data),t}function u(e){return e.params=Object.assign(Object.assign({},e.params),b(e.item)),e}function b(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return l(u(e[0]))}function h(...e){return m(u(e[0]))}function y(e,t){return Promise.all([s(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function D(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let n=await x(Object.assign({item:r},t));return y(n.id,t)}function Y(e,t){let r=o(e.item);r.data=o(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),j(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},t);return h(n).then(()=>r.data?y(r.id,t):s(r.id,t).then(a=>({item:a})))}function j(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as b}from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{a as b}from"./GGKFJMLJ.js";import"./HETORT6U.js";import"./LWSKZY3I.js";import{b as m}from"./S7GXXB2P.js";import{D as a,E as n,F as f,H as g,I as t,J as c,h as v,i as e,j as h}from"./2ES34Q6J.js";import"./UQH76H3R.js";export default $arcgis.t(([x,k])=>{var $=v`/** @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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import f from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import f from"./XPWG546Z.js";import e from"./DTZTMTPS.js";import c from"./PQYA37C4.js";import b from"./GXTBHUQ3.js";import{b as o}from"./OCORZHZK.js";import"./LWSKZY3I.js";import{D as s,E as r,F as n,H as l,I as d,h as a,i}from"./2ES34Q6J.js";import"./UQH76H3R.js";export default $arcgis.t(([,,,{t:p}])=>{var c=a`:host{display:block}:host .esri-legend__service{padding:0}:host .esri-legend__layer-body,:host .esri-legend__layer,:host .esri-legend__layer-table,:host .esri-legend__group-layer-child,:host .esri-legend__layer-child-table{margin:0;overflow:hidden}:host .hide{display:none}`,e={service:"esri-legend__service",groupLayerChild:"esri-legend__group-layer-child",layer:"esri-legend__layer"},t=class extends n{constructor(){super(),this.layerCaption=s(),this.expanded=!0,this.listenOn(window,"layerCaptionElementExpandUpdated",this.layerCaptionElementExpandUpdatedEmitted)}static{this.properties={expanded:16,legendvm:0,featureCount:5,activeLayerInfo:0,isChild:5}}static{this.styles=c}load(){new MutationObserver(()=>{this.requestUpdate()}).observe(this.el,{attributes:!0})}layerCaptionElementExpandUpdatedEmitted(){this.layerCaption.value&&(this.expanded=this.layerCaption.value.expanded)}render(){let h=this.activeLayerInfo.parent?` ${e.groupLayerChild}`:"";return i`<div style=${d({borderLeft:"1px solid var(--calcite-color-border-3)"})} class=${`${e.service}${h}`} tabindex=0><instant-apps-interactive-legend-layer-element-caption .legendvm=${this.legendvm} .featureCount=${this.featureCount} .activeLayerInfo=${this.activeLayerInfo} .isChild=${!!this.isChild} class=${l(p(this.el))} ${r(this.layerCaption)}></instant-apps-interactive-legend-layer-element-caption><div .id=${`${this.activeLayerInfo?.layer?.id}-legend-layer`} class=${`${e.layer}${this.expanded?" show":" hide"}`}><slot name=content></slot></div></div>`}};o("instant-apps-interactive-legend-layer-element",t);return t},b,c,e,f)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
4
|
function r(o){return o.reduce((n,e)=>{var i;let t=e.capabilities.includes("updateitemcontrol"),a=(i=e.userMembership)===null||i===void 0?void 0:i.memberType;return(!e.isViewOnly||e.isViewOnly&&["owner","admin"].includes(a))&&n.push({value:e.id,label:e.title,icon:t?"unlock":"view-mixed"}),n},[])}export{r 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.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import"./UQH76H3R.js";var a="Jums nav pietiekami daudz kred\u012Btu, lai izpild\u012Btu \u0161o darb\u012Bbu. Sazinieties ar ArcGIS sist\u0113mas administratoru, lai sa\u0146emtu pal\u012Bdz\u012Bbu.",e="\u0160is r\u012Bks tika public\u0113ts no notebook. ArcGIS Notebooks piek\u013Cuve j\u016Bsu organiz\u0101cijai ir blo\u0137\u0113ta. Sazinieties ar savu administratoru, lai piel\u0101gotu iestat\u012Bjumu.",i="${ dataPath } nedr\u012Bkst b\u016Bt ${ additionalProperty }.",r="${ dataPath } j\u0101atbilst k\u0101dai no \u0161\u0101d\u0101m sh\u0113m\u0101m: ${ schemaOptions }.",t="M\u0113\u0123iniet saglab\u0101t karti v\u0113lreiz.",s="Servisa kred\u012Bta apr\u0113\u0137ins neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz apr\u0113\u0137iniet servisa kred\u012Btus.",o="Veicot anal\u012Bzi, rad\u0101s k\u013C\u016Bda.",n="${ dataPath } j\u0101b\u016Bt vien\u0101dam ar k\u0101du no \u0161\u012Bm at\u013Cautaj\u0101m v\u0113rt\u012Bb\u0101m: ${ allowedValues }.",l="Neizdev\u0101s saglab\u0101t anal\u012Bzes v\u0113sturi",d="V\u0113stures kr\u0101tuve ir pilna. No\u0146emiet da\u017Eas vien\u012Bbas no anal\u012Bzes v\u0113stures un m\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",u="Pakalpojuma nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes.",m="Pagaidu sl\u0101\u0146a saglab\u0101\u0161ana viesota elementu sl\u0101\u0146a veid\u0101 netika pabeigta.",v="Neizdev\u0101s ieg\u016Bt galvenos rekviz\u012Btus.",k="Neizdev\u0101s iel\u0101d\u0113t sl\u0101ni.",c="Sl\u0101nis nav pieejams.",p="${ dataPath } nedr\u012Bkst b\u016Bt vair\u0101k par ${ limit } vien\u012Bb\u0101m.",z="Saglab\u0101jot modeli, rad\u0101s k\u013C\u016Bda. M\u0113\u0123iniet saglab\u0101t v\u0113lreiz.",b="${ dataPath } nedr\u012Bkst b\u016Bt maz\u0101k par ${ limit } vien\u012Bb\u0101m.",g="${ dataPath } nedr\u012Bkst b\u016Bt \u012Bs\u0101ks par ${ limit } rakstz\u012Bm\u0113m.",P="Neizdev\u0101s iel\u0101d\u0113t mode\u013Ca vien\u012Bbu. P\u0101rliecinieties, vai modelis past\u0101v un ir pie\u0161\u0137irta piek\u013Cuves at\u013Cauja.",E="Neizdev\u0101s pabeigt piepras\u012Bjumu.",h="Jums nav at\u013Caujas lietot \u0161o r\u012Bku. <calcite-link target='_blank' href='${ docLink }'>Papildinform\u0101cija</calcite-link>",S="Neizdev\u0101s pieteikties port\u0101l\u0101.",j="Neizdev\u0101s nolas\u012Bt ievades datus.",y="${ dataPath } tr\u016Bkst parametra ar nosaukumu ${ missingProperty }.",N="Rezult\u0101tu sl\u0101nis ar \u0161\u0101du nosaukumu jau past\u0101v. Rezult\u0101tu sl\u0101\u0146iem vis\u0101 organiz\u0101cij\u0101 j\u0101b\u016Bt ar unik\u0101liem nosaukumiem. L\u016Bdzu, izmantojiet citu nosaukumu.",$="Izvades nosaukum\u0101 ir viena vai vair\u0101kas neder\u012Bgas rakstz\u012Bmes. <a href='${docLink}' target='_blank'>Uzzin\u0101t vair\u0101k.</a>",f="Pagaidu sl\u0101\u0146a k\u0101 viesota sl\u0101\u0146a public\u0113\u0161ana neizdev\u0101s viena vai vair\u0101ku neder\u012Bgu lauku d\u0113\u013C. Atk\u0101rtoti palaidiet r\u012Bku, lai izveidotu sl\u0101ni ar der\u012Bgiem laukiem.",I="Darba iesnieg\u0161ana neizdev\u0101s. Ritiniet uz leju, izlabojiet k\u013C\u016Bdas un v\u0113lreiz palaidiet anal\u012Bzi.",F="${ dataPath } j\u0101b\u016Bt vismaz vienai rakstz\u012Bmei, kas nav atstarpe.",L={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:i,anyOfValues:r,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:o,enumValues:n,failedToSaveHistory:l,fullSessionStorage:d,hostedFeatureServiceInvalidTitle:u,hostedFeatureServicePublishDidNotComplete:m,keyPropertiesError:v,layerLoadFailure:k,layerUnavailable:c,maxItems:p,mbFailedToSave:z,minItems:b,minLength:g,modelNotFound:P,networkError:E,noPermissionToAccessTool:h,portalLoadError:S,queryFeaturesError:j,requiredProperty:y,serviceNameExistsError:N,specialCharactersInServiceNameError:$,temporaryLayerFieldsError:f,toolValidationError:I,whiteSpacePattern:F};export{a as InsufficientCreditsError,e as accessBlocked,i as additionalProperty,r as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,L as default,o as defaultError,n as enumValues,l as failedToSaveHistory,d as fullSessionStorage,u as hostedFeatureServiceInvalidTitle,m as hostedFeatureServicePublishDidNotComplete,v as keyPropertiesError,k as layerLoadFailure,c as layerUnavailable,p as maxItems,z as mbFailedToSave,b as minItems,g as minLength,P as modelNotFound,E as networkError,h as noPermissionToAccessTool,S as portalLoadError,j as queryFeaturesError,y as requiredProperty,N as serviceNameExistsError,$ as specialCharactersInServiceNameError,f as temporaryLayerFieldsError,I as toolValidationError,F as whiteSpacePattern};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as n,e as c,f as d}from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{a as n,e as c,f as d}from"./EGAIBYO4.js";import"./ADGRZEHH.js";import"./PXSFL6NE.js";import"./2KYRVCYO.js";import"./4EI3LJ75.js";import{d as r}from"./4XMI442R.js";import"./ZLCJOGCM.js";import"./IR4NISLP.js";import"./JYP27YIQ.js";import"./MW4NBRQZ.js";import{a as o,b as i}from"./VRSKGCS7.js";import"./QPH7RQUD.js";import"./5XZXS7KC.js";import"./P6NEF3AG.js";import"./BQG6CK2P.js";import"./MDGGXEIV.js";import"./UYP7LPCO.js";import"./GEJU4I45.js";import"./VL5YXNHS.js";import"./YWTNIFNR.js";import"./RHFUZ4EQ.js";import"./CME3FQFQ.js";import"./VCGAGRCW.js";import"./H3WFFNMJ.js";import"./QQKNXZ7O.js";import"./LVR5WN67.js";import"./6A2NATOZ.js";import"./LPUIJYXX.js";import"./F3MCBCB6.js";import"./5XOOAIG3.js";import"./COFVR5QC.js";import"./LWA5F2BZ.js";import"./C46SRFOU.js";import"./UQH76H3R.js";function u(e,t){let l=[];if(p(t)){let s=f(e);l.push(s)}let a=m(e,t);return l.push(a),{type:"Section",labelKey:`${e}.sections.downloads.label`,options:{},elements:l}}function p(e){return n(e)}function f(e){return{labelKey:`${e}.fields.serverExtractCapability.label`,scope:"/properties/serverExtractCapability",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.serverExtractCapability.exportDataSetting.label:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.label:translate}}`],descriptions:[`{{${e}.fields.serverExtractCapability.exportDataSetting.description:translate}}`,`{{${e}.fields.serverExtractCapability.defaultDownloadsSystem.description:translate}}`],layout:"vertical",messages:[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.title`,labelKey:`${e}.fields.serverExtractCapability.noFormatConfigurationNotice.body`,allowShowBeforeInteract:!0,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}]}}}function m(e,t){let l={labelKey:`${e}.fields.downloadFormats.label`,scope:"/properties/downloadFormats",type:"Control",options:{control:"hub-field-input-list",helperText:{labelKey:`${e}.fields.downloadFormats.helperText`},allowReorder:!0,allowHide:!0},rules:[]};return p(t)?l.rules.push({effect:o.DISABLE,conditions:[{scope:"/properties/serverExtractCapability",schema:{const:!1}}]}):y(t)&&(l.rules.push({effect:o.DISABLE,conditions:[!0]}),l.options.messages=[{type:i.custom,display:"notice",kind:"warning",icon:"exclamation-mark-triangle",titleKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.title`,labelKey:`${e}.fields.downloadFormats.downloadsUnavailableNotice.body`,allowShowBeforeInteract:!0,alwaysShow:!0}]),l}function y(e){return!c(e)}var v=async(e,t,l)=>{let a={type:"Layout",elements:[]};if(r("hub:content:workspace:settings:schedule",l,t).access){let s=[{type:"Control",scope:"/properties/schedule",labelKey:`${e}.sections.schedule.helperText`,options:{type:"Control",control:"hub-field-input-scheduler",labelKey:"fieldHeader",format:"select",inputs:[{type:"automatic"},{type:"daily"},{type:"weekly"},{type:"monthly"},{type:"yearly"},{type:"manual",helperActionIcon:"information-f",helperActionText:`{{${e}.fields.schedule.manual.helperActionText:translate}}`}]},rules:[{effect:o.DISABLE,conditions:[t.access!=="public"]}]},{type:"Notice",options:{notice:{configuration:{id:"schedule-unavailable-notice",noticeType:"notice",closable:!1,kind:"warning",icon:"exclamation-mark-triangle",scale:"m"},title:`{{${e}.fields.schedule.unavailableNotice.title:translate}}`,message:`{{${e}.fields.schedule.unavailableNotice.body:translate}}`,autoShow:!0}},rules:[{effect:o.SHOW,conditions:[t.access!=="public"]}]},{type:"Control",scope:"/properties/_forceUpdate",options:{control:"hub-field-input-tile-select",type:"checkbox",labels:[`{{${e}.fields.schedule.forceUpdateButton.label:translate}}`],descriptions:[`{{${e}.fields.schedule.forceUpdateButton.description:translate}}`]},rules:[{effect:o.SHOW,conditions:[t.access==="public"]}]}];a.elements.push({type:"Section",labelKey:`${e}.sections.schedule.label`,elements:s})}if(d(t)){let s=u(e,t);a.elements.push(s)}return a};export{v as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{e,f as t}from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{e,f as t}from"./C46SRFOU.js";import"./UQH76H3R.js";var n={type:"object",properties:{selectionMode:{type:"string",enum:["dynamic","manual"],default:"dynamic"},entityIds:{type:"array",items:{type:"string"},default:[]},eventIds:{type:"array",items:{type:"string"},default:[]},corners:{type:"string",enum:["square","round"],default:"square"},shadow:{type:"string",enum:["none","low","medium","heavy"],default:"none"},showAdditionalInfo:{type:"boolean",default:!0},access:{type:"array",items:{type:"string",enum:["private","org","public"]},default:[]},tags:e,categories:t,titleHeading:{type:"string",enum:["h1","h2","h3","h4","h5","h6"],default:"h4"},openIn:{type:"string",enum:["same","new"],default:"same"},layout:{type:"string",enum:["list","map","calendar"],default:"list"}}};export{n as EventGalleryCardSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as P}from"./7RVECVHK.js";import{a as v}from"./2CFCHSK4.js";import{a as F}from"./6LN7UVH2.js";import{b as U}from"./YUDPELTS.js";import"./O5ZV3UHV.js";import"./52BQUP6R.js";import{F as M,H as g,h as S,i as h,l as $,p as C}from"./2FVNCWOA.js";import"./ZL3GBZXD.js";export default $arcgis.t(([b,q,I,N])=>{var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),_=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(_||{}),L=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(L||{}),B=(a=>(a.Transparent="transparent",a))(B||{}),V=(a=>(a.Start="start",a.Center="center",a))(V||{}),R=S`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width:992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,T=`${x}--`,m=`${x}__`,j=P.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},D=class extends M{constructor(){super(...arguments),this._messages=F({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=C()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=R}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await b?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(b.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=new I([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{this.handles=new N,this.layers=new I([]),this.layerViews=new I([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,u=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:u,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],u=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=u;let y=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return y&&(d.timeExtent=y),d},c=()=>async i=>{let l=this.layerViews?.find(y=>y.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),u=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(u)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),u=d!==null,y=u?q.formatNumber(d,p):null,f=u?`${y}`:"";e[l].displayValue=f,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>b.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>b.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return b.watch(()=>this.view?.updating,()=>{b.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await b.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=b.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return v("instant-apps-scoreboard-base",h`<div class=${g(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${g(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?V.Start:V.Center,l=c?_.Left:_.Up,d=c?_.Right:_.Down,p={previous:l,next:d},u=o||e?_.Blank:p.previous,y=s||e?_.Blank:p.next,f={previous:o||e,next:s||e},E=B.Transparent,k=this.isMobile?L.Small:L.Large,w={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${u} .disabled=${f.previous} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.previous??""} .label=${w.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${y} .disabled=${f.next} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.next??""} .label=${w.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${g(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${g(r.item)}><span class=${g(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${g(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${g(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${T}calcite-`;return v(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${T}calcite-`,e=this._messages.loading;return v(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};U("instant-apps-scoreboard",D);return D},"core/reactiveUtils","intl","core/Collection","core/Handles")
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{a as P}from"./WUDSDZT7.js";import{a as v}from"./UVOTALEM.js";import{a as F}from"./6HLRUCZG.js";import{b as U}from"./OCORZHZK.js";import"./HETORT6U.js";import"./LWSKZY3I.js";import{F as M,H as g,h as S,i as h,l as $,p as C}from"./2ES34Q6J.js";import"./UQH76H3R.js";export default $arcgis.t(([b,q,I,N])=>{var n=(a=>(a.Loading="loading",a.Disabled="disabled",a.Complete="complete",a.Calculating="calculating",a.Bottom="bottom",a.Left="left",a.Right="right",a.Floating="floating",a.Pinned="pinned",a))(n||{}),_=(a=>(a.Up="chevron-up",a.Down="chevron-down",a.Left="chevron-left",a.Right="chevron-right",a.Blank="blank",a))(_||{}),L=(a=>(a.Small="s",a.Medium="m",a.Large="l",a))(L||{}),B=(a=>(a.Transparent="transparent",a))(B||{}),V=(a=>(a.Start="start",a.Center="center",a))(V||{}),R=S`:host{display:block;--instant-apps-scoreboard-background-color: var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color: var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom: 0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0 3px 15px #0003;border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding: 1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%,-15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:.5vh;padding-bottom:.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width:992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}`,x="instant-apps-scoreboard",O=6,T=`${x}--`,m=`${x}__`,j=P.medium[1],r={itemsContainer:`${m}items-container`,items:`${m}items`,item:`${m}item`,label:`${m}item-label`,value:`${m}item-value`,valuePlaceholder:`${m}item-value-placeholder`,position:{bottom:`${m}position--bottom`,side:`${m}position--side`,left:`${m}position--left`,right:`${m}position--right`},mode:{floating:`${m}mode--floating`,pinned:`${m}mode--pinned`}},D=class extends M{constructor(){super(...arguments),this._messages=F({name:"instant-apps-scoreboard"}),this.state=n.Loading,this.itemIndex=0,this.isMobile=!1,this.position=n.Bottom,this.mode=n.Floating,this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.scoreboardItemsUpdated=C()}static{this.properties={state:16,itemIndex:16,layers:16,layerViews:16,isMobile:16,view:0,items:0,position:0,mode:0,itemLimit:9,autoDockEnabled:5,geometry:0,queryType:1}}static{this.styles=R}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<j:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(e=>e.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),e=this.items.slice(this.items.length-t).map(s=>s.uid),o=this.items.slice(this.itemIndex,this.itemIndex+t).map(s=>s.uid);return e.every((s,c)=>s===o[c])}async load(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});if(this.el?.parentElement&&t.observe(this.el.parentElement),!this.view||!this.items)this.state=n.Disabled;else try{await this.initModules()}catch{this.state=n.Disabled}}willUpdate(t){t.has("items")&&this.generateUIDs(),t.has("items")&&this.storeLayers(),t.has("layers")&&this.storeLayerViews(),t.has("geometry")&&(this.hasUpdated||this.geometry!==null)&&this.calculateScoreboardItemValuesFromGeometry(),t.has("layerViews")&&this.calculateScoreboardItemValues()}async loaded(){if(this.state!==n.Disabled)try{await b?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state=n.Disabled,console.error(`${x}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){super.disconnectedCallback(),this.state=n.Disabled,this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state=n.Calculating,await(this.view?.map).loadAll();let t=this.items.map(i=>i?.layer?.id),e=i=>i.type!=="feature"||!i.isTable,o=i=>i.type==="feature"||i.type==="scene",s=i=>t.includes(i.id),c=i=>e(i)&&o(i)&&s(i);this.layers=this.view?.map?.allLayers?.filter(i=>c(i)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(s=>s.outFields=["*"]);let t=[];this.layers.forEach(s=>{let c=s,i=this.view?.whenLayerView(c);t.push(i)});let e=(await Promise.allSettled(t)).filter(s=>s.status==="fulfilled"&&s.value).map(s=>s.value),o=[];e.forEach(s=>o.push(b.whenOnce(()=>!s.updating))),await Promise.all(o),this.layerViews=new I([...e])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state=n.Calculating;let t=[...this.items],e=[];this.queryStatDefinitions(t,e);let o=await Promise.all(e);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(s=>this.items.push(s)),this.state=n.Complete,this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async initModules(){try{this.handles=new N,this.layers=new I([]),this.layerViews=new I([])}catch(t){throw console.error(t),this.state=n.Disabled,new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,e=t;try{await e.loadAll()}catch(o){throw console.error(o),this.state=n.Disabled,new Error("Failed to load map resources")}}}generateUID(){return t=>{let e=Math.random(),o=Math.floor(Math.random()*10)+11,s=e.toString(o).replace("0.","");t.uid=s}}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,e){let o=i=>{let{field:l,operation:d}=i,p=l,u=`${l}_${d}`;return{onStatisticField:p,outStatisticFieldName:u,statisticType:d}},s=(i,l)=>{let d=this.queryType==="layer"?i.layer.createQuery():i.createQuery(),p=[l],u=this.geometry??this.view?.extent;d.outStatistics=p,d.geometry=u;let y=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null;return y&&(d.timeExtent=y),d},c=()=>async i=>{let l=this.layerViews?.find(y=>y.layer.id===i?.layer?.id);if(!l)return;let d=o(i),p=s(l,d),u=this.queryType==="layer"?l.layer.queryFeatures(p):l.queryFeatures(p);e.push(u)};t.forEach(c())}handleQueryFeaturesResponses(t,e){let o=i=>{let l=i.features[0],{attributes:d}=l;return Object.values(d)[0]},s=()=>({notation:"compact",compactDisplay:"short"}),c=()=>(i,l)=>{let d=o(i),p=s(),u=d!==null,y=u?q.formatNumber(d,p):null,f=u?`${y}`:"";e[l].displayValue=f,e[l].value=d};t.forEach(c())}initStationaryWatcher(){let t={once:!0,initial:!0},e=()=>b.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>b.when(()=>this.view?.stationary,()=>e()),s="stationary-watcher-key";this.handles?.has(s)&&this.handles.remove(s),this.handles?.add(o(),s)}initViewUpdateWatcher(){return b.watch(()=>this.view?.updating,()=>{b.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let e=[],o=s=>{let c=async()=>{let l=await this.view?.whenLayerView(s);await b.whenOnce(()=>!l?.updating),this.calculateScoreboardItemValues()},i=b.watch(()=>s?.visible,async()=>await c());e.push(i)};this.layers.forEach(o),this.handles?.add([...e],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?O:this.itemLimit}setHostClassNames(){this.isMobile||this.position===n.Bottom?(this.el.classList.remove(r.position.side,r.position.left,r.position.right),this.el.classList.add(r.position.bottom)):(this.el.classList.remove(r.position.bottom),this.el.classList.add(r.position.side),this.position===n.Left?(this.el.classList.remove(r.position.right),this.el.classList.add(r.position.left)):(this.el.classList.remove(r.position.left),this.el.classList.add(r.position.right))),this.isMobile?(this.el.classList.remove(r.mode.floating),this.el.classList.add(r.mode.pinned)):this.mode===n.Floating?(this.el.classList.remove(r.mode.pinned),this.el.classList.add(r.mode.floating)):this.el.classList.add(r.mode.pinned)}render(){let{state:t}=this,e=t===n.Loading,o=t===n.Calculating,s=t===n.Disabled,c=e||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null;return this.setHostClassNames(),s?null:[c,this.items?.length>0?this.renderBase():null]}renderBase(){return v("instant-apps-scoreboard-base",h`<div class=${g(x)}>${this.renderContent()}</div>`)}renderContent(){let{state:t}=this;return t===n.Loading?this.renderLoader():t===n.Calculating||t===n.Complete?this.renderItemsContainer():null}renderItemsContainer(){let[t,e]=this.renderPreviousNextButtons();return h`<div class=${g(r.itemsContainer)}>${t}${this.renderItems()}${e}</div>`}renderPreviousNextButtons(){let t=this.getItemLimit(),e=this.items.filter(A=>A.visible)?.length<=t,o=this.itemIndex===0,s=this.isEnd,c=this.isMobile?!0:this.position===n.Bottom,i=c?V.Start:V.Center,l=c?_.Left:_.Up,d=c?_.Right:_.Down,p={previous:l,next:d},u=o||e?_.Blank:p.previous,y=s||e?_.Blank:p.next,f={previous:o||e,next:s||e},E=B.Transparent,k=this.isMobile?L.Small:L.Large,w={previous:this._messages.previous,next:this._messages.next};return[h`<calcite-action @click=${this.previousItem} .icon=${u} .disabled=${f.previous} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.previous??""} .label=${w.previous}></calcite-action>`,h`<calcite-action @click=${this.nextItem} .icon=${y} .disabled=${f.next} .alignment=${i} .scale=${k} .appearance=${E} .text=${w.next??""} .label=${w.next}></calcite-action>`]}renderItems(){let{items:t}=r,e=this.getItemsToDisplay.map(o=>this.renderItem(o));return h`<ul class=${g(t)}>${e}</ul>`}renderItem(t){let{label:e}=t;return h`<li class=${g(r.item)}><span class=${g(r.label)} title=${e??$}>${e}</span>${this.renderValue(t)}</li>`}renderValue(t){let{displayValue:e}=t,o=this.state===n.Calculating,s=this.state===n.Disabled,c=e===void 0&&o,i=e||this._messages.NA,l=!this.layers?.find(p=>t?.layer?.id===p.id)?.visible,d=c?this.renderValuePlaceholder():s?"":l?h`<calcite-icon icon=view-hide scale=l title=${this._messages.layerVisibilityOff??$}></calcite-icon>`:i;return h`<span class=${g(r.value)}>${d}</span>`}renderValuePlaceholder(){return h`<span class=${g(r.valuePlaceholder)}></span>`}renderProgress(){let t=`${T}calcite-`;return v(`${t}progress`,h`<calcite-progress type=indeterminate></calcite-progress>`)}renderLoader(){let t=`${T}calcite-`,e=this._messages.loading;return v(`${t}loader`,h`<calcite-loader .label=${e??""} .text=${e} scale=m></calcite-loader>`)}};U("instant-apps-scoreboard",D);return D},"core/reactiveUtils","intl","core/Collection","core/Handles")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import{a as l}from"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import{a as l}from"./PYKRSFCJ.js";import"./4XMI442R.js";import"./JYP27YIQ.js";import"./MW4NBRQZ.js";import{a as t}from"./VRSKGCS7.js";import"./QPH7RQUD.js";import"./5XZXS7KC.js";import"./P6NEF3AG.js";import"./BQG6CK2P.js";import"./MDGGXEIV.js";import"./UYP7LPCO.js";import"./GEJU4I45.js";import"./VL5YXNHS.js";import"./YWTNIFNR.js";import"./RHFUZ4EQ.js";import"./CME3FQFQ.js";import"./VCGAGRCW.js";import"./H3WFFNMJ.js";import"./QQKNXZ7O.js";import"./LVR5WN67.js";import"./6A2NATOZ.js";import"./LPUIJYXX.js";import"./F3MCBCB6.js";import"./5XOOAIG3.js";import"./COFVR5QC.js";import"./LWA5F2BZ.js";import"./C46SRFOU.js";import"./UQH76H3R.js";var n=async(e,s,r)=>{let o=s;return{type:"Layout",elements:[{type:"Section",options:{section:"stepper",scale:"l"},elements:[{type:"Section",labelKey:`${e}.sections.details.label`,options:{section:"step"},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.summary.maxLengthError`}]}}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,options:{section:"step"},rule:{effect:t.DISABLE,condition:{scope:"/properties/name",schema:{const:""}}},elements:[{scope:"/properties/isSharedUpdate",type:"Control",rule:{effect:t.HIDE,condition:{scope:"/properties/isSharedUpdate",schema:{const:!1}}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.createFollowers.any:translate}}`],disabled:[!1,!1,o.isSharedUpdate]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.createFollowers.admins:translate}}`]}}]}]}]}},p=async(e,s,r)=>Object.assign({},l("hubFollowersGroup",r));export{p as buildDefaults,n as buildUiSchema};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/1.2/esri/copyright.txt for details.
|
|
3
|
-
v1.2.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v1.2.0-next.39 */
|
|
4
|
+
import"./UQH76H3R.js";var a="N\xE3o tem cr\xE9ditos suficientes para executar esta opera\xE7\xE3o. Contacte o seu Administrador de Sistemas ArcGIS para obter assist\xEAncia.",e="Esta ferramenta foi publicada a partir de um notebook. O acesso ao ArcGIS Notebooks est\xE1 bloqueado para a sua organiza\xE7\xE3o. Contacte o seu administrador para ajustar a defini\xE7\xE3o.",r="${ dataPath } n\xE3o pode conter ${ additionalProperty }.",o="${ dataPath } tem de corresponder ao esquema de um dos seguintes: ${ schemaOptions }.",t="Experimente guardar o mapa novamente.",s="A Estimativa de Cr\xE9dito falhou. Percorra para baixo, corrija os erros e fa\xE7a novamente a estimativa.",i="Ocorreu um erro ao executar a an\xE1lise.",d="${ dataPath } tem de ser igual a um destes valores permitidos: ${ allowedValues }.",n="Falha ao guardar o hist\xF3rico de an\xE1lise",m="O armazenamento do hist\xF3rico est\xE1 cheio. Remova alguns itens do hist\xF3rico de an\xE1lise e experimente guardar novamente.",c="O nome do servi\xE7o cont\xE9m um ou mais caracteres inv\xE1lidos.",l="A grava\xE7\xE3o da camada tempor\xE1ria como camada de elementos alojada n\xE3o foi conclu\xEDda.",u="Falha ao obter propriedades essenciais.",p="Falha ao carregar a camada.",h="A camada n\xE3o est\xE1 dispon\xEDvel.",v="${ dataPath } n\xE3o pode conter mais do que ${ limit } itens.",f="Ocorreu um erro ao guardar o modelo. Experimente guardar novamente.",E="${ dataPath } n\xE3o pode conter menos do que ${ limit } itens.",P="${ dataPath } n\xE3o pode ser inferior a ${ limit } caracteres.",y="Falha ao carregar o item de modelo. Certifique-se de que o modelo existe e de que a permiss\xE3o de acesso foi concedida.",F="Falha ao concluir o pedido.",S="N\xE3o tem permiss\xE3o para executar esta ferramenta. <calcite-link target='_blank' href='${ docLink }'>Saiba mais</calcite-link>",b="Falha ao iniciar sess\xE3o no portal.",g="Falha ao ler os dados de entrada.",x="${ dataPath } tem uma propriedade com o nome ${ missingProperty } em falta.",$="J\xE1 existe uma camada de resultado com este nome. As camadas de resultado t\xEAm de ter um nome \xFAnico em toda a organiza\xE7\xE3o. Utilize um nome diferente.",k="O nome de sa\xEDda cont\xE9m um ou mais caracteres inv\xE1lidos. <a href='${docLink}' target='_blank'>Saiba mais.</a>",I="A publica\xE7\xE3o da camada tempor\xE1ria como uma camada alojada falhou devido a um ou mais campos inv\xE1lidos. Execute novamente a ferramenta para criar uma camada com campos v\xE1lidos.",q="O envio da tarefa falhou. Percorra para baixo, corrija os erros e execute novamente a an\xE1lise.",T="${ dataPath } tem de ter, pelo menos, um car\xE1ter que n\xE3o seja um espa\xE7o em branco.",A={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:r,anyOfValues:o,cannotWriteToItemResource:t,creditEstimationError:s,defaultError:i,enumValues:d,failedToSaveHistory:n,fullSessionStorage:m,hostedFeatureServiceInvalidTitle:c,hostedFeatureServicePublishDidNotComplete:l,keyPropertiesError:u,layerLoadFailure:p,layerUnavailable:h,maxItems:v,mbFailedToSave:f,minItems:E,minLength:P,modelNotFound:y,networkError:F,noPermissionToAccessTool:S,portalLoadError:b,queryFeaturesError:g,requiredProperty:x,serviceNameExistsError:$,specialCharactersInServiceNameError:k,temporaryLayerFieldsError:I,toolValidationError:q,whiteSpacePattern:T};export{a as InsufficientCreditsError,e as accessBlocked,r as additionalProperty,o as anyOfValues,t as cannotWriteToItemResource,s as creditEstimationError,A as default,i as defaultError,d as enumValues,n as failedToSaveHistory,m as fullSessionStorage,c as hostedFeatureServiceInvalidTitle,l as hostedFeatureServicePublishDidNotComplete,u as keyPropertiesError,p as layerLoadFailure,h as layerUnavailable,v as maxItems,f as mbFailedToSave,E as minItems,P as minLength,y as modelNotFound,F as networkError,S as noPermissionToAccessTool,b as portalLoadError,g as queryFeaturesError,x as requiredProperty,$ as serviceNameExistsError,k as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,q as toolValidationError,T as whiteSpacePattern};
|