@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
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
1
|
+
import { forceInteractive as u } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
2
|
+
import d from "@arcgis/core/core/Accessor.js";
|
|
3
|
+
import { property as r, subclass as v } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
4
|
+
import { ignoreAbortErrors as f } from "@arcgis/core/core/promiseUtils.js";
|
|
5
|
+
import { watch as p, whenOnce as V } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
+
import { c as y, i as O, t as m, a as A } from "./async-utils.js";
|
|
5
7
|
import { a as l, r as w } from "./maybe.js";
|
|
6
|
-
import { forceInteractive as O } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
7
|
-
import { ignoreAbortErrors as A } from "@arcgis/core/core/promiseUtils.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.
|
|
11
|
-
var b = Object.defineProperty, g = Object.getOwnPropertyDescriptor, n = (
|
|
12
|
-
for (var a = o > 1 ? void 0 : o ? g(
|
|
13
|
-
(h =
|
|
14
|
-
return o && a && b(
|
|
10
|
+
v4.33.0-next.138 */
|
|
11
|
+
var b = Object.defineProperty, g = Object.getOwnPropertyDescriptor, n = (t, e, s, o) => {
|
|
12
|
+
for (var a = o > 1 ? void 0 : o ? g(e, s) : e, c = t.length - 1, h; c >= 0; c--)
|
|
13
|
+
(h = t[c]) && (a = (o ? h(e, s, a) : h(a)) || a);
|
|
14
|
+
return o && a && b(e, s, a), a;
|
|
15
15
|
};
|
|
16
|
-
let i = class extends
|
|
17
|
-
constructor(
|
|
18
|
-
super(
|
|
19
|
-
const
|
|
20
|
-
|
|
16
|
+
let i = class extends d {
|
|
17
|
+
constructor(t = {}) {
|
|
18
|
+
super(t), this._operationState = "inactive", this._loggedUnsupportedErrorMessage = !1, this._parentChangeFromReconnect = !1, this._startUserOperation = null;
|
|
19
|
+
const e = t?.analysis;
|
|
20
|
+
e != null ? this.analysis = e : (this._set("analysis", this.constructAnalysis()), this._set("isAnalysisOwner", !0)), t?.visible != null && (this.visible = t.visible);
|
|
21
21
|
}
|
|
22
22
|
// @ts-expect-error TODO - ignore
|
|
23
|
-
normalizeCtorArgs(
|
|
24
|
-
const { analysis:
|
|
23
|
+
normalizeCtorArgs(t) {
|
|
24
|
+
const { analysis: e, ...s } = t;
|
|
25
25
|
return s;
|
|
26
26
|
}
|
|
27
27
|
initialize() {
|
|
28
28
|
this.addHandles([
|
|
29
29
|
p(
|
|
30
30
|
() => ({ readyAndNotSupported: this.view != null && this.view.ready && !this.supported }),
|
|
31
|
-
({ readyAndNotSupported:
|
|
32
|
-
|
|
31
|
+
({ readyAndNotSupported: t }) => {
|
|
32
|
+
t && !this._loggedUnsupportedErrorMessage && console.error(this.unsupportedErrorMessage);
|
|
33
33
|
},
|
|
34
34
|
{ sync: !0, initial: !0 }
|
|
35
35
|
),
|
|
@@ -38,10 +38,10 @@ let i = class extends f {
|
|
|
38
38
|
// @ts-expect-error this should become unnecessary with https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/70835
|
|
39
39
|
this.analysis?.parent
|
|
40
40
|
),
|
|
41
|
-
(
|
|
42
|
-
!this._parentChangeFromReconnect &&
|
|
43
|
-
const
|
|
44
|
-
this._parentChangeFromReconnect = !1,
|
|
41
|
+
(t) => {
|
|
42
|
+
!this._parentChangeFromReconnect && t !== this.view && this._set("isAnalysisOwner", !1);
|
|
43
|
+
const e = !this._parentChangeFromReconnect;
|
|
44
|
+
this._parentChangeFromReconnect = !1, e && this._scheduleViewReconnect();
|
|
45
45
|
},
|
|
46
46
|
{ sync: !0 }
|
|
47
47
|
),
|
|
@@ -51,22 +51,22 @@ let i = class extends f {
|
|
|
51
51
|
ready: !!this.view?.ready,
|
|
52
52
|
supported: this.supported
|
|
53
53
|
}),
|
|
54
|
-
({ view:
|
|
55
|
-
const s =
|
|
56
|
-
|
|
54
|
+
({ view: t }, e) => {
|
|
55
|
+
const s = e?.view;
|
|
56
|
+
t !== s && (this._startUserOperation = l(this._startUserOperation), this._disconnectFromView(s)), this._scheduleViewReconnect();
|
|
57
57
|
},
|
|
58
58
|
{ sync: !0, initial: !0 }
|
|
59
59
|
)
|
|
60
60
|
]);
|
|
61
61
|
}
|
|
62
62
|
destroy() {
|
|
63
|
-
this._reconnectViewTask = l(this._reconnectViewTask), this._startUserOperation = l(this._startUserOperation), this._analysisView != null && (this._analysisView.visible = void 0), this._disconnectFromView(this.view), this._set("view", null), this.
|
|
63
|
+
this._reconnectViewTask = l(this._reconnectViewTask), this._startUserOperation = l(this._startUserOperation), this._analysisView != null && (this._analysisView.visible = void 0), this._disconnectFromView(this.view), this._set("view", null), this.isAnalysisOwner && this.analysis?.destroy();
|
|
64
64
|
}
|
|
65
65
|
get supported() {
|
|
66
66
|
return this.view == null || this.view.type === this.supportedViewType;
|
|
67
67
|
}
|
|
68
|
-
set visible(
|
|
69
|
-
this._set("visible",
|
|
68
|
+
set visible(t) {
|
|
69
|
+
this._set("visible", t), this._analysisView != null && (this._analysisView.visible = t);
|
|
70
70
|
}
|
|
71
71
|
get active() {
|
|
72
72
|
return this._startUserOperation?.state === 2;
|
|
@@ -74,8 +74,8 @@ let i = class extends f {
|
|
|
74
74
|
get disabled() {
|
|
75
75
|
return this.view == null || !this.view.ready || !this.supported;
|
|
76
76
|
}
|
|
77
|
-
set analysis(
|
|
78
|
-
|
|
77
|
+
set analysis(t) {
|
|
78
|
+
t !== this._get("analysis") && (this._startUserOperation = l(this._startUserOperation), this._disconnectFromView(this.view), this._setExternalAnalysis(t), this._scheduleViewReconnect());
|
|
79
79
|
}
|
|
80
80
|
get analysisView() {
|
|
81
81
|
return this._analysisView;
|
|
@@ -96,40 +96,40 @@ let i = class extends f {
|
|
|
96
96
|
* Removes the tool and clears the analysis by resetting its inputs.
|
|
97
97
|
*/
|
|
98
98
|
clear() {
|
|
99
|
-
this.clearAnalysis(), this._startUserOperation = l(this._startUserOperation)
|
|
99
|
+
this.clearAnalysis(), this._startUserOperation = l(this._startUserOperation);
|
|
100
100
|
}
|
|
101
101
|
/**
|
|
102
102
|
* If analysis has unset inputs, start() will kick off the user operation to specify those inputs.
|
|
103
103
|
*/
|
|
104
|
-
async start(
|
|
104
|
+
async start(t) {
|
|
105
105
|
if (!this.visible) {
|
|
106
106
|
console.warn("Cannot start analysis when not visible");
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
|
-
const
|
|
109
|
+
const e = {
|
|
110
110
|
task: null,
|
|
111
111
|
abort: null,
|
|
112
112
|
state: 0
|
|
113
113
|
/* PENDING */
|
|
114
114
|
}, s = y(async (o) => {
|
|
115
|
-
if (
|
|
115
|
+
if (e.state = 1, await V(() => this.ready, o), e.state = 2, this._analysisView == null || this.view == null)
|
|
116
116
|
return;
|
|
117
117
|
this._operationState = "active";
|
|
118
|
-
const a =
|
|
119
|
-
|
|
118
|
+
const a = t?.({ signal: o }) ?? this.place({ signal: o });
|
|
119
|
+
await f(a);
|
|
120
120
|
});
|
|
121
121
|
return s.promise.finally(() => {
|
|
122
|
-
this._operationState = "inactive";
|
|
123
|
-
}),
|
|
122
|
+
(this._startUserOperation === e || this._startUserOperation == null) && (this._operationState = "inactive");
|
|
123
|
+
}), e.task = s, e.abort = () => s.abort(), this._startUserOperation = e, await s.promise;
|
|
124
124
|
}
|
|
125
|
-
startNewAnalysis() {
|
|
126
|
-
|
|
125
|
+
async startNewAnalysis() {
|
|
126
|
+
this.clear(), await this.start();
|
|
127
127
|
}
|
|
128
|
-
continue() {
|
|
129
|
-
|
|
128
|
+
async continue() {
|
|
129
|
+
await this.start();
|
|
130
130
|
}
|
|
131
131
|
stop() {
|
|
132
|
-
this._startUserOperation
|
|
132
|
+
this._startUserOperation = l(this._startUserOperation);
|
|
133
133
|
}
|
|
134
134
|
/**
|
|
135
135
|
* A callback used by view models that manage an analysis belonging to an Layer.
|
|
@@ -137,7 +137,7 @@ let i = class extends f {
|
|
|
137
137
|
* The function will be called each time the view becomes ready, the internal Layer of
|
|
138
138
|
* the view model has been added to the map and the analysis view of the analysis has been created.
|
|
139
139
|
*/
|
|
140
|
-
onConnectToAnalysisView(
|
|
140
|
+
onConnectToAnalysisView(t) {
|
|
141
141
|
}
|
|
142
142
|
/**
|
|
143
143
|
* A callback used by view models that manage an analysis.
|
|
@@ -149,55 +149,44 @@ let i = class extends f {
|
|
|
149
149
|
}
|
|
150
150
|
_scheduleViewReconnect() {
|
|
151
151
|
this._reconnectViewTask = l(this._reconnectViewTask);
|
|
152
|
-
const
|
|
152
|
+
const t = y(async (e) => {
|
|
153
153
|
try {
|
|
154
|
-
await this._reconnectView(
|
|
154
|
+
await this._reconnectView(e);
|
|
155
155
|
} catch (s) {
|
|
156
|
-
if (
|
|
156
|
+
if (m(e), !A(s)) {
|
|
157
157
|
console.warn("Failed to use analysis in view model", s);
|
|
158
158
|
return;
|
|
159
159
|
}
|
|
160
160
|
throw s;
|
|
161
161
|
} finally {
|
|
162
|
-
|
|
162
|
+
t === this._reconnectViewTask && (this._reconnectViewTask = void 0);
|
|
163
163
|
}
|
|
164
164
|
});
|
|
165
|
-
this._reconnectViewTask =
|
|
165
|
+
this._reconnectViewTask = t;
|
|
166
166
|
}
|
|
167
|
-
async _reconnectView(
|
|
168
|
-
const { view:
|
|
169
|
-
if (this._startUserOperation =
|
|
167
|
+
async _reconnectView(t) {
|
|
168
|
+
const { view: e } = this, s = e != null && e.ready && this.supported, o = this.analysis;
|
|
169
|
+
if (this._startUserOperation = _(this._startUserOperation), this._disconnectFromView(e), !s || e == null || o == null)
|
|
170
170
|
return;
|
|
171
171
|
if (this.isAnalysisOwner) {
|
|
172
172
|
if (o.parent != null) {
|
|
173
173
|
console.error("expected owned analysis to have null parent when connecting to view");
|
|
174
174
|
return;
|
|
175
175
|
}
|
|
176
|
-
this._parentChangeFromReconnect = !0,
|
|
176
|
+
this._parentChangeFromReconnect = !0, e.analyses.add(o);
|
|
177
177
|
}
|
|
178
|
-
const a = await
|
|
179
|
-
if (this._analysisView = a,
|
|
180
|
-
this._startUserOperation =
|
|
178
|
+
const a = await e.whenAnalysisView(o);
|
|
179
|
+
if (this._analysisView = a, O(t)) {
|
|
180
|
+
this._startUserOperation = _(this._startUserOperation);
|
|
181
181
|
return;
|
|
182
182
|
}
|
|
183
|
-
a.visible = this.visible, this._forceInteractiveHandle =
|
|
183
|
+
a.visible = this.visible, this._forceInteractiveHandle = u(a), this.addHandles(this._forceInteractiveHandle), this.onConnectToAnalysisView(a);
|
|
184
184
|
}
|
|
185
|
-
_disconnectFromView(
|
|
186
|
-
|
|
185
|
+
_disconnectFromView(t) {
|
|
186
|
+
t != null && this.isAnalysisOwner && t.analyses.includes(this.analysis) && (this._parentChangeFromReconnect = !0, this.analysis.clear(), t.analyses.remove(this.analysis)), this.onDisconnectFromAnalysisView(), this._forceInteractiveHandle = w(this._forceInteractiveHandle), this._analysisView = void 0;
|
|
187
187
|
}
|
|
188
|
-
_setExternalAnalysis(
|
|
189
|
-
this._analysisView != null && !this.isAnalysisOwner && (this._analysisView.visible = void 0, this._forceInteractiveHandle = w(this._forceInteractiveHandle)), this._analysisView =
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Reset the analysis and tool to a state that will allow the interactive creation of a fresh analysis.
|
|
193
|
-
* The 'start()' method uses 'tool.created' to determine when the tool can be deactivated, so we must
|
|
194
|
-
* also reset that property here.
|
|
195
|
-
*
|
|
196
|
-
* In the future this should happen in the creation methods on analysis views:
|
|
197
|
-
* https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/43397
|
|
198
|
-
*/
|
|
199
|
-
_resetInteractiveCreationState() {
|
|
200
|
-
this._analysisView?.tool?.resetCreated();
|
|
188
|
+
_setExternalAnalysis(t) {
|
|
189
|
+
this._analysisView != null && !this.isAnalysisOwner && (this._analysisView.visible = void 0, this._forceInteractiveHandle = w(this._forceInteractiveHandle)), this._analysisView = void 0, this._set("isAnalysisOwner", !1), this._set("analysis", t), this._parentChangeFromReconnect = !1;
|
|
201
190
|
}
|
|
202
191
|
};
|
|
203
192
|
n([
|
|
@@ -246,10 +235,10 @@ n([
|
|
|
246
235
|
r()
|
|
247
236
|
], i.prototype, "operationState", 1);
|
|
248
237
|
i = n([
|
|
249
|
-
|
|
238
|
+
v("esri.components.support.AnalysisViewModel")
|
|
250
239
|
], i);
|
|
251
|
-
function
|
|
252
|
-
return
|
|
240
|
+
function _(t) {
|
|
241
|
+
return t != null && t.state >= 2 ? (t.abort(), null) : t;
|
|
253
242
|
}
|
|
254
243
|
export {
|
|
255
244
|
i as A
|
|
@@ -4,7 +4,7 @@ import p from "@arcgis/core/core/Error.js";
|
|
|
4
4
|
import { a as f, r as _ } from "./maybe.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.138 */
|
|
8
8
|
var v = Object.defineProperty, m = Object.getOwnPropertyDescriptor, i = (r, t, o, e) => {
|
|
9
9
|
for (var s = e > 1 ? void 0 : e ? m(t, o) : t, a = r.length - 1, u; a >= 0; a--)
|
|
10
10
|
(u = r[a]) && (s = (e ? u(t, o, s) : u(s)) || s);
|
|
@@ -54,7 +54,7 @@ function T(r, t) {
|
|
|
54
54
|
}
|
|
55
55
|
let n = class extends c {
|
|
56
56
|
constructor(r, t) {
|
|
57
|
-
super({}), this.
|
|
57
|
+
super({}), this._abortHandle = null, this.abort = () => {
|
|
58
58
|
this._abortController = f(this._abortController);
|
|
59
59
|
}, this.remove = this.abort, this._abortController = new AbortController();
|
|
60
60
|
const { signal: o } = this._abortController;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.138 */
|
|
4
4
|
const e = "esri-basemap-gallery", t = {
|
|
5
5
|
base: e,
|
|
6
6
|
sourceLoading: `${e}--source-loading`,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.138 */
|
|
4
4
|
function N(e) {
|
|
5
5
|
e.el.childElem && (e.el.childElem.ownedBy = e.el);
|
|
6
6
|
const i = v(e);
|
|
@@ -2,7 +2,7 @@ import { makeGenericController as l } from "@arcgis/lumina/controllers";
|
|
|
2
2
|
import { createEvent as s } from "@arcgis/lumina";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
5
|
-
v4.33.0-next.
|
|
5
|
+
v4.33.0-next.138 */
|
|
6
6
|
const a = l((e, r) => (r.onLoaded(() => {
|
|
7
7
|
const t = e.el;
|
|
8
8
|
e.listenOn(t.childElem, "calciteFlowItemClose", () => {
|
package/dist/chunks/globalCss.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.138 */
|
|
4
4
|
const e = {
|
|
5
5
|
disabled: "esri-disabled",
|
|
6
6
|
empty: "esri-widget__content--empty",
|
package/dist/chunks/heading.js
CHANGED
|
@@ -4,7 +4,7 @@ import { unsafeStatic as l, html as m } from "lit/static-html.js";
|
|
|
4
4
|
import { g as c } from "./globalCss.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.138 */
|
|
8
8
|
function d({ level: a, class: t, children: e }) {
|
|
9
9
|
const n = g(a), s = `h${n}`, r = l(s);
|
|
10
10
|
return m`<${r} .ariaLevel=${String(n)} class=${o(i(c.heading, t))} role=heading>${e}</${r}>`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { css as i } from "@lit/reactive-element/css-tag.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
|
-
v4.33.0-next.
|
|
4
|
+
v4.33.0-next.138 */
|
|
5
5
|
const t = i`@layer{arcgis-layer-list{display:block;.arcgis-layer-list{display:flex}.arcgis-layer-list__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-layer-list__item{--calcite-list-item-icon-center: 8.5px}.arcgis-layer-list__item-table-icon,.arcgis-layer-list__item-catalog-icon{margin-inline-end:0}.arcgis-layer-list__item-action-image{flex:0 0 var(--calcite-spacing-xl);background-position:50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);text-align:center;font-size:var(--calcite-font-size)}.arcgis-layer-list__action-menu .arcgis-layer-list__action-group{display:none}.arcgis-layer-list__action-menu[open] .arcgis-layer-list__action-group{display:flex}.arcgis-layer-list__visible-icon{visibility:hidden}.arcgis-layer-list__item--active:hover,.arcgis-layer-list__item--active:focus,.arcgis-layer-list__item--active:focus-within{>.arcgis-layer-list__visible-toggle>.arcgis-layer-list__visible-icon{visibility:visible}}.arcgis-layer-list__status-indicator{visibility:hidden;margin-inline:0;color:transparent}.arcgis-layer-list__publishing{visibility:visible;color:var(--calcite-color-foreground-2);transform-origin:var(--calcite-list-item-icon-center) var(--calcite-list-item-icon-center);animation:arcgis-layer-list__publishing-anim 2s normal infinite}.arcgis-layer-list__updating{visibility:visible;animation:arcgis-layer-list__updating-anim 2s normal infinite}.arcgis-layer-list__connection-status{visibility:visible;margin-inline:calc(var(--calcite-spacing-lg) * .5);width:calc(var(--calcite-spacing-xxxl) * .5);height:calc(var(--calcite-spacing-xxxl) * .5);color:var(--calcite-color-status-danger)}.arcgis-layer-list__connection-status--connected{color:var(--calcite-color-status-success)}.arcgis-layer-list__item-content-bottom{margin:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-layer-list__item-content-bottom .arcgis-legend__service{padding:0 0 var(--calcite-spacing-md) 0}.arcgis-layer-list__item-message{margin:var(--calcite-spacing-md) var(--calcite-spacing-lg)}@keyframes arcgis-layer-list__updating-anim{0%,40%{color:transparent}50%,80%{color:var(--calcite-color-brand)}to{color:transparent}}@keyframes arcgis-layer-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}}}`;
|
|
6
6
|
export {
|
|
7
7
|
t as s
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.138 */
|
|
4
4
|
const r = {
|
|
5
5
|
dragHorizontal: "esri-icon-drag-horizontal",
|
|
6
6
|
dragVertical: "esri-icon-drag-vertical"
|
package/dist/chunks/maybe.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.138 */
|
|
4
4
|
function e(r) {
|
|
5
|
-
|
|
5
|
+
r?.abort();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
8
|
-
|
|
7
|
+
function o(r) {
|
|
8
|
+
r?.remove();
|
|
9
9
|
}
|
|
10
10
|
export {
|
|
11
11
|
e as a,
|
|
12
|
-
|
|
12
|
+
o as r
|
|
13
13
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.138 */
|
|
4
|
+
const t = ["metric", "imperial"], r = [
|
|
5
|
+
"inches",
|
|
6
|
+
"feet",
|
|
7
|
+
"yards",
|
|
8
|
+
"miles",
|
|
9
|
+
"nautical-miles",
|
|
10
|
+
"us-feet",
|
|
11
|
+
"millimeters",
|
|
12
|
+
"centimeters",
|
|
13
|
+
"decimeters",
|
|
14
|
+
"meters",
|
|
15
|
+
"kilometers"
|
|
16
|
+
], a = [
|
|
17
|
+
"square-inches",
|
|
18
|
+
"square-feet",
|
|
19
|
+
"square-yards",
|
|
20
|
+
"square-miles",
|
|
21
|
+
"square-nautical-miles",
|
|
22
|
+
"square-us-feet",
|
|
23
|
+
"square-millimeters",
|
|
24
|
+
"square-centimeters",
|
|
25
|
+
"square-decimeters",
|
|
26
|
+
"square-meters",
|
|
27
|
+
"square-kilometers",
|
|
28
|
+
"acres",
|
|
29
|
+
"ares",
|
|
30
|
+
"hectares"
|
|
31
|
+
], n = [...t, ...a], i = [...t, ...r];
|
|
32
|
+
function u(e, s = !0) {
|
|
33
|
+
return s ? e == null ? { state: "unavailable" } : { state: "available", value: e } : { state: "invalid" };
|
|
34
|
+
}
|
|
35
|
+
function m(e, s) {
|
|
36
|
+
switch (s.type) {
|
|
37
|
+
case "length":
|
|
38
|
+
return e.formatLength(s);
|
|
39
|
+
case "area":
|
|
40
|
+
return e.formatArea(s);
|
|
41
|
+
default:
|
|
42
|
+
return "";
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export {
|
|
46
|
+
n as a,
|
|
47
|
+
m as f,
|
|
48
|
+
u as g,
|
|
49
|
+
i as m
|
|
50
|
+
};
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -2,7 +2,7 @@ import { makeRuntime as e } from "@arcgis/lumina";
|
|
|
2
2
|
import { trackAccess as s, createObservable as a, createTrackingTarget as r, runTracked as c } from "@arcgis/core/applications/Components/reactiveUtils.js";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
5
|
-
v4.33.0-next.
|
|
5
|
+
v4.33.0-next.138 */
|
|
6
6
|
const t = e({ defaultAssetPath: "https://jsdev.arcgis.com/next/map-components/", hydratedAttribute: "hydrated" }), { customElement: n, getAssetPath: d, setAssetPath: i } = t;
|
|
7
7
|
t.t = s;
|
|
8
8
|
t.o = a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toFunction as i, Controller as n } from "@arcgis/lumina/controllers";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
|
-
v4.33.0-next.
|
|
4
|
+
v4.33.0-next.138 */
|
|
5
5
|
class o {
|
|
6
6
|
constructor() {
|
|
7
7
|
this._groups = /* @__PURE__ */ new Map();
|
package/dist/chunks/useT9n.js
CHANGED
|
@@ -2,7 +2,7 @@ import { makeT9nController as o } from "@arcgis/lumina/controllers";
|
|
|
2
2
|
import { g as t } from "./runtime.js";
|
|
3
3
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
4
4
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
5
|
-
v4.33.0-next.
|
|
5
|
+
v4.33.0-next.138 */
|
|
6
6
|
const s = o(t);
|
|
7
7
|
export {
|
|
8
8
|
s as u
|
package/dist/chunks/useView.js
CHANGED
|
@@ -4,7 +4,7 @@ import { signal as a } from "@arcgis/core/applications/Components/reactiveUtils.
|
|
|
4
4
|
import { a as i } from "./component-utils.js";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.138 */
|
|
8
8
|
const v = (s) => m(s);
|
|
9
9
|
class d extends c {
|
|
10
10
|
#e = a(void 0);
|
|
@@ -5,7 +5,7 @@ import { V as m } from "./useView.js";
|
|
|
5
5
|
import { watch as p } from "@arcgis/core/core/reactiveUtils.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 v = (t, o) => (e) => a(e, t);
|
|
10
10
|
class r extends i {
|
|
11
11
|
#o = void 0;
|
package/dist/chunks/useWidget.js
CHANGED
|
@@ -5,7 +5,7 @@ import { V as g } from "./useView.js";
|
|
|
5
5
|
import { watch as m } from "@arcgis/core/core/reactiveUtils.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 I = (d, e) => (t) => P(t, d);
|
|
10
10
|
class f extends b {
|
|
11
11
|
#o = /* @__PURE__ */ new Map();
|
package/dist/chunks/utils.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { formatNumber as r } from "@arcgis/core/intl.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
4
|
-
v4.33.0-next.
|
|
4
|
+
v4.33.0-next.138 */
|
|
5
5
|
const s = /* @__PURE__ */ new Map([
|
|
6
6
|
["a3-landscape", "a3-landscape"],
|
|
7
7
|
["a3-portrait", "a3-portrait"],
|
|
@@ -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.138 */
|
|
10
10
|
const h = n`@layer{arcgis-area-measurement-2d{display:block}}`, l = r(
|
|
11
11
|
// Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/61559
|
|
12
12
|
s
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
|
+
import { default as AreaMeasurementAnalysis } from '@arcgis/core/analysis/AreaMeasurementAnalysis.js';
|
|
3
|
+
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
4
|
+
import { ConstructProperties as AnalysisViewModelConstructProperties, AnalysisViewModel } from '../../support/AnalysisViewModel';
|
|
5
|
+
import { MeasurementModeString, MeasurementState, MeasurementValue } from '../../support/measurementUtils';
|
|
6
|
+
interface ConstructProperties extends AnalysisViewModelConstructProperties<SceneView, AreaMeasurementAnalysis> {
|
|
7
|
+
unitOptions: __esri.SystemOrAreaUnit[];
|
|
8
|
+
unit: __esri.SystemOrAreaUnit;
|
|
9
|
+
}
|
|
10
|
+
export interface Measurement {
|
|
11
|
+
readonly mode: MeasurementModeString;
|
|
12
|
+
readonly area: MeasurementValue<__esri.Area>;
|
|
13
|
+
readonly perimeter: MeasurementValue<__esri.Length>;
|
|
14
|
+
}
|
|
15
|
+
export default class AreaMeasurement3dViewModel extends AnalysisViewModel<SceneView, AreaMeasurementAnalysis> implements ConstructProperties {
|
|
16
|
+
constructor(properties?: Partial<ConstructProperties>);
|
|
17
|
+
initialize(): void;
|
|
18
|
+
get state(): Exclude<MeasurementState, "unsupported">;
|
|
19
|
+
get displayState(): MeasurementState;
|
|
20
|
+
/**
|
|
21
|
+
* The current measurement calculated between the two points.
|
|
22
|
+
*/
|
|
23
|
+
get measurement(): Measurement;
|
|
24
|
+
/**
|
|
25
|
+
* List of unit systems (imperial, metric) and specific units for displaying the distance values.
|
|
26
|
+
*/
|
|
27
|
+
get unitOptions(): __esri.SystemOrAreaUnit[];
|
|
28
|
+
set unitOptions(units: __esri.SystemOrAreaUnit[] | undefined);
|
|
29
|
+
private _userUnitOptions?;
|
|
30
|
+
/**
|
|
31
|
+
* Unit system (imperial, metric) or specific unit used for displaying the distance values.
|
|
32
|
+
*/
|
|
33
|
+
get unit(): __esri.SystemOrAreaUnit;
|
|
34
|
+
set unit(unit: __esri.SystemOrAreaUnit | undefined);
|
|
35
|
+
private _userUnit?;
|
|
36
|
+
get defaultUnit(): __esri.MeasurementSystem | undefined;
|
|
37
|
+
place(options?: {
|
|
38
|
+
signal?: AbortSignal;
|
|
39
|
+
}): Promise<void>;
|
|
40
|
+
protected clearAnalysis(): void;
|
|
41
|
+
protected readonly supportedViewType = "3d";
|
|
42
|
+
protected readonly unsupportedErrorMessage = "The Area Measurement 3D component is only supported in 3D views.";
|
|
43
|
+
protected constructAnalysis(): AreaMeasurementAnalysis;
|
|
44
|
+
}
|
|
45
|
+
export {};
|