@arcgis/map-components 5.0.0-next.38 → 5.0.0-next.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{4CABOSVW.js → 22IV475U.js} +2 -2
- package/dist/cdn/{2RUWXGQT.js → 26JK4J7D.js} +2 -2
- package/dist/cdn/{ZXAPKUVG.js → 2FN3JUGR.js} +2 -2
- package/dist/cdn/{C55EJ6QQ.js → 2K2RK5MW.js} +2 -2
- package/dist/cdn/{ICN67SE3.js → 2NF4I3RC.js} +2 -2
- package/dist/cdn/2S5XLNQZ.js +4 -0
- package/dist/cdn/{KSM5HD3R.js → 2TIEZUOH.js} +2 -2
- package/dist/cdn/{RM3IQBLN.js → 36WYW33S.js} +2 -2
- package/dist/cdn/{3CS4JUYH.js → 3C2UZQP4.js} +2 -2
- package/dist/cdn/{O3YK742O.js → 3QFW2DO7.js} +1 -1
- package/dist/cdn/{PKRACQQ2.js → 3U3IZOY3.js} +2 -2
- package/dist/cdn/{FNU6HSX5.js → 3UE5UOHC.js} +2 -2
- package/dist/cdn/{OAD5YJMP.js → 3X7ZNZVH.js} +2 -2
- package/dist/cdn/{A6XP2GZU.js → 3YYO6OMY.js} +2 -2
- package/dist/cdn/{Q3QQVJWM.js → 42NFH5HV.js} +2 -2
- package/dist/cdn/{ZWID2OKK.js → 42QQ4KV3.js} +2 -2
- package/dist/cdn/{WY4FMZ7O.js → 46UFZIVW.js} +2 -2
- package/dist/cdn/{IMOTOT3R.js → 4EVIY7WK.js} +2 -2
- package/dist/cdn/{KOMWBIL7.js → 4I44QADI.js} +2 -2
- package/dist/cdn/{PTKCKV6M.js → 4NAKMJWQ.js} +2 -2
- package/dist/cdn/{XVAU76H4.js → 4PNNRRYJ.js} +2 -2
- package/dist/cdn/{L3CYNWPR.js → 4Y24IJUY.js} +2 -2
- package/dist/cdn/{XIKKRD73.js → 55LZWI6D.js} +1 -1
- package/dist/cdn/{G4VSW6TT.js → 5FU5ZOOK.js} +2 -2
- package/dist/cdn/{CM2TXIQP.js → 5QURQY44.js} +1 -1
- package/dist/cdn/{QHD4AZCD.js → 5SF4GU2A.js} +2 -2
- package/dist/cdn/{FGH2FCJV.js → 5WPHUC66.js} +2 -2
- package/dist/cdn/{F7EDYOTI.js → 5YFRYAJQ.js} +2 -2
- package/dist/cdn/{RLCPUHY5.js → 62QHMEJU.js} +2 -2
- package/dist/cdn/{DJDXUEWI.js → 6BCZYWF6.js} +2 -2
- package/dist/cdn/{WJPLDIDK.js → 6CP7XPH3.js} +2 -2
- package/dist/cdn/{5VMBKTGY.js → 6ELCUXIZ.js} +2 -2
- package/dist/cdn/{7LKSGCIB.js → 6PUG4SGN.js} +2 -2
- package/dist/cdn/{H5T7TNRL.js → 6RSGECKA.js} +2 -2
- package/dist/cdn/{NQJIXXJA.js → 6W2NAUCC.js} +2 -2
- package/dist/cdn/{ZNVKWLSS.js → 6WD2FY4W.js} +2 -2
- package/dist/cdn/{EREGXFWS.js → 6WEX6YLK.js} +2 -2
- package/dist/cdn/{5XQBKQSZ.js → 73LYRI73.js} +2 -2
- package/dist/cdn/{RVYFLRIP.js → 77EGZAPU.js} +2 -2
- package/dist/cdn/{XUHYSOPF.js → 7CXYKIRR.js} +2 -2
- package/dist/cdn/{DK6KEF2S.js → 7DJTGYOW.js} +2 -2
- package/dist/cdn/{CBSHG36L.js → 7FRKOYNS.js} +2 -2
- package/dist/cdn/{3YHF5ZII.js → 7OSLRAIZ.js} +2 -2
- package/dist/cdn/{QQBXRTOT.js → 7QDU6ZGM.js} +2 -2
- package/dist/cdn/{LCQXKJOO.js → 7YEAIFIR.js} +2 -2
- package/dist/cdn/{2MHGDOP6.js → A4MVEW53.js} +2 -2
- package/dist/cdn/{QDDGPAZZ.js → A5V225PW.js} +2 -2
- package/dist/cdn/{LETKIXSZ.js → A6YWPLE7.js} +2 -2
- package/dist/cdn/{FDE4V54U.js → A76MUKYV.js} +2 -2
- package/dist/cdn/{NDWJIBA4.js → AIBGICUN.js} +2 -2
- package/dist/cdn/{PIG23VOI.js → AQANDVXZ.js} +2 -2
- package/dist/cdn/{XIPOKSMS.js → AZBR4MML.js} +2 -2
- package/dist/cdn/{AGTCYWZF.js → B24NMQOK.js} +2 -2
- package/dist/cdn/{44XHTUGB.js → B2X6QCDC.js} +2 -2
- package/dist/cdn/{7YCZ6P47.js → B5TUOHMI.js} +2 -2
- package/dist/cdn/{OTBIAWAA.js → BMA7SR6K.js} +2 -2
- package/dist/cdn/{KAPFFBKI.js → BONMOFLF.js} +2 -2
- package/dist/cdn/{VBFS3EQD.js → BOSCPS37.js} +2 -2
- package/dist/cdn/{S6CMD6VE.js → BPFX2JC7.js} +1 -1
- package/dist/cdn/{GIZH446U.js → BUTHYYJO.js} +2 -2
- package/dist/cdn/{LGV6ARHB.js → BVU47JJJ.js} +2 -2
- package/dist/cdn/{OPLIF3XH.js → BX7FRXJU.js} +2 -2
- package/dist/cdn/{BROAYE6N.js → C5NAPWNJ.js} +2 -2
- package/dist/cdn/{Y5AZMIBN.js → CCGDLDWY.js} +2 -2
- package/dist/cdn/{WNLDRGCY.js → CFLY4SLF.js} +2 -2
- package/dist/cdn/{HHXA5ARO.js → CITAJCLK.js} +2 -2
- package/dist/cdn/{SE6JMH6T.js → CITKZOZS.js} +1 -1
- package/dist/cdn/{2RLGTFET.js → CMGY5RPU.js} +2 -2
- package/dist/cdn/{LT2QT4FA.js → CSIWD5V4.js} +1 -1
- package/dist/cdn/{4PPNQL2C.js → CYKYRWIX.js} +2 -2
- package/dist/cdn/{MJ3R4BZI.js → D3SKCWKQ.js} +1 -1
- package/dist/cdn/{OADKSCX5.js → D73J4CCU.js} +1 -1
- package/dist/cdn/{WLQXDQNB.js → D7GWIE4D.js} +2 -2
- package/dist/cdn/{CPUIQC3X.js → DDDIXNZR.js} +2 -2
- package/dist/cdn/{GN3YEFCY.js → DJHSC543.js} +2 -2
- package/dist/cdn/{GJL4PHRB.js → DJT3VPSJ.js} +2 -2
- package/dist/cdn/{X56XGNOT.js → DN4E6LHM.js} +2 -2
- package/dist/cdn/{VBRZZES7.js → DNYRFCHM.js} +2 -2
- package/dist/cdn/{BC5KCWHV.js → DVXSQYL2.js} +2 -2
- package/dist/cdn/{Z3RBARSV.js → EIMOQUTJ.js} +2 -2
- package/dist/cdn/{QPMN6LYR.js → EKVFT7YW.js} +1 -1
- package/dist/cdn/{KZ7J77GX.js → ERZHAE7W.js} +2 -2
- package/dist/cdn/{SP3AQU5S.js → EUUMRV4W.js} +2 -2
- package/dist/cdn/{LWLO4GUM.js → EUYJVJRM.js} +2 -2
- package/dist/cdn/{HAZXDLMZ.js → EWZJH2SA.js} +2 -2
- package/dist/cdn/{6LSVLRFJ.js → EYBM3UYB.js} +2 -2
- package/dist/cdn/{DPWCGHDA.js → FDM6V4W6.js} +2 -2
- package/dist/cdn/{S3E52CON.js → FDXFYPYM.js} +2 -2
- package/dist/cdn/{AMUOCJ36.js → FEJC2AQI.js} +2 -2
- package/dist/cdn/{5W74RR23.js → FNFA3KFM.js} +2 -2
- package/dist/cdn/{L7UT56YD.js → FQJRBRDS.js} +2 -2
- package/dist/cdn/{DG6NOZLG.js → FV72QMZH.js} +2 -2
- package/dist/cdn/{W6CD73PC.js → G45IFNWL.js} +2 -2
- package/dist/cdn/{6R5BLGSP.js → G7WOXKHO.js} +2 -2
- package/dist/cdn/{ZTDKBI6W.js → GPKQ3JFB.js} +2 -2
- package/dist/cdn/{QKUX3AJO.js → GQXLYYQJ.js} +2 -2
- package/dist/cdn/{EHUVQMFD.js → GREVTN7Z.js} +2 -2
- package/dist/cdn/{5325EF4U.js → GRFIN5JH.js} +2 -2
- package/dist/cdn/{KS4Q7AH7.js → GWCVEN4O.js} +2 -2
- package/dist/cdn/{3T7UGAIV.js → H7Z53QBT.js} +2 -2
- package/dist/cdn/{S6TJ36HH.js → HADPOTWU.js} +2 -2
- package/dist/cdn/{V35JCFR5.js → HAIYR75N.js} +2 -2
- package/dist/cdn/{S7KWYCCR.js → HDKC6YDI.js} +2 -2
- package/dist/cdn/{SB6HC27U.js → HH2OFWYR.js} +2 -2
- package/dist/cdn/HH63ALLM.js +4 -0
- package/dist/cdn/{SMCTQKM6.js → HJ7W53SB.js} +2 -2
- package/dist/cdn/{MDS6KZWA.js → HNBK6XSY.js} +2 -2
- package/dist/cdn/{APMBI3FF.js → HPFK7PVI.js} +2 -2
- package/dist/cdn/{D4ECNFUK.js → HRUCWALO.js} +2 -2
- package/dist/cdn/{JTOK2REI.js → HSRSEK2D.js} +2 -2
- package/dist/cdn/{RNVR5TOS.js → HTSFOD5X.js} +2 -2
- package/dist/cdn/{VTPA7YJZ.js → HVBILNGK.js} +2 -2
- package/dist/cdn/HWFPE4GY.js +4 -0
- package/dist/cdn/{NKHZDWPG.js → HXUE5EAF.js} +2 -2
- package/dist/cdn/{QY4O4AW2.js → I33IQWBP.js} +1 -1
- package/dist/cdn/{LSBKWPYK.js → IB6WMOVA.js} +2 -2
- package/dist/cdn/{5NLMDE5T.js → IEZ2IT2K.js} +2 -2
- package/dist/cdn/{3YVPONPJ.js → IGKTIIFY.js} +2 -2
- package/dist/cdn/{KG5XMLU3.js → IKA2MLFA.js} +2 -2
- package/dist/cdn/{7F4HUTLG.js → IL6Q25MF.js} +2 -2
- package/dist/cdn/{BWRRHPOS.js → INW4HTB3.js} +2 -2
- package/dist/cdn/{YFO2JSAP.js → IT43UD4G.js} +2 -2
- package/dist/cdn/{JCEKPD2L.js → J3IJ36PF.js} +2 -2
- package/dist/cdn/{ZTQ5LLIN.js → J5CZPXGS.js} +2 -2
- package/dist/cdn/{OOAXUA3E.js → J6VWBGE2.js} +2 -2
- package/dist/cdn/{KBSJT6QR.js → JAIB2DTF.js} +2 -2
- package/dist/cdn/{K26IXW6S.js → JE2ORVV3.js} +1 -1
- package/dist/cdn/{U5VQBW7Y.js → JH6BKDPH.js} +2 -2
- package/dist/cdn/{E4A6LYGP.js → JMFKK2PD.js} +2 -2
- package/dist/cdn/{I2A5HHBZ.js → JNDCFULE.js} +2 -2
- package/dist/cdn/{626AUBOW.js → JW4LNQ7I.js} +2 -2
- package/dist/cdn/{2ZLKH2X4.js → JXVLWACP.js} +2 -2
- package/dist/cdn/{HJFLWEJZ.js → K32SVQB7.js} +2 -2
- package/dist/cdn/{JFCOCWIV.js → K45PFBYW.js} +2 -2
- package/dist/cdn/{BRBUZJCQ.js → K64I3FMO.js} +2 -2
- package/dist/cdn/{TA5SNR5Q.js → K6SZ4E2Y.js} +2 -2
- package/dist/cdn/{KQT7OJJO.js → KAE6TF6E.js} +2 -2
- package/dist/cdn/KBAPE5WO.js +4 -0
- package/dist/cdn/{H5BCZGLX.js → KZGQO4U3.js} +2 -2
- package/dist/cdn/{SMF5FA25.js → L7HC3EJN.js} +2 -2
- package/dist/cdn/{PNZKUE23.js → LLJSBFD5.js} +2 -2
- package/dist/cdn/{AIELR6A7.js → LNN7GLRA.js} +2 -2
- package/dist/cdn/{STQBCZBH.js → LPKTLWF3.js} +2 -2
- package/dist/cdn/{VAHAU4XZ.js → LRENRLFQ.js} +2 -2
- package/dist/cdn/LYC6QXIN.js +4 -0
- package/dist/cdn/{Q5GUTAMA.js → M2JKJG5Z.js} +2 -2
- package/dist/cdn/{DWM575KQ.js → M5JWL4QR.js} +2 -2
- package/dist/cdn/{DKH6FTTS.js → MMQM6IG3.js} +3 -3
- package/dist/cdn/{Y4WLEPQ4.js → MNUVBRPJ.js} +2 -2
- package/dist/cdn/{UP6RNRGA.js → MP5QBZDQ.js} +2 -2
- package/dist/cdn/{BN2MOF7P.js → MSV35DG3.js} +1 -1
- package/dist/cdn/{AKNWQKPN.js → MT5XP2ME.js} +2 -2
- package/dist/cdn/{2JM7YHN5.js → MTXWSX77.js} +2 -2
- package/dist/cdn/{5QPH4NPD.js → NDD5L7QA.js} +2 -2
- package/dist/cdn/{WFNPWBMN.js → NHGSPJM5.js} +2 -2
- package/dist/cdn/{VYTOBO3X.js → NILSN5KL.js} +2 -2
- package/dist/cdn/{BIQUNRD2.js → NMU3Z6UZ.js} +2 -2
- package/dist/cdn/{4ZGZ7RTY.js → NSKXUBL5.js} +2 -2
- package/dist/cdn/{FG3ZKBID.js → O5XEJ7OW.js} +2 -2
- package/dist/cdn/{E2245LRH.js → OBWCS5B6.js} +2 -2
- package/dist/cdn/{5YRJ2DQV.js → OCVOMZTN.js} +2 -2
- package/dist/cdn/{M3H7FDFU.js → OD6KMSXQ.js} +2 -2
- package/dist/cdn/{5JELJJXY.js → OLK2FNS5.js} +2 -2
- package/dist/cdn/{K3UPLBBI.js → OSZK4H7B.js} +2 -2
- package/dist/cdn/{BE62HFIR.js → OUT7IFX3.js} +2 -2
- package/dist/cdn/{6B5B3ASB.js → P5HTEXKW.js} +2 -2
- package/dist/cdn/{Y2LO3DVP.js → P7A7OEXE.js} +2 -2
- package/dist/cdn/{TUKRKIWL.js → PDVBGIUF.js} +2 -2
- package/dist/cdn/{X3JKABK4.js → PEWL2DGY.js} +2 -2
- package/dist/cdn/{35IT3FU6.js → PIR72KVC.js} +1 -1
- package/dist/cdn/{GVNQCW2Z.js → PTZ3O3CW.js} +2 -2
- package/dist/cdn/{RY6DY3M6.js → Q33IH4BN.js} +2 -2
- package/dist/cdn/{NZIGHRZD.js → QGFIEFII.js} +2 -2
- package/dist/cdn/{V4QBENT5.js → QV2GJNE4.js} +2 -2
- package/dist/cdn/{HM2DBVWO.js → QY4MZE6R.js} +2 -2
- package/dist/cdn/{4KAWUWWH.js → QZ2ZZ6YJ.js} +2 -2
- package/dist/cdn/{2CIRTVW2.js → R6C6LY2L.js} +2 -2
- package/dist/cdn/{B2XWMXO3.js → RF7WMV4Z.js} +2 -2
- package/dist/cdn/{IGL6OYLF.js → RSUJKYYQ.js} +2 -2
- package/dist/cdn/{TOQQJL7N.js → S26ITSEP.js} +2 -2
- package/dist/cdn/{4QAGGHWX.js → S2A2LGA4.js} +2 -2
- package/dist/cdn/{XYKNKYA7.js → S3ENLIFO.js} +1 -1
- package/dist/cdn/{VEVTZH4H.js → SIDPAHG4.js} +2 -2
- package/dist/cdn/{R5IFWU7L.js → SQ3Z3H2F.js} +2 -2
- package/dist/cdn/{GEVBPPU6.js → SUEYCXFD.js} +2 -2
- package/dist/cdn/{2IZ26PTJ.js → SWNW4QOI.js} +2 -2
- package/dist/cdn/{FMBGBYWF.js → SXGGVRPM.js} +2 -2
- package/dist/cdn/{U3MZOZC3.js → TCFJ5AAI.js} +2 -2
- package/dist/cdn/{TECKXGV4.js → TFKX5L63.js} +2 -2
- package/dist/cdn/{CL75AG6O.js → TUYVM333.js} +2 -2
- package/dist/cdn/{RB4GLLFY.js → U3EEAXKY.js} +2 -2
- package/dist/cdn/{XNCXEPZM.js → UBLGJMXB.js} +2 -2
- package/dist/cdn/{FSSABSPI.js → UMVO6ZJG.js} +2 -2
- package/dist/cdn/{QGL6MY6H.js → UPRSLGKW.js} +2 -2
- package/dist/cdn/{4A5EFO2V.js → UQGGWG57.js} +2 -2
- package/dist/cdn/UUZWDQPK.js +4 -0
- package/dist/cdn/{YDRZEOMH.js → UWGI4UXM.js} +2 -2
- package/dist/cdn/{Y527NOND.js → UX3WSMX2.js} +2 -2
- package/dist/cdn/{UVE6YSJP.js → VIWQV3WE.js} +2 -2
- package/dist/cdn/{OS7W2R62.js → VKYSMI45.js} +2 -2
- package/dist/cdn/{V5CDSQJ4.js → VSYYMHVT.js} +2 -2
- package/dist/cdn/{M3DOAEHH.js → VUIVSE5T.js} +2 -2
- package/dist/cdn/{O6GQ63ED.js → W3EI5WHJ.js} +2 -2
- package/dist/cdn/{VQ33YMJZ.js → WBUSIBYR.js} +2 -2
- package/dist/cdn/{HF4MYCZR.js → WDS225UU.js} +2 -2
- package/dist/cdn/{MSPXE64H.js → WEPVTOUG.js} +2 -2
- package/dist/cdn/{GVVC2KD6.js → WKH5QSAU.js} +2 -2
- package/dist/cdn/{SEXIDEJI.js → WR2JONYV.js} +2 -2
- package/dist/cdn/{4YGRTVCS.js → WTU2KL7N.js} +2 -2
- package/dist/cdn/{DH6S47BA.js → WXO4UREA.js} +1 -1
- package/dist/cdn/{RKMCH7SA.js → XELXJUPD.js} +2 -2
- package/dist/cdn/{2XSVAGFR.js → XLPQTPVQ.js} +2 -2
- package/dist/cdn/{FPW6QOGV.js → XVBSD223.js} +2 -2
- package/dist/cdn/{GYUZCD55.js → XXXI6JM4.js} +2 -2
- package/dist/cdn/{GZKROGGR.js → Y5NFPOSO.js} +2 -2
- package/dist/cdn/{RO3H6PBT.js → YA232SPZ.js} +2 -2
- package/dist/cdn/{ZEKJFHMN.js → YZUXSFRW.js} +2 -2
- package/dist/cdn/{LZXK5FYE.js → Z266EG6R.js} +2 -2
- package/dist/cdn/{WMS4C5V2.js → Z362LHCK.js} +2 -2
- package/dist/cdn/{MO5TE2YX.js → Z5WKJ3EQ.js} +2 -2
- package/dist/cdn/{7IWDYV73.js → ZARTZC54.js} +2 -2
- package/dist/cdn/{JEPAZPYE.js → ZGW5H5IW.js} +2 -2
- package/dist/cdn/{KFBEIPAV.js → ZVWW4HQR.js} +2 -2
- package/dist/cdn/{BAYJHO2O.js → ZZJ5FFJC.js} +2 -2
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +2 -2
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +19 -19
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +14 -8
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +5 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +48 -36
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +18 -6
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +173 -117
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +227 -5
- package/dist/docs/docs.json +197 -6
- package/dist/docs/vscode.html-custom-data.json +42 -1
- package/dist/docs/web-types.json +68 -3
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +4 -3
- package/dist/types/lumina.d.ts +8 -2
- package/dist/types/preact.d.ts +9 -2
- package/dist/types/preact10.d.ts +10 -2
- package/dist/types/react.d.ts +10 -2
- package/dist/types/stencil.d.ts +8 -2
- package/package.json +3 -3
- package/dist/cdn/4SOKXUAO.js +0 -4
- package/dist/cdn/6RPAUW43.js +0 -4
- package/dist/cdn/AOCAN2CC.js +0 -4
- package/dist/cdn/ILLRWUJI.js +0 -4
- package/dist/cdn/JSU3DFDJ.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as y}from"./WY4FMZ7O.js";import"./WNLDRGCY.js";import d from"./MDS6KZWA.js";import{a as P}from"./GJL4PHRB.js";import{a as x}from"./K26IXW6S.js";import c from"./APMBI3FF.js";import b from"./WFNPWBMN.js";import{g as M}from"./KBSJT6QR.js";import"./MJ3R4BZI.js";import{b as f}from"./DH6S47BA.js";import{H as z,I,J as F,K as s,M as a,P as B,a as T,b as h,s as _}from"./QPMN6LYR.js";import"./SE6JMH6T.js";export default $arcgis.t(([{hasDisplayProperties:$},L,D,E,,,S])=>{var l="arcgis-coordinate-conversion",r={base:l,expandUp:`${l}__conversions-view--expand-up`,expandDown:`${l}__conversions-view--expand-down`,noBasemap:`${l}__no-basemap`,coordDisplay:`${l}__coordinate-display`,conversionRow:`${l}__conversion-row`,rowSelect:`${l}__row-select`,conversionsView:`${l}__conversions-view`,conversionsList:`${l}__conversion-list`,toolDisplay:`${l}__tool-display`,copyButton:`${l}__copy-button`,coordinateConversionAlert:`${l}__alert`,coordinateInput:`${l}__coordinate-input`,inputForm:`${l}__input-form`,sectionHeading:`${l}__section-heading`,inputFormGroup:`${l}__coordinate-input__form-group`,inputSelect:`${l}__coordinate-input__select`,sectionTitle:`${l}__section-title`,patternInput:`${l}__pattern-input`,previewCoordinate:`${l}__preview-coordinate`,settings:`${l}__settings`,firstSettingsGroup:`${l}__settings__form-group-first`,settingsFormGroup:`${l}__settings__form-group`,settingsFormGroupHorizontal:`${l}__settings__form-group-horizontal`},A=T`[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:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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-coordinate-conversion-flex-direction: column;width:var(--coordinate-conversion-width)}calcite-alert{width:var(--alert-width);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin-top:12.5%}.arcgis-coordinate-conversion__no-basemap{padding:var(--calcite-spacing-xxs)}.arcgis-coordinate-conversion{background-color:var(--calcite-color-foreground-1);position:relative;width:var(--coordinate-conversion-width)}.arcgis-coordinate-conversion__conversions-view{display:flex;flex-direction:var(--arcgis-coordinate-conversion-flex-direction)}.arcgis-coordinate-conversion__conversion-list{flex-direction:var(--arcgis-coordinate-conversion-flex-direction)}.arcgis-coordinate-conversion__conversions-view--expand-down{display:flex;flex-direction:column}.arcgis-coordinate-conversion__conversions-view--expand-down .arcgis-coordinate-conversion__conversion-list{flex-direction:column}.arcgis-coordinate-conversion__conversions-view--expand-up{display:flex;flex-direction:column-reverse}.arcgis-coordinate-conversion__conversions-view--expand-up .arcgis-coordinate-conversion__conversion-list{flex-direction:column-reverse}.arcgis-coordinate-conversion__conversion-list{display:flex;padding-left:0;margin:0}.arcgis-coordinate-conversion__tool-display{list-style:none;display:flex;margin:0;padding:0;font-size:var(--calcite-font-size-sm)}.arcgis-coordinate-conversion__conversion-row{padding:0 var(--esri-widget-padding-y);justify-content:space-between;align-items:center;display:flex}.arcgis-coordinate-conversion__conversion-row:hover .arcgis-coordinate-conversion__copy-button{display:block}.arcgis-coordinate-conversion__conversions-view{padding:var(--calcite-spacing-md)}.arcgis-coordinate-conversion__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)}.arcgis-coordinate-conversion__coordinate-display:hover{background:var(--calcite-color-transparent-hover)}.arcgis-coordinate-conversion__copy-button{display:none}.arcgis-coordinate-conversion__row-select{width:5rem;flex-shrink:0;text-align-last:center}.arcgis-coordinate-conversion__section-heading{display:flex;align-items:center;background-color:var(--calcite-color-background);width:100%;height:var(--calcite-size-fixed-xxxl)}.arcgis-coordinate-conversion__section-title{margin:0 auto!important}.arcgis-coordinate-conversion__coordinate-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%}.arcgis-coordinate-conversion__input-form{display:flex;flex-direction:column}.arcgis-coordinate-conversion__coordinate-input{flex:1;margin:0;font-size:var(--coordinate-font-size)}.arcgis-coordinate-conversion__settings{display:flex;flex-direction:column;align-items:center}.arcgis-coordinate-conversion__settings__form-group{display:flex;flex-direction:column;align-items:center;width:60%}.arcgis-coordinate-conversion__settings__form-group-horizontal{display:flex;position:relative;flex-direction:row;width:100%}.arcgis-coordinate-conversion__settings__form-group-first{margin-top:var(--calcite-spacing-sm)}.arcgis-coordinate-conversion__settings__form-group:last-child{width:100%;text-align:center}.arcgis-coordinate-conversion__preview-coordinate{min-height:var(--calcite-spacing-xl)}`,O=2500,U=1e3,G=new L({x:0,y:0}),g={chevronDown:"chevron-down",chevronUp:"chevron-up",copy:"copy",pinTear:"pin-tear",pinTearF:"pin-tear-f",arrowLeft:"arrow-left",refresh:"refresh"},j=S(E),k=class extends F{constructor(){super(...arguments),this.alertTimer=-1,this.messages=P(),this._coordinateInput=z(),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.state=this.viewModel.state,this.storageDisabled=this.viewModel.storageEnabled,this.storageType=this.viewModel.storageType,this.arcgisConversionChange=_(),this.arcgisPropertyChange=M()("currentLocation","state","expanded","mode"),this.arcgisReady=_()}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,label:1,locationSymbol:0,mode:3,multipleConversionsDisabled:7,orientation:3,position:3,referenceElement:1,state:3,storageDisabled:7,storageType:1}}static{this.styles=A}get currentView(){return this._currentView}set currentView(e){e!=="conversions"?this.viewModel.pause():this.viewModel.resume(),e==="settings"&&this.setPreviewConversion(),this._currentView=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,o){return await this.viewModel.reverseConvert(e,o)}addConversion(e){let o=e.target,t=o.selectedOption.value,i=R(o);if(t==null||i==null)return;let n=new D({format:t});o.value="default",i>=0?(this.conversions.removeAt(i),this.conversions.add(n,i)):this.conversions.add(n),this.arcgisConversionChange.emit()}async copyToClipboard(e){e&&(e=e.replace(//gu,""),await navigator.clipboard.writeText(e),this.showAlertMessage(null,this.messages.copySuccessMessage,"success",U))}findSettingsFormat(){return this.settingsFormat||this.conversions.reduceRight((e,o)=>{let t=o.format;return t&&$(t)?t:e},null)||this.formats.find(e=>$(e))||null}getId(e){return`arcgis-coordinate-conversion-${e}`}async processUserInput(e,o){let{viewModel:t}=this;try{let i=await this._reverseConvert(e,o);if(!i)throw new Error("failed to process user input");this.mode==="capture"?t.resume():this.mode="capture",this.invalidInput=!1,this.currentLocation=i??void 0,t.setLocation(i),this.currentView="conversions",this._coordinateInput.value&&(this._coordinateInput.value.value="")}catch(i){console.error(i),this.showAlertMessage(null,this.messages?.invalidCoordinate,"warning"),this.invalidInput=!0}}async processUserKeyboardInput(e){let{key:o}=e;if(o==="Enter"){let t=this.inputFormat||this.conversions.at(0)?.format,i=this._coordinateInput.value?.value;if(!t||!i)return;await this.processUserInput(i,t)}else this.invalidInput=!1}async processUserMouseInput(){let e=this.inputFormat||this.conversions.at(0)?.format,o=this._coordinateInput.value?.value;!e||!o||await this.processUserInput(o,e)}removeConversion(e){this.conversions.remove(e),this.arcgisConversionChange.emit()}async _reverseConvert(e,o){let t=this.viewModel,i=await o.reverseConvert(e);return this.goToEnabled&&i&&t.goToLocation(i).catch(n=>{console.warn(n),this.showAlertMessage(null,this.messages?.locationOffBasemap,"warning")}),i}setDefaultPattern(e){e.stopPropagation();let o=this.findSettingsFormat();o?.defaultPattern&&(o.currentPattern=o.defaultPattern)}setInputFormat(e){let o=e.target.selectedOption.value;o!=null&&(this.inputFormat=o)}setPreviewConversion(){let e=this.findSettingsFormat(),o=this.viewModel;if(e){let t=this.conversions.find(i=>i.format===e);this.previewConversion=new D({format:e,position:{location:this.currentLocation,coordinate:t?.position?.coordinate}}),this.previewConversion.position?.coordinate||o.previewConversion(this.previewConversion,o.currentLocation??G)}}setSettingsFormat(e){let o=e.target.selectedOption.value;o!=null&&(this.settingsFormat=o,this.setPreviewConversion())}showAlertMessage(e,o,t,i=O){this.alertProperties={...this.alertProperties,title:e,message:o,kind:t,open:!0},window.clearTimeout(this.alertTimer),this.alertTimer=window.setTimeout(()=>{this.alertProperties={...this.alertProperties,open:!1}},i)}toggleGoTo(){this.goToEnabled=!this.goToEnabled}toggleMode(){this.mode=this.mode==="live"?"capture":"live"}updateCurrentPattern(e){e.stopPropagation();let o=e.target,t=this.findSettingsFormat();t&&(t.currentPattern=o.value)}render(){let{currentView:e}=this,o;return this.viewModel.state==="disabled"||e==="no-basemap"?o=this.renderNoBasemapView():e==="coordinate-input"?o=this.renderCoordinateInputView():e==="settings"?o=this.renderSettingsView():o=this.renderConversionsView(),h`<div class=${s(f(r.base))}>${o}${this.renderAlert()}</div>`}renderAlert(){let{messages:e}=this,{open:o,message:t,title:i,kind:n}=this.alertProperties;return h`<calcite-alert class=${s(r.coordinateConversionAlert)} .open=${o} scale=s .kind=${n} .label=${e.alertLabel} @calciteAlertClose=${this.clearAlertTimeout}>${i?h`<div slot=title>${i}</div>`:null}${t?h`<div slot=message>${t}</div>`:null}</calcite-alert>`}renderConversionOptions(e,o,t){let i=this.conversions.at(0),n=i?.format?.name;return e.map((c,p)=>{let u=o??!i?!1:n===c.name||this.conversions.map(d=>d.format?.name).includes(c.name);return h`<calcite-option .disabled=${u} .label=${c.label.toUpperCase()} .selected=${p===t} .value=${c}>${c.label}</calcite-option>`})}renderConversionView(e,o){let{messages:t}=this,{format:i}=e,n=i?.label??"",c=o===0,p=this.getId(`list-item-${o}`),u=t.conversionOutput.replace("{format name}",n),d=c||this.expanded,b=c?this.renderFirstConversionTools(e):this.renderTools(e,p),v=c&&!e.displayCoordinate?t.noLocation:e.displayCoordinate,m=h`<div aria-label=${v??a} class=${s(r.coordDisplay)} data-conversion=${e??a} tabindex=0 title=${v??""??a}>${v}</div>`,w=this.renderConversionOptions(this.formats.filter(V=>V!==i));return d?h`<li aria-label=${u??a} class=${s(r.conversionRow)} id=${p??a} tabindex=0><calcite-select aria-controls=${p??a} class=${s(r.rowSelect)} data-index=${String(o)??a} .label=${t.selectFormat??""} scale=s @calciteSelectChange=${this.addConversion}><calcite-option .label=${n.toUpperCase()} selected>${n.toUpperCase()}</calcite-option>${w}</calcite-select>${m}${b}</li>`:null}renderConversionsView(){let{messages:e}=this,o=this.viewModel.conversions.map(this.renderConversionView.bind(this)),t=this.getId("conversion-list"),i=this.expanded?h`<div class=${s(r.conversionRow)}><calcite-select aria-controls=${t??a} data-index=-1 .label=${e.addConversion} scale=s @calciteSelectChange=${this.addConversion} title=${e.addConversion??a}><calcite-option disabled selected value=default>${e.addConversion}</calcite-option>${this.renderConversionOptions(this.formats)}</calcite-select>${this.renderPrimaryTools()}</div>`:null,n={[r.expandUp]:this.orientation==="expand-up",[r.expandDown]:this.orientation==="expand-down"};return h`<div class=${s(f(r.conversionsView,n))}><ul aria-expanded=${this.expanded??a} class=${s(r.conversionsList)} id=${t??a}>${o}</ul>${i}</div>`}renderCoordinateInputView(){let e=this.inputFormat??this.conversions.at(0)?.format,o=this.formats.findIndex(d=>d.name===e?.name),t=this.getId(r.coordinateInput),i=this.getId(`${r.coordinateInput}__header`),n=this.renderConversionOptions(this.formats,!1,o),{messages:c,headingLevel:p}=this;if(!c)return null;let u=this.renderIconButton({iconType:g.arrowLeft,flipRtl:!0,clickFunction:()=>{this.currentView="conversions"},label:c.back,title:c.back});return h`<div aria-labelledby=${i??a} class=${s(r.inputForm)} role=search><div class=${s(r.sectionHeading)}>${u}${y({class:f(r.sectionTitle,x.heading),id:i,level:p,children:c.inputCoordTitle})}</div><div class=${s(r.inputFormGroup)}><calcite-select aria-controls=${t??a} class=${s(r.inputSelect)} .label=${c.selectFormat} scale=s @calciteSelectChange=${this.setInputFormat}>${n}</calcite-select><calcite-input aria-labelledby=${i??a} class=${s(r.coordinateInput)} data-format=${e??a} id=${t??a} @keydown=${this.processUserKeyboardInput} .placeholder=${c.inputCoordTitle} required scale=s .status=${this.invalidInput?"invalid":"idle"} ${I(this._coordinateInput)}></calcite-input></div><div class=${s(r.inputFormGroup)}><calcite-label layout=inline scale=s><calcite-checkbox .checked=${this.goToEnabled} @calciteCheckboxChange=${this.toggleGoTo}></calcite-checkbox>${c.goTo}</calcite-label><calcite-button appearance=outline kind=neutral @click=${this.processUserMouseInput} type=button width=auto>${c.convert}</calcite-button></div></div>`}renderCopyButton(e){let{messages:o}=this;return this.renderIconButton({iconType:g.copy,clickFunction:()=>this.copyToClipboard(e.displayCoordinate),buttonClasses:[r.copyButton],ariaLabel:o.copy,title:o.copy})}renderFirstConversionTools(e){let{messages:o,multipleConversionsDisabled:t,hideCaptureButton:i,hideExpandButton:n}=this;if(!o)return null;let c=this.mode==="live"?o.captureMode:o.liveMode,p=this.expanded?o.collapse:o.expand,u=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,d=!t&&!n?this.renderIconButton({iconType:this.expanded?g.chevronDown:g.chevronUp,clickFunction:()=>{this.expanded=!this.expanded},ariaControls:this.getId("conversion-list"),label:p,title:p}):null,b=t&&!i?this.renderIconButton({iconType:this.mode==="live"?g.pinTear:g.pinTearF,clickFunction:this.toggleMode,label:c,title:c}):null;return h`<ul class=${s(r.toolDisplay)}><li>${u}</li><li>${d}</li><li>${b}</li></ul>`}renderIconButton(e){let{iconType:o,clickFunction:t,buttonClasses:i,ariaLabel:n,ariaControls:c,label:p,flipRtl:u,title:d}=e;return h`<calcite-button appearance=transparent aria-label=${n??a} aria-controls=${c??a} class=${s(f(i))} .iconFlipRtl=${u?"start":void 0} .iconStart=${o} kind=neutral .label=${p} @click=${t} title=${d??a}></calcite-button>`}renderNoBasemapView(){return h`<div class=${s(f(r.noBasemap,r.base))}>${this.messages.noBasemap}</div>`}renderPrimaryTools(){let{messages:e,hideInputButton:o,hideCaptureButton:t,hideSettingsButton:i}=this;if(!e)return null;let n=this.mode==="live"?e.captureMode:e.liveMode,c=o?null:this.renderIconButton({iconType:"pencil",clickFunction:()=>{this.currentView="coordinate-input"},label:e.inputCoordTitle,title:e.inputCoordTitle}),p=t?null:this.renderIconButton({iconType:this.mode==="live"?g.pinTear:g.pinTearF,clickFunction:this.toggleMode,label:n,title:n}),u=i?null:this.renderIconButton({iconType:"gear",clickFunction:()=>{this.currentView="settings"},label:e.settingsTitle,title:e.settingsTitle});return h`<ul class=${s(r.toolDisplay)}><li>${c}</li><li>${p}</li><li>${u}</li></ul>`}renderSettingsView(){let e=this.getId(r.patternInput),o=this.getId(`${r.patternInput}__header`),t=this.getId(r.previewCoordinate),i=this.formats.filter(w=>$(w)),n=this.findSettingsFormat(),c=n?i.indexOf(n):-1,p=this.renderConversionOptions(i,!0,c),u=n?.currentPattern,{messages:d,headingLevel:b}=this;if(!d)return null;let v=this.renderIconButton({iconType:g.arrowLeft,flipRtl:!0,clickFunction:()=>{this.currentView="conversions"},label:d.back,title:d.back}),m=this.renderIconButton({iconType:g.refresh,clickFunction:this.setDefaultPattern,label:d.defaultPattern,title:d.defaultPattern});return h`<div aria-labelledby=${o??a} class=${s(r.settings)}><div class=${s(r.sectionHeading)}>${v}${y({class:f(r.sectionTitle,x.heading),id:o,level:b,children:d.settingsTitle})}</div><div class=${s(f(r.settingsFormGroup,r.firstSettingsGroup))}><calcite-label alignment=center .for=${e} scale=s>${d.changeCoordinateDisplay}<calcite-select .label=${d.selectFormat} width=full @calciteSelectChange=${this.setSettingsFormat}>${p}</calcite-select><div class=${s(r.settingsFormGroupHorizontal)}><calcite-input aria-controls=${t??a} class=${s(r.patternInput)} id=${e??a} type=text .value=${u} @calciteInputInput=${this.updateCurrentPattern}></calcite-input>${m}</div></calcite-label></div><div class=${s(r.settingsFormGroup)}><calcite-label alignment=center scale=s>${d.preview}<div class=${s(r.previewCoordinate)} id=${t??a} tabindex=0>${this.previewConversion?.displayCoordinate}</div></calcite-label></div></div>`}renderTools(e,o){let t=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,{messages:i}=this;if(!i)return null;let n=this.renderIconButton({iconType:"x",clickFunction:()=>this.removeConversion(e),ariaControls:o,label:i.removeConversion,title:i.removeConversion});return h`<ul class=${s(r.toolDisplay)}><li>${t}</li><li>${n}</li></ul>`}};function R(C){let e=C.getAttribute("data-index");return e?window.parseInt(e):null}B("arcgis-coordinate-conversion",k);return k},"applications/Components/formatUtils","geometry/Point","widgets/CoordinateConversion/support/Conversion","widgets/CoordinateConversion/CoordinateConversionViewModel",b,c,d)
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
|
+
import{a as y}from"./46UFZIVW.js";import"./CFLY4SLF.js";import d from"./HNBK6XSY.js";import{a as P}from"./DJT3VPSJ.js";import{a as x}from"./JE2ORVV3.js";import c from"./HPFK7PVI.js";import b from"./NHGSPJM5.js";import{g as M}from"./JAIB2DTF.js";import"./D3SKCWKQ.js";import{b as f}from"./WXO4UREA.js";import{H as z,I,J as F,K as s,M as a,P as B,a as T,b as h,s as _}from"./EKVFT7YW.js";import"./CITKZOZS.js";export default $arcgis.t(([{hasDisplayProperties:$},L,D,E,,,S])=>{var l="arcgis-coordinate-conversion",r={base:l,expandUp:`${l}__conversions-view--expand-up`,expandDown:`${l}__conversions-view--expand-down`,noBasemap:`${l}__no-basemap`,coordDisplay:`${l}__coordinate-display`,conversionRow:`${l}__conversion-row`,rowSelect:`${l}__row-select`,conversionsView:`${l}__conversions-view`,conversionsList:`${l}__conversion-list`,toolDisplay:`${l}__tool-display`,copyButton:`${l}__copy-button`,coordinateConversionAlert:`${l}__alert`,coordinateInput:`${l}__coordinate-input`,inputForm:`${l}__input-form`,sectionHeading:`${l}__section-heading`,inputFormGroup:`${l}__coordinate-input__form-group`,inputSelect:`${l}__coordinate-input__select`,sectionTitle:`${l}__section-title`,patternInput:`${l}__pattern-input`,previewCoordinate:`${l}__preview-coordinate`,settings:`${l}__settings`,firstSettingsGroup:`${l}__settings__form-group-first`,settingsFormGroup:`${l}__settings__form-group`,settingsFormGroupHorizontal:`${l}__settings__form-group-horizontal`},A=T`[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:inherit}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:inherit}.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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-coordinate-conversion-flex-direction: column;width:var(--coordinate-conversion-width)}calcite-alert{width:var(--alert-width);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin-top:12.5%}.arcgis-coordinate-conversion__no-basemap{padding:var(--calcite-spacing-xxs)}.arcgis-coordinate-conversion{background-color:var(--calcite-color-foreground-1);position:relative;width:var(--coordinate-conversion-width)}.arcgis-coordinate-conversion__conversions-view{display:flex;flex-direction:var(--arcgis-coordinate-conversion-flex-direction)}.arcgis-coordinate-conversion__conversion-list{flex-direction:var(--arcgis-coordinate-conversion-flex-direction)}.arcgis-coordinate-conversion__conversions-view--expand-down{display:flex;flex-direction:column}.arcgis-coordinate-conversion__conversions-view--expand-down .arcgis-coordinate-conversion__conversion-list{flex-direction:column}.arcgis-coordinate-conversion__conversions-view--expand-up{display:flex;flex-direction:column-reverse}.arcgis-coordinate-conversion__conversions-view--expand-up .arcgis-coordinate-conversion__conversion-list{flex-direction:column-reverse}.arcgis-coordinate-conversion__conversion-list{display:flex;padding-left:0;margin:0}.arcgis-coordinate-conversion__tool-display{list-style:none;display:flex;margin:0;padding:0;font-size:var(--calcite-font-size-sm)}.arcgis-coordinate-conversion__conversion-row{padding:0 var(--esri-widget-padding-y);justify-content:space-between;align-items:center;display:flex}.arcgis-coordinate-conversion__conversion-row:hover .arcgis-coordinate-conversion__copy-button{display:block}.arcgis-coordinate-conversion__conversions-view{padding:var(--calcite-spacing-md)}.arcgis-coordinate-conversion__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)}.arcgis-coordinate-conversion__coordinate-display:hover{background:var(--calcite-color-transparent-hover)}.arcgis-coordinate-conversion__copy-button{display:none}.arcgis-coordinate-conversion__row-select{width:5rem;flex-shrink:0;text-align-last:center}.arcgis-coordinate-conversion__section-heading{display:flex;align-items:center;background-color:var(--calcite-color-background);width:100%;height:var(--calcite-size-fixed-xxxl)}.arcgis-coordinate-conversion__section-title{margin:0 auto!important}.arcgis-coordinate-conversion__coordinate-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%}.arcgis-coordinate-conversion__input-form{display:flex;flex-direction:column}.arcgis-coordinate-conversion__coordinate-input{flex:1;margin:0;font-size:var(--coordinate-font-size)}.arcgis-coordinate-conversion__settings{display:flex;flex-direction:column;align-items:center}.arcgis-coordinate-conversion__settings__form-group{display:flex;flex-direction:column;align-items:center;width:60%}.arcgis-coordinate-conversion__settings__form-group-horizontal{display:flex;position:relative;flex-direction:row;width:100%}.arcgis-coordinate-conversion__settings__form-group-first{margin-top:var(--calcite-spacing-sm)}.arcgis-coordinate-conversion__settings__form-group:last-child{width:100%;text-align:center}.arcgis-coordinate-conversion__preview-coordinate{min-height:var(--calcite-spacing-xl)}`,O=2500,U=1e3,G=new L({x:0,y:0}),g={chevronDown:"chevron-down",chevronUp:"chevron-up",copy:"copy",pinTear:"pin-tear",pinTearF:"pin-tear-f",arrowLeft:"arrow-left",refresh:"refresh"},j=S(E),k=class extends F{constructor(){super(...arguments),this.alertTimer=-1,this.messages=P(),this._coordinateInput=z(),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.state=this.viewModel.state,this.storageDisabled=this.viewModel.storageEnabled,this.storageType=this.viewModel.storageType,this.arcgisConversionChange=_(),this.arcgisPropertyChange=M()("currentLocation","state","expanded","mode"),this.arcgisReady=_()}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,label:1,locationSymbol:0,mode:3,multipleConversionsDisabled:7,orientation:3,position:3,referenceElement:1,state:3,storageDisabled:7,storageType:1}}static{this.styles=A}get currentView(){return this._currentView}set currentView(e){e!=="conversions"?this.viewModel.pause():this.viewModel.resume(),e==="settings"&&this.setPreviewConversion(),this._currentView=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,o){return await this.viewModel.reverseConvert(e,o)}addConversion(e){let o=e.target,t=o.selectedOption.value,i=R(o);if(t==null||i==null)return;let n=new D({format:t});o.value="default",i>=0?(this.conversions.removeAt(i),this.conversions.add(n,i)):this.conversions.add(n),this.arcgisConversionChange.emit()}async copyToClipboard(e){e&&(e=e.replace(//gu,""),await navigator.clipboard.writeText(e),this.showAlertMessage(null,this.messages.copySuccessMessage,"success",U))}findSettingsFormat(){return this.settingsFormat||this.conversions.reduceRight((e,o)=>{let t=o.format;return t&&$(t)?t:e},null)||this.formats.find(e=>$(e))||null}getId(e){return`arcgis-coordinate-conversion-${e}`}async processUserInput(e,o){let{viewModel:t}=this;try{let i=await this._reverseConvert(e,o);if(!i)throw new Error("failed to process user input");this.mode==="capture"?t.resume():this.mode="capture",this.invalidInput=!1,this.currentLocation=i??void 0,t.setLocation(i),this.currentView="conversions",this._coordinateInput.value&&(this._coordinateInput.value.value="")}catch(i){console.error(i),this.showAlertMessage(null,this.messages?.invalidCoordinate,"warning"),this.invalidInput=!0}}async processUserKeyboardInput(e){let{key:o}=e;if(o==="Enter"){let t=this.inputFormat||this.conversions.at(0)?.format,i=this._coordinateInput.value?.value;if(!t||!i)return;await this.processUserInput(i,t)}else this.invalidInput=!1}async processUserMouseInput(){let e=this.inputFormat||this.conversions.at(0)?.format,o=this._coordinateInput.value?.value;!e||!o||await this.processUserInput(o,e)}removeConversion(e){this.conversions.remove(e),this.arcgisConversionChange.emit()}async _reverseConvert(e,o){let t=this.viewModel,i=await o.reverseConvert(e);return this.goToEnabled&&i&&t.goToLocation(i).catch(n=>{console.warn(n),this.showAlertMessage(null,this.messages?.locationOffBasemap,"warning")}),i}setDefaultPattern(e){e.stopPropagation();let o=this.findSettingsFormat();o?.defaultPattern&&(o.currentPattern=o.defaultPattern)}setInputFormat(e){let o=e.target.selectedOption.value;o!=null&&(this.inputFormat=o)}setPreviewConversion(){let e=this.findSettingsFormat(),o=this.viewModel;if(e){let t=this.conversions.find(i=>i.format===e);this.previewConversion=new D({format:e,position:{location:this.currentLocation,coordinate:t?.position?.coordinate}}),this.previewConversion.position?.coordinate||o.previewConversion(this.previewConversion,o.currentLocation??G)}}setSettingsFormat(e){let o=e.target.selectedOption.value;o!=null&&(this.settingsFormat=o,this.setPreviewConversion())}showAlertMessage(e,o,t,i=O){this.alertProperties={...this.alertProperties,title:e,message:o,kind:t,open:!0},window.clearTimeout(this.alertTimer),this.alertTimer=window.setTimeout(()=>{this.alertProperties={...this.alertProperties,open:!1}},i)}toggleGoTo(){this.goToEnabled=!this.goToEnabled}toggleMode(){this.mode=this.mode==="live"?"capture":"live"}updateCurrentPattern(e){e.stopPropagation();let o=e.target,t=this.findSettingsFormat();t&&(t.currentPattern=o.value)}render(){let{currentView:e}=this,o;return this.viewModel.state==="disabled"||e==="no-basemap"?o=this.renderNoBasemapView():e==="coordinate-input"?o=this.renderCoordinateInputView():e==="settings"?o=this.renderSettingsView():o=this.renderConversionsView(),h`<div class=${s(f(r.base))}>${o}${this.renderAlert()}</div>`}renderAlert(){let{messages:e}=this,{open:o,message:t,title:i,kind:n}=this.alertProperties;return h`<calcite-alert class=${s(r.coordinateConversionAlert)} .open=${o} scale=s .kind=${n} .label=${e.alertLabel} @calciteAlertClose=${this.clearAlertTimeout}>${i?h`<div slot=title>${i}</div>`:null}${t?h`<div slot=message>${t}</div>`:null}</calcite-alert>`}renderConversionOptions(e,o,t){let i=this.conversions.at(0),n=i?.format?.name;return e.map((c,p)=>{let u=o??!i?!1:n===c.name||this.conversions.map(d=>d.format?.name).includes(c.name);return h`<calcite-option .disabled=${u} .label=${c.label.toUpperCase()} .selected=${p===t} .value=${c}>${c.label}</calcite-option>`})}renderConversionView(e,o){let{messages:t}=this,{format:i}=e,n=i?.label??"",c=o===0,p=this.getId(`list-item-${o}`),u=t.conversionOutput.replace("{format name}",n),d=c||this.expanded,b=c?this.renderFirstConversionTools(e):this.renderTools(e,p),v=c&&!e.displayCoordinate?t.noLocation:e.displayCoordinate,m=h`<div aria-label=${v??a} class=${s(r.coordDisplay)} data-conversion=${e??a} tabindex=0 title=${v??""??a}>${v}</div>`,w=this.renderConversionOptions(this.formats.filter(V=>V!==i));return d?h`<li aria-label=${u??a} class=${s(r.conversionRow)} id=${p??a} tabindex=0><calcite-select aria-controls=${p??a} class=${s(r.rowSelect)} data-index=${String(o)??a} .label=${t.selectFormat??""} scale=s @calciteSelectChange=${this.addConversion}><calcite-option .label=${n.toUpperCase()} selected>${n.toUpperCase()}</calcite-option>${w}</calcite-select>${m}${b}</li>`:null}renderConversionsView(){let{messages:e}=this,o=this.viewModel.conversions.map(this.renderConversionView.bind(this)),t=this.getId("conversion-list"),i=this.expanded?h`<div class=${s(r.conversionRow)}><calcite-select aria-controls=${t??a} data-index=-1 .label=${e.addConversion} scale=s @calciteSelectChange=${this.addConversion} title=${e.addConversion??a}><calcite-option disabled selected value=default>${e.addConversion}</calcite-option>${this.renderConversionOptions(this.formats)}</calcite-select>${this.renderPrimaryTools()}</div>`:null,n={[r.expandUp]:this.orientation==="expand-up",[r.expandDown]:this.orientation==="expand-down"};return h`<div class=${s(f(r.conversionsView,n))}><ul aria-expanded=${this.expanded??a} class=${s(r.conversionsList)} id=${t??a}>${o}</ul>${i}</div>`}renderCoordinateInputView(){let e=this.inputFormat??this.conversions.at(0)?.format,o=this.formats.findIndex(d=>d.name===e?.name),t=this.getId(r.coordinateInput),i=this.getId(`${r.coordinateInput}__header`),n=this.renderConversionOptions(this.formats,!1,o),{messages:c,headingLevel:p}=this;if(!c)return null;let u=this.renderIconButton({iconType:g.arrowLeft,flipRtl:!0,clickFunction:()=>{this.currentView="conversions"},label:c.back,title:c.back});return h`<div aria-labelledby=${i??a} class=${s(r.inputForm)} role=search><div class=${s(r.sectionHeading)}>${u}${y({class:f(r.sectionTitle,x.heading),id:i,level:p,children:c.inputCoordTitle})}</div><div class=${s(r.inputFormGroup)}><calcite-select aria-controls=${t??a} class=${s(r.inputSelect)} .label=${c.selectFormat} scale=s @calciteSelectChange=${this.setInputFormat}>${n}</calcite-select><calcite-input aria-labelledby=${i??a} class=${s(r.coordinateInput)} data-format=${e??a} id=${t??a} @keydown=${this.processUserKeyboardInput} .placeholder=${c.inputCoordTitle} required scale=s .status=${this.invalidInput?"invalid":"idle"} ${I(this._coordinateInput)}></calcite-input></div><div class=${s(r.inputFormGroup)}><calcite-label layout=inline scale=s><calcite-checkbox .checked=${this.goToEnabled} @calciteCheckboxChange=${this.toggleGoTo}></calcite-checkbox>${c.goTo}</calcite-label><calcite-button appearance=outline kind=neutral @click=${this.processUserMouseInput} type=button width=auto>${c.convert}</calcite-button></div></div>`}renderCopyButton(e){let{messages:o}=this;return this.renderIconButton({iconType:g.copy,clickFunction:()=>this.copyToClipboard(e.displayCoordinate),buttonClasses:[r.copyButton],ariaLabel:o.copy,title:o.copy})}renderFirstConversionTools(e){let{messages:o,multipleConversionsDisabled:t,hideCaptureButton:i,hideExpandButton:n}=this;if(!o)return null;let c=this.mode==="live"?o.captureMode:o.liveMode,p=this.expanded?o.collapse:o.expand,u=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,d=!t&&!n?this.renderIconButton({iconType:this.expanded?g.chevronDown:g.chevronUp,clickFunction:()=>{this.expanded=!this.expanded},ariaControls:this.getId("conversion-list"),label:p,title:p}):null,b=t&&!i?this.renderIconButton({iconType:this.mode==="live"?g.pinTear:g.pinTearF,clickFunction:this.toggleMode,label:c,title:c}):null;return h`<ul class=${s(r.toolDisplay)}><li>${u}</li><li>${d}</li><li>${b}</li></ul>`}renderIconButton(e){let{iconType:o,clickFunction:t,buttonClasses:i,ariaLabel:n,ariaControls:c,label:p,flipRtl:u,title:d}=e;return h`<calcite-button appearance=transparent aria-label=${n??a} aria-controls=${c??a} class=${s(f(i))} .iconFlipRtl=${u?"start":void 0} .iconStart=${o} kind=neutral .label=${p} @click=${t} title=${d??a}></calcite-button>`}renderNoBasemapView(){return h`<div class=${s(f(r.noBasemap,r.base))}>${this.messages.noBasemap}</div>`}renderPrimaryTools(){let{messages:e,hideInputButton:o,hideCaptureButton:t,hideSettingsButton:i}=this;if(!e)return null;let n=this.mode==="live"?e.captureMode:e.liveMode,c=o?null:this.renderIconButton({iconType:"pencil",clickFunction:()=>{this.currentView="coordinate-input"},label:e.inputCoordTitle,title:e.inputCoordTitle}),p=t?null:this.renderIconButton({iconType:this.mode==="live"?g.pinTear:g.pinTearF,clickFunction:this.toggleMode,label:n,title:n}),u=i?null:this.renderIconButton({iconType:"gear",clickFunction:()=>{this.currentView="settings"},label:e.settingsTitle,title:e.settingsTitle});return h`<ul class=${s(r.toolDisplay)}><li>${c}</li><li>${p}</li><li>${u}</li></ul>`}renderSettingsView(){let e=this.getId(r.patternInput),o=this.getId(`${r.patternInput}__header`),t=this.getId(r.previewCoordinate),i=this.formats.filter(w=>$(w)),n=this.findSettingsFormat(),c=n?i.indexOf(n):-1,p=this.renderConversionOptions(i,!0,c),u=n?.currentPattern,{messages:d,headingLevel:b}=this;if(!d)return null;let v=this.renderIconButton({iconType:g.arrowLeft,flipRtl:!0,clickFunction:()=>{this.currentView="conversions"},label:d.back,title:d.back}),m=this.renderIconButton({iconType:g.refresh,clickFunction:this.setDefaultPattern,label:d.defaultPattern,title:d.defaultPattern});return h`<div aria-labelledby=${o??a} class=${s(r.settings)}><div class=${s(r.sectionHeading)}>${v}${y({class:f(r.sectionTitle,x.heading),id:o,level:b,children:d.settingsTitle})}</div><div class=${s(f(r.settingsFormGroup,r.firstSettingsGroup))}><calcite-label alignment=center .for=${e} scale=s>${d.changeCoordinateDisplay}<calcite-select .label=${d.selectFormat} width=full @calciteSelectChange=${this.setSettingsFormat}>${p}</calcite-select><div class=${s(r.settingsFormGroupHorizontal)}><calcite-input aria-controls=${t??a} class=${s(r.patternInput)} id=${e??a} type=text .value=${u} @calciteInputInput=${this.updateCurrentPattern}></calcite-input>${m}</div></calcite-label></div><div class=${s(r.settingsFormGroup)}><calcite-label alignment=center scale=s>${d.preview}<div class=${s(r.previewCoordinate)} id=${t??a} tabindex=0>${this.previewConversion?.displayCoordinate}</div></calcite-label></div></div>`}renderTools(e,o){let t=e.displayCoordinate&&this.mode==="capture"?this.renderCopyButton(e):null,{messages:i}=this;if(!i)return null;let n=this.renderIconButton({iconType:"x",clickFunction:()=>this.removeConversion(e),ariaControls:o,label:i.removeConversion,title:i.removeConversion});return h`<ul class=${s(r.toolDisplay)}><li>${t}</li><li>${n}</li></ul>`}};function R(C){let e=C.getAttribute("data-index");return e?window.parseInt(e):null}B("arcgis-coordinate-conversion",k);return k},"applications/Components/formatUtils","geometry/Point","widgets/CoordinateConversion/support/Conversion","widgets/CoordinateConversion/CoordinateConversionViewModel",b,c,d)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as p}from"./
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
|
+
import{a as p}from"./6WEX6YLK.js";import{J as u,K as l,P as o,a as c,b as r}from"./EKVFT7YW.js";import"./CITKZOZS.js";export default $arcgis.t(([{watch:m},v])=>{var _=c`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`,d="arcgis-print",f={srLabel:`${d}__sr-label`,invalidWkidText:`${d}__invalid-wkid-text`};function b(e){if(e==null)return!1;let t=e.wkid;return t!=null&&t>=2e3?!0:e.wkt2!=null||e.wkt!=null}function g(e){return e==null?e:Math.round(Number.parseFloat(e))}var n=class extends u{constructor(){super(...arguments),this._isValidSpatialReference=!0}static{this.properties={_isValidSpatialReference:16,_outSpatialReference:16,templateOptions:0,viewModel:0,messages:0}}static{this.styles=_}loaded(){this.manager.onLifecycle(()=>[m(()=>this.viewModel.outSpatialReference,t=>{this._outSpatialReference=t??void 0},{initial:!0})])}render(){let{messages:t,_outSpatialReference:a}=this;return r`<div><calcite-label><div class=${l(f.srLabel)}>${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString()??""} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${({currentTarget:s})=>{let i=g(s.value);if(Number.isNaN(i)||i==null||i<=0||!Number.isFinite(i)){s.value=`${a?.wkid??""}`;return}this.viewModel.outSpatialReference=Number.isNaN(i)||i==null?null:new v({wkid:i}),this._isValidSpatialReference=!a||b(a)}}></calcite-input-number>${this._isValidSpatialReference?null:p(`out-sr-${a?.wkid}`,r`<div class=${l(f.invalidWkidText)}>${t.invalidWkid}</div>`)}</calcite-label></div>`}};o("arcgis-print-out-spatial-reference-input",n);return n},"core/reactiveUtils","geometry/SpatialReference")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{c as u}from"./
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
|
+
import{c as u}from"./JAIB2DTF.js";import{t as h}from"./EKVFT7YW.js";var i=class o{constructor(){this._groups=new Map}destroy(){this.removeAll()}add(r,s){if(Array.isArray(r)){let e=this._getOrCreateGroup(s);for(let t of r)this._isHandle(t)&&e.push(t)}else this._isHandle(r)&&this._getOrCreateGroup(s).push(r);return this}forEach(r,s){if(typeof r=="function")this._groups.forEach(e=>e.forEach(r));else{let e=this._getGroup(r);e&&s&&e.forEach(s)}}has(r){return this._groups.has(this._ensureGroupKey(r))}remove(r){if(typeof r!="string"&&Array.isArray(r)){for(let s of r)this.remove(s);return this}return this.has(r)?(this._removeAllFromGroup(this._getGroup(r)),this._groups.delete(this._ensureGroupKey(r)),this):this}removeAll(){return this._groups.forEach(r=>this._removeAllFromGroup(r)),this._groups.clear(),this}_isHandle(r){return r&&(!!r.remove||r instanceof o)}_getOrCreateGroup(r){if(this.has(r))return this._getGroup(r);let s=[];return this._groups.set(this._ensureGroupKey(r),s),s}_getGroup(r){return this._groups.get(this._ensureGroupKey(r))}_ensureGroupKey(r){return r||"_default_"}_removeAllFromGroup(r){for(let s of r)s instanceof o?s.removeAll():s.remove()}},n=class extends h{constructor(r){super(),this.destroyed=!1,r==="disconnect"?this.onDisconnected(()=>this.removeAllHandles()):this.onDestroy(()=>this.destroy())}addHandles(r,s){if(this.destroyed){let e=Array.isArray(r)?r:[r];for(let t of e)t.remove();return}this._handles??=new i,this._handles.add(r,s)}removeHandles(r){this._handles?.remove(r)}removeAllHandles(){this._handles?.removeAll()}destroy(){this.destroyed=!0,this.removeAllHandles()}hasHandles(r){return this._handles?.has(r)??!1}},l=u(n);export{l as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
|
+
import"./CITKZOZS.js";var r={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u0645",_era_bc:"\u0642.\u0645",A:"\u0635",P:"\u0645",AM:"\u0635",PM:"\u0645","A.M.":"\u0635","P.M.":"\u0645",January:"\u064A\u0646\u0627\u064A\u0631",February:"\u0641\u0628\u0631\u0627\u064A\u0631",March:"\u0645\u0627\u0631\u0633",April:"\u0623\u0628\u0631\u064A\u0644",May:"\u0645\u0627\u064A\u0648",June:"\u064A\u0648\u0646\u064A\u0648",July:"\u064A\u0648\u0644\u064A\u0648",August:"\u0623\u063A\u0633\u0637\u0633",September:"\u0633\u0628\u062A\u0645\u0628\u0631",October:"\u0623\u0643\u062A\u0648\u0628\u0631",November:"\u0646\u0648\u0641\u0645\u0628\u0631",December:"\u062F\u064A\u0633\u0645\u0628\u0631",Jan:"\u064A\u0646\u0627\u064A\u0631",Feb:"\u0641\u0628\u0631\u0627\u064A\u0631",Mar:"\u0645\u0627\u0631\u0633",Apr:"\u0623\u0628\u0631\u064A\u0644","May(short)":"\u0645\u0627\u064A\u0648",Jun:"\u064A\u0648\u0646\u064A\u0648",Jul:"\u064A\u0648\u0644\u064A\u0648",Aug:"\u0623\u063A\u0633\u0637\u0633",Sep:"\u0633\u0628\u062A\u0645\u0628\u0631",Oct:"\u0623\u0643\u062A\u0648\u0628\u0631",Nov:"\u0646\u0648\u0641\u0645\u0628\u0631",Dec:"\u062F\u064A\u0633\u0645\u0628\u0631",Sunday:"\u0627\u0644\u0623\u062D\u062F",Monday:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tuesday:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wednesday:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thursday:"\u0627\u0644\u062E\u0645\u064A\u0633",Friday:"\u0627\u0644\u062C\u0645\u0639\u0629",Saturday:"\u0627\u0644\u0633\u0628\u062A",Sun:"\u0627\u0644\u0623\u062D\u062F",Mon:"\u0627\u0644\u0627\u062B\u0646\u064A\u0646",Tue:"\u0627\u0644\u062B\u0644\u0627\u062B\u0627\u0621",Wed:"\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621",Thu:"\u0627\u0644\u062E\u0645\u064A\u0633",Fri:"\u0627\u0644\u062C\u0645\u0639\u0629",Sat:"\u0627\u0644\u0633\u0628\u062A",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u062A\u063A\u064A\u064A\u0631 \u0645\u0642\u064A\u0627\u0633 \u0627\u0644\u0631\u0633\u0645",Play:"\u062A\u0634\u063A\u064A\u0644",Stop:"\u0625\u064A\u0642\u0627\u0641 \u062A\u0634\u063A\u064A\u0644",Legend:"\u0648\u0633\u064A\u0644\u0629 \u0627\u0644\u0625\u064A\u0636\u0627\u062D","Press ENTER to toggle":"",Loading:"\u062A\u062D\u0645\u064A\u0644",Home:"\u0627\u0644\u0635\u0641\u062D\u0629 \u0627\u0644\u0631\u0626\u064A\u0633\u064A\u0629",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0637\u0628\u0627\u0639\u0629",Image:"\u0635\u0648\u0631\u0629",Data:"\u0628\u064A\u0627\u0646\u0627\u062A",Print:"\u0637\u0628\u0627\u0639\u0629","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0645\u0646 %1 \u0625\u0644\u0649 %2","From %1":"\u0645\u0646 %1","To %1":"\u0625\u0644\u0649 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{a as u}from"./LT2QT4FA.js";import e from"./MDS6KZWA.js";import{a as y}from"./GJL4PHRB.js";import{a as $}from"./K26IXW6S.js";import d from"./APMBI3FF.js";import c from"./WFNPWBMN.js";import{g as S}from"./KBSJT6QR.js";import"./MJ3R4BZI.js";import{b as x}from"./DH6S47BA.js";import{I as _,J as v,K as a,M as w,N as f,P as b,a as p,b as s,s as m}from"./QPMN6LYR.js";import"./SE6JMH6T.js";export default $arcgis.t(([R,{isAbortError:T},{substitute:A},{watch:C},,{a:l},M])=>{var n="arcgis-search",c={base:n,autocomplete:`${n}__autocomplete`,dropdown:`${n}__dropdown`,container:`${n}__container`,form:`${n}__form`,submitButton:`${n}__submit-button`},D=p`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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-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-hidden{display:none!important}:host{width:240px}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:100%}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.arcgis-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}`,E=M(R),g=class extends v{constructor(){super(...arguments),this.viewModel=E(this),this._currentLocationValue="search-use-current-location",this._autocompleteEl=void 0,this._searchResultRendererEl=void 0,this._suggestController=void 0,this._searchController=void 0,this._lastSearchTerm="",this.messages=y({blocking:!0}),this._locateFailed=!1,this._showNoResults=!1,this.view=this.viewModel.view,this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigateDisabled=this.viewModel.autoNavigate,this.autoSelectDisabled=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSourcesDisabled=this.viewModel.includeDefaultSources,this.locationDisabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupDisabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicDisabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllDisabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsDisabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=S()("state"),this.arcgisReady=m(),this.arcgisSearchClear=l(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=l(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=l(()=>this.viewModel,"search-start"),this.arcgisSelectResult=l(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=l(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=l(()=>this.viewModel,"suggest-start")}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,view:0,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigateDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:5,includeDefaultSourcesDisabled:5,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=D}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return!this.locationDisabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}clear(){this._locateFailed=!1,this.viewModel.clear()}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async search(e){this._cancelQueries();let t=new AbortController,{signal:i}=t;this._searchController=t;try{let r=await this.viewModel.search(e,{signal:i});return this._searchController!==t?void 0:(r?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=void 0,r)}catch{if(this._searchController!==t)return;this._searchController=void 0;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:i}=t;this._suggestController=t;try{let r=await this.viewModel.suggest(e,null,{signal:i});return this._suggestController!==t?void 0:(this._suggestController=void 0,r?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),r)}catch{return this._suggestController!==t||(this._suggestController=void 0),null}}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this._searchResultRendererEl,this.viewModel?.defaultPopupTemplate],()=>{let e=this.viewModel?.defaultPopupTemplate,{_searchResultRendererEl:t}=this;if(e&&t){let i=document.createElement("div");i.appendChild(t),e.content=i}},{initial:!0}),C(()=>this.messages,e=>this.viewModel.messages=e,{initial:!0})])}_addSearchResultRenderer(){this._searchResultRendererEl=f(s`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let i=JSON.parse(t),r=this.viewModel.suggestions?.find(({sourceIndex:o})=>o===i.sourceIndex)?.results?.find(({key:o})=>`${o}`==`${i.key}`);r&&this.search(r)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(i){T(i)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=void 0}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=u(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=u(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:i}=this.viewModel,r=i.at(e);return(e===-1?t.all:r?.name||t.untitledSource)||""}render(){return this._addSearchResultRenderer(),s`<div class=${a(x(c.base,$.widget))}><div class=${a(c.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:i}=this,{allSources:r,searchAllEnabled:o}=this.viewModel;return r.length>1?s`<calcite-dropdown class=${a(c.dropdown)} .disabled=${t} .open=${i==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o?this._renderSource(-1):null}${r.map((d,h)=>this._renderSource(h)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return s`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:i}=this,{maxInputLength:r,placeholder:o,searchTerm:d,state:h}=this.viewModel,k=this.label??t.searchButtonTitle??"";return s`<calcite-autocomplete .autocomplete=${"off"} class=${a(c.autocomplete)} .disabled=${i} .icon=${this.icon||!1} .inputValue=${d} .label=${k} .loading=${h==="searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${o} title=${(d?"":o)??w} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${_(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return s`<form class=${a(c.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class=${a(c.submitButton)} type=submit>${this.label??this.messages.searchButtonTitle??""}</button></form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:i}=this.viewModel,{sourceIndex:r}=e,o=e.results?.length,d=t.length>1&&i===-1,h=this._getSourceName(r);return o&&d?s`<calcite-autocomplete-item-group .heading=${h}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:i}){let r={key:e,sourceIndex:t};return s`<calcite-autocomplete-item .heading=${i??this.messages.untitledResult??""} .value=${JSON.stringify(r)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return s`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,i=e?A(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return s`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${i}</div></calcite-notice>`}_renderLocateError(){return s`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};b("arcgis-search",g);return g},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",c,d,e)
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
|
+
import{a as u}from"./CSIWD5V4.js";import e from"./HNBK6XSY.js";import{a as y}from"./DJT3VPSJ.js";import{a as $}from"./JE2ORVV3.js";import d from"./HPFK7PVI.js";import c from"./NHGSPJM5.js";import{g as S}from"./JAIB2DTF.js";import"./D3SKCWKQ.js";import{b as x}from"./WXO4UREA.js";import{I as _,J as v,K as a,M as w,N as f,P as b,a as p,b as s,s as m}from"./EKVFT7YW.js";import"./CITKZOZS.js";export default $arcgis.t(([R,{isAbortError:T},{substitute:A},{watch:C},,{a:l},M])=>{var n="arcgis-search",c={base:n,autocomplete:`${n}__autocomplete`,dropdown:`${n}__dropdown`,container:`${n}__container`,form:`${n}__form`,submitButton:`${n}__submit-button`},D=p`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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-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-hidden{display:none!important}:host{width:240px}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:100%}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.arcgis-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}`,E=M(R),g=class extends v{constructor(){super(...arguments),this.viewModel=E(this),this._currentLocationValue="search-use-current-location",this._autocompleteEl=void 0,this._searchResultRendererEl=void 0,this._suggestController=void 0,this._searchController=void 0,this._lastSearchTerm="",this.messages=y({blocking:!0}),this._locateFailed=!1,this._showNoResults=!1,this.view=this.viewModel.view,this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigateDisabled=this.viewModel.autoNavigate,this.autoSelectDisabled=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSourcesDisabled=this.viewModel.includeDefaultSources,this.locationDisabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupDisabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicDisabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllDisabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsDisabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=S()("state"),this.arcgisReady=m(),this.arcgisSearchClear=l(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=l(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=l(()=>this.viewModel,"search-start"),this.arcgisSelectResult=l(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=l(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=l(()=>this.viewModel,"suggest-start")}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,view:0,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigateDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:5,includeDefaultSourcesDisabled:5,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=D}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return!this.locationDisabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}clear(){this._locateFailed=!1,this.viewModel.clear()}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async search(e){this._cancelQueries();let t=new AbortController,{signal:i}=t;this._searchController=t;try{let r=await this.viewModel.search(e,{signal:i});return this._searchController!==t?void 0:(r?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=void 0,r)}catch{if(this._searchController!==t)return;this._searchController=void 0;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:i}=t;this._suggestController=t;try{let r=await this.viewModel.suggest(e,null,{signal:i});return this._suggestController!==t?void 0:(this._suggestController=void 0,r?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),r)}catch{return this._suggestController!==t||(this._suggestController=void 0),null}}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this.manager.onLifecycle(()=>[C(()=>[this._searchResultRendererEl,this.viewModel?.defaultPopupTemplate],()=>{let e=this.viewModel?.defaultPopupTemplate,{_searchResultRendererEl:t}=this;if(e&&t){let i=document.createElement("div");i.appendChild(t),e.content=i}},{initial:!0}),C(()=>this.messages,e=>this.viewModel.messages=e,{initial:!0})])}_addSearchResultRenderer(){this._searchResultRendererEl=f(s`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let i=JSON.parse(t),r=this.viewModel.suggestions?.find(({sourceIndex:o})=>o===i.sourceIndex)?.results?.find(({key:o})=>`${o}`==`${i.key}`);r&&this.search(r)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(i){T(i)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=void 0}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=u(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=u(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:i}=this.viewModel,r=i.at(e);return(e===-1?t.all:r?.name||t.untitledSource)||""}render(){return this._addSearchResultRenderer(),s`<div class=${a(x(c.base,$.widget))}><div class=${a(c.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:i}=this,{allSources:r,searchAllEnabled:o}=this.viewModel;return r.length>1?s`<calcite-dropdown class=${a(c.dropdown)} .disabled=${t} .open=${i==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o?this._renderSource(-1):null}${r.map((d,h)=>this._renderSource(h)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return s`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:i}=this,{maxInputLength:r,placeholder:o,searchTerm:d,state:h}=this.viewModel,k=this.label??t.searchButtonTitle??"";return s`<calcite-autocomplete .autocomplete=${"off"} class=${a(c.autocomplete)} .disabled=${i} .icon=${this.icon||!1} .inputValue=${d} .label=${k} .loading=${h==="searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${o} title=${(d?"":o)??w} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${_(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return s`<form class=${a(c.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class=${a(c.submitButton)} type=submit>${this.label??this.messages.searchButtonTitle??""}</button></form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:i}=this.viewModel,{sourceIndex:r}=e,o=e.results?.length,d=t.length>1&&i===-1,h=this._getSourceName(r);return o&&d?s`<calcite-autocomplete-item-group .heading=${h}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:i}){let r={key:e,sourceIndex:t};return s`<calcite-autocomplete-item .heading=${i??this.messages.untitledResult??""} .value=${JSON.stringify(r)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return s`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,i=e?A(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return s`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${i}</div></calcite-notice>`}_renderLocateError(){return s`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};b("arcgis-search",g);return g},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",c,d,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
|
+
import b from"./NHGSPJM5.js";import"./JAIB2DTF.js";import{a}from"./D3SKCWKQ.js";import"./WXO4UREA.js";import{J as i,P as o,a as s,b as e,s as r}from"./EKVFT7YW.js";import"./CITKZOZS.js";export default $arcgis.t(([{a:m}])=>{var n=s`:host{pointer-events:auto}`,t=class extends i{constructor(){super(...arguments),this.view=m(this),this.arcgisReady=r()}static{this.properties={position:1,referenceElement:1,view:0}}static{this.styles=n}loaded(){a(this)}render(){return e`<slot></slot>`}};o("arcgis-placement",t);return t},b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
|
+
import"./CITKZOZS.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"hh:mm:ss a",_date_second_full:"hh:mm:ss a",_date_minute:"hh:mm a",_date_minute_full:"hh:mm a - MMM dd, yyyy",_date_hour:"hh:mm a",_date_hour_short:"hhaaa",_date_hour_full:"hh:mm a - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(a){let e="th";if(a<11||a>13)switch(a%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},Play:"",Stop:"","Zoom Out":"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Chord diagram":"","Flow diagram":"","TreeMap chart":"",Series:"","Candlestick Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import f from"./JFCOCWIV.js";import"./XIKKRD73.js";import e from"./QDDGPAZZ.js";import"./LT2QT4FA.js";import{a as E}from"./WY4FMZ7O.js";import"./WNLDRGCY.js";import d from"./MDS6KZWA.js";import{a as k}from"./GJL4PHRB.js";import{a as _}from"./K26IXW6S.js";import c from"./APMBI3FF.js";import a from"./WFNPWBMN.js";import{g as L}from"./KBSJT6QR.js";import"./MJ3R4BZI.js";import"./DH6S47BA.js";import{J as w,K as r,M as b,P as $,a as v,b as o,s as y}from"./QPMN6LYR.js";import"./SE6JMH6T.js";export default $arcgis.t(([T,{property:u,subclass:V},{ignoreAbortErrors:A},{watch:j},,,z,,S])=>{var B=v`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.arcgis-slice__container{display:flex;overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2);flex-direction:column;flex-shrink:0;flex-basis:auto;justify-content:space-between;gap:var(--calcite-spacing-md)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`,D=Object.defineProperty,H=Object.getOwnPropertyDescriptor,c=(e,i,t,d)=>{for(var l=d>1?void 0:d?H(i,t):i,g=e.length-1,p;g>=0;g--)(p=e[g])&&(l=(d?p(i,t,l):p(l))||l);return d&&l&&D(i,t,l),l},x=new Set,n=class extends S{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="SliceViewModel is only supported in 3D views."}async pickLayerToExclude(){let e=this.analysisView;if(e){let i=super.start({operation:t=>e.pickLayerToExclude(t),clear:!1});this._excludingLayers=i,i.finally(()=>{this._excludingLayers===i&&(this._excludingLayers=void 0)}),await i.catch()}}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.shape=null}initialize(){x.add(this)}destroy(){x.delete(this)}get state(){return this.disabled||!this.ready?"disabled":this._excludingLayers?"excludingLayer":this.operationState==="active"?"slicing":this.analysis.valid?"sliced":"ready"}get shape(){return this.analysis.shape}set shape(e){this.analysis.shape=e}get tiltEnabled(){return this.analysis.tiltEnabled}set tiltEnabled(e){this.analysis.tiltEnabled=e}get excludedLayers(){return this.analysis.excludedLayers}set excludedLayers(e){this.analysis.excludedLayers=e}get excludeGroundSurface(){return this.analysis.excludeGroundSurface}set excludeGroundSurface(e){this.analysis.excludeGroundSurface=e}async start(){x.forEach(e=>{e.view===this.view&&e!==this&&e.clear()}),await super.start()}onConnectToAnalysisView(e){e.active=!0}constructAnalysis(){return new T}};c([u()],n.prototype,"_excludingLayers",2);c([u({readOnly:!0})],n.prototype,"state",1);c([u()],n.prototype,"shape",1);c([u()],n.prototype,"tiltEnabled",1);c([u()],n.prototype,"excludedLayers",1);c([u()],n.prototype,"excludeGroundSurface",1);n=c([V("esri.components.Slice.SliceViewModel")],n);var s="arcgis-slice",a={base:s,actions:`${s}__actions`,cancelButton:`${s}__cancel-button`,container:`${s}__container`,error:`${s}__error`,excludeButton:`${s}__exclude-button`,hint:`${s}__hint`,hintText:`${s}__hint-text`,layerItem:`${s}__layer-item`,layerList:`${s}__layer-list`,layerListHeading:`${s}__layer-list-title`,newSliceButton:`${s}__clear-button`},P=z(n),f=class extends w{constructor(){super(...arguments),this.viewModel=P(this),this._messages=k(),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=3,this.icon="slice",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=L()("analysis","state"),this.arcgisReady=y()}static{this.properties={_hasVoxelLayers:16,view:0,analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,shape:0,state:35,tiltEnabled:5}}static{this.styles=B}get _hasVoxelLayers(){let i=this.viewModel?.view;return i!=null?i.allLayerViews.some(t=>t.type==="voxel-3d"):!1}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){A(this.viewModel.start())}load(){this.manager.onLifecycle(()=>[j(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return o`<div class=${r({[a.base]:!0,[_.widget]:!0,[_.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){let i=this._messages,{state:t,visible:d,supported:l}=this.viewModel,g=t==="slicing"||t==="excludingLayer";if(!d||!l)return null;l||o`<div class=${r(a.container)}><div class=${r(a.error)}><p>${this._messages.unsupported}</p></div></div>`;let{excludedLayers:p}=this.viewModel,m=this.excludeGroundSurface,C=p.length>0||m,h=t==="disabled";return o`<div class=${r(a.container)}><div class=${r(a.hint)}>${t==="excludingLayer"?o`<p class=${r(a.hintText)}>${i.excludeHint}</p>`:null}${t==="slicing"?o`<p class=${r(a.hintText)}>${this._hasVoxelLayers?i.voxelHint:i.hint}</p><p class=${r(a.hintText)}>${i.verticalHint}</p>`:null}</div>${!g&&C?o`<div class=${r(a.layerList)}>${E({class:a.layerListHeading,level:this.headingLevel,children:i.excludedLayers})}${I({layers:p.toArray(),excludeGroundSurface:m,onLayerClick:G=>{this.excludedLayers.remove(G)},onGroundClick:()=>{this.excludeGroundSurface=!1},listLabel:i.excludedLayers,layerActionLabel:i.includeLayer,groundItemTitle:i.ground})}</div>`:null}<div class=${r(a.actions)}>${g?null:o`<calcite-button class=${r(a.newSliceButton)} .disabled=${h} @click=${this.start}>${i.newSlice}</calcite-button>`}${t==="sliced"?o`<calcite-button appearance=outline-fill class=${r(a.excludeButton)} .disabled=${h} @click=${()=>this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>`:null}${t==="excludingLayer"?o`<calcite-button appearance=outline-fill class=${r(a.cancelButton)} .disabled=${h} @click=${()=>this.viewModel.stop()}>${i.cancel}</calcite-button>`:null}</div></div>`}};function M(e){return o`<calcite-list-item class=${r(a.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title??""}><calcite-action icon=x @click=${e.onClick} scale=s slot=actions-end .text=${e.actionLabel} title=${e.actionLabel??b}></calcite-action></calcite-list-item>`}function I(e){let i=e.layers.map(t=>M({uid:t.uid,title:t.title??"",onClick:()=>e.onLayerClick(t),actionLabel:e.layerActionLabel}));return e.excludeGroundSurface&&i.push(M({uid:"ground",title:e.groundItemTitle,onClick:e.onGroundClick,actionLabel:e.layerActionLabel})),o`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`}$("arcgis-slice",f);return f},"analysis/SliceAnalysis","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a,c,d,e,f)
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
|
+
import f from"./K45PFBYW.js";import"./55LZWI6D.js";import e from"./A5V225PW.js";import"./CSIWD5V4.js";import{a as E}from"./46UFZIVW.js";import"./CFLY4SLF.js";import d from"./HNBK6XSY.js";import{a as k}from"./DJT3VPSJ.js";import{a as _}from"./JE2ORVV3.js";import c from"./HPFK7PVI.js";import a from"./NHGSPJM5.js";import{g as L}from"./JAIB2DTF.js";import"./D3SKCWKQ.js";import"./WXO4UREA.js";import{J as w,K as r,M as b,P as $,a as v,b as o,s as y}from"./EKVFT7YW.js";import"./CITKZOZS.js";export default $arcgis.t(([T,{property:u,subclass:V},{ignoreAbortErrors:A},{watch:j},,,z,,S])=>{var B=v`.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{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);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__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-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}.arcgis-slice__container{display:flex;overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2);flex-direction:column;flex-shrink:0;flex-basis:auto;justify-content:space-between;gap:var(--calcite-spacing-md)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}`,D=Object.defineProperty,H=Object.getOwnPropertyDescriptor,c=(e,i,t,d)=>{for(var l=d>1?void 0:d?H(i,t):i,g=e.length-1,p;g>=0;g--)(p=e[g])&&(l=(d?p(i,t,l):p(l))||l);return d&&l&&D(i,t,l),l},x=new Set,n=class extends S{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="SliceViewModel is only supported in 3D views."}async pickLayerToExclude(){let e=this.analysisView;if(e){let i=super.start({operation:t=>e.pickLayerToExclude(t),clear:!1});this._excludingLayers=i,i.finally(()=>{this._excludingLayers===i&&(this._excludingLayers=void 0)}),await i.catch()}}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.shape=null}initialize(){x.add(this)}destroy(){x.delete(this)}get state(){return this.disabled||!this.ready?"disabled":this._excludingLayers?"excludingLayer":this.operationState==="active"?"slicing":this.analysis.valid?"sliced":"ready"}get shape(){return this.analysis.shape}set shape(e){this.analysis.shape=e}get tiltEnabled(){return this.analysis.tiltEnabled}set tiltEnabled(e){this.analysis.tiltEnabled=e}get excludedLayers(){return this.analysis.excludedLayers}set excludedLayers(e){this.analysis.excludedLayers=e}get excludeGroundSurface(){return this.analysis.excludeGroundSurface}set excludeGroundSurface(e){this.analysis.excludeGroundSurface=e}async start(){x.forEach(e=>{e.view===this.view&&e!==this&&e.clear()}),await super.start()}onConnectToAnalysisView(e){e.active=!0}constructAnalysis(){return new T}};c([u()],n.prototype,"_excludingLayers",2);c([u({readOnly:!0})],n.prototype,"state",1);c([u()],n.prototype,"shape",1);c([u()],n.prototype,"tiltEnabled",1);c([u()],n.prototype,"excludedLayers",1);c([u()],n.prototype,"excludeGroundSurface",1);n=c([V("esri.components.Slice.SliceViewModel")],n);var s="arcgis-slice",a={base:s,actions:`${s}__actions`,cancelButton:`${s}__cancel-button`,container:`${s}__container`,error:`${s}__error`,excludeButton:`${s}__exclude-button`,hint:`${s}__hint`,hintText:`${s}__hint-text`,layerItem:`${s}__layer-item`,layerList:`${s}__layer-list`,layerListHeading:`${s}__layer-list-title`,newSliceButton:`${s}__clear-button`},P=z(n),f=class extends w{constructor(){super(...arguments),this.viewModel=P(this),this._messages=k(),this.view=this.viewModel.view,this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=3,this.icon="slice",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=L()("analysis","state"),this.arcgisReady=y()}static{this.properties={_hasVoxelLayers:16,view:0,analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,shape:0,state:35,tiltEnabled:5}}static{this.styles=B}get _hasVoxelLayers(){let i=this.viewModel?.view;return i!=null?i.allLayerViews.some(t=>t.type==="voxel-3d"):!1}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){A(this.viewModel.start())}load(){this.manager.onLifecycle(()=>[j(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return o`<div class=${r({[a.base]:!0,[_.widget]:!0,[_.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){let i=this._messages,{state:t,visible:d,supported:l}=this.viewModel,g=t==="slicing"||t==="excludingLayer";if(!d||!l)return null;l||o`<div class=${r(a.container)}><div class=${r(a.error)}><p>${this._messages.unsupported}</p></div></div>`;let{excludedLayers:p}=this.viewModel,m=this.excludeGroundSurface,C=p.length>0||m,h=t==="disabled";return o`<div class=${r(a.container)}><div class=${r(a.hint)}>${t==="excludingLayer"?o`<p class=${r(a.hintText)}>${i.excludeHint}</p>`:null}${t==="slicing"?o`<p class=${r(a.hintText)}>${this._hasVoxelLayers?i.voxelHint:i.hint}</p><p class=${r(a.hintText)}>${i.verticalHint}</p>`:null}</div>${!g&&C?o`<div class=${r(a.layerList)}>${E({class:a.layerListHeading,level:this.headingLevel,children:i.excludedLayers})}${I({layers:p.toArray(),excludeGroundSurface:m,onLayerClick:G=>{this.excludedLayers.remove(G)},onGroundClick:()=>{this.excludeGroundSurface=!1},listLabel:i.excludedLayers,layerActionLabel:i.includeLayer,groundItemTitle:i.ground})}</div>`:null}<div class=${r(a.actions)}>${g?null:o`<calcite-button class=${r(a.newSliceButton)} .disabled=${h} @click=${this.start}>${i.newSlice}</calcite-button>`}${t==="sliced"?o`<calcite-button appearance=outline-fill class=${r(a.excludeButton)} .disabled=${h} @click=${()=>this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>`:null}${t==="excludingLayer"?o`<calcite-button appearance=outline-fill class=${r(a.cancelButton)} .disabled=${h} @click=${()=>this.viewModel.stop()}>${i.cancel}</calcite-button>`:null}</div></div>`}};function M(e){return o`<calcite-list-item class=${r(a.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title??""}><calcite-action icon=x @click=${e.onClick} scale=s slot=actions-end .text=${e.actionLabel} title=${e.actionLabel??b}></calcite-action></calcite-list-item>`}function I(e){let i=e.layers.map(t=>M({uid:t.uid,title:t.title??"",onClick:()=>e.onLayerClick(t),actionLabel:e.layerActionLabel}));return e.excludeGroundSurface&&i.push(M({uid:"ground",title:e.groundItemTitle,onClick:e.onGroundClick,actionLabel:e.layerActionLabel})),o`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`}$("arcgis-slice",f);return f},"analysis/SliceAnalysis","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a,c,d,e,f)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v5.0.0-next.39 */
|
|
4
|
+
import a from"./PIR72KVC.js";import{L as O,M as e,b as U,c as s}from"./EKVFT7YW.js";export default $arcgis.t(([{getBoundingBox:J,computeBBox:K,getTransformMatrix:Q},M,{e:N,f:F}])=>{var V=0;function X(){return V++}var Y=0;function Z(){return Y++}var _=0;function tt(){return _++}var R=new Map([["dash",[4,3]],["dashdot",[4,3,1,3]],["dot",[1,3]],["longdash",[8,3]],["longdashdot",[8,3,1,3]],["longdashdotdot",[8,3,1,3,1,3]],["shortdash",[4,1]],["shortdashdot",[4,1,1,1]],["shortdashdotdot",[4,1,1,1,1,1]],["shortdot",[1,1]],["solid",[]]]),et="http://www.w3.org/2000/svg",it=Math.PI;function ot(t){let{pattern:o,linearGradient:i}=t;if(o)return s`<pattern height=${o.height??e} id=${o.id??e} patternUnits=userSpaceOnUse width=${o.width??e} x=${o.x??0??e} y=${o.y??0??e}><image height=${o.image.height??e} href=${o.image.href??e} width=${o.image.width??e} x=${o.image.x??e} y=${o.image.y??e} /></pattern>`;if(i){let n=i.stops.map(r=>s`<stop offset=${r.offset??e} stop-color=${r.color??e} />`);return s`<linearGradient gradientUnits=userSpaceOnUse id=${i.id??e} x1=${i.x1??e} x2=${i.x2??e} y1=${i.y1??e} y2=${i.y2??e}>${n}</linearGradient>`}return null}function E(t){if(!t)return{fill:"none",pattern:null,linearGradient:null};if(!("type"in t))return{fill:new M(t).toString(),pattern:null,linearGradient:null};if(t.type==="pattern"){let i=`patternId-${X()}`;return{fill:`url(#${i})`,pattern:{id:i,x:t.x,y:t.y,width:t.width,height:t.height,image:{x:0,y:0,width:t.width,height:t.height,href:t.src}},linearGradient:null}}let o=`linearGradientId-${Z()}`;return{fill:`url(#${o})`,pattern:null,linearGradient:{id:o,x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,stops:t.colors.map(i=>({offset:i.offset,color:i.color&&new M(i.color).toString()}))}}}function D(t){let o={color:"none",width:1,cap:"butt",join:"4",dashArray:"none",dashOffset:"0"};return t&&(t.width!=null&&(o.width=t.width),t.cap&&(o.cap=t.cap),t.join&&(o.join=t.join.toString()),t.color&&(o.color=new M(t.color).toString()),t.dashArray&&(o.dashArray=t.dashArray),t.dashoffset&&(o.dashOffset=t.dashoffset),t.style&&!t.dashArray&&(o.dashArray=nt(t).join(",")||"none")),o}function nt(t){if(!t?.style)return[];let{dashArray:o,style:i,width:n}=t;if(typeof o=="string"&&o!=="none")return o.split(",").map(l=>Number(l));let r=n??0,d=R.has(i)?R.get(i).map(l=>l*r):[];if(t.cap!=="butt")for(let[l,h]of d.entries())d[l]=l%2===1?h+r:Math.max(h-r,1);return d}function rt(t){return t.map(o=>`${o.command} ${o.values.join(" ")}`).join(" ").trim()}function j(t,o){if(t==null)throw new Error("value is None")}function I(t,o,i,n,r){if(t){if(t.type==="circle")return s`<circle cx=${t.cx??e} cy=${t.cy??e} fill=${o??e} fill-rule=evenodd r=${t.r??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-dashoffset=${i.dashOffset??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} />`;if(t.type==="ellipse")return s`<ellipse cx=${t.cx??e} cy=${t.cy??e} fill=${o??e} fill-rule=evenodd rx=${t.rx??e} ry=${t.ry??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} />`;if(t.type==="rect")return s`<rect fill=${o??e} fill-rule=evenodd height=${t.height??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} width=${t.width??e} x=${t.x??e} y=${t.y??e} />`;if(t.type==="image")return s`<image aria-label=${r??""??e} height=${t.height??e} href=${t.src??e} preserveAspectRatio=none width=${t.width??e} x=${t.x??e} y=${t.y??e} />`;if(t.type==="path"){let d=typeof t.path!="string"?rt(t.path):t.path;return s`<path d=${d??e} fill=${o??e} fill-rule=evenodd stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} />`}if(t.type==="text")return j(n),s`<text dominant-baseline=${(n.dominantBaseline==="inherit"||n.dominantBaseline==="alphabetic"||n.dominantBaseline==="auto"||n.dominantBaseline==="central"||n.dominantBaseline==="hanging"||n.dominantBaseline==="ideographic"||n.dominantBaseline==="mathematical"||n.dominantBaseline==="middle"||n.dominantBaseline==="text-bottom"||n.dominantBaseline==="text-top"?n.dominantBaseline:void 0)??e} fill=${o??e} fill-rule=evenodd font-family=${n.font.family??e} font-size=${n.font.size??e} font-style=${n.font.style??e} font-variant=${n.font.variant??e} font-weight=${n.font.weight??e} kerning=${n.kerning??e} rotate=${n.rotate??e} stroke=${i.color??e} stroke-dasharray=${i.dashArray??void 0??e} stroke-linecap=${i.cap??e} stroke-linejoin=${i.join??e} stroke-miterlimit=4 stroke-width=${i.width??e} text-anchor=${(n.align==="inherit"||n.align==="middle"||n.align==="end"||n.align==="start"?n.align:void 0)??e} text-decoration=${(n.decoration==="inherit"||n.decoration==="none"||n.decoration==="blink"||n.decoration==="line-through"||n.decoration==="overline"||n.decoration==="underline"?n.decoration:void 0)??e} text-rendering=auto x=${t.x??e} y=${t.y??e}>${t.text}</text>`}return null}function at(t,o,i){let n=C(t);if(!n)return null;let{strength:r,radius:d}=n,l=r>0?d:0,h=5**(o/100)*(.4+o/100),u=(r+l*.5)*h,c=(r+l)*o,f=r*4+1;return s`<filter filterUnits=userSpaceOnUse height=300% .id=${`bloom${i}`} width=300% x=-100% y=-100%><feMorphology in=SourceGraphic operator=dilate radius=${u??e} result=dilate /><feGaussianBlur in=dilate result=blur stdDeviation=${c/25} /><feGaussianBlur in=blur result=intensityBlur stdDeviation=${c/50} /><feComponentTransfer in=SourceGraphic result=intensityBrightness><feFuncR slope=${f??e} type=linear /><feFuncG slope=${f??e} type=linear /><feFuncB slope=${f??e} type=linear /></feComponentTransfer><feMerge><feMergeNode in=intensityBlur /><feMergeNode in=intensityBrightness /><feGaussianBlur stdDeviation=${r/10} /></feMerge></filter>`}function x(t,o){let i=t*(it/180);return Math.abs(o*Math.sin(i))+Math.abs(o*Math.cos(i))}function T(t,o){let i={align:null,decoration:null,kerning:null,rotate:null,font:{style:null,variant:null,weight:null,size:null,family:null}};if(t){let n=t.alignBaseline,r=n==="baseline"?"auto":n==="top"?"text-top":n==="bottom"?"hanging":n;i.align=t.align,i.dominantBaseline=r,i.decoration=t.decoration,i.kerning=t.kerning?"auto":"0",i.rotate=t.rotated?"90":"0",j(o),i.font.style=o.style||"normal",i.font.variant=o.variant||"normal",i.font.weight=o.weight||"normal",i.font.size=o.size?.toString()||"10pt",i.font.family=o.family||"serif"}return i}function st(t,o){if(!t||t.length===0)return null;let i=[];for(let n of t){let{shape:r,fill:d,stroke:l,font:h}=n,u=E(d),c=D(l),f=r.type==="text"?T(r,h):null,a=I(r,u.fill,c,f);a&&i.push(a)}return s`<mask id=${o??e} maskUnits=userSpaceOnUse><g>${i}</g></mask>`}function C(t){let o=t?.match(/bloom\(\s*([^\s]+)\s+([^\s]+)\s+([^\s]+)\s*\)/iu);if(!o)return null;let[,i,n,r]=o;return{strength:Number(i),radius:N(F(n)),threshold:Number(r)}}function ut(t,o,i,n={}){let r=[],d=[],l=tt(),h=at(n.cssEffectFilter,o,l),u=null;if(h){let a=C(n.cssEffectFilter),$=n.clipBloomEffect||!a?.strength?0:(a.strength+a.radius/2)/3,p=o+o*$,m=i+i*$;u=[Math.max(p,10),Math.max(m,10)]}let c=o,f=i;if(n.useRotationSize)for(let a=0;a<t.length;a++){let $=n.rotations?.[a]??0;c=Math.max(x($,o),c),f=Math.max(x($,i),f)}for(let a=0;a<t.length;a++){let $=t[a],p=[],m=[],S=0,k=0,w=0;for(let y of $){let{shape:g,fill:P,stroke:A,font:W,offset:b}=y;!n.ignoreStrokeWidth&&g.type!=="text"&&(S+=A?.width||0);let z=E(P),q=D(A),H=g.type==="text"?T(g,W):null;r.push(ot(z)),p.push(I(g,z.fill,q,H,n.ariaLabel)),m.push(J(g)),b&&(k+=b[0],w+=b[1])}let v=n.rotations?.[a]??0;n.useRotationSize&&(k+=(c-x(v,o))/2,w+=(f-x(v,i))/2);let L=K(m),G=Q(L,o,i,S,n.scale??!1,v,n.useRotationSize??!1,[k,w],u),B=null;if(n.masking){let y=`mask-${a}`,g=n.masking[a];r.push(st(g,y)),B=`url(#${y})`}d.push(B?s`<g mask=${B??e}><g transform=${G??e}>${p}</g></g>`:s`<g transform=${G??e}>${p}</g>`)}return h&&(j(u),c=u[0],f=u[1]),U`<svg aria-label=${n.ariaLabel??e} height=${f??e} role=img style=${O("display: block;")} width=${c??e} xmlns=${et}>${s`${h}<defs>${r}</defs>${h?s`<g filter=${`url(#bloom${l})`}>${d}</g>`:d}`}</svg>`}return{a:ot,b:E,c:D,d:I,e:ut}},"applications/Components/svgUtils","Color",a)
|