@arcgis/map-components 5.2.0-next.69 → 5.2.0-next.70
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/{JP4O5WU5.js → 263UQZGD.js} +1 -1
- package/dist/cdn/{LXTI5SZB.js → 27ESFL5A.js} +1 -1
- package/dist/cdn/{XEP6CP26.js → 2JK6IHRU.js} +1 -1
- package/dist/cdn/{N34R2VNP.js → 2MNCEI34.js} +1 -1
- package/dist/cdn/{54O3XEKS.js → 2SVHWSVG.js} +1 -1
- package/dist/cdn/{LIBO3YUY.js → 34IPKNHM.js} +1 -1
- package/dist/cdn/{AATMBHJB.js → 3AN2HM4J.js} +1 -1
- package/dist/cdn/{CPHT7EKR.js → 3EJEDTKE.js} +1 -1
- package/dist/cdn/{NKK2XLSQ.js → 3I3LMAGG.js} +1 -1
- package/dist/cdn/{KHIHHUKA.js → 3MGDX726.js} +1 -1
- package/dist/cdn/{TIHHIJTK.js → 3S4WSOMS.js} +1 -1
- package/dist/cdn/{WZWVAXA2.js → 3SN6IS3V.js} +1 -1
- package/dist/cdn/{VJMC3CMB.js → 42UVPIOD.js} +1 -1
- package/dist/cdn/{TYQO3UPC.js → 45KA6IYP.js} +1 -1
- package/dist/cdn/{ZE6S2MJB.js → 4HUPP5KY.js} +1 -1
- package/dist/cdn/{OE6LEA2U.js → 4IYAEXT6.js} +1 -1
- package/dist/cdn/{LEH4MQJ4.js → 4JVOJINY.js} +1 -1
- package/dist/cdn/{B2EZWEK5.js → 4QNVMHPG.js} +1 -1
- package/dist/cdn/{OCXHXWGB.js → 4TUKX6PS.js} +1 -1
- package/dist/cdn/{DYE5BE43.js → 4VH44HXD.js} +1 -1
- package/dist/cdn/{SRNGMDBR.js → 4WL7ZDOR.js} +1 -1
- package/dist/cdn/{5O7NTWBV.js → 4YZWUM36.js} +1 -1
- package/dist/cdn/{HTTHJG2D.js → 53HZB27L.js} +1 -1
- package/dist/cdn/{YB4MKEGG.js → 54LZZPH7.js} +1 -1
- package/dist/cdn/{C37ZD43S.js → 56HANFHY.js} +1 -1
- package/dist/cdn/{IYBQ72KJ.js → 5FOOE24C.js} +1 -1
- package/dist/cdn/{CNA7TDZN.js → 5GFBHLDY.js} +1 -1
- package/dist/cdn/{LFK5PEIC.js → 5OJHCEN4.js} +1 -1
- package/dist/cdn/{36ZK37RS.js → 5OPSVESB.js} +1 -1
- package/dist/cdn/{PG4VOR7W.js → 5UBFTTQG.js} +1 -1
- package/dist/cdn/{THM67RBC.js → 5VHXHQ36.js} +1 -1
- package/dist/cdn/{6UESIAYD.js → 63AG67W4.js} +1 -1
- package/dist/cdn/{MWAV3XSL.js → 6LPVSXTP.js} +1 -1
- package/dist/cdn/{RCGWBUTM.js → 6T4SNDWL.js} +1 -1
- package/dist/cdn/{2N34V44S.js → 732AA2XJ.js} +1 -1
- package/dist/cdn/{OGALSAFL.js → 7AJVAY4L.js} +1 -1
- package/dist/cdn/{YO6Z5FD4.js → 7ATMAAIA.js} +1 -1
- package/dist/cdn/{ACHF5ALD.js → 7B2ON35Y.js} +1 -1
- package/dist/cdn/{GRVMJD2H.js → 7BHMRVKK.js} +1 -1
- package/dist/cdn/{IR3EJA2Q.js → 7F6SCTJC.js} +1 -1
- package/dist/cdn/{6OVA7KIZ.js → 7FSKEJN5.js} +1 -1
- package/dist/cdn/{5OBZQUJE.js → 7HGCXEVW.js} +1 -1
- package/dist/cdn/{3Y5SDD5P.js → 7MIEKJ57.js} +1 -1
- package/dist/cdn/{PHBSNX42.js → 7OBUF2FK.js} +1 -1
- package/dist/cdn/{COLRADFQ.js → 7RUDSAAC.js} +1 -1
- package/dist/cdn/{I25PKHLU.js → 7THMBHKF.js} +1 -1
- package/dist/cdn/{ILAKSMYE.js → A4VZEZU3.js} +1 -1
- package/dist/cdn/{YGC3D43Q.js → A6CH2UFJ.js} +1 -1
- package/dist/cdn/{DBQPOOGQ.js → ABWJWVAT.js} +1 -1
- package/dist/cdn/{AVHHBQZF.js → AFFS32W5.js} +1 -1
- package/dist/cdn/{35HJTZDP.js → AQ5MEMRU.js} +1 -1
- package/dist/cdn/{ID7AG4JH.js → AZKD3JVJ.js} +1 -1
- package/dist/cdn/{BSI2WP7F.js → AZSWPMSD.js} +1 -1
- package/dist/cdn/{KCLELCOU.js → B2GZY6PZ.js} +1 -1
- package/dist/cdn/{5OQPKSGX.js → B5GF4C7T.js} +1 -1
- package/dist/cdn/{V3SICJ32.js → B5TWZ7RP.js} +1 -1
- package/dist/cdn/{VVC4QG6F.js → BHAY27CX.js} +1 -1
- package/dist/cdn/{PW62476X.js → BMVELPGD.js} +1 -1
- package/dist/cdn/{G3BAPTZZ.js → BPARROZU.js} +1 -1
- package/dist/cdn/{YZQG6WS5.js → BV5DVFHY.js} +1 -1
- package/dist/cdn/{VVRTT47C.js → BYURJH5S.js} +1 -1
- package/dist/cdn/{2XFBIC3F.js → CDGKWT2J.js} +1 -1
- package/dist/cdn/{YLDF7U5D.js → CEZOPIBZ.js} +1 -1
- package/dist/cdn/{2CUYHI36.js → CG52ER6Q.js} +1 -1
- package/dist/cdn/{6N5H4GYH.js → CL2BELDC.js} +1 -1
- package/dist/cdn/{PNZO7PJX.js → CVFKHMDF.js} +1 -1
- package/dist/cdn/{U7PLIM7D.js → D5DGYDNC.js} +1 -1
- package/dist/cdn/{ZHA4C7BC.js → D6Z3MYCF.js} +1 -1
- package/dist/cdn/{6JYLZLVD.js → D75QAAQT.js} +1 -1
- package/dist/cdn/{NCSFZ67G.js → DKIT622U.js} +1 -1
- package/dist/cdn/{JUB5EAFV.js → DSVRIWYW.js} +1 -1
- package/dist/cdn/{7GGF4VK3.js → EF5I2PGI.js} +1 -1
- package/dist/cdn/{EBOBXBZK.js → EFLJBQJB.js} +1 -1
- package/dist/cdn/{HQBA7OPQ.js → ELVDMQEB.js} +1 -1
- package/dist/cdn/{HX5ZGPW4.js → ETV3RIV4.js} +1 -1
- package/dist/cdn/{3K5L7C4B.js → EUSNS4ZR.js} +1 -1
- package/dist/cdn/{JBKFFPLV.js → EZ32225G.js} +1 -1
- package/dist/cdn/{R5TL5I6S.js → F3IKTIUT.js} +1 -1
- package/dist/cdn/{AIUZUNQB.js → FC2KR2OJ.js} +1 -1
- package/dist/cdn/{YJ36H7AG.js → FCGXXNEE.js} +1 -1
- package/dist/cdn/FHDJ7G3W.js +2 -0
- package/dist/cdn/{4BYHEBLT.js → FKGG2CUG.js} +1 -1
- package/dist/cdn/{UI2M6TYH.js → FQVFZLFR.js} +1 -1
- package/dist/cdn/{PT7XD6RE.js → FR3DD5XU.js} +1 -1
- package/dist/cdn/{QBTMCEFA.js → FRBI5DO2.js} +1 -1
- package/dist/cdn/{2WLXD7OI.js → G3GFYB3W.js} +1 -1
- package/dist/cdn/{NE62OHLY.js → G7AAB5J7.js} +1 -1
- package/dist/cdn/{BWECC664.js → GG4ZP72A.js} +1 -1
- package/dist/cdn/{CL6JXK4J.js → GIMPEDA6.js} +1 -1
- package/dist/cdn/{JJUKCRBV.js → GTVZDMAZ.js} +1 -1
- package/dist/cdn/{6YLBLUPL.js → GVCVI2FM.js} +1 -1
- package/dist/cdn/{N5NWRDVD.js → GWNHAPDJ.js} +1 -1
- package/dist/cdn/{6BD3TWBH.js → H2EVMLHD.js} +1 -1
- package/dist/cdn/{QT2LSBKF.js → H5BVJ264.js} +1 -1
- package/dist/cdn/{KWY2WPOP.js → HGPMWYEJ.js} +1 -1
- package/dist/cdn/{XYV2ZB6J.js → HHEQGXDE.js} +1 -1
- package/dist/cdn/{BOHA6O3E.js → HSF2MYAX.js} +1 -1
- package/dist/cdn/{C7NIEQKO.js → HZR3HENL.js} +1 -1
- package/dist/cdn/{WTEY2GUR.js → I236E7AW.js} +1 -1
- package/dist/cdn/{TIIFMOFF.js → ICAEEYON.js} +1 -1
- package/dist/cdn/{TWW6WTPJ.js → IEUVYAB2.js} +1 -1
- package/dist/cdn/{Y6AJ3R7J.js → IIYUVBKU.js} +1 -1
- package/dist/cdn/{YKJYY74T.js → IKTXSXXQ.js} +1 -1
- package/dist/cdn/{6GIDI7Z2.js → ILE73UJE.js} +1 -1
- package/dist/cdn/{EIYWFIVH.js → IMG33Z76.js} +1 -1
- package/dist/cdn/{AVFYZ2BD.js → IOORBLHL.js} +1 -1
- package/dist/cdn/{2DCEODPQ.js → IVBBBGIP.js} +1 -1
- package/dist/cdn/{VZ3LSB3Z.js → JFNKQEAB.js} +1 -1
- package/dist/cdn/JLZ2PFNC.js +2 -0
- package/dist/cdn/{TMO4U4HG.js → JNZQSIHO.js} +1 -1
- package/dist/cdn/{T27FCYV7.js → JWCHEYHG.js} +1 -1
- package/dist/cdn/{3TZJEZDM.js → K2HEKJRC.js} +1 -1
- package/dist/cdn/{R6NLZOD6.js → K2KLJ32T.js} +1 -1
- package/dist/cdn/{RTXRLIYL.js → K3VQUQ6I.js} +1 -1
- package/dist/cdn/K5WNMCOI.js +2 -0
- package/dist/cdn/{GCPF5PAX.js → K76HO7P7.js} +1 -1
- package/dist/cdn/{GZUBRPJC.js → KDTYT2TI.js} +1 -1
- package/dist/cdn/{HROETYFU.js → KG4DME7S.js} +1 -1
- package/dist/cdn/{5AO4WCMO.js → KG4E7MUN.js} +1 -1
- package/dist/cdn/{IC33XDTT.js → KI373EER.js} +1 -1
- package/dist/cdn/{FPBIHRY5.js → KJJVLZO6.js} +1 -1
- package/dist/cdn/{IGORAGVE.js → KL6LVGWT.js} +1 -1
- package/dist/cdn/{WRRFKLB6.js → KNC343OA.js} +1 -1
- package/dist/cdn/{OKBDQ3G2.js → KUR5PBEN.js} +1 -1
- package/dist/cdn/{L4UVDZFM.js → KXYV52R5.js} +1 -1
- package/dist/cdn/{IPS6PJBP.js → KZQ5ZQEP.js} +1 -1
- package/dist/cdn/{Z63PHR6E.js → LBL4JL7T.js} +1 -1
- package/dist/cdn/{LYBMSSWT.js → LFFKXHGN.js} +1 -1
- package/dist/cdn/{CE7BKSHD.js → LGFVRB7B.js} +1 -1
- package/dist/cdn/{VFFB35S6.js → LI7PGPU4.js} +1 -1
- package/dist/cdn/{NMQUDSWT.js → LIEZSWE4.js} +1 -1
- package/dist/cdn/{N4AIZK72.js → LSTPPCUH.js} +1 -1
- package/dist/cdn/LTBXZRS5.js +2 -0
- package/dist/cdn/{BL743E5J.js → M2EPGLCO.js} +1 -1
- package/dist/cdn/{JE3VXBIT.js → M2MHL5UA.js} +1 -1
- package/dist/cdn/{ZOP2TIVZ.js → M2O6IGEH.js} +1 -1
- package/dist/cdn/{DMDH2HX6.js → M47N46M3.js} +1 -1
- package/dist/cdn/{DY6AWYYR.js → M7P6P7TR.js} +1 -1
- package/dist/cdn/MCKFNVHF.js +2 -0
- package/dist/cdn/{M3E7HDLV.js → MIRNWIIY.js} +1 -1
- package/dist/cdn/{BOVVMQMM.js → MNMMINQH.js} +1 -1
- package/dist/cdn/{ZAJLG5HP.js → N6Y3DBA3.js} +1 -1
- package/dist/cdn/{BLKRIIHC.js → N7G6DMQS.js} +1 -1
- package/dist/cdn/{JTNXXFZB.js → N7QPTZOY.js} +1 -1
- package/dist/cdn/{PTHSNQL2.js → NDMHZQ2Z.js} +1 -1
- package/dist/cdn/{EO2XFNMR.js → NEA3AO6Y.js} +1 -1
- package/dist/cdn/{AM3UJO3A.js → NFE73D6R.js} +1 -1
- package/dist/cdn/{HKAQY5N7.js → NJ4CBOJN.js} +1 -1
- package/dist/cdn/{G5IFQKFE.js → NMWFIDS3.js} +1 -1
- package/dist/cdn/{HVYQFEOR.js → O2HG2WMJ.js} +1 -1
- package/dist/cdn/{WTNO7O72.js → OEOLTZDB.js} +1 -1
- package/dist/cdn/{FVNPR5KH.js → OGYCHIZS.js} +1 -1
- package/dist/cdn/{FG4BZ3AS.js → OHVLO7G3.js} +1 -1
- package/dist/cdn/{M47KXCDY.js → OIZPPRAI.js} +1 -1
- package/dist/cdn/{BLEHZ6OK.js → OMNTRBAL.js} +1 -1
- package/dist/cdn/{VYS45ONH.js → P62M6P6V.js} +1 -1
- package/dist/cdn/{OPU3AHDF.js → PGOXXWOQ.js} +1 -1
- package/dist/cdn/{46OBBNLU.js → PLZVYFQY.js} +1 -1
- package/dist/cdn/{DTB572CE.js → PUF3LPVV.js} +1 -1
- package/dist/cdn/{ZNQZFSHJ.js → Q44GFWWJ.js} +1 -1
- package/dist/cdn/{RITUH7JT.js → Q547RMCD.js} +1 -1
- package/dist/cdn/{R6HFI3H6.js → QBG72UPT.js} +1 -1
- package/dist/cdn/{VJNK2ZS5.js → QJHRY67D.js} +1 -1
- package/dist/cdn/{XHT2V7M3.js → QJUYGJUN.js} +1 -1
- package/dist/cdn/{M3DP7XNI.js → QLIWDFZI.js} +1 -1
- package/dist/cdn/{N2H3FZDY.js → QMBBO7TG.js} +1 -1
- package/dist/cdn/{C6GVSQON.js → QMVQEHGP.js} +1 -1
- package/dist/cdn/{GTSPZDUD.js → QMXF5LPA.js} +1 -1
- package/dist/cdn/{CMNJTTHD.js → QORUWAIX.js} +1 -1
- package/dist/cdn/{BE273TAF.js → QXYIAQJR.js} +1 -1
- package/dist/cdn/{Z7ULZVXI.js → R5RHR73A.js} +1 -1
- package/dist/cdn/{OXJ6JBJF.js → R5ZY52DF.js} +1 -1
- package/dist/cdn/{ZVPFP6UF.js → RAUX4YDR.js} +1 -1
- package/dist/cdn/{N3DNKKJG.js → RDA3MEE2.js} +1 -1
- package/dist/cdn/{AOZTFK3U.js → RDWM76R2.js} +1 -1
- package/dist/cdn/{4ZPF4DPX.js → RNUWRSX7.js} +1 -1
- package/dist/cdn/{4B63G73N.js → RP6OFG3R.js} +1 -1
- package/dist/cdn/{MT2XDN52.js → RUPHNC7P.js} +1 -1
- package/dist/cdn/{ALID7JW4.js → RYBETUNL.js} +1 -1
- package/dist/cdn/{EYVFMVPE.js → S6IOKQMR.js} +1 -1
- package/dist/cdn/{COI7ESYH.js → SB4Y3KAP.js} +1 -1
- package/dist/cdn/{LG7BOXTO.js → SMTTIAFG.js} +1 -1
- package/dist/cdn/{6W3RHVL6.js → SRAXSED3.js} +1 -1
- package/dist/cdn/{XCDWWNUJ.js → SWDOEOEG.js} +1 -1
- package/dist/cdn/{ND64EMQB.js → T2JPACWT.js} +1 -1
- package/dist/cdn/{3RQ3RPYE.js → T2SDOX4F.js} +1 -1
- package/dist/cdn/{USMSBMGF.js → T4TCUOUB.js} +1 -1
- package/dist/cdn/{AACRVMCQ.js → TCLKWOOM.js} +1 -1
- package/dist/cdn/{MGVKXR2F.js → THUDFQBI.js} +1 -1
- package/dist/cdn/{GP76UUFG.js → TKTHZ2GE.js} +1 -1
- package/dist/cdn/{PPP32ZQ6.js → TPF6CQWI.js} +1 -1
- package/dist/cdn/{7BQONNCF.js → TZGK64CZ.js} +1 -1
- package/dist/cdn/{R4QRHWKF.js → TZTJY3L5.js} +1 -1
- package/dist/cdn/{3B3RGT2G.js → U257QRYB.js} +1 -1
- package/dist/cdn/{EVKE3MXB.js → U5BDUCMV.js} +1 -1
- package/dist/cdn/{3VRGZ2CJ.js → U6BJ5CHT.js} +1 -1
- package/dist/cdn/{OBWR4UBY.js → UFBHHNY2.js} +1 -1
- package/dist/cdn/{YI4GBTAA.js → UHY4YPDH.js} +1 -1
- package/dist/cdn/{GKOH4UXJ.js → UJ3FO7VY.js} +1 -1
- package/dist/cdn/{QGWMP6TU.js → UVZRGGFM.js} +1 -1
- package/dist/cdn/{BNRS5ISC.js → VJIYYZW3.js} +1 -1
- package/dist/cdn/{3H2WSSI4.js → VOQLL5JZ.js} +1 -1
- package/dist/cdn/{XKC3DFCU.js → VQG7S23K.js} +1 -1
- package/dist/cdn/{CSXSF4DA.js → VQUASLS6.js} +1 -1
- package/dist/cdn/VRD2Y5E5.js +2 -0
- package/dist/cdn/{JHNUTIAE.js → VRZ2TCPU.js} +1 -1
- package/dist/cdn/{3Y4QI3WS.js → W3LWWKRB.js} +1 -1
- package/dist/cdn/{COUGJ3JE.js → WCWRRXW6.js} +1 -1
- package/dist/cdn/{VV6AUGJZ.js → WTQIUFRF.js} +1 -1
- package/dist/cdn/{EKJMDF7F.js → WW47L2EV.js} +1 -1
- package/dist/cdn/{HEOLO6IC.js → X3TEGOBL.js} +1 -1
- package/dist/cdn/{PCH6Y2RV.js → X6USSZBP.js} +1 -1
- package/dist/cdn/{APBDKO3B.js → XLAW24IV.js} +1 -1
- package/dist/cdn/{Y6OCHJCV.js → XLFPJW7K.js} +1 -1
- package/dist/cdn/{JEYAZUI2.js → XPBKTZ6K.js} +1 -1
- package/dist/cdn/{GRALXE5Q.js → XRPHEZZD.js} +1 -1
- package/dist/cdn/{MAYBKX24.js → XUL2L7MJ.js} +1 -1
- package/dist/cdn/{UBUAQKOP.js → XZSUBU4T.js} +1 -1
- package/dist/cdn/{N4PYAXDZ.js → Y52XLS45.js} +1 -1
- package/dist/cdn/YJYUG3DP.js +2 -0
- package/dist/cdn/{BEOMWPHI.js → YVQ5XK57.js} +1 -1
- package/dist/cdn/{JRY4Y7OA.js → ZA7J2T63.js} +1 -1
- package/dist/cdn/{DVDREAS2.js → ZMLP2ZB4.js} +1 -1
- package/dist/cdn/{UJAX7TII.js → ZWAOPC3F.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/slots.js +9 -9
- package/dist/chunks/useArcgisViewReadyError.js +30 -35
- package/dist/components/arcgis-aggregated-features/customElement.js +58 -58
- package/dist/components/arcgis-features-next/customElement.js +30 -30
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +1 -1
- package/package.json +4 -4
- package/dist/cdn/2XJT2TPM.js +0 -2
- package/dist/cdn/BEEFONS5.js +0 -2
- package/dist/cdn/CRQRQION.js +0 -2
- package/dist/cdn/EOUNEK6M.js +0 -2
- package/dist/cdn/ERZ355Q7.js +0 -2
- package/dist/cdn/NEEJOYOU.js +0 -2
- package/dist/cdn/PZLLNFJO.js +0 -2
- /package/dist/cdn/{QL3M4ZI7.js → ZJZBS5ZY.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as M}from"./AOZTFK3U.js";import e from"./2WLXD7OI.js";import{a as T}from"./PTHSNQL2.js";import d from"./RTXRLIYL.js";import c from"./AM3UJO3A.js";import{g as z}from"./CNA7TDZN.js";import"./VJMC3CMB.js";import a from"./LIBO3YUY.js";import"./QUZTFUWM.js";import{d as f}from"./M3DP7XNI.js";import{L as _,M as k,N as C,O as u,Q as n,T as $,a as y,b as s,p as b,w as v}from"./QL3M4ZI7.js";import"./H6RQVSYM.js";export default $arcgis.t(([{hasDisplayProperties:m},V,F,S,,,,I])=>{var D=y`[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:#6e6e6e}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:#6e6e6e}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-button{box-sizing:border-box;cursor:pointer;white-space:normal;word-break:normal;color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info);justify-content:center;align-items:center;width:100%;min-height:var(--calcite-spacing-xxxl);padding:6px 7px;font-family:inherit;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out,border .125s ease-in-out;display:flex;overflow:hidden;&:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info-hover);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info-hover)}}.esri-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-text-2);border:1px solid var(--calcite-color-text-2)}.esri-button.esri-button--small{min-height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size-sm)}.esri-button.esri-button--half{width:50%;display:inline-block}.esri-button.esri-button--third{width:33%;display:inline-block}.esri-button--secondary{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-button--tertiary{color:var(--calcite-color-brand);background-color:var(--calcite-color-transparent);border-color:var(--calcite-color-transparent)}.esri-button--tertiary:hover{color:var(--calcite-color-brand-hover);background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-transparent)}.esri-button--disabled{opacity:.4;pointer-events:none}.esri-button--drill-in{outline-offset:-4px;cursor:pointer;text-align:unset;background-color:var(--calcite-color-foreground-1);border:none;border-radius:2px;justify-content:space-between;align-items:center;margin:var(--calcite-spacing-md) 7px;padding:var(--calcite-spacing-md) 7px;text-decoration:none;transition:background-color .125s ease-in-out;display:flex;box-shadow:0 0 0 1px #adadad4d}.esri-button--drill-in:hover,.esri-button--drill-in:focus{background-color:var(--calcite-color-foreground-2)}.esri-button--drill-in__title{font-size:var(--calcite-font-size)}.esri-button--drill-in [class^=esri-icon-],.esri-button--drill-in [class*=" esri-icon-"]{padding:0 7px}.esri-widget--button{cursor:pointer;text-align:center;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);flex-flow:row;justify-content:center;align-items:center;width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;overflow:hidden}.esri-widget--button:is(calcite-button):not(:hover){--calcite-icon-color: var(--calcite-color-text-3)}.esri-widget--button:not([appearance]),.esri-widget--button[appearance=solid]{--calcite-color-foreground-3: var(--calcite-color-foreground-1)}.esri-widget--button:is(calcite-button){--calcite-offset-invert-focus: 1}.esri-widget--button calcite-loader[inline]{margin:auto}.esri-button--secondary{color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);&:hover{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-status-info);border:1px solid var(--calcite-color-status-info)}}:host{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);--coordinate-conversion-width: 425px;--coordinate-font-size: var(--calcite-font-size-sm);--alert-width: 225px;--arcgis-internal-coordinate-conversion-flex-direction: column;width:var(--coordinate-conversion-width)}.no-basemap{padding:var(--calcite-spacing-xxs)}.root{background-color:var(--calcite-color-foreground-1);position:relative}.conversions-view{display:flex;flex-direction:var(--arcgis-internal-coordinate-conversion-flex-direction);background-color:var(--calcite-color-foreground-1)}.conversion-list{flex-direction:var(--arcgis-internal-coordinate-conversion-flex-direction)}.conversions-view.expand-down{display:flex;flex-direction:column}.conversions-view.expand-down .conversion-list{flex-direction:column}.conversions-view.expand-up{display:flex;flex-direction:column-reverse}.conversions-view.expand-up .conversion-list{flex-direction:column-reverse}.conversion-list{display:flex;padding-left:0;margin:0}.tool-display{list-style:none;display:flex;margin:0;padding:0;font-size:var(--calcite-font-size-sm)}.conversion-row{padding:0 var(--esri-widget-padding-y);justify-content:space-between;align-items:center;display:flex}.conversion-row:hover .copy-button{display:block}.conversions-view{padding:var(--arcgis-internal-padding-md)}.coordinate-display{font-size:var(--coordinate-font-size);word-break:break-word;word-wrap:break-word;direction:ltr;flex:auto;display:flex;align-items:center;padding-left:var(--calcite-spacing-sm);min-height:var(--calcite-spacing-xxxl)}.coordinate-display:hover{background:var(--calcite-color-transparent-hover)}.copy-button{display:none}.row-select{width:5rem;flex-shrink:0;text-align-last:center}.section-heading{display:flex;align-items:center;background-color:var(--calcite-color-background);width:100%;height:var(--calcite-size-fixed-xxxl)}.section-title{margin:0 auto!important}.input-form-group{display:flex;align-items:center;justify-content:space-between;margin:var(--calcite-spacing-md) auto var(--calcite-spacing-md) auto;width:80%}.input-form{display:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1)}.coordinate-input{flex:1;margin:0;font-size:var(--coordinate-font-size)}.settings{display:flex;flex-direction:column;align-items:center;background-color:var(--calcite-color-foreground-1)}.settings-form-group{display:flex;flex-direction:column;align-items:center;width:60%}.settings-form-group-horizontal{display:flex;position:relative;flex-direction:row;width:100%}.settings-form-group-first{margin-top:var(--calcite-spacing-sm)}.settings-form-group:last-child{width:100%;text-align:center}.preview-coordinate{min-height:var(--calcite-spacing-xl)}`,E=2500,O=1e3,A=new V({x:0,y:0}),d={chevronDown:"chevron-down",chevronUp:"chevron-up",copy:"copy",pinTear:"pin-tear",pinTearF:"pin-tear-f",arrowLeft:"arrow-left",refresh:"refresh"},j=I(S),w=class extends C{constructor(){super(...arguments),this.alertTimer=-1,this.messages=T(),this._coordinateInput=_(),this._currentView="conversions",this._multipleConversionsDisabled=!1,this.viewModel=j(this),this.clearAlertTimeout=()=>{window.clearTimeout(this.alertTimer),this.alertProperties={...this.alertProperties,open:!1}},this.alertProperties={kind:"brand",message:null,title:null,open:!1},this.invalidInput=!1,this.goToEnabled=!1,this.inputFormat=null,this.previewConversion=null,this.settingsFormat=null,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.conversions=this.viewModel.conversions,this.currentLocation=this.viewModel.currentLocation,this.expanded=!1,this.formats=this.viewModel.formats,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=4,this.hideCaptureButton=!1,this.hideInputButton=!1,this.hideExpandButton=!1,this.hideSettingsButton=!1,this.icon="coordinate-system",this.label=this.messages?.componentLabel,this.locationSymbol=this.viewModel.locationSymbol,this.mode=this.viewModel.mode,this.orientation="auto",this.removeLeadingZeros=this.viewModel.removeLeadingZeros,this.state=this.viewModel.state,this.storageDisabled=this.viewModel.storageEnabled,this.storageType=this.viewModel.storageType,this.arcgisConversionChange=v(),this.arcgisPropertyChange=z()("currentLocation","state","expanded","mode"),this.arcgisReady=v()}static{this.properties={alertProperties:16,invalidInput:16,currentView:16,goToEnabled:16,inputFormat:16,previewConversion:16,settingsFormat:16,view:0,autoDestroyDisabled:5,conversions:0,currentLocation:0,expanded:7,formats:0,goToOverride:0,headingLevel:9,hideCaptureButton:7,hideInputButton:7,hideExpandButton:7,hideSettingsButton:7,icon:1,ignoreCoordinatePrecision:5,label:1,locationSymbol:0,mode:3,multipleConversionsDisabled:7,orientation:3,referenceElement:1,removeLeadingZeros:7,state:32,storageDisabled:7,storageType:1}}static{this.styles=D}get currentView(){return this._currentView}set currentView(e){e!=="conversions"?this.viewModel.pause():this.viewModel.resume(),e==="settings"&&this.setPreviewConversion(),e!=="coordinate-input"&&(this.invalidInput=!1),this._currentView=e}get ignoreCoordinatePrecision(){return!this.viewModel.calculateCoordinatePrecision}set ignoreCoordinatePrecision(e){this.viewModel.calculateCoordinatePrecision=!e}get multipleConversionsDisabled(){return this._multipleConversionsDisabled}set multipleConversionsDisabled(e){e&&(this.expanded=!1,this.conversions.splice(1,this.conversions.length-1)),this._multipleConversionsDisabled=e}async destroy(){this.clearAlertTimeout(),await this.manager.destroy()}async reverseConvert(e,i){return await this.viewModel.reverseConvert(e,i)}addConversion(e){let i=e.target,t=i.selectedOption.value,o=U(i);if(t==null||o==null)return;let r=new F({format:t});i.value="default",o>=0?(this.conversions.removeAt(o),this.conversions.add(r,o)):this.conversions.add(r),this.arcgisConversionChange.emit()}async copyToClipboard(e){e&&(e=e.replace(//gu,""),await navigator.clipboard.writeText(e),this.showAlertMessage(null,this.messages.copySuccessMessage,"success",O))}findSettingsFormat(){return this.settingsFormat||this.conversions.reduceRight((e,i)=>{let t=i.format;return t&&m(t)?t:e},null)||this.formats.find(e=>m(e))||null}getId(e){return`arcgis-coordinate-conversion-${e}`}async processUserInput(e,i){let{viewModel:t}=this;try{let o=await this._reverseConvert(e,i);if(!o)throw new Error("failed to process user input");this.mode==="capture"?t.resume():this.mode="capture",this.invalidInput=!1,this.currentLocation=o??void 0,t.setLocation(o),this.currentView="conversions",this._coordinateInput.value&&(this._coordinateInput.value.value="")}catch(o){b(this)(o),this.showAlertMessage(null,this.messages?.invalidCoordinate,"warning"),this.invalidInput=!0}}async processUserKeyboardInput(e){let{key:i}=e;if(i==="Enter"){let t=this.inputFormat||this.conversions.at(0)?.format,o=this._coordinateInput.value?.value;if(!t||!o)return;await this.processUserInput(o,t)}else this.invalidInput=!1}async processUserMouseInput(){let e=this.inputFormat||this.conversions.at(0)?.format,i=this._coordinateInput.value?.value;!e||!i||await this.processUserInput(i,e)}removeConversion(e){this.conversions.remove(e),this.arcgisConversionChange.emit()}async _reverseConvert(e,i){let t=this.viewModel,o=await i.reverseConvert(e);return this.goToEnabled&&o&&t.goToLocation(o).catch(r=>{b(this)(r),this.showAlertMessage(null,this.messages?.locationOffBasemap,"warning")}),o}setDefaultPattern(e){e.stopPropagation();let i=this.findSettingsFormat();i?.defaultPattern&&(i.currentPattern=i.defaultPattern)}setInputFormat(e){let i=e.target.selectedOption.value;i!=null&&(this.inputFormat=i)}setPreviewConversion(){let e=this.findSettingsFormat(),i=this.viewModel;if(e){let t=this.conversions.find(o=>o.format===e);this.previewConversion=new F({format:e,position:{location:this.currentLocation,coordinate:t?.position?.coordinate}}),this.previewConversion.position?.coordinate||i.previewConversion(this.previewConversion,i.currentLocation??A)}}setSettingsFormat(e){let i=e.target.selectedOption.value;i!=null&&(this.settingsFormat=i,this.setPreviewConversion())}showAlertMessage(e,i,t,o=E){this.alertProperties={...this.alertProperties,title:e,message:i,kind:t,open:!0},window.clearTimeout(this.alertTimer),this.alertTimer=window.setTimeout(()=>{this.alertProperties={...this.alertProperties,open:!1}},o)}toggleGoTo(){this.goToEnabled=!this.goToEnabled}toggleMode(){this.mode=this.mode==="live"?"capture":"live"}updateCurrentPattern(e){e.stopPropagation();let i=e.target,t=this.findSettingsFormat();t&&(t.currentPattern=i.value)}render(){let{currentView:e,headingLevel:i,messages:t}=this,o,r;return this.viewModel.state==="disabled"||e==="no-basemap"?o=this.renderNoBasemapView():e==="coordinate-input"?(r=t.inputCoordTitle,o=this.renderCoordinateInputView()):e==="settings"?(r=t.settingsTitle,o=this.renderSettingsView()):o=this.renderConversionsView(),s`<calcite-panel class="root" .heading=${r} .headingLevel=${i} scale=s>${o}${this.renderAlert()}</calcite-panel>`}renderAlert(){let{messages:e}=this,{open:i,message:t,title:o,kind:r}=this.alertProperties;return s`<calcite-alert class="alert" .open=${i} scale=s .kind=${r} .label=${e.alertLabel} @calciteAlertClose=${this.clearAlertTimeout} slot=alerts>${o?s`<div slot=title>${o}</div>`:null}${t?s`<div slot=message>${t}</div>`:null}</calcite-alert>`}renderConversionOptions(e,i,t){let o=this.conversions.at(0),r=o?.format?.name;return e.map((c,l)=>{let a=i??!o?!1:r===c.name||this.conversions.map(h=>h.format?.name).includes(c.name);return s`<calcite-option .disabled=${a} .label=${c.label.toUpperCase()} .selected=${l===t} .value=${c}>${c.label}</calcite-option>`})}renderConversionView(e,i){let{messages:t}=this,{format:o}=e,r=o?.label??"",c=i===0,l=this.getId(`list-item-${i}`),a=t.conversionOutput.replace("{format name}",r),h=c||this.expanded,p=c?this.renderFirstConversionTools(e):this.renderTools(e,l),g=c&&!e.displayCoordinate?t.noLocation:e.displayCoordinate,P=s`<div aria-label=${g??n} class="coordinate-display" data-conversion=${e??n} tabindex=0 title=${g??""??n}>${g}</div>`,B=this.renderConversionOptions(this.formats.filter(L=>L!==o));return h?s`<li aria-label=${a??n} class="conversion-row" id=${l??n} tabindex=0><calcite-select aria-controls=${l??n} class="row-select" data-index=${String(i)??n} .label=${t.selectFormat??""} scale=s @calciteSelectChange=${this.addConversion}>${M(o,s`<calcite-option .label=${r.toUpperCase()} selected>${r.toUpperCase()}</calcite-option>`)}${B}</calcite-select>${P}${p}</li>`:null}renderConversionsView(){let{messages:e}=this,i=this.viewModel.conversions.map(this.renderConversionView.bind(this)),t=this.getId("conversion-list"),o=this.expanded?s`<div class="conversion-row"><calcite-select aria-controls=${t??n} data-index=-1 .label=${e.addConversion} scale=s @calciteSelectChange=${this.addConversion} title=${e.addConversion??n}><calcite-option disabled selected value=default>${e.addConversion}</calcite-option>${this.renderConversionOptions(this.formats)}</calcite-select>${this.renderPrimaryTools()}</div>`:null,r={"expand-up":this.orientation==="expand-up","expand-down":this.orientation==="expand-down"};return s`<div class=${u(f("conversions-view",r))}><ul aria-expanded=${this.expanded??n} class="conversion-list" id=${t??n}>${i}</ul>${o}</div>`}renderCoordinateInputView(){let e=this.inputFormat??this.conversions.at(0)?.format,i=this.formats.findIndex(c=>c.name===e?.name),t=this.getId("coordinate-input"),o=this.renderConversionOptions(this.formats,!1,i),{messages:r}=this;return r?[s`<calcite-action .icon=${d.arrowLeft} @click=${()=>this.currentView="conversions"} .text=${r.back} slot=header-actions-start></calcite-action>`,s`<div class="input-form" role=search><div class="input-form-group"><calcite-select aria-controls=${t??n} class="input-select" .label=${r.selectFormat} scale=s @calciteSelectChange=${this.setInputFormat}>${o}</calcite-select><calcite-input class="coordinate-input" data-format=${e??n} id=${t??n} @keydown=${this.processUserKeyboardInput} .placeholder=${r.inputCoordTitle} required scale=s .status=${this.invalidInput?"invalid":"idle"} ${k(this._coordinateInput)}></calcite-input></div><div class="input-form-group"><calcite-label layout=inline scale=s><calcite-checkbox .checked=${this.goToEnabled} @calciteCheckboxChange=${this.toggleGoTo}></calcite-checkbox>${r.goTo}</calcite-label><calcite-button appearance=outline kind=neutral @click=${this.processUserMouseInput} type=button width=auto>${r.convert}</calcite-button></div></div>`]:null}renderCopyButton(e){let{messages:i}=this;return this.renderIconButton({iconType:d.copy,clickFunction:()=>this.copyToClipboard(e.displayCoordinate),buttonClasses:["copy-button"],ariaLabel:i.copy,title:i.copy})}renderFirstConversionTools(e){let{messages:i,multipleConversionsDisabled:t,hideCaptureButton:o,hideExpandButton:r}=this;if(!i)return null;let c=this.mode==="live"?i.captureMode:i.liveMode,l=this.expanded?i.collapse:i.expand,a=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,h=!t&&!r?this.renderIconButton({iconType:this.expanded?d.chevronDown:d.chevronUp,clickFunction:()=>{this.expanded=!this.expanded},ariaControls:this.getId("conversion-list"),label:l,title:l}):null,p=t&&!o?this.renderIconButton({iconType:this.mode==="live"?d.pinTear:d.pinTearF,clickFunction:this.toggleMode,label:c,title:c}):null;return s`<ul class="tool-display"><li>${a}</li><li>${h}</li><li>${p}</li></ul>`}renderIconButton(e){let{iconType:i,clickFunction:t,buttonClasses:o,ariaLabel:r,ariaControls:c,label:l,flipRtl:a,title:h}=e;return s`<calcite-button appearance=transparent aria-label=${r??n} aria-controls=${c??n} class=${u(f(o))} .iconFlipRtl=${a?"start":void 0} .iconStart=${i} kind=neutral .label=${l} @click=${t} title=${h??n}></calcite-button>`}renderNoBasemapView(){return s`<div class="no-basemap">${this.messages.noBasemap}</div>`}renderPrimaryTools(){let{messages:e,hideInputButton:i,hideCaptureButton:t,hideSettingsButton:o}=this;if(!e)return null;let r=this.mode==="live"?e.captureMode:e.liveMode,c=i?null:this.renderIconButton({iconType:"pencil",clickFunction:()=>{this.currentView="coordinate-input"},label:e.inputCoordTitle,title:e.inputCoordTitle}),l=t?null:this.renderIconButton({iconType:this.mode==="live"?d.pinTear:d.pinTearF,clickFunction:this.toggleMode,label:r,title:r}),a=o?null:this.renderIconButton({iconType:"gear",clickFunction:()=>{this.currentView="settings"},label:e.settingsTitle,title:e.settingsTitle});return s`<ul class="tool-display"><li>${c}</li><li>${l}</li><li>${a}</li></ul>`}renderSettingsView(){let e=this.getId("pattern-input"),i=this.getId("preview-coordinate"),t=this.formats.filter(p=>m(p)),o=this.findSettingsFormat(),r=o?t.indexOf(o):-1,c=this.renderConversionOptions(t,!0,r),l=o?.currentPattern,{messages:a}=this;if(!a)return null;let h=this.renderIconButton({iconType:d.refresh,clickFunction:this.setDefaultPattern,label:a.defaultPattern,title:a.defaultPattern});return[s`<calcite-action .icon=${d.arrowLeft} @click=${()=>this.currentView="conversions"} .text=${a.back} slot=header-actions-start></calcite-action>`,s`<div class="settings"><div class=${u(f("settings-form-group","settings-form-group-first"))}><calcite-label alignment=center .for=${e} scale=s>${a.changeCoordinateDisplay}<calcite-select .label=${a.selectFormat} width=full @calciteSelectChange=${this.setSettingsFormat}>${c}</calcite-select><div class="settings-form-group-horizontal"><calcite-input aria-controls=${i??n} class="pattern-input" id=${e??n} type=text .value=${l} @calciteInputInput=${this.updateCurrentPattern}></calcite-input>${h}</div></calcite-label></div><div class="settings-form-group"><calcite-label alignment=center scale=s>${a.preview}<div class="preview-coordinate" id=${i??n} tabindex=0>${this.previewConversion?.displayCoordinate}</div></calcite-label></div></div>`]}renderTools(e,i){let t=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,{messages:o}=this;if(!o)return null;let r=this.renderIconButton({iconType:"x",clickFunction:()=>this.removeConversion(e),ariaControls:i,label:o.removeConversion,title:o.removeConversion});return s`<ul class="tool-display"><li>${t}</li><li>${r}</li></ul>`}};function U(x){let e=x.getAttribute("data-index");return e?window.parseInt(e):null}$("arcgis-coordinate-conversion",w);return w},"applications/Components/formatUtils","geometry/Point","widgets/CoordinateConversion/support/Conversion","widgets/CoordinateConversion/CoordinateConversionViewModel",a,c,d,e)
|
|
2
|
+
import{a as M}from"./RDWM76R2.js";import e from"./G3GFYB3W.js";import{a as T}from"./NDMHZQ2Z.js";import d from"./K3VQUQ6I.js";import c from"./NFE73D6R.js";import{g as z}from"./5GFBHLDY.js";import"./42UVPIOD.js";import a from"./34IPKNHM.js";import"./QUZTFUWM.js";import{d as f}from"./QLIWDFZI.js";import{L as _,M as k,N as C,O as u,Q as n,T as $,a as y,b as s,p as b,w as v}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";export default $arcgis.t(([{hasDisplayProperties:m},V,F,S,,,,I])=>{var D=y`[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:#6e6e6e}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:#6e6e6e}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-button{box-sizing:border-box;cursor:pointer;white-space:normal;word-break:normal;color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info);justify-content:center;align-items:center;width:100%;min-height:var(--calcite-spacing-xxxl);padding:6px 7px;font-family:inherit;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out,border .125s ease-in-out;display:flex;overflow:hidden;&:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info-hover);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info-hover)}}.esri-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-text-2);border:1px solid var(--calcite-color-text-2)}.esri-button.esri-button--small{min-height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size-sm)}.esri-button.esri-button--half{width:50%;display:inline-block}.esri-button.esri-button--third{width:33%;display:inline-block}.esri-button--secondary{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-button--tertiary{color:var(--calcite-color-brand);background-color:var(--calcite-color-transparent);border-color:var(--calcite-color-transparent)}.esri-button--tertiary:hover{color:var(--calcite-color-brand-hover);background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-transparent)}.esri-button--disabled{opacity:.4;pointer-events:none}.esri-button--drill-in{outline-offset:-4px;cursor:pointer;text-align:unset;background-color:var(--calcite-color-foreground-1);border:none;border-radius:2px;justify-content:space-between;align-items:center;margin:var(--calcite-spacing-md) 7px;padding:var(--calcite-spacing-md) 7px;text-decoration:none;transition:background-color .125s ease-in-out;display:flex;box-shadow:0 0 0 1px #adadad4d}.esri-button--drill-in:hover,.esri-button--drill-in:focus{background-color:var(--calcite-color-foreground-2)}.esri-button--drill-in__title{font-size:var(--calcite-font-size)}.esri-button--drill-in [class^=esri-icon-],.esri-button--drill-in [class*=" esri-icon-"]{padding:0 7px}.esri-widget--button{cursor:pointer;text-align:center;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);flex-flow:row;justify-content:center;align-items:center;width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;overflow:hidden}.esri-widget--button:is(calcite-button):not(:hover){--calcite-icon-color: var(--calcite-color-text-3)}.esri-widget--button:not([appearance]),.esri-widget--button[appearance=solid]{--calcite-color-foreground-3: var(--calcite-color-foreground-1)}.esri-widget--button:is(calcite-button){--calcite-offset-invert-focus: 1}.esri-widget--button calcite-loader[inline]{margin:auto}.esri-button--secondary{color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);&:hover{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-status-info);border:1px solid var(--calcite-color-status-info)}}:host{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);--coordinate-conversion-width: 425px;--coordinate-font-size: var(--calcite-font-size-sm);--alert-width: 225px;--arcgis-internal-coordinate-conversion-flex-direction: column;width:var(--coordinate-conversion-width)}.no-basemap{padding:var(--calcite-spacing-xxs)}.root{background-color:var(--calcite-color-foreground-1);position:relative}.conversions-view{display:flex;flex-direction:var(--arcgis-internal-coordinate-conversion-flex-direction);background-color:var(--calcite-color-foreground-1)}.conversion-list{flex-direction:var(--arcgis-internal-coordinate-conversion-flex-direction)}.conversions-view.expand-down{display:flex;flex-direction:column}.conversions-view.expand-down .conversion-list{flex-direction:column}.conversions-view.expand-up{display:flex;flex-direction:column-reverse}.conversions-view.expand-up .conversion-list{flex-direction:column-reverse}.conversion-list{display:flex;padding-left:0;margin:0}.tool-display{list-style:none;display:flex;margin:0;padding:0;font-size:var(--calcite-font-size-sm)}.conversion-row{padding:0 var(--esri-widget-padding-y);justify-content:space-between;align-items:center;display:flex}.conversion-row:hover .copy-button{display:block}.conversions-view{padding:var(--arcgis-internal-padding-md)}.coordinate-display{font-size:var(--coordinate-font-size);word-break:break-word;word-wrap:break-word;direction:ltr;flex:auto;display:flex;align-items:center;padding-left:var(--calcite-spacing-sm);min-height:var(--calcite-spacing-xxxl)}.coordinate-display:hover{background:var(--calcite-color-transparent-hover)}.copy-button{display:none}.row-select{width:5rem;flex-shrink:0;text-align-last:center}.section-heading{display:flex;align-items:center;background-color:var(--calcite-color-background);width:100%;height:var(--calcite-size-fixed-xxxl)}.section-title{margin:0 auto!important}.input-form-group{display:flex;align-items:center;justify-content:space-between;margin:var(--calcite-spacing-md) auto var(--calcite-spacing-md) auto;width:80%}.input-form{display:flex;flex-direction:column;background-color:var(--calcite-color-foreground-1)}.coordinate-input{flex:1;margin:0;font-size:var(--coordinate-font-size)}.settings{display:flex;flex-direction:column;align-items:center;background-color:var(--calcite-color-foreground-1)}.settings-form-group{display:flex;flex-direction:column;align-items:center;width:60%}.settings-form-group-horizontal{display:flex;position:relative;flex-direction:row;width:100%}.settings-form-group-first{margin-top:var(--calcite-spacing-sm)}.settings-form-group:last-child{width:100%;text-align:center}.preview-coordinate{min-height:var(--calcite-spacing-xl)}`,E=2500,O=1e3,A=new V({x:0,y:0}),d={chevronDown:"chevron-down",chevronUp:"chevron-up",copy:"copy",pinTear:"pin-tear",pinTearF:"pin-tear-f",arrowLeft:"arrow-left",refresh:"refresh"},j=I(S),w=class extends C{constructor(){super(...arguments),this.alertTimer=-1,this.messages=T(),this._coordinateInput=_(),this._currentView="conversions",this._multipleConversionsDisabled=!1,this.viewModel=j(this),this.clearAlertTimeout=()=>{window.clearTimeout(this.alertTimer),this.alertProperties={...this.alertProperties,open:!1}},this.alertProperties={kind:"brand",message:null,title:null,open:!1},this.invalidInput=!1,this.goToEnabled=!1,this.inputFormat=null,this.previewConversion=null,this.settingsFormat=null,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.conversions=this.viewModel.conversions,this.currentLocation=this.viewModel.currentLocation,this.expanded=!1,this.formats=this.viewModel.formats,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=4,this.hideCaptureButton=!1,this.hideInputButton=!1,this.hideExpandButton=!1,this.hideSettingsButton=!1,this.icon="coordinate-system",this.label=this.messages?.componentLabel,this.locationSymbol=this.viewModel.locationSymbol,this.mode=this.viewModel.mode,this.orientation="auto",this.removeLeadingZeros=this.viewModel.removeLeadingZeros,this.state=this.viewModel.state,this.storageDisabled=this.viewModel.storageEnabled,this.storageType=this.viewModel.storageType,this.arcgisConversionChange=v(),this.arcgisPropertyChange=z()("currentLocation","state","expanded","mode"),this.arcgisReady=v()}static{this.properties={alertProperties:16,invalidInput:16,currentView:16,goToEnabled:16,inputFormat:16,previewConversion:16,settingsFormat:16,view:0,autoDestroyDisabled:5,conversions:0,currentLocation:0,expanded:7,formats:0,goToOverride:0,headingLevel:9,hideCaptureButton:7,hideInputButton:7,hideExpandButton:7,hideSettingsButton:7,icon:1,ignoreCoordinatePrecision:5,label:1,locationSymbol:0,mode:3,multipleConversionsDisabled:7,orientation:3,referenceElement:1,removeLeadingZeros:7,state:32,storageDisabled:7,storageType:1}}static{this.styles=D}get currentView(){return this._currentView}set currentView(e){e!=="conversions"?this.viewModel.pause():this.viewModel.resume(),e==="settings"&&this.setPreviewConversion(),e!=="coordinate-input"&&(this.invalidInput=!1),this._currentView=e}get ignoreCoordinatePrecision(){return!this.viewModel.calculateCoordinatePrecision}set ignoreCoordinatePrecision(e){this.viewModel.calculateCoordinatePrecision=!e}get multipleConversionsDisabled(){return this._multipleConversionsDisabled}set multipleConversionsDisabled(e){e&&(this.expanded=!1,this.conversions.splice(1,this.conversions.length-1)),this._multipleConversionsDisabled=e}async destroy(){this.clearAlertTimeout(),await this.manager.destroy()}async reverseConvert(e,i){return await this.viewModel.reverseConvert(e,i)}addConversion(e){let i=e.target,t=i.selectedOption.value,o=U(i);if(t==null||o==null)return;let r=new F({format:t});i.value="default",o>=0?(this.conversions.removeAt(o),this.conversions.add(r,o)):this.conversions.add(r),this.arcgisConversionChange.emit()}async copyToClipboard(e){e&&(e=e.replace(//gu,""),await navigator.clipboard.writeText(e),this.showAlertMessage(null,this.messages.copySuccessMessage,"success",O))}findSettingsFormat(){return this.settingsFormat||this.conversions.reduceRight((e,i)=>{let t=i.format;return t&&m(t)?t:e},null)||this.formats.find(e=>m(e))||null}getId(e){return`arcgis-coordinate-conversion-${e}`}async processUserInput(e,i){let{viewModel:t}=this;try{let o=await this._reverseConvert(e,i);if(!o)throw new Error("failed to process user input");this.mode==="capture"?t.resume():this.mode="capture",this.invalidInput=!1,this.currentLocation=o??void 0,t.setLocation(o),this.currentView="conversions",this._coordinateInput.value&&(this._coordinateInput.value.value="")}catch(o){b(this)(o),this.showAlertMessage(null,this.messages?.invalidCoordinate,"warning"),this.invalidInput=!0}}async processUserKeyboardInput(e){let{key:i}=e;if(i==="Enter"){let t=this.inputFormat||this.conversions.at(0)?.format,o=this._coordinateInput.value?.value;if(!t||!o)return;await this.processUserInput(o,t)}else this.invalidInput=!1}async processUserMouseInput(){let e=this.inputFormat||this.conversions.at(0)?.format,i=this._coordinateInput.value?.value;!e||!i||await this.processUserInput(i,e)}removeConversion(e){this.conversions.remove(e),this.arcgisConversionChange.emit()}async _reverseConvert(e,i){let t=this.viewModel,o=await i.reverseConvert(e);return this.goToEnabled&&o&&t.goToLocation(o).catch(r=>{b(this)(r),this.showAlertMessage(null,this.messages?.locationOffBasemap,"warning")}),o}setDefaultPattern(e){e.stopPropagation();let i=this.findSettingsFormat();i?.defaultPattern&&(i.currentPattern=i.defaultPattern)}setInputFormat(e){let i=e.target.selectedOption.value;i!=null&&(this.inputFormat=i)}setPreviewConversion(){let e=this.findSettingsFormat(),i=this.viewModel;if(e){let t=this.conversions.find(o=>o.format===e);this.previewConversion=new F({format:e,position:{location:this.currentLocation,coordinate:t?.position?.coordinate}}),this.previewConversion.position?.coordinate||i.previewConversion(this.previewConversion,i.currentLocation??A)}}setSettingsFormat(e){let i=e.target.selectedOption.value;i!=null&&(this.settingsFormat=i,this.setPreviewConversion())}showAlertMessage(e,i,t,o=E){this.alertProperties={...this.alertProperties,title:e,message:i,kind:t,open:!0},window.clearTimeout(this.alertTimer),this.alertTimer=window.setTimeout(()=>{this.alertProperties={...this.alertProperties,open:!1}},o)}toggleGoTo(){this.goToEnabled=!this.goToEnabled}toggleMode(){this.mode=this.mode==="live"?"capture":"live"}updateCurrentPattern(e){e.stopPropagation();let i=e.target,t=this.findSettingsFormat();t&&(t.currentPattern=i.value)}render(){let{currentView:e,headingLevel:i,messages:t}=this,o,r;return this.viewModel.state==="disabled"||e==="no-basemap"?o=this.renderNoBasemapView():e==="coordinate-input"?(r=t.inputCoordTitle,o=this.renderCoordinateInputView()):e==="settings"?(r=t.settingsTitle,o=this.renderSettingsView()):o=this.renderConversionsView(),s`<calcite-panel class="root" .heading=${r} .headingLevel=${i} scale=s>${o}${this.renderAlert()}</calcite-panel>`}renderAlert(){let{messages:e}=this,{open:i,message:t,title:o,kind:r}=this.alertProperties;return s`<calcite-alert class="alert" .open=${i} scale=s .kind=${r} .label=${e.alertLabel} @calciteAlertClose=${this.clearAlertTimeout} slot=alerts>${o?s`<div slot=title>${o}</div>`:null}${t?s`<div slot=message>${t}</div>`:null}</calcite-alert>`}renderConversionOptions(e,i,t){let o=this.conversions.at(0),r=o?.format?.name;return e.map((c,l)=>{let a=i??!o?!1:r===c.name||this.conversions.map(h=>h.format?.name).includes(c.name);return s`<calcite-option .disabled=${a} .label=${c.label.toUpperCase()} .selected=${l===t} .value=${c}>${c.label}</calcite-option>`})}renderConversionView(e,i){let{messages:t}=this,{format:o}=e,r=o?.label??"",c=i===0,l=this.getId(`list-item-${i}`),a=t.conversionOutput.replace("{format name}",r),h=c||this.expanded,p=c?this.renderFirstConversionTools(e):this.renderTools(e,l),g=c&&!e.displayCoordinate?t.noLocation:e.displayCoordinate,P=s`<div aria-label=${g??n} class="coordinate-display" data-conversion=${e??n} tabindex=0 title=${g??""??n}>${g}</div>`,B=this.renderConversionOptions(this.formats.filter(L=>L!==o));return h?s`<li aria-label=${a??n} class="conversion-row" id=${l??n} tabindex=0><calcite-select aria-controls=${l??n} class="row-select" data-index=${String(i)??n} .label=${t.selectFormat??""} scale=s @calciteSelectChange=${this.addConversion}>${M(o,s`<calcite-option .label=${r.toUpperCase()} selected>${r.toUpperCase()}</calcite-option>`)}${B}</calcite-select>${P}${p}</li>`:null}renderConversionsView(){let{messages:e}=this,i=this.viewModel.conversions.map(this.renderConversionView.bind(this)),t=this.getId("conversion-list"),o=this.expanded?s`<div class="conversion-row"><calcite-select aria-controls=${t??n} data-index=-1 .label=${e.addConversion} scale=s @calciteSelectChange=${this.addConversion} title=${e.addConversion??n}><calcite-option disabled selected value=default>${e.addConversion}</calcite-option>${this.renderConversionOptions(this.formats)}</calcite-select>${this.renderPrimaryTools()}</div>`:null,r={"expand-up":this.orientation==="expand-up","expand-down":this.orientation==="expand-down"};return s`<div class=${u(f("conversions-view",r))}><ul aria-expanded=${this.expanded??n} class="conversion-list" id=${t??n}>${i}</ul>${o}</div>`}renderCoordinateInputView(){let e=this.inputFormat??this.conversions.at(0)?.format,i=this.formats.findIndex(c=>c.name===e?.name),t=this.getId("coordinate-input"),o=this.renderConversionOptions(this.formats,!1,i),{messages:r}=this;return r?[s`<calcite-action .icon=${d.arrowLeft} @click=${()=>this.currentView="conversions"} .text=${r.back} slot=header-actions-start></calcite-action>`,s`<div class="input-form" role=search><div class="input-form-group"><calcite-select aria-controls=${t??n} class="input-select" .label=${r.selectFormat} scale=s @calciteSelectChange=${this.setInputFormat}>${o}</calcite-select><calcite-input class="coordinate-input" data-format=${e??n} id=${t??n} @keydown=${this.processUserKeyboardInput} .placeholder=${r.inputCoordTitle} required scale=s .status=${this.invalidInput?"invalid":"idle"} ${k(this._coordinateInput)}></calcite-input></div><div class="input-form-group"><calcite-label layout=inline scale=s><calcite-checkbox .checked=${this.goToEnabled} @calciteCheckboxChange=${this.toggleGoTo}></calcite-checkbox>${r.goTo}</calcite-label><calcite-button appearance=outline kind=neutral @click=${this.processUserMouseInput} type=button width=auto>${r.convert}</calcite-button></div></div>`]:null}renderCopyButton(e){let{messages:i}=this;return this.renderIconButton({iconType:d.copy,clickFunction:()=>this.copyToClipboard(e.displayCoordinate),buttonClasses:["copy-button"],ariaLabel:i.copy,title:i.copy})}renderFirstConversionTools(e){let{messages:i,multipleConversionsDisabled:t,hideCaptureButton:o,hideExpandButton:r}=this;if(!i)return null;let c=this.mode==="live"?i.captureMode:i.liveMode,l=this.expanded?i.collapse:i.expand,a=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,h=!t&&!r?this.renderIconButton({iconType:this.expanded?d.chevronDown:d.chevronUp,clickFunction:()=>{this.expanded=!this.expanded},ariaControls:this.getId("conversion-list"),label:l,title:l}):null,p=t&&!o?this.renderIconButton({iconType:this.mode==="live"?d.pinTear:d.pinTearF,clickFunction:this.toggleMode,label:c,title:c}):null;return s`<ul class="tool-display"><li>${a}</li><li>${h}</li><li>${p}</li></ul>`}renderIconButton(e){let{iconType:i,clickFunction:t,buttonClasses:o,ariaLabel:r,ariaControls:c,label:l,flipRtl:a,title:h}=e;return s`<calcite-button appearance=transparent aria-label=${r??n} aria-controls=${c??n} class=${u(f(o))} .iconFlipRtl=${a?"start":void 0} .iconStart=${i} kind=neutral .label=${l} @click=${t} title=${h??n}></calcite-button>`}renderNoBasemapView(){return s`<div class="no-basemap">${this.messages.noBasemap}</div>`}renderPrimaryTools(){let{messages:e,hideInputButton:i,hideCaptureButton:t,hideSettingsButton:o}=this;if(!e)return null;let r=this.mode==="live"?e.captureMode:e.liveMode,c=i?null:this.renderIconButton({iconType:"pencil",clickFunction:()=>{this.currentView="coordinate-input"},label:e.inputCoordTitle,title:e.inputCoordTitle}),l=t?null:this.renderIconButton({iconType:this.mode==="live"?d.pinTear:d.pinTearF,clickFunction:this.toggleMode,label:r,title:r}),a=o?null:this.renderIconButton({iconType:"gear",clickFunction:()=>{this.currentView="settings"},label:e.settingsTitle,title:e.settingsTitle});return s`<ul class="tool-display"><li>${c}</li><li>${l}</li><li>${a}</li></ul>`}renderSettingsView(){let e=this.getId("pattern-input"),i=this.getId("preview-coordinate"),t=this.formats.filter(p=>m(p)),o=this.findSettingsFormat(),r=o?t.indexOf(o):-1,c=this.renderConversionOptions(t,!0,r),l=o?.currentPattern,{messages:a}=this;if(!a)return null;let h=this.renderIconButton({iconType:d.refresh,clickFunction:this.setDefaultPattern,label:a.defaultPattern,title:a.defaultPattern});return[s`<calcite-action .icon=${d.arrowLeft} @click=${()=>this.currentView="conversions"} .text=${a.back} slot=header-actions-start></calcite-action>`,s`<div class="settings"><div class=${u(f("settings-form-group","settings-form-group-first"))}><calcite-label alignment=center .for=${e} scale=s>${a.changeCoordinateDisplay}<calcite-select .label=${a.selectFormat} width=full @calciteSelectChange=${this.setSettingsFormat}>${c}</calcite-select><div class="settings-form-group-horizontal"><calcite-input aria-controls=${i??n} class="pattern-input" id=${e??n} type=text .value=${l} @calciteInputInput=${this.updateCurrentPattern}></calcite-input>${h}</div></calcite-label></div><div class="settings-form-group"><calcite-label alignment=center scale=s>${a.preview}<div class="preview-coordinate" id=${i??n} tabindex=0>${this.previewConversion?.displayCoordinate}</div></calcite-label></div></div>`]}renderTools(e,i){let t=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,{messages:o}=this;if(!o)return null;let r=this.renderIconButton({iconType:"x",clickFunction:()=>this.removeConversion(e),ariaControls:i,label:o.removeConversion,title:o.removeConversion});return s`<ul class="tool-display"><li>${t}</li><li>${r}</li></ul>`}};function U(x){let e=x.getAttribute("data-index");return e?window.parseInt(e):null}$("arcgis-coordinate-conversion",w);return w},"applications/Components/formatUtils","geometry/Point","widgets/CoordinateConversion/support/Conversion","widgets/CoordinateConversion/CoordinateConversionViewModel",a,c,d,e)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import b from"./
|
|
2
|
+
import b from"./G7AAB5J7.js";import"./5GFBHLDY.js";import"./42UVPIOD.js";import"./QUZTFUWM.js";import"./QLIWDFZI.js";import{N as a,P as c,T as l,a as r,b as n}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";export default $arcgis.t(([p])=>{var h=r`:host{display:contents}.root{position:absolute}`,e=class extends a{constructor(){super(...arguments),this.trackLocation=!1,this.screenLocation=p(this)}static{this.properties={trackLocation:5,screenLocation:32,label:1,location:0,view:0}}static{this.styles=h}_getPositionStyles(){let{screenLocation:t,view:o}=this;if(o==null||t==null)return{};let{padding:i}=o,s=16;return{"--calcite-loader-size":`${s}px`,left:`${t.x-(i.left??0)-s/2}px`,top:`${t.y-(i.top??0)-s/2}px`}}render(){return this.screenLocation?n`<calcite-loader class="root" .label=${this.label??""} inline style=${c(this._getPositionStyles())}></calcite-loader>`:null}};l("arcgis-spinner",e);return e},b)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./34IPKNHM.js";import"./QLIWDFZI.js";import{N as l,T as h,b as r,w as n}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";export default $arcgis.t(([{b:d}])=>{var o=class extends l{constructor(){super(...arguments),this.#e={access:void 0,description:void 0,featureServerUrl:"",ownerName:void 0,versionName:void 0,versionIdentifier:{name:"",guid:""}},this.#t={access:"public",description:"",featureServerUrl:"",ownerName:"",versionName:""},this.#i=!0,this.mode="browse-versions",this.arcgisInternalAlterVersion=n(),this.arcgisInternalCreateVersion=n(),this.arcgisInternalDiscardEdits=n()}static{this.properties={_validationError:16,currentUser:1,editVersionInfo:0,featureServiceUrl:1,messages:0,mode:1}}#e;#t;#i;willUpdate(t){let{editVersionInfo:i,featureServiceUrl:e}=this;if(t.has("currentUser")&&(this.#t.ownerName=this.currentUser??""),t.has("featureServiceUrl")&&(this.#t.featureServerUrl=e??""),t.has("editVersionInfo")){let s=i?.versionIdentifier.name,a=s?.substring(0,s.lastIndexOf(".")),c=s?.substring(s.lastIndexOf(".")+1);this.#e={...this.#e,access:i?.access,description:i?.description,featureServerUrl:e??"",ownerName:a,versionName:c,versionIdentifier:i?.versionIdentifier??{name:"",guid:""}}}t.has("mode")&&this.#r()}#a(){this.arcgisInternalDiscardEdits.emit(),this.#r()}#s(t){let{mode:i}=this;switch(t.type){case"calciteChipGroupSelect":{let e=t.target.selectedItems[0].label;i==="create-version"&&(this.#t.access=e),i==="edit-version"&&(this.#e.access=e);break}case"calciteInputTextInput":{let e=t.target.name,s=t.target.value;i==="create-version"&&(e==="versionName"||e==="ownerName")&&(this.#t[e]=s),i==="edit-version"&&(e==="versionName"||e==="ownerName")&&(this.#e[e]=s);break}case"calciteTextAreaInput":{let e=t.target.value;i==="create-version"&&(this.#t.description=e),i==="edit-version"&&(this.#e.description=e);break}}}#c(){let{messages:t,mode:i}=this,e=i==="create-version"?this.#t?.versionName?.trim()??"":this.#e?.versionName?.trim()??"",s=d(e),a=[".",";","'",'"'].some(c=>e.includes(c));if(s){this._validationError=t?.validationErrors.emptyVersionName;return}if(a){this._validationError=t?.validationErrors.invalidCharacters;return}i==="create-version"&&this.arcgisInternalCreateVersion.emit({createVersionParameters:this.#t,switchToVersion:this.#i}),i==="edit-version"&&this.arcgisInternalAlterVersion.emit({alterVersionParameters:this.#e}),this.#r()}#n(t){this.#i=t.target.checked}#r(){this.#t={...this.#t,access:"public",description:"",ownerName:this.currentUser,versionName:""},this.editVersionInfo=void 0,this.#i=!0,this._validationError=void 0}render(){let{_validationError:t,currentUser:i,messages:e,mode:s}=this,a=r`<calcite-label>${e?.input.versionName}<calcite-input-text max-length=62 name=versionName .value=${s==="create-version"?this.#t?.versionName:this.#e?.versionName} @calciteInputTextInput=${this.#s}></calcite-input-text></calcite-label>`,c=r`<calcite-label>${e?.input.versionDescription}<calcite-text-area limit-text max-length=64 name=description resize=none rows=2 scale=s .value=${s==="create-version"?this.#t?.description:this.#e?.description} @calciteTextAreaInput=${this.#s}></calcite-text-area></calcite-label>`,v=r`<calcite-label>${e?.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this.#s} selection-mode=single-persist><calcite-chip .selected=${this.#e.access==="public"||s==="create-version"} label=public>${e?.accessLevels.public}</calcite-chip><calcite-chip .selected=${this.#e.access==="protected"} label=protected>${e?.accessLevels.protected}</calcite-chip><calcite-chip .selected=${this.#e.access==="private"} label=private>${e?.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,p=r`<calcite-label>${e?.input.versionOwner}<calcite-input-text name=ownerName .value=${s==="create-version"?i:this.#e.ownerName} @calciteInputTextInput=${this.#s}></calcite-input-text></calcite-label>`,m=s==="create-version"?r`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this.#n}></calcite-checkbox>${e?.actions.switchToVersion}</calcite-label>`:void 0,u=t?r`<calcite-notice closable kind=warning open scale=s width=full @calciteNoticeClose=${()=>{this._validationError=void 0}}><div slot=message>${t}</div></calcite-notice>`:void 0,b=r`<calcite-button appearance=outline slot=footer width=full @click=${this.#a}>${e?.actions.cancelSave}</calcite-button><calcite-button appearance=solid slot=footer width=full @click=${this.#c}>${e?.actions.saveVersion}</calcite-button>`;return r`<calcite-panel><calcite-block expanded .label=${e?.headers.versionProperties}>${a}${c}${v}${p}${m}${u}</calcite-block>${b}</calcite-panel>`}};h("arcgis-version-management-version-properties",o);return o},a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{N as o,T as d,a as s,b as t}from"./
|
|
2
|
+
import{N as o,T as d,a as s,b as t}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:c}])=>{var n=s`.table{display:flex;flex-direction:column;border-top:1px solid var(--calcite-color-border-1)}.row{display:flex;flex-direction:row;border-bottom:1px solid var(--calcite-color-border-1);border-right:1px solid var(--calcite-color-border-1)}.data{flex:1;border-left:1px solid var(--calcite-color-border-1);padding:5px}.empty-state{width:100%;max-inline-size:unset;transition-duration:0ms;margin-top:var(--calcite-spacing-md)}`,e=class extends o{constructor(){super(...arguments),this._disabled=!1,this._hasMetadata=!1,this._missionInfo={},this._platformInfo={},this._frameInfo={}}static{this.properties={_disabled:16,_hasMetadata:16,_missionInfo:16,_platformInfo:16,_frameInfo:16,viewModel:0,messages:0}}static{this.styles=n}loaded(){this.manager.onLifecycle(()=>[c(()=>this.viewModel.state,a=>{this._disabled=a==="not-ready"||a==="waiting"},{initial:!0}),c(()=>[this.viewModel.metadata?.missionInfo,this.viewModel.metadata?.platformInfo,this.viewModel.metadata?.frameInfo],()=>{let{metadata:a}=this.viewModel;if(this._hasMetadata=!!a,!this._hasMetadata)return;let{missionInfo:i,platformInfo:r,frameInfo:l}=a;this._missionInfo=i,this._platformInfo=r,this._frameInfo=l},{initial:!0})])}render(){let{messages:a}=this;return this._disabled||!this._hasMetadata?t`<calcite-tile class="empty-state" .description=${a.metadataDescription} .heading=${a.metadataNotLoaded}></calcite-tile>`:t`<calcite-block .heading=${a.metadata} expanded><calcite-accordion appearance=solid selection-mode=single><calcite-accordion-item .heading=${a.missionInfo}><div class="table">${Object.keys(this._missionInfo).map(i=>t`<div class="row"><div class="data">${i}</div><div class="data">${this._missionInfo[i]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${a.platformInfo}><div class="table">${Object.keys(this._platformInfo).map(i=>t`<div class="row"><div class="data">${i}</div><div class="data">${this._platformInfo[i]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${a.frameInfo}><div class="table">${Object.keys(this._frameInfo).map(i=>t`<div class="row"><div class="data">${i}</div><div class="data">${this._frameInfo[i]}</div></div>`)}</div></calcite-accordion-item></calcite-accordion></calcite-block>`}};d("arcgis-video-player-metadata",e);return e},"core/reactiveUtils")
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as d}from"./
|
|
2
|
+
import{a as d}from"./RDWM76R2.js";import j from"./G3GFYB3W.js";import{a as b}from"./NDMHZQ2Z.js";import i from"./K3VQUQ6I.js";import h from"./NFE73D6R.js";import{g as v}from"./5GFBHLDY.js";import"./42UVPIOD.js";import e from"./34IPKNHM.js";import"./QUZTFUWM.js";import"./QLIWDFZI.js";import{N as g,Q as r,T as f,a as u,b as a,w as c}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";export default $arcgis.t(([{substitute:y,formatNumber:O},$,,,,m])=>{var M=u`:host{width:100%;display:flex;>*{align-items:center;align-self:center;height:100%;width:100%}}.root{display:flex;flex-direction:column}calcite-action-bar[layout=horizontal]{width:100%;calcite-chip{margin-inline-start:auto}}calcite-action-bar[layout=vertical]{height:100%;calcite-chip{margin-block-start:auto}}calcite-action-bar slot{align-items:center}calcite-dropdown:has(calcite-action:not([text-enabled])){align-self:center}calcite-action:not([text-enabled]){align-self:center}calcite-chip{display:flex;align-self:center;line-height:initial}calcite-dropdown{calcite-icon{margin-inline-start:var(--calcite-space-2xs)}}calcite-chip[closed]{display:inline-flex}calcite-progress{--calcite-progress-background-color: transparent}`,T={replace:"overwrite-features",add:"cursor-plus",remove:"cursor-minus"},S=m($),p=class extends g{constructor(){super(...arguments),this.viewModel=S(this),this.messages=b(),this.autoDestroyDisabled=!1,this.disabled=!1,this.icon="selection-set",this.view=this.viewModel.view,this.activeOperation=this.viewModel.activeOperation,this.availableOperationTypes=["replace","add","remove"],this.continuousSelectionEnabled=this.viewModel.continuousSelectionEnabled,this.defaultLassoToolOptions=this.viewModel.defaultLassoToolOptions,this.defaultOperationType=this.viewModel.defaultOperationType,this.defaultPointToolOptions=this.viewModel.defaultPointToolOptions,this.defaultRectangleToolOptions=this.viewModel.defaultRectangleToolOptions,this.effectiveSelectionManager=this.viewModel.effectiveSelectionManager,this.effectiveSources=this.viewModel.effectiveSources,this.hideChip=!1,this.hideLassoTool=!1,this.hideOperationTypeControls=!1,this.hidePanTool=!1,this.hidePointTool=!1,this.hideProgress=!1,this.hideRectangleTool=!1,this.layout="horizontal",this.returnFeatureTitleFields=this.viewModel.returnFeatureTitleFields,this.selectionManager=this.viewModel.selectionManager,this.showTextLabels=!1,this.sources=this.viewModel.sources,this.toolConfigs=this.viewModel.toolConfigs,this.visualScale="m",this.arcgisBeforeActivate=c(),this.arcgisComplete=c(),this.arcgisPropertyChange=v()("activeOperation","state"),this.arcgisReady=c(),this.arcgisSelectionChange=c()}static{this.properties={_effectiveDisabled:16,_effectiveOperationType:16,_processing:16,autoDestroyDisabled:5,disabled:7,icon:1,label:1,referenceElement:1,view:0,activeOperation:32,availableOperationTypes:0,continuousSelectionEnabled:5,defaultLassoToolOptions:0,defaultOperationType:1,defaultPointToolOptions:0,defaultRectangleToolOptions:0,effectiveSelectionManager:32,effectiveSources:32,hideChip:5,hideLassoTool:5,hideOperationTypeControls:5,hidePanTool:5,hidePointTool:5,hideProgress:5,hideRectangleTool:5,layerViewPreferenceDisabled:5,layout:1,returnFeatureTitleFields:5,returnGeometryDisabled:5,selectionManager:0,showTextLabels:5,sources:0,state:32,syncResultsDisabled:5,syncWhileDrawing:5,toolConfigs:0,visualScale:1}}static{this.styles=M}get _effectiveDisabled(){return this.disabled||this.state==="disabled"}get _effectiveOperationType(){return this.activeOperation?.effectiveType||this.defaultOperationType}get _processing(){return!!this.activeOperation?.processingFinalSelection}get layerViewPreferenceDisabled(){return!this.viewModel.layerViewPreferenceEnabled}set layerViewPreferenceDisabled(e){this.viewModel.layerViewPreferenceEnabled=!e}get returnGeometryDisabled(){return!this.viewModel.returnGeometry}set returnGeometryDisabled(e){this.viewModel.returnGeometry=!e}get state(){return this.viewModel.state}get syncResultsDisabled(){return!this.viewModel.persistSelection}set syncResultsDisabled(e){this.viewModel.persistSelection=!e}get syncWhileDrawing(){return!this.viewModel.selectOnComplete}set syncWhileDrawing(e){this.viewModel.selectOnComplete=!e}async activate(e){if(this.cancel(),!this._effectiveDisabled)return this.viewModel.activate(e)}async activateTool(e){if(!this._effectiveDisabled)return this.viewModel.activateTool(e)}async cancel(){this.viewModel.cancel()}async destroy(){this.viewModel?.destroy()}async toggleTool(e){if(!this._effectiveDisabled)return this.viewModel.toggleTool(e)}_getLabelForSelectionOperationType(e){let{messages:t}=this;switch(e){case"replace":return t?.replaceSelection;case"add":return t?.addToSelection;case"remove":return t?.removeFromSelection}}_getTextForSelectionOperationType(e){let{messages:t}=this;switch(e){case"replace":return t?.replace;case"add":return t?.add;case"remove":return t?.remove}}_getTextForChip(){let{effectiveSelectionManager:e,layout:t,messages:i,visualScale:s}=this,o=e?.count??0,l=s==="l"?999:99;return i.countTruncated&&o>l&&t==="vertical"?y(i.countTruncated,{count:l}):O(o)}#i(){if(this.hideProgress)return;let e=this.messages.processing;return a`<calcite-progress aria-label=${e??r} .label=${e} .type=${this._processing?"indeterminate":"determinate"}></calcite-progress>`}#s(){return d("tools-group",a`<calcite-action-group>${this.#o()}${this.#a()}</calcite-action-group>`)}#o(){return[this.#l(),this.#r(),this.#h(),this.#n()]}#a(){return this.toolConfigs.map(({toolName:e,icon:t})=>this.#e(e,t))}#l(){if(this.hidePanTool)return;let e=this.messages.pan??"";return this.#t({active:!this.activeOperation,disabled:this._effectiveDisabled,icon:"pan",onclick:()=>this.cancel(),text:e,title:e})}#c(){if(this.hideChip)return;let{effectiveSelectionManager:e,messages:t}=this,i=e?.count??0,s=this._getTextForChip(),o=t.clearSelectionCount?y(t.clearSelectionCount,{count:i}):void 0;return a`<calcite-chip appearance=outline .closable=${i>0} .disabled=${this._effectiveDisabled||i===0} .label=${s} .scale=${this.visualScale} title=${o??r} @calciteChipClose=${()=>e?.clear()}>${s}</calcite-chip>`}#r(){if(this.hidePointTool)return;let{messages:e}=this;return this.#e("point","selection-set",e.point,e.selectByPoint)}#n(){if(this.hideLassoTool)return;let{messages:e}=this;return this.#e("lasso","lasso-select",e.lasso,e.selectByLasso)}#h(){if(this.hideRectangleTool)return;let{messages:e}=this;return this.#e("rectangle","cursor-marquee",e.rectangle,e.selectByRectangle)}#d(){let{availableOperationTypes:e}=this;if(this.hideOperationTypeControls||!e.length)return;let{_effectiveOperationType:t,showTextLabels:i,visualScale:s}=this,o=T[t],l=this._getTextForSelectionOperationType(t),n=this._getLabelForSelectionOperationType(t);return d("toggle-group",a`<calcite-action-group><calcite-dropdown overlay-positioning=fixed placement=bottom-start .scale=${s}><calcite-action class=tool-button .disabled=${this._effectiveDisabled} .icon=${o} .scale=${s} slot=trigger .text=${l??""} .textEnabled=${i} title=${n??r}><calcite-icon icon=chevron-down scale=s></calcite-icon></calcite-action><calcite-dropdown-group>${e.map(h=>this.#p(h))}</calcite-dropdown-group></calcite-dropdown></calcite-action-group>`)}#p(e){return a`<calcite-dropdown-item .iconStart=${T[e]} .selected=${this.defaultOperationType===e} @calciteDropdownItemSelect=${()=>this.defaultOperationType=e}>${this._getLabelForSelectionOperationType(e)}</calcite-dropdown-item>`}#e(e,t="selection",i=e,s=i){return this.#t({active:this.activeOperation?.toolName===e,disabled:this._effectiveDisabled,icon:t,onclick:()=>this.toggleTool(e),text:i,title:s})}#t(e){let{active:t,disabled:i,icon:s,onclick:o,text:l,title:n}=e,{showTextLabels:h,visualScale:w}=this;return a`<calcite-action .active=${t} class=tool-button .disabled=${i} .icon=${s} @click=${o} .text=${l} .textEnabled=${h} title=${n??r} .scale=${w}></calcite-action>`}render(){return a`<div><calcite-action-bar expand-disabled .layout=${this.layout} overflow-actions-disabled .scale=${this.visualScale}>${this.#d()}${this.#s()}${this.#c()}</calcite-action-bar>${this.#i()}</div>`}};f("arcgis-selection-toolbar",p);return p},"intl","widgets/support/SelectionToolbar/SelectionToolbarViewModel",e,h,i,j)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import j from"./
|
|
2
|
+
import j from"./BMVELPGD.js";import{a as P}from"./BIU6VS3K.js";import i from"./FR3DD5XU.js";import"./VJVKFKSG.js";import g from"./G3GFYB3W.js";import{a as C}from"./NDMHZQ2Z.js";import{a as u}from"./JD74LG7K.js";import e from"./K3VQUQ6I.js";import c from"./NFE73D6R.js";import{g as M}from"./5GFBHLDY.js";import"./42UVPIOD.js";import a from"./34IPKNHM.js";import"./QUZTFUWM.js";import{d as _}from"./QLIWDFZI.js";import{L as v,M as b,N as w,O as d,Q as y,T as E,a as f,b as p,w as h}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:$},{property:c,subclass:G},D,{onLocaleChange:z},B,I,,,,T,{d:O},{a:S,b:L}])=>{var k=f`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);calcite-button{--calcite-offset-invert-focus: 1}display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}}:host{width:fit-content;height:fit-content}`,A=Object.defineProperty,R=Object.getOwnPropertyDescriptor,s=(e,t,i,a)=>{for(var o=a>1?void 0:a?R(t,i):t,l=e.length-1,n;l>=0;l--)(n=e[l])&&(o=(a?n(t,i,o):n(o))||o);return a&&o&&A(t,i,o),o},U=new I({icon:"trash",id:"remove-selected-feature",title:"{messages.remove}"})._internalSetClassName("esri-icon-trash");function j(e){return new B({title:e.currentLocation,fieldInfos:[{fieldName:"timestamp",label:e.timestamp,format:{dateFormat:"short-date-short-time"}},{fieldName:"latitude",label:e.latitude,format:{places:4,digitSeparator:!0}},{fieldName:"longitude",label:e.longitude,format:{places:4,digitSeparator:!0}},{fieldName:"accuracy",label:e.accuracy,format:{places:0,digitSeparator:!0}},{fieldName:"altitude",label:e.altitude,format:{places:0,digitSeparator:!0}},{fieldName:"altitudeAccuracy",label:e.altitudeAccuracy,format:{places:0,digitSeparator:!0}},{fieldName:"heading",label:e.heading,format:{places:0,digitSeparator:!0}},{fieldName:"speed",label:e.speed,format:{places:0,digitSeparator:!0}}],actions:[U.clone()],content:[{type:"fields"}]})}var r=class extends L{constructor(e){super(e),this._getCurrentPosition=S,this.popupEnabled=!0,this.locate=this.locate.bind(this)}initialize(){this.addHandles([z(()=>{let{graphic:e,view:t}=this;e&&t?.graphics?.includes(e)&&this._updatePopupTemplate(e)})])}destroy(){this.cancelLocate()}get state(){return this._geolocationUsable?this.view?.ready?this._locateController?"locating":this.error!=null?"error":"ready":"disabled":"feature-unsupported"}async locate(){if(this.cancelLocate(),this.state==="disabled")throw new D("locate:disabled-state","Cannot locate when disabled.");if(this.state==="feature-unsupported")throw new D("locate:feature-unsupported-state","Cannot locate in unsecure domain.");let e=new AbortController;this._locateController=e,this.error=void 0;try{let t=await this._getCurrentPosition(this.geolocationOptions);if(await this.updatePosition(t,e),this._locateController!==e)return null;let{graphic:i}=this;return i&&this._updatePopupTemplate(i),this._addGraphic(),this.currentPosition=t,this._locateController=void 0,t}catch(t){if(O(t))return null;throw e===this._locateController&&(this._locateController=void 0),this.error=t,t}}cancelLocate(){this._clearGraphic(),this._locateController&&this._locateController.abort(),this._locateController=void 0}_updatePopupTemplate(e){if(!this.popupEnabled)return;let t=j(this.messages),i=e!==this.graphic;this.destroyed||i||(e.popupTemplate=t)}};s([c()],r.prototype,"_locateController",2);s([c()],r.prototype,"currentPosition",2);s([c()],r.prototype,"error",2);s([c()],r.prototype,"messages",2);s([c()],r.prototype,"popupEnabled",2);s([c({readOnly:!0})],r.prototype,"state",1);r=s([G("map-components.locate.LocateViewModel")],r);var N="gps-off",V=T(r),m=class extends w{constructor(){super(),this.locateButtonElement=v(),this.messages=C(),this.viewModel=V(this),this.hideErrorTooltip=()=>{this.isErrorTooltipOpen=!1},this.isErrorTooltipOpen=!1,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=N,this.popupDisabled=this.viewModel.popupEnabled,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.visualScale="m",this.arcgisError=h(),this.arcgisPropertyChange=M()("state"),this.arcgisReady=h(),this.arcgisSuccess=h(),this.listenOn(document,"click",this.hideErrorTooltip)}static{this.properties={isErrorTooltipOpen:16,view:0,autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:1,label:1,messageOverrides:0,popupDisabled:5,referenceElement:1,scale:9,state:32,visualScale:1}}static{this.styles=k}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}loaded(){this.viewModel.messages={...this.messages,...this.messageOverrides},this.manager.onLifecycle(()=>[$(()=>this.viewModel.error,t=>{this.isErrorTooltipOpen=!!t,this.arcgisError.emit({error:t})}),$(()=>this.viewModel.currentPosition,t=>{this.arcgisSuccess.emit({position:t})})])}_localizeError(t){if(t instanceof GeolocationPositionError)return t.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:t.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(t instanceof Error)return t.message}_locate(){let{viewModel:t}=this;t.state==="locating"?t.cancelLocate():t.locate().catch(()=>{})}render(){let{viewModel:t,icon:i}=this,{state:a}=t,o=a==="locating",l=o?this.messages.cancel:this.messages.title,n=a==="feature-unsupported",x=P===void 0?N:void 0,g=this._localizeError(this.viewModel?.error);return p`<div class=${d(_("root",u.arcgisButton))}>${!n&&p`<calcite-button class=${d(u.widgetButton)} .disabled=${a==="disabled"} .loading=${o} .iconStart=${o?void 0:i??x} kind=neutral .label=${l} @click=${this._locate} .scale=${this.visualScale} title=${l??y} ${b(this.locateButtonElement)}></calcite-button>`||""}${g?p`<calcite-tooltip .open=${this.isErrorTooltipOpen} overlay-positioning=fixed .referenceElement=${this.locateButtonElement.value}>${g}</calcite-tooltip>`:null}</div>`}};E("arcgis-locate",m);return m},"core/reactiveUtils","core/accessorSupport/decorators","core/Error","intl","PopupTemplate","support/actions/ActionButton",a,c,e,g,i,j)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import b from"./
|
|
2
|
+
import b from"./PGOXXWOQ.js";import a from"./FR3DD5XU.js";import"./VJVKFKSG.js";import{N as f,Q as v,T as w,a as m,b as y}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";export default $arcgis.t(([g,$,{property:o,subclass:E},{watch:V,on:D},{d:C},{a:L,b:S}])=>{var k=Object.defineProperty,N=Object.getOwnPropertyDescriptor,d=(e,t,i,r)=>{for(var s=r>1?void 0:r?N(t,i):t,l=e.length-1,a;l>=0;l--)(a=e[l])&&(s=(r?a(t,i,s):a(s))||s);return r&&s&&k(t,i,s),s},n=class extends ${constructor(e){super(e),this.id="root",this.children=new g,this.layers=new g,this.level=0,this.childIds=new Set,this.layerUniqueIds=new Set}initialize(){this.addHandles([this.layers.on("before-add",e=>{this.layerUniqueIds.has(e.item.uid)?e.preventDefault():this.layerUniqueIds.add(e.item.uid)}),this.layers.on("after-add",({item:e})=>{this.addHandles([V(()=>e.visible,()=>this.notifyChange("visible"),{initial:!0}),V(()=>e.title,()=>this.notifyChange("title"),{initial:!0})],e.uid)}),this.layers.on("before-remove",({item:e})=>{this.removeHandles(e.uid),this.notifyChange("title"),this.notifyChange("visible")}),this.children.on("before-add",e=>{this.childIds.has(e.item.id)?e.preventDefault():(e.item._set("parent",this),this.childIds.add(e.item.id))})])}destroy(){this.children.forEach(e=>e.destroy())}get hasChildren(){return this.children.length>0}get isDiscipline(){return this.level===1}get visible(){return O(this.layers,e=>e.visible)}get title(){return O(this.layers,e=>e.title)||this.layers.map(e=>e.title).join(", ")||null}toggleVisibility(e){let t=e===void 0?!this.visible:e;this.layers.forEach(i=>{i.visible=t}),t&&this.parent!=null&&this.parent.toggleVisibility(!0)}toggleAllSiblingsVisibility(e){let t=e===void 0?!this.visible:e;this.toggleVisibility(t),this.parent!=null&&(this.parent.toggleVisibility(t),this.parent.children.forEach(i=>i.toggleVisibility(t)))}};d([o({})],n.prototype,"id",2);d([o()],n.prototype,"parent",2);d([o({readOnly:!0})],n.prototype,"children",2);d([o({readOnly:!0})],n.prototype,"layers",2);d([o({})],n.prototype,"level",2);d([o({readOnly:!0})],n.prototype,"hasChildren",1);d([o({readOnly:!0})],n.prototype,"isDiscipline",1);d([o({readOnly:!0})],n.prototype,"visible",1);d([o({readOnly:!0})],n.prototype,"title",1);n=d([E("esri.widgets.BuildingExplorer.support.LayerTreeNode")],n);function O(e,t){let i=null;for(let r of e){let s=t(r);if(i!=null&&i!==s)return null;i=s}return i}var A=Object.defineProperty,I=Object.getOwnPropertyDescriptor,_=e=>{throw TypeError(e)},p=(e,t,i,r)=>{for(var s=r>1?void 0:r?I(t,i):t,l=e.length-1,a;l>=0;l--)(a=e[l])&&(s=(r?a(t,i,s):a(s))||s);return r&&s&&A(t,i,s),s},T=(e,t,i)=>t.has(e)||_("Cannot "+i),u=(e,t,i)=>(T(e,t,"read from private field"),i?i.call(e):t.get(e)),F=(e,t,i)=>t.has(e)?_("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,i),c,h=class extends ${constructor(e){super(e),this.root=new n,F(this,c,new g),this.state="disabled",this.loadLayers=L()}initialize(){this.addHandles(D(()=>this.layers,"change",()=>{this._onLayersChange()},{onListenerAdd:()=>{this._onLayersChange()},onListenerRemove:()=>{this._onLayersChange()}})),this._onLayersChange()}destroy(){this._set("state","disabled"),this.root.destroy()}get layers(){return u(this,c)}set layers(e){u(this,c).removeAll(),u(this,c).addMany(e)}updateLayerTree(){this.root.destroy(),this._set("root",new n);let e=new Map,t=this.layers.length>1?"modelName":"id";return this.layers.forEach(i=>{let r=S(i);this.addNodesForSublayers(r??i,this.root,e,t)}),this}addNodeForLayer(e,t,i,r){let s=String(e[r]).toLowerCase();if(s==null||e.isEmpty)return;let l=`${t.id}/${s}`,a=i.get(l);a||(a=new n({id:s,level:t.level+1}),i.set(l,a)),a.layers.push(e),t.children.push(a),this.addNodesForSublayers(e,a,i,r)}addNodesForSublayers(e,t,i,r){(e.type==="building-scene"||e.type==="building-group"&&!e.isEmpty)&&e.sublayers.forEach(s=>this.addNodeForLayer(s,t,i,r))}async _onLayersChange(){if(this._set("state","loading"),this.layers.length!==0)try{await this.loadLayers(this.layers),this.updateLayerTree(),this._set("state","ready")}catch(e){C(e)||this._set("state","failed")}}};c=new WeakMap;p([o()],h.prototype,"root",2);p([o()],h.prototype,"layers",1);p([o()],h.prototype,"state",2);h=p([E("esri.components.BuildingExplorer.BuildingDisciplinesViewModel")],h);var P=m`.label{--calcite-label-margin-bottom: 0}`,b=class extends f{constructor(){super(...arguments),this.#e=new h,this.toggleSiblingsVisibility=!1}static{this.properties={layers:0,messages:0,toggleSiblingsVisibility:5}}static{this.styles=P}#e;get layers(){return this.#e.layers.toArray()}set layers(t){this.#e.layers=new g(t)}render(){let t=this.messages,i=this.#e;return t==null?null:y`<calcite-tree lines selection-mode=none>${x({node:i.root,messages:t})}</calcite-tree>`}};function j(e){let t=e.node,i=t.visible===!0,r=t.visible===null,s=i?e.messages.hideSublayer:e.messages.showSublayer;return y`<calcite-tree-item><calcite-label class="label" layout=inline><calcite-checkbox .checked=${i} .indeterminate=${r} .label=${s} @click=${l=>{l.stopPropagation(),(l.metaKey||l.ctrlKey)&&e.toggleSiblingsVisibility&&(t.toggleVisibility(),t.toggleAllSiblingsVisibility())}} title=${s??v} @calciteCheckboxChange=${l=>{t.toggleVisibility(l.currentTarget.checked)}}></calcite-checkbox>${e.node.title}</calcite-label>${e.node.hasChildren?y`<calcite-tree lines selection-mode=none slot=children>${x({node:e.node,messages:e.messages})}</calcite-tree>`:null}</calcite-tree-item>`}function x(e){return e.node.children.toArray().reverse().map(t=>j({node:t,messages:e.messages,toggleSiblingsVisibility:e.toggleSiblingsVisibility}))}w("arcgis-building-discipline-tree",b);return b},"core/Collection","core/Accessor","core/accessorSupport/decorators","core/reactiveUtils",a,b)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import a from"./MZWO5JYA.js";import{a as N}from"./
|
|
2
|
+
import a from"./MZWO5JYA.js";import{a as N}from"./NDMHZQ2Z.js";import"./5GFBHLDY.js";import"./42UVPIOD.js";import"./QUZTFUWM.js";import"./QLIWDFZI.js";import{N as P,T as C,a as I,b as w,o as c,q as y,w as T}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";export default $arcgis.t(([E,L,u,G,A,M,S,x,{c:v,f:$}])=>{var U=I`calcite-block{--calcite-block-content-space: 0;--calcite-block-border-color: transparent;margin:0}.add-location-button{--calcite-button-border-color: var(--calcite-color-border-1);--calcite-button-icon-color: var(--calcite-color-text-1);--calcite-button-text-color: var(--calcite-color-text-1)}.button-container{display:flex;justify-content:center}`,k=class extends P{constructor(){super(...arguments),this._messages=N({blocking:!0}),this._isSelectWaiting=!1,this.traceLocationType="starting-point",this.spatialTolerance=.05,this.autoDestroyDisabled=!1,this.arcgisTraceLocationChange=T(),this.arcgisTraceLocationSelectEnd=T(),this.arcgisTraceLocationSelectStart=T()}static{this.properties={_isSelectWaiting:16,beforeTraceLocationSelectStart:0,afterHitTest:0,view:0,traceLocationType:1,traceLocations:0,filterLayers:0,sketchViewModel:0,spatialTolerance:9,autoDestroyDisabled:5,utilityNetwork:0}}static{this.styles=U}#e;async destroy(){this.#i(),await this.manager.destroy()}async load(){u.isLoaded()||await u.load()}#r(t,e){let i=t.clone(),a=i.spatialReference,o=e.spatialReference;if(!a||!o)return c("warn",this,"Unable to calculate percent along because geometry is missing a spatial reference."),-1;let s=e;if(!a.equals(o)){let m=u.execute(e,a);if(!m)return c("warn",this,"Unable to project flag point to source geometry spatial reference."),-1;s=m}let l=G.getNearestCoordinate(i,s);if(l.isEmpty)return c("warn",this,"Unable to compute nearest coordinate for polyline flag."),-1;let r=l.coordinate,n=r.x-.5,p=r.y-.5,h=r.x+.5,g=r.y+.5,f=new A({hasZ:!1,hasM:!0,paths:[[[n,p],[h,g]]],spatialReference:i.spatialReference}),d=E.execute(i,f);if(d.length>0){let m=L.execute(i,{unit:"feet"}),b;return d[0].paths[0][0][0]===i.paths[0][0][0]?b=L.execute(d[0],{unit:"feet"}):d.length>1?b=L.execute(d[1],{unit:"feet"}):b=0,b/m}return c("warn",this,"Unable to cut the source geometry with the flag geometry."),-1}get#a(){let t=this.utilityNetwork?.dataElement?.domainNetworks;return t?t.flatMap(e=>e.edgeSources).map(e=>e.layerId).filter(Boolean):[]}async#o(){let{view:t,sketchViewModel:e}=this;if(!(t&&e)){c("error",this,"Cannot add trace location."),e||c("error",this,y("sketchViewModel")),t||c("error",this,y("view"));return}if(this.beforeTraceLocationSelectStart){this._isSelectWaiting=!0;try{await this.beforeTraceLocationSelectStart()}finally{this._isSelectWaiting=!1}}await this.#t(t,e)}async#t(t,e){this.arcgisTraceLocationSelectStart.emit({cancelSelect:()=>e.cancel()}).defaultPrevented||(this.#e?.remove(),this.#e=e.on("create",i=>this.#s(i,t,e)),"acquireCursor"in t&&t.acquireCursor("crosshair"),e.snappingOptions.enabled=!0,e.create("point"))}#s(t,e,i){if(t.state==="complete"&&t.graphic){i.layer.remove(t.graphic),this.#n(t,e,i);return}t.state==="cancel"&&(this.#i(),this.arcgisTraceLocationSelectEnd.emit())}async#n(t,e,i){let{utilityNetwork:a}=this,{graphic:o}=t;if(!a){c("error",this,y("utilityNetwork")),this.#i(),this.arcgisTraceLocationSelectEnd.emit();return}if(o?.geometry?.type!=="point"){c("warn",this,"No screen point available for hit test."),this.#t(e,i);return}let s=o.geometry,l=e.toScreen(s);if(!l){c("warn",this,"No screen point available for hit test."),this.#t(e,i);return}let r=(await e.hitTest(l,{include:this.filterLayers})).results.filter(n=>n.type==="graphic"&&n?.layer&&n.graphic);if(!r.length){c("info",this,"No usable hit test results found."),this.#t(e,i);return}this.#i(),await this.#c(r,s,e)?this.arcgisTraceLocationSelectEnd.emit():this.#t(e,i)}#i(){let{view:t,sketchViewModel:e}=this;if(!t){c("error",this,y("view"));return}e&&(e.snappingOptions.enabled=!1),this.#e?.remove(),this.#e=void 0,"acquireCursor"in t&&t.acquireCursor("default")}async#c(t,e,i){if(!t.length)return c("error",this,"There are no hit test results to process."),!1;let a=t[0].graphic;if(this.afterHitTest){let s=t.map(l=>{let r=l,n=r.graphic;return n.origin=r.layer,n.sourceLayer=r.layer,n});try{a=await this.afterHitTest(s)}catch{a=null}}if(!a)return c("error",this,"No graphic available from hit test results."),this.arcgisTraceLocationSelectEnd.emit(),!0;let o=await this.#l(a);return o?await this.#p(o,e,i):(c("error",this,"Unable to ensure necessary attributes on the selected graphic."),this.arcgisTraceLocationSelectEnd.emit(),!0)}async#l(t){let e=(v(t.layer),t.layer),i=e.geometryType===null,a=e.fieldsIndex?.get("assetgroup")??!1,o=e.fieldsIndex?.get("assetgroup")?.name??"assetgroup",s=e.fieldsIndex?.get("assettype")??!1,l=e.fieldsIndex?.get("assettype")?.name??"assettype",r=t.getGlobalId(),n=t.getObjectId(),p=a?!!t.getAttribute(o):!0,h=s?!!t.getAttribute(l):!0,g=!!t.geometry;if(r&&n&&p&&h&&(g||i))return t;let f=e.createQuery();return f.objectIds=[n],(await e.queryFeatures(f)).features[0]||null}async#p(t,e,i){let{traceLocations:a}=this,o=t.getGlobalId()??"",s=t.geometry?.type,l=await this.#h(t,e);if(!l)return c("error",this,"Unable to generate flag info for trace location."),!1;let r=a?.filter(p=>p.spatialProperties.mapGraphic?.getGlobalId()===o)??[];if(r.length>0){if(s!=="polyline")return c("warn",this,"A flag with the same globalId already exists."),!1;if(r.some(p=>Math.abs(p.traceLocation.percentAlong-l.traceLocation.percentAlong)<=this.spatialTolerance))return c("warn",this,"A flag with the same globalId already exists within tolerance."),!1}let n=this.#g(t,e,i);return n?(l.spatialProperties.flagGraphic=n,a?.add(l),!0):(c("warn",this,"Unable to add flag graphic."),!1)}async#h(t,e){let{traceLocationType:i,utilityNetwork:a}=this,o=t.getGlobalId()??"",s=t.geometry?.type,l=await this.#u(t);if(s==="point"||s==="polygon"){let r=a?.getTerminalConfiguration(t),n=r?r.terminals[0].id:1;return{traceLocation:new S({type:i,isFilterBarrier:!1,globalId:o,terminalId:n}),flagProperties:{title:l,expanded:!1,terminalConfiguration:r??void 0,selectedTerminals:r?new Set([n]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(s==="polyline"){let r=this.#r(t.geometry,e);return r<0?(c("warn",this,"Unable to calculate percent along for polyline flag."),null):{traceLocation:new S({type:i,isFilterBarrier:!1,globalId:o,percentAlong:r}),flagProperties:{title:l,expanded:!1,terminalConfiguration:void 0,selectedTerminals:void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}else if(!s){let r=$(t.layer)?t.layer.parent:t.layer,n=r&&this.#a.includes(r.layerId),p=a?.getTerminalConfiguration(t),h=p?p.terminals[0].id:n?-1:1,g=n?.5:-1;return{traceLocation:new S({type:i,isFilterBarrier:!1,globalId:o,terminalId:h,percentAlong:g}),flagProperties:{title:l,expanded:!1,terminalConfiguration:p??void 0,selectedTerminals:p?new Set([h]):void 0},spatialProperties:{mapPoint:e,mapGraphic:t}}}return null}async#u(t){let e=(v(t.layer),t.layer);return("getFeatureTitle"in e?await e.getFeatureTitle(t):null)||t.getObjectId()?.toString()||this._messages.unknown}#g(t,e,i){let a=t.geometry?t.geometry.type==="point"?t.geometry:e:null,o=this.#d(),s=new M({geometry:a,symbol:o,attributes:t.attributes});return i.graphics.add(s),s}#d(){let{traceLocationType:t}=this,e=[244,21,21,.6],i=[21,244,21,.6];return t==="stopping-point"?new x({color:e,style:"x",size:12,outline:{color:e,width:2}}):t==="barrier"?new x({color:e,style:"square",size:12,outline:{color:e,width:0}}):new x({color:i,style:"circle",size:12,outline:{color:i,width:0}})}#y(){let{view:t,traceLocations:e}=this;e?.forEach(i=>{i.spatialProperties.flagGraphic&&t&&t.graphics.remove(i.spatialProperties.flagGraphic)}),e?.removeAll()}#f(){let{traceLocationType:t,_messages:e,traceLocations:i,view:a}=this,o=t==="starting-point"?e.types.startingPoint:t==="barrier"?e.types.barrier:e.types.stoppingPoint,s=o.heading,l=o.description,r=o.buttonText;return w`<calcite-block .heading=${s} .label=${s} expanded .description=${l}>${i?.length?w`<calcite-button slot=actions-end appearance=transparent .label=${e.buttons.clear} @click=${()=>this.#y()}>${e.buttons.clear}</calcite-button><arcgis-utility-network-trace-location-list .traceLocations=${i} .traceLocationType=${t} .view=${a}></arcgis-utility-network-trace-location-list>`:null}<div class="button-container"><calcite-button .loading=${this._isSelectWaiting} class="add-location-button" icon-start=select appearance=outline .label=${r} @click=${()=>this.#o()}>${r}</calcite-button></div></calcite-block>`}render(){return w`<div class="root">${this.#f()}</div>`}};C("arcgis-utility-network-trace-location",k);return k},"geometry/operators/cutOperator","geometry/operators/lengthOperator","geometry/operators/projectOperator","geometry/operators/proximityOperator","geometry/Polyline","Graphic","rest/networks/support/TraceLocation","symbols/SimpleMarkerSymbol",a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{N as l,T as o,a as n,b as a}from"./
|
|
2
|
+
import{N as l,T as o,a as n,b as a}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";var g=n`:host{--arcgis-internal-legend-gap: var(--calcite-spacing-xxs);--arcgis-internal-legend-group-gap: var(--calcite-spacing-md);display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-gap)}.group{display:flex;flex-direction:column;gap:var(--arcgis-internal-legend-gap)}.group+.group,.group+arcgis-elevation-profile-legend-item,arcgis-elevation-profile-legend-item+.group{margin-block-start:calc(var(--arcgis-internal-legend-group-gap) - var(--arcgis-internal-legend-gap))}.group-title{color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-medium);text-align:start}`,s=class extends l{constructor(){super(...arguments),this._expandedLine=void 0,this.featureSelected=!1}static{this.properties={_expandedLine:16,effectiveDisplayUnits:0,featureSelected:5,messages:0,profiles:0,results:0}}static{this.styles=g}async destroy(){await this.manager.destroy()}_onToggleExpand(e){let i=e.detail;this._expandedLine=i===this._expandedLine?void 0:i}render(){let e=this.profiles?.toArray()??[],i=this.results??[],r=new Map(i.map(t=>[t.profile.id,t]));return r.size===0?a`<div></div>`:e?.map(t=>t.type==="group"?this._renderGroup(t,r):this._renderProfile(t,r))}_renderGroup(e,i){return a`<div class="group">${e.title?a`<div class="group-title">${e.title}</div>`:void 0}${e.profiles.toArray().map(r=>this._renderProfile(r,i))}</div>`}_renderProfile(e,i){return a`<arcgis-elevation-profile-legend-item .effectiveDisplayUnits=${this.effectiveDisplayUnits} .expanded=${e===this._expandedLine} .featureSelected=${this.featureSelected} .hideCheckbox=${(this.results?.length??0)<=1} .messages=${this.messages} @arcgisExpandedToggle=${this._onToggleExpand} .result=${i.get(e.id)}></arcgis-elevation-profile-legend-item>`}};o("arcgis-elevation-profile-legend",s);export{s as ArcgisElevationProfileLegend};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import d from"./6N5H4GYH.js";import c from"./RTXRLIYL.js";import b from"./AM3UJO3A.js";import{g as s}from"./CNA7TDZN.js";import"./VJMC3CMB.js";import a from"./LIBO3YUY.js";import"./QUZTFUWM.js";import"./M3DP7XNI.js";import{N as r,T as o,a as i,w as t}from"./QL3M4ZI7.js";import"./H6RQVSYM.js";export default $arcgis.t(([c,,,{a:a},l])=>{var d=i`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-item-list{width:100%}.esri-item-list__filter-container--sticky{z-index:1;position:sticky;top:0}.esri-item-list__group{margin-top:12px}.esri-item-list__scroller{overflow-y:auto}.esri-item-list__scroller{z-index:0;position:relative}.esri-item-list__scroller--enabled{max-height:420px}.esri-item-list__group__header{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-medium)}.esri-item-list__list-item{cursor:pointer;min-height:32px}.esri-item-list__list-item[class^=esri-icon-],.esri-item-list__list-item[class*=" esri-icon-"]{padding-inline-end:2.8px}.esri-item-list__list-item--disabled{cursor:default}.esri-item-list__list-item-icon{justify-content:center;align-items:center;min-width:32px;height:32px;display:flex}.esri-item-list__list-item-icon span{line-height:0}.esri-thumbnail-preview{background-position:50%;width:22px;height:22px}.esri-item-list__no-matches-message{justify-content:center;align-items:center;height:96px;display:flex}.esri-feature-templates{background:var(--calcite-color-background);width:100%}.esri-feature-templates__list-item-icon{flex:0;justify-content:center;align-items:center;width:48px;min-width:48px;display:flex}.esri-feature-templates__list-item-icon>div{display:flex}.esri-ui .esri-feature-templates{width:300px}.esri-ui .esri-widget .esri-feature-templates{width:100%}.esri-feature-templates .esri-item-list__scroller--enabled{max-height:var(--arcgis-feature-templates-max-list-height, 420px)}`,g=l(c),e=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.disabledItemFunction=this.viewModel.disabledItemFunction,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.items=this.viewModel.items,this.selectedItem=this.viewModel.selectedItem,this.view=this.viewModel.view,this.arcgisPropertyChange=s()("state"),this.arcgisReady=t(),this.arcgisSelect=a(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,disabledItemFunction:0,icon:1,label:1,layers:0,referenceElement:1,selectionMode:1,state:32,items:32,selectedItem:32,view:0}}static{this.styles=d}async destroy(){await this.manager.destroy()}select(n){this.widget.select(n)}};o("arcgis-feature-templates-legacy",e);return e},"widgets/FeatureTemplates",a,b,c,d)
|
|
2
|
+
import d from"./CL2BELDC.js";import c from"./K3VQUQ6I.js";import b from"./NFE73D6R.js";import{g as s}from"./5GFBHLDY.js";import"./42UVPIOD.js";import a from"./34IPKNHM.js";import"./QUZTFUWM.js";import"./QLIWDFZI.js";import{N as r,T as o,a as i,w as t}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";export default $arcgis.t(([c,,,{a:a},l])=>{var d=i`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-item-list{width:100%}.esri-item-list__filter-container--sticky{z-index:1;position:sticky;top:0}.esri-item-list__group{margin-top:12px}.esri-item-list__scroller{overflow-y:auto}.esri-item-list__scroller{z-index:0;position:relative}.esri-item-list__scroller--enabled{max-height:420px}.esri-item-list__group__header{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-medium)}.esri-item-list__list-item{cursor:pointer;min-height:32px}.esri-item-list__list-item[class^=esri-icon-],.esri-item-list__list-item[class*=" esri-icon-"]{padding-inline-end:2.8px}.esri-item-list__list-item--disabled{cursor:default}.esri-item-list__list-item-icon{justify-content:center;align-items:center;min-width:32px;height:32px;display:flex}.esri-item-list__list-item-icon span{line-height:0}.esri-thumbnail-preview{background-position:50%;width:22px;height:22px}.esri-item-list__no-matches-message{justify-content:center;align-items:center;height:96px;display:flex}.esri-feature-templates{background:var(--calcite-color-background);width:100%}.esri-feature-templates__list-item-icon{flex:0;justify-content:center;align-items:center;width:48px;min-width:48px;display:flex}.esri-feature-templates__list-item-icon>div{display:flex}.esri-ui .esri-feature-templates{width:300px}.esri-ui .esri-widget .esri-feature-templates{width:100%}.esri-feature-templates .esri-item-list__scroller--enabled{max-height:var(--arcgis-feature-templates-max-list-height, 420px)}`,g=l(c),e=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.disabledItemFunction=this.viewModel.disabledItemFunction,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.items=this.viewModel.items,this.selectedItem=this.viewModel.selectedItem,this.view=this.viewModel.view,this.arcgisPropertyChange=s()("state"),this.arcgisReady=t(),this.arcgisSelect=a(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,disabledItemFunction:0,icon:1,label:1,layers:0,referenceElement:1,selectionMode:1,state:32,items:32,selectedItem:32,view:0}}static{this.styles=d}async destroy(){await this.manager.destroy()}select(n){this.widget.select(n)}};o("arcgis-feature-templates-legacy",e);return e},"widgets/FeatureTemplates",a,b,c,d)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as A,b as D}from"./
|
|
2
|
+
import{a as A,b as D}from"./42UVPIOD.js";import{e as L,h as _}from"./QLIWDFZI.js";import{g as y,i as x,j as C,k as u,l as m,m as P,n as f,u as v,v as O,x as w}from"./ZJZBS5ZY.js";var N=e=>(...r)=>{let t=m(),o=new e(...r),s=o.exports;u(t.at(-1));let n=o.component.manager;n.W(o,s),o.watchExports(n.W.bind(n,o)),P(o);let a=[o.component,...t].reverse();return v(a,i=>i===void 0?void 0:R(o,i,s),s)},R=(e,{host:r,key:t,isReactive:o},s)=>{let n=r,a=n[t]!==e.exports,i=n[t]!==s,c=s!==e.exports;if(a&&!i&&c&&(n[t]=e.exports),r===e.component){if(o){let p=e.component.manager;i&&p.W(e,n[t]),e.onUpdate(h=>{if(h.has(t)){let E=n[t];E!==e.exports&&p.W(e,E)}})}e.O=o?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{n[t]!==e.exports&&(d?f(()=>{n[t]=e.exports}):n[t]=e.exports)})};var b=e=>j(void 0,e),se=e=>r=>j(r,e),g=class extends w{constructor(r,t){super(r);let o=this.exports;try{x(this.component);let s=t(this.component,this),n=this.exports!==o;if(y(s)){n||this.setProvisionalExports(s);let a=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i)});this.onLoad(async()=>await a)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this.P.reject(s)}}catchUpLifecycle(){}},j=N(g);var re=e=>b((r,t)=>{let o=globalThis.matchMedia(e),s=()=>{t.exports=o.matches};s(),t.onLifecycle(()=>(o.addEventListener("change",s),()=>o.removeEventListener("change",s)))}),V="ltr",ne=()=>b((e,r)=>{r.exports=V,r.onLifecycle(()=>{let t=()=>{let o=_(e.el,"dir",V);r.exports=o==="rtl"?"rtl":"ltr"};return t(),L(e.el,["dir"],t)})}),ie=e=>(r={})=>b((t,o)=>{let s=A(t.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},a=t;o.onLifecycle(()=>D(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};o.exports=p;let h=l.componentLabel;typeof h=="string"&&"label"in t&&t.label==null&&(t.label??=h),i(a.messageOverrides)},r.name));let i=c=>{let l=o.exports,d=l._original??l,p=M(d,c);c&&(p._original=d),o.exports=p};return"messageOverrides"in a&&o.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),r.blocking?(o.setProvisionalExports(n,!1),o.ready):n}),M=(e,r)=>{if(!r)return e;let t={...e};return Object.entries(r).forEach(([o,s])=>{e[o]!==void 0&&(typeof s=="object"?t[o]=M(e[o],s):t[o]=s??e[o])}),t},ae=e=>W,U="arcgisPropertyChange",W=(...e)=>{let r=C(),t=O(U,void 0,r),o=!0;return r.manager.onUpdated(s=>{if(o||!r.el.isConnected){o=!1;return}for(let n of e)s.has(n)&&t.emit({name:n})}),t};export{N as a,b,se as c,re as d,ne as e,ie as f,ae as g};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{c as t}from"./
|
|
2
|
+
import{c as t}from"./5GFBHLDY.js";import{w as e}from"./ZJZBS5ZY.js";var i=t((o,s)=>(s.onLoaded(()=>{let l=o.el;o.listenOn(l.childElem,"calciteFlowItemClose",()=>{o.arcgisClose.emit(),o.autoDestroyDisabled||o.destroy()})}),e()));export{i as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{g as w}from"./
|
|
2
|
+
import{g as w}from"./5GFBHLDY.js";import"./42UVPIOD.js";import"./QUZTFUWM.js";import"./QLIWDFZI.js";import{N as f,P as u,T as _,a as d,b as m}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";var x=d`:host{display:block;pointer-events:initial}calcite-popover{pointer-events:initial}.content{min-inline-size:min(calc(100cqw - var(--arcgis-view-popover-width-reserve, 32px)),var(--arcgis-view-popover-min-inline-size, 300px));max-inline-size:min(calc(100cqw - var(--arcgis-view-popover-width-reserve, 32px)),var(--arcgis-view-popover-max-inline-size, 400px));max-height:var( --arcgis-view-popover-content-max-height, calc(100cqh - var(--arcgis-view-popover-height-reserve, 77px)) );-webkit-user-select:none;user-select:none;overflow-y:auto}`,h=6,y=2,A=32,S=77,B=0;function z(t){let e=C(t),i=t.actionBarLayout==="vertical"?0:e;return{effectiveTailOffset:e,horizontalMargin:$(t),verticalMargin:P(t)+i+t.headerRect.height,offsetSkidding:O(t),placement:L(t)}}function C({actionBarLayout:t,actionRect:e,barRect:i,tailAttachmentAppearance:a}){let n=a==="bar"?t==="vertical"?Math.max(0,e.left-i.left):Math.max(0,e.top-i.top):0;return h+n}function $({actionBarLayout:t,barRect:{left:e,right:i},actionRect:{left:a},tailAttachmentAppearance:n,viewEdgeMargin:r}){let s=r*2;if(t==="vertical"){let l=i-e,v=n==="action"?-(a-e-h):h;return s+l+v}return s}function O(t){return t.actionBarLayout==="vertical"||b(t)==="left"?t.viewEdgeMargin:-t.viewEdgeMargin}function L(t){let{actionBarLayout:e,actionRect:i,viewRect:a}=t,n=b(t);if(e==="vertical")return n==="left"?"right-end":"left-end";let r=i.bottom-a.top<a.height/2?"bottom":"top";return n==="left"?`${r}-end`:`${r}-start`}function b({barRect:{left:t,right:e},viewRect:{left:i,right:a}}){return t-i<a-e?"left":"right"}function k({actionRect:t,viewRect:e}){return t.top-e.top>e.height/2?"bottom":"top"}function P(t){let{actionBarLayout:e,actionRect:i,attributionHeight:a,viewEdgeMargin:n,viewRect:r}=t,s=k(t),l=i.bottom-r.top,v=i.top-r.top,E=s==="top"?l:n,R=n,g=a+n,M=s==="top"?g:r.height-v;return(e==="vertical"?R+g:E+M)+y}function o(){return new DOMRect(0,0,0,0)}function c(t){return t?.getBoundingClientRect()??o()}var p=class extends f{constructor(){super(...arguments),this._handlePopoverBeforeOpen=e=>{if(e.target!==e.currentTarget)return;let i=e.currentTarget;this._headerElement=i.shadowRoot?.querySelector(".header")??void 0,this._observeMeasurementElements(),this._remeasureAndSolve()},this._handlePopoverClose=e=>{e.target===e.currentTarget&&(e.preventDefault(),this.open=!1,this._stopMeasuring())},this._viewRect=o(),this._barRect=o(),this._actionRect=o(),this._headerRect=o(),this._resizeObserver=new ResizeObserver(()=>this._remeasureAndSolve()),this._placement="bottom-end",this._effectiveTailOffset=h,this._offsetSkidding=B,this._horizontalMargin=A,this._verticalMargin=S,this.closable=!0,this.open=!1,this.maxContentWidth=400,this.minContentWidth=300,this.viewEdgeMargin=16,this.visualScale="m",this.tailAttachmentAppearance="bar",this.arcgisPropertyChange=w()("open")}static{this.properties={_placement:16,_effectiveTailOffset:16,_offsetSkidding:16,_horizontalMargin:16,_verticalMargin:16,view:0,actionBarLayout:32,actionBarElement:0,anchorElement:0,closable:5,heading:1,label:1,open:5,maxContentWidth:9,minContentWidth:9,viewEdgeMargin:9,visualScale:1,tailAttachmentAppearance:1}}static{this.styles=x}get _viewElement(){return this.view?.container??void 0}get actionBarLayout(){return this.actionBarElement?.layout==="vertical"?"vertical":"horizontal"}willUpdate(e){e.has("open")&&!this.open?this._stopMeasuring():this.open&&this._hasParameterInputChange(e)?this._remeasureAndSolve():this.open&&this._hasObservedElementChange(e)&&this._observeMeasurementElements()}disconnectedCallback(){super.disconnectedCallback(),this._stopMeasuring()}_hasObservedElementChange(e){return e.has("actionBarElement")||e.has("anchorElement")||e.has("view")}_hasParameterInputChange(e){return e.has("open")&&this.open||e.has("tailAttachmentAppearance")||e.has("viewEdgeMargin")||e.has("visualScale")}_observeMeasurementElements(){this._resizeObserver.disconnect();for(let e of[this.anchorElement,this.actionBarElement,this._viewElement,this._headerElement])e&&this._resizeObserver.observe(e);this._remeasureAndSolve()}_stopMeasuring(){this._resizeObserver.disconnect(),this._headerElement=void 0}_remeasureAndSolve(){this._actionRect=c(this.anchorElement),this._barRect=c(this.actionBarElement),this._headerRect=c(this._headerElement),this._viewRect=c(this._viewElement),this._solveLayoutAndUpdate()}_solveLayoutAndUpdate(){let{effectiveTailOffset:e,horizontalMargin:i,verticalMargin:a,offsetSkidding:n,placement:r}=z({actionBarLayout:this.actionBarLayout,actionRect:this._actionRect,attributionHeight:this.view?.attributionHeight??0,barRect:this._barRect,headerRect:this._headerRect,visualScale:this.visualScale,tailAttachmentAppearance:this.tailAttachmentAppearance,viewEdgeMargin:this.viewEdgeMargin,viewRect:this._viewRect});this._effectiveTailOffset=e,this._horizontalMargin=i,this._verticalMargin=a,this._offsetSkidding=n,this._placement=r}render(){return this.anchorElement?m`<calcite-popover .closable=${this.closable} .heading=${this.heading} .label=${this.label??""} .open=${this.open} .offsetDistance=${this._effectiveTailOffset} .offsetSkidding=${this._offsetSkidding} overlay-positioning=fixed flip-disabled .placement=${this._placement} .referenceElement=${this.anchorElement} @calcitePopoverBeforeOpen=${this._handlePopoverBeforeOpen} .scale=${this.visualScale} style=${u({"--arcgis-view-popover-max-inline-size":`${this.maxContentWidth}px`,"--arcgis-view-popover-min-inline-size":`${this.minContentWidth}px`,"--arcgis-view-popover-height-reserve":`${this._verticalMargin}px`,"--arcgis-view-popover-width-reserve":`${this._horizontalMargin}px`})} trigger-disabled @calcitePopoverClose=${this._handlePopoverClose}><div class="content"><slot></slot></div></calcite-popover>`:null}};_("arcgis-view-popover",p);export{p as ArcgisViewPopover};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import a from"./3ZXNGXHC.js";import{e as r}from"./
|
|
2
|
+
import a from"./3ZXNGXHC.js";import{e as r}from"./5GFBHLDY.js";import"./42UVPIOD.js";import"./QUZTFUWM.js";import"./QLIWDFZI.js";import{N as c,T as o,a as i,b as l}from"./ZJZBS5ZY.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:d},{b:n,c:m,d:p}])=>{var g=i`.template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.template-select-container .template-select-error,.template-select-container .template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`,s=class extends c{constructor(){super(...arguments),this._direction=r(),this._templateState="not-loaded"}static{this.properties={_selectedTemplate:16,_templateState:16,viewModel:0,messages:0,showTemplateSelector:0}}static{this.styles=g}loaded(){this.manager.onLifecycle(()=>{let e,t=d(()=>this.viewModel.templateOptions.id,a=>{e?.remove(),this._selectedTemplate=a?this.viewModel.getLayoutTemplateById(a)??void 0:void 0,e=d(()=>this._selectedTemplate?.state,h=>this._templateState=h??"not-loaded",{initial:!0})},{initial:!0});return()=>{t.remove(),e?.remove()}})}render(){let e=this._selectedTemplate?m(this._selectedTemplate,this.messages):this.messages.selectTemplate;return l`<calcite-block class="template-select-container" .description=${n(this._selectedTemplate)} .heading=${e} .label=${e} .loading=${this._templateState==="loading"} @click=${this.showTemplateSelector} @keydown=${t=>{(t.key==="Enter"||t.key===" ")&&this.showTemplateSelector()}} tabindex=0><calcite-icon .icon=${(this._selectedTemplate?.layout?p(this._selectedTemplate.layout):null)||"custom-print"} scale=l slot=content-start></calcite-icon>${this._templateState==="error"?l`<calcite-icon class="template-select-error" icon=exclamation-mark-circle scale=s slot=actions-end></calcite-icon>`:null}<calcite-icon class="template-select-arrow" .icon=${this._direction==="rtl"?"chevron-left":"chevron-right"} scale=s slot=actions-end></calcite-icon></calcite-block>`}};o("arcgis-print-template-select",s);return s},"core/reactiveUtils",a)
|