@arcgis/map-components 5.1.0-next.17 → 5.1.0-next.19
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/{US7LKUHP.js → 25C2WYON.js} +1 -1
- package/dist/cdn/{CJX4GSEZ.js → 2F4VMURG.js} +1 -1
- package/dist/cdn/{B4IPMHN5.js → 2ZPMEF52.js} +1 -1
- package/dist/cdn/{PJHO2DXQ.js → 4IATWN2B.js} +1 -1
- package/dist/cdn/{7U4AFNWK.js → 5EEHZIM7.js} +1 -1
- package/dist/cdn/{OJCZ3DV5.js → 6747ZUJC.js} +1 -1
- package/dist/cdn/{JSISELHB.js → AOYK64AS.js} +1 -1
- package/dist/cdn/{X35NN2TZ.js → CQZVPPYJ.js} +1 -1
- package/dist/cdn/{LYJM7ALP.js → D3NPU6MI.js} +1 -1
- package/dist/cdn/{I4SD3GKU.js → F7S63XRR.js} +1 -1
- package/dist/cdn/{ANLNLB7F.js → IM47JQ76.js} +1 -1
- package/dist/cdn/NOP2E6CA.js +2 -0
- package/dist/cdn/{DWW7KAMQ.js → UH33CM5U.js} +1 -1
- package/dist/cdn/{L6E647YW.js → WHGU6HOR.js} +1 -1
- package/dist/cdn/{BGOWWLCQ.js → YC562S5E.js} +1 -1
- package/dist/cdn/{IVHQAQZW.js → YUE7PKLG.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-building-explorer/customElement.d.ts +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-daylight/customElement.d.ts +5 -5
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +2 -2
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-expression/customElement.js +23 -26
- package/dist/components/arcgis-feature-table/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-templates/customElement.d.ts +9 -6
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.d.ts +2 -2
- package/dist/components/arcgis-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-legend/customElement.d.ts +10 -10
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +2 -3
- package/dist/components/arcgis-link-chart-layout-switcher/types.d.ts +1 -0
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +2 -5
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/types.d.ts +3 -0
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +1 -1
- package/dist/components/arcgis-paste/customElement.js +51 -47
- package/dist/components/arcgis-popup/customElement.d.ts +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +7 -7
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -6
- package/dist/components/arcgis-scale-bar/types.d.ts +5 -0
- package/dist/components/arcgis-search/customElement.d.ts +6 -7
- package/dist/components/arcgis-search/types.d.ts +1 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +3 -3
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +5 -5
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +4 -4
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +4 -4
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +5 -5
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +7 -7
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +2 -2
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +6 -6
- package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +6 -6
- package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +8 -9
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +2 -3
- package/dist/components/arcgis-time-zone-label/types.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +0 -2
- package/dist/components/arcgis-utility-network-trace-analysis/types.d.ts +1 -0
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +5 -5
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -16
- package/dist/components/arcgis-version-management/types.d.ts +15 -0
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.js +17 -17
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -5
- package/dist/components/arcgis-zoom/types.d.ts +3 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +9 -9
- package/dist/types/lumina.d.ts +8 -8
- package/dist/types/preact.d.ts +8 -8
- package/dist/types/react.d.ts +8 -8
- package/dist/types/stencil.d.ts +8 -8
- package/package.json +4 -4
- package/dist/cdn/SKUQ3U6A.js +0 -2
|
@@ -85,7 +85,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
85
85
|
* and [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content) properties.
|
|
86
86
|
* When content is set directly on the Popup instance it is not tied to a specific feature or layer.
|
|
87
87
|
*
|
|
88
|
-
* 
|
|
89
89
|
*
|
|
90
90
|
* In the image above, the text "Marriage in Nassau County Census Tract 5177.01" is the popup's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading).
|
|
91
91
|
* The remaining text is the popup's [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as n } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as r, html as t } from "lit";
|
|
4
|
-
import { watch as
|
|
4
|
+
import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
5
|
import { LitElement as c } from "@arcgis/lumina";
|
|
6
6
|
import { u as h } from "../../chunks/useHandles.js";
|
|
7
7
|
const u = r`.advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, d = [
|
|
@@ -19,8 +19,8 @@ function p(i) {
|
|
|
19
19
|
const { map: e, graphics: o } = i;
|
|
20
20
|
return o?.length ? !0 : e?.allLayers.some((a) => {
|
|
21
21
|
if (a.type === "feature" && "source" in a) {
|
|
22
|
-
const { type:
|
|
23
|
-
return
|
|
22
|
+
const { type: s } = a.source;
|
|
23
|
+
return s !== "feature-layer" && s !== "ogc-feature";
|
|
24
24
|
}
|
|
25
25
|
return d.includes(a.type);
|
|
26
26
|
}) ?? !1;
|
|
@@ -41,8 +41,8 @@ class g extends c {
|
|
|
41
41
|
}
|
|
42
42
|
loaded() {
|
|
43
43
|
this.manager.onLifecycle(() => [
|
|
44
|
-
|
|
45
|
-
this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) ?? void 0 : void 0, this._handles.addHandles(
|
|
44
|
+
l(() => this.viewModel.templateOptions.id, (e) => {
|
|
45
|
+
this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) ?? void 0 : void 0, this._handles.addHandles(l(() => [
|
|
46
46
|
this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText,
|
|
47
47
|
this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText,
|
|
48
48
|
this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend,
|
|
@@ -52,7 +52,7 @@ class g extends c {
|
|
|
52
52
|
this._showAuthorInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText ?? !0, this._showCopyrightInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText ?? !0, this._showLegendInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend ?? !0, this._showNorthArrowInput = !!this._selectedTemplate?.mapSurroundInfoOptions?.northArrow.length, this._showScaleBarInput = !!this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar.length, this._showForceFeatureAttributes = p(this.viewModel.view) && !!this._selectedTemplate?.layoutItem?.id && !this.hideFeatureAttributes, this._showTablesInput = m(this.viewModel.view) && !!this._selectedTemplate?.layoutItem?.id && !this.hideIncludeTables;
|
|
53
53
|
}, { initial: !0 }), "template-handle");
|
|
54
54
|
}, { initial: !0 }),
|
|
55
|
-
|
|
55
|
+
l(() => [this.viewModel.portal?.user, this.autoPopulateAuthor], () => {
|
|
56
56
|
!this.viewModel.templateOptions.author && this.autoPopulateAuthor && this.viewModel.portal?.user?.username && (this.viewModel.templateOptions.author = this.viewModel.portal.user.username, this.requestUpdate());
|
|
57
57
|
}, { initial: !0 })
|
|
58
58
|
]);
|
|
@@ -85,7 +85,7 @@ class g extends c {
|
|
|
85
85
|
return this._showNorthArrowInput ? t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.northArrowEnabled} @calciteCheckboxChange=${(e) => this.viewModel.templateOptions.northArrowEnabled = e.target.checked}></calcite-checkbox>${this.messages.northArrow}</calcite-label></div>` : null;
|
|
86
86
|
}
|
|
87
87
|
_renderScaleBarSection() {
|
|
88
|
-
return this._showScaleBarInput ? t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.scaleBarEnabled} @calciteCheckboxChange=${(e) => this.viewModel.templateOptions.scaleBarEnabled = e.target.checked}></calcite-checkbox>${this.messages.scaleBar}</calcite-label>${this.viewModel.templateOptions.scaleBarEnabled ? t`<calcite-label>${this.messages.scaleBarUnit}<calcite-select label="Scale bar unit" .value=${this.viewModel.templateOptions.scaleBarUnit || void 0} @calciteSelectChange=${(e) => {
|
|
88
|
+
return this._showScaleBarInput ? t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.scaleBarEnabled} @calciteCheckboxChange=${(e) => this.viewModel.templateOptions.scaleBarEnabled = e.target.checked}></calcite-checkbox>${this.messages.scaleBar}</calcite-label>${this.viewModel.templateOptions.scaleBarEnabled && !this._selectedTemplate?.layoutItem?.id ? t`<calcite-label>${this.messages.scaleBarUnit}<calcite-select label="Scale bar unit" .value=${this.viewModel.templateOptions.scaleBarUnit || void 0} @calciteSelectChange=${(e) => {
|
|
89
89
|
this.viewModel.templateOptions.scaleBarUnit = e.target.value;
|
|
90
90
|
}}><calcite-option value=kilometers>${this.messages.milesAndKilometers}</calcite-option><calcite-option value=meters>${this.messages.feetAndMeters}</calcite-option></calcite-select></calcite-label>` : null}</div>` : null;
|
|
91
91
|
}
|
|
@@ -33,7 +33,7 @@ class m extends o {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const { messages: t, _outSpatialReference: a } = this;
|
|
36
|
-
return n`<div><calcite-label><div class="sr-label">${t.outSpatialReference}<calcite-link href=https://
|
|
36
|
+
return n`<div><calcite-label><div class="sr-label">${t.outSpatialReference}<calcite-link href=https://next.gha.afd.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString() ?? ""} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${({ currentTarget: l }) => {
|
|
37
37
|
const i = f(l.value);
|
|
38
38
|
if (Number.isNaN(i) || i == null || i <= 0 || !Number.isFinite(i)) {
|
|
39
39
|
l.value = `${a?.wkid ?? ""}`;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type MapView from "@arcgis/core/views/MapView.js";
|
|
3
|
-
import type { MeasurementSystem } from "@arcgis/core/core/units.js";
|
|
4
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
4
|
import type { ArcgisReferenceElement } from "../types.js";
|
|
5
|
+
import type { ScaleBarStyle, ScaleBarUnit } from "./types.js";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -81,8 +81,4 @@ export abstract class ArcgisScaleBar extends LitElement {
|
|
|
81
81
|
readonly "@eventTypes": {
|
|
82
82
|
arcgisReady: ArcgisScaleBar["arcgisReady"]["detail"];
|
|
83
83
|
};
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export type ScaleBarStyle = "line" | "ruler";
|
|
87
|
-
|
|
88
|
-
export type ScaleBarUnit = MeasurementSystem | "dual";
|
|
84
|
+
}
|
|
@@ -10,6 +10,7 @@ import type { SearchViewModelEvents, SearchViewModelSelectResultEvent, SearchVie
|
|
|
10
10
|
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
11
11
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
12
12
|
import type { SuggestResult, SuggestResults, SearchResponse, SuggestResponse, SupportedSearchSource, SourcesHandler, SearchResults, SearchResult } from "@arcgis/core/widgets/Search/types.js";
|
|
13
|
+
import type { ActiveMenu } from "./types.js";
|
|
13
14
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
14
15
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
15
16
|
import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
@@ -56,7 +57,7 @@ export abstract class ArcgisSearch extends LitElement {
|
|
|
56
57
|
* String value used as a hint for input text when searching on multiple sources. See
|
|
57
58
|
* the image below to view the location and style of this text in the context of the component.
|
|
58
59
|
*
|
|
59
|
-
* 
|
|
60
61
|
*
|
|
61
62
|
* @default "Find address or place"
|
|
62
63
|
*/
|
|
@@ -152,7 +153,7 @@ export abstract class ArcgisSearch extends LitElement {
|
|
|
152
153
|
/**
|
|
153
154
|
* When `true`, will disable location services within the component.
|
|
154
155
|
*
|
|
155
|
-
* 
|
|
156
157
|
*
|
|
157
158
|
* **Note:**
|
|
158
159
|
* The use of this property is only supported on secure origins.
|
|
@@ -296,11 +297,11 @@ export abstract class ArcgisSearch extends LitElement {
|
|
|
296
297
|
/**
|
|
297
298
|
* By default, the "All" option is displayed by default to search all sources:
|
|
298
299
|
*
|
|
299
|
-
* 
|
|
300
301
|
*
|
|
301
302
|
* When `true`, no option to search all sources at once is available:
|
|
302
303
|
*
|
|
303
|
-
* 
|
|
304
305
|
*
|
|
305
306
|
* @default false
|
|
306
307
|
*/
|
|
@@ -496,6 +497,4 @@ export abstract class ArcgisSearch extends LitElement {
|
|
|
496
497
|
arcgisSuggestComplete: ArcgisSearch["arcgisSuggestComplete"]["detail"];
|
|
497
498
|
arcgisSuggestStart: ArcgisSearch["arcgisSuggestStart"]["detail"];
|
|
498
499
|
};
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
export type ActiveMenu = "none" | "source" | "suggestion";
|
|
500
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type ActiveMenu = "none" | "source" | "suggestion";
|
|
@@ -32,20 +32,20 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
32
32
|
* within the selected time range. Areas that receive less shading than the minimum show no shadow. In the image below,
|
|
33
33
|
* on May 1, 2021, shadows are displayed only where shading exceeds 4 hours between 10AM and 4PM.
|
|
34
34
|
*
|
|
35
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
36
36
|
*
|
|
37
37
|
* **Total shadow duration** mode displays the cumulative duration of shadow within the selected time range using opacity:
|
|
38
38
|
* areas that receive no shadow remain fully transparent, while areas receiving the highest accumulated shadow duration
|
|
39
39
|
* use a default opacity of 0.7. Intermediate values are interpolated. This mode can visualize shadows continuously or
|
|
40
40
|
* in 1-hour intervals.
|
|
41
41
|
*
|
|
42
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
43
43
|
*
|
|
44
44
|
* **Discrete shadows** mode displays individual shadows at regular intervals within the selected time range.
|
|
45
45
|
* For example, with a time range from 10AM to 11AM and an interval set to 30 minutes, the shadows at 10AM, 10:30AM and
|
|
46
46
|
* 11:00AM will be displayed.
|
|
47
47
|
*
|
|
48
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/shadow-cast/)
|
|
49
49
|
*
|
|
50
50
|
* Hovering over the Scene will display a tooltip showing the amount of time that location is in shadow, rounded to 15-minute intervals.
|
|
51
51
|
*
|
|
@@ -15,7 +15,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
15
15
|
* [slice analysis](https://developers.arcgis.com/javascript/latest/references/core/analysis/SliceAnalysis/)
|
|
16
16
|
* to any layer type, making it possible to see inside buildings or to explore geological surfaces.
|
|
17
17
|
*
|
|
18
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/index.html)
|
|
19
19
|
*
|
|
20
20
|
* The slicing [shape](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slice/#shape)
|
|
21
21
|
* is always a [plane](https://developers.arcgis.com/javascript/latest/references/core/analysis/SlicePlane/).
|
|
@@ -29,7 +29,7 @@ import type { Icon as Icon } from "@esri/calcite-components/components/calcite-i
|
|
|
29
29
|
* Once the slice plane is applied, layers can be excluded from the slicing. For example, by excluding the sublayers which include
|
|
30
30
|
* columns and floor slabs, the inner structure of a building can investigated.
|
|
31
31
|
*
|
|
32
|
-
* [](https://developers.arcgis.com/javascript/latest/sample-code/building-scene-layer-slice/index.html)
|
|
33
33
|
*
|
|
34
34
|
* Holding the `Shift` key while placing a new slice applies it vertically.
|
|
35
35
|
*
|
|
@@ -135,12 +135,12 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
135
135
|
* The image below demonstrates how slider input values resemble corresponding slider values by default
|
|
136
136
|
* and won't match the formatting set in `labelFormatFunction`.
|
|
137
137
|
*
|
|
138
|
-
* 
|
|
139
139
|
*
|
|
140
140
|
* If you want to format slider input values so they match thumb labels, you can pass the same function set in `labelFormatFunction` to
|
|
141
141
|
* `inputFormatFunction` for consistent formatting.
|
|
142
142
|
*
|
|
143
|
-
* 
|
|
144
144
|
*
|
|
145
145
|
* However, if an `inputFormatFunction` is specified, you must also write a corresponding
|
|
146
146
|
* [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-binary-color-size-legacy/#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
|
|
@@ -291,7 +291,7 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
291
291
|
*/
|
|
292
292
|
accessor sliderStyle: BinaryColorSizeSliderStyle;
|
|
293
293
|
/** The current state of the component. */
|
|
294
|
-
|
|
294
|
+
get state(): SmartMappingSliderBaseState;
|
|
295
295
|
/**
|
|
296
296
|
* The size stops from the [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
|
|
297
297
|
* to link to the slider. You must provide either three or five stops. The minimum size
|
|
@@ -316,14 +316,14 @@ export abstract class ArcgisSliderBinaryColorSizeLegacy extends LitElement {
|
|
|
316
316
|
* When a slider is in a zoomed state, the zoomed ends of the track will appear jagged. In the image below, notice how the
|
|
317
317
|
* top thumb cannot be moved past the zoom max of `31` even though the slider max is `200`.
|
|
318
318
|
*
|
|
319
|
-
* 
|
|
320
320
|
*
|
|
321
321
|
* To exit a zoomed state, the user can click the jagged line or the developer can set the `zoomOptions` to `null`. It
|
|
322
322
|
* is up to the developer to provide a UI option for end users to enable zooming on the slider.
|
|
323
323
|
*
|
|
324
324
|
* Setting the `zoomOptions` is useful when the slider is tied to heavily skewed datasets where the histogram renders only one or two bars because of outliers.
|
|
325
325
|
*
|
|
326
|
-
* 
|
|
327
327
|
*
|
|
328
328
|
* You can remove the influence of outliers by zooming the slider and regenerating a histogram based on the zoomed min and max. This will provide a better view of the data
|
|
329
329
|
* and make the slider more useful to the end user.
|
|
@@ -12,7 +12,7 @@ class _ extends l {
|
|
|
12
12
|
super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.handlesSyncedToPrimary = this.widget.handlesSyncedToPrimary, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.persistSizeRangeEnabled = this.widget.persistSizeRangeEnabled, this.precision = this.widget.precision, this.sliderStyle = this.widget.style, this.state = this.widget.state, this.stops = this.widget.stops, this.zoomOptions = this.widget.zoomOptions, this.arcgisPropertyChange = n()("histogramConfig", "max", "min", "precision", "sliderStyle", "state", "zoomOptions"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { label: 16, autoDestroyDisabled: 5, handlesSyncedToPrimary: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, persistSizeRangeEnabled: 5, precision: 9, referenceElement: 1, sliderStyle: 0, state:
|
|
15
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, handlesSyncedToPrimary: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, persistSizeRangeEnabled: 5, precision: 9, referenceElement: 1, sliderStyle: 0, state: 32, stops: 0, zoomOptions: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = c;
|
|
@@ -22,7 +22,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
22
22
|
* <span id="image-annotations"></span>
|
|
23
23
|
* See the image below for a summary of the configurable options available on this slider.
|
|
24
24
|
*
|
|
25
|
-
* 
|
|
26
26
|
*
|
|
27
27
|
* The [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/core/widgets/smartMapping/ClassedColorSlider/#fromRendererResult) method can be used to intelligently populate slider properties including
|
|
28
28
|
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-color-legacy/#max), [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-color-legacy/#min), the [classBreakInfos](https://developers.arcgis.com/javascript/latest/references/core/renderers/ClassBreaksRenderer/#classBreakInfos) configuration,
|
|
@@ -150,12 +150,12 @@ export abstract class ArcgisSliderClassedColorLegacy extends LitElement {
|
|
|
150
150
|
* The image below demonstrates how slider input values resemble corresponding slider values by default
|
|
151
151
|
* and won't match the formatting set in `labelFormatFunction`.
|
|
152
152
|
*
|
|
153
|
-
* 
|
|
154
154
|
*
|
|
155
155
|
* If you want to format slider input values so they match thumb labels, you can pass the same function set in `labelFormatFunction` to
|
|
156
156
|
* `inputFormatFunction` for consistent formatting.
|
|
157
157
|
*
|
|
158
|
-
* 
|
|
159
159
|
*
|
|
160
160
|
* However, if an `inputFormatFunction` is specified, you must also write a corresponding
|
|
161
161
|
* [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-color-legacy/#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
|
|
@@ -273,7 +273,7 @@ export abstract class ArcgisSliderClassedColorLegacy extends LitElement {
|
|
|
273
273
|
*/
|
|
274
274
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
275
275
|
/** The current state of the component. */
|
|
276
|
-
|
|
276
|
+
get state(): SmartMappingSliderBaseState;
|
|
277
277
|
/** Permanently destroy the component. */
|
|
278
278
|
destroy(): Promise<void>;
|
|
279
279
|
/**
|
|
@@ -12,7 +12,7 @@ class h extends l {
|
|
|
12
12
|
super(...arguments), this.widget = _(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.breaks = this.widget.breaks, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.state = this.widget.state, this.arcgisPropertyChange = d()("breaks", "histogramConfig", "max", "min", "precision", "state"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { label: 16, autoDestroyDisabled: 5, breaks: 0, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, state:
|
|
15
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, breaks: 0, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, state: 32 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = n;
|
|
@@ -22,7 +22,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
22
22
|
*
|
|
23
23
|
* See the image below for a summary of the configurable options available on this slider.
|
|
24
24
|
*
|
|
25
|
-
* 
|
|
26
26
|
*
|
|
27
27
|
* The [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-size-legacy/#updateFromRendererResult) method can be used to intelligently populate slider properties including
|
|
28
28
|
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-size-legacy/#max), [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-size-legacy/#min), the [classBreakInfos](https://developers.arcgis.com/javascript/latest/references/core/renderers/ClassBreaksRenderer/#classBreakInfos) configuration,
|
|
@@ -143,12 +143,12 @@ export abstract class ArcgisSliderClassedSizeLegacy extends LitElement {
|
|
|
143
143
|
* The image below demonstrates how slider input values resemble corresponding slider values by default
|
|
144
144
|
* and won't match the formatting set in `labelFormatFunction`.
|
|
145
145
|
*
|
|
146
|
-
* 
|
|
147
147
|
*
|
|
148
148
|
* If you want to format slider input values so they match thumb labels, you can pass the same function set in `labelFormatFunction` to
|
|
149
149
|
* `inputFormatFunction` for consistent formatting.
|
|
150
150
|
*
|
|
151
|
-
* 
|
|
152
152
|
*
|
|
153
153
|
* However, if an `inputFormatFunction` is specified, you must also write a corresponding
|
|
154
154
|
* [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-classed-size-legacy/#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
|
|
@@ -280,7 +280,7 @@ export abstract class ArcgisSliderClassedSizeLegacy extends LitElement {
|
|
|
280
280
|
*/
|
|
281
281
|
accessor sliderStyle: ClassedSizeSliderStyle;
|
|
282
282
|
/** The current state of the component. */
|
|
283
|
-
|
|
283
|
+
get state(): SmartMappingSliderBaseState;
|
|
284
284
|
/** Permanently destroy the component. */
|
|
285
285
|
destroy(): Promise<void>;
|
|
286
286
|
/**
|
|
@@ -12,7 +12,7 @@ class h extends l {
|
|
|
12
12
|
super(...arguments), this.widget = _(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.breaks = this.widget.breaks, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.sliderStyle = this.widget.style, this.state = this.widget.state, this.arcgisPropertyChange = d()("breaks", "histogramConfig", "max", "min", "precision", "sliderStyle", "state"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { label: 16, autoDestroyDisabled: 5, breaks: 0, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state:
|
|
15
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, breaks: 0, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state: 32 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = c;
|
|
@@ -21,7 +21,7 @@ import type { LabelFormatFunction, InputParseFunction } from "@arcgis/core/widge
|
|
|
21
21
|
* <span id="image-annotations"></span>
|
|
22
22
|
* See the image below for a summary of the configurable options available on this slider.
|
|
23
23
|
*
|
|
24
|
-
* 
|
|
25
25
|
*
|
|
26
26
|
* The [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-legacy/#updateFromRendererResult) method can be used to intelligently populate slider properties including
|
|
27
27
|
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-legacy/#max), [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-legacy/#min), the [color visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/ColorVariable/) configuration,
|
|
@@ -149,12 +149,12 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
|
|
|
149
149
|
* The image below demonstrates how slider input values resemble corresponding slider values by default
|
|
150
150
|
* and won't match the formatting set in `labelFormatFunction`.
|
|
151
151
|
*
|
|
152
|
-
* 
|
|
153
153
|
*
|
|
154
154
|
* If you want to format slider input values so they match thumb labels, you can pass the same function set in `labelFormatFunction` to
|
|
155
155
|
* `inputFormatFunction` for consistent formatting.
|
|
156
156
|
*
|
|
157
|
-
* 
|
|
158
158
|
*
|
|
159
159
|
* However, if an `inputFormatFunction` is specified, you must also write a corresponding
|
|
160
160
|
* [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-legacy/#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
|
|
@@ -312,14 +312,14 @@ export abstract class ArcgisSliderColorLegacy extends LitElement {
|
|
|
312
312
|
* When a slider is in a zoomed state, the zoomed ends of the track will appear jagged. In the image below, notice how the
|
|
313
313
|
* top thumb cannot be moved past the zoom max of `31` even though the slider max is `200`.
|
|
314
314
|
*
|
|
315
|
-
* 
|
|
316
316
|
*
|
|
317
317
|
* To exit a zoomed state, the user can click the jagged line or the developer can set the `zoomOptions` to `null`. It
|
|
318
318
|
* is up to the developer to provide a UI option for end users to enable zooming on the slider.
|
|
319
319
|
*
|
|
320
320
|
* Setting the `zoomOptions` is useful when the slider is tied to heavily skewed datasets where the histogram renders only one or two bars because of outliers.
|
|
321
321
|
*
|
|
322
|
-
* 
|
|
323
323
|
*
|
|
324
324
|
* You can remove the influence of outliers by zooming the slider and regenerating a histogram based on the zoomed min and max. This will provide a better view of the data
|
|
325
325
|
* and make the slider more useful to the end user.
|
|
@@ -29,11 +29,11 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
29
29
|
* far apart from one another; the feature furthest from the [Camera](https://developers.arcgis.com/javascript/latest/references/core/Camera/) will appear smaller than
|
|
30
30
|
* the feature closer to the camera. The color variable can help the user understand that both features have similar values.
|
|
31
31
|
*
|
|
32
|
-
* 
|
|
33
33
|
*
|
|
34
34
|
* See the image below for a summary of the configurable options available on this slider.
|
|
35
35
|
*
|
|
36
|
-
* 
|
|
37
37
|
*
|
|
38
38
|
* The [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#updateFromRendererResult) method can be used to intelligently populate slider properties including
|
|
39
39
|
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#max), [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#min), [size visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/) configuration,
|
|
@@ -157,12 +157,12 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
|
|
|
157
157
|
* The image below demonstrates how slider input values resemble corresponding slider values by default
|
|
158
158
|
* and won't match the formatting set in `labelFormatFunction`.
|
|
159
159
|
*
|
|
160
|
-
* 
|
|
161
161
|
*
|
|
162
162
|
* If you want to format slider input values so they match thumb labels, you can pass the same function set in `labelFormatFunction` to
|
|
163
163
|
* `inputFormatFunction` for consistent formatting.
|
|
164
164
|
*
|
|
165
|
-
* 
|
|
166
166
|
*
|
|
167
167
|
* However, if an `inputFormatFunction` is specified, you must also write a corresponding
|
|
168
168
|
* [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
|
|
@@ -327,7 +327,7 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
|
|
|
327
327
|
*/
|
|
328
328
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
329
329
|
/** The current state of the component. */
|
|
330
|
-
|
|
330
|
+
get state(): SmartMappingSliderBaseState;
|
|
331
331
|
/**
|
|
332
332
|
* The colors and sizes corresponding with data values in the [ColorVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/ColorVariable/)
|
|
333
333
|
* and [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/) of the renderer associated with the slider.
|
|
@@ -355,14 +355,14 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
|
|
|
355
355
|
* When a slider is in a zoomed state, the zoomed ends of the track will appear jagged. In the image below, notice how the
|
|
356
356
|
* top thumb cannot be moved past the zoom max of `31` even though the slider max is `200`.
|
|
357
357
|
*
|
|
358
|
-
* 
|
|
359
359
|
*
|
|
360
360
|
* To exit a zoomed state, the user can click the jagged line or the developer can set the `zoomOptions` to `null`. It
|
|
361
361
|
* is up to the developer to provide a UI option for end users to enable zooming on the slider.
|
|
362
362
|
*
|
|
363
363
|
* Setting the `zoomOptions` is useful when the slider is tied to heavily skewed datasets where the histogram renders only one or two bars because of outliers.
|
|
364
364
|
*
|
|
365
|
-
* 
|
|
366
366
|
*
|
|
367
367
|
* You can remove the influence of outliers by zooming the slider and regenerating a histogram based on the zoomed min and max. This will provide a better view of the data
|
|
368
368
|
* and make the slider more useful to the end user.
|
|
@@ -12,7 +12,7 @@ class _ extends l {
|
|
|
12
12
|
super(...arguments), this.widget = h(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.handlesSyncedToPrimary = this.widget.handlesSyncedToPrimary, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.persistSizeRangeEnabled = this.widget.persistSizeRangeEnabled, this.precision = this.widget.precision, this.primaryHandleEnabled = this.widget.primaryHandleEnabled, this.state = this.widget.state, this.stops = this.widget.stops, this.zoomOptions = this.widget.zoomOptions, this.arcgisPropertyChange = d()("histogramConfig", "max", "min", "precision", "state", "stops", "zoomOptions"), this.arcgisReady = a(), this.arcgisThumbChange = i(() => this.widget, "thumb-change"), this.arcgisThumbDrag = i(() => this.widget, "thumb-drag");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { label: 16, autoDestroyDisabled: 5, handlesSyncedToPrimary: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, persistSizeRangeEnabled: 5, precision: 9, primaryHandleEnabled: 5, referenceElement: 1, state:
|
|
15
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, handlesSyncedToPrimary: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, persistSizeRangeEnabled: 5, precision: 9, primaryHandleEnabled: 5, referenceElement: 1, state: 32, stops: 0, zoomOptions: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = c;
|
|
@@ -17,7 +17,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
17
17
|
*
|
|
18
18
|
* See the image below for a summary of the configurable options available on this slider.
|
|
19
19
|
*
|
|
20
|
-
* 
|
|
21
21
|
*
|
|
22
22
|
* ```js
|
|
23
23
|
* const viewElement = document.querySelector("arcgis-map")!;
|
|
@@ -108,7 +108,7 @@ export abstract class ArcgisSliderHeatmapLegacy extends LitElement {
|
|
|
108
108
|
*/
|
|
109
109
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
110
110
|
/** The current state of the component. */
|
|
111
|
-
|
|
111
|
+
get state(): SmartMappingSliderBaseState;
|
|
112
112
|
/**
|
|
113
113
|
* The color stops of the [HeatmapRenderer](https://developers.arcgis.com/javascript/latest/references/core/renderers/HeatmapRenderer/) to associate with the slider.
|
|
114
114
|
*
|
|
@@ -12,7 +12,7 @@ class c extends o {
|
|
|
12
12
|
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.state = this.widget.state, this.stops = this.widget.stops, this.arcgisPropertyChange = s()("precision", "state", "stops"), this.arcgisReady = a(), this.arcgisThumbChange = e(() => this.widget, "thumb-change"), this.arcgisThumbDrag = e(() => this.widget, "thumb-drag");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { label: 16, autoDestroyDisabled: 5, icon: 1, max: 40, min: 40, precision: 9, referenceElement: 1, state:
|
|
15
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, icon: 1, max: 40, min: 40, precision: 9, referenceElement: 1, state: 32, stops: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = d;
|
|
@@ -23,7 +23,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
23
23
|
* <span id="image-annotations"></span>
|
|
24
24
|
* See the image below for a summary of the configurable options available on this slider.
|
|
25
25
|
*
|
|
26
|
-
* 
|
|
27
27
|
*
|
|
28
28
|
* The [updateFromVisualVariableResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#updateFromVisualVariableResult) method can be used to intelligently populate slider properties including [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#max), [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#min),
|
|
29
29
|
* the [opacity visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/OpacityVariable/) configuration,
|
|
@@ -137,12 +137,12 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
137
137
|
* The image below demonstrates how slider input values resemble corresponding slider values by default
|
|
138
138
|
* and won't match the formatting set in `labelFormatFunction`.
|
|
139
139
|
*
|
|
140
|
-
* 
|
|
141
141
|
*
|
|
142
142
|
* If you want to format slider input values so they match thumb labels, you can pass the same function set in `labelFormatFunction` to
|
|
143
143
|
* `inputFormatFunction` for consistent formatting.
|
|
144
144
|
*
|
|
145
|
-
* 
|
|
146
146
|
*
|
|
147
147
|
* However, if an `inputFormatFunction` is specified, you must also write a corresponding
|
|
148
148
|
* [inputParseFunction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#inputParseFunction) to parse user inputs to understandable slider values. In most cases, if
|
|
@@ -273,7 +273,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
273
273
|
*/
|
|
274
274
|
accessor sliderStyle: OpacitySliderStyle;
|
|
275
275
|
/** The current state of the component. */
|
|
276
|
-
|
|
276
|
+
get state(): SmartMappingSliderBaseState;
|
|
277
277
|
/**
|
|
278
278
|
* The opacity stops from the [OpacityVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/OpacityVariable/)
|
|
279
279
|
* to link to the slider. The opacity values in these stops will be used
|
|
@@ -302,14 +302,14 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
302
302
|
* When a slider is in a zoomed state, the zoomed ends of the track will appear jagged. In the image below, notice how the
|
|
303
303
|
* top thumb cannot be moved past the zoom max of `31` even though the slider max is `200`.
|
|
304
304
|
*
|
|
305
|
-
* 
|
|
306
306
|
*
|
|
307
307
|
* To exit a zoomed state, the user can click the jagged line or the developer can set the `zoomOptions` to `null`. It
|
|
308
308
|
* is up to the developer to provide a UI option for end users to enable zooming on the slider.
|
|
309
309
|
*
|
|
310
310
|
* Setting the `zoomOptions` is useful when the slider is tied to heavily skewed datasets where the histogram renders only one or two bars because of outliers.
|
|
311
311
|
*
|
|
312
|
-
* 
|
|
313
313
|
*
|
|
314
314
|
* You can remove the influence of outliers by zooming the slider and regenerating a histogram based on the zoomed min and max. This will provide a better view of the data
|
|
315
315
|
* and make the slider more useful to the end user.
|
|
@@ -12,7 +12,7 @@ class h extends a {
|
|
|
12
12
|
super(...arguments), this.widget = p(this), this.viewModel = this.widget.viewModel, this.label = this.widget.label, this.autoDestroyDisabled = !1, this.histogramConfig = this.widget.histogramConfig, this.icon = this.widget.icon, this.inputFormatFunction = this.widget.inputFormatFunction, this.inputParseFunction = this.widget.inputParseFunction, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.precision = this.widget.precision, this.sliderStyle = this.widget.style, this.state = this.widget.state, this.stops = this.widget.stops, this.zoomOptions = this.widget.zoomOptions, this.arcgisPropertyChange = n()("histogramConfig", "max", "min", "precision", "sliderStyle", "state", "stops", "zoomOptions"), this.arcgisReady = d(), this.arcgisThumbChange = e(() => this.widget, "thumb-change"), this.arcgisThumbDrag = e(() => this.widget, "thumb-drag");
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
|
-
this.properties = { label: 16, autoDestroyDisabled: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state:
|
|
15
|
+
this.properties = { label: 16, autoDestroyDisabled: 5, histogramConfig: 0, icon: 1, inputFormatFunction: 0, inputParseFunction: 0, labelFormatFunction: 0, max: 9, min: 9, precision: 9, referenceElement: 1, sliderStyle: 0, state: 32, stops: 0, zoomOptions: 0 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.styles = c;
|