@arcgis/map-components 4.33.0-next.138 → 4.33.0-next.140
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/{G7FA2SZX.js → 2JFUWEF7.js} +2 -2
- package/dist/cdn/{WTLPSGCB.js → 32CU72EE.js} +2 -2
- package/dist/cdn/{YB6ZBOCX.js → 424AJLGZ.js} +2 -2
- package/dist/cdn/{S7S6ARM2.js → 46IBEPH2.js} +2 -2
- package/dist/cdn/{N36AOA4W.js → 56IVAE2L.js} +2 -2
- package/dist/cdn/{54A6QQ5P.js → 5GE5POTI.js} +2 -2
- package/dist/cdn/{UHZ772ND.js → 5NU3FNTP.js} +2 -2
- package/dist/cdn/{XQWUSMGI.js → 64FPG72J.js} +2 -2
- package/dist/cdn/{YXY5RVBB.js → 6AA5ANE6.js} +2 -2
- package/dist/cdn/{5DLF2FRD.js → 6HGSC57K.js} +2 -2
- package/dist/cdn/{P2ORI2MU.js → 6RVW2CCZ.js} +2 -2
- package/dist/cdn/{KEI26URD.js → 6WRC57TQ.js} +1 -1
- package/dist/cdn/{XTNP3TJF.js → 7RLP4SIT.js} +2 -2
- package/dist/cdn/{3F4Z4TXU.js → A4S6JPZC.js} +2 -2
- package/dist/cdn/{ZEX2ON7O.js → A7LKPUUU.js} +2 -2
- package/dist/cdn/{RN2REPX3.js → AHBFRA36.js} +2 -2
- package/dist/cdn/{ZBFPM6CM.js → ALNRIY57.js} +2 -2
- package/dist/cdn/{ZO4WI4NO.js → B33CZ6BB.js} +2 -2
- package/dist/cdn/{P4OU64OH.js → B5453IKG.js} +2 -2
- package/dist/cdn/{EL4W5FAJ.js → BKO7OWAB.js} +2 -2
- package/dist/cdn/{O7YEMKLH.js → BXMJRFBC.js} +2 -2
- package/dist/cdn/{RSXOP3R5.js → C3GCADGR.js} +1 -1
- package/dist/cdn/{TLXRUB2I.js → CKTHLF45.js} +2 -2
- package/dist/cdn/{PRZRGIJO.js → CTQY2BSW.js} +2 -2
- package/dist/cdn/{LNOMQKUY.js → D3VPYU43.js} +2 -2
- package/dist/cdn/{C677Z3XS.js → DGBRCKQL.js} +2 -2
- package/dist/cdn/{VCEXQIAL.js → DIOAIAVN.js} +2 -2
- package/dist/cdn/{QINX3JDV.js → DLG3WRHW.js} +2 -2
- package/dist/cdn/{N4JEEG6U.js → DRRPYFW2.js} +2 -2
- package/dist/cdn/{A5AIKEDX.js → DUWBT77N.js} +2 -2
- package/dist/cdn/{MUPWF5M2.js → EFBFAHGJ.js} +2 -2
- package/dist/cdn/{7FFIVQF6.js → EFQIHLEF.js} +2 -2
- package/dist/cdn/{3PXEJNET.js → EH2RGK4F.js} +2 -2
- package/dist/cdn/{HT7HVKXJ.js → EHDBMMFO.js} +2 -2
- package/dist/cdn/{6Q5DEPLW.js → EQ434RCV.js} +2 -2
- package/dist/cdn/{XDDWEQM3.js → ESCG6XAF.js} +2 -2
- package/dist/cdn/{QBPIXB5K.js → EW6QPP2K.js} +2 -2
- package/dist/cdn/F2HMGR2X.js +4 -0
- package/dist/cdn/{TBKYTCWV.js → FBBSYFUO.js} +2 -2
- package/dist/cdn/{LQEPXN57.js → FVEA22G7.js} +2 -2
- package/dist/cdn/{UERCPIN5.js → GBBOQASH.js} +2 -2
- package/dist/cdn/{LT4K76AI.js → GG2N7HQ6.js} +2 -2
- package/dist/cdn/{TN3WLCHJ.js → GIC2UZ5S.js} +1 -1
- package/dist/cdn/{DJAPPGGB.js → GUJZTDSD.js} +2 -2
- package/dist/cdn/{HXOPYRM2.js → HDYVWQZH.js} +2 -2
- package/dist/cdn/{Q3DX3LMR.js → HITUAE6J.js} +2 -2
- package/dist/cdn/{GEVMX2UO.js → I2G54F3B.js} +2 -2
- package/dist/cdn/{5J7OJ4Z6.js → IYKYSBTA.js} +2 -2
- package/dist/cdn/{SUEDRTNE.js → J6Q655WQ.js} +2 -2
- package/dist/cdn/{5KYPK2BL.js → JKF3I2CK.js} +2 -2
- package/dist/cdn/{BQYQ3LTP.js → JUOE33A2.js} +2 -2
- package/dist/cdn/{UTX6MR4S.js → L22JMH2F.js} +2 -2
- package/dist/cdn/{L5J24G5M.js → LIKLJO7E.js} +2 -2
- package/dist/cdn/{5PFB6EGX.js → LLYIQVLR.js} +2 -2
- package/dist/cdn/{A4ZNGLT2.js → MHOA5JVS.js} +2 -2
- package/dist/cdn/{ST2CRGPM.js → MISSATYX.js} +2 -2
- package/dist/cdn/{4KXQH47P.js → MLSCW6WD.js} +2 -2
- package/dist/cdn/{T5JY4NUR.js → NJMGSUTS.js} +1 -1
- package/dist/cdn/{HBVJIRGN.js → NNL7JOTU.js} +2 -2
- package/dist/cdn/{SNF6PQDA.js → NRK5TB5T.js} +2 -2
- package/dist/cdn/{VKAIYWB6.js → NVZVWBOW.js} +2 -2
- package/dist/cdn/{7C6JQ4XM.js → NZUYAQ5A.js} +2 -2
- package/dist/cdn/{NA7YRW3M.js → O72TF3US.js} +2 -2
- package/dist/cdn/OGBSA5PM.js +4 -0
- package/dist/cdn/{D7MSIIVJ.js → OGTDSDA2.js} +2 -2
- package/dist/cdn/{IH32IEWT.js → OKLJHXYU.js} +2 -2
- package/dist/cdn/{SPPQB6HJ.js → ORFB5FWG.js} +2 -2
- package/dist/cdn/{LIQITLFR.js → OZOQ4U3W.js} +2 -2
- package/dist/cdn/{2RYHZPSQ.js → P4B4SHHA.js} +2 -2
- package/dist/cdn/{BZ5KBRTH.js → PGTKJ4DI.js} +2 -2
- package/dist/cdn/{JGCDGP2X.js → PJCDYD2F.js} +2 -2
- package/dist/cdn/{U2DRGZMR.js → POBELMDR.js} +2 -2
- package/dist/cdn/{UT2TU4IE.js → PVOTQK4X.js} +2 -2
- package/dist/cdn/{GY5GZLXV.js → Q3HVS4KQ.js} +2 -2
- package/dist/cdn/{HMR3LZEC.js → Q42KKEXC.js} +2 -2
- package/dist/cdn/{73CNLONW.js → QFNAVLMT.js} +2 -2
- package/dist/cdn/{6VOXDT2D.js → QGPI4J5G.js} +2 -2
- package/dist/cdn/{ZD62VL5V.js → QRE5SAQJ.js} +2 -2
- package/dist/cdn/{AV6YUXI6.js → QYAGRZ7P.js} +2 -2
- package/dist/cdn/{SW63GGTX.js → R7EBCRGC.js} +2 -2
- package/dist/cdn/{7Q2OQGBB.js → RKKG2WND.js} +2 -2
- package/dist/cdn/{BNCLTRYH.js → RVJAIA2N.js} +1 -1
- package/dist/cdn/{AIYUDCDQ.js → S5356C3V.js} +2 -2
- package/dist/cdn/{V7RU2UNT.js → SIOA737T.js} +2 -2
- package/dist/cdn/{VXE3QTOJ.js → SLLIGUVC.js} +2 -2
- package/dist/cdn/{CUDJHVRU.js → SVPPODGL.js} +2 -2
- package/dist/cdn/{XJG23KZB.js → T6VXIITI.js} +2 -2
- package/dist/cdn/{XGAGBN4O.js → TCZOMQ5E.js} +2 -2
- package/dist/cdn/{A575HHDP.js → TE34FYWB.js} +2 -2
- package/dist/cdn/{HCS23COA.js → TIDVLEDT.js} +2 -2
- package/dist/cdn/{FOVCH7VW.js → TOFJAYAQ.js} +2 -2
- package/dist/cdn/{NIB3ARH5.js → TSRLNXZE.js} +2 -2
- package/dist/cdn/{2TBOD7GJ.js → UA6FRIEM.js} +2 -2
- package/dist/cdn/{3RYCWP6E.js → UDW7YRBK.js} +2 -2
- package/dist/cdn/{YCQPBKUP.js → UFPW2N3R.js} +2 -2
- package/dist/cdn/{RPQOQQSL.js → UUPSLDJ3.js} +2 -2
- package/dist/cdn/{TGOTZ7AI.js → UX65HS5G.js} +2 -2
- package/dist/cdn/{C722QWYO.js → V4WHPMPE.js} +2 -2
- package/dist/cdn/{JYTTN5LU.js → VIZJOXOM.js} +2 -2
- package/dist/cdn/{3MPFDWBN.js → VMJ3DOPP.js} +2 -2
- package/dist/cdn/{FY5ET4WM.js → WJK3NXUU.js} +2 -2
- package/dist/cdn/WJPPCMJ7.js +4 -0
- package/dist/cdn/{NHSTTG5C.js → WQWH4BW5.js} +1 -1
- package/dist/cdn/{MNSXEFSD.js → WWGJWF7S.js} +2 -2
- package/dist/cdn/{KM5OVC7O.js → X7GNIBKD.js} +2 -2
- package/dist/cdn/{CV2IWESX.js → XDYZ3CAG.js} +2 -2
- package/dist/cdn/{LUWRRPTC.js → XFUQOHJ2.js} +2 -2
- package/dist/cdn/{4NU2LEDY.js → XGRPKFPA.js} +2 -2
- package/dist/cdn/{GDRUHH5B.js → XL722BAJ.js} +2 -2
- package/dist/cdn/{EDORIH5N.js → XT5H4DUM.js} +1 -1
- package/dist/cdn/{GURMXFUT.js → Y3ZCFSR7.js} +2 -2
- package/dist/cdn/{3HNXL7RL.js → YDCNMMFJ.js} +2 -2
- package/dist/cdn/{QXPX2NPW.js → YI66Y2D7.js} +2 -2
- package/dist/cdn/{MEUUSKT3.js → YJX6SFBR.js} +2 -2
- package/dist/cdn/{2ICV3ZP6.js → YLES7HXC.js} +2 -2
- package/dist/cdn/{VUGWIA5S.js → YYMNME2D.js} +2 -2
- package/dist/cdn/{VBIWNOWT.js → ZN7OXNFM.js} +2 -2
- package/dist/cdn/{UFB7UU6E.js → ZTQ2ISV6.js} +1 -1
- package/dist/cdn/{HUYGZMDR.js → ZWHK3LN2.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- 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 +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- 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/customElement.js +47 -46
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +2 -0
- 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.d.ts +2 -0
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -0
- 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 +64 -62
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +2 -0
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-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/customElement.d.ts +37 -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.d.ts +2 -0
- 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/SliceViewModel.d.ts +0 -13
- package/dist/components/arcgis-slice/customElement.d.ts +44 -13
- package/dist/components/arcgis-slice/customElement.js +34 -37
- 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 +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-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 +51 -27
- package/dist/docs/docs.json +45 -46
- package/dist/docs/vscode.html-custom-data.json +3 -3
- package/dist/docs/web-types.json +9 -11
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/package.json +3 -3
- package/dist/cdn/JR37HKLZ.js +0 -4
- package/dist/cdn/L66H2ALJ.js +0 -4
- package/dist/cdn/Q2G3EZNU.js +0 -4
|
@@ -28,6 +28,8 @@ export declare class ArcgisCompass extends LitElement {
|
|
|
28
28
|
* [SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.
|
|
29
29
|
*
|
|
30
30
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Compass-CompassViewModel.html#goToOverride)
|
|
31
|
+
*
|
|
32
|
+
* @since 4.33
|
|
31
33
|
*/
|
|
32
34
|
goToOverride: nullish | __esri.GoToOverride;
|
|
33
35
|
/**
|
|
@@ -10,7 +10,7 @@ import { g as i } from "../../chunks/globalCss.js";
|
|
|
10
10
|
import { css as y } from "@lit/reactive-element/css-tag.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.140 */
|
|
14
14
|
const $ = y`@layer{arcgis-compass{display:block}}`, r = "esri-compass", a = {
|
|
15
15
|
base: r,
|
|
16
16
|
iconContainer: `${r}__icon-container`
|
|
@@ -68,6 +68,8 @@ export declare class ArcgisCoordinateConversion extends LitElement {
|
|
|
68
68
|
* [SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.
|
|
69
69
|
*
|
|
70
70
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CoordinateConversion.html#goToOverride)
|
|
71
|
+
*
|
|
72
|
+
* @since 4.33
|
|
71
73
|
*/
|
|
72
74
|
goToOverride: nullish | __esri.GoToOverride;
|
|
73
75
|
/**
|
|
@@ -6,7 +6,7 @@ import { m as d } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as h } 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.140 */
|
|
10
10
|
const l = h`@layer{arcgis-coordinate-conversion{display:block}}`, g = d(o);
|
|
11
11
|
class c extends n {
|
|
12
12
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
|
6
6
|
import { reEmitEvent as o } from "@arcgis/lumina/controllers/accessor";
|
|
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.140 */
|
|
10
10
|
const d = l`@layer{arcgis-daylight{display:block}}`, r = h(i);
|
|
11
11
|
class n extends t {
|
|
12
12
|
constructor() {
|
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
import { c as p } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as g } from "lit-html";
|
|
3
|
-
import { LitElement as v, createEvent as f, noShadowRoot as w, nothing as D, safeClassMap as
|
|
4
|
-
import { usePropertyChange as
|
|
3
|
+
import { LitElement as v, createEvent as f, noShadowRoot as w, nothing as D, safeClassMap as b } from "@arcgis/lumina";
|
|
4
|
+
import { usePropertyChange as M } from "@arcgis/lumina/controllers";
|
|
5
5
|
import { u as O } from "../../chunks/useT9n.js";
|
|
6
|
-
import { m as
|
|
6
|
+
import { m as U } from "../../chunks/useViewModel.js";
|
|
7
7
|
import { g as d } from "../../chunks/globalCss.js";
|
|
8
|
-
import { css as
|
|
8
|
+
import { css as $ } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
import L from "@arcgis/core/analysis/DirectLineMeasurementAnalysis.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { A } from "
|
|
14
|
-
import {
|
|
10
|
+
import { isAboveGeodesicDistanceThreshold as _ } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
11
|
+
import { getDefaultUnitForView as V } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
12
|
+
import { property as o, subclass as P } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
13
|
+
import { watch as A } from "@arcgis/core/core/reactiveUtils.js";
|
|
14
|
+
import { A as C } from "../../chunks/AnalysisViewModel.js";
|
|
15
|
+
import { g as c, m } from "../../chunks/measurementUtils.js";
|
|
15
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
17
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
17
|
-
v4.33.0-next.
|
|
18
|
-
const
|
|
19
|
-
var
|
|
20
|
-
for (var n =
|
|
21
|
-
(
|
|
22
|
-
return
|
|
18
|
+
v4.33.0-next.140 */
|
|
19
|
+
const z = $`@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}}`;
|
|
20
|
+
var S = Object.defineProperty, E = Object.getOwnPropertyDescriptor, r = (e, t, s, a) => {
|
|
21
|
+
for (var n = a > 1 ? void 0 : a ? E(t, s) : t, l = e.length - 1, u; l >= 0; l--)
|
|
22
|
+
(u = e[l]) && (n = (a ? u(t, s, n) : u(n)) || n);
|
|
23
|
+
return a && n && S(t, s, n), n;
|
|
23
24
|
};
|
|
24
|
-
let
|
|
25
|
+
let i = class extends C {
|
|
25
26
|
constructor(e) {
|
|
26
27
|
super(e), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Direct Line Measurement 3D component is only supported in 3D views.";
|
|
27
28
|
}
|
|
28
29
|
initialize() {
|
|
29
30
|
this.addHandles(
|
|
30
31
|
// Make sure the analysis and view model units are in sync.
|
|
31
|
-
|
|
32
|
+
A(
|
|
32
33
|
() => ({
|
|
33
34
|
analysis: this.analysis,
|
|
34
35
|
unit: this.unit
|
|
@@ -61,18 +62,16 @@ let s = class extends A {
|
|
|
61
62
|
if (!this.analysis.valid)
|
|
62
63
|
return {
|
|
63
64
|
mode: t,
|
|
64
|
-
directDistance:
|
|
65
|
-
horizontalDistance:
|
|
66
|
-
verticalDistance:
|
|
65
|
+
directDistance: c(void 0),
|
|
66
|
+
horizontalDistance: c(void 0),
|
|
67
|
+
verticalDistance: c(void 0)
|
|
67
68
|
};
|
|
68
|
-
const
|
|
69
|
+
const s = e?.directDistance, a = s != null && _(s);
|
|
69
70
|
return {
|
|
70
71
|
mode: t ?? "euclidean",
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
horizontalDistance: l(e?.horizontalDistance),
|
|
75
|
-
verticalDistance: l(e?.verticalDistance)
|
|
72
|
+
directDistance: c(a ? void 0 : s),
|
|
73
|
+
horizontalDistance: c(e?.horizontalDistance),
|
|
74
|
+
verticalDistance: c(e?.verticalDistance)
|
|
76
75
|
};
|
|
77
76
|
}
|
|
78
77
|
get unitOptions() {
|
|
@@ -86,14 +85,14 @@ let s = class extends A {
|
|
|
86
85
|
const e = this._userUnit, t = this.unitOptions;
|
|
87
86
|
if (e && t.includes(e))
|
|
88
87
|
return e;
|
|
89
|
-
const
|
|
90
|
-
return
|
|
88
|
+
const s = this.defaultUnit;
|
|
89
|
+
return s && t.includes(s) ? s : t[0];
|
|
91
90
|
}
|
|
92
91
|
set unit(e) {
|
|
93
92
|
this._userUnit = e;
|
|
94
93
|
}
|
|
95
94
|
get defaultUnit() {
|
|
96
|
-
return this.view ?
|
|
95
|
+
return this.view ? V(this.view) : void 0;
|
|
97
96
|
}
|
|
98
97
|
async place(e) {
|
|
99
98
|
await this.analysisView?.place(e);
|
|
@@ -106,36 +105,36 @@ let s = class extends A {
|
|
|
106
105
|
}
|
|
107
106
|
};
|
|
108
107
|
r([
|
|
109
|
-
|
|
110
|
-
],
|
|
108
|
+
o({ readOnly: !0 })
|
|
109
|
+
], i.prototype, "state", 1);
|
|
111
110
|
r([
|
|
112
|
-
|
|
113
|
-
],
|
|
111
|
+
o({ readOnly: !0 })
|
|
112
|
+
], i.prototype, "displayState", 1);
|
|
114
113
|
r([
|
|
115
|
-
|
|
116
|
-
],
|
|
114
|
+
o({ readOnly: !0 })
|
|
115
|
+
], i.prototype, "measurement", 1);
|
|
117
116
|
r([
|
|
118
|
-
|
|
119
|
-
],
|
|
117
|
+
o()
|
|
118
|
+
], i.prototype, "unitOptions", 1);
|
|
120
119
|
r([
|
|
121
|
-
|
|
122
|
-
],
|
|
120
|
+
o()
|
|
121
|
+
], i.prototype, "_userUnitOptions", 2);
|
|
123
122
|
r([
|
|
124
|
-
|
|
125
|
-
],
|
|
123
|
+
o()
|
|
124
|
+
], i.prototype, "unit", 1);
|
|
126
125
|
r([
|
|
127
|
-
|
|
128
|
-
],
|
|
126
|
+
o()
|
|
127
|
+
], i.prototype, "_userUnit", 2);
|
|
129
128
|
r([
|
|
130
|
-
|
|
131
|
-
],
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
],
|
|
135
|
-
const
|
|
129
|
+
o({ readOnly: !0 })
|
|
130
|
+
], i.prototype, "defaultUnit", 1);
|
|
131
|
+
i = r([
|
|
132
|
+
P("components.direct-line-measurement-3d.DirectLineMeasurement3dViewModel")
|
|
133
|
+
], i);
|
|
134
|
+
const x = "arcgis-direct-line-measurement-3d", T = { base: x }, R = U(i);
|
|
136
135
|
class h extends v {
|
|
137
136
|
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 =
|
|
137
|
+
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 = M()("analysis", "state"), this.arcgisReady = f();
|
|
139
138
|
}
|
|
140
139
|
static {
|
|
141
140
|
this.properties = { analysis: 32, autoDestroyDisabled: 5, icon: 3, label: 1, position: 1, referenceElement: 1, state: 1, unit: 1, unitOptions: 0 };
|
|
@@ -144,7 +143,7 @@ class h extends v {
|
|
|
144
143
|
this.shadowRootOptions = w;
|
|
145
144
|
}
|
|
146
145
|
static {
|
|
147
|
-
this.styles =
|
|
146
|
+
this.styles = z;
|
|
148
147
|
}
|
|
149
148
|
get analysis() {
|
|
150
149
|
return this.viewModel.analysis;
|
|
@@ -159,36 +158,39 @@ class h extends v {
|
|
|
159
158
|
await this.viewModel.start();
|
|
160
159
|
}
|
|
161
160
|
render() {
|
|
162
|
-
const { messages: t, unit:
|
|
163
|
-
return g`<div aria-label=${t.componentLabel ?? D} class=${
|
|
164
|
-
[
|
|
161
|
+
const { messages: t, unit: s, unitOptions: a, viewModel: n } = this, { measurement: l, state: u } = n;
|
|
162
|
+
return g`<div aria-label=${t.componentLabel ?? D} class=${b({
|
|
163
|
+
[T.base]: !0,
|
|
165
164
|
[d.widget]: !0,
|
|
166
165
|
[d.panel]: !0
|
|
167
166
|
})} role=presentation><arcgis-measurement-content .state=${n.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[
|
|
168
167
|
{
|
|
169
168
|
title: t.direct,
|
|
170
|
-
measurement:
|
|
169
|
+
measurement: l.directDistance
|
|
171
170
|
},
|
|
172
171
|
{
|
|
173
172
|
title: t.horizontal,
|
|
174
|
-
measurement:
|
|
173
|
+
measurement: l.horizontalDistance
|
|
175
174
|
},
|
|
176
175
|
{
|
|
177
176
|
title: t.vertical,
|
|
178
|
-
measurement:
|
|
177
|
+
measurement: l.verticalDistance
|
|
179
178
|
}
|
|
180
|
-
]}><arcgis-unit-select slot=settings .options=${
|
|
179
|
+
]}><arcgis-unit-select slot=settings .options=${a} .selectLabel=${t.unit} .value=${s} @arcgisUnitSelectChange=${(y) => {
|
|
181
180
|
this.unit = y.detail;
|
|
182
|
-
}}></arcgis-unit-select><calcite-button slot=actions .disabled=${
|
|
181
|
+
}}></arcgis-unit-select><calcite-button slot=actions .disabled=${u === "disabled"} @click=${() => {
|
|
183
182
|
this.viewModel.clear(), this.viewModel.start();
|
|
184
183
|
}}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`;
|
|
185
184
|
}
|
|
186
185
|
}
|
|
187
|
-
class
|
|
186
|
+
class j extends h {
|
|
187
|
+
constructor() {
|
|
188
|
+
super(), console.warn('arcgis-directline-measurement-3d - this component is deprecated. Use the "arcgis-direct-line-measurement-3d" component instead.');
|
|
189
|
+
}
|
|
188
190
|
}
|
|
189
191
|
p("arcgis-direct-line-measurement-3d", h);
|
|
190
|
-
p("arcgis-directline-measurement-3d",
|
|
192
|
+
p("arcgis-directline-measurement-3d", j);
|
|
191
193
|
export {
|
|
192
194
|
h as ArcgisDirectLineMeasurement3d,
|
|
193
|
-
|
|
195
|
+
j as DeprecatedArcgisDirectLineMeasurement3d
|
|
194
196
|
};
|
|
@@ -14,7 +14,7 @@ import { g as h } from "../../chunks/globalCss.js";
|
|
|
14
14
|
import { css as M } from "@lit/reactive-element/css-tag.js";
|
|
15
15
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
16
16
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
17
|
-
v4.33.0-next.
|
|
17
|
+
v4.33.0-next.140 */
|
|
18
18
|
const u = [-45, 0, 45, -90, 90, -135, 180, 135], S = {
|
|
19
19
|
0: { label: "north", iconName: "chevron-up" },
|
|
20
20
|
45: { label: "northEast", iconName: "chevron-up-right" },
|
|
@@ -56,6 +56,8 @@ export declare class ArcgisDirections extends LitElement {
|
|
|
56
56
|
* [SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.
|
|
57
57
|
*
|
|
58
58
|
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#goToOverride)
|
|
59
|
+
*
|
|
60
|
+
* @since 4.33
|
|
59
61
|
*/
|
|
60
62
|
goToOverride: nullish | __esri.GoToOverride;
|
|
61
63
|
/**
|
|
@@ -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.140 */
|
|
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.140 */
|
|
10
10
|
const c = r`@layer{arcgis-distance-measurement-2d{display:block}}`, h = n(e);
|
|
11
11
|
class d extends i {
|
|
12
12
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
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.140 */
|
|
10
10
|
const l = n`@layer{arcgis-legend{display:block}}`, d = o(i);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -8,11 +8,29 @@ import { default as LineOfSightViewModel } from './LineOfSightViewModel';
|
|
|
8
8
|
|
|
9
9
|
declare const useViewModel: (component: LitElement & Pick<LineOfSightViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<LineOfSightViewModel>) => LineOfSightViewModel;
|
|
10
10
|
/**
|
|
11
|
-
* The Line Of Sight component is a 3D analysis tool that allows you to perform
|
|
11
|
+
* The Line Of Sight component is a 3D analysis tool that allows you to perform
|
|
12
|
+
* [line of sight visibility analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)
|
|
13
|
+
* in a 3D view. Visibility between a given observer and multiple target points is calculated against the currently
|
|
14
|
+
* displayed content in the view, including ground, integrated meshes, and 3D objects such as buildings or trees.
|
|
15
|
+
*
|
|
16
|
+
* The results from the analysis are displayed as lines, where the visible part, indicating what the observer can see,
|
|
17
|
+
* is colored green. Visible targets are displayed with a green sphere and a fully green line of sight.
|
|
18
|
+
* The spheres marking occluded targets are displayed red, as are the occluded parts of the lines of sight.
|
|
19
|
+
* When the line of sight cannot be calculated, it will be displayed with a gray color. This may happen if either
|
|
20
|
+
* the target or the observer is not in the view.
|
|
21
|
+
*
|
|
22
|
+
* When creating a new line of sight analysis with the component, the first click in the scene creates the
|
|
23
|
+
* [observer](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisObserver.html)
|
|
24
|
+
* and any further clicks place the [targets](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisTarget.html).
|
|
25
|
+
* Both, observer and target points, can be moved by dragging them. Additionally, the target points can be removed with a right click.
|
|
12
26
|
*
|
|
13
27
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/)
|
|
14
28
|
*/
|
|
15
29
|
export declare class ArcgisLineOfSight extends LitElement {
|
|
30
|
+
/**
|
|
31
|
+
* The [line of sight analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)
|
|
32
|
+
* object being created by the component.
|
|
33
|
+
*/
|
|
16
34
|
get analysis(): LineOfSightAnalysis;
|
|
17
35
|
/**
|
|
18
36
|
* If true, the component will not be destroyed automatically when it is
|
|
@@ -39,12 +57,30 @@ export declare class ArcgisLineOfSight extends LitElement {
|
|
|
39
57
|
/** @default "bottom-left" */
|
|
40
58
|
position: __esri.UIPosition;
|
|
41
59
|
referenceElement?: ArcgisReferenceElement | string;
|
|
60
|
+
/**
|
|
61
|
+
* The component's state. The values mean the following:
|
|
62
|
+
*
|
|
63
|
+
* * `disabled` - not ready yet
|
|
64
|
+
* * `ready` - ready for analysis
|
|
65
|
+
* * `creating` - observer/target points are being placed
|
|
66
|
+
* * `created` - finished analysis
|
|
67
|
+
*/
|
|
42
68
|
get state(): "created" | "creating" | "disabled" | "ready";
|
|
69
|
+
/** Clear the current analysis results. After calling this method, the user can set a new observer and targets. */
|
|
43
70
|
clear(): Promise<void>;
|
|
71
|
+
/**
|
|
72
|
+
* After [stop()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/#stop)
|
|
73
|
+
* was called, this method allows to continue the line of sight analysis and add more targets.
|
|
74
|
+
*/
|
|
44
75
|
continue(): Promise<void>;
|
|
45
76
|
/** Permanently destroy the component. */
|
|
46
77
|
destroy(): Promise<void>;
|
|
78
|
+
/** Start a new line of sight analysis. */
|
|
47
79
|
start(): Promise<void>;
|
|
80
|
+
/**
|
|
81
|
+
* Stop the current line of sight analysis, keeping the results in the view.
|
|
82
|
+
* Users can still interact with existing targets and the observer but they cannot place new target points.
|
|
83
|
+
*/
|
|
48
84
|
stop(): Promise<void>;
|
|
49
85
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
50
86
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
@@ -11,7 +11,7 @@ import x from "@arcgis/core/analysis/LineOfSightAnalysis.js";
|
|
|
11
11
|
import { property as O, subclass as A } from "@arcgis/core/core/accessorSupport/decorators.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.140 */
|
|
15
15
|
const C = w`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`, a = "arcgis-line-of-sight", r = {
|
|
16
16
|
base: a,
|
|
17
17
|
actions: `${a}__actions`,
|
|
@@ -8,7 +8,7 @@ import { c as v, i as l } from "../../chunks/component-utils.js";
|
|
|
8
8
|
import { css as m } from "@lit/reactive-element/css-tag.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.140 */
|
|
12
12
|
const d = m`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, g = r(
|
|
13
13
|
w,
|
|
14
14
|
/**
|
|
@@ -11,7 +11,7 @@ import { LitElement as b, createEvent as f, noShadowRoot as v, safeClassMap as c
|
|
|
11
11
|
import { css as $ } 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.140 */
|
|
15
15
|
const L = $`@layer{arcgis-link-chart-layout-switcher{display:block}}`, l = {
|
|
16
16
|
basicLayoutCategory: [
|
|
17
17
|
"basic-grid"
|
|
@@ -27,7 +27,7 @@ import { project as te } from "@arcgis/core/rest/geometryService.js";
|
|
|
27
27
|
import oe from "@arcgis/core/rest/support/ProjectParameters.js";
|
|
28
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
29
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
30
|
-
v4.33.0-next.
|
|
30
|
+
v4.33.0-next.140 */
|
|
31
31
|
const ie = K`@layer{arcgis-locate{display:block}}`;
|
|
32
32
|
let M = !1;
|
|
33
33
|
const re = {
|
|
@@ -8,7 +8,7 @@ import { c as v, i as l } from "../../chunks/component-utils.js";
|
|
|
8
8
|
import { css as m } from "@lit/reactive-element/css-tag.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.140 */
|
|
12
12
|
const d = m`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, g = r(
|
|
13
13
|
w,
|
|
14
14
|
/**
|
|
@@ -6,7 +6,7 @@ import { m as r } 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.140 */
|
|
10
10
|
const c = n`@layer{arcgis-measurement{display:block}}`, l = r(i);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { f as l } from "../../chunks/measurementUtils.js";
|
|
|
6
6
|
import { css as m } 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.140 */
|
|
10
10
|
const u = m`:host,.hint,.error,.section,.actions,.item{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);animation:esri-fade-in .25s ease-in-out}.error{color:var(--calcite-color-status-danger)}.error,.hint{overflow:hidden;p{margin:0;padding:0}}.item-disabled{color:var(--calcite-color-text-1);opacity:var(--calcite-opacity-light)}.item-value{font-weight:var(--calcite-font-weight-semibold)}.actions{justify-content:center}`, e = {
|
|
11
11
|
error: "error",
|
|
12
12
|
hint: "hint",
|