@arcgis/map-components 5.1.0-next.1 → 5.1.0-next.11
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/README.md +1 -1
- package/dist/cdn/{NVACRYY6.js → 22EPKDUJ.js} +1 -1
- package/dist/cdn/2AYGSNEO.js +2 -0
- package/dist/cdn/2MTWUJIA.js +2 -0
- package/dist/cdn/{EVRFMTMV.js → 2NOL7QIE.js} +1 -1
- package/dist/cdn/3OVSVCGF.js +2 -0
- package/dist/cdn/{3FSARSVN.js → 4JCY4NHX.js} +1 -1
- package/dist/cdn/5ITF7Q7U.js +2 -0
- package/dist/cdn/5LBJB4MP.js +2 -0
- package/dist/cdn/{EYW7YQF6.js → 63N5ERFL.js} +1 -1
- package/dist/cdn/6CGPJGIB.js +2 -0
- package/dist/cdn/{FQGKKJL7.js → 6F6VOBIA.js} +1 -1
- package/dist/cdn/{BEXRPBHT.js → 6RKD6GFP.js} +1 -1
- package/dist/cdn/{RCWZGU5T.js → 7JQZBAFA.js} +1 -1
- package/dist/cdn/7WLTT4K3.js +2 -0
- package/dist/cdn/A2JO7DWO.js +2 -0
- package/dist/cdn/{TSPKG2WN.js → A44ZCOCX.js} +2 -2
- package/dist/cdn/{KY4FMFIC.js → A7JPWYKR.js} +1 -1
- package/dist/cdn/{H6ILOF27.js → AEYZDEAH.js} +1 -1
- package/dist/cdn/B3ANLEZW.js +2 -0
- package/dist/cdn/{HK6EWWUB.js → BM2JTRBY.js} +1 -1
- package/dist/cdn/{YZ5ZVEPC.js → BUOIT34V.js} +1 -1
- package/dist/cdn/{YC423DBS.js → C24SOTLL.js} +1 -1
- package/dist/cdn/{6ZNO34O5.js → CCKYOWZO.js} +1 -1
- package/dist/cdn/CTSWZC3O.js +2 -0
- package/dist/cdn/CVBNRF34.js +2 -0
- package/dist/cdn/D27YXH3W.js +2 -0
- package/dist/cdn/DINM6JDS.js +2 -0
- package/dist/cdn/{JBJ5NQTI.js → DWW7KAMQ.js} +1 -1
- package/dist/cdn/EGN3YTD6.js +2 -0
- package/dist/cdn/EM7YCHTU.js +2 -0
- package/dist/cdn/EVC4MXIZ.js +2 -0
- package/dist/cdn/FB6YQKF2.js +2 -0
- package/dist/cdn/{NIUIKBRD.js → FYTMMPPG.js} +1 -1
- package/dist/cdn/GXBHOVJY.js +2 -0
- package/dist/cdn/GY5226CJ.js +2 -0
- package/dist/cdn/HB3W3CO5.js +2 -0
- package/dist/cdn/HE6QV4XG.js +2 -0
- package/dist/cdn/{J7ZNOOZ4.js → HEAH7MYD.js} +1 -1
- package/dist/cdn/{QLPUP6A3.js → HHJN3Q6G.js} +1 -1
- package/dist/cdn/IQPGSWSL.js +2 -0
- package/dist/cdn/KY2UAUNI.js +2 -0
- package/dist/cdn/{32K266S4.js → L5EGJLC4.js} +1 -1
- package/dist/cdn/LZQCXN6A.js +2 -0
- package/dist/cdn/{3PQT2S7Z.js → MDCB7SO4.js} +1 -1
- package/dist/cdn/N3BD4UQD.js +2 -0
- package/dist/cdn/NHMOFXEE.js +2 -0
- package/dist/cdn/NRBM3YR6.js +2 -0
- package/dist/cdn/{FC6W37TT.js → NSGDR7V5.js} +1 -1
- package/dist/cdn/OD5DHUHZ.js +2 -0
- package/dist/cdn/{JTFZMNCO.js → PI6UQWTD.js} +1 -1
- package/dist/cdn/PZC5TBXA.js +2 -0
- package/dist/cdn/{KXF2562U.js → QJOQNSYB.js} +1 -1
- package/dist/cdn/{JLK664TB.js → QXUY4FOY.js} +1 -1
- package/dist/cdn/R7BJHEHH.js +2 -0
- package/dist/cdn/{2XSXH4TM.js → RRXH4CSV.js} +1 -1
- package/dist/cdn/RSSYGNJQ.js +2 -0
- package/dist/cdn/S4I3X6AX.js +2 -0
- package/dist/cdn/{CIUAWIL5.js → S4NUCPRQ.js} +2 -2
- package/dist/cdn/{4363SIKC.js → TJG4UE24.js} +1 -1
- package/dist/cdn/TP6I2LJO.js +2 -0
- package/dist/cdn/{52GXKBGP.js → UHFSSX2G.js} +1 -1
- package/dist/cdn/{UVCYUIKZ.js → UNX4CKAF.js} +1 -1
- package/dist/cdn/VNOZYJLP.js +2 -0
- package/dist/cdn/VU3SJK5Z.js +2 -0
- package/dist/cdn/W5T5EBL3.js +2 -0
- package/dist/cdn/{S4XGBADW.js → XCAWRUM6.js} +1 -1
- package/dist/cdn/XE5UPQ5E.js +2 -0
- package/dist/cdn/{FARFUCNU.js → XEOTORJP.js} +1 -1
- package/dist/cdn/XMSGTOUV.js +2 -0
- package/dist/cdn/{ILPNFQWH.js → XW72RT5D.js} +1 -1
- package/dist/cdn/XXZ3CKTX.js +2 -0
- package/dist/cdn/{ZHINQNZ2.js → Y6IN6NEC.js} +1 -1
- package/dist/cdn/{E2JLZZFR.js → YA6FUJR2.js} +1 -1
- package/dist/cdn/{AFU3S7KW.js → YC5JACID.js} +1 -1
- package/dist/cdn/Z4F6DHBB.js +2 -0
- package/dist/cdn/{FJJVAOBW.js → ZD5FJHIQ.js} +1 -1
- package/dist/cdn/{WJ5HD2YN.js → ZM2YXU7Y.js} +1 -1
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +106 -99
- package/dist/chunks/feature-utils.js +73 -73
- package/dist/chunks/layer-utils.js +33 -16
- package/dist/chunks/measurementUtils.js +44 -21
- package/dist/chunks/slots.js +20 -20
- package/dist/chunks/time-utils.js +24 -22
- package/dist/chunks/useArcgisViewReadyError.js +7 -7
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +20 -11
- package/dist/components/arcgis-area-measurement-2d/customElement.js +95 -74
- package/dist/components/arcgis-area-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +22 -20
- package/dist/components/arcgis-area-measurement-3d/customElement.js +58 -67
- package/dist/components/arcgis-area-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +5 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +3 -4
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +16 -16
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +120 -91
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-bookmarks/customElement.d.ts +10 -15
- package/dist/components/arcgis-bookmarks/types.d.ts +13 -6
- package/dist/components/arcgis-building-explorer/customElement.d.ts +14 -73
- package/dist/components/arcgis-building-explorer/customElement.js +3 -3
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +115 -66
- package/dist/components/arcgis-clipboard/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +2 -3
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -12
- package/dist/components/arcgis-daylight/customElement.d.ts +25 -26
- package/dist/components/arcgis-daylight/customElement.js +120 -120
- package/dist/components/arcgis-daylight/types.d.ts +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +22 -20
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +62 -71
- package/dist/components/arcgis-direct-line-measurement-3d/types.d.ts +1 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -4
- package/dist/components/arcgis-directions/customElement.d.ts +7 -8
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +24 -11
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +86 -65
- package/dist/components/arcgis-distance-measurement-2d/types.d.ts +1 -0
- package/dist/components/arcgis-editor/customElement.d.ts +15 -16
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +27 -26
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +25 -31
- package/dist/components/arcgis-expand/customElement.d.ts +6 -7
- package/dist/components/arcgis-expand/types.d.ts +1 -0
- package/dist/components/arcgis-feature/customElement.d.ts +32 -33
- package/dist/components/arcgis-feature/customElement.js +35 -35
- package/dist/components/arcgis-feature-fields/customElement.js +28 -27
- package/dist/components/arcgis-feature-form/customElement.d.ts +30 -11
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
- package/dist/components/arcgis-feature-table/customElement.d.ts +99 -63
- package/dist/components/arcgis-feature-table/customElement.js +12 -12
- package/dist/components/arcgis-feature-templates/customElement.d.ts +14 -12
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +63 -60
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +9 -9
- package/dist/components/arcgis-features/customElement.d.ts +57 -59
- package/dist/components/arcgis-features/customElement.js +43 -43
- package/dist/components/arcgis-floor-filter/customElement.d.ts +7 -10
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +35 -36
- package/dist/components/arcgis-home/customElement.d.ts +4 -6
- package/dist/components/arcgis-layer-list/customElement.d.ts +40 -41
- package/dist/components/arcgis-legend/customElement.d.ts +29 -30
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +15 -13
- package/dist/components/arcgis-link-chart/customElement.d.ts +59 -49
- package/dist/components/arcgis-link-chart/customElement.js +42 -31
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -2
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +6 -3
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +13 -13
- package/dist/components/arcgis-locate/customElement.d.ts +2 -3
- package/dist/components/arcgis-map/customElement.d.ts +139 -129
- package/dist/components/arcgis-map/customElement.js +24 -13
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -5
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +6 -11
- package/dist/components/arcgis-navigation-toggle/customElement.js +9 -6
- package/dist/components/arcgis-navigation-toggle/types.d.ts +1 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -3
- package/dist/components/arcgis-paste/ClipboardMove.d.ts +3 -0
- package/dist/components/arcgis-paste/PasteViewModel.d.ts +18 -6
- package/dist/components/arcgis-paste/commands/PasteCommand.d.ts +264 -120
- package/dist/components/arcgis-paste/commands/PasteCustomCommand.d.ts +115 -114
- package/dist/components/arcgis-paste/customElement.d.ts +1 -1
- package/dist/components/arcgis-paste/customElement.js +6 -7
- package/dist/components/arcgis-popup/customElement.d.ts +54 -55
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +2 -1
- package/dist/components/arcgis-print/customElement.d.ts +29 -18
- package/dist/components/arcgis-reverse-geocode-list/customElement.d.ts +13 -1
- package/dist/components/arcgis-reverse-geocode-list/customElement.js +38 -41
- package/dist/components/arcgis-scale-bar/customElement.d.ts +2 -2
- package/dist/components/arcgis-scale-bar/customElement.js +7 -7
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +7 -8
- package/dist/components/arcgis-scene/customElement.d.ts +155 -150
- package/dist/components/arcgis-scene/customElement.js +20 -9
- package/dist/components/arcgis-search/customElement.d.ts +37 -30
- package/dist/components/arcgis-search/customElement.js +20 -18
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +61 -17
- package/dist/components/arcgis-sketch/customElement.d.ts +55 -36
- package/dist/components/arcgis-sketch/customElement.js +20 -8
- package/dist/components/arcgis-slice/customElement.d.ts +16 -16
- package/dist/components/arcgis-slice/customElement.js +6 -6
- package/dist/components/arcgis-slice/{SliceViewModel.d.ts → types.d.ts} +1 -1
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +119 -88
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +42 -48
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +44 -51
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +103 -91
- package/dist/components/arcgis-slider-color-legacy/customElement.js +8 -8
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +143 -88
- package/dist/components/arcgis-slider-color-size-legacy/customElement.js +6 -6
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +9 -12
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +64 -82
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +72 -91
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +1 -2
- package/dist/components/arcgis-swipe/customElement.d.ts +6 -6
- package/dist/components/arcgis-table-list/customElement.d.ts +109 -73
- package/dist/components/arcgis-time-of-day-slider/customElement.d.ts +1 -0
- package/dist/components/arcgis-time-of-day-slider/customElement.js +11 -11
- package/dist/components/arcgis-time-slider/customElement.d.ts +17 -19
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +16 -29
- package/dist/components/arcgis-time-zone-label/customElement.js +19 -58
- package/dist/components/arcgis-time-zone-label/index.js +0 -1
- package/dist/components/arcgis-track/customElement.d.ts +6 -7
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +1 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +5 -6
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +3 -4
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -5
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +48 -49
- package/dist/components/arcgis-utility-network-trace-analysis/index.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +30 -25
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +82 -80
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +3 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +52 -49
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -2
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +39 -40
- package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -3
- package/dist/components/arcgis-video/customElement.d.ts +12 -12
- package/dist/components/arcgis-video-player/customElement.d.ts +5 -5
- package/dist/components/arcgis-video-player/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +31 -27
- package/dist/components/arcgis-volume-measurement/customElement.js +211 -211
- package/dist/components/arcgis-volume-measurement/index.js +1 -1
- package/dist/components/arcgis-volume-measurement/types.d.ts +1 -0
- package/dist/components/arcgis-weather/customElement.d.ts +17 -18
- package/dist/components/arcgis-zoom/customElement.d.ts +6 -2
- package/dist/components/types.d.ts +56 -1
- 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/index.d.ts +6 -28
- package/dist/loader.js +18 -18
- package/dist/types/lumina.d.ts +17 -39
- package/dist/types/preact.d.ts +17 -43
- package/dist/types/react.d.ts +17 -47
- package/dist/types/stencil.d.ts +17 -39
- package/package.json +4 -4
- package/dist/cdn/23UYZVTW.js +0 -2
- package/dist/cdn/3GZCJE62.js +0 -2
- package/dist/cdn/4TURMTXA.js +0 -2
- package/dist/cdn/55QGHI47.js +0 -2
- package/dist/cdn/6UX4KWBN.js +0 -2
- package/dist/cdn/7UR4M6PN.js +0 -2
- package/dist/cdn/AGYDL2DX.js +0 -2
- package/dist/cdn/B5XR4LXQ.js +0 -2
- package/dist/cdn/CKNH5OMJ.js +0 -2
- package/dist/cdn/DOLELC6W.js +0 -2
- package/dist/cdn/EYNKJZG3.js +0 -2
- package/dist/cdn/FEQLUSM2.js +0 -2
- package/dist/cdn/HR2OOT3F.js +0 -2
- package/dist/cdn/I2MQQXVU.js +0 -2
- package/dist/cdn/JDZWJLJX.js +0 -2
- package/dist/cdn/KECAR2NZ.js +0 -2
- package/dist/cdn/LZFDWRYI.js +0 -2
- package/dist/cdn/M7VTEC3S.js +0 -2
- package/dist/cdn/MRE5HCIK.js +0 -2
- package/dist/cdn/MW73TE2N.js +0 -2
- package/dist/cdn/MWBGBBXT.js +0 -2
- package/dist/cdn/PNDLNFML.js +0 -2
- package/dist/cdn/PQJAXYJ2.js +0 -2
- package/dist/cdn/RJ76OXB6.js +0 -2
- package/dist/cdn/SKW7HQZ6.js +0 -2
- package/dist/cdn/SRSYUCVL.js +0 -2
- package/dist/cdn/U3LH3AZH.js +0 -2
- package/dist/cdn/UTH3SGAS.js +0 -2
- package/dist/cdn/VJMMA6UX.js +0 -2
- package/dist/cdn/W2E5L6DS.js +0 -2
- package/dist/cdn/WGXSSEAL.js +0 -2
- package/dist/cdn/X6OVNOLQ.js +0 -2
- package/dist/cdn/X7YUU7TS.js +0 -2
- package/dist/cdn/XO6U6OVM.js +0 -2
- package/dist/cdn/Y53D5YAC.js +0 -2
- package/dist/cdn/YGJFZRA4.js +0 -2
- package/dist/cdn/YKTB6AFH.js +0 -2
- package/dist/cdn/YWQGP6MB.js +0 -2
- package/dist/cdn/ZMLRDNKR.js +0 -2
- package/dist/cdn/ZUTQE3OX.js +0 -2
- package/dist/components/arcgis-building-discipline-tree/customElement.d.ts +0 -14
- package/dist/components/arcgis-building-discipline-tree/index.d.ts +0 -1
- package/dist/components/arcgis-building-explorer/building-filter/BuildingLevel.d.ts +0 -20
- package/dist/components/arcgis-building-explorer/building-filter/BuildingNumericFilterViewModel.d.ts +0 -93
- package/dist/components/arcgis-building-explorer/building-filter/BuildingPhase.d.ts +0 -24
- package/dist/components/arcgis-building-explorer/support/types.d.ts +0 -11
- package/dist/components/arcgis-building-level-item/customElement.d.ts +0 -25
- package/dist/components/arcgis-building-level-item/index.d.ts +0 -1
- package/dist/components/arcgis-building-level-picker/customElement.d.ts +0 -20
- package/dist/components/arcgis-building-level-picker/index.d.ts +0 -1
- package/dist/components/arcgis-building-phase-picker/customElement.d.ts +0 -19
- package/dist/components/arcgis-building-phase-picker/index.d.ts +0 -1
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -8
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +0 -44
- package/dist/components/support/goTo.d.ts +0 -37
- package/dist/controllers/useArcgisLoadError.d.ts +0 -9
- package/dist/support/heading.d.ts +0 -1
- package/dist/support/measurementUtils.d.ts +0 -1
- package/dist/utils/action-utils.d.ts +0 -3
- package/dist/utils/component-utils.d.ts +0 -5
- /package/dist/cdn/{UQ7E33T4.js → 2SQUOXWG.js} +0 -0
- /package/dist/cdn/{KAJ3U6DP.js → 3GVHNIXM.js} +0 -0
- /package/dist/cdn/{E2KWMQKQ.js → 3NF4UU3S.js} +0 -0
- /package/dist/cdn/{PHF2XKSK.js → 43UMYTXQ.js} +0 -0
- /package/dist/cdn/{CHDRBZNL.js → 47T624VO.js} +0 -0
- /package/dist/cdn/{X5H6ZUFX.js → 4NBXFFTY.js} +0 -0
- /package/dist/cdn/{DDI363AI.js → 5IPPKC3M.js} +0 -0
- /package/dist/cdn/{LCXF3AKY.js → 6JUTQDKC.js} +0 -0
- /package/dist/cdn/{YMU5IPMP.js → 6QPD32WT.js} +0 -0
- /package/dist/cdn/{M6TJN2I5.js → 7LEGS7EX.js} +0 -0
- /package/dist/cdn/{ORP3ZND2.js → AQG5RIV3.js} +0 -0
- /package/dist/cdn/{W5XM52J7.js → B3I4OKDQ.js} +0 -0
- /package/dist/cdn/{RCD5UKTW.js → BFHBS4MR.js} +0 -0
- /package/dist/cdn/{CRR65TKV.js → D3X7R3GD.js} +0 -0
- /package/dist/cdn/{7FMJZURP.js → DYC6OHKG.js} +0 -0
- /package/dist/cdn/{5OB4E5PR.js → DZG4EA6U.js} +0 -0
- /package/dist/cdn/{W5B5LTGN.js → ELF2SE5K.js} +0 -0
- /package/dist/cdn/{UVZZX6YP.js → FHSXSYA6.js} +0 -0
- /package/dist/cdn/{BQIH5T3S.js → FRWY77LH.js} +0 -0
- /package/dist/cdn/{ZFFBK3VO.js → FYVM32GJ.js} +0 -0
- /package/dist/cdn/{B7IYR676.js → GVW4OIR5.js} +0 -0
- /package/dist/cdn/{FPD3STSJ.js → H6LWU2FC.js} +0 -0
- /package/dist/cdn/{DEOCASGG.js → HEBLEJCT.js} +0 -0
- /package/dist/cdn/{OSRAPPNR.js → IDITPQDC.js} +0 -0
- /package/dist/cdn/{DWZIXPJ4.js → J3F5FPMC.js} +0 -0
- /package/dist/cdn/{YP3JKXC4.js → JMZA4GQB.js} +0 -0
- /package/dist/cdn/{JDPQMOEW.js → JPDYVHUZ.js} +0 -0
- /package/dist/cdn/{PUOWH3YL.js → KNFAPO3C.js} +0 -0
- /package/dist/cdn/{W2Q7NWBG.js → LEC4CIVO.js} +0 -0
- /package/dist/cdn/{JMDNJPNT.js → NCTWDKYG.js} +0 -0
- /package/dist/cdn/{RDW2NJPR.js → PDCUZMSB.js} +0 -0
- /package/dist/cdn/{76ESM6B2.js → RJTABGPK.js} +0 -0
- /package/dist/cdn/{2VC2VUTP.js → RUB6EORR.js} +0 -0
- /package/dist/cdn/{2ZL4CF6P.js → SPXZXKMH.js} +0 -0
- /package/dist/cdn/{HZTWWEVM.js → TRPYDMNK.js} +0 -0
- /package/dist/cdn/{5PRNT4KD.js → U4QW6VHU.js} +0 -0
- /package/dist/cdn/{YHVFARHN.js → UYDFCELQ.js} +0 -0
- /package/dist/cdn/{55VMVXRK.js → V2D4QTRR.js} +0 -0
- /package/dist/cdn/{QAXR4LT6.js → WBZEEY5N.js} +0 -0
- /package/dist/cdn/{YDJGMRV3.js → WG5RPCHL.js} +0 -0
- /package/dist/cdn/{ZLIZCBGT.js → WL4J6REN.js} +0 -0
- /package/dist/cdn/{GB42YXHR.js → XJQRAKJ6.js} +0 -0
- /package/dist/cdn/{L4WRYSKZ.js → YGJ7NPDT.js} +0 -0
- /package/dist/cdn/{V3M37NHT.js → ZJ36DBTH.js} +0 -0
- /package/dist/components/arcgis-locate/{LocateViewModel.d.ts → types.d.ts} +0 -0
- /package/dist/components/arcgis-weather/{WeatherViewModel.d.ts → types.d.ts} +0 -0
|
@@ -3,8 +3,7 @@ import type Graphic from "@arcgis/core/Graphic.js";
|
|
|
3
3
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
4
4
|
import type AttachmentInfo from "@arcgis/core/rest/query/support/AttachmentInfo.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { ArcgisReferenceElement } from "
|
|
7
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
6
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
8
7
|
import type { AttachmentsCapabilities, AttachmentsDisplay } from "@arcgis/core/widgets/Attachments/types.js";
|
|
9
8
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
10
9
|
import type { AttachmentsViewModelState } from "@arcgis/core/widgets/Attachments/AttachmentsViewModel.js";
|
|
@@ -12,7 +11,7 @@ import type { AttachmentsViewModelState } from "@arcgis/core/widgets/Attachments
|
|
|
12
11
|
/** @internal */
|
|
13
12
|
export abstract class ArcgisAttachments extends LitElement {
|
|
14
13
|
/**
|
|
15
|
-
* A collection of [AttachmentInfo](https://developers.arcgis.com/javascript/latest/
|
|
14
|
+
* A collection of [AttachmentInfo](https://developers.arcgis.com/javascript/latest/references/core/rest/query/support/AttachmentInfo/) defined on a feature.
|
|
16
15
|
*
|
|
17
16
|
* @see [ArcGIS REST API - Attachment Infos (Feature Service)](https://developers.arcgis.com/rest/services-reference/attachment-infos-feature-service-.htm)
|
|
18
17
|
*/
|
|
@@ -20,7 +19,7 @@ export abstract class ArcgisAttachments extends LitElement {
|
|
|
20
19
|
/** An array of strings used to identify attachment(s). When attachments are displayed, this property is used to query attachments using an exact match on the keywords provided. */
|
|
21
20
|
accessor attachmentKeywords: Array<string> | null | undefined;
|
|
22
21
|
/** An array of strings representing MIME types. When attachments are displayed, this property is used to query attachments based on MIME type. Valid values: application, audio, image, model, text, and video. */
|
|
23
|
-
accessor attachmentTypes: Array<"
|
|
22
|
+
accessor attachmentTypes: Array<"image" | "model" | "text" | "video" | "application" | "audio"> | null | undefined;
|
|
24
23
|
/**
|
|
25
24
|
* If true, the component will not be destroyed automatically when it is
|
|
26
25
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -38,11 +37,11 @@ export abstract class ArcgisAttachments extends LitElement {
|
|
|
38
37
|
*/
|
|
39
38
|
accessor capabilities: AttachmentsCapabilities;
|
|
40
39
|
/**
|
|
41
|
-
* String indicating how to [display](https://developers.arcgis.com/javascript/latest/
|
|
40
|
+
* String indicating how to [display](https://developers.arcgis.com/javascript/latest/references/core/widgets/Attachments/#displayType) the attachments.
|
|
42
41
|
*
|
|
43
42
|
* | Value | Description |
|
|
44
43
|
* | ------ | ----------- |
|
|
45
|
-
* | auto | Default value. If a feature layer's capabilities supports [resizing attachments](https://developers.arcgis.com/javascript/latest/
|
|
44
|
+
* | auto | Default value. If a feature layer's capabilities supports [resizing attachments](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#capabilities), the popup will display attachments in `preview` mode.|
|
|
46
45
|
* | preview | Shows a thumbnail image of the attachment.|
|
|
47
46
|
* | list | Shows a list of attachment links. |
|
|
48
47
|
*
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
import type LocalBasemapsSource from "@arcgis/core/widgets/BasemapGallery/support/LocalBasemapsSource.js";
|
|
3
3
|
import type PortalBasemapsSource from "@arcgis/core/widgets/BasemapGallery/support/PortalBasemapsSource.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
-
import type { HeadingLevel } from "
|
|
6
|
-
import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
|
|
5
|
+
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
7
6
|
import type { BasemapProperties } from "@arcgis/core/Basemap";
|
|
8
7
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
9
8
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
@@ -15,7 +14,7 @@ import type { BasemapGalleryViewModelState } from "@arcgis/core/widgets/BasemapG
|
|
|
15
14
|
* @since 4.28
|
|
16
15
|
*/
|
|
17
16
|
export abstract class ArcgisBasemapGallery extends LitElement {
|
|
18
|
-
/** The map's current [basemap](https://developers.arcgis.com/javascript/latest/
|
|
17
|
+
/** The map's current [basemap](https://developers.arcgis.com/javascript/latest/references/core/Map/#basemap). */
|
|
19
18
|
accessor activeBasemap: BasemapProperties | string | undefined;
|
|
20
19
|
/**
|
|
21
20
|
* If true, the component will not be destroyed automatically when it is
|
|
@@ -28,7 +27,7 @@ export abstract class ArcgisBasemapGallery extends LitElement {
|
|
|
28
27
|
*/
|
|
29
28
|
accessor autoDestroyDisabled: boolean;
|
|
30
29
|
/**
|
|
31
|
-
* When
|
|
30
|
+
* When true, the component is visually withdrawn and cannot receive user interaction.
|
|
32
31
|
*
|
|
33
32
|
* @default false
|
|
34
33
|
*/
|
|
@@ -3,17 +3,17 @@ import { g as x, c as w } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { classes as k } from "@arcgis/toolkit/dom";
|
|
4
4
|
import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
5
|
import { LitElement as $, nothing as a, safeClassMap as p } from "@arcgis/lumina";
|
|
6
|
-
import { css as
|
|
7
|
-
import { g as
|
|
8
|
-
import { g as
|
|
6
|
+
import { css as B, html as i } from "lit";
|
|
7
|
+
import { g as I } from "../../chunks/globalCss.js";
|
|
8
|
+
import { g as _ } from "../../chunks/component-utils.js";
|
|
9
9
|
function A(t) {
|
|
10
10
|
return t.portalItem?.type === "Web Scene" || t.referenceLayers.some((e) => e.type === "scene");
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
return !!t?.portalItem?.tags?.some((e) => e.toLowerCase() === "beta");
|
|
12
|
+
function C(t) {
|
|
13
|
+
return !!t?.portalItem?.tags?.some((e) => e.toLowerCase() === "beta") || !!t?.portalItem?.categories?.includes("/Categories/Status/Beta");
|
|
14
14
|
}
|
|
15
|
-
const
|
|
16
|
-
class
|
|
15
|
+
const z = B`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}:host{container-type:inline-size}.empty-message{padding:12px 15px;animation:.5s ease-in-out esri-fade-in}.item{box-sizing:border-box;cursor:pointer;border:1px solid var(--calcite-color-background);flex-direction:row;width:100%;transition:background-color .25s ease-in-out,border-color .25s ease-in-out;animation:.5s ease-in-out esri-fade-in;display:flex;position:relative}.item:hover{background-color:var(--calcite-color-foreground-3);border-color:var(--calcite-color-background-inverse)}.item:hover .item-title{color:var(--calcite-color-text-1)}.item:focus{outline:none}.is-error{opacity:var(--calcite-opacity-light);background-color:var(--calcite-color-transparent)!important;border-color:var(--calcite-color-transparent)!important;cursor:auto}.item-thumbnail{aspect-ratio:1.5;border-inline-end:1px solid var(--calcite-color-border-1);flex-shrink:0;width:120px;min-width:120px;transition:background-color .25s ease-in-out,border-color .25s ease-in-out}.item-title{color:var(--calcite-color-text-3);justify-content:flex-start;align-items:center;width:100%;height:100%;font-size:var(--calcite-font-size-sm);transition:color .25s ease-in-out,font-weight .25s ease-in-out;display:flex}.item-title span{text-align:start;text-overflow:ellipsis;word-wrap:break-word;word-break:break-word;hyphens:auto;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;width:100%;display:-webkit-box;overflow:hidden}.is-selected,.is-selected:hover,.is-selected:focus{cursor:auto;background-color:color-mix(in srgb,var(--calcite-color-brand-underline),70% transparent);border-color:var(--calcite-color-status-info)!important}.is-selected .item-title,.item.is-selected:hover .item-title,.item.is-selected:focus .item-title{color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.item-content{flex-direction:column;gap:var(--calcite-spacing-md);min-width:0;padding-block:var(--calcite-spacing-base);padding-inline:var(--calcite-spacing-md);display:flex}.item-tags{flex-direction:row;gap:var(--calcite-spacing-base);display:flex}.item-tags calcite-chip{--calcite-font-size--2: var(--calcite-font-size--3);cursor:inherit}@supports (object-fit: cover){.item-thumbnail{object-fit:cover}}@container (width>=200px) and (width <= 300px){.item{align-items:center}.item:not(.is-selected,:hover){border-color:var(--calcite-color-transparent)}}@container (width>=200px) and (width <= 278px){.item-thumbnail{aspect-ratio:1;width:80px;min-width:80px}}@container (width<200px) or (width>=350px){.item{text-align:center;flex-flow:column wrap}.item:not(.is-selected,:hover){border-color:var(--calcite-color-border-1)}.item-thumbnail{border-block-end:1px solid var(--calcite-color-border-1);border-inline-end:none;width:100%;min-width:0;height:auto}.item-content{height:32px;padding-block:var(--calcite-spacing-xxs);padding-inline:var(--calcite-spacing-xs);position:relative}.item-tags{position:absolute;inset-block-end:45px;inset-inline-end:5px}}`;
|
|
16
|
+
class S extends $ {
|
|
17
17
|
constructor() {
|
|
18
18
|
super(...arguments), this._itemState = "loading", this._isActive = !1;
|
|
19
19
|
}
|
|
@@ -21,7 +21,7 @@ class Y extends $ {
|
|
|
21
21
|
this.properties = { _itemState: 16, _isActive: 16, disabled: 5, item: 0, itemIndex: 9, viewModel: 0, messages: 0 };
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
|
-
this.styles =
|
|
24
|
+
this.styles = z;
|
|
25
25
|
}
|
|
26
26
|
loaded() {
|
|
27
27
|
this.manager.onLifecycle(() => [
|
|
@@ -29,7 +29,7 @@ class Y extends $ {
|
|
|
29
29
|
this._itemState = e;
|
|
30
30
|
}, { sync: !0 }),
|
|
31
31
|
l(() => this.viewModel.activeBasemap, (e) => {
|
|
32
|
-
this._isActive = this.item.basemap.id === e?.id, this._isActive && (
|
|
32
|
+
this._isActive = this.item.basemap.id === e?.id, this._isActive && (_(this)?.focus(), this.el.scrollIntoView({ block: "nearest" }));
|
|
33
33
|
}, { initial: !0, sync: !0 })
|
|
34
34
|
]);
|
|
35
35
|
}
|
|
@@ -43,19 +43,19 @@ class Y extends $ {
|
|
|
43
43
|
}, c = `basemapgallery-item-${e.uid}`;
|
|
44
44
|
return i`<div .ariaChecked=${r} .ariaDisabled=${h} aria-labelledby=${c ?? a} class=${p(k("item", v))} role=radio tabindex=${y ?? a} title=${g ?? a} @click=${() => {
|
|
45
45
|
e.state === "ready" && (m.activeBasemap = e.basemap);
|
|
46
|
-
}}><img alt class="item-thumbnail" src=${f ?? a}><div class="item-content"><div class="item-title"><span id=${c ?? a}>${s}</span></div>${A(e.basemap) ?
|
|
46
|
+
}}><img alt class="item-thumbnail" src=${f ?? a}><div class="item-content"><div class="item-title"><span id=${c ?? a}>${s}</span></div>${A(e.basemap) ? Y(e.basemap, d) : null}</div>${e.state !== "loading" ? null : i`<calcite-scrim><span aria-hidden=true class=${p(I.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
return i`<div class="item-tags">${
|
|
49
|
+
function Y(t, e) {
|
|
50
|
+
return i`<div class="item-tags">${D(e)}${C(t) ? M(e) : null}</div>`;
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function D(t) {
|
|
53
53
|
return i`<calcite-chip scale=s .label=${t.tag3D}>${t.tag3D}</calcite-chip>`;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function M(t) {
|
|
56
56
|
return i`<calcite-chip appearance=outline-fill scale=s .label=${t.tagBeta}>${t.tagBeta}</calcite-chip>`;
|
|
57
57
|
}
|
|
58
|
-
w("arcgis-basemap-gallery-item",
|
|
58
|
+
w("arcgis-basemap-gallery-item", S);
|
|
59
59
|
export {
|
|
60
|
-
|
|
60
|
+
S as ArcgisBasemapGalleryItem
|
|
61
61
|
};
|
|
@@ -5,8 +5,7 @@ import type CatalogLayerList from "@arcgis/core/widgets/CatalogLayerList";
|
|
|
5
5
|
import type Collection2 from "@arcgis/core/core/Collection.js";
|
|
6
6
|
import type ListItem2 from "@arcgis/core/widgets/LayerList/ListItem.js";
|
|
7
7
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
|
-
import type { ArcgisReferenceElement } from "
|
|
9
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
8
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
10
9
|
import type { LayerListViewModelTriggerActionEvent } from "@arcgis/core/widgets/LayerList/LayerListViewModel";
|
|
11
10
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
12
11
|
import type { FilterPredicate, ListItemModifier, VisibilityAppearance } from "@arcgis/core/widgets/LayerList/types.js";
|
|
@@ -16,7 +15,7 @@ import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
|
16
15
|
import type { BasemapLayerListState } from "@arcgis/core/widgets/BasemapLayerList/types.js";
|
|
17
16
|
|
|
18
17
|
/**
|
|
19
|
-
* The Basemap Layer List component provides a way to display a list of [Basemap](https://developers.arcgis.com/javascript/latest/
|
|
18
|
+
* The Basemap Layer List component provides a way to display a list of [Basemap](https://developers.arcgis.com/javascript/latest/references/core/Basemap/) layers and switch on/off their visibility. [Base layers](https://developers.arcgis.com/javascript/latest/references/core/Basemap/#baseLayers) and [reference layers](https://developers.arcgis.com/javascript/latest/references/core/Basemap/#referenceLayers) are divided into separate sections. When editing is enabled, layers can be reordered by dragging and dropping between the lists and the title can be edited.
|
|
20
19
|
*
|
|
21
20
|
* @since 4.28
|
|
22
21
|
*/
|
|
@@ -32,83 +31,91 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
32
31
|
*/
|
|
33
32
|
accessor autoDestroyDisabled: boolean;
|
|
34
33
|
/**
|
|
35
|
-
* Specifies a function to handle filtering base layer [list items](https://developers.arcgis.com/javascript/latest/
|
|
34
|
+
* Specifies a function to handle filtering base layer [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/).
|
|
36
35
|
*
|
|
37
36
|
* @since 4.32
|
|
38
|
-
* @example
|
|
37
|
+
* @example
|
|
38
|
+
* ```js
|
|
39
|
+
* basemapLayerListElement.baseFilterPredicate = (item) => item.title.toLowerCase().includes("streets");
|
|
40
|
+
* ```
|
|
39
41
|
*/
|
|
40
42
|
accessor baseFilterPredicate: FilterPredicate | null | undefined;
|
|
41
43
|
/**
|
|
42
|
-
* The value of the filter input text string if [
|
|
44
|
+
* The value of the filter input text string if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter) is true.
|
|
43
45
|
*
|
|
44
46
|
* @default ""
|
|
45
47
|
* @since 4.29
|
|
46
48
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter)
|
|
47
49
|
* @example
|
|
50
|
+
* ```js
|
|
48
51
|
* reactiveUtils.watch(
|
|
49
|
-
* () =>
|
|
52
|
+
* () => basemapLayerListElement.baseFilterText,
|
|
50
53
|
* (baseFilterText) => console.log(baseFilterText)
|
|
51
54
|
* );
|
|
55
|
+
* ```
|
|
52
56
|
*/
|
|
53
57
|
accessor baseFilterText: string;
|
|
54
58
|
/** A collection of ListItems representing the baseLayers. */
|
|
55
59
|
get baseItems(): Collection<ListItem>;
|
|
56
60
|
/**
|
|
57
|
-
* Specifies a function that accesses each [ListItem](https://developers.arcgis.com/javascript/latest/
|
|
61
|
+
* Specifies a function that accesses each [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) representing a base layer.
|
|
58
62
|
* Each list item's modifiable properties can be updated within. Actions can be added to list items
|
|
59
|
-
* using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/
|
|
63
|
+
* using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/#actionsSections)
|
|
60
64
|
* property of the ListItem.
|
|
61
65
|
*
|
|
62
66
|
* @example
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
* baseListItem.open = true;
|
|
72
|
-
* }
|
|
67
|
+
* ```js
|
|
68
|
+
* basemapLayerListElement.baseListItemCreatedFunction = (event) => {
|
|
69
|
+
* const baseListItem = event.item;
|
|
70
|
+
* if(baseListItem.title === "World Imagery_01"){
|
|
71
|
+
* // clean up title
|
|
72
|
+
* baseListItem.title = "World Imagery";
|
|
73
|
+
* // open the baseList item
|
|
74
|
+
* baseListItem.open = true;
|
|
73
75
|
* }
|
|
74
|
-
* }
|
|
76
|
+
* }
|
|
77
|
+
* ```
|
|
75
78
|
*/
|
|
76
79
|
accessor baseListItemCreatedFunction: ListItemModifier | null | undefined;
|
|
77
80
|
/** The current basemap's title. */
|
|
78
81
|
accessor basemapTitle: string | null | undefined;
|
|
79
|
-
/**
|
|
82
|
+
/**
|
|
83
|
+
* The CatalogLayerList that displays a catalog layer's dynamic group layer.
|
|
84
|
+
*
|
|
85
|
+
* @see [arcgis-catalog-layer-list](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-catalog-layer-list/)
|
|
86
|
+
* @see [catalogOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#catalogOptions)
|
|
87
|
+
*/
|
|
80
88
|
get catalogLayerList(): CatalogLayerList | null | undefined;
|
|
81
89
|
/**
|
|
82
|
-
* [CatalogLayer](https://developers.arcgis.com/javascript/latest/
|
|
83
|
-
* Catalog layers will display their [dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/
|
|
90
|
+
* [CatalogLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/) specific properties.
|
|
91
|
+
* Catalog layers will display their [dynamicGroupLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/CatalogLayer/#dynamicGroupLayer) as an expandable [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/BasemapLayerList/#catalogLayerList) in the BasemapLayerList widget.
|
|
84
92
|
* This list item will only be displayed when catalog layers with dynamic group layers are loaded in the map.
|
|
85
|
-
* These are the properties that are used to configure the [catalogLayerList](https://developers.arcgis.com/javascript/latest/
|
|
93
|
+
* These are the properties that are used to configure the [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/core/widgets/BasemapLayerList/#catalogLayerList).
|
|
86
94
|
*
|
|
87
95
|
* @since 4.30
|
|
88
|
-
* @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/
|
|
96
|
+
* @see [catalogLayerList](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#catalogLayerList)
|
|
89
97
|
* @example
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
* },
|
|
104
|
-
* selectionMode: "single",
|
|
105
|
-
* visibleElements: {
|
|
106
|
-
* filter: true
|
|
107
|
-
* temporaryLayerIndicators: true
|
|
108
|
-
* }
|
|
98
|
+
* ```js
|
|
99
|
+
* basemapLayerListElement.catalogOptions = {
|
|
100
|
+
* listItemCreatedFunction: (event) => {
|
|
101
|
+
* const { item } = event;
|
|
102
|
+
* item.actionsSections = [
|
|
103
|
+
* [
|
|
104
|
+
* {
|
|
105
|
+
* title: "Add layer to map",
|
|
106
|
+
* icon: "add-layer",
|
|
107
|
+
* id: "add-layer"
|
|
108
|
+
* }
|
|
109
|
+
* ]
|
|
110
|
+
* ];
|
|
109
111
|
* },
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
+
* selectionMode: "single",
|
|
113
|
+
* visibleElements: {
|
|
114
|
+
* filter: true
|
|
115
|
+
* temporaryLayerIndicators: true
|
|
116
|
+
* }
|
|
117
|
+
* };
|
|
118
|
+
* ```
|
|
112
119
|
*/
|
|
113
120
|
accessor catalogOptions: CatalogLayerListProperties | null | undefined;
|
|
114
121
|
/**
|
|
@@ -125,16 +132,22 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
125
132
|
* @default false
|
|
126
133
|
* @since 4.29
|
|
127
134
|
* @see [showCollapseButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showCollapseButton)
|
|
128
|
-
* @example
|
|
135
|
+
* @example
|
|
136
|
+
* ```js
|
|
137
|
+
* basemapLayerListElement.collapsed = true;
|
|
138
|
+
* ```
|
|
129
139
|
*/
|
|
130
140
|
accessor collapsed: boolean;
|
|
131
141
|
/**
|
|
132
|
-
* Indicates whether [list items](https://developers.arcgis.com/javascript/latest/
|
|
133
|
-
* MapImageLayer [sublayers](https://developers.arcgis.com/javascript/latest/
|
|
142
|
+
* Indicates whether [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) may be reordered within the list by dragging and dropping.
|
|
143
|
+
* MapImageLayer [sublayers](https://developers.arcgis.com/javascript/latest/references/core/layers/MapImageLayer/#sublayers) can be reordered only within their parent MapImageLayer and can not be dragged out as a separate layer.
|
|
134
144
|
*
|
|
135
145
|
* @default false
|
|
136
146
|
* @since 4.29
|
|
137
|
-
* @example
|
|
147
|
+
* @example
|
|
148
|
+
* ```js
|
|
149
|
+
* basemapLayerListElement.dragEnabled = true;
|
|
150
|
+
* ```
|
|
138
151
|
*/
|
|
139
152
|
accessor dragEnabled: boolean;
|
|
140
153
|
/**
|
|
@@ -144,22 +157,28 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
144
157
|
* @default false
|
|
145
158
|
* @since 4.29
|
|
146
159
|
* @see [showEditTitleButton](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showEditTitleButton)
|
|
147
|
-
* @example
|
|
160
|
+
* @example
|
|
161
|
+
* ```js
|
|
162
|
+
* basemapLayerListElement.editingTitle = true;
|
|
163
|
+
* ```
|
|
148
164
|
*/
|
|
149
165
|
accessor editingTitle: boolean;
|
|
150
166
|
/**
|
|
151
|
-
* Placeholder text used in the filter input if [
|
|
167
|
+
* Placeholder text used in the filter input if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter) is true.
|
|
152
168
|
*
|
|
153
169
|
* @default ""
|
|
154
170
|
* @since 4.29
|
|
155
171
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter)
|
|
156
|
-
* @example
|
|
172
|
+
* @example
|
|
173
|
+
* ```js
|
|
174
|
+
* basemapLayerListElement.filterPlaceholder = "Filter layers";
|
|
175
|
+
* ```
|
|
157
176
|
*/
|
|
158
177
|
accessor filterPlaceholder: string;
|
|
159
178
|
/**
|
|
160
|
-
* Indicates the heading level to use for the
|
|
179
|
+
* Indicates the heading level to use for the component's title (i.e. "Navigation").
|
|
161
180
|
* By default, the basemap's title is rendered
|
|
162
|
-
* as a level 2 heading (e.g. `<h2>Navigation</h2>`). Depending on the
|
|
181
|
+
* as a level 2 heading (e.g. `<h2>Navigation</h2>`). Depending on the component's placement
|
|
163
182
|
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
164
183
|
* important for meeting accessibility standards.
|
|
165
184
|
*
|
|
@@ -167,8 +186,10 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
167
186
|
* @since 4.20
|
|
168
187
|
* @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
|
|
169
188
|
* @example
|
|
189
|
+
* ```js
|
|
170
190
|
* // the component title will render as an <h3>
|
|
171
|
-
*
|
|
191
|
+
* basemapLayerListElement.headingLevel = 3;
|
|
192
|
+
* ```
|
|
172
193
|
*/
|
|
173
194
|
accessor headingLevel: HeadingLevel;
|
|
174
195
|
/**
|
|
@@ -179,7 +200,7 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
179
200
|
*/
|
|
180
201
|
accessor hideBaseLayers: boolean;
|
|
181
202
|
/**
|
|
182
|
-
* Indicates whether the basemap layer list displays a heading. The heading text is the title of the basemap. The heading level can be set with the [BasemapLayerList#headingLevel](https://developers.arcgis.com/javascript/latest/
|
|
203
|
+
* Indicates whether the basemap layer list displays a heading. The heading text is the title of the basemap. The heading level can be set with the [BasemapLayerList#headingLevel](https://developers.arcgis.com/javascript/latest/references/core/widgets/BasemapLayerList/#headingLevel).
|
|
183
204
|
*
|
|
184
205
|
* @default false
|
|
185
206
|
* @since 5.0
|
|
@@ -209,21 +230,19 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
209
230
|
*/
|
|
210
231
|
get icon(): Icon["icon"];
|
|
211
232
|
set icon(value: IconName);
|
|
212
|
-
/**
|
|
213
|
-
* The component's default label.
|
|
214
|
-
*
|
|
215
|
-
* @since 4.11
|
|
216
|
-
*/
|
|
233
|
+
/** The component's default label. */
|
|
217
234
|
accessor label: string;
|
|
218
235
|
/**
|
|
219
|
-
* The minimum number of list items required to display the [
|
|
236
|
+
* The minimum number of list items required to display the [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter) input box.
|
|
220
237
|
*
|
|
221
238
|
* @default 10
|
|
222
239
|
* @since 4.29
|
|
223
240
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter)
|
|
224
241
|
* @example
|
|
225
|
-
*
|
|
226
|
-
*
|
|
242
|
+
* ```js
|
|
243
|
+
* basemapLayerListElement.showFilter = true;
|
|
244
|
+
* basemapLayerListElement.minFilterItems = 5;
|
|
245
|
+
* ```
|
|
227
246
|
*/
|
|
228
247
|
accessor minFilterItems: number;
|
|
229
248
|
/**
|
|
@@ -233,57 +252,61 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
233
252
|
*/
|
|
234
253
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
235
254
|
/**
|
|
236
|
-
* Specifies a function to handle filtering reference layer [list items](https://developers.arcgis.com/javascript/latest/
|
|
255
|
+
* Specifies a function to handle filtering reference layer [list items](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/).
|
|
237
256
|
*
|
|
238
257
|
* @since 4.32
|
|
239
|
-
* @example
|
|
258
|
+
* @example
|
|
259
|
+
* ```js
|
|
260
|
+
* layerList.referenceFilterPredicate = (item) => item.title.toLowerCase().includes("streets");
|
|
261
|
+
* ```
|
|
240
262
|
*/
|
|
241
263
|
accessor referenceFilterPredicate: FilterPredicate | null | undefined;
|
|
242
264
|
/**
|
|
243
|
-
* The value of the filter input text string if [
|
|
265
|
+
* The value of the filter input text string if [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter) is true.
|
|
244
266
|
*
|
|
245
267
|
* @default ""
|
|
246
268
|
* @since 4.29
|
|
247
269
|
* @see [showFilter](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-basemap-layer-list/#showFilter)
|
|
248
270
|
* @example
|
|
271
|
+
* ```js
|
|
249
272
|
* reactiveUtils.watch(
|
|
250
|
-
* () =>
|
|
273
|
+
* () => basemapLayerListElement.referenceFilterText,
|
|
251
274
|
* (referenceFilterText) => console.log(referenceFilterText)
|
|
252
275
|
* );
|
|
276
|
+
* ```
|
|
253
277
|
*/
|
|
254
278
|
accessor referenceFilterText: string;
|
|
255
279
|
/** A collection of ListItems representing the referenceLayers. */
|
|
256
280
|
get referenceItems(): Collection<ListItem>;
|
|
257
281
|
/**
|
|
258
|
-
* Specifies a function that accesses each [ListItem](https://developers.arcgis.com/javascript/latest/
|
|
282
|
+
* Specifies a function that accesses each [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/) representing a reference layer.
|
|
259
283
|
* Each list item's modifiable properties can be updated within. Actions can be added to list items
|
|
260
|
-
* using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/
|
|
284
|
+
* using the [ListItem#actionsSections](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/#actionsSections).
|
|
261
285
|
*
|
|
262
286
|
* @example
|
|
263
|
-
*
|
|
264
|
-
*
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
*
|
|
268
|
-
*
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
* referenceListItem.open = true;
|
|
272
|
-
* }
|
|
287
|
+
* ```js
|
|
288
|
+
* basemapLayerListElement.referenceListItemCreatedFunction = (event) => {
|
|
289
|
+
* referenceListItem = event.item;
|
|
290
|
+
* if(referenceListItem.title === "World Imagery_01_reference_layer"){
|
|
291
|
+
* // clean up title
|
|
292
|
+
* referenceListItem.title = "Reference layer";
|
|
293
|
+
* // open the baseList item
|
|
294
|
+
* referenceListItem.open = true;
|
|
273
295
|
* }
|
|
274
|
-
* }
|
|
296
|
+
* }
|
|
297
|
+
* ```
|
|
275
298
|
*/
|
|
276
299
|
accessor referenceListItemCreatedFunction: ListItemModifier | null | undefined;
|
|
277
300
|
/**
|
|
278
|
-
* A collection of selected [ListItem](https://developers.arcgis.com/javascript/latest/
|
|
301
|
+
* A collection of selected [ListItem](https://developers.arcgis.com/javascript/latest/references/core/widgets/LayerList/ListItem/)s representing basemap layers
|
|
279
302
|
* selected by the user.
|
|
280
303
|
*
|
|
281
|
-
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/
|
|
304
|
+
* @see [selectionMode](https://developers.arcgis.com/javascript/latest/references/core/widgets/BasemapLayerList/#selectionMode)
|
|
282
305
|
*/
|
|
283
306
|
accessor selectedItems: Collection2<ListItem2>;
|
|
284
307
|
/**
|
|
285
308
|
* Specifies the selection mode.
|
|
286
|
-
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/
|
|
309
|
+
* Selected items are available in the [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/BasemapLayerList/#selectedItems) property.
|
|
287
310
|
*
|
|
288
311
|
* | Value | Description |
|
|
289
312
|
* | ----- | ----------- |
|
|
@@ -294,10 +317,13 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
294
317
|
*
|
|
295
318
|
* @default "none"
|
|
296
319
|
* @since 4.29
|
|
297
|
-
* @see [selectedItems](https://developers.arcgis.com/javascript/latest/
|
|
298
|
-
* @example
|
|
320
|
+
* @see [selectedItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/BasemapLayerList/#selectedItems)
|
|
321
|
+
* @example
|
|
322
|
+
* ```js
|
|
323
|
+
* basemapLayerListElement.selectionMode = "multiple";
|
|
324
|
+
* ```
|
|
299
325
|
*/
|
|
300
|
-
accessor selectionMode: "
|
|
326
|
+
accessor selectionMode: "multiple" | "single" | "none" | "single-persist";
|
|
301
327
|
/**
|
|
302
328
|
* Indicates whether to display a close button in the header.
|
|
303
329
|
*
|
|
@@ -327,14 +353,14 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
327
353
|
*/
|
|
328
354
|
accessor showErrors: boolean;
|
|
329
355
|
/**
|
|
330
|
-
* Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [BasemapLayerList#minFilterItems](https://developers.arcgis.com/javascript/latest/
|
|
356
|
+
* Indicates whether to display a filter input box when then number of list items is equal to or greater than the value set in [BasemapLayerList#minFilterItems](https://developers.arcgis.com/javascript/latest/references/core/widgets/BasemapLayerList/#minFilterItems), allowing users to filter layers by their title.
|
|
331
357
|
*
|
|
332
358
|
* @default false
|
|
333
359
|
* @since 5.0
|
|
334
360
|
*/
|
|
335
361
|
accessor showFilter: boolean;
|
|
336
362
|
/**
|
|
337
|
-
* Indicates whether temporary layer indicators will be displayed for layers with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/
|
|
363
|
+
* Indicates whether temporary layer indicators will be displayed for layers with [Layer#persistenceEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/#persistenceEnabled) set to `false`. A [temporary icon](https://developers.arcgis.com/calcite-design-system/icons/?icon=temporary&library=Calcite%20UI&query=temporary) will be displayed on the near side of the layer title.
|
|
338
364
|
*
|
|
339
365
|
* @default false
|
|
340
366
|
* @since 5.0
|
|
@@ -361,7 +387,10 @@ export abstract class ArcgisBasemapLayerList extends LitElement {
|
|
|
361
387
|
*
|
|
362
388
|
* @default "default"
|
|
363
389
|
* @since 4.29
|
|
364
|
-
* @example
|
|
390
|
+
* @example
|
|
391
|
+
* ```js
|
|
392
|
+
* basemapLayerListElement.visibilityAppearance = "checkbox";
|
|
393
|
+
* ```
|
|
365
394
|
*/
|
|
366
395
|
accessor visibilityAppearance: VisibilityAppearance;
|
|
367
396
|
/** Permanently destroy the component. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Basemap2 from "@arcgis/core/Basemap.js";
|
|
3
3
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
4
|
-
import type { ArcgisReferenceElement } from "
|
|
4
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
5
5
|
import type { BasemapProperties } from "@arcgis/core/Basemap";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.js";
|
|
@@ -15,7 +15,7 @@ import type { BasemapToggleViewModelState } from "@arcgis/core/widgets/BasemapTo
|
|
|
15
15
|
* @since 4.28
|
|
16
16
|
*/
|
|
17
17
|
export abstract class ArcgisBasemapToggle extends LitElement {
|
|
18
|
-
/** The map's current [basemap](https://developers.arcgis.com/javascript/latest/
|
|
18
|
+
/** The map's current [basemap](https://developers.arcgis.com/javascript/latest/references/core/Map/#basemap). */
|
|
19
19
|
get activeBasemap(): Basemap2 | null | undefined;
|
|
20
20
|
/**
|
|
21
21
|
* If true, the component will not be destroyed automatically when it is
|