@arcgis/map-components 4.34.0-next.113 → 4.34.0-next.115
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/{AIGM26EZ.js → 232RCYAM.js} +2 -2
- package/dist/cdn/{O7JWVBBN.js → 2JMOAUM5.js} +2 -2
- package/dist/cdn/2LRFM4VO.js +4 -0
- package/dist/cdn/{3XGCWWVK.js → 2RL3SELV.js} +2 -2
- package/dist/cdn/{G4YNOB47.js → 2XNSFVSJ.js} +2 -2
- package/dist/cdn/{HIKK2UR2.js → 37QZP5F5.js} +2 -2
- package/dist/cdn/{YZJCB6DL.js → 3AOUBSWE.js} +2 -2
- package/dist/cdn/{VK4H74H6.js → 3K3TWWG3.js} +2 -2
- package/dist/cdn/{LXD2CFEN.js → 3SUGZBY7.js} +2 -2
- package/dist/cdn/{2ACFYPVZ.js → 4HPNF7EG.js} +2 -2
- package/dist/cdn/{Y74NBFFW.js → 4P4H3WEJ.js} +2 -2
- package/dist/cdn/4QP2ZXZD.js +4 -0
- package/dist/cdn/{GL35R47E.js → 4UFHQA2Y.js} +1 -1
- package/dist/cdn/{7CXJ54FT.js → 575342HM.js} +2 -2
- package/dist/cdn/{CQUXH3OF.js → 5LWAL57G.js} +2 -2
- package/dist/cdn/{BOI5Q7BR.js → 65RZQFPZ.js} +2 -2
- package/dist/cdn/{X75DLFYV.js → 6AC6CUBU.js} +2 -2
- package/dist/cdn/{6ACVYNSS.js → 6BQCXTG5.js} +2 -2
- package/dist/cdn/{VL5D5EO6.js → 6FTG64NR.js} +2 -2
- package/dist/cdn/{F6R7WDXC.js → 6IHGVKBL.js} +2 -2
- package/dist/cdn/{L5WR6X74.js → 6J4YJAUH.js} +2 -2
- package/dist/cdn/{QKFHMXSV.js → 6LLTL3NW.js} +2 -2
- package/dist/cdn/6P5D73M2.js +4 -0
- package/dist/cdn/{WKWQYX7B.js → 6XUTRT2K.js} +2 -2
- package/dist/cdn/{GO5KRWWI.js → 75S5IENK.js} +2 -2
- package/dist/cdn/{26JP7TFG.js → 7K4D253B.js} +3 -3
- package/dist/cdn/{J3SV2CD7.js → 7P4KCZ3E.js} +2 -2
- package/dist/cdn/{E5XUFY2T.js → 7PT6SEL4.js} +2 -2
- package/dist/cdn/{ZFMEYZB4.js → 7QOVESJI.js} +2 -2
- package/dist/cdn/{5SGS2ZIZ.js → 7SMXY73G.js} +2 -2
- package/dist/cdn/7T45ALTR.js +4 -0
- package/dist/cdn/{R7EAC2SX.js → 7XTMGKOI.js} +2 -2
- package/dist/cdn/{UWIYIMQC.js → 7YQ3GWDZ.js} +2 -2
- package/dist/cdn/{2MXJENAW.js → 7Z7QIVPF.js} +2 -2
- package/dist/cdn/{IALOUYYD.js → ANCP5KQU.js} +2 -2
- package/dist/cdn/{P64LC2OH.js → APZLAOX2.js} +2 -2
- package/dist/cdn/{6BMG3RE7.js → AUXM6HJV.js} +2 -2
- package/dist/cdn/{FE3JALQB.js → AVMRGW5D.js} +2 -2
- package/dist/cdn/{HFHPEDNF.js → B2ZMWTMQ.js} +2 -2
- package/dist/cdn/{5YXT7UMC.js → B54KMH5Q.js} +2 -2
- package/dist/cdn/B7CSWHEY.js +4 -0
- package/dist/cdn/{ODA6RYXE.js → BGTCSALE.js} +1 -1
- package/dist/cdn/{4Z7PJICO.js → BIU6GEHE.js} +2 -2
- package/dist/cdn/{HD5MISRN.js → BW427NNG.js} +1 -1
- package/dist/cdn/{ZVDVRBLA.js → BZ3FYTKH.js} +2 -2
- package/dist/cdn/{AQC3KYB5.js → C2AQ5OWA.js} +2 -2
- package/dist/cdn/{S6XN6EPT.js → C6NUCNWG.js} +2 -2
- package/dist/cdn/{MMCBQ5GW.js → CIVKEOA5.js} +2 -2
- package/dist/cdn/{KGA4Y4SA.js → CYHCKMCV.js} +2 -2
- package/dist/cdn/{WS7T5F2O.js → D4SWN3EI.js} +2 -2
- package/dist/cdn/{PCPXRLXX.js → DDWXRMYI.js} +2 -2
- package/dist/cdn/{NCTI63C5.js → DFE4L3AI.js} +2 -2
- package/dist/cdn/{IXCA4V2N.js → DGDNQEPD.js} +2 -2
- package/dist/cdn/{DS5QXWVV.js → DGYD5EMC.js} +1 -1
- package/dist/cdn/{QE6EEQWF.js → DHQZP7EA.js} +2 -2
- package/dist/cdn/{YZ533GHV.js → DLREJCJ7.js} +2 -2
- package/dist/cdn/{NH6BESXZ.js → DOSEHJXQ.js} +2 -2
- package/dist/cdn/{T2QNRVLQ.js → E36VZSKO.js} +2 -2
- package/dist/cdn/{RCPTJGJB.js → E5PMDJX2.js} +2 -2
- package/dist/cdn/{3SBH562C.js → EFVYVS2P.js} +2 -2
- package/dist/cdn/{4QD256AX.js → EJZYM2S6.js} +2 -2
- package/dist/cdn/{HKEKFUOQ.js → EMC7PYXQ.js} +2 -2
- package/dist/cdn/{QFOLZZPF.js → ETLYHLS3.js} +2 -2
- package/dist/cdn/{2NFTLRED.js → EZISJPDI.js} +2 -2
- package/dist/cdn/{O3VAIVX5.js → F7CS5HP5.js} +1 -1
- package/dist/cdn/{CFY427J5.js → FFPPANUD.js} +2 -2
- package/dist/cdn/{PNTDRSCF.js → FQWI4JGE.js} +2 -2
- package/dist/cdn/{VYCH2TPU.js → FUX7TONA.js} +2 -2
- package/dist/cdn/{2PIKBH6S.js → GDIPCKU5.js} +1 -1
- package/dist/cdn/{Y4GTUGZZ.js → GLDKAIPO.js} +2 -2
- package/dist/cdn/{GJD547XI.js → GTUYAGGR.js} +2 -2
- package/dist/cdn/{HFJH7TKX.js → HIO6PVWS.js} +2 -2
- package/dist/cdn/{LXPZ5W5K.js → HMA3QUWR.js} +2 -2
- package/dist/cdn/{NYKIALTI.js → HQKLQ2JG.js} +2 -2
- package/dist/cdn/{L7J4PDBX.js → HXZMWVAE.js} +2 -2
- package/dist/cdn/{IGKJ5AI4.js → I4DLCEKS.js} +2 -2
- package/dist/cdn/I75FGMTB.js +4 -0
- package/dist/cdn/{YNBKSNLM.js → IF56MADQ.js} +2 -2
- package/dist/cdn/{4JIVBDGN.js → IJ4UPQAG.js} +2 -2
- package/dist/cdn/{5C2BFI2J.js → IJXOKEFY.js} +2 -2
- package/dist/cdn/{TO5KNQR7.js → IPGCB2LU.js} +2 -2
- package/dist/cdn/{F24OJGHX.js → IQ47UY3S.js} +2 -2
- package/dist/cdn/{UASQ25XN.js → IWWQMWIA.js} +2 -2
- package/dist/cdn/{PXBUC7YF.js → J7BVYINA.js} +1 -1
- package/dist/cdn/{44ACI36T.js → J7QXLYHD.js} +2 -2
- package/dist/cdn/{PG664CSM.js → JFREGHXP.js} +2 -2
- package/dist/cdn/{FRWYBE2G.js → JHO4WJC5.js} +2 -2
- package/dist/cdn/{6AHHESDZ.js → JLSUUIGI.js} +2 -2
- package/dist/cdn/{CQQQCDZE.js → JV7WFUX4.js} +2 -2
- package/dist/cdn/{AQLYL5RU.js → JVHLC3TD.js} +2 -2
- package/dist/cdn/JVQZ7RZG.js +4 -0
- package/dist/cdn/{EKHOTAD3.js → K2JQ2AEV.js} +2 -2
- package/dist/cdn/{QLO7WMWN.js → KATYRWO7.js} +2 -2
- package/dist/cdn/{6GI3LFY7.js → KCXRN4KV.js} +2 -2
- package/dist/cdn/{24ONLJOT.js → KFSUQ44L.js} +2 -2
- package/dist/cdn/{DG3WJJ7X.js → KHX4VVEC.js} +2 -2
- package/dist/cdn/KIJUM2WL.js +4 -0
- package/dist/cdn/{V7D2SEWH.js → KOJTPEUI.js} +2 -2
- package/dist/cdn/KZH56HTB.js +4 -0
- package/dist/cdn/{EHHS6KTD.js → L5BEB2ET.js} +2 -2
- package/dist/cdn/{TC476CH5.js → LAC6ZAG6.js} +2 -2
- package/dist/cdn/{76ZCU3FR.js → LB4JDODA.js} +2 -2
- package/dist/cdn/{FICND4WF.js → LD4IRTO5.js} +2 -2
- package/dist/cdn/{GJIB7CH6.js → LDX6J6OX.js} +2 -2
- package/dist/cdn/{GKQQ7THE.js → LNAG66ZZ.js} +1 -1
- package/dist/cdn/{VMHXO42K.js → LV2HXIKA.js} +2 -2
- package/dist/cdn/{XUUYWHIY.js → MED4ZMD3.js} +2 -2
- package/dist/cdn/{XWV4MB73.js → MJR4IJ2W.js} +2 -2
- package/dist/cdn/{T565EMVK.js → MY6JP3E3.js} +2 -2
- package/dist/cdn/{HNFYNESY.js → NBZLREAC.js} +1 -1
- package/dist/cdn/{BKH5XX67.js → NLQY6GHF.js} +2 -2
- package/dist/cdn/{B5445OQE.js → NMRIALZR.js} +2 -2
- package/dist/cdn/{CCWJ55R3.js → NNEDEBKE.js} +2 -2
- package/dist/cdn/{UYAZC3IN.js → NR7RAL46.js} +2 -2
- package/dist/cdn/{ZUWKQQJB.js → O4FWBFK4.js} +2 -2
- package/dist/cdn/{OMQ5CZAM.js → OC7EUU3L.js} +2 -2
- package/dist/cdn/OG23UQGX.js +4 -0
- package/dist/cdn/{I67FWPMD.js → OGBSRJRB.js} +2 -2
- package/dist/cdn/{CLWKT7JE.js → OGS476VJ.js} +2 -2
- package/dist/cdn/{L63SBLWV.js → OJ6YNGRQ.js} +2 -2
- package/dist/cdn/{UPOP7QDE.js → OLL6K3QC.js} +2 -2
- package/dist/cdn/{XP3B35MK.js → OPCUQOZL.js} +2 -2
- package/dist/cdn/{ZQEBU5MC.js → OPXECJWY.js} +2 -2
- package/dist/cdn/OYPU4NS6.js +4 -0
- package/dist/cdn/{ERR4HCFD.js → PGK3BJ4M.js} +2 -2
- package/dist/cdn/{BAVC22XB.js → PHXMDMZH.js} +2 -2
- package/dist/cdn/{VVASG3QI.js → PPXYYM4Q.js} +2 -2
- package/dist/cdn/{QKAFMADX.js → PTU534CW.js} +2 -2
- package/dist/cdn/PXHBPLF5.js +4 -0
- package/dist/cdn/{ZBGJ45MG.js → QSS4G3F3.js} +2 -2
- package/dist/cdn/{6IQD4VDQ.js → QU2TYVKJ.js} +2 -2
- package/dist/cdn/{BRTIAS57.js → QWU2JA27.js} +2 -2
- package/dist/cdn/QZXSYP3V.js +4 -0
- package/dist/cdn/{FO5SUKSM.js → R62OXGP3.js} +2 -2
- package/dist/cdn/{AXAJDVPV.js → RIA4VD3W.js} +2 -2
- package/dist/cdn/{NBRAG52Z.js → RJ3F7IEK.js} +2 -2
- package/dist/cdn/{MR6GRIZF.js → RN6QVCVY.js} +1 -1
- package/dist/cdn/{GS45F33H.js → RNK4C5T6.js} +2 -2
- package/dist/cdn/{QYAOJRQH.js → RNR3Z7WC.js} +2 -2
- package/dist/cdn/RO6UNV47.js +4 -0
- package/dist/cdn/{WN46XE5C.js → RWY6DHIQ.js} +2 -2
- package/dist/cdn/{T4NASIBT.js → SBRV3HOI.js} +2 -2
- package/dist/cdn/{FJYOUMMV.js → SDVJHO3L.js} +2 -2
- package/dist/cdn/{4SX5DAUW.js → SF4HQLRM.js} +2 -2
- package/dist/cdn/{E742UWOF.js → SIBE7IGR.js} +2 -2
- package/dist/cdn/{N7JRXX7V.js → SV23DVOS.js} +2 -2
- package/dist/cdn/{ZLY3EESC.js → SZQ234NV.js} +2 -2
- package/dist/cdn/{QF5P36KH.js → T74DGI4A.js} +2 -2
- package/dist/cdn/{VFFLKTJQ.js → TIDLTADB.js} +2 -2
- package/dist/cdn/TMRD53SL.js +4 -0
- package/dist/cdn/{ZOWJQX7B.js → TODTYJBH.js} +2 -2
- package/dist/cdn/U2TXCVQJ.js +4 -0
- package/dist/cdn/{YSDPG4ZT.js → U3IVO3VK.js} +2 -2
- package/dist/cdn/{EPLBO2UK.js → UB3MQQSU.js} +2 -2
- package/dist/cdn/UNONWVGM.js +4 -0
- package/dist/cdn/{DKPTKOKD.js → UVPAN2M6.js} +2 -2
- package/dist/cdn/{DPXL64K5.js → VCL5GSEY.js} +2 -2
- package/dist/cdn/VJUXSAMJ.js +4 -0
- package/dist/cdn/{AYHMXZUK.js → VS4X2COH.js} +2 -2
- package/dist/cdn/{J4RLXWLH.js → VTNHZQP2.js} +2 -2
- package/dist/cdn/{XZYKGEXS.js → VVT32GLD.js} +2 -2
- package/dist/cdn/{ANSRHHXN.js → VWUONE25.js} +1 -1
- package/dist/cdn/W35WWAYX.js +4 -0
- package/dist/cdn/{H2ENAI5B.js → W5MQ25TM.js} +2 -2
- package/dist/cdn/{5SY2XL2Z.js → W6I6HAOP.js} +2 -2
- package/dist/cdn/{5FPDY7A7.js → WPEP3E6R.js} +2 -2
- package/dist/cdn/{TZNTTAYA.js → WVUZN4BU.js} +2 -2
- package/dist/cdn/{SYP4NQIR.js → WYFQTLKI.js} +2 -2
- package/dist/cdn/{XIZ4DTRF.js → X6HRLEBQ.js} +2 -2
- package/dist/cdn/{OKZ67V2D.js → X7PA7N3Q.js} +2 -2
- package/dist/cdn/{QTUXR2NZ.js → XBPP5QZR.js} +2 -2
- package/dist/cdn/{RZOBJMH4.js → XDRGOX3R.js} +2 -2
- package/dist/cdn/{3V4MN3V5.js → XECICON2.js} +2 -2
- package/dist/cdn/{O3A52QEX.js → XGK2CFEN.js} +2 -2
- package/dist/cdn/{OX4H4GBX.js → XQ3RMSZR.js} +2 -2
- package/dist/cdn/XXJMYOJ5.js +4 -0
- package/dist/cdn/{IP7A7R76.js → XZJKWG3C.js} +2 -2
- package/dist/cdn/{GX6BAYNL.js → Y4OMPEKZ.js} +2 -2
- package/dist/cdn/{OFKTFDYZ.js → YKR676Z6.js} +2 -2
- package/dist/cdn/{MYZ4ZKQP.js → YPBUHV52.js} +2 -2
- package/dist/cdn/{UVBVPHCM.js → YUZRAK4N.js} +2 -2
- package/dist/cdn/{K7ZT3X77.js → YVZPCFAV.js} +2 -2
- package/dist/cdn/Z2JJ5Q5I.js +4 -0
- package/dist/cdn/{V4EGUAMU.js → Z5BUMMOO.js} +2 -2
- package/dist/cdn/{WUGTFZVU.js → ZBDFRKHL.js} +2 -2
- package/dist/cdn/{EQPKZ3YU.js → ZD5GQZWW.js} +2 -2
- package/dist/cdn/{YYVQ2SBB.js → ZF5JKKJ4.js} +1 -1
- package/dist/cdn/{WWH3WOOC.js → ZIYRVS7E.js} +2 -2
- package/dist/cdn/{NT3VO3AU.js → ZJJRK6L4.js} +2 -2
- package/dist/cdn/{YDSNT5B6.js → ZJXXY3IW.js} +2 -2
- package/dist/cdn/{HGHIVI66.js → ZK7S2MZV.js} +2 -2
- package/dist/cdn/{XMXKOWSE.js → ZR27FFNF.js} +2 -2
- package/dist/cdn/{XMOXFS2Y.js → ZRANH5JH.js} +2 -2
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- 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/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +2 -2
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +12 -8
- package/dist/chunks/runtime.js +9 -9
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/slots2.js +2 -2
- 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/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +14 -14
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +10 -10
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- 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 +2 -2
- package/dist/components/arcgis-compass/customElement.js +2 -2
- 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 +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +6 -6
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +15 -0
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +33 -0
- package/dist/components/arcgis-elevation-profile-legend/index.d.ts +2 -0
- package/dist/components/arcgis-elevation-profile-legend/index.js +2 -0
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +21 -0
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +74 -0
- package/dist/components/arcgis-elevation-profile-legend-item/index.d.ts +5 -0
- package/dist/components/arcgis-elevation-profile-legend-item/index.js +5 -0
- package/dist/components/arcgis-elevation-profile-next/ElevationProfileViewModel.d.ts +26 -6
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +7 -10
- package/dist/components/arcgis-elevation-profile-next/customElement.js +450 -134
- package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +10 -0
- package/dist/components/arcgis-elevation-profile-next/index.d.ts +5 -0
- package/dist/components/arcgis-elevation-profile-next/index.js +5 -0
- package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +171 -0
- package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +25 -0
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +59 -0
- package/dist/components/arcgis-elevation-profile-settings/index.d.ts +6 -0
- package/dist/components/arcgis-elevation-profile-settings/index.js +6 -0
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +17 -0
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +65 -0
- package/dist/components/arcgis-elevation-profile-statistics/index.d.ts +2 -0
- package/dist/components/arcgis-elevation-profile-statistics/index.js +2 -0
- 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-features/customElement.js +3 -3
- 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-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-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-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +5 -5
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- 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.d.ts +1 -3
- package/dist/components/arcgis-unit-select/customElement.js +18 -20
- package/dist/components/arcgis-utility-network-associations/customElement.js +7 -7
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +5 -5
- 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-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 +14 -5
- package/dist/docs/docs.json +18 -12
- package/dist/docs/web-types.json +4 -4
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -1
- package/dist/support/AnalysisViewModel.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +2 -1
- package/dist/utils/async-utils.d.ts +1 -0
- package/package.json +3 -3
- package/dist/cdn/3XCBNVJI.js +0 -4
- package/dist/cdn/4O56QPMX.js +0 -4
- package/dist/cdn/53PE6HNQ.js +0 -4
- package/dist/cdn/6DX7XALJ.js +0 -4
- package/dist/cdn/DHTQ73K7.js +0 -4
- package/dist/cdn/DU653UC4.js +0 -4
- package/dist/cdn/DZUKYGA7.js +0 -4
- package/dist/cdn/GK7I4NBK.js +0 -4
- package/dist/cdn/HY2EACGJ.js +0 -4
- package/dist/cdn/KKKVRPC4.js +0 -4
- package/dist/cdn/KUA4W2AT.js +0 -4
- package/dist/cdn/M3OUL5WY.js +0 -4
- package/dist/cdn/OMCPRF76.js +0 -4
- package/dist/cdn/R3EE3YHG.js +0 -4
- package/dist/cdn/RY52OBIR.js +0 -4
- package/dist/cdn/UQIIOI5F.js +0 -4
- package/dist/cdn/Z5A5SD7M.js +0 -4
|
@@ -1,37 +1,133 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
1
|
+
import { c as $ } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as D, html as d } from "lit";
|
|
3
|
+
import { ignoreAbortErrors as x } from "@arcgis/core/core/promiseUtils.js";
|
|
4
|
+
import { LitElement as P, createEvent as U, nothing as _, safeClassMap as u } from "@arcgis/lumina";
|
|
5
|
+
import { usePropertyChange as z } from "@arcgis/lumina/controllers";
|
|
6
|
+
import { u as V } from "../../chunks/useT9n.js";
|
|
7
|
+
import { m as A } from "../../chunks/useViewModel.js";
|
|
8
|
+
import { g as y } from "../../chunks/globalCss.js";
|
|
9
|
+
import F from "@arcgis/core/analysis/ElevationProfileAnalysis.js";
|
|
10
|
+
import { getDefaultUnitForView as L } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
11
|
+
import { property as a, subclass as Z } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
12
|
+
import { watch as j } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
|
+
import { A as R } from "../../chunks/AnalysisViewModel.js";
|
|
14
|
+
import { m as C } from "../../chunks/measurementUtils.js";
|
|
14
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
15
16
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
16
|
-
v4.34.0-next.
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
17
|
+
v4.34.0-next.115 */
|
|
18
|
+
const T = D`.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:1.3em}.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:#303030}.esri-menu__list-item:active{background-color:#000}.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:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.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}:host{--internal-chart-height: 180px;width:550px;isolation:isolate;padding:var(--esri-widget-padding);position:relative;container-type:inline-size;resize:horizontal}.container{display:flex;flex-direction:column;width:100%;min-width:0;gap:var(--calcite-spacing-sm-plus)}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-end}.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:var(--calcite-spacing-xs)}.action-button{width:auto;min-height:32px}.main-container{display:flex;position:relative;flex-flow:column;width:100%;height:var(--internal-chart-height)}.chart-container{position:relative;width:100%;height:100%}.prompt-container{box-sizing:border-box;display:grid;place-content:center;padding-inline:var(--calcite-spacing-md);height:100%;text-align:center}.prompt-message{margin:0;width:100%}.spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:opacity .15s ease-in-out;transition-delay:0;opacity:0;&.visible{transition-delay:50ms;opacity:1}&.small{inset-inline-start:0;top:-22px;left:unset;transform:none;color:var(--calcite-color-brand)}}@container (max-width: 400px){.esri-widget--panel{height:auto}.actions{flex-direction:column}.action-button{align-self:stretch}}`;
|
|
19
|
+
function G(t) {
|
|
20
|
+
const e = w(t);
|
|
21
|
+
return e != null && e.type === "polyline" && e.paths.length > 0 && e.paths.every((i) => i.length >= 2);
|
|
22
|
+
}
|
|
23
|
+
function H(t) {
|
|
24
|
+
const e = w(t);
|
|
25
|
+
return e?.type === "polyline" && e.paths.reduce((i, r) => i + r.length, 0) > 0;
|
|
26
|
+
}
|
|
27
|
+
function w({ input: t }) {
|
|
28
|
+
return B(t) ? t.geometry : t;
|
|
29
|
+
}
|
|
30
|
+
function I({ input: t }) {
|
|
31
|
+
return !B(t) && E(t);
|
|
32
|
+
}
|
|
33
|
+
function S(t) {
|
|
34
|
+
return t?.samples?.some((e) => e.z != null) ?? !1;
|
|
35
|
+
}
|
|
36
|
+
function E(t) {
|
|
37
|
+
return t?.type === "polyline";
|
|
38
|
+
}
|
|
39
|
+
function B(t) {
|
|
40
|
+
return t != null && "geometry" in t;
|
|
41
|
+
}
|
|
42
|
+
var N = Object.defineProperty, q = Object.getOwnPropertyDescriptor, o = (t, e, i, r) => {
|
|
43
|
+
for (var s = r > 1 ? void 0 : r ? q(e, i) : e, l = t.length - 1, c; l >= 0; l--)
|
|
44
|
+
(c = t[l]) && (s = (r ? c(e, i, s) : c(s)) || s);
|
|
45
|
+
return r && s && N(e, i, s), s;
|
|
22
46
|
};
|
|
23
|
-
let
|
|
47
|
+
let n = class extends R {
|
|
24
48
|
constructor() {
|
|
25
|
-
super(...arguments), this.supportedViewType = "both", this.unsupportedErrorMessage = "";
|
|
49
|
+
super(...arguments), this.uniformChartScaling = !1, this.supportedViewType = "both", this.unsupportedErrorMessage = "";
|
|
26
50
|
}
|
|
27
51
|
get _measurementSystem() {
|
|
28
|
-
return this.view ?
|
|
52
|
+
return this.view ? L(this.view) : void 0;
|
|
53
|
+
}
|
|
54
|
+
get _hasSamples() {
|
|
55
|
+
const { progress: t } = this;
|
|
56
|
+
return this._analysisView?.results?.some((e) => e.available && (t < 1 || S(e))) ?? !1;
|
|
57
|
+
}
|
|
58
|
+
get canStopCreating() {
|
|
59
|
+
const t = w(this.analysis);
|
|
60
|
+
return E(t) && t.paths.length > 0 && t.paths[0].length > 2;
|
|
61
|
+
}
|
|
62
|
+
get canRenderChart() {
|
|
63
|
+
const t = this.chartData;
|
|
64
|
+
if (t == null)
|
|
65
|
+
return !1;
|
|
66
|
+
if (!I(this.analysis))
|
|
67
|
+
return t.refined;
|
|
68
|
+
let e = 0;
|
|
69
|
+
for (const { samples: i } of t.lines)
|
|
70
|
+
e += i.length;
|
|
71
|
+
return t.refined || e <= 1e4;
|
|
72
|
+
}
|
|
73
|
+
get chartData() {
|
|
74
|
+
const { analysis: t, analysisView: e } = this, { input: i, profiles: r } = t;
|
|
75
|
+
if (!e || !i)
|
|
76
|
+
return null;
|
|
77
|
+
const { effectiveUnits: s, progress: l, statistics: c, results: O } = e, v = [];
|
|
78
|
+
let b = !1;
|
|
79
|
+
for (let f = 0; f < r.length; f++) {
|
|
80
|
+
const p = r.at(f), m = O.at(f);
|
|
81
|
+
!m.available || !S(m) || (p.type === "scene" && (b = !0), v.push({
|
|
82
|
+
id: p.id,
|
|
83
|
+
type: p.type,
|
|
84
|
+
title: p.title,
|
|
85
|
+
color: p.color,
|
|
86
|
+
samples: m.samples ?? [],
|
|
87
|
+
progress: m.progress,
|
|
88
|
+
fillEnabled: p.type !== "input",
|
|
89
|
+
strokeWidth: 1.5,
|
|
90
|
+
strokeOffsetY: p.type === "input" ? -1 : 0
|
|
91
|
+
// Help differentiate when line is close to the ground, for example.
|
|
92
|
+
}));
|
|
93
|
+
}
|
|
94
|
+
return v.length === 0 ? null : {
|
|
95
|
+
lines: v,
|
|
96
|
+
effectiveUnits: s,
|
|
97
|
+
statistics: c,
|
|
98
|
+
refined: l === 1,
|
|
99
|
+
dynamicElevationRange: b,
|
|
100
|
+
uniformScaling: this.uniformChartScaling
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
get effectiveUnits() {
|
|
104
|
+
return this.analysisView?.effectiveUnits;
|
|
105
|
+
}
|
|
106
|
+
get errorState() {
|
|
107
|
+
if (!G(this.analysis))
|
|
108
|
+
return "no-valid-input";
|
|
109
|
+
const t = this.analysisView?.error;
|
|
110
|
+
if (t)
|
|
111
|
+
switch (t.name) {
|
|
112
|
+
case "elevation-profile-analysis:too-complex":
|
|
113
|
+
return "too-complex";
|
|
114
|
+
case "elevation-profile-analysis:invalid-geometry":
|
|
115
|
+
return "invalid-geometry";
|
|
116
|
+
case "elevation-profile-analysis:elevation-query-error":
|
|
117
|
+
return "no-valid-input";
|
|
118
|
+
default:
|
|
119
|
+
return "unknown";
|
|
120
|
+
}
|
|
121
|
+
return this._hasSamples ? "none" : "no-available-profiles";
|
|
122
|
+
}
|
|
123
|
+
get hasVertices() {
|
|
124
|
+
return H(this.analysis);
|
|
29
125
|
}
|
|
30
126
|
get highlightEnabled() {
|
|
31
127
|
return this.analysis.viewOptions.highlightEnabled;
|
|
32
128
|
}
|
|
33
|
-
set highlightEnabled(
|
|
34
|
-
this.analysis.viewOptions.highlightEnabled =
|
|
129
|
+
set highlightEnabled(t) {
|
|
130
|
+
this.analysis.viewOptions.highlightEnabled = t;
|
|
35
131
|
}
|
|
36
132
|
get hoveredPosition() {
|
|
37
133
|
return this.analysisView?.hoveredPosition ?? void 0;
|
|
@@ -39,18 +135,34 @@ let i = class extends k {
|
|
|
39
135
|
get input() {
|
|
40
136
|
return this.analysis.input;
|
|
41
137
|
}
|
|
42
|
-
set input(
|
|
43
|
-
this.analysis.input =
|
|
138
|
+
set input(t) {
|
|
139
|
+
this.analysis.input = t;
|
|
44
140
|
}
|
|
45
141
|
get profiles() {
|
|
46
142
|
return this.analysis.profiles;
|
|
47
143
|
}
|
|
48
|
-
set profiles(
|
|
49
|
-
this.analysis.profiles =
|
|
144
|
+
set profiles(t) {
|
|
145
|
+
this.analysis.profiles = t;
|
|
50
146
|
}
|
|
51
147
|
get progress() {
|
|
52
148
|
return this.analysisView?.progress ?? 0;
|
|
53
149
|
}
|
|
150
|
+
get results() {
|
|
151
|
+
const { analysis: t, analysisView: e } = this;
|
|
152
|
+
if (!e)
|
|
153
|
+
return [];
|
|
154
|
+
const { profiles: i } = t, { results: r } = e;
|
|
155
|
+
return i.length !== r.length ? [] : i.toArray().map((s, l) => {
|
|
156
|
+
const c = r.at(l);
|
|
157
|
+
return { profileLine: s, result: c };
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
get selectAvailable() {
|
|
161
|
+
for (const t of this.view?.map?.allLayers ?? [])
|
|
162
|
+
if (t.type === "graphics" && !("internal" in t && t.internal) && t.graphics.some((e) => e.geometry?.type === "polyline") || "geometryType" in t && t.geometryType === "polyline")
|
|
163
|
+
return !0;
|
|
164
|
+
return !!this.view?.graphics?.some((t) => t.geometry?.type === "polyline");
|
|
165
|
+
}
|
|
54
166
|
get state() {
|
|
55
167
|
if (this.disabled || !this.ready)
|
|
56
168
|
return "disabled";
|
|
@@ -59,70 +171,67 @@ let i = class extends k {
|
|
|
59
171
|
if (this.operationState === "active")
|
|
60
172
|
return "creating";
|
|
61
173
|
if (this.analysis.valid) {
|
|
62
|
-
const
|
|
63
|
-
return
|
|
174
|
+
const t = this.analysis.input;
|
|
175
|
+
return t != null && "geometry" in t ? "selected" : "created";
|
|
64
176
|
} else
|
|
65
177
|
return "ready";
|
|
66
178
|
}
|
|
67
179
|
get unitDistance() {
|
|
68
|
-
return
|
|
180
|
+
return k(this._userUnitDistance, this.unitOptionsDistance, this._measurementSystem);
|
|
69
181
|
}
|
|
70
|
-
set unitDistance(
|
|
71
|
-
this._userUnitDistance =
|
|
72
|
-
}
|
|
73
|
-
get effectiveUnits() {
|
|
74
|
-
return this.analysisView?.effectiveUnits;
|
|
182
|
+
set unitDistance(t) {
|
|
183
|
+
this._userUnitDistance = t;
|
|
75
184
|
}
|
|
76
185
|
get unitElevation() {
|
|
77
|
-
return
|
|
186
|
+
return k(this._userUnitElevation, this.unitOptionsElevation, this._measurementSystem);
|
|
78
187
|
}
|
|
79
|
-
set unitElevation(
|
|
80
|
-
this._userUnitElevation =
|
|
188
|
+
set unitElevation(t) {
|
|
189
|
+
this._userUnitElevation = t;
|
|
81
190
|
}
|
|
82
191
|
get unitOptionsDistance() {
|
|
83
|
-
return
|
|
192
|
+
return M(this._userUnitOptionsDistance);
|
|
84
193
|
}
|
|
85
|
-
set unitOptionsDistance(
|
|
86
|
-
this._userUnitOptionsDistance =
|
|
194
|
+
set unitOptionsDistance(t) {
|
|
195
|
+
this._userUnitOptionsDistance = t;
|
|
87
196
|
}
|
|
88
197
|
get unitOptionsElevation() {
|
|
89
|
-
return
|
|
198
|
+
return M(this._userUnitOptionsElevation);
|
|
90
199
|
}
|
|
91
|
-
set unitOptionsElevation(
|
|
92
|
-
this._userUnitOptionsElevation =
|
|
200
|
+
set unitOptionsElevation(t) {
|
|
201
|
+
this._userUnitOptionsElevation = t;
|
|
93
202
|
}
|
|
94
203
|
//#endregion
|
|
95
204
|
//#region Public Methods
|
|
96
205
|
initialize() {
|
|
97
206
|
this.addHandles(
|
|
98
|
-
|
|
207
|
+
j(
|
|
99
208
|
() => ({
|
|
100
209
|
analysis: this.analysis,
|
|
101
|
-
|
|
102
|
-
|
|
210
|
+
unitDistance: this.unitDistance,
|
|
211
|
+
unitElevation: this.unitElevation
|
|
103
212
|
}),
|
|
104
|
-
({ analysis:
|
|
105
|
-
|
|
213
|
+
({ analysis: t, unitDistance: e, unitElevation: i }) => {
|
|
214
|
+
t != null && (t.units.elevation = i, t.units.distance = e);
|
|
106
215
|
},
|
|
107
216
|
{ sync: !0, initial: !0 }
|
|
108
217
|
)
|
|
109
218
|
);
|
|
110
219
|
}
|
|
111
220
|
async select() {
|
|
112
|
-
const
|
|
113
|
-
if (!
|
|
221
|
+
const t = this.analysisView;
|
|
222
|
+
if (!t)
|
|
114
223
|
return;
|
|
115
|
-
const
|
|
116
|
-
operation: async (
|
|
117
|
-
await
|
|
224
|
+
const e = super.start({
|
|
225
|
+
operation: async (i) => {
|
|
226
|
+
await t.pickGraphic(i);
|
|
118
227
|
}
|
|
119
228
|
});
|
|
120
|
-
|
|
121
|
-
this._selectingPromise ===
|
|
122
|
-
}), this._selectingPromise =
|
|
229
|
+
e.finally(() => {
|
|
230
|
+
this._selectingPromise === e && (this._selectingPromise = void 0);
|
|
231
|
+
}), this._selectingPromise = e, await e.catch();
|
|
123
232
|
}
|
|
124
|
-
async place(
|
|
125
|
-
await this.analysisView?.place(
|
|
233
|
+
async place(t) {
|
|
234
|
+
await this.analysisView?.place(t);
|
|
126
235
|
}
|
|
127
236
|
//#endregion
|
|
128
237
|
//#region Protected/Private Methods
|
|
@@ -131,103 +240,310 @@ let i = class extends k {
|
|
|
131
240
|
}
|
|
132
241
|
// Should never happen because both 2d and 3d are supported
|
|
133
242
|
constructAnalysis() {
|
|
134
|
-
return new
|
|
243
|
+
return new F();
|
|
135
244
|
}
|
|
136
245
|
//#endregion
|
|
137
246
|
};
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
],
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
],
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
],
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
],
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
],
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
],
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
],
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
],
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
],
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
],
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
],
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
],
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
],
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
],
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
],
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
],
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
],
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
],
|
|
192
|
-
|
|
193
|
-
|
|
247
|
+
o([
|
|
248
|
+
a()
|
|
249
|
+
], n.prototype, "_userUnitOptionsDistance", 2);
|
|
250
|
+
o([
|
|
251
|
+
a()
|
|
252
|
+
], n.prototype, "_userUnitOptionsElevation", 2);
|
|
253
|
+
o([
|
|
254
|
+
a()
|
|
255
|
+
], n.prototype, "_userUnitDistance", 2);
|
|
256
|
+
o([
|
|
257
|
+
a()
|
|
258
|
+
], n.prototype, "_userUnitElevation", 2);
|
|
259
|
+
o([
|
|
260
|
+
a({ readOnly: !0 })
|
|
261
|
+
], n.prototype, "_measurementSystem", 1);
|
|
262
|
+
o([
|
|
263
|
+
a()
|
|
264
|
+
], n.prototype, "_selectingPromise", 2);
|
|
265
|
+
o([
|
|
266
|
+
a()
|
|
267
|
+
], n.prototype, "_hasSamples", 1);
|
|
268
|
+
o([
|
|
269
|
+
a()
|
|
270
|
+
], n.prototype, "canStopCreating", 1);
|
|
271
|
+
o([
|
|
272
|
+
a()
|
|
273
|
+
], n.prototype, "canRenderChart", 1);
|
|
274
|
+
o([
|
|
275
|
+
a()
|
|
276
|
+
], n.prototype, "chartData", 1);
|
|
277
|
+
o([
|
|
278
|
+
a({ readOnly: !0 })
|
|
279
|
+
], n.prototype, "effectiveUnits", 1);
|
|
280
|
+
o([
|
|
281
|
+
a({ readOnly: !0 })
|
|
282
|
+
], n.prototype, "errorState", 1);
|
|
283
|
+
o([
|
|
284
|
+
a({ readOnly: !0 })
|
|
285
|
+
], n.prototype, "hasVertices", 1);
|
|
286
|
+
o([
|
|
287
|
+
a()
|
|
288
|
+
], n.prototype, "highlightEnabled", 1);
|
|
289
|
+
o([
|
|
290
|
+
a()
|
|
291
|
+
], n.prototype, "hoveredPosition", 1);
|
|
292
|
+
o([
|
|
293
|
+
a()
|
|
294
|
+
], n.prototype, "input", 1);
|
|
295
|
+
o([
|
|
296
|
+
a()
|
|
297
|
+
], n.prototype, "profiles", 1);
|
|
298
|
+
o([
|
|
299
|
+
a({ readOnly: !0 })
|
|
300
|
+
], n.prototype, "progress", 1);
|
|
301
|
+
o([
|
|
302
|
+
a({ readOnly: !0 })
|
|
303
|
+
], n.prototype, "results", 1);
|
|
304
|
+
o([
|
|
305
|
+
a({ readOnly: !0 })
|
|
306
|
+
], n.prototype, "selectAvailable", 1);
|
|
307
|
+
o([
|
|
308
|
+
a({ readOnly: !0 })
|
|
309
|
+
], n.prototype, "state", 1);
|
|
310
|
+
o([
|
|
311
|
+
a()
|
|
312
|
+
], n.prototype, "uniformChartScaling", 2);
|
|
313
|
+
o([
|
|
314
|
+
a()
|
|
315
|
+
], n.prototype, "unitDistance", 1);
|
|
316
|
+
o([
|
|
317
|
+
a()
|
|
318
|
+
], n.prototype, "unitElevation", 1);
|
|
319
|
+
o([
|
|
320
|
+
a()
|
|
321
|
+
], n.prototype, "unitOptionsDistance", 1);
|
|
322
|
+
o([
|
|
323
|
+
a()
|
|
324
|
+
], n.prototype, "unitOptionsElevation", 1);
|
|
325
|
+
n = o([
|
|
326
|
+
Z("components.elevation-profile.ElevationProfileViewModel")
|
|
327
|
+
], n);
|
|
328
|
+
function k(t, e, i) {
|
|
329
|
+
return t && e.includes(t) ? t : i && e.includes(i) ? i : e[0];
|
|
194
330
|
}
|
|
195
|
-
function
|
|
196
|
-
const
|
|
197
|
-
return
|
|
331
|
+
function M(t) {
|
|
332
|
+
const e = t?.filter((i) => C.includes(i));
|
|
333
|
+
return e && e.length > 0 ? e : C.slice();
|
|
198
334
|
}
|
|
199
|
-
const
|
|
200
|
-
class
|
|
335
|
+
const W = A(n);
|
|
336
|
+
class Y extends P {
|
|
201
337
|
constructor() {
|
|
202
|
-
super(...arguments), this.viewModel =
|
|
338
|
+
super(...arguments), this.viewModel = W(this), this._messages = V(), this._onZoomOutButtonClick = () => {
|
|
339
|
+
}, this._onClearButtonClick = () => {
|
|
340
|
+
this.viewModel.clear();
|
|
341
|
+
}, this._hideZoomOutButton = !0, this.analysis = this.viewModel.analysis, this.autoDestroyDisabled = !1, this.effectiveUnits = this.viewModel.effectiveUnits, this.hideChart = !1, this.hideClearButton = !1, this.hideLegend = !1, this.hideSelectButton = !1, this.hideSettingsButton = !1, this.hideSketchButton = !1, this.hideUniformChartScalingToggle = !1, this.hideUnitSelector = !1, this.highlightEnabled = this.viewModel.highlightEnabled, this.hoveredPosition = this.viewModel.hoveredPosition, this.icon = "altitude", this.input = this.viewModel.input, this.profiles = this.viewModel.profiles, this.progress = this.viewModel.progress, this.state = this.viewModel.state, this.uniformChartScaling = this.viewModel.uniformChartScaling, this.unitDistance = this.viewModel.unitDistance, this.unitElevation = this.viewModel.unitElevation, this.unitOptionsDistance = this.viewModel.unitOptionsDistance, this.unitOptionsElevation = this.viewModel.unitOptionsElevation, this.arcgisPropertyChange = z()("input", "effectiveUnits", "progress", "state"), this.arcgisReady = U();
|
|
203
342
|
}
|
|
204
343
|
static {
|
|
205
|
-
this.properties = { analysis: 0, autoDestroyDisabled: 5, effectiveUnits: 32, hideChart: 5, hideClearButton: 5, hideLegend: 5, hideSelectButton: 5, hideSettingsButton: 5, hideSketchButton: 5, hideUniformChartScalingToggle: 5, hideUnitSelector: 5, highlightEnabled: 5, hoveredPosition: 9, icon: 3, input: 0, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, profiles: 0, progress: 40, state: 3, uniformChartScaling: 5, unitDistance: 1, unitElevation: 1, unitOptionsDistance: 0, unitOptionsElevation: 0 };
|
|
344
|
+
this.properties = { _hideZoomOutButton: 16, analysis: 0, autoDestroyDisabled: 5, effectiveUnits: 32, hideChart: 5, hideClearButton: 5, hideLegend: 5, hideSelectButton: 5, hideSettingsButton: 5, hideSketchButton: 5, hideUniformChartScalingToggle: 5, hideUnitSelector: 5, highlightEnabled: 5, hoveredPosition: 9, icon: 3, input: 0, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, profiles: 0, progress: 40, state: 3, uniformChartScaling: 5, unitDistance: 1, unitElevation: 1, unitOptionsDistance: 0, unitOptionsElevation: 0 };
|
|
206
345
|
}
|
|
207
346
|
static {
|
|
208
|
-
this.styles =
|
|
347
|
+
this.styles = T;
|
|
348
|
+
}
|
|
349
|
+
get _selectButtonVisible() {
|
|
350
|
+
return !this.hideSelectButton && this.viewModel.selectAvailable;
|
|
209
351
|
}
|
|
210
352
|
async destroy() {
|
|
211
353
|
await this.manager.destroy();
|
|
212
354
|
}
|
|
355
|
+
async select() {
|
|
356
|
+
this.viewModel.select();
|
|
357
|
+
}
|
|
213
358
|
async start() {
|
|
214
359
|
this.viewModel.start();
|
|
215
360
|
}
|
|
216
361
|
async stop() {
|
|
217
362
|
this.viewModel.stop();
|
|
218
363
|
}
|
|
219
|
-
|
|
220
|
-
this.viewModel.
|
|
364
|
+
_onSketchButtonClick() {
|
|
365
|
+
x(this.viewModel.start());
|
|
366
|
+
}
|
|
367
|
+
_onSelectButtonClick() {
|
|
368
|
+
x(this.viewModel.select());
|
|
369
|
+
}
|
|
370
|
+
_onCancelButtonClick() {
|
|
371
|
+
this.viewModel.stop();
|
|
372
|
+
}
|
|
373
|
+
_onDoneButtonClick() {
|
|
374
|
+
this.viewModel.stop();
|
|
375
|
+
}
|
|
376
|
+
_getErrorMessage() {
|
|
377
|
+
const e = J[this.viewModel.errorState];
|
|
378
|
+
return e ? this._messages?.errors?.[e] : void 0;
|
|
221
379
|
}
|
|
222
380
|
render() {
|
|
223
|
-
return
|
|
224
|
-
|
|
225
|
-
[
|
|
226
|
-
[
|
|
227
|
-
|
|
381
|
+
return d`<div aria-label=${this._messages.componentLabel ?? _} class=${u({
|
|
382
|
+
container: !0,
|
|
383
|
+
[y.widget]: !0,
|
|
384
|
+
[y.widgetDisabled]: this.viewModel.state === "disabled",
|
|
385
|
+
[y.panel]: !0
|
|
386
|
+
})} role=presentation>${this._renderContentForState()}</div>`;
|
|
387
|
+
}
|
|
388
|
+
_renderContentForState() {
|
|
389
|
+
switch (this.viewModel.state) {
|
|
390
|
+
case "ready":
|
|
391
|
+
return this._renderContentForReadyState();
|
|
392
|
+
case "selecting":
|
|
393
|
+
return this._renderContentForSelectingState();
|
|
394
|
+
case "creating":
|
|
395
|
+
return this._renderContentForCreatingState();
|
|
396
|
+
case "selected":
|
|
397
|
+
return this._renderContentForSelectedState();
|
|
398
|
+
case "created":
|
|
399
|
+
return this._renderContentForCreatedState();
|
|
400
|
+
case "disabled":
|
|
401
|
+
return this._renderContentForReadyState();
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
_renderContentForReadyState() {
|
|
405
|
+
const { _messages: e, hideSelectButton: i, hideSketchButton: r } = this, { selectAvailable: s } = this.viewModel, l = !i && s;
|
|
406
|
+
let c;
|
|
407
|
+
return !r && l ? c = e.readyPrompt : r ? l ? c = e.readyPromptSelectOnly : c = e.errors?.noProfile : c = e.readyPromptCreateOnly, this._renderContent({ prompt: c, chart: !1, actions: g });
|
|
408
|
+
}
|
|
409
|
+
_renderContentForSelectingState() {
|
|
410
|
+
const { view: e } = this.viewModel;
|
|
411
|
+
if (!e)
|
|
412
|
+
return;
|
|
413
|
+
const i = this._messages[`selectingPrompt-${e.type}`];
|
|
414
|
+
return this._renderContent({
|
|
415
|
+
prompt: i,
|
|
416
|
+
chart: !1,
|
|
417
|
+
actions: [{ type: "select-cancel" }]
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
_renderContentForCreatingState() {
|
|
421
|
+
const { viewModel: e } = this, { view: i } = e;
|
|
422
|
+
if (!i)
|
|
423
|
+
return;
|
|
424
|
+
const r = e.hasVertices ? [{ type: "sketch-cancel" }, { type: "sketch-done", disabled: !e.canStopCreating }] : [{ type: "select" }, { type: "sketch", disabled: !0 }];
|
|
425
|
+
if (e.errorState === "no-valid-input") {
|
|
426
|
+
const l = this._messages[`creatingPrompt-${i.type}`];
|
|
427
|
+
return this._renderContent({
|
|
428
|
+
chart: !1,
|
|
429
|
+
actions: r,
|
|
430
|
+
prompt: l
|
|
431
|
+
});
|
|
432
|
+
}
|
|
433
|
+
const s = this._getErrorMessage();
|
|
434
|
+
return s ? this._renderContent({ chart: !1, actions: r, prompt: s }) : this._renderContent({ chart: !0, actions: r });
|
|
435
|
+
}
|
|
436
|
+
_renderContentForSelectedState() {
|
|
437
|
+
const e = this._getErrorMessage();
|
|
438
|
+
return e ? this._renderContent({ chart: !1, actions: g, prompt: e }) : this._renderContent({ chart: !0, actions: g });
|
|
439
|
+
}
|
|
440
|
+
_renderContentForCreatedState() {
|
|
441
|
+
const e = this._getErrorMessage();
|
|
442
|
+
return e ? this._renderContent({ chart: !1, actions: g, prompt: e }) : this._renderContent({ chart: !0, actions: g });
|
|
443
|
+
}
|
|
444
|
+
_renderContent(e) {
|
|
445
|
+
const { viewModel: i } = this, r = i.input != null;
|
|
446
|
+
return d`<header class="header">${h({ hidden: this._hideZoomOutButton, children: this._renderZoomOutButton() })}${h({ hidden: this.hideClearButton || !r, children: this._renderClearButton() })}${h({ hidden: this.hideSettingsButton, children: this._renderSettingsButton() })}</header><div class="main-container">${e.prompt != null ? this._renderPrompt(e.prompt) : e.chart ? this._renderChart() : void 0}</div>${h({ hidden: this.hideLegend, children: this._renderLegend() })}${this._renderActions(e)}`;
|
|
447
|
+
}
|
|
448
|
+
_renderPrompt(e) {
|
|
449
|
+
return [
|
|
450
|
+
d`<div class="prompt-container"><p class="prompt-message">${e}</p></div>`
|
|
451
|
+
];
|
|
452
|
+
}
|
|
453
|
+
_renderZoomOutButton() {
|
|
454
|
+
const e = this._messages.zoomOut ?? "";
|
|
455
|
+
return d`<calcite-action appearance=transparent icon=magnifying-glass-minus @click=${this._onZoomOutButtonClick} scale=s .text=${e} title=${e ?? _}></calcite-action>`;
|
|
456
|
+
}
|
|
457
|
+
_renderChart() {
|
|
458
|
+
const e = "chart-container";
|
|
459
|
+
if (this.hideChart)
|
|
460
|
+
return d`<div class=${u(e)}></div>`;
|
|
461
|
+
const { chartData: i, progress: r } = this.viewModel, s = this.viewModel.canRenderChart, l = i != null && r < 1;
|
|
462
|
+
return s ? d`${this._renderSpinner({
|
|
463
|
+
size: s ? "small" : "large",
|
|
464
|
+
visible: l
|
|
465
|
+
})}<div class=${u(e)}>Chart Here: \uD83D\uDCC8</div>` : d`${this._renderSpinner({ size: "large", visible: l })}<div class=${u(e)}></div>`;
|
|
466
|
+
}
|
|
467
|
+
_renderSpinner(e) {
|
|
468
|
+
const i = e.size === "small", r = e.visible ?? !0;
|
|
469
|
+
return d`<calcite-loader class=${u({
|
|
470
|
+
spinner: !0,
|
|
471
|
+
small: i,
|
|
472
|
+
visible: r
|
|
473
|
+
})} .inline=${i} label scale=s></calcite-loader>`;
|
|
474
|
+
}
|
|
475
|
+
_renderClearButton() {
|
|
476
|
+
const e = this._messages.clearProfile ?? "";
|
|
477
|
+
return d`<calcite-action appearance=transparent icon=trash @click=${this._onClearButtonClick} scale=s .text=${e} title=${e ?? _}></calcite-action>`;
|
|
478
|
+
}
|
|
479
|
+
_renderLegend() {
|
|
480
|
+
return d`<arcgis-elevation-profile-legend .effectiveUnits=${this.viewModel.effectiveUnits} .messages=${this._messages} .results=${this.viewModel.results}></arcgis-elevation-profile-legend>`;
|
|
481
|
+
}
|
|
482
|
+
_renderSettingsButton() {
|
|
483
|
+
return d`<arcgis-elevation-profile-settings .analysis=${this.viewModel.analysis} .hideUniformChartScalingToggle=${this.hideUniformChartScalingToggle} .hideUnitSelector=${this.hideUnitSelector} .messages=${this._messages} .uniformChartScaling=${this.viewModel.uniformChartScaling} .unitOptionsDistance=${this.viewModel.unitOptionsDistance} .unitOptionsElevation=${this.viewModel.unitOptionsElevation} @arcgisElevationProfileSettingsUniformChartScalingChange=${(e) => {
|
|
484
|
+
this.viewModel.uniformChartScaling = e.detail;
|
|
485
|
+
}}></arcgis-elevation-profile-settings>`;
|
|
486
|
+
}
|
|
487
|
+
_renderActions({ actions: e }) {
|
|
488
|
+
const i = this._messages, r = e.map((s) => {
|
|
489
|
+
switch (s.type) {
|
|
490
|
+
case "sketch":
|
|
491
|
+
return h({ hidden: this.hideSketchButton, children: this._renderAction({
|
|
492
|
+
action: s,
|
|
493
|
+
label: i.sketchButtonLabel,
|
|
494
|
+
primary: !0,
|
|
495
|
+
onClick: this._onSketchButtonClick
|
|
496
|
+
}) });
|
|
497
|
+
case "sketch-cancel":
|
|
498
|
+
return h({ hidden: this.hideSketchButton, children: this._renderAction({
|
|
499
|
+
action: s,
|
|
500
|
+
label: i.cancelButtonLabel,
|
|
501
|
+
primary: !1,
|
|
502
|
+
onClick: this._onCancelButtonClick
|
|
503
|
+
}) });
|
|
504
|
+
case "sketch-done":
|
|
505
|
+
return h({ hidden: this.hideSketchButton, children: this._renderAction({
|
|
506
|
+
action: s,
|
|
507
|
+
label: i.doneButtonLabel,
|
|
508
|
+
primary: !0,
|
|
509
|
+
onClick: this._onDoneButtonClick
|
|
510
|
+
}) });
|
|
511
|
+
case "select":
|
|
512
|
+
return h({ hidden: !this._selectButtonVisible, children: this._renderAction({
|
|
513
|
+
action: s,
|
|
514
|
+
label: i.selectButtonLabel,
|
|
515
|
+
primary: !1,
|
|
516
|
+
onClick: this._onSelectButtonClick
|
|
517
|
+
}) });
|
|
518
|
+
case "select-cancel":
|
|
519
|
+
return h({ hidden: !this._selectButtonVisible, children: this._renderAction({
|
|
520
|
+
action: s,
|
|
521
|
+
label: i.cancelButtonLabel,
|
|
522
|
+
primary: !1,
|
|
523
|
+
onClick: this._onCancelButtonClick
|
|
524
|
+
}) });
|
|
525
|
+
default:
|
|
526
|
+
return;
|
|
527
|
+
}
|
|
528
|
+
}).filter(Boolean);
|
|
529
|
+
return r.length ? d`<footer class="actions">${r}</footer>` : void 0;
|
|
530
|
+
}
|
|
531
|
+
_renderAction({ action: e, label: i, onClick: r, primary: s }) {
|
|
532
|
+
return d`<calcite-button .appearance=${s ? "solid" : "outline-fill"} class="action-button" .disabled=${e.disabled || void 0} @click=${r}>${i}</calcite-button>`;
|
|
228
533
|
}
|
|
229
534
|
}
|
|
230
|
-
|
|
535
|
+
function h(t) {
|
|
536
|
+
return t.hidden ? void 0 : t.children;
|
|
537
|
+
}
|
|
538
|
+
const g = [{ type: "select" }, { type: "sketch" }], J = {
|
|
539
|
+
none: void 0,
|
|
540
|
+
"no-valid-input": "noProfile",
|
|
541
|
+
"no-available-profiles": "noProfile",
|
|
542
|
+
"too-complex": "tooComplex",
|
|
543
|
+
unknown: "unknown",
|
|
544
|
+
"invalid-geometry": "invalidGeometry"
|
|
545
|
+
};
|
|
546
|
+
$("arcgis-elevation-profile-next", Y);
|
|
231
547
|
export {
|
|
232
|
-
|
|
548
|
+
Y as ArcgisElevationProfileNext
|
|
233
549
|
};
|