@arcgis/map-components 4.32.0-next.84 → 4.32.0-next.87
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/arcgis-map-components/2XHX4GRY.js +4 -0
- package/dist/arcgis-map-components/32X3ZYOM.js +4 -0
- package/dist/arcgis-map-components/35DMTE4K.js +4 -0
- package/dist/arcgis-map-components/3JTGHVNB.js +4 -0
- package/dist/arcgis-map-components/3ZDFYLLA.js +4 -0
- package/dist/arcgis-map-components/4CKEV5R3.js +4 -0
- package/dist/arcgis-map-components/4J4AUJFF.js +4 -0
- package/dist/arcgis-map-components/4ZIFQORV.js +4 -0
- package/dist/arcgis-map-components/6LUZOY5O.js +4 -0
- package/dist/arcgis-map-components/7BT4GAVM.js +4 -0
- package/dist/arcgis-map-components/{QDTORANP.js → 7JPD33PS.js} +1 -1
- package/dist/arcgis-map-components/7WR7N6T3.js +4 -0
- package/dist/arcgis-map-components/{LABTBYBR.js → A6QXV7MU.js} +2 -2
- package/dist/arcgis-map-components/AFIGXVQ3.js +4 -0
- package/dist/arcgis-map-components/{4HWKFVOD.js → AGWGNRMW.js} +2 -2
- package/dist/arcgis-map-components/AOZPIV4A.js +4 -0
- package/dist/arcgis-map-components/AVGUWUIP.js +4 -0
- package/dist/arcgis-map-components/AXIJBJKN.js +4 -0
- package/dist/arcgis-map-components/B5NOO6HX.js +4 -0
- package/dist/arcgis-map-components/CE62RYPI.js +4 -0
- package/dist/arcgis-map-components/CEIGROJD.js +4 -0
- package/dist/arcgis-map-components/CLH7HQDS.js +4 -0
- package/dist/arcgis-map-components/DAXKVFKC.js +4 -0
- package/dist/arcgis-map-components/DBWEC62Z.js +4 -0
- package/dist/arcgis-map-components/E2S64U4Z.js +4 -0
- package/dist/arcgis-map-components/E3RBXZMD.js +4 -0
- package/dist/arcgis-map-components/{ALE6KF3F.js → ETORB2CW.js} +4 -4
- package/dist/arcgis-map-components/G2AUFB2V.js +4 -0
- package/dist/arcgis-map-components/GFFY2SOD.js +4 -0
- package/dist/arcgis-map-components/GGRINU7O.js +4 -0
- package/dist/arcgis-map-components/HFOLCVHE.js +4 -0
- package/dist/arcgis-map-components/HN2B2WVM.js +4 -0
- package/dist/arcgis-map-components/HYBGAIIH.js +4 -0
- package/dist/arcgis-map-components/IJ4I2C2Q.js +4 -0
- package/dist/arcgis-map-components/ILVOJPYP.js +4 -0
- package/dist/arcgis-map-components/IUSB5KZR.js +4 -0
- package/dist/arcgis-map-components/{D5YSPPQY.js → KES7H4RV.js} +1 -1
- package/dist/arcgis-map-components/KFWRSEL5.js +4 -0
- package/dist/arcgis-map-components/KTPXF7QU.js +4 -0
- package/dist/arcgis-map-components/LXNOWS2N.js +4 -0
- package/dist/arcgis-map-components/MAZ73QH3.js +4 -0
- package/dist/arcgis-map-components/MKBRZJPK.js +4 -0
- package/dist/arcgis-map-components/{X3DKJFAI.js → MNAEUWGF.js} +2 -2
- package/dist/arcgis-map-components/NFID37OS.js +4 -0
- package/dist/arcgis-map-components/NH2PJWZN.js +4 -0
- package/dist/arcgis-map-components/NINSVERY.js +4 -0
- package/dist/arcgis-map-components/OWAZAAPU.js +4 -0
- package/dist/arcgis-map-components/{CTCO63FH.js → OXPBMLUL.js} +2 -2
- package/dist/arcgis-map-components/OXZIRB5Z.js +4 -0
- package/dist/arcgis-map-components/P254GL27.js +4 -0
- package/dist/arcgis-map-components/P2PVJ4AF.js +4 -0
- package/dist/arcgis-map-components/QAIK42DS.js +4 -0
- package/dist/arcgis-map-components/QHZ2NQDS.js +4 -0
- package/dist/arcgis-map-components/RIESOZ3J.js +4 -0
- package/dist/arcgis-map-components/RN7HCA5M.js +4 -0
- package/dist/arcgis-map-components/S732TQFW.js +4 -0
- package/dist/arcgis-map-components/SWD2W5AQ.js +4 -0
- package/dist/arcgis-map-components/T2IZZQA6.js +4 -0
- package/dist/arcgis-map-components/TYHESC7C.js +4 -0
- package/dist/arcgis-map-components/TYLB5V7D.js +4 -0
- package/dist/arcgis-map-components/U3JMNMD5.js +4 -0
- package/dist/arcgis-map-components/U5BKFVZA.js +4 -0
- package/dist/arcgis-map-components/{ADHZXMHO.js → VOAP25R5.js} +2 -2
- package/dist/arcgis-map-components/{F2U6NY4G.js → VPAITV6T.js} +2 -2
- package/dist/arcgis-map-components/VPDLR5PZ.js +4 -0
- package/dist/arcgis-map-components/VYAG6QFL.js +4 -0
- package/dist/arcgis-map-components/WRLAAWYP.js +4 -0
- package/dist/arcgis-map-components/XGMH4FTN.js +4 -0
- package/dist/arcgis-map-components/{B2AHBB47.js → XXMI6R5H.js} +2 -2
- package/dist/arcgis-map-components/YN7363HF.js +4 -0
- package/dist/arcgis-map-components/YWCFGHSS.js +4 -0
- package/dist/arcgis-map-components/ZZWXJ7BT.js +4 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +43 -43
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +4 -3
- package/dist/components/arcgis-area-measurement-2d/customElement.js +10 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +5 -4
- package/dist/components/arcgis-area-measurement-3d/customElement.js +10 -10
- package/dist/components/arcgis-attachments/customElement.d.ts +7 -6
- package/dist/components/arcgis-attachments/customElement.js +9 -9
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -3
- package/dist/components/arcgis-basemap-gallery/customElement.js +38 -37
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +23 -22
- package/dist/components/arcgis-basemap-layer-list/customElement.js +6 -6
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +7 -6
- package/dist/components/arcgis-basemap-toggle/customElement.js +18 -17
- package/dist/components/arcgis-bookmarks/customElement.d.ts +14 -13
- package/dist/components/arcgis-bookmarks/customElement.js +9 -9
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -4
- package/dist/components/arcgis-building-explorer/customElement.js +9 -9
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +16 -15
- package/dist/components/arcgis-catalog-layer-list/customElement.js +6 -6
- package/dist/components/arcgis-compass/customElement.d.ts +4 -3
- package/dist/components/arcgis-compass/customElement.js +10 -10
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +8 -7
- package/dist/components/arcgis-coordinate-conversion/customElement.js +9 -9
- package/dist/components/arcgis-daylight/customElement.d.ts +5 -4
- package/dist/components/arcgis-daylight/customElement.js +8 -8
- package/dist/components/arcgis-directional-pad/customElement.d.ts +28 -5
- package/dist/components/arcgis-directional-pad/customElement.js +37 -36
- package/dist/components/arcgis-directions/customElement.d.ts +10 -8
- package/dist/components/arcgis-directions/customElement.js +24 -24
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +5 -4
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +9 -9
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +9 -9
- package/dist/components/arcgis-editor/customElement.d.ts +17 -16
- package/dist/components/arcgis-editor/customElement.js +9 -9
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +16 -21
- package/dist/components/arcgis-elevation-profile/customElement.js +9 -9
- package/dist/components/arcgis-expand/customElement.d.ts +9 -8
- package/dist/components/arcgis-expand/customElement.js +9 -9
- package/dist/components/arcgis-feature/customElement.d.ts +10 -17
- package/dist/components/arcgis-feature/customElement.js +8 -8
- package/dist/components/arcgis-feature-form/customElement.d.ts +8 -7
- package/dist/components/arcgis-feature-form/customElement.js +9 -9
- package/dist/components/arcgis-feature-table/customElement.d.ts +24 -23
- package/dist/components/arcgis-feature-table/customElement.js +17 -16
- package/dist/components/arcgis-feature-templates/customElement.d.ts +8 -7
- package/dist/components/arcgis-feature-templates/customElement.js +10 -10
- package/dist/components/arcgis-features/customElement.d.ts +21 -20
- package/dist/components/arcgis-features/customElement.js +6 -6
- package/dist/components/arcgis-floor-filter/customElement.d.ts +9 -8
- package/dist/components/arcgis-floor-filter/customElement.js +10 -10
- package/dist/components/arcgis-fullscreen/customElement.d.ts +5 -4
- package/dist/components/arcgis-fullscreen/customElement.js +11 -11
- package/dist/components/arcgis-histogram/customElement.d.ts +14 -13
- package/dist/components/arcgis-histogram/customElement.js +9 -9
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +15 -14
- package/dist/components/arcgis-histogram-range-slider/customElement.js +9 -9
- package/dist/components/arcgis-home/customElement.d.ts +7 -6
- package/dist/components/arcgis-home/customElement.js +12 -12
- package/dist/components/arcgis-layer-list/customElement.d.ts +21 -20
- package/dist/components/arcgis-layer-list/customElement.js +10 -10
- package/dist/components/arcgis-legend/customElement.d.ts +5 -4
- package/dist/components/arcgis-legend/customElement.js +9 -9
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -4
- package/dist/components/arcgis-line-of-sight/customElement.js +9 -9
- package/dist/components/arcgis-link-chart/customElement.d.ts +20 -18
- package/dist/components/arcgis-link-chart/customElement.js +27 -27
- package/dist/components/arcgis-locate/customElement.d.ts +7 -6
- package/dist/components/arcgis-locate/customElement.js +15 -15
- package/dist/components/arcgis-map/customElement.d.ts +19 -17
- package/dist/components/arcgis-map/customElement.js +27 -27
- package/dist/components/arcgis-measurement/customElement.d.ts +7 -6
- package/dist/components/arcgis-measurement/customElement.js +9 -9
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +8 -6
- package/dist/components/arcgis-navigation-toggle/customElement.js +11 -11
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +8 -7
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +33 -28
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +7 -6
- package/dist/components/arcgis-print/customElement.js +9 -9
- package/dist/components/arcgis-scale-bar/customElement.d.ts +6 -5
- package/dist/components/arcgis-scale-bar/customElement.js +70 -63
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +6 -5
- package/dist/components/arcgis-scale-range-slider/customElement.js +12 -12
- package/dist/components/arcgis-scene/customElement.d.ts +18 -16
- package/dist/components/arcgis-scene/customElement.js +25 -25
- package/dist/components/arcgis-search/customElement.d.ts +15 -14
- package/dist/components/arcgis-search/customElement.js +8 -8
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +11 -10
- package/dist/components/arcgis-shadow-cast/customElement.js +12 -12
- package/dist/components/arcgis-sketch/customElement.d.ts +30 -28
- package/dist/components/arcgis-sketch/customElement.js +11 -12
- package/dist/components/arcgis-slice/customElement.d.ts +6 -5
- package/dist/components/arcgis-slice/customElement.js +9 -9
- package/dist/components/arcgis-slider/customElement.d.ts +15 -14
- package/dist/components/arcgis-slider/customElement.js +9 -9
- package/dist/components/arcgis-swipe/customElement.d.ts +6 -5
- package/dist/components/arcgis-swipe/customElement.js +17 -17
- package/dist/components/arcgis-table-list/customElement.d.ts +25 -22
- package/dist/components/arcgis-table-list/customElement.js +6 -6
- package/dist/components/arcgis-time-slider/customElement.d.ts +10 -9
- package/dist/components/arcgis-time-slider/customElement.js +9 -9
- package/dist/components/arcgis-track/customElement.d.ts +8 -7
- package/dist/components/arcgis-track/customElement.js +15 -15
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +85 -14
- package/dist/components/arcgis-utility-network-associations/customElement.js +33 -210
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +8 -8
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +11 -11
- package/dist/components/arcgis-value-picker/customElement.d.ts +10 -9
- package/dist/components/arcgis-value-picker/customElement.js +9 -9
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -3
- package/dist/components/arcgis-version-management/customElement.js +99 -100
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +6 -5
- package/dist/components/arcgis-weather/customElement.js +9 -9
- package/dist/components/arcgis-zoom/customElement.d.ts +4 -3
- package/dist/components/arcgis-zoom/customElement.js +8 -8
- package/dist/controllers/useViewModel.d.ts +2 -2
- package/dist/controllers/useWidget.d.ts +2 -2
- package/dist/docs/api.json +1105 -462
- package/dist/docs/docs.json +823 -345
- package/dist/docs/vscode.html-custom-data.json +229 -137
- package/dist/docs/web-types.json +582 -374
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/testing/commonSpatialReferences.d.ts +8 -0
- package/dist/testing/mockServices.d.ts +9 -0
- package/dist/testing/setupFile.d.ts +1 -0
- package/dist/testing/testUtils.d.ts +49 -0
- package/dist/testing/tileInfoUtils.d.ts +10 -0
- package/dist/types/lumina.d.ts +6 -6
- package/dist/types/preact.d.ts +6 -6
- package/dist/types/react.d.ts +6 -6
- package/dist/types/stencil.d.ts +6 -6
- package/dist/utils/component-utils.d.ts +2 -2
- package/package.json +4 -5
- package/dist/arcgis-map-components/2LH365WX.js +0 -4
- package/dist/arcgis-map-components/6JAD4WKP.js +0 -4
- package/dist/arcgis-map-components/7IYUKHGU.js +0 -4
- package/dist/arcgis-map-components/7PRXTQ4Y.js +0 -4
- package/dist/arcgis-map-components/ASLMMNFG.js +0 -4
- package/dist/arcgis-map-components/BCSTA4MD.js +0 -4
- package/dist/arcgis-map-components/BMZIKLJT.js +0 -4
- package/dist/arcgis-map-components/BVS52H6M.js +0 -4
- package/dist/arcgis-map-components/C542LZ3W.js +0 -4
- package/dist/arcgis-map-components/CAQQA5ME.js +0 -4
- package/dist/arcgis-map-components/CCF5WJQL.js +0 -4
- package/dist/arcgis-map-components/CHN4JGNG.js +0 -4
- package/dist/arcgis-map-components/CLW7FHWH.js +0 -4
- package/dist/arcgis-map-components/CSEA27MX.js +0 -4
- package/dist/arcgis-map-components/FTOHM6K7.js +0 -4
- package/dist/arcgis-map-components/G6CP2VYU.js +0 -4
- package/dist/arcgis-map-components/GHPCV4MN.js +0 -4
- package/dist/arcgis-map-components/GP5KXKC6.js +0 -4
- package/dist/arcgis-map-components/GUBVA4HI.js +0 -4
- package/dist/arcgis-map-components/H3QUUUNO.js +0 -4
- package/dist/arcgis-map-components/HNBQDWNV.js +0 -4
- package/dist/arcgis-map-components/IF6ICBVD.js +0 -4
- package/dist/arcgis-map-components/JDYFIYT3.js +0 -4
- package/dist/arcgis-map-components/JG6SSII2.js +0 -4
- package/dist/arcgis-map-components/JPFJWSQT.js +0 -4
- package/dist/arcgis-map-components/JY2BL6QD.js +0 -4
- package/dist/arcgis-map-components/LW4HCA3P.js +0 -4
- package/dist/arcgis-map-components/MCAPSEE3.js +0 -4
- package/dist/arcgis-map-components/MJBNTJRW.js +0 -4
- package/dist/arcgis-map-components/NAN3TPDO.js +0 -4
- package/dist/arcgis-map-components/NUF2ZXJB.js +0 -4
- package/dist/arcgis-map-components/OF62ZZDT.js +0 -4
- package/dist/arcgis-map-components/OODDLGXW.js +0 -4
- package/dist/arcgis-map-components/OUTOCGVP.js +0 -4
- package/dist/arcgis-map-components/PBYUEHJ2.js +0 -4
- package/dist/arcgis-map-components/QWBNGCQZ.js +0 -4
- package/dist/arcgis-map-components/QXH6QBCY.js +0 -4
- package/dist/arcgis-map-components/RLXPUR6U.js +0 -4
- package/dist/arcgis-map-components/S2QUE2PT.js +0 -4
- package/dist/arcgis-map-components/S3HVEU43.js +0 -4
- package/dist/arcgis-map-components/SBFEI7G7.js +0 -4
- package/dist/arcgis-map-components/SDIRYXNN.js +0 -4
- package/dist/arcgis-map-components/SDTEUQJF.js +0 -4
- package/dist/arcgis-map-components/SJ23WYPX.js +0 -4
- package/dist/arcgis-map-components/SM27BTYQ.js +0 -4
- package/dist/arcgis-map-components/SV37GYTZ.js +0 -4
- package/dist/arcgis-map-components/SZI3EYQQ.js +0 -4
- package/dist/arcgis-map-components/TRRQPVCK.js +0 -4
- package/dist/arcgis-map-components/UJJUHEQP.js +0 -4
- package/dist/arcgis-map-components/USOW5GMA.js +0 -4
- package/dist/arcgis-map-components/VCU3GSEE.js +0 -4
- package/dist/arcgis-map-components/VHDI7NKV.js +0 -4
- package/dist/arcgis-map-components/VIEKXUEC.js +0 -4
- package/dist/arcgis-map-components/VQUVK2Z4.js +0 -4
- package/dist/arcgis-map-components/VY2AN4QN.js +0 -4
- package/dist/arcgis-map-components/WCITYN6U.js +0 -4
- package/dist/arcgis-map-components/WOWZWSL5.js +0 -4
- package/dist/arcgis-map-components/WZIB63XY.js +0 -4
- package/dist/arcgis-map-components/XJ5ZDZD5.js +0 -4
- package/dist/arcgis-map-components/XKFVFNRT.js +0 -4
- package/dist/arcgis-map-components/XKY2Q5V6.js +0 -4
- package/dist/arcgis-map-components/ZANDAN6Q.js +0 -4
- package/dist/arcgis-map-components/ZD343J42.js +0 -4
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
3
|
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as Slider } from '@arcgis/core/widgets/Slider.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useSliderWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<Slider, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: "ready" | "disabled" | "editing" | "dragging" | undefined;
|
|
16
17
|
viewModel?: __esri.SliderViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useSliderWidget: (component: import('@arcgis/components-controller
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.SliderProperties): __esri.SliderProperties | Promise<__esri.SliderProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.SliderProperties | undefined): __esri.SliderProperties | Promise<__esri.SliderProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Slider;
|
|
36
37
|
/**
|
|
37
38
|
* @internal
|
|
38
39
|
*/
|
|
@@ -46,8 +47,8 @@ export declare class ArcgisSlider extends LitElement {
|
|
|
46
47
|
*/
|
|
47
48
|
autoDestroyDisabled: boolean;
|
|
48
49
|
draggableSegmentsEnabled: boolean;
|
|
49
|
-
effectiveMax: number;
|
|
50
|
-
effectiveMin: number;
|
|
50
|
+
effectiveMax: number | nullish;
|
|
51
|
+
effectiveMin: number | nullish;
|
|
51
52
|
readonly effectiveSegmentElements: __esri.Collection<HTMLElement>;
|
|
52
53
|
/**
|
|
53
54
|
* Icon which represents the component.
|
|
@@ -60,11 +61,11 @@ export declare class ArcgisSlider extends LitElement {
|
|
|
60
61
|
readonly labelElements: __esri.Collection<HTMLElement>;
|
|
61
62
|
labelInputsEnabled: boolean;
|
|
62
63
|
readonly labels: __esri.LabelInfos;
|
|
63
|
-
layout: "
|
|
64
|
-
max: number;
|
|
65
|
-
readonly maxLabelElement: HTMLElement;
|
|
66
|
-
min: number;
|
|
67
|
-
readonly minLabelElement: HTMLElement;
|
|
64
|
+
layout: "vertical" | "horizontal" | "horizontal-reversed" | "vertical-reversed";
|
|
65
|
+
max: number | nullish;
|
|
66
|
+
readonly maxLabelElement: HTMLElement | nullish;
|
|
67
|
+
min: number | nullish;
|
|
68
|
+
readonly minLabelElement: HTMLElement | nullish;
|
|
68
69
|
position: __esri.UIPosition;
|
|
69
70
|
precision: number;
|
|
70
71
|
rangeLabelInputsEnabled: boolean;
|
|
@@ -72,14 +73,14 @@ export declare class ArcgisSlider extends LitElement {
|
|
|
72
73
|
readonly segmentElements: __esri.Collection<HTMLElement>;
|
|
73
74
|
snapOnClickEnabled: boolean;
|
|
74
75
|
readonly state: "ready" | "disabled" | "editing" | "dragging";
|
|
75
|
-
steps: number | number[];
|
|
76
|
+
steps: number | nullish | number[];
|
|
76
77
|
syncedSegmentsEnabled: boolean;
|
|
77
78
|
readonly thumbElements: __esri.Collection<HTMLElement>;
|
|
78
79
|
thumbsConstrained: boolean;
|
|
79
80
|
tickConfigs: __esri.TickConfig[];
|
|
80
81
|
readonly tickElements: __esri.Collection<__esri.Collection<__esri.TickElementGroup>>;
|
|
81
|
-
trackElement: HTMLElement;
|
|
82
|
-
values: number[];
|
|
82
|
+
trackElement: HTMLElement | nullish;
|
|
83
|
+
values: nullish | number[];
|
|
83
84
|
/** Permanently destroy the component */
|
|
84
85
|
destroy(): Promise<void>;
|
|
85
86
|
readonly arcgisMaxChange: TargetedEvent<this, __esri.SliderMaxChangeEvent>;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { c as i } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import { usePropertyChange as n } from "@arcgis/components-controllers";
|
|
4
|
-
import { m as a } from "../../chunks/useWidget.js";
|
|
5
|
-
import { LitElement as h, createEvent as l, noShadowRoot as g } from "@arcgis/lumina";
|
|
2
|
+
import { usePropertyChange as s } from "@arcgis/components-controllers";
|
|
6
3
|
import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
|
|
4
|
+
import n from "@arcgis/core/widgets/Slider.js";
|
|
5
|
+
import { LitElement as a, createEvent as h, noShadowRoot as l } from "@arcgis/lumina";
|
|
6
|
+
import { m as g } from "../../chunks/useWidget.js";
|
|
7
7
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
11
|
-
const c = m`arcgis-slider{min-width:200px;min-height:25px}`, r =
|
|
12
|
-
class d extends
|
|
10
|
+
v4.32.0-next.87 */
|
|
11
|
+
const c = m`arcgis-slider{min-width:200px;min-height:25px}`, r = g(n);
|
|
12
|
+
class d extends a {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget = r(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.draggableSegmentsEnabled = this.widget.draggableSegmentsEnabled, this.effectiveMax = this.widget.effectiveMax, this.effectiveMin = this.widget.effectiveMin, this.effectiveSegmentElements = this.widget.effectiveSegmentElements, this.icon = this.widget.icon, this.label = this.widget.label, this.labelElements = this.widget.labelElements, this.labelInputsEnabled = this.widget.labelInputsEnabled, this.labels = this.widget.labels, this.layout = this.widget.layout, this.max = this.widget.max, this.maxLabelElement = this.widget.maxLabelElement, this.min = this.widget.min, this.minLabelElement = this.widget.minLabelElement, this.position = "bottom-left", this.precision = this.widget.precision, this.rangeLabelInputsEnabled = this.widget.rangeLabelInputsEnabled, this.segmentElements = this.widget.segmentElements, this.snapOnClickEnabled = this.widget.snapOnClickEnabled, this.state = this.widget.state, this.steps = this.widget.steps, this.syncedSegmentsEnabled = this.widget.syncedSegmentsEnabled, this.thumbElements = this.widget.thumbElements, this.thumbsConstrained = this.widget.thumbsConstrained, this.tickConfigs = this.widget.tickConfigs, this.tickElements = this.widget.tickElements, this.trackElement = this.widget.trackElement, this.values = this.widget.values, this.arcgisMaxChange = t(() => this.widget, "max-change"), this.arcgisMaxClick = t(() => this.widget, "max-click"), this.arcgisMinChange = t(() => this.widget, "min-change"), this.arcgisMinClick = t(() => this.widget, "min-click"), this.arcgisPropertyChange =
|
|
14
|
+
super(...arguments), this.widget = r(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.draggableSegmentsEnabled = this.widget.draggableSegmentsEnabled, this.effectiveMax = this.widget.effectiveMax, this.effectiveMin = this.widget.effectiveMin, this.effectiveSegmentElements = this.widget.effectiveSegmentElements, this.icon = this.widget.icon, this.label = this.widget.label, this.labelElements = this.widget.labelElements, this.labelInputsEnabled = this.widget.labelInputsEnabled, this.labels = this.widget.labels, this.layout = this.widget.layout, this.max = this.widget.max, this.maxLabelElement = this.widget.maxLabelElement, this.min = this.widget.min, this.minLabelElement = this.widget.minLabelElement, this.position = "bottom-left", this.precision = this.widget.precision, this.rangeLabelInputsEnabled = this.widget.rangeLabelInputsEnabled, this.segmentElements = this.widget.segmentElements, this.snapOnClickEnabled = this.widget.snapOnClickEnabled, this.state = this.widget.state, this.steps = this.widget.steps, this.syncedSegmentsEnabled = this.widget.syncedSegmentsEnabled, this.thumbElements = this.widget.thumbElements, this.thumbsConstrained = this.widget.thumbsConstrained, this.tickConfigs = this.widget.tickConfigs, this.tickElements = this.widget.tickElements, this.trackElement = this.widget.trackElement, this.values = this.widget.values, this.arcgisMaxChange = t(() => this.widget, "max-change"), this.arcgisMaxClick = t(() => this.widget, "max-click"), this.arcgisMinChange = t(() => this.widget, "min-change"), this.arcgisMinClick = t(() => this.widget, "min-click"), this.arcgisPropertyChange = s()("state"), this.arcgisReady = h(), this.arcgisSegmentClick = t(() => this.widget, "segment-click"), this.arcgisSegmentDrag = t(() => this.widget, "segment-drag"), this.arcgisThumbChange = t(() => this.widget, "thumb-change"), this.arcgisThumbClick = t(() => this.widget, "thumb-click"), this.arcgisThumbDrag = t(() => this.widget, "thumb-drag"), this.arcgisTickClick = t(() => this.widget, "tick-click"), this.arcgisTrackClick = t(() => this.widget, "track-click");
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { autoDestroyDisabled: 5, draggableSegmentsEnabled: 5, effectiveMax: 9, effectiveMin: 9, effectiveSegmentElements: 0, icon: 1, label: 1, labelElements: 0, labelInputsEnabled: 5, labels: 0, layout: 1, max: 9, maxLabelElement: 0, min: 9, minLabelElement: 0, position: 1, precision: 9, rangeLabelInputsEnabled: 5, referenceElement: 1, segmentElements: 0, snapOnClickEnabled: 5, state: 3, steps: [9, { converter: (e) => typeof e == "string" ? e.split(",").map(Number) : e }], syncedSegmentsEnabled: 5, thumbElements: 0, thumbsConstrained: 5, tickConfigs: 0, tickElements: 0, trackElement: 0, values: [1, { converter: (e) => typeof e == "string" ? e.split(",").map(Number) : e }] };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
|
-
this.shadowRootOptions =
|
|
20
|
+
this.shadowRootOptions = l;
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
23
|
this.styles = c;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
|
-
import { Nil } from '@arcgis/components-utils';
|
|
5
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
|
+
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as SwipeViewModel } from '@arcgis/core/widgets/Swipe/SwipeViewModel.js';
|
|
6
6
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useSwipeViewModel: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<SwipeViewModel, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: "ready" | "disabled" | undefined;
|
|
16
17
|
icon: Nil | string;
|
|
@@ -31,7 +32,7 @@ declare const useSwipeViewModel: (component: import('@arcgis/components-controll
|
|
|
31
32
|
destroy: () => Promise<void>;
|
|
32
33
|
}, options?: {
|
|
33
34
|
editConstructorProperties(props: unknown): unknown;
|
|
34
|
-
} | undefined) =>
|
|
35
|
+
} | undefined) => SwipeViewModel;
|
|
35
36
|
/** The [Swipe](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Swipe.html) provides a tool to show a portion of a layer or layers on top of a map.
|
|
36
37
|
*/
|
|
37
38
|
export declare class ArcgisSwipe extends LitElement {
|
|
@@ -50,7 +51,7 @@ export declare class ArcgisSwipe extends LitElement {
|
|
|
50
51
|
* If `"horizontal"`, the component will move left and right and
|
|
51
52
|
* if `"vertical"`, the component will move up and down.
|
|
52
53
|
*/
|
|
53
|
-
direction: "
|
|
54
|
+
direction: "vertical" | "horizontal";
|
|
54
55
|
/**
|
|
55
56
|
* When `true`, sets the component to a disabled state so the user cannot interact with it.
|
|
56
57
|
*/
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { c as x } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as g } from "lit-html";
|
|
3
|
-
import {
|
|
4
|
-
import { l as m } from "../../chunks/legacyIcon.js";
|
|
5
|
-
import { u as $, m as D } from "../../chunks/useViewModel.js";
|
|
3
|
+
import { usePropertyChange as $ } from "@arcgis/components-controllers";
|
|
6
4
|
import { classes as v } from "@arcgis/components-utils";
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import D from "@arcgis/core/widgets/Swipe/SwipeViewModel.js";
|
|
6
|
+
import { LitElement as P, createEvent as C, noShadowRoot as M, safeClassMap as h, safeStyleMap as _, nothing as K } from "@arcgis/lumina";
|
|
7
|
+
import { u as z, m as L } from "../../chunks/useViewModel.js";
|
|
8
|
+
import { g as m } from "../../chunks/globalCss.js";
|
|
9
|
+
import { l as b } from "../../chunks/legacyIcon.js";
|
|
10
10
|
import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
13
|
-
v4.32.0-next.
|
|
13
|
+
v4.32.0-next.87 */
|
|
14
14
|
const H = A`arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}`, l = "arcgis-swipe", n = {
|
|
15
15
|
base: l,
|
|
16
16
|
baseDisabled: `${l}--disabled`,
|
|
@@ -21,20 +21,20 @@ const H = A`arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:tra
|
|
|
21
21
|
handle: `${l}__handle`,
|
|
22
22
|
handleHidden: `${l}__handle--hidden`,
|
|
23
23
|
handleIcon: `${l}__handle-icon`
|
|
24
|
-
}, V = D
|
|
25
|
-
class O extends
|
|
24
|
+
}, V = L(D);
|
|
25
|
+
class O extends P {
|
|
26
26
|
constructor() {
|
|
27
|
-
super(...arguments), this._container = null, this._swiping = !1, this.messages =
|
|
27
|
+
super(...arguments), this._container = null, this._swiping = !1, this.messages = z({}), this._pointerOffset = 0, this.viewModel = V(this), this._onContainerPointerDown = (i) => {
|
|
28
28
|
i.preventDefault();
|
|
29
29
|
const { _container: e } = this;
|
|
30
30
|
e && document.activeElement !== this.el && e.focus(), this._swiping = !0, this._calculatePointerOffset(i);
|
|
31
|
-
}, this.autoDestroyDisabled = !1, this.direction = this.viewModel.direction, this.disabled = !1, this.hideDivider = !1, this.hideHandle = !1, this.icon = "compare", this.label = this.messages.componentLabel, this.leadingLayers = this.viewModel.leadingLayers, this.position = "manual", this.swipePosition = this.viewModel.position, this.state = this.viewModel.state, this.trailingLayers = this.viewModel.trailingLayers, this.arcgisPropertyChange =
|
|
31
|
+
}, this.autoDestroyDisabled = !1, this.direction = this.viewModel.direction, this.disabled = !1, this.hideDivider = !1, this.hideHandle = !1, this.icon = "compare", this.label = this.messages.componentLabel, this.leadingLayers = this.viewModel.leadingLayers, this.position = "manual", this.swipePosition = this.viewModel.position, this.state = this.viewModel.state, this.trailingLayers = this.viewModel.trailingLayers, this.arcgisPropertyChange = $()("state"), this.arcgisReady = C();
|
|
32
32
|
}
|
|
33
33
|
static {
|
|
34
34
|
this.properties = { autoDestroyDisabled: 5, direction: 3, disabled: 7, hideDivider: 7, hideHandle: 7, icon: 3, label: 1, leadingLayers: 0, messageOverrides: 0, position: 3, swipePosition: 9, referenceElement: 1, state: 3, trailingLayers: 0 };
|
|
35
35
|
}
|
|
36
36
|
static {
|
|
37
|
-
this.shadowRootOptions =
|
|
37
|
+
this.shadowRootOptions = M;
|
|
38
38
|
}
|
|
39
39
|
static {
|
|
40
40
|
this.styles = H;
|
|
@@ -86,17 +86,17 @@ class O extends M {
|
|
|
86
86
|
//#region Rendering
|
|
87
87
|
render() {
|
|
88
88
|
const { state: i, direction: e } = this.viewModel, t = i === "disabled" || this.disabled, r = {
|
|
89
|
-
[
|
|
89
|
+
[m.disabled]: t,
|
|
90
90
|
[n.baseDisabled]: t,
|
|
91
91
|
[n.vertical]: e === "vertical",
|
|
92
92
|
[n.horizontal]: e === "horizontal"
|
|
93
93
|
};
|
|
94
|
-
return g`<div class=${h(v(n.base,
|
|
94
|
+
return g`<div class=${h(v(n.base, m.widget, r))}>${i === "disabled" ? null : this._renderContainer()}</div>`;
|
|
95
95
|
}
|
|
96
96
|
_renderHandle() {
|
|
97
97
|
const { direction: i } = this.viewModel, { hideHandle: e } = this, t = {
|
|
98
|
-
[
|
|
99
|
-
[
|
|
98
|
+
[b.dragHorizontal]: i === "vertical",
|
|
99
|
+
[b.dragVertical]: i === "horizontal"
|
|
100
100
|
}, r = v(n.handle, !!e && n.handleHidden);
|
|
101
101
|
return g`<div class=${h(r)} role=presentation><span aria-hidden=true class=${h(v(n.handleIcon, t))}></span></div>`;
|
|
102
102
|
}
|
|
@@ -111,7 +111,7 @@ class O extends M {
|
|
|
111
111
|
top: s === "vertical" ? a : void 0,
|
|
112
112
|
left: s === "vertical" ? void 0 : a
|
|
113
113
|
}, p = this._renderContent();
|
|
114
|
-
return i ? g`<div class=${h(n.container)} role=presentation style=${
|
|
114
|
+
return i ? g`<div class=${h(n.container)} role=presentation style=${_(c)}>${p}</div>` : g`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${d} .ariaOrientation=${s} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${o}`} .ariaValueText=${a} class=${h(n.container)} @keydown=${this._onContainerKeyDown} role=slider style=${_(c)} tabindex=0 title=${d ?? K} touch-action=none>${p}</div>`;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
x("arcgis-swipe", O);
|
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
-
import {
|
|
5
|
+
import { default as TableList } from '@arcgis/core/widgets/TableList.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useTableListWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<TableList, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.TableListViewModel | undefined;
|
|
@@ -24,21 +25,23 @@ declare const useTableListWidget: (component: import('@arcgis/components-control
|
|
|
24
25
|
}> | undefined;
|
|
25
26
|
el: HTMLElement & {
|
|
26
27
|
childElem?: HTMLElement & {
|
|
27
|
-
ownedBy
|
|
28
|
+
ownedBy
|
|
29
|
+
/**
|
|
30
|
+
* If true, the component will not be destroyed automatically when it is
|
|
31
|
+
* disconnected from the document. This is useful when you want to move the
|
|
32
|
+
* component to a different place on the page, or temporarily hide it. If this
|
|
33
|
+
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
34
|
+
* memory leaks.
|
|
35
|
+
*/
|
|
36
|
+
?: HTMLElement;
|
|
28
37
|
};
|
|
29
|
-
view?: __esri.MapView | __esri.SceneView
|
|
30
|
-
* If true, the component will not be destroyed automatically when it is
|
|
31
|
-
* disconnected from the document. This is useful when you want to move the
|
|
32
|
-
* component to a different place on the page, or temporarily hide it. If this
|
|
33
|
-
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
34
|
-
* memory leaks.
|
|
35
|
-
*/ | Nil;
|
|
38
|
+
view?: __esri.MapView | __esri.SceneView | Nil;
|
|
36
39
|
};
|
|
37
40
|
autoDestroyDisabled: boolean;
|
|
38
41
|
destroy: () => Promise<void>;
|
|
39
42
|
}, options?: {
|
|
40
|
-
editConstructorProperties(props: __esri.TableListProperties): __esri.TableListProperties | Promise<__esri.TableListProperties
|
|
41
|
-
} | undefined) =>
|
|
43
|
+
editConstructorProperties(props: __esri.TableListProperties | undefined): __esri.TableListProperties | Promise<__esri.TableListProperties | undefined> | undefined;
|
|
44
|
+
} | undefined) => TableList;
|
|
42
45
|
/** The [TableList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TableList.html) widget provides a way to display a list of tables associated with a [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html).
|
|
43
46
|
*/
|
|
44
47
|
export declare class ArcgisTableList extends LitElement {
|
|
@@ -53,7 +56,7 @@ export declare class ArcgisTableList extends LitElement {
|
|
|
53
56
|
collapsed: boolean;
|
|
54
57
|
dragEnabled: boolean;
|
|
55
58
|
filterPlaceholder: string;
|
|
56
|
-
filterPredicate: __esri.TableListFilterPredicate;
|
|
59
|
+
filterPredicate: nullish | __esri.TableListFilterPredicate;
|
|
57
60
|
filterText: string;
|
|
58
61
|
/**
|
|
59
62
|
* Icon which represents the component.
|
|
@@ -63,7 +66,7 @@ export declare class ArcgisTableList extends LitElement {
|
|
|
63
66
|
icon: string;
|
|
64
67
|
/** The component's default label. */
|
|
65
68
|
label: string;
|
|
66
|
-
listItemCreatedFunction: __esri.TableListListItemCreatedHandler;
|
|
69
|
+
listItemCreatedFunction: nullish | __esri.TableListListItemCreatedHandler;
|
|
67
70
|
minDragEnabledItems: number;
|
|
68
71
|
minFilterItems: number;
|
|
69
72
|
position: __esri.UIPosition;
|
|
@@ -73,14 +76,14 @@ export declare class ArcgisTableList extends LitElement {
|
|
|
73
76
|
readonly state: "ready" | "disabled" | "loading";
|
|
74
77
|
/** The collection of table ListItems displayed within the component. */
|
|
75
78
|
get tableItems(): __esri.Collection<__esri.TableListListItem>;
|
|
76
|
-
showCloseButton: boolean
|
|
77
|
-
showCollapseButton: boolean
|
|
78
|
-
showErrors: boolean
|
|
79
|
-
showFilter: boolean
|
|
80
|
-
hideFlow: boolean
|
|
81
|
-
showHeading: boolean
|
|
82
|
-
hideStatusIndicators: boolean
|
|
83
|
-
showTemporaryTableIndicators: boolean
|
|
79
|
+
showCloseButton: boolean;
|
|
80
|
+
showCollapseButton: boolean;
|
|
81
|
+
showErrors: boolean;
|
|
82
|
+
showFilter: boolean;
|
|
83
|
+
hideFlow: boolean;
|
|
84
|
+
showHeading: boolean;
|
|
85
|
+
hideStatusIndicators: boolean;
|
|
86
|
+
showTemporaryTableIndicators: boolean;
|
|
84
87
|
/** Permanently destroy the component */
|
|
85
88
|
destroy(): Promise<void>;
|
|
86
89
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
2
|
import { usePropertyChange as e } from "@arcgis/components-controllers";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
3
|
+
import { reEmitEvent as i } from "@arcgis/components-controllers/accessor";
|
|
4
|
+
import s from "@arcgis/core/widgets/TableList.js";
|
|
5
5
|
import { LitElement as o, createEvent as l, noShadowRoot as r } from "@arcgis/lumina";
|
|
6
|
-
import {
|
|
6
|
+
import { m as a } from "../../chunks/useWidget.js";
|
|
7
7
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
11
|
-
const d = h`arcgis-table-list{display:block}`, n = s
|
|
10
|
+
v4.32.0-next.87 */
|
|
11
|
+
const d = h`arcgis-table-list{display:block}`, n = a(s);
|
|
12
12
|
class m extends o {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterPredicate = this.widget.filterPredicate, this.filterText = this.widget.filterText, this.icon = this.widget.icon, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minDragEnabledItems = this.widget.minDragEnabledItems, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.state = this.viewModel.state, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.hideFlow = this.widget.visibleElements.flow, this.showHeading = this.widget.visibleElements.heading, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.showTemporaryTableIndicators = this.widget.visibleElements.temporaryTableIndicators, this.arcgisPropertyChange = e()("state"), this.arcgisReady = l(), this.arcgisTriggerAction =
|
|
14
|
+
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterPredicate = this.widget.filterPredicate, this.filterText = this.widget.filterText, this.icon = this.widget.icon, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minDragEnabledItems = this.widget.minDragEnabledItems, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.state = this.viewModel.state, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.hideFlow = this.widget.visibleElements.flow, this.showHeading = this.widget.visibleElements.heading, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.showTemporaryTableIndicators = this.widget.visibleElements.temporaryTableIndicators, this.arcgisPropertyChange = e()("state"), this.arcgisReady = l(), this.arcgisTriggerAction = i(() => this.widget, "trigger-action");
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { autoDestroyDisabled: 5, collapsed: 7, dragEnabled: 5, filterPlaceholder: 1, filterPredicate: 0, filterText: 1, icon: 1, label: 1, listItemCreatedFunction: 0, minDragEnabledItems: 9, minFilterItems: 9, position: 1, referenceElement: 1, selectedItems: 0, selectionMode: 1, state: 3, tableItems: 32, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, hideFlow: 5, showHeading: 5, hideStatusIndicators: 5, showTemporaryTableIndicators: 5 };
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
3
|
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as TimeSlider } from '@arcgis/core/widgets/TimeSlider.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useTimeSliderWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<TimeSlider, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.TimeSliderViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useTimeSliderWidget: (component: import('@arcgis/components-contro
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.widgetsTimeSliderProperties): __esri.widgetsTimeSliderProperties | Promise<__esri.widgetsTimeSliderProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.widgetsTimeSliderProperties | undefined): __esri.widgetsTimeSliderProperties | Promise<__esri.widgetsTimeSliderProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => TimeSlider;
|
|
36
37
|
/** The [TimeSlider](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-TimeSlider.html) simplifies visualization of temporal data in your application.
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisTimeSlider extends LitElement {
|
|
@@ -46,8 +47,8 @@ export declare class ArcgisTimeSlider extends LitElement {
|
|
|
46
47
|
*/
|
|
47
48
|
autoDestroyDisabled: boolean;
|
|
48
49
|
disabled: boolean;
|
|
49
|
-
readonly effectiveStops: Date[];
|
|
50
|
-
fullTimeExtent: __esri.TimeExtent;
|
|
50
|
+
readonly effectiveStops: nullish | Date[];
|
|
51
|
+
fullTimeExtent: nullish | __esri.TimeExtent;
|
|
51
52
|
/**
|
|
52
53
|
* Icon which represents the component.
|
|
53
54
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
@@ -63,9 +64,9 @@ export declare class ArcgisTimeSlider extends LitElement {
|
|
|
63
64
|
position: __esri.UIPosition;
|
|
64
65
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
65
66
|
readonly state: "ready" | "disabled" | "playing";
|
|
66
|
-
stops: __esri.StopsByDates | __esri.StopsByCount | __esri.StopsByInterval;
|
|
67
|
-
tickConfigs: __esri.TickConfig[];
|
|
68
|
-
timeExtent: __esri.TimeExtent;
|
|
67
|
+
stops: nullish | __esri.StopsByDates | __esri.StopsByCount | __esri.StopsByInterval;
|
|
68
|
+
tickConfigs: nullish | __esri.TickConfig[];
|
|
69
|
+
timeExtent: nullish | __esri.TimeExtent;
|
|
69
70
|
timeVisible: boolean;
|
|
70
71
|
timeZone: string;
|
|
71
72
|
applyTimeSliderSettings(settings: Pick<__esri.TimeSliderProperties, "fullTimeExtent" | "loop" | "stops">): Promise<void>;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { c as i } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import { LitElement as a, createEvent as h, noShadowRoot as
|
|
6
|
-
import {
|
|
2
|
+
import { usePropertyChange as e } from "@arcgis/components-controllers";
|
|
3
|
+
import { reEmitEvent as s } from "@arcgis/components-controllers/accessor";
|
|
4
|
+
import o from "@arcgis/core/widgets/TimeSlider.js";
|
|
5
|
+
import { LitElement as a, createEvent as h, noShadowRoot as l } from "@arcgis/lumina";
|
|
6
|
+
import { m as d } from "../../chunks/useWidget.js";
|
|
7
7
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
11
|
-
const r = n`arcgis-time-slider{display:block}`, m = o
|
|
10
|
+
v4.32.0-next.87 */
|
|
11
|
+
const r = n`arcgis-time-slider{display:block}`, m = d(o);
|
|
12
12
|
class c extends a {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget = m(this), this.viewModel = this.widget.viewModel, this.actions = this.widget.actions, this.autoDestroyDisabled = !1, this.disabled = this.widget.disabled, this.effectiveStops = this.widget.effectiveStops, this.fullTimeExtent = this.widget.fullTimeExtent, this.icon = this.widget.icon, this.label = this.widget.label, this.layout = this.widget.layout, this.loop = this.widget.loop, this.mode = this.widget.mode, this.playRate = this.widget.playRate, this.position = "bottom-left", this.state = this.viewModel.state, this.stops = this.widget.stops, this.tickConfigs = this.widget.tickConfigs, this.timeExtent = this.widget.timeExtent, this.timeVisible = this.widget.timeVisible, this.timeZone = this.widget.timeZone, this.arcgisPropertyChange =
|
|
14
|
+
super(...arguments), this.widget = m(this), this.viewModel = this.widget.viewModel, this.actions = this.widget.actions, this.autoDestroyDisabled = !1, this.disabled = this.widget.disabled, this.effectiveStops = this.widget.effectiveStops, this.fullTimeExtent = this.widget.fullTimeExtent, this.icon = this.widget.icon, this.label = this.widget.label, this.layout = this.widget.layout, this.loop = this.widget.loop, this.mode = this.widget.mode, this.playRate = this.widget.playRate, this.position = "bottom-left", this.state = this.viewModel.state, this.stops = this.widget.stops, this.tickConfigs = this.widget.tickConfigs, this.timeExtent = this.widget.timeExtent, this.timeVisible = this.widget.timeVisible, this.timeZone = this.widget.timeZone, this.arcgisPropertyChange = e()("effectiveStops", "fullTimeExtent", "timeExtent", "state"), this.arcgisReady = h(), this.arcgisTriggerAction = s(() => this.widget, "trigger-action");
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { actions: 0, autoDestroyDisabled: 5, disabled: 7, effectiveStops: 0, fullTimeExtent: 0, icon: 1, label: 1, layout: 1, loop: 5, mode: 1, playRate: 9, position: 1, referenceElement: 1, state: 3, stops: 0, tickConfigs: 0, timeExtent: 0, timeVisible: 5, timeZone: 1 };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
|
-
this.shadowRootOptions =
|
|
20
|
+
this.shadowRootOptions = l;
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
23
|
this.styles = r;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
|
-
import { Nil } from '@arcgis/components-utils';
|
|
5
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
|
+
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as TrackViewModel } from '@arcgis/core/widgets/Track/TrackViewModel.js';
|
|
6
6
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useTrackViewModel: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<TrackViewModel, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: "ready" | "disabled" | "error" | "tracking" | "waiting" | "feature-unsupported" | undefined;
|
|
16
17
|
icon: Nil | string;
|
|
@@ -31,7 +32,7 @@ declare const useTrackViewModel: (component: import('@arcgis/components-controll
|
|
|
31
32
|
destroy: () => Promise<void>;
|
|
32
33
|
}, options?: {
|
|
33
34
|
editConstructorProperties(props: unknown): unknown;
|
|
34
|
-
} | undefined) =>
|
|
35
|
+
} | undefined) => TrackViewModel;
|
|
35
36
|
/** [Track](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Track.html) is a simple button that animates the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html) to the user's location when clicked.
|
|
36
37
|
*/
|
|
37
38
|
export declare class ArcgisTrack extends LitElement {
|
|
@@ -60,7 +61,7 @@ export declare class ArcgisTrack extends LitElement {
|
|
|
60
61
|
autoDestroyDisabled: boolean;
|
|
61
62
|
error: any;
|
|
62
63
|
geolocationOptions: any;
|
|
63
|
-
goToOverride: __esri.GoToOverride;
|
|
64
|
+
goToOverride: nullish | __esri.GoToOverride;
|
|
64
65
|
goToLocationDisabled: boolean;
|
|
65
66
|
graphic: __esri.Graphic;
|
|
66
67
|
icon: Nil | string;
|
|
@@ -68,9 +69,9 @@ export declare class ArcgisTrack extends LitElement {
|
|
|
68
69
|
label: Nil | string;
|
|
69
70
|
messageOverrides?: typeof this.messages._overrides;
|
|
70
71
|
position: __esri.UIPosition;
|
|
71
|
-
positionFilterFunction: Function;
|
|
72
|
+
positionFilterFunction: Function | nullish;
|
|
72
73
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
73
|
-
scale: number;
|
|
74
|
+
scale: number | nullish;
|
|
74
75
|
readonly state: "ready" | "disabled" | "error" | "tracking" | "waiting" | "feature-unsupported";
|
|
75
76
|
readonly tracking: boolean;
|
|
76
77
|
/** Permanently destroy the component */
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { c as p } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as e } from "lit-html";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { classes as
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { css as
|
|
3
|
+
import { usePropertyChange as m } from "@arcgis/components-controllers";
|
|
4
|
+
import { reEmitEvent as a } from "@arcgis/components-controllers/accessor";
|
|
5
|
+
import { classes as u } from "@arcgis/components-utils";
|
|
6
|
+
import v from "@arcgis/core/widgets/Track/TrackViewModel.js";
|
|
7
|
+
import { LitElement as w, createEvent as f, noShadowRoot as M, safeClassMap as n, nothing as k } from "@arcgis/lumina";
|
|
8
|
+
import { u as E, m as b } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { g as c } from "../../chunks/globalCss.js";
|
|
10
|
+
import { css as T } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
13
|
-
v4.32.0-next.
|
|
14
|
-
const y =
|
|
13
|
+
v4.32.0-next.87 */
|
|
14
|
+
const y = T`arcgis-track{display:block}`, $ = {
|
|
15
15
|
base: "esri-track"
|
|
16
|
-
}, O =
|
|
17
|
-
class D extends
|
|
16
|
+
}, O = b(v);
|
|
17
|
+
class D extends w {
|
|
18
18
|
constructor() {
|
|
19
|
-
super(...arguments), this.messages =
|
|
19
|
+
super(...arguments), this.messages = E(), this.viewModel = O(this), this.autoDestroyDisabled = !1, this.error = this.viewModel.error, this.geolocationOptions = this.viewModel.geolocationOptions, this.goToOverride = this.viewModel.goToOverride, this.goToLocationDisabled = this.viewModel.goToLocationEnabled, this.graphic = this.viewModel.graphic, this.icon = "compass-north-circle", this.position = "top-left", this.positionFilterFunction = this.viewModel.positionFilterFunction, this.scale = this.viewModel.scale, this.state = this.viewModel.state, this.tracking = this.viewModel.tracking, this.arcgisComplete = a(() => this.viewModel, "track"), this.arcgisError = a(() => this.viewModel, "track-error"), this.arcgisPropertyChange = m()("state"), this.arcgisReady = f();
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.properties = { autoDestroyDisabled: 5, error: 1, geolocationOptions: 1, goToOverride: 0, goToLocationDisabled: 7, graphic: 0, icon: 3, label: 1, messageOverrides: 0, position: 3, positionFilterFunction: 0, referenceElement: 1, scale: 9, state: 0, tracking: 4 };
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
|
-
this.shadowRootOptions =
|
|
25
|
+
this.shadowRootOptions = M;
|
|
26
26
|
}
|
|
27
27
|
static {
|
|
28
28
|
this.styles = y;
|
|
@@ -63,7 +63,7 @@ class D extends M {
|
|
|
63
63
|
// #region Rendering
|
|
64
64
|
render() {
|
|
65
65
|
const { viewModel: t, messages: o, icon: l } = this, i = t?.state, d = i === "tracking", s = this._localizeError(this.viewModel?.error), r = (d ? o?.stopTracking : o?.startTracking) ?? "", h = i === "feature-unsupported", g = (i === "tracking" ? "pause" : void 0) ?? l ?? void 0;
|
|
66
|
-
return e`<div class=${n(
|
|
66
|
+
return e`<div class=${n(u($.base, c.widget))}>${!h && e`<calcite-button class=${n(c.widgetButton)} .disabled=${i === "disabled"} .iconStart=${g} kind=neutral .label=${r} .loading=${i === "waiting"} @click=${this._toggleTracking} title=${r ?? k}></calcite-button>` || ""}${s ? e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${s}</calcite-tooltip>` : null}</div>`;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
p("arcgis-track", D);
|