@arcgis/map-components 4.34.0-next.1 → 4.34.0-next.3
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/{GKTOQY3S.js → 2DEASVZD.js} +2 -2
- package/dist/cdn/{WCE2K76D.js → 2ESEAIA5.js} +2 -2
- package/dist/cdn/{SUN26GSO.js → 363OWKVL.js} +1 -1
- package/dist/cdn/{ZFGL2KSG.js → 3W2WGUDP.js} +1 -1
- package/dist/cdn/{OT64W62R.js → 46DOZMHG.js} +2 -2
- package/dist/cdn/{5UBOP6TA.js → 46FOHP5W.js} +1 -1
- package/dist/cdn/{JZCE5XQQ.js → 46NE5CD2.js} +2 -2
- package/dist/cdn/{A3ZUH4XX.js → 4H2W5GYD.js} +2 -2
- package/dist/cdn/{BKZWDNEP.js → 4IQYTQIS.js} +2 -2
- package/dist/cdn/{GD2FOHZY.js → 4QRBF4FC.js} +2 -2
- package/dist/cdn/{SNR7KGH5.js → 4USUAQ3M.js} +2 -2
- package/dist/cdn/{BY42MDY7.js → 4XMBZYKO.js} +2 -2
- package/dist/cdn/{VKE27GIN.js → 56EGKCO3.js} +2 -2
- package/dist/cdn/{4LBD2ITU.js → 5R5OWXAQ.js} +2 -2
- package/dist/cdn/{NW72HR5Z.js → 5VXQTBEA.js} +2 -2
- package/dist/cdn/{IISBCUIL.js → 5YG75FR4.js} +1 -1
- package/dist/cdn/{TPS72UKW.js → 67UXLU2S.js} +2 -2
- package/dist/cdn/{LOAE4AXM.js → 6EE4JJ2I.js} +2 -2
- package/dist/cdn/{HUQHZUJP.js → 6K7QBAMI.js} +2 -2
- package/dist/cdn/{NWMCC632.js → 6X6BDLCA.js} +2 -2
- package/dist/cdn/{2PMZSACT.js → 6Z56X76F.js} +2 -2
- package/dist/cdn/{Q4KIAHIP.js → 72K6PTPA.js} +1 -1
- package/dist/cdn/{DLCZJ6YJ.js → 7AXRMMLJ.js} +2 -2
- package/dist/cdn/{ZQYIIBP4.js → 7L5XBWYD.js} +2 -2
- package/dist/cdn/{UKDFYSBU.js → ALUNHIFF.js} +2 -2
- package/dist/cdn/{LEDULRXD.js → BKWCCZ53.js} +2 -2
- package/dist/cdn/{NUK4LTX5.js → BOZBPEOQ.js} +2 -2
- package/dist/cdn/{WXPRTXLW.js → BRHFFFB6.js} +1 -1
- package/dist/cdn/{YMMFWORE.js → C2GRKYPA.js} +2 -2
- package/dist/cdn/{IHZH53G7.js → C5VB62EV.js} +2 -2
- package/dist/cdn/{P45RF77O.js → CQMPO2FO.js} +2 -2
- package/dist/cdn/{WHEV5PJT.js → CV25FGWS.js} +2 -2
- package/dist/cdn/CWRD56OW.js +4 -0
- package/dist/cdn/{Q4IIAOMJ.js → D4UC6YNK.js} +2 -2
- package/dist/cdn/{NR7MHE2C.js → DPC4BXUO.js} +2 -2
- package/dist/cdn/{KVMUNOT7.js → DVRWN2X3.js} +2 -2
- package/dist/cdn/{WDIX45UN.js → DWMAF3AB.js} +2 -2
- package/dist/cdn/{ZZAJ47QE.js → EGAU2GAK.js} +2 -2
- package/dist/cdn/F3DQMWJ6.js +4 -0
- package/dist/cdn/{LR76QGNT.js → FGMM6TLQ.js} +2 -2
- package/dist/cdn/GKQV3GV7.js +4 -0
- package/dist/cdn/{O3GJVY5K.js → GOEEX3IG.js} +2 -2
- package/dist/cdn/{H53YT2KB.js → H34JBL4Z.js} +2 -2
- package/dist/cdn/{AO5ZDDOM.js → HAFNNW3D.js} +2 -2
- package/dist/cdn/{ER72C6UP.js → HJBXOC2I.js} +2 -2
- package/dist/cdn/{ZS6Q64CO.js → HLKSYNBA.js} +2 -2
- package/dist/cdn/{GWKKNXJA.js → HQEQV3QC.js} +2 -2
- package/dist/cdn/{2YDC2H7K.js → JCQD3YNR.js} +2 -2
- package/dist/cdn/{6V5QZCOZ.js → JDTYQCZK.js} +2 -2
- package/dist/cdn/{47SBNRJH.js → JI6FC2KZ.js} +2 -2
- package/dist/cdn/{OIWINM74.js → JLCRXIKZ.js} +2 -2
- package/dist/cdn/{BU6J42GD.js → JP5O6B5F.js} +2 -2
- package/dist/cdn/{ZS2434QV.js → JV24GCAP.js} +2 -2
- package/dist/cdn/{ZX3AAZ5M.js → K7UZ42V3.js} +2 -2
- package/dist/cdn/{ALWX2ALV.js → KXYEAIS4.js} +2 -2
- package/dist/cdn/{LPMVG6DA.js → L3OI72NI.js} +2 -2
- package/dist/cdn/{53RL6DKS.js → LEGQAMIG.js} +2 -2
- package/dist/cdn/{22XQ7GV5.js → LP4I37RY.js} +1 -1
- package/dist/cdn/{BQUOVH4M.js → LUJBBH5J.js} +2 -2
- package/dist/cdn/{CM5BYNTJ.js → LXPDH2BL.js} +2 -2
- package/dist/cdn/{WMS5BZ4X.js → M3YHSP3I.js} +2 -2
- package/dist/cdn/{5ZQJE4G7.js → MFJLKVY3.js} +2 -2
- package/dist/cdn/{MIZQTTX6.js → MSKYKJCN.js} +2 -2
- package/dist/cdn/{LLROZ25L.js → MT5RQBAH.js} +2 -2
- package/dist/cdn/{FXWPUPQW.js → MZ4A2RS4.js} +2 -2
- package/dist/cdn/{QL5NO5VC.js → N2AWMIHG.js} +2 -2
- package/dist/cdn/{2S6TIIDB.js → N4BQ2M5C.js} +2 -2
- package/dist/cdn/{P5UEKYVM.js → NFP7KMGH.js} +2 -2
- package/dist/cdn/{E3QCBVRR.js → NNWDJSAH.js} +2 -2
- package/dist/cdn/{EVMSZC42.js → O7ZKXOTB.js} +2 -2
- package/dist/cdn/{OJLHFLOO.js → OYIZFWCL.js} +2 -2
- package/dist/cdn/{R33QVEOL.js → OYUETUJJ.js} +2 -2
- package/dist/cdn/{PI7E2FA7.js → PPUKTTQ3.js} +2 -2
- package/dist/cdn/{IW6ZQMHZ.js → PQBBBIQU.js} +2 -2
- package/dist/cdn/PYZLIY6P.js +4 -0
- package/dist/cdn/{HNRED4RD.js → QPFJHO6Q.js} +2 -2
- package/dist/cdn/{XUQAYEQ6.js → QSM7LMGZ.js} +2 -2
- package/dist/cdn/{WT34MLXU.js → REMEYP6N.js} +2 -2
- package/dist/cdn/{UA2H4VN5.js → RFMOKDOF.js} +2 -2
- package/dist/cdn/{MWRZPTNS.js → RNXSFATM.js} +2 -2
- package/dist/cdn/{BUAKJ3P3.js → RURKZO7X.js} +2 -2
- package/dist/cdn/{VDHVIFNX.js → S2O5QLCT.js} +2 -2
- package/dist/cdn/{L3VADUDD.js → SHCBXBY3.js} +2 -2
- package/dist/cdn/SLDQ2YZY.js +4 -0
- package/dist/cdn/{QEUOOHFZ.js → SWDKYZ6Z.js} +2 -2
- package/dist/cdn/{HCWL6CLW.js → T3BMQYR2.js} +2 -2
- package/dist/cdn/{TK5LJKKZ.js → TG4WOIVN.js} +2 -2
- package/dist/cdn/{LNTAENM3.js → TJN54QWM.js} +2 -2
- package/dist/cdn/{FSXC25CK.js → TNVEJWIO.js} +2 -2
- package/dist/cdn/{ZSLEMX43.js → TRPGUDFV.js} +2 -2
- package/dist/cdn/{EZOOR7JX.js → TXZALV35.js} +2 -2
- package/dist/cdn/{G2YUVF2G.js → U2HHRTN2.js} +2 -2
- package/dist/cdn/{FMGROXJF.js → V2RJSRTT.js} +2 -2
- package/dist/cdn/{EFAEF7BP.js → V45UQX3A.js} +2 -2
- package/dist/cdn/{YKA3LQRU.js → V4COQWPL.js} +2 -2
- package/dist/cdn/{4SMGMTCR.js → V5ZNHCME.js} +2 -2
- package/dist/cdn/{AKHLLC2Q.js → VIDQXKDI.js} +2 -2
- package/dist/cdn/{F73UZHT5.js → VQD7JRM4.js} +2 -2
- package/dist/cdn/{RVFPHHL2.js → VXVE4ZXP.js} +2 -2
- package/dist/cdn/{K7F5M66S.js → W3XQBJXS.js} +2 -2
- package/dist/cdn/WG47QYRW.js +4 -0
- package/dist/cdn/{RALVTFOZ.js → WQJO5G7X.js} +2 -2
- package/dist/cdn/{5QLIBAHX.js → WUICCK44.js} +2 -2
- package/dist/cdn/{ZV5RZBYN.js → WY2EGIGS.js} +2 -2
- package/dist/cdn/{GFZEUBYN.js → XFRS3WPC.js} +2 -2
- package/dist/cdn/{4IVF56FV.js → XRRL7PHW.js} +2 -2
- package/dist/cdn/{F25ZYGOB.js → XUU76GOK.js} +2 -2
- package/dist/cdn/{B4VN3JAQ.js → Y3HMAR44.js} +1 -1
- package/dist/cdn/{QBP4ZPEY.js → Y5DTQNYQ.js} +2 -2
- package/dist/cdn/{6BNKLHHO.js → Y5TCYX4Y.js} +2 -2
- package/dist/cdn/{XQ5SHXYU.js → YPOT4P5O.js} +2 -2
- package/dist/cdn/{T3RJNBCT.js → Z5HH6M3E.js} +2 -2
- package/dist/cdn/{CJIDMDZA.js → Z5JQ33M4.js} +2 -2
- package/dist/cdn/{TWAC5OEP.js → ZAORUVUH.js} +2 -2
- package/dist/cdn/{JWWF5QWJ.js → ZDO5M5ZH.js} +2 -2
- package/dist/cdn/{EOI2WJEO.js → ZEVG6CNZ.js} +2 -2
- package/dist/cdn/{JLQNAXVY.js → ZHMO3DWS.js} +2 -2
- package/dist/cdn/{QGDMS6EA.js → ZS3C5VPV.js} +2 -2
- package/dist/cdn/{PTWQKH7N.js → ZUXJIOON.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +123 -128
- 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/AreaMeasurement3dViewModel.d.ts +2 -8
- package/dist/components/arcgis-area-measurement-3d/customElement.js +9 -9
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +2 -8
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -3
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-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 +2 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +15 -15
- 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.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.js +41 -28
- 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 +3 -9
- package/dist/components/arcgis-slice/customElement.js +6 -3
- 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 +3 -3
- package/dist/docs/docs.json +2 -2
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/support/AnalysisViewModel.d.ts +10 -13
- package/package.json +3 -3
- package/dist/cdn/4Q6PGIFK.js +0 -4
- package/dist/cdn/DM77T47F.js +0 -4
- package/dist/cdn/G4YI64GR.js +0 -4
- package/dist/cdn/GIRB3I36.js +0 -4
- package/dist/cdn/RCP73QYR.js +0 -4
- package/dist/cdn/VGUF7FV6.js +0 -4
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.34/esri/copyright.txt for details.
|
|
5
|
-
v4.34.0-next.
|
|
5
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
4
|
-
v4.34.0-next.
|
|
4
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.3 */
|
|
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
|
|
@@ -1,19 +1,14 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
import { default as AreaMeasurementAnalysis } from '@arcgis/core/analysis/AreaMeasurementAnalysis.js';
|
|
3
3
|
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
4
|
-
import {
|
|
4
|
+
import { AnalysisViewModel } from '../../support/AnalysisViewModel';
|
|
5
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
6
|
export interface Measurement {
|
|
11
7
|
readonly mode: MeasurementModeString;
|
|
12
8
|
readonly area: MeasurementValue<__esri.Area>;
|
|
13
9
|
readonly perimeter: MeasurementValue<__esri.Length>;
|
|
14
10
|
}
|
|
15
|
-
export default class AreaMeasurement3dViewModel extends AnalysisViewModel<SceneView, AreaMeasurementAnalysis>
|
|
16
|
-
constructor(properties?: Partial<ConstructProperties>);
|
|
11
|
+
export default class AreaMeasurement3dViewModel extends AnalysisViewModel<SceneView, AreaMeasurementAnalysis> {
|
|
17
12
|
initialize(): void;
|
|
18
13
|
get state(): Exclude<MeasurementState, "unsupported">;
|
|
19
14
|
get displayState(): MeasurementState;
|
|
@@ -42,4 +37,3 @@ export default class AreaMeasurement3dViewModel extends AnalysisViewModel<SceneV
|
|
|
42
37
|
protected readonly unsupportedErrorMessage = "The Area Measurement 3D component is only supported in 3D views.";
|
|
43
38
|
protected constructAnalysis(): AreaMeasurementAnalysis;
|
|
44
39
|
}
|
|
45
|
-
export {};
|
|
@@ -4,18 +4,18 @@ import { LitElement as g, createEvent as f, noShadowRoot as w, nothing as v, saf
|
|
|
4
4
|
import { usePropertyChange as M } from "@arcgis/lumina/controllers";
|
|
5
5
|
import { u as O } from "../../chunks/useT9n.js";
|
|
6
6
|
import { m as $ } from "../../chunks/useViewModel.js";
|
|
7
|
-
import { g as
|
|
7
|
+
import { g as m } from "../../chunks/globalCss.js";
|
|
8
8
|
import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
import U from "@arcgis/core/analysis/AreaMeasurementAnalysis.js";
|
|
10
10
|
import { getDefaultUnitForView as V } from "@arcgis/core/applications/Components/getDefaultUnits.js";
|
|
11
11
|
import { property as o, subclass as _ } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
12
12
|
import { watch as D } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
13
|
import { A as C } from "../../chunks/AnalysisViewModel.js";
|
|
14
|
-
import { g as
|
|
14
|
+
import { g as p, a as d } from "../../chunks/measurementUtils.js";
|
|
15
15
|
import { hasValidAreaResult as L } from "@arcgis/core/applications/Components/analysisUtils.js";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
18
|
-
v4.34.0-next.
|
|
18
|
+
v4.34.0-next.3 */
|
|
19
19
|
const P = A`@layer{arcgis-area-measurement-3d{display:block}.arcgis-area-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`;
|
|
20
20
|
var S = Object.defineProperty, E = Object.getOwnPropertyDescriptor, n = (e, t, s, a) => {
|
|
21
21
|
for (var r = a > 1 ? void 0 : a ? E(t, s) : t, l = e.length - 1, u; l >= 0; l--)
|
|
@@ -23,8 +23,8 @@ var S = Object.defineProperty, E = Object.getOwnPropertyDescriptor, n = (e, t, s
|
|
|
23
23
|
return a && r && S(t, s, r), r;
|
|
24
24
|
};
|
|
25
25
|
let i = class extends C {
|
|
26
|
-
constructor(
|
|
27
|
-
super(
|
|
26
|
+
constructor() {
|
|
27
|
+
super(...arguments), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Area Measurement 3D component is only supported in 3D views.";
|
|
28
28
|
}
|
|
29
29
|
initialize() {
|
|
30
30
|
this.addHandles(
|
|
@@ -61,8 +61,8 @@ let i = class extends C {
|
|
|
61
61
|
const { analysisView: e } = this, t = e?.result, s = t?.mode ?? "euclidean", a = e != null && L(e);
|
|
62
62
|
return {
|
|
63
63
|
mode: s,
|
|
64
|
-
area:
|
|
65
|
-
perimeter:
|
|
64
|
+
area: p(t?.area, a),
|
|
65
|
+
perimeter: p(t?.perimeter, a)
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
get unitOptions() {
|
|
@@ -152,8 +152,8 @@ class j extends g {
|
|
|
152
152
|
const { messages: t, unit: s, unitOptions: a, viewModel: r } = this, { measurement: l, state: u } = r;
|
|
153
153
|
return y`<div aria-label=${t.componentLabel ?? v} class=${b({
|
|
154
154
|
[x.base]: !0,
|
|
155
|
-
[
|
|
156
|
-
[
|
|
155
|
+
[m.widget]: !0,
|
|
156
|
+
[m.panel]: !0
|
|
157
157
|
})} role=presentation><arcgis-measurement-content .state=${r.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[
|
|
158
158
|
{
|
|
159
159
|
title: t.area,
|
|
@@ -6,7 +6,7 @@ import { m as o } 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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.3 */
|
|
10
10
|
const n = h`@layer{arcgis-attachments{display:block}}`, r = o(i);
|
|
11
11
|
class l extends s {
|
|
12
12
|
constructor() {
|
|
@@ -13,7 +13,7 @@ import { c as a } from "../../chunks/basemap-gallery-resources.js";
|
|
|
13
13
|
import { css as L } from "@lit/reactive-element/css-tag.js";
|
|
14
14
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
15
15
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
16
|
-
v4.34.0-next.
|
|
16
|
+
v4.34.0-next.3 */
|
|
17
17
|
const D = L`@layer{arcgis-basemap-gallery{display:block}}`, A = B(f), m = {
|
|
18
18
|
// Below this width, items are displayed as a single column and the thumbnail is placed above the title.
|
|
19
19
|
small: 200,
|
|
@@ -8,7 +8,7 @@ import { c as i } from "../../chunks/basemap-gallery-resources.js";
|
|
|
8
8
|
import { g as A } from "../../chunks/component-utils.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.3 */
|
|
12
12
|
function _(e) {
|
|
13
13
|
return e.portalItem?.type === "Web Scene" || e.referenceLayers.some((t) => t.type === "scene");
|
|
14
14
|
}
|
|
@@ -8,7 +8,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { c as d } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.3 */
|
|
12
12
|
const n = h`@layer{arcgis-basemap-layer-list{display:block}}`, c = o(s);
|
|
13
13
|
class g extends r {
|
|
14
14
|
constructor() {
|
|
@@ -11,7 +11,7 @@ import { g as $ } from "../../chunks/globalCss.js";
|
|
|
11
11
|
import { css as L } 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.34/esri/copyright.txt for details.
|
|
14
|
-
v4.34.0-next.
|
|
14
|
+
v4.34.0-next.3 */
|
|
15
15
|
const A = L`@layer{arcgis-basemap-toggle{display:block}.esri-basemap-toggle__title-wrap{text-wrap:wrap}}`, s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
|
|
16
16
|
base: s,
|
|
17
17
|
secondaryBasemapImage: `${s}__image--secondary`,
|
|
@@ -8,7 +8,7 @@ import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { c as d } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.3 */
|
|
12
12
|
const n = r`@layer{arcgis-bookmarks{display:block}}`, m = h(s);
|
|
13
13
|
class g extends o {
|
|
14
14
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { m as h } 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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.3 */
|
|
10
10
|
const a = r`@layer{arcgis-building-explorer{display:block}}`, d = h(s);
|
|
11
11
|
class n extends t {
|
|
12
12
|
constructor() {
|
|
@@ -8,7 +8,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { c as d } from "../../chunks/createCloseEvent.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.3 */
|
|
12
12
|
const c = h`@layer{arcgis-catalog-layer-list{display:block}}`, n = r(s);
|
|
13
13
|
class g extends o {
|
|
14
14
|
constructor() {
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
13
|
+
v4.34.0-next.3 */
|
|
14
14
|
const $ = y`@layer{arcgis-compass{display:block}}`, r = "esri-compass", a = {
|
|
15
15
|
base: r,
|
|
16
16
|
iconContainer: `${r}__icon-container`
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.3 */
|
|
10
10
|
const d = l`@layer{arcgis-daylight{display:block}}`, r = h(i);
|
|
11
11
|
class n extends t {
|
|
12
12
|
constructor() {
|
package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
import { default as DirectLineMeasurementAnalysis } from '@arcgis/core/analysis/DirectLineMeasurementAnalysis.js';
|
|
3
3
|
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
4
|
-
import {
|
|
4
|
+
import { AnalysisViewModel } from '../../support/AnalysisViewModel';
|
|
5
5
|
import { MeasurementModeString, MeasurementState, MeasurementValue } from '../../support/measurementUtils';
|
|
6
|
-
interface ConstructProperties extends AnalysisViewModelConstructProperties<SceneView, DirectLineMeasurementAnalysis> {
|
|
7
|
-
unitOptions: __esri.SystemOrLengthUnit[];
|
|
8
|
-
unit: __esri.SystemOrLengthUnit;
|
|
9
|
-
}
|
|
10
6
|
export interface Measurement {
|
|
11
7
|
readonly mode: MeasurementModeString;
|
|
12
8
|
readonly directDistance: MeasurementValue<__esri.Length>;
|
|
@@ -14,8 +10,7 @@ export interface Measurement {
|
|
|
14
10
|
readonly verticalDistance: MeasurementValue<__esri.Length>;
|
|
15
11
|
}
|
|
16
12
|
export type State = "disabled" | "measured" | "measuring" | "ready";
|
|
17
|
-
export default class DirectLineMeasurement3DViewModel extends AnalysisViewModel<SceneView, DirectLineMeasurementAnalysis>
|
|
18
|
-
constructor(properties?: Partial<ConstructProperties>);
|
|
13
|
+
export default class DirectLineMeasurement3DViewModel extends AnalysisViewModel<SceneView, DirectLineMeasurementAnalysis> {
|
|
19
14
|
initialize(): void;
|
|
20
15
|
get state(): Exclude<MeasurementState, "unsupported">;
|
|
21
16
|
get displayState(): MeasurementState;
|
|
@@ -44,4 +39,3 @@ export default class DirectLineMeasurement3DViewModel extends AnalysisViewModel<
|
|
|
44
39
|
protected readonly unsupportedErrorMessage = "The Direct Line Measurement 3D component is only supported in 3D views.";
|
|
45
40
|
protected constructAnalysis(): DirectLineMeasurementAnalysis;
|
|
46
41
|
}
|
|
47
|
-
export {};
|
|
@@ -15,7 +15,7 @@ import { A as C } from "../../chunks/AnalysisViewModel.js";
|
|
|
15
15
|
import { g as c, m } from "../../chunks/measurementUtils.js";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
18
|
-
v4.34.0-next.
|
|
18
|
+
v4.34.0-next.3 */
|
|
19
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
20
|
var S = Object.defineProperty, E = Object.getOwnPropertyDescriptor, r = (e, t, s, a) => {
|
|
21
21
|
for (var n = a > 1 ? void 0 : a ? E(t, s) : t, l = e.length - 1, u; l >= 0; l--)
|
|
@@ -23,8 +23,8 @@ var S = Object.defineProperty, E = Object.getOwnPropertyDescriptor, r = (e, t, s
|
|
|
23
23
|
return a && n && S(t, s, n), n;
|
|
24
24
|
};
|
|
25
25
|
let i = class extends C {
|
|
26
|
-
constructor(
|
|
27
|
-
super(
|
|
26
|
+
constructor() {
|
|
27
|
+
super(...arguments), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Direct Line Measurement 3D component is only supported in 3D views.";
|
|
28
28
|
}
|
|
29
29
|
initialize() {
|
|
30
30
|
this.addHandles(
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
17
|
-
v4.34.0-next.
|
|
17
|
+
v4.34.0-next.3 */
|
|
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" },
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
12
|
-
v4.34.0-next.
|
|
12
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
18
|
-
v4.34.0-next.
|
|
18
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
14
|
-
v4.34.0-next.
|
|
14
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
13
|
+
v4.34.0-next.3 */
|
|
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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.3 */
|
|
10
10
|
const l = n`@layer{arcgis-legend{display:block}}`, d = o(i);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { AnalysisViewModel
|
|
1
|
+
import { AnalysisViewModel } from '../../support/AnalysisViewModel';
|
|
2
2
|
import { default as SceneView } from '@arcgis/core/views/SceneView';
|
|
3
3
|
import { default as LineOfSightAnalysis } from '@arcgis/core/analysis/LineOfSightAnalysis.js';
|
|
4
|
-
declare class LineOfSightViewModel extends AnalysisViewModel<SceneView, LineOfSightAnalysis>
|
|
5
|
-
constructor(properties?: Partial<ConstructProperties<SceneView, LineOfSightAnalysis>>);
|
|
4
|
+
declare class LineOfSightViewModel extends AnalysisViewModel<SceneView, LineOfSightAnalysis> {
|
|
6
5
|
get state(): "created" | "creating" | "disabled" | "ready";
|
|
7
6
|
protected readonly supportedViewType = "3d";
|
|
8
7
|
protected readonly unsupportedErrorMessage = "The Line Of Sight component is only supported in 3D views.";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as f } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as l } from "lit-html";
|
|
3
|
-
import { usePropertyChange as
|
|
4
|
-
import { LitElement as
|
|
3
|
+
import { usePropertyChange as m } from "@arcgis/lumina/controllers";
|
|
4
|
+
import { LitElement as y, createEvent as v, noShadowRoot as _, safeClassMap as n } from "@arcgis/lumina";
|
|
5
5
|
import { css as w } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
import { g } from "../../chunks/globalCss.js";
|
|
7
7
|
import { u as $ } from "../../chunks/useT9n.js";
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
14
|
-
v4.34.0-next.
|
|
14
|
+
v4.34.0-next.3 */
|
|
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`,
|
|
@@ -21,14 +21,14 @@ const C = w`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__con
|
|
|
21
21
|
hintText: `${a}__hint-text`,
|
|
22
22
|
newAnalysisButton: `${a}__new-analysis-button`
|
|
23
23
|
};
|
|
24
|
-
var S = Object.defineProperty, D = Object.getOwnPropertyDescriptor, u = (
|
|
25
|
-
for (var
|
|
26
|
-
(p =
|
|
27
|
-
return o &&
|
|
24
|
+
var S = Object.defineProperty, D = Object.getOwnPropertyDescriptor, u = (t, e, i, o) => {
|
|
25
|
+
for (var s = o > 1 ? void 0 : o ? D(e, i) : e, d = t.length - 1, p; d >= 0; d--)
|
|
26
|
+
(p = t[d]) && (s = (o ? p(e, i, s) : p(s)) || s);
|
|
27
|
+
return o && s && S(e, i, s), s;
|
|
28
28
|
};
|
|
29
29
|
let c = class extends M {
|
|
30
|
-
constructor(
|
|
31
|
-
super(
|
|
30
|
+
constructor() {
|
|
31
|
+
super(...arguments), this.supportedViewType = "3d", this.unsupportedErrorMessage = "The Line Of Sight component is only supported in 3D views.";
|
|
32
32
|
}
|
|
33
33
|
get state() {
|
|
34
34
|
return this.disabled || !this.ready ? "disabled" : this.operationState === "active" ? "creating" : this.analysis.valid ? "created" : "ready";
|
|
@@ -39,8 +39,8 @@ let c = class extends M {
|
|
|
39
39
|
clearAnalysis() {
|
|
40
40
|
this.analysis.observer = null, this.analysis.targets.removeAll();
|
|
41
41
|
}
|
|
42
|
-
async place(
|
|
43
|
-
return await this.analysisView?.place(
|
|
42
|
+
async place(t) {
|
|
43
|
+
return await this.analysisView?.place(t);
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
u([
|
|
@@ -50,9 +50,9 @@ c = u([
|
|
|
50
50
|
A("esri.components.LineOfSight.LineOfSightViewModel")
|
|
51
51
|
], c);
|
|
52
52
|
const L = b(c);
|
|
53
|
-
class V extends
|
|
53
|
+
class V extends y {
|
|
54
54
|
constructor() {
|
|
55
|
-
super(...arguments), this.viewModel = L(this), this._messages = $({ blocking: !0 }), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.icon = "line-of-sight", this.position = "bottom-left", this.arcgisPropertyChange =
|
|
55
|
+
super(...arguments), this.viewModel = L(this), this._messages = $({ blocking: !0 }), this.view = this.viewModel.view, this.autoDestroyDisabled = !1, this.icon = "line-of-sight", this.position = "bottom-left", this.arcgisPropertyChange = m()("analysis", "state"), this.arcgisReady = v();
|
|
56
56
|
}
|
|
57
57
|
static {
|
|
58
58
|
this.properties = { analysis: 32, autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, position: 1, referenceElement: 1, state: 32, _supported: 16 };
|
|
@@ -107,8 +107,8 @@ class V extends m {
|
|
|
107
107
|
}, primary: !0, disabled: e === "disabled", children: this._messages.newAnalysis })}</div></div>`;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
function h({ className:
|
|
111
|
-
return l`<calcite-button .appearance=${i ? "solid" : "outline-fill"} class=${n(
|
|
110
|
+
function h({ className: t, onClick: e, primary: i, disabled: o, children: s }) {
|
|
111
|
+
return l`<calcite-button .appearance=${i ? "solid" : "outline-fill"} class=${n(t)} .disabled=${o} @click=${e}>${s}</calcite-button>`;
|
|
112
112
|
}
|
|
113
113
|
f("arcgis-line-of-sight", V);
|
|
114
114
|
export {
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.3 */
|
|
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
|
/**
|