@arcgis/map-components 4.33.0-next.137 → 4.33.0-next.138
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/{Y2ZWCSMD.js → 2ICV3ZP6.js} +2 -2
- package/dist/cdn/{YWWSIRGF.js → 2RYHZPSQ.js} +2 -2
- package/dist/cdn/{SN4KOFE3.js → 2TBOD7GJ.js} +2 -2
- package/dist/cdn/{KSKJDUME.js → 3F4Z4TXU.js} +2 -2
- package/dist/cdn/3HNXL7RL.js +4 -0
- package/dist/cdn/{RDUZPE7Y.js → 3MPFDWBN.js} +2 -2
- package/dist/cdn/{5VV7ADX2.js → 3PXEJNET.js} +2 -2
- package/dist/cdn/{GCOPPRBT.js → 3RYCWP6E.js} +2 -2
- package/dist/cdn/{NGHIJ3DC.js → 4KXQH47P.js} +2 -2
- package/dist/cdn/{BB56R3VK.js → 4NU2LEDY.js} +2 -2
- package/dist/cdn/{WRU5KHFD.js → 54A6QQ5P.js} +2 -2
- package/dist/cdn/{3X2SF33Y.js → 5DLF2FRD.js} +2 -2
- package/dist/cdn/{VIH4QGPR.js → 5J7OJ4Z6.js} +2 -2
- package/dist/cdn/{JQZHJJQU.js → 5KYPK2BL.js} +2 -2
- package/dist/cdn/{7HRPGAD5.js → 5PFB6EGX.js} +2 -2
- package/dist/cdn/{UHDYIYTO.js → 6Q5DEPLW.js} +2 -2
- package/dist/cdn/{HOKANAS6.js → 6VOXDT2D.js} +2 -2
- package/dist/cdn/{JJMYT26S.js → 73CNLONW.js} +2 -2
- package/dist/cdn/{CSUILAJU.js → 7C6JQ4XM.js} +2 -2
- package/dist/cdn/{63PJIGRN.js → 7FFIVQF6.js} +2 -2
- package/dist/cdn/{GC24UXEV.js → 7Q2OQGBB.js} +2 -2
- package/dist/cdn/{JNS2KI7N.js → A4ZNGLT2.js} +2 -2
- package/dist/cdn/{HWHSDZTN.js → A575HHDP.js} +2 -2
- package/dist/cdn/A5AIKEDX.js +4 -0
- package/dist/cdn/{JOBOKXGE.js → AIYUDCDQ.js} +2 -2
- package/dist/cdn/AV6YUXI6.js +4 -0
- package/dist/cdn/BNCLTRYH.js +4 -0
- package/dist/cdn/{RNC2RI56.js → BQYQ3LTP.js} +2 -2
- package/dist/cdn/{T2LDYV3D.js → BZ5KBRTH.js} +2 -2
- package/dist/cdn/{WES66GRD.js → C677Z3XS.js} +2 -2
- package/dist/cdn/C722QWYO.js +4 -0
- package/dist/cdn/{RTDORBQ6.js → CUDJHVRU.js} +2 -2
- package/dist/cdn/{SJ2TC3QB.js → CV2IWESX.js} +2 -2
- package/dist/cdn/{YN3LDRSF.js → D7MSIIVJ.js} +2 -2
- package/dist/cdn/{5LW4P6XZ.js → DJAPPGGB.js} +2 -2
- package/dist/cdn/{5BCHGYG7.js → EDORIH5N.js} +2 -2
- package/dist/cdn/EL4W5FAJ.js +4 -0
- package/dist/cdn/{ATKZUZI2.js → FOVCH7VW.js} +2 -2
- package/dist/cdn/{5WBV6YFC.js → FY5ET4WM.js} +2 -2
- package/dist/cdn/{HRJOSIMY.js → G7FA2SZX.js} +2 -2
- package/dist/cdn/{FV4L6I7H.js → GDRUHH5B.js} +2 -2
- package/dist/cdn/{6KRGSMB4.js → GEVMX2UO.js} +2 -2
- package/dist/cdn/{YQEPT3W4.js → GURMXFUT.js} +2 -2
- package/dist/cdn/{BD5AHAB3.js → GY5GZLXV.js} +2 -2
- package/dist/cdn/{5ZFS6JQ5.js → HBVJIRGN.js} +2 -2
- package/dist/cdn/{2JYK2CB3.js → HCS23COA.js} +2 -2
- package/dist/cdn/{4D3HAR5N.js → HMR3LZEC.js} +2 -2
- package/dist/cdn/{UAYKV5JC.js → HT7HVKXJ.js} +2 -2
- package/dist/cdn/{ULXMI4MQ.js → HUYGZMDR.js} +2 -2
- package/dist/cdn/HXOPYRM2.js +4 -0
- package/dist/cdn/{QLBYFGRC.js → IH32IEWT.js} +2 -2
- package/dist/cdn/{3DOZMTZY.js → JGCDGP2X.js} +2 -2
- package/dist/cdn/JR37HKLZ.js +4 -0
- package/dist/cdn/{WNWGJCTZ.js → JYTTN5LU.js} +2 -2
- package/dist/cdn/{K6GCCQVK.js → KEI26URD.js} +1 -1
- package/dist/cdn/{3MDEYSMH.js → KM5OVC7O.js} +2 -2
- package/dist/cdn/{CUAGGML4.js → L5J24G5M.js} +2 -2
- package/dist/cdn/L66H2ALJ.js +4 -0
- package/dist/cdn/{OQRY5XKR.js → LIQITLFR.js} +2 -2
- package/dist/cdn/{WFAFO74Y.js → LNOMQKUY.js} +2 -2
- package/dist/cdn/{6I3SCK5W.js → LQEPXN57.js} +2 -2
- package/dist/cdn/{L2JGREVD.js → LT4K76AI.js} +2 -2
- package/dist/cdn/LUWRRPTC.js +4 -0
- package/dist/cdn/{DCF7KPFM.js → MEUUSKT3.js} +2 -2
- package/dist/cdn/{P3IHJRIN.js → MNSXEFSD.js} +2 -2
- package/dist/cdn/{6HE4J7DX.js → MUPWF5M2.js} +2 -2
- package/dist/cdn/{BOFYWT7T.js → N36AOA4W.js} +2 -2
- package/dist/cdn/{PWDTZOFW.js → N4JEEG6U.js} +2 -2
- package/dist/cdn/{KEX5SMJ4.js → NA7YRW3M.js} +2 -2
- package/dist/cdn/{T2FLV2R6.js → NHSTTG5C.js} +1 -1
- package/dist/cdn/{XWW3ZCHK.js → NIB3ARH5.js} +2 -2
- package/dist/cdn/{2WS23IDT.js → O7YEMKLH.js} +2 -2
- package/dist/cdn/{EDDNE2YV.js → P2ORI2MU.js} +2 -2
- package/dist/cdn/{AGJQRXUY.js → P4OU64OH.js} +2 -2
- package/dist/cdn/{YQNF42PE.js → PRZRGIJO.js} +2 -2
- package/dist/cdn/{LGADCTY4.js → Q2G3EZNU.js} +2 -2
- package/dist/cdn/{EBIXSEM3.js → Q3DX3LMR.js} +2 -2
- package/dist/cdn/{6RDVRAGB.js → QBPIXB5K.js} +2 -2
- package/dist/cdn/{DBYBQ4MS.js → QINX3JDV.js} +2 -2
- package/dist/cdn/{7ZQFUYMU.js → QXPX2NPW.js} +2 -2
- package/dist/cdn/{SE4EPVYX.js → RN2REPX3.js} +2 -2
- package/dist/cdn/{A2JY4S6Y.js → RPQOQQSL.js} +2 -2
- package/dist/cdn/{VD4DEVXX.js → RSXOP3R5.js} +1 -1
- package/dist/cdn/{33TPQFND.js → S7S6ARM2.js} +2 -2
- package/dist/cdn/{IXLJCXGC.js → SNF6PQDA.js} +2 -2
- package/dist/cdn/{YCIQTPHF.js → SPPQB6HJ.js} +2 -2
- package/dist/cdn/{MTF4QZ3G.js → ST2CRGPM.js} +2 -2
- package/dist/cdn/{TGV2K4EC.js → SUEDRTNE.js} +2 -2
- package/dist/cdn/{5JQTIBKQ.js → SW63GGTX.js} +2 -2
- package/dist/cdn/{4SE24INE.js → T5JY4NUR.js} +1 -1
- package/dist/cdn/{FCRXZRF7.js → TBKYTCWV.js} +2 -2
- package/dist/cdn/{SLR4TFQ3.js → TGOTZ7AI.js} +2 -2
- package/dist/cdn/{SDHDA4VU.js → TLXRUB2I.js} +2 -2
- package/dist/cdn/{HBEZJNIF.js → TN3WLCHJ.js} +1 -1
- package/dist/cdn/{ISJAW7ZJ.js → U2DRGZMR.js} +2 -2
- package/dist/cdn/{ROFUMAYO.js → UERCPIN5.js} +2 -2
- package/dist/cdn/{N2WMQEE4.js → UFB7UU6E.js} +1 -1
- package/dist/cdn/{3EZB7HPE.js → UHZ772ND.js} +2 -2
- package/dist/cdn/UT2TU4IE.js +4 -0
- package/dist/cdn/{YJAFSXBF.js → UTX6MR4S.js} +2 -2
- package/dist/cdn/{I3JQ2C46.js → V7RU2UNT.js} +2 -2
- package/dist/cdn/{R56GIOIT.js → VBIWNOWT.js} +2 -2
- package/dist/cdn/{FSQWGAQZ.js → VCEXQIAL.js} +2 -2
- package/dist/cdn/{4KDIHAZ2.js → VKAIYWB6.js} +2 -2
- package/dist/cdn/{V4RREMPI.js → VUGWIA5S.js} +2 -2
- package/dist/cdn/{D542S3PL.js → VXE3QTOJ.js} +2 -2
- package/dist/cdn/{IVDO3HEB.js → WTLPSGCB.js} +2 -2
- package/dist/cdn/{YKGZ2YLZ.js → XDDWEQM3.js} +2 -2
- package/dist/cdn/XGAGBN4O.js +4 -0
- package/dist/cdn/{KMDCE5JO.js → XJG23KZB.js} +2 -2
- package/dist/cdn/{QBWUU6DV.js → XQWUSMGI.js} +2 -2
- package/dist/cdn/{C55WACHK.js → XTNP3TJF.js} +2 -2
- package/dist/cdn/{OVQESQOK.js → YB6ZBOCX.js} +2 -2
- package/dist/cdn/{YP7UOQCO.js → YCQPBKUP.js} +2 -2
- package/dist/cdn/{KAGROI4I.js → YXY5RVBB.js} +2 -2
- package/dist/cdn/{4HIG2QS5.js → ZBFPM6CM.js} +2 -2
- package/dist/cdn/{LMLLRBWA.js → ZD62VL5V.js} +2 -2
- package/dist/cdn/ZEX2ON7O.js +4 -0
- package/dist/cdn/{HDGUZQRD.js → ZO4WI4NO.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +66 -77
- package/dist/chunks/async-utils.js +2 -2
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.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 +5 -5
- package/dist/chunks/measurementUtils.js +50 -0
- package/dist/chunks/runtime.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/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +45 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +17 -56
- package/dist/components/arcgis-area-measurement-3d/customElement.js +155 -17
- package/dist/components/arcgis-area-measurement-3d/index.d.ts +3 -0
- package/dist/components/arcgis-area-measurement-3d/index.js +3 -0
- 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/css.d.ts +1 -0
- package/dist/components/arcgis-basemap-toggle/customElement.js +13 -12
- 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/DirectLineMeasurement3dViewModel.d.ts +47 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +68 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +194 -0
- package/dist/components/arcgis-direct-line-measurement-3d/index.d.ts +4 -0
- package/dist/components/arcgis-direct-line-measurement-3d/index.js +4 -0
- package/dist/components/arcgis-directional-pad/customElement.js +34 -33
- package/dist/components/arcgis-directional-pad/index.d.ts +1 -1
- package/dist/components/arcgis-directional-pad/index.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.d.ts +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-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/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 +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-line-of-sight/LineOfSightViewModel.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +16 -16
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +9 -2
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +33 -25
- package/dist/components/arcgis-link-chart-layout-switcher/index.d.ts +3 -0
- package/dist/components/arcgis-link-chart-layout-switcher/index.js +3 -0
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.d.ts +20 -0
- package/dist/components/arcgis-measurement-content/customElement.js +59 -0
- 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 +37 -37
- 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-slider/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 +14 -8
- 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 +3 -4
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/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-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 +929 -221
- package/dist/docs/docs.json +802 -251
- package/dist/docs/vscode.html-custom-data.json +155 -16
- package/dist/docs/web-types.json +220 -59
- package/dist/index.d.ts +23 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +6 -4
- package/dist/support/AnalysisViewModel.d.ts +26 -39
- package/dist/support/maybe.d.ts +2 -2
- package/dist/support/measurementUtils.d.ts +19 -0
- package/dist/types/lumina.d.ts +11 -4
- package/dist/types/preact.d.ts +12 -4
- package/dist/types/react.d.ts +13 -4
- package/dist/types/stencil.d.ts +11 -4
- package/package.json +3 -4
- package/dist/cdn/3PRGRMUA.js +0 -4
- package/dist/cdn/BK5DJXDM.js +0 -4
- package/dist/cdn/CAVMJDKS.js +0 -4
- package/dist/cdn/G36X5EQG.js +0 -4
- package/dist/cdn/LY6SOGJ3.js +0 -4
- package/dist/cdn/MCXTPYW3.js +0 -4
- package/dist/cdn/OUPCEZCW.js +0 -4
- package/dist/cdn/VQO6TJFP.js +0 -4
- package/dist/cdn/VYNXW5CE.js +0 -4
- package/dist/cdn/XQUJNALV.js +0 -4
- package/dist/cdn/YHGMKVKH.js +0 -4
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +0 -98
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +0 -37
- /package/dist/components/{arcgis-directline-measurement-3d → arcgis-measurement-content}/index.d.ts +0 -0
- /package/dist/components/{arcgis-directline-measurement-3d → arcgis-measurement-content}/index.js +0 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import { c as p } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as g } from "lit-html";
|
|
3
|
+
import { LitElement as v, createEvent as f, noShadowRoot as w, nothing as D, safeClassMap as M } from "@arcgis/lumina";
|
|
4
|
+
import { usePropertyChange as b } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { u as O } from "../../chunks/useT9n.js";
|
|
6
|
+
import { m as $ } from "../../chunks/useViewModel.js";
|
|
7
|
+
import { g as d } from "../../chunks/globalCss.js";
|
|
8
|
+
import { css as U } from "@lit/reactive-element/css-tag.js";
|
|
9
|
+
import L from "@arcgis/core/analysis/DirectLineMeasurementAnalysis.js";
|
|
10
|
+
import { getDefaultUnitForView as _ } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
11
|
+
import { property as a, subclass as V } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
12
|
+
import { watch as P } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
|
+
import { A } from "../../chunks/AnalysisViewModel.js";
|
|
14
|
+
import { g as l, m } from "../../chunks/measurementUtils.js";
|
|
15
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
17
|
+
v4.33.0-next.138 */
|
|
18
|
+
const C = U`@layer{arcgis-directline-measurement-3d,arcgis-direct-line-measurement-3d{display:block}.arcgis-direct-line-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`;
|
|
19
|
+
var z = Object.defineProperty, S = Object.getOwnPropertyDescriptor, r = (e, t, i, u) => {
|
|
20
|
+
for (var n = u > 1 ? void 0 : u ? S(t, i) : t, o = e.length - 1, c; o >= 0; o--)
|
|
21
|
+
(c = e[o]) && (n = (u ? c(t, i, n) : c(n)) || n);
|
|
22
|
+
return u && n && z(t, i, n), n;
|
|
23
|
+
};
|
|
24
|
+
let s = class extends A {
|
|
25
|
+
constructor(e) {
|
|
26
|
+
super(e), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Direct Line Measurement 3D component is only supported in 3D views.";
|
|
27
|
+
}
|
|
28
|
+
initialize() {
|
|
29
|
+
this.addHandles(
|
|
30
|
+
// Make sure the analysis and view model units are in sync.
|
|
31
|
+
P(
|
|
32
|
+
() => ({
|
|
33
|
+
analysis: this.analysis,
|
|
34
|
+
unit: this.unit
|
|
35
|
+
}),
|
|
36
|
+
({ analysis: e, unit: t }) => {
|
|
37
|
+
e != null && (e.unit = t);
|
|
38
|
+
},
|
|
39
|
+
{ sync: !0, initial: !0 }
|
|
40
|
+
)
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
get state() {
|
|
44
|
+
return this.disabled || !this.ready ? "disabled" : this.operationState === "inactive" ? this.analysis.valid ? "measured" : "ready" : "measuring";
|
|
45
|
+
}
|
|
46
|
+
get displayState() {
|
|
47
|
+
if (!this.supported)
|
|
48
|
+
return "unsupported";
|
|
49
|
+
switch (this.state) {
|
|
50
|
+
case "disabled":
|
|
51
|
+
case "ready":
|
|
52
|
+
return "ready";
|
|
53
|
+
case "measuring":
|
|
54
|
+
return this.analysis.startPoint == null ? "measuring" : "measured";
|
|
55
|
+
case "measured":
|
|
56
|
+
return "measured";
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
get measurement() {
|
|
60
|
+
const e = this.analysisView?.result, t = e?.mode ?? "euclidean";
|
|
61
|
+
if (!this.analysis.valid)
|
|
62
|
+
return {
|
|
63
|
+
mode: t,
|
|
64
|
+
directDistance: l(void 0),
|
|
65
|
+
horizontalDistance: l(void 0),
|
|
66
|
+
verticalDistance: l(void 0)
|
|
67
|
+
};
|
|
68
|
+
const i = e?.directDistance;
|
|
69
|
+
return {
|
|
70
|
+
mode: t ?? "euclidean",
|
|
71
|
+
// Only show the direct distance if it is below 100km.
|
|
72
|
+
// TODO: we'll need to expose this information in the JSAPI
|
|
73
|
+
directDistance: i != null && i.value <= 1e5 ? l(i) : l(void 0),
|
|
74
|
+
horizontalDistance: l(e?.horizontalDistance),
|
|
75
|
+
verticalDistance: l(e?.verticalDistance)
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
get unitOptions() {
|
|
79
|
+
const e = this._userUnitOptions?.filter((t) => m.includes(t));
|
|
80
|
+
return e && e.length > 0 ? e : m.slice();
|
|
81
|
+
}
|
|
82
|
+
set unitOptions(e) {
|
|
83
|
+
this._userUnitOptions = e;
|
|
84
|
+
}
|
|
85
|
+
get unit() {
|
|
86
|
+
const e = this._userUnit, t = this.unitOptions;
|
|
87
|
+
if (e && t.includes(e))
|
|
88
|
+
return e;
|
|
89
|
+
const i = this.defaultUnit;
|
|
90
|
+
return i && t.includes(i) ? i : t[0];
|
|
91
|
+
}
|
|
92
|
+
set unit(e) {
|
|
93
|
+
this._userUnit = e;
|
|
94
|
+
}
|
|
95
|
+
get defaultUnit() {
|
|
96
|
+
return this.view ? _(this.view) : void 0;
|
|
97
|
+
}
|
|
98
|
+
async place(e) {
|
|
99
|
+
await this.analysisView?.place(e);
|
|
100
|
+
}
|
|
101
|
+
clearAnalysis() {
|
|
102
|
+
this.analysis.startPoint = null, this.analysis.endPoint = null;
|
|
103
|
+
}
|
|
104
|
+
constructAnalysis() {
|
|
105
|
+
return new L();
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
r([
|
|
109
|
+
a({ readOnly: !0 })
|
|
110
|
+
], s.prototype, "state", 1);
|
|
111
|
+
r([
|
|
112
|
+
a({ readOnly: !0 })
|
|
113
|
+
], s.prototype, "displayState", 1);
|
|
114
|
+
r([
|
|
115
|
+
a({ readOnly: !0 })
|
|
116
|
+
], s.prototype, "measurement", 1);
|
|
117
|
+
r([
|
|
118
|
+
a()
|
|
119
|
+
], s.prototype, "unitOptions", 1);
|
|
120
|
+
r([
|
|
121
|
+
a()
|
|
122
|
+
], s.prototype, "_userUnitOptions", 2);
|
|
123
|
+
r([
|
|
124
|
+
a()
|
|
125
|
+
], s.prototype, "unit", 1);
|
|
126
|
+
r([
|
|
127
|
+
a()
|
|
128
|
+
], s.prototype, "_userUnit", 2);
|
|
129
|
+
r([
|
|
130
|
+
a({ readOnly: !0 })
|
|
131
|
+
], s.prototype, "defaultUnit", 1);
|
|
132
|
+
s = r([
|
|
133
|
+
V("components.direct-line-measurement-3d.DirectLineMeasurement3dViewModel")
|
|
134
|
+
], s);
|
|
135
|
+
const E = "arcgis-direct-line-measurement-3d", x = { base: E }, R = $(s);
|
|
136
|
+
class h extends v {
|
|
137
|
+
constructor() {
|
|
138
|
+
super(...arguments), this.viewModel = R(this), this.messages = O({ name: "directline-measurement-3d", blocking: !0 }), this.autoDestroyDisabled = !1, this.icon = "measure-line", this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.viewModel.unit, this.unitOptions = this.viewModel.unitOptions, this.arcgisPropertyChange = b()("analysis", "state"), this.arcgisReady = f();
|
|
139
|
+
}
|
|
140
|
+
static {
|
|
141
|
+
this.properties = { analysis: 32, autoDestroyDisabled: 5, icon: 3, label: 1, position: 1, referenceElement: 1, state: 1, unit: 1, unitOptions: 0 };
|
|
142
|
+
}
|
|
143
|
+
static {
|
|
144
|
+
this.shadowRootOptions = w;
|
|
145
|
+
}
|
|
146
|
+
static {
|
|
147
|
+
this.styles = C;
|
|
148
|
+
}
|
|
149
|
+
get analysis() {
|
|
150
|
+
return this.viewModel.analysis;
|
|
151
|
+
}
|
|
152
|
+
async clear() {
|
|
153
|
+
this.viewModel.clear();
|
|
154
|
+
}
|
|
155
|
+
async destroy() {
|
|
156
|
+
await this.manager.destroy();
|
|
157
|
+
}
|
|
158
|
+
async start() {
|
|
159
|
+
await this.viewModel.start();
|
|
160
|
+
}
|
|
161
|
+
render() {
|
|
162
|
+
const { messages: t, unit: i, unitOptions: u, viewModel: n } = this, { measurement: o, state: c } = n;
|
|
163
|
+
return g`<div aria-label=${t.componentLabel ?? D} class=${M({
|
|
164
|
+
[x.base]: !0,
|
|
165
|
+
[d.widget]: !0,
|
|
166
|
+
[d.panel]: !0
|
|
167
|
+
})} role=presentation><arcgis-measurement-content .state=${n.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[
|
|
168
|
+
{
|
|
169
|
+
title: t.direct,
|
|
170
|
+
measurement: o.directDistance
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
title: t.horizontal,
|
|
174
|
+
measurement: o.horizontalDistance
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
title: t.vertical,
|
|
178
|
+
measurement: o.verticalDistance
|
|
179
|
+
}
|
|
180
|
+
]}><arcgis-unit-select slot=settings .options=${u} .selectLabel=${t.unit} .value=${i} @arcgisUnitSelectChange=${(y) => {
|
|
181
|
+
this.unit = y.detail;
|
|
182
|
+
}}></arcgis-unit-select><calcite-button slot=actions .disabled=${c === "disabled"} @click=${() => {
|
|
183
|
+
this.viewModel.clear(), this.viewModel.start();
|
|
184
|
+
}}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
class T extends h {
|
|
188
|
+
}
|
|
189
|
+
p("arcgis-direct-line-measurement-3d", h);
|
|
190
|
+
p("arcgis-directline-measurement-3d", T);
|
|
191
|
+
export {
|
|
192
|
+
h as ArcgisDirectLineMeasurement3d,
|
|
193
|
+
T as DeprecatedArcgisDirectLineMeasurement3d
|
|
194
|
+
};
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as p } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as o } from "lit-html";
|
|
3
|
-
import { ref as
|
|
4
|
-
import {
|
|
3
|
+
import { ref as m } from "lit-html/directives/ref.js";
|
|
4
|
+
import { keyed as d } from "lit-html/directives/keyed.js";
|
|
5
|
+
import { usePropertyChange as b } from "@arcgis/lumina/controllers";
|
|
5
6
|
import { focusElement as g } from "@arcgis/components-utils";
|
|
6
|
-
import { watch as
|
|
7
|
-
import
|
|
8
|
-
import { LitElement as v, createEvent as
|
|
9
|
-
import { u as
|
|
10
|
-
import { m as
|
|
11
|
-
import { g as
|
|
12
|
-
import { g as
|
|
13
|
-
import { css as
|
|
7
|
+
import { watch as _ } from "@arcgis/core/core/reactiveUtils.js";
|
|
8
|
+
import f from "@arcgis/core/widgets/DirectionalPad/DirectionalPadViewModel.js";
|
|
9
|
+
import { LitElement as v, createEvent as $, noShadowRoot as w, safeClassMap as n, nothing as l, safeStyleMap as R } from "@arcgis/lumina";
|
|
10
|
+
import { u as C } from "../../chunks/useT9n.js";
|
|
11
|
+
import { m as x } from "../../chunks/useViewModel.js";
|
|
12
|
+
import { g as y } from "../../chunks/component-utils.js";
|
|
13
|
+
import { g as h } from "../../chunks/globalCss.js";
|
|
14
|
+
import { css as M } from "@lit/reactive-element/css-tag.js";
|
|
14
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
15
16
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
16
|
-
v4.33.0-next.
|
|
17
|
-
const
|
|
17
|
+
v4.33.0-next.138 */
|
|
18
|
+
const u = [-45, 0, 45, -90, 90, -135, 180, 135], S = {
|
|
18
19
|
0: { label: "north", iconName: "chevron-up" },
|
|
19
20
|
45: { label: "northEast", iconName: "chevron-up-right" },
|
|
20
21
|
90: { label: "east", iconName: "chevron-right" },
|
|
@@ -32,27 +33,27 @@ const h = [-45, 0, 45, -90, 90, -135, 180, 135], M = {
|
|
|
32
33
|
rotationSliderContainer: `${a}__rotation-slider-container`,
|
|
33
34
|
rotationReset: `${a}__rotation-reset-button`,
|
|
34
35
|
error: `${a}__error`
|
|
35
|
-
},
|
|
36
|
-
function
|
|
36
|
+
}, B = M`@layer{.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);outline:none;box-shadow:none!important;background-color:transparent!important;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}}`;
|
|
37
|
+
function E(c) {
|
|
37
38
|
const { x: t, y: e, width: i, height: r } = c.getBoundingClientRect();
|
|
38
39
|
return { x: t + i / 2, y: e + r / 2 };
|
|
39
40
|
}
|
|
40
|
-
function
|
|
41
|
+
function D(c) {
|
|
41
42
|
return c?.spatialReference?.isWebMercator || c?.spatialReference?.isGeographic || !1;
|
|
42
43
|
}
|
|
43
|
-
const
|
|
44
|
-
class
|
|
44
|
+
const k = x(f);
|
|
45
|
+
class P extends v {
|
|
45
46
|
constructor() {
|
|
46
|
-
super(...arguments), this.messages =
|
|
47
|
+
super(...arguments), this.messages = C({}), this._onContextMenu = (t) => t.preventDefault(), this._buttons = {}, this.viewModel = k(this), this.angle = this.viewModel.angle, this.rotation = this.viewModel.rotation, this.autoDestroyDisabled = !1, this.disabled = this.viewModel.disabled, this.hideDirectionalButtons = !1, this.icon = "move", this.position = "bottom-left", this.showRotationResetButton = !1, this.showRotationSlider = !1, this.state = this.viewModel.state, this.visualScale = "s", this.arcgisPropertyChange = b()("state"), this.arcgisReady = $();
|
|
47
48
|
}
|
|
48
49
|
static {
|
|
49
50
|
this.properties = { _rotationEnabled: 16, angle: 16, rotation: 16, autoDestroyDisabled: 5, disabled: 5, hideDirectionalButtons: 5, icon: 1, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, showRotationResetButton: 5, showRotationSlider: 5, state: 3, visualScale: 1 };
|
|
50
51
|
}
|
|
51
52
|
static {
|
|
52
|
-
this.shadowRootOptions =
|
|
53
|
+
this.shadowRootOptions = w;
|
|
53
54
|
}
|
|
54
55
|
static {
|
|
55
|
-
this.styles =
|
|
56
|
+
this.styles = B;
|
|
56
57
|
}
|
|
57
58
|
get _rotationEnabled() {
|
|
58
59
|
return this.view?.ready ? this.view.constraints.rotationEnabled ?? !1 : !0;
|
|
@@ -63,8 +64,8 @@ class k extends v {
|
|
|
63
64
|
loaded() {
|
|
64
65
|
this.manager.onLifecycle(() => [
|
|
65
66
|
// Move focus when movement angle changed by touch/mouse (not keyboard!)
|
|
66
|
-
|
|
67
|
-
this._buttonsContainer?.contains(document.activeElement) && (this.viewModel.angle == null ?
|
|
67
|
+
_(() => this.viewModel.angle, () => {
|
|
68
|
+
this._buttonsContainer?.contains(document.activeElement) && (this.viewModel.angle == null ? y(this)?.focus() : g(this._buttons[this.viewModel.angle]));
|
|
68
69
|
})
|
|
69
70
|
]);
|
|
70
71
|
}
|
|
@@ -85,7 +86,7 @@ class k extends v {
|
|
|
85
86
|
if (this._buttonsContainer === void 0)
|
|
86
87
|
return;
|
|
87
88
|
t.composedPath().find((r) => r.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);
|
|
88
|
-
const i =
|
|
89
|
+
const i = E(this._buttonsContainer);
|
|
89
90
|
this.viewModel.beginFollowingPointer(t, i);
|
|
90
91
|
}
|
|
91
92
|
_onSliderInput({ currentTarget: t }) {
|
|
@@ -99,7 +100,7 @@ class k extends v {
|
|
|
99
100
|
}
|
|
100
101
|
render() {
|
|
101
102
|
const { label: t, disabled: e } = this, i = this.view == null || this.view.type === "2d";
|
|
102
|
-
return o`<div .ariaLabel=${t ?? void 0} class=${n({ [s.base]: !0, [
|
|
103
|
+
return o`<div .ariaLabel=${t ?? void 0} class=${n({ [s.base]: !0, [h.widget]: !0, [h.disabled]: e })} tabindex=-1>${i ? this._renderContent() : this._renderUnsupportedMessage()}</div>`;
|
|
103
104
|
}
|
|
104
105
|
_renderUnsupportedMessage() {
|
|
105
106
|
return o`<section class=${n(s.error)}><p>${this.messages.unsupported}</p></section>`;
|
|
@@ -111,21 +112,21 @@ class k extends v {
|
|
|
111
112
|
];
|
|
112
113
|
}
|
|
113
114
|
_renderDirectionalButtons() {
|
|
114
|
-
return o`<calcite-action-
|
|
115
|
+
return d("directional-buttons-container", o`<calcite-action-bar expand-disabled floating layout=grid overflow-actions-disabled><calcite-action-group class=${n(s.buttonsContainer)} dir=ltr @contextmenu=${{
|
|
115
116
|
handleEvent: this._onContextMenu,
|
|
116
117
|
capture: !0
|
|
117
|
-
}} ${
|
|
118
|
+
}} ${m(this._setButtonContainerRef)}>${u.slice(0, 4).map(this._renderButton, this)}${this._renderCompass()}${u.slice(4).map(this._renderButton, this)}</calcite-action-group></calcite-action-bar>`);
|
|
118
119
|
}
|
|
119
120
|
_renderButton(t) {
|
|
120
|
-
const { label: e, iconName: i } =
|
|
121
|
+
const { label: e, iconName: i } = S[t], r = this.messages[e];
|
|
121
122
|
return o`<calcite-action .active=${this.angle === t} alignment=center class=${n(s.button)} data-angle=${t ?? l} .disabled=${this.disabled} @click=${this._onClick.bind(this, t)} @pointerdown=${this._onButtonPointerDown} .scale=${this.visualScale} .text=${r ?? ""} title=${r ?? l}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`;
|
|
122
123
|
}
|
|
123
124
|
_renderCompass() {
|
|
124
|
-
const t = this.disabled ||
|
|
125
|
-
return o`<calcite-action alignment=center class=${n(s.compassButton)} .disabled=${this.disabled || !this._rotationEnabled || e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${
|
|
125
|
+
const t = this.disabled || D(this.view) ? "compass-needle" : "arrow-up", e = this.rotation === 0, i = this.messages.resetHeading;
|
|
126
|
+
return o`<calcite-action alignment=center class=${n(s.compassButton)} .disabled=${this.disabled || !this._rotationEnabled || e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${R(this._rotateIcon(this.rotation))} .text=${i ?? ""} title=${i ?? l}>${!e && o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>` || ""}</calcite-action>`;
|
|
126
127
|
}
|
|
127
128
|
_renderRotation() {
|
|
128
|
-
return o`<calcite-action-
|
|
129
|
+
return d("slider-container", o`<calcite-action-bar expand-disabled floating layout=horizontal><calcite-action-group class=${n(s.rotationContainer)}>${this.showRotationResetButton ? this._renderRotationResetButton() : null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-bar>`);
|
|
129
130
|
}
|
|
130
131
|
_renderRotationResetButton() {
|
|
131
132
|
const t = this.messages.resetHeading;
|
|
@@ -135,7 +136,7 @@ class k extends v {
|
|
|
135
136
|
return o`<div class=${n(s.rotationSliderContainer)}><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled || !this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`;
|
|
136
137
|
}
|
|
137
138
|
}
|
|
138
|
-
|
|
139
|
+
p("arcgis-directional-pad", P);
|
|
139
140
|
export {
|
|
140
|
-
|
|
141
|
+
P as ArcgisDirectionalPad
|
|
141
142
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-action-
|
|
1
|
+
import "@esri/calcite-components/components/calcite-action-bar";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-action-group";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-action";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-icon";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-action-
|
|
1
|
+
import "@esri/calcite-components/components/calcite-action-bar";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-action-group";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-action";
|
|
4
4
|
import "@esri/calcite-components/components/calcite-icon";
|
|
@@ -9,7 +9,7 @@ import { e as u } from "../../chunks/component-utils.js";
|
|
|
9
9
|
import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
12
|
-
v4.33.0-next.
|
|
12
|
+
v4.33.0-next.138 */
|
|
13
13
|
const c = y`@layer{arcgis-directions{display:block}}`, g = m(d), i = "map-components:arcgis-directions";
|
|
14
14
|
class p extends n {
|
|
15
15
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.138 */
|
|
10
10
|
const c = r`@layer{arcgis-distance-measurement-2d{display:block}}`, h = n(e);
|
|
11
11
|
class d extends i {
|
|
12
12
|
constructor() {
|
|
@@ -111,7 +111,7 @@ export declare class ArcgisEditor extends LitElement {
|
|
|
111
111
|
*
|
|
112
112
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor-EditorViewModel.html#state)
|
|
113
113
|
*/
|
|
114
|
-
readonly state: "ready" | "disabled" | "add-association-create-association" | "add-association-select-feature" | "add-association-select-layer" | "adding-attachment" | "awaiting-feature-creation-info" | "awaiting-feature-to-create" | "awaiting-feature-to-update" | "awaiting-update-feature-candidate" | "creating-features" | "editing-attributes" | "editing-attachment" | "editing-existing-feature" | "editing-features" | "editing-new-feature";
|
|
114
|
+
readonly state: "ready" | "disabled" | "add-association-create-association" | "add-association-select-feature" | "add-association-select-layer" | "adding-attachment" | "awaiting-feature-creation-info" | "awaiting-feature-to-create" | "awaiting-feature-to-update" | "awaiting-update-feature-candidate" | "creating-features" | "editing-attributes" | "editing-attachment" | "editing-existing-feature" | "editing-features" | "editing-new-feature" | "viewing-selection-list";
|
|
115
115
|
/**
|
|
116
116
|
* This property allows customization of supporting Editor widgets and their default behavior.
|
|
117
117
|
*
|
|
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.138 */
|
|
10
10
|
const g = r`@layer{arcgis-editor{display:block}}`, d = n(s);
|
|
11
11
|
class h extends o {
|
|
12
12
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.138 */
|
|
10
10
|
const r = l`@layer{arcgis-elevation-profile{display:block}}`, a = n(e);
|
|
11
11
|
class d extends s {
|
|
12
12
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
5
5
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
8
|
+
v4.33.0-next.138 */
|
|
9
9
|
const d = n`@layer{arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}}`, c = a(e);
|
|
10
10
|
class l extends s {
|
|
11
11
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.138 */
|
|
10
10
|
const r = l`@layer{arcgis-feature{display:block}}`, c = h(n);
|
|
11
11
|
class m extends a {
|
|
12
12
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as h } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.138 */
|
|
11
11
|
const l = m`@layer{arcgis-feature-form{display:block}}`, g = h(s);
|
|
12
12
|
class n extends r {
|
|
13
13
|
constructor() {
|
|
@@ -9,7 +9,7 @@ import { e as m, g as c } from "../../chunks/component-utils.js";
|
|
|
9
9
|
import { css as u } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
12
|
-
v4.33.0-next.
|
|
12
|
+
v4.33.0-next.138 */
|
|
13
13
|
const w = u`@layer{arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}}`, p = g(a);
|
|
14
14
|
class b extends d {
|
|
15
15
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.138 */
|
|
11
11
|
const n = h`@layer{arcgis-feature-templates{display:block}}`, c = a(s);
|
|
12
12
|
class d extends o {
|
|
13
13
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { c } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.138 */
|
|
12
12
|
const g = l`@layer{arcgis-features{display:flex;flex-direction:column;overflow:hidden;.esri-features{flex:1 1 auto;overflow:hidden}}}`, u = d(o);
|
|
13
13
|
class w extends r {
|
|
14
14
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
5
5
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
8
|
+
v4.33.0-next.138 */
|
|
9
9
|
const h = r`@layer{arcgis-floor-filter{display:block}}`, n = a(i);
|
|
10
10
|
class c extends s {
|
|
11
11
|
constructor() {
|
|
@@ -9,7 +9,7 @@ import { css as p } from "@lit/reactive-element/css-tag.js";
|
|
|
9
9
|
import { u as h } from "../../chunks/useView.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
12
|
-
v4.33.0-next.
|
|
12
|
+
v4.33.0-next.138 */
|
|
13
13
|
const g = p`arcgis-fullscreen{display:block}`, E = {
|
|
14
14
|
base: "esri-fullscreen"
|
|
15
15
|
};
|
|
@@ -15,7 +15,7 @@ import { watch as D } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
15
15
|
import L from "@arcgis/core/widgets/support/GridControls/GridControlsViewModel.js";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
18
|
-
v4.33.0-next.
|
|
18
|
+
v4.33.0-next.138 */
|
|
19
19
|
function B(s) {
|
|
20
20
|
if (s == null || Number.isNaN(s))
|
|
21
21
|
return 0;
|
|
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.138 */
|
|
10
10
|
const h = d`@layer{arcgis-histogram-range-slider{display:block}}`, l = n(s);
|
|
11
11
|
class g extends a {
|
|
12
12
|
constructor() {
|
|
@@ -11,7 +11,7 @@ import { g as a } from "../../chunks/globalCss.js";
|
|
|
11
11
|
import { css as u } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
14
|
-
v4.33.0-next.
|
|
14
|
+
v4.33.0-next.138 */
|
|
15
15
|
const b = u`@layer{arcgis-home{display:block}}`, y = {
|
|
16
16
|
base: "esri-home"
|
|
17
17
|
}, M = f(d);
|
|
@@ -6,7 +6,7 @@ import { LitElement as m, createEvent as b, safeClassMap as c } from "@arcgis/lu
|
|
|
6
6
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.138 */
|
|
10
10
|
const g = f`.label{--calcite-label-margin-bottom: 0}.label-content{display:flex;flex:1;gap:var(--calcite-spacing-sm);align-items:center;text-wrap:balance}.label-content>div{flex-grow:1}.icon{margin-top:-1px;&.info{color:var(--calcite-color-status-info)}&.warning{color:var(--calcite-color-status-warning)}}.tooltip{text-wrap:wrap}`, e = {
|
|
11
11
|
label: "label",
|
|
12
12
|
labelContent: "label-content",
|
|
@@ -8,7 +8,7 @@ import { s as n } from "../../chunks/layer-list.js";
|
|
|
8
8
|
import { c as g } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.138 */
|
|
12
12
|
const c = d(a);
|
|
13
13
|
class m extends r {
|
|
14
14
|
constructor() {
|
|
@@ -10,7 +10,7 @@ import { s as E } from "../../chunks/layer-list.js";
|
|
|
10
10
|
import { u as x } from "../../chunks/useT9n.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
13
|
-
v4.33.0-next.
|
|
13
|
+
v4.33.0-next.138 */
|
|
14
14
|
const D = {
|
|
15
15
|
hideChildren: "hide-children"
|
|
16
16
|
};
|
|
@@ -6,7 +6,7 @@ import { m as o } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.138 */
|
|
10
10
|
const l = n`@layer{arcgis-legend{display:block}}`, d = o(i);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -5,7 +5,7 @@ declare class LineOfSightViewModel extends AnalysisViewModel<SceneView, LineOfSi
|
|
|
5
5
|
constructor(properties?: Partial<ConstructProperties<SceneView, LineOfSightAnalysis>>);
|
|
6
6
|
get state(): "created" | "creating" | "disabled" | "ready";
|
|
7
7
|
protected readonly supportedViewType = "3d";
|
|
8
|
-
protected readonly unsupportedErrorMessage = "
|
|
8
|
+
protected readonly unsupportedErrorMessage = "The Line Of Sight component is only supported in 3D views.";
|
|
9
9
|
protected constructAnalysis(): LineOfSightAnalysis;
|
|
10
10
|
protected clearAnalysis(): void;
|
|
11
11
|
place(options: {
|
|
@@ -4,8 +4,9 @@ import { Use } from '@arcgis/lumina/controllers';
|
|
|
4
4
|
import { default as LineOfSightAnalysis } from '@arcgis/core/analysis/LineOfSightAnalysis.js';
|
|
5
5
|
import { PublicLitElement as LitElement, JsxNode, TargetedEvent } from '@arcgis/lumina';
|
|
6
6
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
|
-
import {
|
|
7
|
+
import { default as LineOfSightViewModel } from './LineOfSightViewModel';
|
|
8
8
|
|
|
9
|
+
declare const useViewModel: (component: LitElement & Pick<LineOfSightViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<LineOfSightViewModel>) => LineOfSightViewModel;
|
|
9
10
|
/**
|
|
10
11
|
* The Line Of Sight component is a 3D analysis tool that allows you to perform visibility analysis in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
11
12
|
*
|
|
@@ -39,8 +40,6 @@ export declare class ArcgisLineOfSight extends LitElement {
|
|
|
39
40
|
position: __esri.UIPosition;
|
|
40
41
|
referenceElement?: ArcgisReferenceElement | string;
|
|
41
42
|
get state(): "created" | "creating" | "disabled" | "ready";
|
|
42
|
-
/** @default false */
|
|
43
|
-
get supported(): boolean;
|
|
44
43
|
clear(): Promise<void>;
|
|
45
44
|
continue(): Promise<void>;
|
|
46
45
|
/** Permanently destroy the component. */
|
|
@@ -55,3 +54,4 @@ export declare class ArcgisLineOfSight extends LitElement {
|
|
|
55
54
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
56
55
|
private _messages;
|
|
57
56
|
}
|
|
57
|
+
export {};
|