@arcgis/map-components 5.0.0-next.161 → 5.0.0-next.162
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/{JAGDFQG6.js → 25HB2UBJ.js} +1 -1
- package/dist/cdn/{VFMEHZZD.js → 2AHY7O7C.js} +1 -1
- package/dist/cdn/{IJ55LHCM.js → 2FTXKTA4.js} +1 -1
- package/dist/cdn/{HRF5IALK.js → 3HYCJV4V.js} +1 -1
- package/dist/cdn/{GQVWDA6I.js → 42WUBROP.js} +1 -1
- package/dist/cdn/{SA36LNKO.js → 4WMWNIPN.js} +1 -1
- package/dist/cdn/522HNMQI.js +2 -0
- package/dist/cdn/{5ZA7DJQS.js → 5LG4S2WV.js} +1 -1
- package/dist/cdn/{ZUNZDQUR.js → 6424II7L.js} +1 -1
- package/dist/cdn/{W3OOBNAC.js → 67DKLGTW.js} +1 -1
- package/dist/cdn/{YMUDLENL.js → 6IPVLMFQ.js} +1 -1
- package/dist/cdn/6IUQ5UHX.js +2 -0
- package/dist/cdn/{XC73PUXJ.js → 7AGJFQHK.js} +1 -1
- package/dist/cdn/{YK2QFDB6.js → 7NOD6U2Y.js} +1 -1
- package/dist/cdn/{VZERD7WA.js → 7OOAOM5T.js} +1 -1
- package/dist/cdn/{K2WVDLY4.js → AEMKZZZS.js} +1 -1
- package/dist/cdn/{QZPZSZPM.js → AJ64UYFM.js} +1 -1
- package/dist/cdn/{7SLLFJRR.js → AJIZTCGT.js} +1 -1
- package/dist/cdn/{OOUV2QP3.js → ANP7PYGJ.js} +1 -1
- package/dist/cdn/{LS7DJQ5K.js → AX23Q2XH.js} +1 -1
- package/dist/cdn/{IIMYW42S.js → B7SDETM6.js} +1 -1
- package/dist/cdn/{4JVUUWOR.js → BHPXKX47.js} +1 -1
- package/dist/cdn/{S74R5TS2.js → BKYII5LQ.js} +1 -1
- package/dist/cdn/{227PGZWD.js → CEB3VR24.js} +1 -1
- package/dist/cdn/{UUFU74F2.js → CO7UZYM2.js} +1 -1
- package/dist/cdn/{WR7YFN6J.js → CSU7GLED.js} +1 -1
- package/dist/cdn/{ZM4HRRLA.js → CXHSL2Y4.js} +1 -1
- package/dist/cdn/{PFYBNJ7Q.js → D4PJU376.js} +1 -1
- package/dist/cdn/{DNDFQB6M.js → DB2NOQ3D.js} +1 -1
- package/dist/cdn/{GPRLA5XG.js → E5SXPWDJ.js} +1 -1
- package/dist/cdn/{AELXLN3Z.js → EO66UQLI.js} +1 -1
- package/dist/cdn/{JM5UC74N.js → ESNK6MCY.js} +1 -1
- package/dist/cdn/{KLCFGWID.js → F2HPTFLQ.js} +1 -1
- package/dist/cdn/{APTCZIC5.js → F6QNNUIN.js} +1 -1
- package/dist/cdn/{PZEM6N6R.js → FA3Z6QOE.js} +1 -1
- package/dist/cdn/{USU73B2B.js → FD4A66OJ.js} +1 -1
- package/dist/cdn/{OYYIEGIF.js → FKQSJXNW.js} +1 -1
- package/dist/cdn/{7BVN4DHV.js → FRGWWVJK.js} +1 -1
- package/dist/cdn/{ZFIWGLC3.js → G4FP7GXM.js} +1 -1
- package/dist/cdn/{ND443SHN.js → GAH6OGQE.js} +1 -1
- package/dist/cdn/{YIMKE3ZS.js → GCFNRINR.js} +1 -1
- package/dist/cdn/{TWRNR5SM.js → GMR2QJNU.js} +1 -1
- package/dist/cdn/{VPFMRSZ6.js → H5RGMC7S.js} +1 -1
- package/dist/cdn/{ND6JN4YZ.js → HKVQWRPL.js} +1 -1
- package/dist/cdn/{ZEJQO6MG.js → HYBTGX3N.js} +1 -1
- package/dist/cdn/{CABYEVH5.js → I5M2Z7WS.js} +1 -1
- package/dist/cdn/{XOMA7SZS.js → IKOLSNGV.js} +1 -1
- package/dist/cdn/{WBIRVQFF.js → IL56ZRDO.js} +1 -1
- package/dist/cdn/{JBDUMA6A.js → ILFME5US.js} +1 -1
- package/dist/cdn/{COSJIIOV.js → IQ7EVFBF.js} +1 -1
- package/dist/cdn/{T5J4CTR7.js → IWY2NPAG.js} +1 -1
- package/dist/cdn/{HAGRUIX6.js → J4XU75P7.js} +1 -1
- package/dist/cdn/{XX7YW667.js → JCW65STL.js} +1 -1
- package/dist/cdn/{2VP56JYP.js → JUHCPSPF.js} +1 -1
- package/dist/cdn/{3PBCQSML.js → JZXMWXVD.js} +1 -1
- package/dist/cdn/K4PC3ILQ.js +2 -0
- package/dist/cdn/{ECEHRM4F.js → K6ZTEDKX.js} +1 -1
- package/dist/cdn/{S2OPU6EB.js → KAZBQ6OA.js} +1 -1
- package/dist/cdn/{TEZDBCLU.js → KGJGLAWM.js} +1 -1
- package/dist/cdn/{VXRHLDSF.js → KRVBBG4M.js} +1 -1
- package/dist/cdn/{FZJKT7BV.js → KWIBK4I5.js} +1 -1
- package/dist/cdn/{CNAGRWBY.js → L5JWLRD3.js} +1 -1
- package/dist/cdn/{VWFVE3N5.js → LT5ALQM5.js} +1 -1
- package/dist/cdn/{T6MNZWQJ.js → MAM7YHLA.js} +1 -1
- package/dist/cdn/{S2WF243X.js → MD36SH63.js} +1 -1
- package/dist/cdn/{YGRKF7FM.js → N7QKWBTM.js} +1 -1
- package/dist/cdn/{VU4FTMX6.js → NWXN5M4S.js} +1 -1
- package/dist/cdn/{JWX6Z3ZF.js → O4RXVEMK.js} +1 -1
- package/dist/cdn/{GSULD3SQ.js → ODGGFBDK.js} +1 -1
- package/dist/cdn/{THO22RHZ.js → OFQNQF6N.js} +1 -1
- package/dist/cdn/{NYXESRIT.js → ONPN5M3Z.js} +1 -1
- package/dist/cdn/{N472QGAH.js → ORVYHFUJ.js} +1 -1
- package/dist/cdn/{CGXCY6GA.js → P76K34HQ.js} +1 -1
- package/dist/cdn/{SGG7SP3T.js → P7PWOUNZ.js} +1 -1
- package/dist/cdn/{6TBMOJWN.js → PQ5PGLJM.js} +1 -1
- package/dist/cdn/{RM2HMUW5.js → PYMUS3H4.js} +1 -1
- package/dist/cdn/{BFJ4VLH7.js → PZ2JPHRS.js} +1 -1
- package/dist/cdn/{FHDRIX57.js → Q4B4MXH4.js} +1 -1
- package/dist/cdn/{XLPNOCX2.js → QF7RABZH.js} +1 -1
- package/dist/cdn/{T3ZQTVDW.js → QKSSTPS3.js} +1 -1
- package/dist/cdn/{CFNAG4UQ.js → QUHJMEBB.js} +1 -1
- package/dist/cdn/{QCAKPRXK.js → QZPDQ6B7.js} +1 -1
- package/dist/cdn/{GIIC5RQS.js → R2FIOZIL.js} +1 -1
- package/dist/cdn/{ZA6HMKG3.js → RB7GCEEB.js} +1 -1
- package/dist/cdn/{U7UXBPOB.js → RE2BXNZ3.js} +1 -1
- package/dist/cdn/{OLRMETYO.js → RMFIN5AS.js} +1 -1
- package/dist/cdn/{Z2BF5ON2.js → RN57AN5P.js} +1 -1
- package/dist/cdn/{7DRCEN4I.js → RU5U2DVA.js} +1 -1
- package/dist/cdn/{AR4EHDQE.js → RYKRMJMK.js} +1 -1
- package/dist/cdn/{2WRZHA7I.js → RZ4T32PU.js} +1 -1
- package/dist/cdn/{K5TOSB65.js → SDWQW3ZX.js} +1 -1
- package/dist/cdn/{UBCQ3OXU.js → SK6O74LF.js} +1 -1
- package/dist/cdn/SKIP3GUP.js +2 -0
- package/dist/cdn/{FKFLM37F.js → T3JWZEB6.js} +1 -1
- package/dist/cdn/{WBEN5CWQ.js → TGUIWWDN.js} +1 -1
- package/dist/cdn/TQRR2FH6.js +2 -0
- package/dist/cdn/{W2Z72SWO.js → U3H7EVCU.js} +1 -1
- package/dist/cdn/{Y27IRNJL.js → U4TAMNG3.js} +1 -1
- package/dist/cdn/{OE3W5FEW.js → UBGE4QNR.js} +1 -1
- package/dist/cdn/{RAXYFKPT.js → UELD2T53.js} +1 -1
- package/dist/cdn/{JKBRLNJZ.js → UNLAUFXF.js} +1 -1
- package/dist/cdn/{H6TQCFMC.js → UW3G2BPO.js} +1 -1
- package/dist/cdn/{LEJDJAPO.js → W53OMY3O.js} +1 -1
- package/dist/cdn/{PTIYROPJ.js → WBGZAAEK.js} +1 -1
- package/dist/cdn/{ZX4R6K46.js → WDTFIXMM.js} +1 -1
- package/dist/cdn/{NS2J3AS6.js → WLNRPTCN.js} +1 -1
- package/dist/cdn/{ETJEFAUU.js → WTTBFFC2.js} +1 -1
- package/dist/cdn/{TRID34Q5.js → WV6XSMZW.js} +1 -1
- package/dist/cdn/{KEJZKHZZ.js → XCDPFMHG.js} +1 -1
- package/dist/cdn/{C45HGFAM.js → XIOIZK7A.js} +1 -1
- package/dist/cdn/{A724KY7J.js → Y4RMI55P.js} +1 -1
- package/dist/cdn/YLLIMNEW.js +2 -0
- package/dist/cdn/{DETI55RG.js → YXYCWJFF.js} +1 -1
- package/dist/cdn/{OE46TF5I.js → Z6LXLPK7.js} +1 -1
- package/dist/cdn/{WWASOGVO.js → ZOBY4YF2.js} +1 -1
- package/dist/cdn/{DHY6U2TQ.js → ZVTV4UKT.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +7 -7
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +7 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +4 -4
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +13 -13
- package/dist/components/arcgis-daylight/customElement.js +2 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +7 -7
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +8 -8
- package/dist/components/arcgis-feature/customElement.d.ts +7 -7
- package/dist/components/arcgis-feature-fields/customElement.js +7 -7
- package/dist/components/arcgis-feature-form/customElement.d.ts +2 -2
- package/dist/components/arcgis-features/customElement.d.ts +35 -35
- package/dist/components/arcgis-floor-filter/customElement.d.ts +3 -3
- package/dist/components/arcgis-grid-controls/customElement.d.ts +8 -8
- package/dist/components/arcgis-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -5
- package/dist/components/arcgis-link-chart/customElement.d.ts +5 -5
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +41 -41
- package/dist/components/arcgis-measurement/customElement.d.ts +3 -3
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +42 -42
- package/dist/components/arcgis-print/customElement.d.ts +6 -6
- package/dist/components/arcgis-scene/customElement.d.ts +32 -32
- package/dist/components/arcgis-search/customElement.d.ts +11 -11
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +26 -26
- package/dist/components/arcgis-slice/customElement.d.ts +12 -12
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +6 -6
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +4 -4
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +5 -5
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +9 -9
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +16 -16
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +1 -1
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +5 -5
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +9 -9
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +6 -29
- package/dist/components/arcgis-time-zone-label/customElement.js +15 -48
- package/dist/components/arcgis-time-zone-label/index.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +15 -15
- package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +14 -14
- package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +5 -5
- 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 +1 -1
- package/dist/types/lumina.d.ts +1 -2
- package/dist/types/preact.d.ts +1 -2
- package/dist/types/react.d.ts +1 -2
- package/dist/types/stencil.d.ts +1 -2
- package/package.json +4 -4
- package/dist/cdn/43GVPQTY.js +0 -2
- package/dist/cdn/BVJCLI2O.js +0 -2
- package/dist/cdn/F6ZBZTSB.js +0 -2
- package/dist/cdn/LT6PKSRL.js +0 -2
- package/dist/cdn/MTTO5ISS.js +0 -2
- package/dist/cdn/RHWPLIDI.js +0 -2
|
@@ -35,10 +35,10 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
35
35
|
*
|
|
36
36
|
* 
|
|
37
37
|
*
|
|
38
|
-
* The [updateFromRendererResult()](
|
|
39
|
-
* [max](
|
|
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
|
+
* [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,
|
|
40
40
|
* [color visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/ColorVariable/) configuration, and the slider's histogram after the
|
|
41
|
-
* renderer has been created from the result of the [createContinuousRenderer](
|
|
41
|
+
* renderer has been created from the result of the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/univariateColorSize/#createContinuousRenderer) method.
|
|
42
42
|
*
|
|
43
43
|
* ```js
|
|
44
44
|
* const colorAndSizeRendererCreator = await import("@arcgis/core/smartMapping/renderers/univariateColorSize.js");
|
|
@@ -107,7 +107,7 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
|
|
|
107
107
|
accessor autoDestroyDisabled: boolean;
|
|
108
108
|
/**
|
|
109
109
|
* Only applicable when three thumbs (i.e. handles) are set on the
|
|
110
|
-
* slider (i.e. when [primaryHandleEnabled](
|
|
110
|
+
* slider (i.e. when [primaryHandleEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#primaryHandleEnabled) is `true`). This property
|
|
111
111
|
* indicates whether the position of the outside handles are synced with the middle, or primary,
|
|
112
112
|
* handle. When enabled, if the primary handle is moved then the outside handle positions are updated
|
|
113
113
|
* while maintaining a fixed distance from the primary handle.
|
|
@@ -238,7 +238,7 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
|
|
|
238
238
|
*/
|
|
239
239
|
accessor labelFormatFunction: LabelFormatFunction | null | undefined;
|
|
240
240
|
/**
|
|
241
|
-
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](
|
|
241
|
+
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#updateFromRendererResult) method,
|
|
242
242
|
* the user may change this property by selecting the label containing the max value on the slider UI. It is the responsibility of the app developer
|
|
243
243
|
* to set up event listeners that update the color and size variables of the appropriate renderer.
|
|
244
244
|
*
|
|
@@ -249,7 +249,7 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
|
|
|
249
249
|
*/
|
|
250
250
|
accessor max: number;
|
|
251
251
|
/**
|
|
252
|
-
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](
|
|
252
|
+
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#updateFromRendererResult) method,
|
|
253
253
|
* the user may change this property by selecting the label containing the min value on the slider UI. It is the responsibility of the app developer
|
|
254
254
|
* to set up event listeners that update the color and size variables of the appropriate renderer.
|
|
255
255
|
*
|
|
@@ -260,12 +260,12 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
|
|
|
260
260
|
accessor min: number;
|
|
261
261
|
/**
|
|
262
262
|
* Only applicable when three thumbs (i.e. handles) are set on the
|
|
263
|
-
* slider (i.e. when [primaryHandleEnabled](
|
|
263
|
+
* slider (i.e. when [primaryHandleEnabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#primaryHandleEnabled) is `true`).
|
|
264
264
|
* This property is typically used in diverging, or `above-and-below` renderer configurations.
|
|
265
265
|
*
|
|
266
266
|
* When `true`, ensures symbol sizes in the `above` range
|
|
267
267
|
* are consistent with symbol sizes in the `below` range for all slider thumb positions.
|
|
268
|
-
* In other words, the size values in the [stops](
|
|
268
|
+
* In other words, the size values in the [stops](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#stops) will adjust
|
|
269
269
|
* proportionally according to the positions of the data values within the
|
|
270
270
|
* constraints of the size range (maxSize - minSize) as the slider thumbs update.
|
|
271
271
|
* When `false`, size values in the stops will remain the same even when slider thumb values
|
|
@@ -300,10 +300,10 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
|
|
|
300
300
|
/**
|
|
301
301
|
* When `true`, the slider will render a third handle between the
|
|
302
302
|
* two handles already provided by default. This is the primary handle.
|
|
303
|
-
* Three or five [stops](
|
|
303
|
+
* Three or five [stops](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#stops) must be defined for the primary handle to render.
|
|
304
304
|
* The primary handle represents the middle stop.
|
|
305
305
|
*
|
|
306
|
-
* When [handlesSyncedToPrimary](
|
|
306
|
+
* When [handlesSyncedToPrimary](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#handlesSyncedToPrimary) is `true`, then
|
|
307
307
|
* this handle will control the position of the others when moved.
|
|
308
308
|
*
|
|
309
309
|
* This is typically used in diverging, or `above-and-below` renderer configurations.
|
|
@@ -332,12 +332,12 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
|
|
|
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.
|
|
334
334
|
*
|
|
335
|
-
* Use the [updateFromRendererResult()](
|
|
335
|
+
* Use the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#updateFromRendererResult) method to conveniently construct these stops from a renderer generated from the [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/univariateColorSize/#createContinuousRenderer) smart mapping module.
|
|
336
336
|
*
|
|
337
|
-
* Use [updateVisualVariables()](
|
|
337
|
+
* Use [updateVisualVariables()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#updateVisualVariables) to update the renderer's visual variables with the values matching the slider thumb positions.
|
|
338
338
|
*
|
|
339
|
-
* @see [updateFromRendererResult()](
|
|
340
|
-
* @see [updateVisualVariables()](
|
|
339
|
+
* @see [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#updateFromRendererResult)
|
|
340
|
+
* @see [updateVisualVariables()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#updateVisualVariables)
|
|
341
341
|
* @example
|
|
342
342
|
* ```js
|
|
343
343
|
* colorSizeSlider.stops = [
|
|
@@ -348,8 +348,8 @@ export abstract class ArcgisSliderColorSizeLegacy extends LitElement {
|
|
|
348
348
|
*/
|
|
349
349
|
accessor stops: Array<ColorSizeStop>;
|
|
350
350
|
/**
|
|
351
|
-
* Zooms the slider track to the bounds provided in this property. When min and/or max zoom values are provided, the absolute [min](
|
|
352
|
-
* [max](
|
|
351
|
+
* Zooms the slider track to the bounds provided in this property. When min and/or max zoom values are provided, the absolute [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#min) and
|
|
352
|
+
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-color-size-legacy/#max) slider values are preserved and rendered at their typical positions on the slider. However, the
|
|
353
353
|
* slider track itself is zoomed so that thumbs cannot be moved above or below the provided min and max zoomed values.
|
|
354
354
|
*
|
|
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
|
|
@@ -45,7 +45,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
45
45
|
*
|
|
46
46
|
* This slider should be used to update the [colorStops](https://developers.arcgis.com/javascript/latest/references/core/renderers/HeatmapRenderer/#colorStops)
|
|
47
47
|
* property in a HeatmapRenderer. It is the responsibility of the app developer
|
|
48
|
-
* to set up event listeners on this slider to update the renderer's colorStops based on how the [stops](
|
|
48
|
+
* to set up event listeners on this slider to update the renderer's colorStops based on how the [stops](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-heatmap-legacy/#stops) property was recalculated.
|
|
49
49
|
*
|
|
50
50
|
* ```js
|
|
51
51
|
* const updateRendererFromSlider = () => {
|
|
@@ -25,7 +25,7 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
25
25
|
*
|
|
26
26
|
* 
|
|
27
27
|
*
|
|
28
|
-
* The [updateFromVisualVariableResult()](
|
|
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,
|
|
30
30
|
* and the slider's histogram after the renderer has been created from the result of the
|
|
31
31
|
* [createVisualVariable()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/opacity/#createVisualVariable) method.
|
|
@@ -218,7 +218,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
218
218
|
*/
|
|
219
219
|
accessor labelFormatFunction: LabelFormatFunction | null | undefined;
|
|
220
220
|
/**
|
|
221
|
-
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromVisualVariableResult()](
|
|
221
|
+
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromVisualVariableResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#updateFromVisualVariableResult) method,
|
|
222
222
|
* the user may change this property by selecting the label containing the max value on the slider UI. It is the responsibility of the app developer
|
|
223
223
|
* to set up event listeners that update the opacity variable of the appropriate renderer.
|
|
224
224
|
*
|
|
@@ -229,7 +229,7 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
229
229
|
*/
|
|
230
230
|
accessor max: number;
|
|
231
231
|
/**
|
|
232
|
-
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromVisualVariableResult()](
|
|
232
|
+
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromVisualVariableResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#updateFromVisualVariableResult) method,
|
|
233
233
|
* the user may change this property by selecting the label containing the min value on the slider UI. It is the responsibility of the app developer
|
|
234
234
|
* to set up event listeners that update the opacity variable of the appropriate renderer.
|
|
235
235
|
*
|
|
@@ -295,8 +295,8 @@ export abstract class ArcgisSliderOpacityLegacy extends LitElement {
|
|
|
295
295
|
*/
|
|
296
296
|
accessor stops: Array<OpacityStop>;
|
|
297
297
|
/**
|
|
298
|
-
* Zooms the slider track to the bounds provided in this property. When min and/or max zoom values are provided, the absolute [min](
|
|
299
|
-
* [max](
|
|
298
|
+
* Zooms the slider track to the bounds provided in this property. When min and/or max zoom values are provided, the absolute [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#min) and
|
|
299
|
+
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-opacity-legacy/#max) slider values are preserved and rendered at their typical positions on the slider. However, the
|
|
300
300
|
* slider track itself is zoomed so that thumbs cannot be moved above or below the provided min and max zoomed values.
|
|
301
301
|
*
|
|
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
|
|
@@ -25,8 +25,8 @@ import type { SmartMappingSliderBaseState } from "@arcgis/core/widgets/smartMapp
|
|
|
25
25
|
*
|
|
26
26
|
* 
|
|
27
27
|
*
|
|
28
|
-
* The [updateFromRendererResult()](
|
|
29
|
-
* [max](
|
|
28
|
+
* The [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#updateFromRendererResult) method can be used to intelligently populate slider properties including
|
|
29
|
+
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#max), [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#min), [size visual variable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
|
|
30
30
|
* intervals, and the slider's histogram after the renderer has been created from the result of the
|
|
31
31
|
* [createContinuousRenderer()](https://developers.arcgis.com/javascript/latest/references/core/smartMapping/renderers/size/#createContinuousRenderer) method.
|
|
32
32
|
*
|
|
@@ -215,7 +215,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
215
215
|
*/
|
|
216
216
|
accessor labelFormatFunction: LabelFormatFunction | null | undefined;
|
|
217
217
|
/**
|
|
218
|
-
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](
|
|
218
|
+
* The maximum value or upper bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#updateFromRendererResult) method,
|
|
219
219
|
* the user may change this property by selecting the label containing the max value on the slider UI. It is the responsibility of the app developer
|
|
220
220
|
* to set up event listeners that update the size variable of the appropriate renderer.
|
|
221
221
|
*
|
|
@@ -226,7 +226,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
226
226
|
*/
|
|
227
227
|
accessor max: number;
|
|
228
228
|
/**
|
|
229
|
-
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](
|
|
229
|
+
* The minimum value or lower bound of the slider. Once the slider has rendered with the [updateFromRendererResult()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#updateFromRendererResult) method,
|
|
230
230
|
* the user may change this property by selecting the label containing the min value on the slider UI. It is the responsibility of the app developer
|
|
231
231
|
* to set up event listeners that update the size variable of the appropriate renderer.
|
|
232
232
|
*
|
|
@@ -275,7 +275,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
275
275
|
/**
|
|
276
276
|
* The size stops from the [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/) to link to the slider.
|
|
277
277
|
*
|
|
278
|
-
* @see [updateVisualVariable()](
|
|
278
|
+
* @see [updateVisualVariable()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#updateVisualVariable)
|
|
279
279
|
* @example
|
|
280
280
|
* ```js
|
|
281
281
|
* sizeSlider.stops = [
|
|
@@ -288,8 +288,8 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
288
288
|
*/
|
|
289
289
|
accessor stops: Array<SizeStop>;
|
|
290
290
|
/**
|
|
291
|
-
* Zooms the slider track to the bounds provided in this property. When min and/or max zoom values are provided, the absolute [min](
|
|
292
|
-
* [max](
|
|
291
|
+
* Zooms the slider track to the bounds provided in this property. When min and/or max zoom values are provided, the absolute [min](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#min) and
|
|
292
|
+
* [max](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#max) slider values are preserved and rendered at their typical positions on the slider. However, the
|
|
293
293
|
* slider track itself is zoomed so that thumbs cannot be moved above or below the provided min and max zoomed values.
|
|
294
294
|
*
|
|
295
295
|
* When a slider is in a zoomed state, the zoomed ends of the track will appear jagged. In the image below, notice how the
|
|
@@ -369,7 +369,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
369
369
|
updateFromRendererResult(rendererResult: ContinuousRendererResult, histogramResult?: HistogramResult): void;
|
|
370
370
|
/**
|
|
371
371
|
* A convenience function used to update the [SizeVariable](https://developers.arcgis.com/javascript/latest/references/core/renderers/visualVariables/SizeVariable/)
|
|
372
|
-
* to match the values of the [stops](
|
|
372
|
+
* to match the values of the [stops](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#stops) on the slider.
|
|
373
373
|
* The slider stops are automatically updated internally when the user drags a thumb slider.
|
|
374
374
|
*
|
|
375
375
|
* This is particularly useful for Size visual variables that have a set
|
|
@@ -378,7 +378,7 @@ export abstract class ArcgisSliderSizeLegacy extends LitElement {
|
|
|
378
378
|
* This method will properly reconstruct the variable to set on the renderer so it matches the stops on the slider.
|
|
379
379
|
*
|
|
380
380
|
* @param sizeVariable - The size visual variable
|
|
381
|
-
* from the renderer to update to the set [stops](
|
|
381
|
+
* from the renderer to update to the set [stops](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-slider-size-legacy/#stops) on the slider.
|
|
382
382
|
* @returns Returns the updated visual variable
|
|
383
383
|
* to set back on the renderer.
|
|
384
384
|
* @example
|
|
@@ -85,7 +85,7 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
85
85
|
/**
|
|
86
86
|
* A collection of layers that will show on the left or top side of the Swipe component.
|
|
87
87
|
*
|
|
88
|
-
* @deprecated since 5.0, use [
|
|
88
|
+
* @deprecated since 5.0, use [startLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#startLayers) instead.
|
|
89
89
|
* @see [leadingLayers](https://developers.arcgis.com/javascript/latest/references/core/widgets/Swipe/SwipeViewModel/#leadingLayers)
|
|
90
90
|
*/
|
|
91
91
|
accessor leadingLayers: Collection<Layer>;
|
|
@@ -108,7 +108,7 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
108
108
|
}>;
|
|
109
109
|
/**
|
|
110
110
|
* The position of the Swipe component. This determines what percentage
|
|
111
|
-
* of the view will be taken up by the [startLayers](
|
|
111
|
+
* of the view will be taken up by the [startLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#startLayers).
|
|
112
112
|
*
|
|
113
113
|
* @default 25
|
|
114
114
|
* @since 5.0
|
|
@@ -135,16 +135,16 @@ export abstract class ArcgisSwipe extends LitElement {
|
|
|
135
135
|
get state(): State;
|
|
136
136
|
/**
|
|
137
137
|
* The position of the Swipe component. This determines what percentage
|
|
138
|
-
* of the view will be taken up by the [startLayers](
|
|
138
|
+
* of the view will be taken up by the [startLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#startLayers).
|
|
139
139
|
*
|
|
140
|
-
* @deprecated since 5.0, use [
|
|
140
|
+
* @deprecated since 5.0, use [position](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#position) instead.
|
|
141
141
|
* @default 25
|
|
142
142
|
*/
|
|
143
143
|
accessor swipePosition: number;
|
|
144
144
|
/**
|
|
145
145
|
* A collection of layers that will show on the right or bottom side of the Swipe component.
|
|
146
146
|
*
|
|
147
|
-
* @deprecated since 5.0, use [
|
|
147
|
+
* @deprecated since 5.0, use [endLayers](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-swipe/#endLayers) instead.
|
|
148
148
|
* @see [trailingLayers](https://developers.arcgis.com/javascript/latest/references/core/widgets/Swipe/SwipeViewModel/#trailingLayers)
|
|
149
149
|
*/
|
|
150
150
|
accessor trailingLayers: Collection<Layer>;
|
|
@@ -6,13 +6,7 @@ import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
|
6
6
|
import type { Icon as Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* Time Zone Label is a component for displaying the current [
|
|
10
|
-
* The component has two states, collapsed as a small button and expanded displaying the internationalized name of the Map's time zone.
|
|
11
|
-
* Users can toggle between these states by clicking the component's expand/collapse button.
|
|
12
|
-
* By default the component is collapsed.
|
|
13
|
-
*
|
|
14
|
-
* When expanding, the component will lengthen inwards when [positioned](#position) within a Map.
|
|
15
|
-
* This behavior can be overridden by setting the [expandDirection](#expandDirection) property to either `"start"` or `"end"`.
|
|
9
|
+
* Time Zone Label is a component for displaying the current [arcgis-map.timeZone](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/#timeZone) of an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/).
|
|
16
10
|
*
|
|
17
11
|
* @since 4.33
|
|
18
12
|
*/
|
|
@@ -26,29 +20,17 @@ export abstract class ArcgisTimeZoneLabel extends LitElement {
|
|
|
26
20
|
noAdjustment: string;
|
|
27
21
|
}>;
|
|
28
22
|
/**
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* @default false
|
|
32
|
-
*/
|
|
33
|
-
accessor disabled: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* The direction the component will expand.
|
|
36
|
-
*
|
|
37
|
-
* By default, the component will expand inward if assigned to a slotted corner. If the component is positioned manually,
|
|
38
|
-
* the component will expand towards the "end" which is equivalent to right in a left-to-right application.
|
|
23
|
+
* An optional leading icon that is displayed within the component.
|
|
39
24
|
*
|
|
40
|
-
*
|
|
41
|
-
* >
|
|
42
|
-
* > This setting may be ignored if due to the component's position within the map, there is insufficient space to expand in the requested direction.
|
|
25
|
+
* @since 5.0
|
|
43
26
|
*/
|
|
44
|
-
|
|
45
|
-
set expandDirection(value: ExpandDirection | undefined);
|
|
27
|
+
accessor actionIcon: Icon["icon"] | undefined;
|
|
46
28
|
/**
|
|
47
|
-
*
|
|
29
|
+
* When true, the component is visually withdrawn and cannot receive user interaction.
|
|
48
30
|
*
|
|
49
31
|
* @default false
|
|
50
32
|
*/
|
|
51
|
-
accessor
|
|
33
|
+
accessor disabled: boolean;
|
|
52
34
|
/**
|
|
53
35
|
* Icon which represents the component.
|
|
54
36
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
@@ -82,9 +64,6 @@ export abstract class ArcgisTimeZoneLabel extends LitElement {
|
|
|
82
64
|
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-time-zone-label component will be associated with a map or scene component rather than using the `view` property.
|
|
83
65
|
*/
|
|
84
66
|
accessor view: MapView | undefined;
|
|
85
|
-
"@setterTypes": {
|
|
86
|
-
expandDirection?: ExpandDirection | undefined;
|
|
87
|
-
};
|
|
88
67
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
89
68
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
90
69
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
@@ -95,6 +74,4 @@ export abstract class ArcgisTimeZoneLabel extends LitElement {
|
|
|
95
74
|
};
|
|
96
75
|
}
|
|
97
76
|
|
|
98
|
-
export type ExpandDirection = "end" | "start";
|
|
99
|
-
|
|
100
77
|
export type State = "disabled" | "ready";
|
|
@@ -1,70 +1,37 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as i } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as o, html as t } from "lit";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { u as
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
const x = o`.root{display:inline-flex}.esri-disabled{pointer-events:none}calcite-input-time-zone{--calcite-color-border-input: transparent}calcite-label{--calcite-label-margin-bottom: 0;margin:var(--calcite-space-sm) var(--calcite-space-sm-plus);border:var(--calcite-border-width-sm) solid var(--calcite-border-color);font-weight:var(--calcite-font-weight-medium);overflow:hidden}calcite-label.esri-disabled{opacity:var(--calcite-opacity-disabled)}`;
|
|
12
|
-
class v extends p {
|
|
4
|
+
import { usePropertyChange as c } from "@arcgis/lumina/controllers";
|
|
5
|
+
import { LitElement as a, createEvent as r } from "@arcgis/lumina";
|
|
6
|
+
import { u as s } from "../../chunks/useT9n.js";
|
|
7
|
+
import { u as n } from "../../chunks/useView.js";
|
|
8
|
+
import { s as l, a as m, u as d } from "../../chunks/time-utils.js";
|
|
9
|
+
const u = o`calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-background-color-press: var(--calcite-color-foreground-1);--calcite-action-background-color: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-1);--calcite-action-text-color: var(--calcite-color-text-1);cursor:default}calcite-input-time-zone{--calcite-color-background: var(--calcite-color-foreground-1);--calcite-color-border-input: transparent}calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium);padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-md)}`;
|
|
10
|
+
class g extends a {
|
|
13
11
|
constructor() {
|
|
14
|
-
super(), this._messages =
|
|
15
|
-
this._position = e ?? r ?? "top-left";
|
|
16
|
-
});
|
|
12
|
+
super(...arguments), this._messages = s({ blocking: !0 }), this.disabled = !1, this.icon = "time-zone", this.view = n(this), this.arcgisPropertyChange = c()("state"), this.arcgisReady = r();
|
|
17
13
|
}
|
|
18
14
|
static {
|
|
19
|
-
this.properties = {
|
|
15
|
+
this.properties = { _interactive: 16, _resolvedTimeZone: 16, actionIcon: 3, disabled: 7, icon: 3, messageOverrides: 0, label: 1, referenceElement: 1, state: 32, view: 0 };
|
|
20
16
|
}
|
|
21
17
|
static {
|
|
22
|
-
this.styles =
|
|
18
|
+
this.styles = u;
|
|
23
19
|
}
|
|
24
20
|
get _interactive() {
|
|
25
21
|
return !(this.disabled || this.state === "disabled");
|
|
26
22
|
}
|
|
27
23
|
get _resolvedTimeZone() {
|
|
28
24
|
const e = this.view?.timeZone;
|
|
29
|
-
return !e || e ===
|
|
30
|
-
}
|
|
31
|
-
get expandDirection() {
|
|
32
|
-
return this._expandDirection ?? this._computeExpandDirection();
|
|
33
|
-
}
|
|
34
|
-
set expandDirection(e) {
|
|
35
|
-
this._expandDirection = e;
|
|
36
|
-
}
|
|
37
|
-
get expanded() {
|
|
38
|
-
return this._expanded;
|
|
39
|
-
}
|
|
40
|
-
set expanded(e) {
|
|
41
|
-
this._expanded = e;
|
|
25
|
+
return !e || e === l ? m : e;
|
|
42
26
|
}
|
|
43
27
|
get state() {
|
|
44
28
|
return this.view?.ready ? "ready" : "disabled";
|
|
45
29
|
}
|
|
46
|
-
_computeExpandDirection() {
|
|
47
|
-
switch (this._position) {
|
|
48
|
-
case "bottom-end":
|
|
49
|
-
case "bottom-right":
|
|
50
|
-
case "top-end":
|
|
51
|
-
case "top-right":
|
|
52
|
-
return this._direction === "ltr" ? "start" : "end";
|
|
53
|
-
case "bottom-start":
|
|
54
|
-
case "bottom-left":
|
|
55
|
-
case "top-start":
|
|
56
|
-
case "top-left":
|
|
57
|
-
return this._direction === "ltr" ? "end" : "start";
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
_handleArcgisPropertyChange(e) {
|
|
61
|
-
e.detail.name === "expanded" && (this._expanded = e.target.expanded);
|
|
62
|
-
}
|
|
63
30
|
render() {
|
|
64
|
-
return t`<
|
|
31
|
+
return t`<calcite-action .disabled=${!this._interactive} .icon=${this.actionIcon} text>${this._resolvedTimeZone === d ? t`<calcite-label>${this._messages.noAdjustment}</calcite-label>` : t`<calcite-input-time-zone mode=region overlay-positioning=fixed read-only .value=${this._resolvedTimeZone}></calcite-input-time-zone>`}</calcite-action>`;
|
|
65
32
|
}
|
|
66
33
|
}
|
|
67
|
-
|
|
34
|
+
i("arcgis-time-zone-label", g);
|
|
68
35
|
export {
|
|
69
|
-
|
|
36
|
+
g as ArcgisTimeZoneLabel
|
|
70
37
|
};
|
|
@@ -21,7 +21,7 @@ import type { Button as Button } from "@esri/calcite-components/components/calci
|
|
|
21
21
|
*
|
|
22
22
|
* **Known limitations**
|
|
23
23
|
*
|
|
24
|
-
* - The heading symbol is not currently supported within
|
|
24
|
+
* - The heading symbol is not currently supported within an [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
25
25
|
*
|
|
26
26
|
* @since 4.28
|
|
27
27
|
*/
|
|
@@ -14,15 +14,15 @@ import type { Layout } from "@arcgis/core/widgets/ValuePicker/types.js";
|
|
|
14
14
|
* > A fully native replacement for this component is in development. Once it reaches feature parity, the legacy component will be deprecated and no longer maintained. At that point, new development should use the native component.
|
|
15
15
|
*
|
|
16
16
|
* Value Picker is a component that allows users to step or play through a list of values. Value Picker component can be configured
|
|
17
|
-
* with an optional [collection](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#from-collection),
|
|
18
|
-
* [label](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#from-labels),
|
|
19
|
-
* [combobox](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#selectable-items) or
|
|
20
|
-
* [slider](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#numeric-values)
|
|
17
|
+
* with an optional [collection](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#from-collection),
|
|
18
|
+
* [label](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#from-labels),
|
|
19
|
+
* [combobox](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#selectable-items) or
|
|
20
|
+
* [slider](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#numeric-values)
|
|
21
21
|
* control to help users navigate values.
|
|
22
22
|
*
|
|
23
23
|
* Similar to a media player, values can be interactively stepped through using the `next` and `previous` buttons.
|
|
24
24
|
* Value Picker can also be set to automatically progress (play) through an ordered
|
|
25
|
-
* list of items at a [
|
|
25
|
+
* list of items at a [playRate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#playRate).
|
|
26
26
|
*
|
|
27
27
|
* ### Configuring Value Picker
|
|
28
28
|
*
|
|
@@ -79,7 +79,7 @@ import type { Layout } from "@arcgis/core/widgets/ValuePicker/types.js";
|
|
|
79
79
|
* valuePicker.values = ["ind"];
|
|
80
80
|
* ```
|
|
81
81
|
*
|
|
82
|
-
* The user's interaction can be handled by monitoring the [values](
|
|
82
|
+
* The user's interaction can be handled by monitoring the [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#values) property.
|
|
83
83
|
*
|
|
84
84
|
* ```js
|
|
85
85
|
* valuePicker.addEventListener("arcgisPropertyChange", () => {
|
|
@@ -121,9 +121,9 @@ import type { Layout } from "@arcgis/core/widgets/ValuePicker/types.js";
|
|
|
121
121
|
* valuePicker.values = ["topo-vector"];
|
|
122
122
|
* ```
|
|
123
123
|
*
|
|
124
|
-
* As the user clicks the _next_, _previous_, and _play_ buttons, the [values](
|
|
125
|
-
* Handle this by listening for the [arcgisPropertyChange](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#arcgisPropertyChange)
|
|
126
|
-
* event when the component’s [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#values)
|
|
124
|
+
* As the user clicks the _next_, _previous_, and _play_ buttons, the [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#values) property updates.
|
|
125
|
+
* Handle this by listening for the [@arcgisPropertyChange](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#event-arcgisPropertyChange)
|
|
126
|
+
* event when the component’s [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#values)
|
|
127
127
|
* property changes, as shown below.
|
|
128
128
|
*
|
|
129
129
|
* ```js
|
|
@@ -160,7 +160,7 @@ import type { Layout } from "@arcgis/core/widgets/ValuePicker/types.js";
|
|
|
160
160
|
* valuePicker.values = ["res"];
|
|
161
161
|
* ```
|
|
162
162
|
*
|
|
163
|
-
* The user's interaction can be handled by monitoring the [values](
|
|
163
|
+
* The user's interaction can be handled by monitoring the [values](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#values) property.
|
|
164
164
|
*
|
|
165
165
|
* ```js
|
|
166
166
|
* valuePicker.addEventListener("arcgisPropertyChange", () => {
|
|
@@ -347,8 +347,8 @@ export abstract class ArcgisValuePickerLegacy extends LitElement {
|
|
|
347
347
|
* [ValuePickerSlider](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/ValuePickerSlider/).
|
|
348
348
|
*
|
|
349
349
|
* If this property is not set then the play, next and previous buttons will always be enabled. In this case, listen to the
|
|
350
|
-
* component events, for example, [@
|
|
351
|
-
* [@
|
|
350
|
+
* component events, for example, [@arcgisPrevious](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#event-arcgisPrevious) and
|
|
351
|
+
* [@arcgisNext](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#event-arcgisNext), when the user interacts with the
|
|
352
352
|
* component.
|
|
353
353
|
*
|
|
354
354
|
* @example
|
|
@@ -482,7 +482,7 @@ export abstract class ArcgisValuePickerLegacy extends LitElement {
|
|
|
482
482
|
*/
|
|
483
483
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
484
484
|
/**
|
|
485
|
-
* The current values of the Value Picker component. The type for this property depends on which [component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker/#component) is being used. For example, a
|
|
485
|
+
* The current values of the Value Picker component. The type for this property depends on which [component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#component) is being used. For example, a
|
|
486
486
|
* [slider](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/ValuePickerSlider/) component will return an array of numbers.
|
|
487
487
|
*
|
|
488
488
|
* If the `component` is not set then this property will return `null`. Similarly this property can be `null`
|
|
@@ -542,7 +542,7 @@ export abstract class ArcgisValuePickerLegacy extends LitElement {
|
|
|
542
542
|
/** Pause playing. */
|
|
543
543
|
pause(): Promise<void>;
|
|
544
544
|
/**
|
|
545
|
-
* Start playing. Value Picker will advance at the rate specified by [playRate](
|
|
545
|
+
* Start playing. Value Picker will advance at the rate specified by [playRate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#playRate).
|
|
546
546
|
*
|
|
547
547
|
* @example
|
|
548
548
|
* ```js
|
|
@@ -594,7 +594,7 @@ export abstract class ArcgisValuePickerLegacy extends LitElement {
|
|
|
594
594
|
"@setterTypes": {
|
|
595
595
|
icon?: IconName;
|
|
596
596
|
};
|
|
597
|
-
/** Fires when the Value Picker is playing at a rate defined by [playRate](
|
|
597
|
+
/** Fires when the Value Picker is playing at a rate defined by [playRate](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-value-picker-legacy/#playRate). */
|
|
598
598
|
readonly arcgisAnimate: import("@arcgis/lumina").TargetedEvent<this, AnimateEvent>;
|
|
599
599
|
/** Fires when the Value Picker's next button is clicked. */
|
|
600
600
|
readonly arcgisNext: import("@arcgis/lumina").TargetedEvent<this, ValuePickerEvents["next"]>;
|
|
@@ -23,7 +23,7 @@ import type { VideoState } from "@arcgis/core/layers/video/types.js";
|
|
|
23
23
|
*
|
|
24
24
|
* **Known limitations**
|
|
25
25
|
*
|
|
26
|
-
* * Not supported in 3D [
|
|
26
|
+
* * Not supported in 3D [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/).
|
|
27
27
|
* * Not supported on macOS and iOS devices.
|
|
28
28
|
*
|
|
29
29
|
* [](https://mediaspace.esri.com/media/1_ctc3psfr)
|