@arcgis/map-components 4.33.0-next.138 → 4.33.0-next.140
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{G7FA2SZX.js → 2JFUWEF7.js} +2 -2
- package/dist/cdn/{WTLPSGCB.js → 32CU72EE.js} +2 -2
- package/dist/cdn/{YB6ZBOCX.js → 424AJLGZ.js} +2 -2
- package/dist/cdn/{S7S6ARM2.js → 46IBEPH2.js} +2 -2
- package/dist/cdn/{N36AOA4W.js → 56IVAE2L.js} +2 -2
- package/dist/cdn/{54A6QQ5P.js → 5GE5POTI.js} +2 -2
- package/dist/cdn/{UHZ772ND.js → 5NU3FNTP.js} +2 -2
- package/dist/cdn/{XQWUSMGI.js → 64FPG72J.js} +2 -2
- package/dist/cdn/{YXY5RVBB.js → 6AA5ANE6.js} +2 -2
- package/dist/cdn/{5DLF2FRD.js → 6HGSC57K.js} +2 -2
- package/dist/cdn/{P2ORI2MU.js → 6RVW2CCZ.js} +2 -2
- package/dist/cdn/{KEI26URD.js → 6WRC57TQ.js} +1 -1
- package/dist/cdn/{XTNP3TJF.js → 7RLP4SIT.js} +2 -2
- package/dist/cdn/{3F4Z4TXU.js → A4S6JPZC.js} +2 -2
- package/dist/cdn/{ZEX2ON7O.js → A7LKPUUU.js} +2 -2
- package/dist/cdn/{RN2REPX3.js → AHBFRA36.js} +2 -2
- package/dist/cdn/{ZBFPM6CM.js → ALNRIY57.js} +2 -2
- package/dist/cdn/{ZO4WI4NO.js → B33CZ6BB.js} +2 -2
- package/dist/cdn/{P4OU64OH.js → B5453IKG.js} +2 -2
- package/dist/cdn/{EL4W5FAJ.js → BKO7OWAB.js} +2 -2
- package/dist/cdn/{O7YEMKLH.js → BXMJRFBC.js} +2 -2
- package/dist/cdn/{RSXOP3R5.js → C3GCADGR.js} +1 -1
- package/dist/cdn/{TLXRUB2I.js → CKTHLF45.js} +2 -2
- package/dist/cdn/{PRZRGIJO.js → CTQY2BSW.js} +2 -2
- package/dist/cdn/{LNOMQKUY.js → D3VPYU43.js} +2 -2
- package/dist/cdn/{C677Z3XS.js → DGBRCKQL.js} +2 -2
- package/dist/cdn/{VCEXQIAL.js → DIOAIAVN.js} +2 -2
- package/dist/cdn/{QINX3JDV.js → DLG3WRHW.js} +2 -2
- package/dist/cdn/{N4JEEG6U.js → DRRPYFW2.js} +2 -2
- package/dist/cdn/{A5AIKEDX.js → DUWBT77N.js} +2 -2
- package/dist/cdn/{MUPWF5M2.js → EFBFAHGJ.js} +2 -2
- package/dist/cdn/{7FFIVQF6.js → EFQIHLEF.js} +2 -2
- package/dist/cdn/{3PXEJNET.js → EH2RGK4F.js} +2 -2
- package/dist/cdn/{HT7HVKXJ.js → EHDBMMFO.js} +2 -2
- package/dist/cdn/{6Q5DEPLW.js → EQ434RCV.js} +2 -2
- package/dist/cdn/{XDDWEQM3.js → ESCG6XAF.js} +2 -2
- package/dist/cdn/{QBPIXB5K.js → EW6QPP2K.js} +2 -2
- package/dist/cdn/F2HMGR2X.js +4 -0
- package/dist/cdn/{TBKYTCWV.js → FBBSYFUO.js} +2 -2
- package/dist/cdn/{LQEPXN57.js → FVEA22G7.js} +2 -2
- package/dist/cdn/{UERCPIN5.js → GBBOQASH.js} +2 -2
- package/dist/cdn/{LT4K76AI.js → GG2N7HQ6.js} +2 -2
- package/dist/cdn/{TN3WLCHJ.js → GIC2UZ5S.js} +1 -1
- package/dist/cdn/{DJAPPGGB.js → GUJZTDSD.js} +2 -2
- package/dist/cdn/{HXOPYRM2.js → HDYVWQZH.js} +2 -2
- package/dist/cdn/{Q3DX3LMR.js → HITUAE6J.js} +2 -2
- package/dist/cdn/{GEVMX2UO.js → I2G54F3B.js} +2 -2
- package/dist/cdn/{5J7OJ4Z6.js → IYKYSBTA.js} +2 -2
- package/dist/cdn/{SUEDRTNE.js → J6Q655WQ.js} +2 -2
- package/dist/cdn/{5KYPK2BL.js → JKF3I2CK.js} +2 -2
- package/dist/cdn/{BQYQ3LTP.js → JUOE33A2.js} +2 -2
- package/dist/cdn/{UTX6MR4S.js → L22JMH2F.js} +2 -2
- package/dist/cdn/{L5J24G5M.js → LIKLJO7E.js} +2 -2
- package/dist/cdn/{5PFB6EGX.js → LLYIQVLR.js} +2 -2
- package/dist/cdn/{A4ZNGLT2.js → MHOA5JVS.js} +2 -2
- package/dist/cdn/{ST2CRGPM.js → MISSATYX.js} +2 -2
- package/dist/cdn/{4KXQH47P.js → MLSCW6WD.js} +2 -2
- package/dist/cdn/{T5JY4NUR.js → NJMGSUTS.js} +1 -1
- package/dist/cdn/{HBVJIRGN.js → NNL7JOTU.js} +2 -2
- package/dist/cdn/{SNF6PQDA.js → NRK5TB5T.js} +2 -2
- package/dist/cdn/{VKAIYWB6.js → NVZVWBOW.js} +2 -2
- package/dist/cdn/{7C6JQ4XM.js → NZUYAQ5A.js} +2 -2
- package/dist/cdn/{NA7YRW3M.js → O72TF3US.js} +2 -2
- package/dist/cdn/OGBSA5PM.js +4 -0
- package/dist/cdn/{D7MSIIVJ.js → OGTDSDA2.js} +2 -2
- package/dist/cdn/{IH32IEWT.js → OKLJHXYU.js} +2 -2
- package/dist/cdn/{SPPQB6HJ.js → ORFB5FWG.js} +2 -2
- package/dist/cdn/{LIQITLFR.js → OZOQ4U3W.js} +2 -2
- package/dist/cdn/{2RYHZPSQ.js → P4B4SHHA.js} +2 -2
- package/dist/cdn/{BZ5KBRTH.js → PGTKJ4DI.js} +2 -2
- package/dist/cdn/{JGCDGP2X.js → PJCDYD2F.js} +2 -2
- package/dist/cdn/{U2DRGZMR.js → POBELMDR.js} +2 -2
- package/dist/cdn/{UT2TU4IE.js → PVOTQK4X.js} +2 -2
- package/dist/cdn/{GY5GZLXV.js → Q3HVS4KQ.js} +2 -2
- package/dist/cdn/{HMR3LZEC.js → Q42KKEXC.js} +2 -2
- package/dist/cdn/{73CNLONW.js → QFNAVLMT.js} +2 -2
- package/dist/cdn/{6VOXDT2D.js → QGPI4J5G.js} +2 -2
- package/dist/cdn/{ZD62VL5V.js → QRE5SAQJ.js} +2 -2
- package/dist/cdn/{AV6YUXI6.js → QYAGRZ7P.js} +2 -2
- package/dist/cdn/{SW63GGTX.js → R7EBCRGC.js} +2 -2
- package/dist/cdn/{7Q2OQGBB.js → RKKG2WND.js} +2 -2
- package/dist/cdn/{BNCLTRYH.js → RVJAIA2N.js} +1 -1
- package/dist/cdn/{AIYUDCDQ.js → S5356C3V.js} +2 -2
- package/dist/cdn/{V7RU2UNT.js → SIOA737T.js} +2 -2
- package/dist/cdn/{VXE3QTOJ.js → SLLIGUVC.js} +2 -2
- package/dist/cdn/{CUDJHVRU.js → SVPPODGL.js} +2 -2
- package/dist/cdn/{XJG23KZB.js → T6VXIITI.js} +2 -2
- package/dist/cdn/{XGAGBN4O.js → TCZOMQ5E.js} +2 -2
- package/dist/cdn/{A575HHDP.js → TE34FYWB.js} +2 -2
- package/dist/cdn/{HCS23COA.js → TIDVLEDT.js} +2 -2
- package/dist/cdn/{FOVCH7VW.js → TOFJAYAQ.js} +2 -2
- package/dist/cdn/{NIB3ARH5.js → TSRLNXZE.js} +2 -2
- package/dist/cdn/{2TBOD7GJ.js → UA6FRIEM.js} +2 -2
- package/dist/cdn/{3RYCWP6E.js → UDW7YRBK.js} +2 -2
- package/dist/cdn/{YCQPBKUP.js → UFPW2N3R.js} +2 -2
- package/dist/cdn/{RPQOQQSL.js → UUPSLDJ3.js} +2 -2
- package/dist/cdn/{TGOTZ7AI.js → UX65HS5G.js} +2 -2
- package/dist/cdn/{C722QWYO.js → V4WHPMPE.js} +2 -2
- package/dist/cdn/{JYTTN5LU.js → VIZJOXOM.js} +2 -2
- package/dist/cdn/{3MPFDWBN.js → VMJ3DOPP.js} +2 -2
- package/dist/cdn/{FY5ET4WM.js → WJK3NXUU.js} +2 -2
- package/dist/cdn/WJPPCMJ7.js +4 -0
- package/dist/cdn/{NHSTTG5C.js → WQWH4BW5.js} +1 -1
- package/dist/cdn/{MNSXEFSD.js → WWGJWF7S.js} +2 -2
- package/dist/cdn/{KM5OVC7O.js → X7GNIBKD.js} +2 -2
- package/dist/cdn/{CV2IWESX.js → XDYZ3CAG.js} +2 -2
- package/dist/cdn/{LUWRRPTC.js → XFUQOHJ2.js} +2 -2
- package/dist/cdn/{4NU2LEDY.js → XGRPKFPA.js} +2 -2
- package/dist/cdn/{GDRUHH5B.js → XL722BAJ.js} +2 -2
- package/dist/cdn/{EDORIH5N.js → XT5H4DUM.js} +1 -1
- package/dist/cdn/{GURMXFUT.js → Y3ZCFSR7.js} +2 -2
- package/dist/cdn/{3HNXL7RL.js → YDCNMMFJ.js} +2 -2
- package/dist/cdn/{QXPX2NPW.js → YI66Y2D7.js} +2 -2
- package/dist/cdn/{MEUUSKT3.js → YJX6SFBR.js} +2 -2
- package/dist/cdn/{2ICV3ZP6.js → YLES7HXC.js} +2 -2
- package/dist/cdn/{VUGWIA5S.js → YYMNME2D.js} +2 -2
- package/dist/cdn/{VBIWNOWT.js → ZN7OXNFM.js} +2 -2
- package/dist/cdn/{UFB7UU6E.js → ZTQ2ISV6.js} +1 -1
- package/dist/cdn/{HUYGZMDR.js → ZWHK3LN2.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +47 -46
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +2 -0
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +2 -0
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +64 -62
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +2 -0
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +37 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +2 -0
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/SliceViewModel.d.ts +0 -13
- package/dist/components/arcgis-slice/customElement.d.ts +44 -13
- package/dist/components/arcgis-slice/customElement.js +34 -37
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +51 -27
- package/dist/docs/docs.json +45 -46
- package/dist/docs/vscode.html-custom-data.json +3 -3
- package/dist/docs/web-types.json +9 -11
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/package.json +3 -3
- package/dist/cdn/JR37HKLZ.js +0 -4
- package/dist/cdn/L66H2ALJ.js +0 -4
- package/dist/cdn/Q2G3EZNU.js +0 -4
package/dist/docs/docs.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2025-05-
|
|
2
|
+
"timestamp": "2025-05-22T18:59:20",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
|
5
|
-
"version": "4.33.0-next.
|
|
5
|
+
"version": "4.33.0-next.140",
|
|
6
6
|
"typescriptVersion": "5.8.3"
|
|
7
7
|
},
|
|
8
8
|
"components": [
|
|
@@ -3821,7 +3821,12 @@
|
|
|
3821
3821
|
"mutable": true,
|
|
3822
3822
|
"reflectToAttr": false,
|
|
3823
3823
|
"docs": "This function provides the ability to override either the\n[MapView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo) or\n[SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks.html#goToOverride)",
|
|
3824
|
-
"docsTags": [
|
|
3824
|
+
"docsTags": [
|
|
3825
|
+
{
|
|
3826
|
+
"name": "since",
|
|
3827
|
+
"text": "4.33"
|
|
3828
|
+
}
|
|
3829
|
+
],
|
|
3825
3830
|
"values": [],
|
|
3826
3831
|
"optional": true,
|
|
3827
3832
|
"required": false
|
|
@@ -5747,7 +5752,12 @@
|
|
|
5747
5752
|
"mutable": true,
|
|
5748
5753
|
"reflectToAttr": false,
|
|
5749
5754
|
"docs": "This function provides the ability to override either the\n[MapView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo) or\n[SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Compass-CompassViewModel.html#goToOverride)",
|
|
5750
|
-
"docsTags": [
|
|
5755
|
+
"docsTags": [
|
|
5756
|
+
{
|
|
5757
|
+
"name": "since",
|
|
5758
|
+
"text": "4.33"
|
|
5759
|
+
}
|
|
5760
|
+
],
|
|
5751
5761
|
"values": [],
|
|
5752
5762
|
"optional": true,
|
|
5753
5763
|
"required": false
|
|
@@ -6228,7 +6238,12 @@
|
|
|
6228
6238
|
"mutable": true,
|
|
6229
6239
|
"reflectToAttr": false,
|
|
6230
6240
|
"docs": "This function provides the ability to override either the\n[MapView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo) or\n[SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CoordinateConversion.html#goToOverride)",
|
|
6231
|
-
"docsTags": [
|
|
6241
|
+
"docsTags": [
|
|
6242
|
+
{
|
|
6243
|
+
"name": "since",
|
|
6244
|
+
"text": "4.33"
|
|
6245
|
+
}
|
|
6246
|
+
],
|
|
6232
6247
|
"values": [],
|
|
6233
6248
|
"optional": true,
|
|
6234
6249
|
"required": false
|
|
@@ -7978,7 +7993,12 @@
|
|
|
7978
7993
|
"mutable": true,
|
|
7979
7994
|
"reflectToAttr": false,
|
|
7980
7995
|
"docs": "This function provides the ability to override either the\n[MapView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo) or\n[SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#goToOverride)",
|
|
7981
|
-
"docsTags": [
|
|
7996
|
+
"docsTags": [
|
|
7997
|
+
{
|
|
7998
|
+
"name": "since",
|
|
7999
|
+
"text": "4.33"
|
|
8000
|
+
}
|
|
8001
|
+
],
|
|
7982
8002
|
"values": [],
|
|
7983
8003
|
"optional": true,
|
|
7984
8004
|
"required": false
|
|
@@ -23590,7 +23610,7 @@
|
|
|
23590
23610
|
"overview": "",
|
|
23591
23611
|
"readme": "",
|
|
23592
23612
|
"usage": {},
|
|
23593
|
-
"docs": "The Line Of Sight component is a 3D analysis tool that allows you to perform visibility analysis in a [
|
|
23613
|
+
"docs": "The Line Of Sight component is a 3D analysis tool that allows you to perform\n[line of sight visibility analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)\nin a 3D view. Visibility between a given observer and multiple target points is calculated against the currently\ndisplayed content in the view, including ground, integrated meshes, and 3D objects such as buildings or trees.\n\nThe results from the analysis are displayed as lines, where the visible part, indicating what the observer can see,\nis colored green. Visible targets are displayed with a green sphere and a fully green line of sight.\nThe spheres marking occluded targets are displayed red, as are the occluded parts of the lines of sight.\nWhen the line of sight cannot be calculated, it will be displayed with a gray color. This may happen if either\nthe target or the observer is not in the view.\n\nWhen creating a new line of sight analysis with the component, the first click in the scene creates the\n[observer](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisObserver.html)\nand any further clicks place the [targets](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisTarget.html).\nBoth, observer and target points, can be moved by dragging them. Additionally, the target points can be removed with a right click.",
|
|
23594
23614
|
"docsTags": [
|
|
23595
23615
|
{
|
|
23596
23616
|
"name": "superclass",
|
|
@@ -23618,7 +23638,7 @@
|
|
|
23618
23638
|
},
|
|
23619
23639
|
"mutable": true,
|
|
23620
23640
|
"reflectToAttr": false,
|
|
23621
|
-
"docs": "",
|
|
23641
|
+
"docs": "The [line of sight analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)\nobject being created by the component.",
|
|
23622
23642
|
"docsTags": [
|
|
23623
23643
|
{
|
|
23624
23644
|
"name": "readonly",
|
|
@@ -23826,7 +23846,7 @@
|
|
|
23826
23846
|
},
|
|
23827
23847
|
"mutable": true,
|
|
23828
23848
|
"reflectToAttr": false,
|
|
23829
|
-
"docs": "",
|
|
23849
|
+
"docs": "The component's state. The values mean the following:\n\n* `disabled` - not ready yet\n* `ready` - ready for analysis\n* `creating` - observer/target points are being placed\n* `created` - finished analysis",
|
|
23830
23850
|
"docsTags": [
|
|
23831
23851
|
{
|
|
23832
23852
|
"name": "readonly",
|
|
@@ -23876,7 +23896,7 @@
|
|
|
23876
23896
|
},
|
|
23877
23897
|
"signature": "clear(): Promise<void>",
|
|
23878
23898
|
"parameters": [],
|
|
23879
|
-
"docs": "",
|
|
23899
|
+
"docs": "Clear the current analysis results. After calling this method, the user can set a new observer and targets.",
|
|
23880
23900
|
"docsTags": []
|
|
23881
23901
|
},
|
|
23882
23902
|
{
|
|
@@ -23931,7 +23951,7 @@
|
|
|
23931
23951
|
},
|
|
23932
23952
|
"signature": "continue(): Promise<void>",
|
|
23933
23953
|
"parameters": [],
|
|
23934
|
-
"docs": "",
|
|
23954
|
+
"docs": "After [stop()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/#stop)\nwas called, this method allows to continue the line of sight analysis and add more targets.",
|
|
23935
23955
|
"docsTags": []
|
|
23936
23956
|
},
|
|
23937
23957
|
{
|
|
@@ -23977,7 +23997,7 @@
|
|
|
23977
23997
|
},
|
|
23978
23998
|
"signature": "start(): Promise<void>",
|
|
23979
23999
|
"parameters": [],
|
|
23980
|
-
"docs": "",
|
|
24000
|
+
"docs": "Start a new line of sight analysis.",
|
|
23981
24001
|
"docsTags": []
|
|
23982
24002
|
},
|
|
23983
24003
|
{
|
|
@@ -24000,7 +24020,7 @@
|
|
|
24000
24020
|
},
|
|
24001
24021
|
"signature": "stop(): Promise<void>",
|
|
24002
24022
|
"parameters": [],
|
|
24003
|
-
"docs": "",
|
|
24023
|
+
"docs": "Stop the current line of sight analysis, keeping the results in the view.\nUsers can still interact with existing targets and the observer but they cannot place new target points.",
|
|
24004
24024
|
"docsTags": []
|
|
24005
24025
|
}
|
|
24006
24026
|
],
|
|
@@ -35355,7 +35375,12 @@
|
|
|
35355
35375
|
"mutable": true,
|
|
35356
35376
|
"reflectToAttr": false,
|
|
35357
35377
|
"docs": "This function provides the ability to override either the\n[MapView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#goTo) or\n[SceneView goTo()](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#goTo) methods.\n\n[Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchViewModel.html#goToOverride)",
|
|
35358
|
-
"docsTags": [
|
|
35378
|
+
"docsTags": [
|
|
35379
|
+
{
|
|
35380
|
+
"name": "since",
|
|
35381
|
+
"text": "4.33"
|
|
35382
|
+
}
|
|
35383
|
+
],
|
|
35359
35384
|
"values": [],
|
|
35360
35385
|
"optional": true,
|
|
35361
35386
|
"required": false
|
|
@@ -38935,7 +38960,7 @@
|
|
|
38935
38960
|
"overview": "",
|
|
38936
38961
|
"readme": "",
|
|
38937
38962
|
"usage": {},
|
|
38938
|
-
"docs": "The Slice component is a 3D analysis tool that can be used to reveal occluded content in a [
|
|
38963
|
+
"docs": "The Slice component is a 3D analysis tool that can be used to reveal occluded content in a 3D view. It applies\n[slice analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)\nto any layer type, making it possible to see inside buildings or to explore geological surfaces.\n\nThe slicing [shape](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#shape)\nis always a [plane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html).\nBy default, the plane is either horizontal or vertical. To allow a tilt angle for the plane, set\n[tiltEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#tiltEnabled)\nto `true`. The slice hides any content in front of the surface. The handles on the sides of the plane can be used to adjust\nthe size, heading, tilt, and position of the slice plane.\nThe [SlicePlane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html)\ncan be set or retrieved using the [shape](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#shape) property.\n\nOnce the slice plane is applied, layers can be excluded from the slicing. For example, by excluding the sublayers which include\ncolumns and floor slabs, the inner structure of a building can investigated.",
|
|
38939
38964
|
"docsTags": [
|
|
38940
38965
|
{
|
|
38941
38966
|
"name": "superclass",
|
|
@@ -38963,7 +38988,7 @@
|
|
|
38963
38988
|
},
|
|
38964
38989
|
"mutable": true,
|
|
38965
38990
|
"reflectToAttr": false,
|
|
38966
|
-
"docs": "
|
|
38991
|
+
"docs": "The [slice analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)\nobject being created by the component.",
|
|
38967
38992
|
"docsTags": [],
|
|
38968
38993
|
"values": [],
|
|
38969
38994
|
"optional": true,
|
|
@@ -39045,32 +39070,6 @@
|
|
|
39045
39070
|
"optional": true,
|
|
39046
39071
|
"required": false
|
|
39047
39072
|
},
|
|
39048
|
-
{
|
|
39049
|
-
"name": "hasVoxelLayers",
|
|
39050
|
-
"type": "boolean",
|
|
39051
|
-
"complexType": {
|
|
39052
|
-
"original": "boolean",
|
|
39053
|
-
"resolved": "boolean",
|
|
39054
|
-
"references": {}
|
|
39055
|
-
},
|
|
39056
|
-
"mutable": true,
|
|
39057
|
-
"reflectToAttr": false,
|
|
39058
|
-
"docs": "",
|
|
39059
|
-
"docsTags": [
|
|
39060
|
-
{
|
|
39061
|
-
"name": "readonly",
|
|
39062
|
-
"text": ""
|
|
39063
|
-
}
|
|
39064
|
-
],
|
|
39065
|
-
"default": "false",
|
|
39066
|
-
"values": [
|
|
39067
|
-
{
|
|
39068
|
-
"type": "boolean"
|
|
39069
|
-
}
|
|
39070
|
-
],
|
|
39071
|
-
"optional": true,
|
|
39072
|
-
"required": false
|
|
39073
|
-
},
|
|
39074
39073
|
{
|
|
39075
39074
|
"name": "headingLevel",
|
|
39076
39075
|
"type": "1 | 2 | 3 | 4 | 5 | 6",
|
|
@@ -39295,7 +39294,7 @@
|
|
|
39295
39294
|
},
|
|
39296
39295
|
"mutable": true,
|
|
39297
39296
|
"reflectToAttr": false,
|
|
39298
|
-
"docs": "The shape used to slice elements in a 3D scene
|
|
39297
|
+
"docs": "The shape used to slice elements in a 3D scene. Currently the only supported shape is a plane.\nExample:\n```\n// Clone the shape to modify its properties\nconst shape = slice.shape.clone();\n// Set new values for heading and tilt\nshape.heading = 180;\nshape.tilt = 45;\n// Apply the new shape to the slice component's shape\nslice.shape = shape;\n```",
|
|
39299
39298
|
"docsTags": [],
|
|
39300
39299
|
"values": [],
|
|
39301
39300
|
"optional": true,
|
|
@@ -39312,7 +39311,7 @@
|
|
|
39312
39311
|
"mutable": true,
|
|
39313
39312
|
"attr": "state",
|
|
39314
39313
|
"reflectToAttr": true,
|
|
39315
|
-
"docs": "The
|
|
39314
|
+
"docs": "The component's state. The values mean the following:\n\n* `disabled` - not ready yet\n* `ready` - ready for slicing\n* `slicing` - currently slicing\n* `sliced` - finished slicing",
|
|
39316
39315
|
"docsTags": [],
|
|
39317
39316
|
"values": [
|
|
39318
39317
|
{
|
|
@@ -39383,7 +39382,7 @@
|
|
|
39383
39382
|
},
|
|
39384
39383
|
"signature": "clear(): Promise<void>",
|
|
39385
39384
|
"parameters": [],
|
|
39386
|
-
"docs": "",
|
|
39385
|
+
"docs": "Clear the [shape](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#shape) of the slice,\neffectively removing it from the view. Other properties like [excludedLayers](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#excludedLayers)\nand [excludeGroundSurface](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#excludeGroundSurface) are not modified.",
|
|
39387
39386
|
"docsTags": []
|
|
39388
39387
|
},
|
|
39389
39388
|
{
|
|
@@ -39461,7 +39460,7 @@
|
|
|
39461
39460
|
},
|
|
39462
39461
|
"signature": "start(): Promise<void>",
|
|
39463
39462
|
"parameters": [],
|
|
39464
|
-
"docs": "",
|
|
39463
|
+
"docs": "Start the interactive creation of a new slice, clearing the previous\n[shape](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#shape).",
|
|
39465
39464
|
"docsTags": []
|
|
39466
39465
|
}
|
|
39467
39466
|
],
|
|
@@ -4650,7 +4650,7 @@
|
|
|
4650
4650
|
},
|
|
4651
4651
|
{
|
|
4652
4652
|
"name": "arcgis-line-of-sight",
|
|
4653
|
-
"description": "The Line Of Sight component is a 3D analysis tool that allows you to perform visibility analysis in a [
|
|
4653
|
+
"description": "The Line Of Sight component is a 3D analysis tool that allows you to perform\n[line of sight visibility analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)\nin a 3D view. Visibility between a given observer and multiple target points is calculated against the currently\ndisplayed content in the view, including ground, integrated meshes, and 3D objects such as buildings or trees.\n\nThe results from the analysis are displayed as lines, where the visible part, indicating what the observer can see,\nis colored green. Visible targets are displayed with a green sphere and a fully green line of sight.\nThe spheres marking occluded targets are displayed red, as are the occluded parts of the lines of sight.\nWhen the line of sight cannot be calculated, it will be displayed with a gray color. This may happen if either\nthe target or the observer is not in the view.\n\nWhen creating a new line of sight analysis with the component, the first click in the scene creates the\n[observer](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisObserver.html)\nand any further clicks place the [targets](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisTarget.html).\nBoth, observer and target points, can be moved by dragging them. Additionally, the target points can be removed with a right click.\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `clear(): Promise<void>` - Clear the current analysis results. After calling this method, the user can set a new observer and targets.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `continue(): Promise<void>` - After [stop()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/#stop)\nwas called, this method allows to continue the line of sight analysis and add more targets.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>` - Start a new line of sight analysis.\n- `stop(): Promise<void>` - Stop the current line of sight analysis, keeping the results in the view.\nUsers can still interact with existing targets and the observer but they cannot place new target points.",
|
|
4654
4654
|
"attributes": [
|
|
4655
4655
|
{
|
|
4656
4656
|
"name": "auto-destroy-disabled",
|
|
@@ -6717,7 +6717,7 @@
|
|
|
6717
6717
|
},
|
|
6718
6718
|
{
|
|
6719
6719
|
"name": "arcgis-slice",
|
|
6720
|
-
"description": "The Slice component is a 3D analysis tool that can be used to reveal occluded content in a [
|
|
6720
|
+
"description": "The Slice component is a 3D analysis tool that can be used to reveal occluded content in a 3D view. It applies\n[slice analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)\nto any layer type, making it possible to see inside buildings or to explore geological surfaces.\n\nThe slicing [shape](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#shape)\nis always a [plane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html).\nBy default, the plane is either horizontal or vertical. To allow a tilt angle for the plane, set\n[tiltEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#tiltEnabled)\nto `true`. The slice hides any content in front of the surface. The handles on the sides of the plane can be used to adjust\nthe size, heading, tilt, and position of the slice plane.\nThe [SlicePlane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html)\ncan be set or retrieved using the [shape](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#shape) property.\n\nOnce the slice plane is applied, layers can be excluded from the slicing. For example, by excluding the sublayers which include\ncolumns and floor slabs, the inner structure of a building can investigated.\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `clear(): Promise<void>` - Clear the [shape](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#shape) of the slice,\neffectively removing it from the view. Other properties like [excludedLayers](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#excludedLayers)\nand [excludeGroundSurface](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#excludeGroundSurface) are not modified.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>` - Start the interactive creation of a new slice, clearing the previous\n[shape](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#shape).",
|
|
6721
6721
|
"attributes": [
|
|
6722
6722
|
{
|
|
6723
6723
|
"name": "auto-destroy-disabled",
|
|
@@ -6800,7 +6800,7 @@
|
|
|
6800
6800
|
},
|
|
6801
6801
|
{
|
|
6802
6802
|
"name": "state",
|
|
6803
|
-
"description": "The
|
|
6803
|
+
"description": "The component's state. The values mean the following:\n\n* `disabled` - not ready yet\n* `ready` - ready for slicing\n* `slicing` - currently slicing\n* `sliced` - finished slicing",
|
|
6804
6804
|
"values": [
|
|
6805
6805
|
{
|
|
6806
6806
|
"name": "disabled"
|
package/dist/docs/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@arcgis/map-components",
|
|
4
|
-
"version": "4.33.0-next.
|
|
4
|
+
"version": "4.33.0-next.140",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -8558,7 +8558,7 @@
|
|
|
8558
8558
|
},
|
|
8559
8559
|
{
|
|
8560
8560
|
"name": "arcgis-line-of-sight",
|
|
8561
|
-
"description": "The Line Of Sight component is a 3D analysis tool that allows you to perform visibility analysis in a [
|
|
8561
|
+
"description": "The Line Of Sight component is a 3D analysis tool that allows you to perform\n[line of sight visibility analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)\nin a 3D view. Visibility between a given observer and multiple target points is calculated against the currently\ndisplayed content in the view, including ground, integrated meshes, and 3D objects such as buildings or trees.\n\nThe results from the analysis are displayed as lines, where the visible part, indicating what the observer can see,\nis colored green. Visible targets are displayed with a green sphere and a fully green line of sight.\nThe spheres marking occluded targets are displayed red, as are the occluded parts of the lines of sight.\nWhen the line of sight cannot be calculated, it will be displayed with a gray color. This may happen if either\nthe target or the observer is not in the view.\n\nWhen creating a new line of sight analysis with the component, the first click in the scene creates the\n[observer](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisObserver.html)\nand any further clicks place the [targets](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisTarget.html).\nBoth, observer and target points, can be moved by dragging them. Additionally, the target points can be removed with a right click.\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `clear(): Promise<void>` - Clear the current analysis results. After calling this method, the user can set a new observer and targets.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `continue(): Promise<void>` - After [stop()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/#stop)\nwas called, this method allows to continue the line of sight analysis and add more targets.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>` - Start a new line of sight analysis.\n- `stop(): Promise<void>` - Stop the current line of sight analysis, keeping the results in the view.\nUsers can still interact with existing targets and the observer but they cannot place new target points.",
|
|
8562
8562
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/",
|
|
8563
8563
|
"attributes": [
|
|
8564
8564
|
{
|
|
@@ -8624,6 +8624,7 @@
|
|
|
8624
8624
|
"properties": [
|
|
8625
8625
|
{
|
|
8626
8626
|
"name": "analysis",
|
|
8627
|
+
"description": "The [line of sight analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysis.html)\nobject being created by the component.",
|
|
8627
8628
|
"type": "LineOfSightAnalysis"
|
|
8628
8629
|
},
|
|
8629
8630
|
{
|
|
@@ -8656,6 +8657,7 @@
|
|
|
8656
8657
|
},
|
|
8657
8658
|
{
|
|
8658
8659
|
"name": "state",
|
|
8660
|
+
"description": "The component's state. The values mean the following:\n\n* `disabled` - not ready yet\n* `ready` - ready for analysis\n* `creating` - observer/target points are being placed\n* `created` - finished analysis",
|
|
8659
8661
|
"type": "\"created\" | \"creating\" | \"disabled\" | \"ready\""
|
|
8660
8662
|
}
|
|
8661
8663
|
],
|
|
@@ -13354,7 +13356,7 @@
|
|
|
13354
13356
|
},
|
|
13355
13357
|
{
|
|
13356
13358
|
"name": "arcgis-slice",
|
|
13357
|
-
"description": "The Slice component is a 3D analysis tool that can be used to reveal occluded content in a [
|
|
13359
|
+
"description": "The Slice component is a 3D analysis tool that can be used to reveal occluded content in a 3D view. It applies\n[slice analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)\nto any layer type, making it possible to see inside buildings or to explore geological surfaces.\n\nThe slicing [shape](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#shape)\nis always a [plane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html).\nBy default, the plane is either horizontal or vertical. To allow a tilt angle for the plane, set\n[tiltEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#tiltEnabled)\nto `true`. The slice hides any content in front of the surface. The handles on the sides of the plane can be used to adjust\nthe size, heading, tilt, and position of the slice plane.\nThe [SlicePlane](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SlicePlane.html)\ncan be set or retrieved using the [shape](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#shape) property.\n\nOnce the slice plane is applied, layers can be excluded from the slicing. For example, by excluding the sublayers which include\ncolumns and floor slabs, the inner structure of a building can investigated.\n--\n\n### Events\n- **arcgisPropertyChange** - Emitted when the value of a property is changed. Use this to listen to changes to properties.\n- **arcgisReady** - Emitted when the component associated with a map or scene view is is ready to be interacted with.\n\n### Methods\n- `clear(): Promise<void>` - Clear the [shape](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#shape) of the slice,\neffectively removing it from the view. Other properties like [excludedLayers](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#excludedLayers)\nand [excludeGroundSurface](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#excludeGroundSurface) are not modified.\n- `componentOnReady(): Promise<void>` - Create a promise that resolves once component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `start(): Promise<void>` - Start the interactive creation of a new slice, clearing the previous\n[shape](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/#shape).",
|
|
13358
13360
|
"doc-url": "https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-slice/",
|
|
13359
13361
|
"attributes": [
|
|
13360
13362
|
{
|
|
@@ -13427,7 +13429,7 @@
|
|
|
13427
13429
|
},
|
|
13428
13430
|
{
|
|
13429
13431
|
"name": "state",
|
|
13430
|
-
"description": "The
|
|
13432
|
+
"description": "The component's state. The values mean the following:\n\n* `disabled` - not ready yet\n* `ready` - ready for slicing\n* `slicing` - currently slicing\n* `sliced` - finished slicing",
|
|
13431
13433
|
"value": {
|
|
13432
13434
|
"type": [
|
|
13433
13435
|
"\"disabled\"",
|
|
@@ -13463,7 +13465,7 @@
|
|
|
13463
13465
|
"properties": [
|
|
13464
13466
|
{
|
|
13465
13467
|
"name": "analysis",
|
|
13466
|
-
"description": "
|
|
13468
|
+
"description": "The [slice analysis](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-SliceAnalysis.html)\nobject being created by the component.",
|
|
13467
13469
|
"type": "SliceAnalysis"
|
|
13468
13470
|
},
|
|
13469
13471
|
{
|
|
@@ -13481,10 +13483,6 @@
|
|
|
13481
13483
|
"description": "Indicates whether the [Ground](https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html) and layers that\nare draped on the ground surface are excluded from the slice.",
|
|
13482
13484
|
"type": "boolean"
|
|
13483
13485
|
},
|
|
13484
|
-
{
|
|
13485
|
-
"name": "hasVoxelLayers",
|
|
13486
|
-
"type": "boolean"
|
|
13487
|
-
},
|
|
13488
13486
|
{
|
|
13489
13487
|
"name": "headingLevel",
|
|
13490
13488
|
"type": "1 | 2 | 3 | 4 | 5 | 6"
|
|
@@ -13514,12 +13512,12 @@
|
|
|
13514
13512
|
},
|
|
13515
13513
|
{
|
|
13516
13514
|
"name": "shape",
|
|
13517
|
-
"description": "The shape used to slice elements in a 3D scene
|
|
13515
|
+
"description": "The shape used to slice elements in a 3D scene. Currently the only supported shape is a plane.\nExample:\n```\n// Clone the shape to modify its properties\nconst shape = slice.shape.clone();\n// Set new values for heading and tilt\nshape.heading = 180;\nshape.tilt = 45;\n// Apply the new shape to the slice component's shape\nslice.shape = shape;\n```",
|
|
13518
13516
|
"type": "SlicePlane"
|
|
13519
13517
|
},
|
|
13520
13518
|
{
|
|
13521
13519
|
"name": "state",
|
|
13522
|
-
"description": "The
|
|
13520
|
+
"description": "The component's state. The values mean the following:\n\n* `disabled` - not ready yet\n* `ready` - ready for slicing\n* `slicing` - currently slicing\n* `sliced` - finished slicing",
|
|
13523
13521
|
"type": "\"disabled\" | \"excludingLayer\" | \"ready\" | \"sliced\" | \"slicing\""
|
|
13524
13522
|
},
|
|
13525
13523
|
{
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s, g as t } from "./chunks/runtime.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.140 */
|
|
5
5
|
const a = s, A = t;
|
|
6
6
|
export {
|
|
7
7
|
A as getArcgisAssetPath,
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } 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.140 */
|
|
6
6
|
const a = t(e, {
|
|
7
7
|
"arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,snappingOptions:,state,unit,unitOptions:;clear,destroy,start"],
|
|
8
8
|
"arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
|
|
@@ -71,7 +71,7 @@ const a = t(e, {
|
|
|
71
71
|
"arcgis-search-result-renderer": [() => import("./components/arcgis-search-result-renderer/customElement.js"), "autoDestroyDisabled,messages:,viewModel:;destroy"],
|
|
72
72
|
"arcgis-shadow-cast": [() => import("./components/arcgis-shadow-cast/customElement.js"), "autoDestroyDisabled,date,discreteOptions:,durationOptions:,endTimeOfDay,headingLevel,hideColorPicker,hideDatePicker,hideThresholdContext,hideThresholdContextColor,hideThresholdContextTimeInterval,hideThresholdContextToggle,hideTimeRangeSlider,hideTimezone,hideTooltip,hideVisualizationOptions,icon,label,position,referenceElement,startTimeOfDay,state,thresholdOptions:,utcOffset,visualizationType;destroy,getDuration,start,stop"],
|
|
73
73
|
"arcgis-sketch": [() => import("./components/arcgis-sketch/customElement.js"), "activeTool,autoDestroyDisabled,availableCreateTools:,createGraphic:,creationMode,defaultCreateOptions:,defaultGraphicsLayerDisabled,defaultUpdateOptions:,hideCreateToolsCircle,hideCreateToolsPoint,hideCreateToolsPolygon,hideCreateToolsPolyline,hideCreateToolsRectangle,hideDeleteButton,hideDuplicateButton,hideLabelsToggle,hideSelectionCountLabel,hideSelectionToolsLassoSelection,hideSelectionToolsRectangleSelection,hideSettingsMenu,hideSnappingControls,hideSnappingControlsElementsEnabledToggle,hideSnappingControlsElementsFeatureEnabledToggle,hideSnappingControlsElementsLayerList,hideSnappingControlsElementsSelfEnabledToggle,hideTooltipsToggle,hideUndoRedoMenu,icon,label,labelOptions:,layer:,layout,pointSymbol:,polygonSymbol:,polylineSymbol:,position,referenceElement,scale,showSnappingControlsElementsHeader,snappingOptions:,state,toolbarKind,tooltipOptions:,updateGraphics:;cancel,complete,create,delete,destroy,duplicate,redo,triggerUpdate,undo"],
|
|
74
|
-
"arcgis-slice": [() => import("./components/arcgis-slice/customElement.js"), "analysis:,autoDestroyDisabled,excludedLayers:,excludeGroundSurface,
|
|
74
|
+
"arcgis-slice": [() => import("./components/arcgis-slice/customElement.js"), "analysis:,autoDestroyDisabled,excludedLayers:,excludeGroundSurface,headingLevel,icon,label,messageOverrides:,position,referenceElement,shape:,state,tiltEnabled;clear,destroy,start"],
|
|
75
75
|
"arcgis-slider": [() => import("./components/arcgis-slider/customElement.js"), "autoDestroyDisabled,draggableSegmentsEnabled,effectiveMax,effectiveMin,effectiveSegmentElements:,icon,label,labelElements:,labelInputsEnabled,labels:,layout,max,maxLabelElement:,min,minLabelElement:,position,precision,rangeLabelInputsEnabled,referenceElement,segmentElements:,snapOnClickEnabled,state,steps,syncedSegmentsEnabled,thumbElements:,thumbsConstrained,tickConfigs:,tickElements:,trackElement:,values;destroy"],
|
|
76
76
|
"arcgis-labeled-switch": [() => import("./components/arcgis-labeled-switch/customElement.js"), "checked,disabled,hint,hintIcon,hintKind,label;destroy"],
|
|
77
77
|
"arcgis-measurement-content": [() => import("./components/arcgis-measurement-content/customElement.js"), "hintLabel,items:,state,unsupportedLabel"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "4.33.0-next.
|
|
3
|
+
"version": "4.33.0-next.140",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
],
|
|
43
43
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@arcgis/components-utils": "4.33.0-next.
|
|
46
|
-
"@arcgis/lumina": "4.33.0-next.
|
|
45
|
+
"@arcgis/components-utils": "4.33.0-next.140",
|
|
46
|
+
"@arcgis/lumina": "4.33.0-next.140",
|
|
47
47
|
"tslib": "^2.8.1"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
package/dist/cdn/JR37HKLZ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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
|
-
import{a as d,c as m}from"./BNCLTRYH.js";import j from"./ZEX2ON7O.js";import i from"./3HNXL7RL.js";import"./EDORIH5N.js";import e from"./5J7OJ4Z6.js";import{a as $}from"./JGCDGP2X.js";import{a as p}from"./NHSTTG5C.js";import c from"./N36AOA4W.js";import a from"./2ICV3ZP6.js";import{e as M}from"./FY5ET4WM.js";import"./BZ5KBRTH.js";import"./TN3WLCHJ.js";import{A as g,D as w,O as f,P as v,R as b,T as O,i as h,j as y}from"./RSXOP3R5.js";export default $arcgis.t(([S,{getDefaultUnitForView:L},{property:n,subclass:V},{watch:_},,,U,,D])=>{var C=h`@layer{arcgis-area-measurement-3d{display:block}.arcgis-area-measurement-3d{position:relative;padding:var(--esri-widget-padding);overflow-y:auto}}`,E=Object.defineProperty,P=Object.getOwnPropertyDescriptor,r=(e,t,s,o)=>{for(var a=o>1?void 0:o?P(t,s):t,l=e.length-1,u;l>=0;l--)(u=e[l])&&(a=(o?u(t,s,a):u(a))||a);return o&&a&&E(t,s,a),a},i=class extends D{constructor(e){super(e),this.supportedViewType="3d",this.unsupportedErrorMessage="The Area Measurement 3D component is only supported in 3D views."}initialize(){this.addHandles(_(()=>({analysis:this.analysis,unit:this.unit}),({analysis:e,unit:t})=>{e!=null&&(e.unit=t)},{sync:!0,initial:!0}))}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="inactive"?this.analysis.valid?"measured":"ready":"measuring"}get displayState(){if(!this.supported)return"unsupported";switch(this.state){case"disabled":case"ready":return"ready";case"measuring":return this.analysis.geometry==null?"measuring":"measured";case"measured":return"measured"}}get measurement(){let e=this.analysisView?.result,t=e?.mode??"euclidean",s=this.analysisView?.viewData.intersectingSegments?.size===0;return{mode:t,area:m(e?.area,s),perimeter:m(e?.perimeter,s)}}get unitOptions(){let e=this._userUnitOptions?.filter(t=>d.includes(t));return e&&e.length>0?e:d.slice()}set unitOptions(e){this._userUnitOptions=e}get unit(){let e=this._userUnit,t=this.unitOptions;if(e&&t.includes(e))return e;let s=this.defaultUnit;return s&&t.includes(s)?s:t[0]}set unit(e){this._userUnit=e}get defaultUnit(){return this.view?L(this.view):void 0}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.geometry=null}constructAnalysis(){return new S}};r([n({readOnly:!0})],i.prototype,"state",1);r([n({readOnly:!0})],i.prototype,"displayState",1);r([n({readOnly:!0})],i.prototype,"measurement",1);r([n()],i.prototype,"unitOptions",1);r([n()],i.prototype,"_userUnitOptions",2);r([n()],i.prototype,"unit",1);r([n()],i.prototype,"_userUnit",2);r([n({readOnly:!0})],i.prototype,"defaultUnit",1);i=r([V("components.area-measurement-3d.AreaMeasurement3dViewModel")],i);var x="arcgis-area-measurement-3d",R={base:x},k=U(i),c=class extends f{constructor(){super(...arguments),this.viewModel=k(this),this.messages=$({blocking:!0}),this.autoDestroyDisabled=!1,this.icon="measure-area",this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.viewModel.unit,this.unitOptions=this.viewModel.unitOptions,this.arcgisPropertyChange=M()("analysis","state"),this.arcgisReady=g()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=w}static{this.styles=C}get analysis(){return this.viewModel.analysis}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}render(){let{messages:t,unit:s,unitOptions:o,viewModel:a}=this,{measurement:l,state:u}=a;return y`<div aria-label=${t.componentLabel??b} class=${v({[R.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation><arcgis-measurement-content .state=${a.displayState} .hintLabel=${t.hint} .unsupportedLabel=${t.unsupported} .items=${[{title:t.area,measurement:l.area},{title:t.perimeterLength,measurement:l.perimeter}]}><arcgis-unit-select slot=settings .options=${o} .selectLabel=${t.unit} .value=${s} @arcgisUnitSelectChange=${A=>{this.unit=A.detail}}></arcgis-unit-select><calcite-button slot=actions .disabled=${u==="disabled"} @click=${()=>{this.viewModel.clear(),this.viewModel.start()}}>${t.newMeasurement}</calcite-button></arcgis-measurement-content></div>`}};O("arcgis-area-measurement-3d",c);return c},"analysis/AreaMeasurementAnalysis","applications/Components/getDefaultUnits","core/accessorSupport/decorators","core/reactiveUtils",a,c,e,i,j)
|
package/dist/cdn/L66H2ALJ.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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
|
-
import{b as h,c as r}from"./BNCLTRYH.js";import i from"./ZEX2ON7O.js";import e from"./3HNXL7RL.js";import"./EDORIH5N.js";import d from"./5J7OJ4Z6.js";import{a as $}from"./JGCDGP2X.js";import{a as p}from"./NHSTTG5C.js";import c from"./N36AOA4W.js";import a from"./2ICV3ZP6.js";import{e as M}from"./FY5ET4WM.js";import"./BZ5KBRTH.js";import"./TN3WLCHJ.js";import{A as w,D as f,O as D,P as b,R as O,T as m,i as g,j as v}from"./RSXOP3R5.js";export default $arcgis.t(([z,{getDefaultUnitForView:S},{property:o,subclass:_},{watch:V},,,U,,L])=>{var x=g`@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}}`,A=Object.defineProperty,C=Object.getOwnPropertyDescriptor,n=(t,e,i,c)=>{for(var a=c>1?void 0:c?C(e,i):e,l=t.length-1,d;l>=0;l--)(d=t[l])&&(a=(c?d(e,i,a):d(a))||a);return c&&a&&A(e,i,a),a},s=class extends L{constructor(t){super(t),this.supportedViewType="3d",this.unsupportedErrorMessage="The Direct Line Measurement 3D component is only supported in 3D views."}initialize(){this.addHandles(V(()=>({analysis:this.analysis,unit:this.unit}),({analysis:t,unit:e})=>{t!=null&&(t.unit=e)},{sync:!0,initial:!0}))}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="inactive"?this.analysis.valid?"measured":"ready":"measuring"}get displayState(){if(!this.supported)return"unsupported";switch(this.state){case"disabled":case"ready":return"ready";case"measuring":return this.analysis.startPoint==null?"measuring":"measured";case"measured":return"measured"}}get measurement(){let t=this.analysisView?.result,e=t?.mode??"euclidean";if(!this.analysis.valid)return{mode:e,directDistance:r(void 0),horizontalDistance:r(void 0),verticalDistance:r(void 0)};let i=t?.directDistance;return{mode:e??"euclidean",directDistance:i!=null&&i.value<=1e5?r(i):r(void 0),horizontalDistance:r(t?.horizontalDistance),verticalDistance:r(t?.verticalDistance)}}get unitOptions(){let t=this._userUnitOptions?.filter(e=>h.includes(e));return t&&t.length>0?t:h.slice()}set unitOptions(t){this._userUnitOptions=t}get unit(){let t=this._userUnit,e=this.unitOptions;if(t&&e.includes(t))return t;let i=this.defaultUnit;return i&&e.includes(i)?i:e[0]}set unit(t){this._userUnit=t}get defaultUnit(){return this.view?S(this.view):void 0}async place(t){await this.analysisView?.place(t)}clearAnalysis(){this.analysis.startPoint=null,this.analysis.endPoint=null}constructAnalysis(){return new z}};n([o({readOnly:!0})],s.prototype,"state",1);n([o({readOnly:!0})],s.prototype,"displayState",1);n([o({readOnly:!0})],s.prototype,"measurement",1);n([o()],s.prototype,"unitOptions",1);n([o()],s.prototype,"_userUnitOptions",2);n([o()],s.prototype,"unit",1);n([o()],s.prototype,"_userUnit",2);n([o({readOnly:!0})],s.prototype,"defaultUnit",1);s=n([_("components.direct-line-measurement-3d.DirectLineMeasurement3dViewModel")],s);var E="arcgis-direct-line-measurement-3d",R={base:E},k=U(s),u=class extends D{constructor(){super(...arguments),this.viewModel=k(this),this.messages=$({name:"directline-measurement-3d",blocking:!0}),this.autoDestroyDisabled=!1,this.icon="measure-line",this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.viewModel.unit,this.unitOptions=this.viewModel.unitOptions,this.arcgisPropertyChange=M()("analysis","state"),this.arcgisReady=w()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,position:1,referenceElement:1,state:1,unit:1,unitOptions:0}}static{this.shadowRootOptions=f}static{this.styles=x}get analysis(){return this.viewModel.analysis}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){await this.viewModel.start()}render(){let{messages:e,unit:i,unitOptions:c,viewModel:a}=this,{measurement:l,state:d}=a;return v`<div aria-label=${e.componentLabel??O} class=${b({[R.base]:!0,[p.widget]:!0,[p.panel]:!0})} role=presentation><arcgis-measurement-content .state=${a.displayState} .hintLabel=${e.hint} .unsupportedLabel=${e.unsupported} .items=${[{title:e.direct,measurement:l.directDistance},{title:e.horizontal,measurement:l.horizontalDistance},{title:e.vertical,measurement:l.verticalDistance}]}><arcgis-unit-select slot=settings .options=${c} .selectLabel=${e.unit} .value=${i} @arcgisUnitSelectChange=${P=>{this.unit=P.detail}}></arcgis-unit-select><calcite-button slot=actions .disabled=${d==="disabled"} @click=${()=>{this.viewModel.clear(),this.viewModel.start()}}>${e.newMeasurement}</calcite-button></arcgis-measurement-content></div>`}},y=class extends u{};m("arcgis-direct-line-measurement-3d",u);m("arcgis-directline-measurement-3d",y);return{ArcgisDirectLineMeasurement3d:u,DeprecatedArcgisDirectLineMeasurement3d:y}},"analysis/DirectLineMeasurementAnalysis","applications/Components/getDefaultUnits","core/accessorSupport/decorators","core/reactiveUtils",a,c,d,e,i)
|
package/dist/cdn/Q2G3EZNU.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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
|
-
import h from"./ZEX2ON7O.js";import e from"./3HNXL7RL.js";import"./EDORIH5N.js";import{a as E}from"./EL4W5FAJ.js";import"./UTX6MR4S.js";import d from"./5J7OJ4Z6.js";import{a as M}from"./JGCDGP2X.js";import{a as g}from"./NHSTTG5C.js";import c from"./N36AOA4W.js";import a from"./2ICV3ZP6.js";import{e as w}from"./FY5ET4WM.js";import"./BZ5KBRTH.js";import"./TN3WLCHJ.js";import{A as f,D as $,O as L,P as s,T as b,i as _,j as l}from"./RSXOP3R5.js";export default $arcgis.t(([A,{property:d,subclass:V},{ignoreAbortErrors:B},{watch:D},,,S,,k])=>{var H=_`@layer{arcgis-slice{display:block}.arcgis-slice__container{display:flex;padding:var(--esri-widget-padding-y) var(--esri-widget-padding-x);overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`,O=Object.defineProperty,N=Object.getOwnPropertyDescriptor,o=(e,i,t,u)=>{for(var c=u>1?void 0:u?N(i,t):i,y=e.length-1,h;y>=0;y--)(h=e[y])&&(c=(u?h(i,t,c):h(c))||c);return u&&c&&O(i,t,c),c},x=new Set,n=class extends k{constructor(e){super(e),this.supportedViewType="3d",this.unsupportedErrorMessage="SliceViewModel is only supported in 3D views.",x.add(this)}async pickLayerToExclude(){let e=this.analysisView;if(e){let i=super.start(t=>e.pickLayerToExclude(t));this._excludingLayers=i,i.finally(()=>{this._excludingLayers===i&&(this._excludingLayers=void 0)}),await i.catch()}}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.shape=null}destroy(){x.delete(this)}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="active"?"slicing":this.layersMode==="exclude"?"excludingLayer":this.analysis.valid?"sliced":"ready"}get shape(){return this.analysis.shape}set shape(e){this.analysis.shape=e}get tiltEnabled(){return this.analysis.tiltEnabled}set tiltEnabled(e){this.analysis.tiltEnabled=e}get layersMode(){return this._excludingLayers?"exclude":"none"}get excludedLayers(){return this.analysis.excludedLayers}set excludedLayers(e){this.analysis.excludedLayers=e}get excludeGroundSurface(){return this.analysis.excludeGroundSurface}set excludeGroundSurface(e){this.analysis.excludeGroundSurface=e}async start(){x.forEach(e=>{e.view===this.view&&e!==this&&e.clear()}),this.clear(),await super.start()}onConnectToAnalysisView(e){e.active=!0}constructAnalysis(){return new A}};o([d()],n.prototype,"_excludingLayers",2);o([d({readOnly:!0})],n.prototype,"state",1);o([d()],n.prototype,"shape",1);o([d()],n.prototype,"tiltEnabled",1);o([d()],n.prototype,"layersMode",1);o([d()],n.prototype,"excludedLayers",1);o([d()],n.prototype,"excludeGroundSurface",1);n=o([V("esri.components.Slice.SliceViewModel")],n);var r="arcgis-slice",a={base:r,actions:`${r}__actions`,cancelButton:`${r}__cancel-button`,container:`${r}__container`,error:`${r}__error`,excludeButton:`${r}__exclude-button`,hint:`${r}__hint`,hintText:`${r}__hint-text`,layerItem:`${r}__layer-item`,layerList:`${r}__layer-list`,layerListHeading:`${r}__layer-list-title`,newSliceButton:`${r}__clear-button`},P=S(n),m=class extends L{constructor(){super(...arguments),this.viewModel=P(this),this._messages=M(),this._onNewSliceClick=()=>{B(this.viewModel.start())},this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=3,this.icon="slice",this.position="bottom-left",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=w()("analysis","state"),this.arcgisReady=f()}static{this.properties={analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,hasVoxelLayers:32,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,shape:0,state:3,tiltEnabled:5}}static{this.shadowRootOptions=$}static{this.styles=H}get hasVoxelLayers(){let i=this.viewModel?.view;return i!=null?i.allLayerViews.some(t=>t.type==="voxel-3d"):!1}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}load(){this.manager.onLifecycle(()=>[D(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return l`<div class=${s({[a.base]:!0,[g.widget]:!0,[g.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){let i=this._messages,{state:t,visible:u,supported:c}=this.viewModel,y=t==="slicing"||t==="excludingLayer";if(!u||!c)return null;c||l`<div class=${s(a.container)}><div class=${s(a.error)}><p>${this._messages.unsupported}</p></div></div>`;let{excludedLayers:h}=this.viewModel,v=this.excludeGroundSurface,G=h.length>0||v,p=t==="disabled";return l`<div class=${s(a.container)}><div class=${s(a.hint)}>${t==="excludingLayer"?l`<p class=${s(a.hintText)}>${i.excludeHint}</p>`:null}${t==="slicing"?l`<p class=${s(a.hintText)}>${this.hasVoxelLayers?i.voxelHint:i.hint}</p><p class=${s(a.hintText)}>${i.verticalHint}</p>`:null}</div>${!y&&G?l`<div class=${s(a.layerList)}>${E({class:a.layerListHeading,level:this.headingLevel,children:i.excludedLayers})}${j({layers:h.toArray(),excludeGroundSurface:v,onLayerClick:T=>{this.excludedLayers.remove(T)},onGroundClick:()=>{this.excludeGroundSurface=!1},listLabel:i.excludedLayers,layerActionLabel:i.includeLayer,groundItemTitle:i.ground})}</div>`:null}<div class=${s(a.actions)}>${y?null:l`<calcite-button class=${s(a.newSliceButton)} .disabled=${p} @click=${this._onNewSliceClick}>${i.newSlice}</calcite-button>`}${t==="sliced"?l`<calcite-button appearance=outline-fill class=${s(a.excludeButton)} .disabled=${p} @click=${()=>this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>`:null}${t==="excludingLayer"?l`<calcite-button appearance=outline-fill class=${s(a.cancelButton)} .disabled=${p} @click=${()=>{this.viewModel.layersMode==="exclude"&&this.viewModel.stop()}}>${i.cancel}</calcite-button>`:null}</div></div>`}};function C(e){return l`<calcite-list-item class=${s(a.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title??""}><calcite-action icon=x @click=${e.onClick} scale=s slot=actions-end .text=${e.actionLabel} .title=${e.actionLabel}></calcite-action></calcite-list-item>`}function j(e){let i=e.layers.map(t=>C({uid:t.uid,title:t.title,onClick:()=>e.onLayerClick(t),actionLabel:e.layerActionLabel}));return e.excludeGroundSurface&&i.push(C({uid:"ground",title:e.groundItemTitle,onClick:e.onGroundClick,actionLabel:e.layerActionLabel})),l`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`}b("arcgis-slice",m);return m},"analysis/SliceAnalysis","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a,c,d,e,h)
|