@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
|
@@ -23,7 +23,7 @@ import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
|
23
23
|
import type Theme from "@arcgis/core/views/Theme.js";
|
|
24
24
|
import type TimeExtent from "@arcgis/core/time/TimeExtent.js";
|
|
25
25
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
26
|
-
import type { LoadErrorSource } from "
|
|
26
|
+
import type { LoadErrorSource } from "../types.js";
|
|
27
27
|
import type { ArcgisPopup } from "../arcgis-popup/customElement.js";
|
|
28
28
|
import type { DoubleTapDragEvent, VerticalTwoFingerDragEvent, PointerUpEvent, PointerMoveEvent, PointerLeaveEvent, PointerEnterEvent, PointerDownEvent, ViewMouseWheelEvent, LayerViewDestroyEvent, LayerViewCreateErrorEvent, LayerViewCreateEvent, KeyUpEvent, KeyDownEvent, ImmediateDoubleClickEvent, ImmediateClickEvent, HoldEvent, DragEvent, DoubleClickEvent, ClickEvent } from "@arcgis/core/views/input/types";
|
|
29
29
|
import type { AnalysisViewDestroyEvent, AnalysisViewCreateErrorEvent, AnalysisViewCreateEvent, ToScreenOptions2D, GoToOptions2D, GoToTarget2D } from "@arcgis/core/views/types";
|
|
@@ -35,7 +35,7 @@ import type { ViewPadding } from "@arcgis/core/views/ui/types.js";
|
|
|
35
35
|
import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
-
* Loads a [WebLinkChart](https://developers.arcgis.com/javascript/latest/
|
|
38
|
+
* Loads a [WebLinkChart](https://developers.arcgis.com/javascript/latest/references/core/WebLinkChart/) from an [ArcGIS Enterprise portal](https://enterprise.arcgis.com/en/portal/latest/administer/windows/what-is-portal-for-arcgis-.htm) into a [LinkChartView](https://developers.arcgis.com/javascript/latest/references/core/views/LinkChartView/).
|
|
39
39
|
*
|
|
40
40
|
* Note: Sign in to access the data in this demo, U/P: `viewer01`/`I68VGU^nMurF`
|
|
41
41
|
*
|
|
@@ -53,7 +53,7 @@ import type { ResizeAlign } from "@arcgis/core/views/2d/types.js";
|
|
|
53
53
|
* @slot [top-end] - Slot for components positioned at the top-end (top-right in LTR, top-left in RTL).
|
|
54
54
|
* @slot [bottom-start] - Slot for components positioned at the bottom-start (bottom-left in LTR, bottom-right in RTL).
|
|
55
55
|
* @slot [bottom-end] - Slot for components positioned at the bottom-end (bottom-right in LTR, bottom-left in RTL).
|
|
56
|
-
* @slot [popup] - Slot for the [
|
|
56
|
+
* @slot [popup] - Slot for the [arcgis-popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/) component to open automatically on click. Only the Popup component can be placed in this slot.
|
|
57
57
|
* @since 4.32
|
|
58
58
|
*/
|
|
59
59
|
export abstract class ArcgisLinkChart extends LitElement {
|
|
@@ -61,7 +61,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
61
61
|
* Collection containing a flat list of all the created LayerViews
|
|
62
62
|
* related to the basemap, operational layers, and group layers in this view.
|
|
63
63
|
*
|
|
64
|
-
* @see [LayerView](https://developers.arcgis.com/javascript/latest/
|
|
64
|
+
* @see [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
|
|
65
65
|
*/
|
|
66
66
|
get allLayerViews(): ReadonlyCollection<LayerView2>;
|
|
67
67
|
/**
|
|
@@ -78,14 +78,14 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
78
78
|
accessor analyses: Collection<Analysis2>;
|
|
79
79
|
/**
|
|
80
80
|
* Indicates whether animations are disabled in the view. This includes animated symbols (animated
|
|
81
|
-
* [CIMSymbol](https://developers.arcgis.com/javascript/latest/
|
|
82
|
-
* [PictureMarkerSymbol](https://developers.arcgis.com/javascript/latest/
|
|
81
|
+
* [CIMSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/CIMSymbol/),
|
|
82
|
+
* [PictureMarkerSymbol](https://developers.arcgis.com/javascript/latest/references/core/symbols/PictureMarkerSymbol/)
|
|
83
83
|
* from a GIF/animated PNG), animated renderers
|
|
84
|
-
* ([FlowRenderer](https://developers.arcgis.com/javascript/latest/
|
|
85
|
-
* animated layers ([MediaLayer](https://developers.arcgis.com/javascript/latest/
|
|
86
|
-
* [VideoLayer](https://developers.arcgis.com/javascript/latest/
|
|
84
|
+
* ([FlowRenderer](https://developers.arcgis.com/javascript/latest/references/core/rasterRenderers/#FlowRenderer)),
|
|
85
|
+
* animated layers ([MediaLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/MediaLayer/),
|
|
86
|
+
* [VideoLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/VideoLayer/)), and
|
|
87
87
|
* animations triggered by view navigation (for example,
|
|
88
|
-
* [goTo()](https://developers.arcgis.com/javascript/latest/
|
|
88
|
+
* [goTo()](https://developers.arcgis.com/javascript/latest/references/core/views/LinkChartView/#goTo)).
|
|
89
89
|
* Setting this property to `true` disables all animations in the view.
|
|
90
90
|
*
|
|
91
91
|
* @default false
|
|
@@ -111,7 +111,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
111
111
|
*
|
|
112
112
|
* @since 5.0
|
|
113
113
|
*/
|
|
114
|
-
accessor attributionMode: "
|
|
114
|
+
accessor attributionMode: "dark" | "light" | null | undefined;
|
|
115
115
|
/**
|
|
116
116
|
* If true, the component will not be destroyed automatically when it is
|
|
117
117
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -162,6 +162,20 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
162
162
|
accessor basemap: Basemap | string | undefined;
|
|
163
163
|
/** Represents the view for a single basemap after it has been added to the link chart. */
|
|
164
164
|
accessor basemapView: BasemapView<LayerView2>;
|
|
165
|
+
/**
|
|
166
|
+
* Indicates if the view component can zoom in.
|
|
167
|
+
*
|
|
168
|
+
* @default false
|
|
169
|
+
* @since 5.0
|
|
170
|
+
*/
|
|
171
|
+
get canZoomIn(): boolean;
|
|
172
|
+
/**
|
|
173
|
+
* Indicates if the view component can zoom out.
|
|
174
|
+
*
|
|
175
|
+
* @default false
|
|
176
|
+
* @since 5.0
|
|
177
|
+
*/
|
|
178
|
+
get canZoomOut(): boolean;
|
|
165
179
|
/**
|
|
166
180
|
* Represents the view's center point; when setting the center, you may pass a
|
|
167
181
|
* esri/geometry/Point instance or a string representing
|
|
@@ -174,8 +188,8 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
174
188
|
/**
|
|
175
189
|
* Specifies constraints to scale, zoom, and rotation that may be applied to the LinkChartView.
|
|
176
190
|
*
|
|
177
|
-
* @see [TileInfo#create()](https://developers.arcgis.com/javascript/latest/
|
|
178
|
-
* @see [Zoom and LODs](https://developers.arcgis.com/javascript/latest/
|
|
191
|
+
* @see [TileInfo#create()](https://developers.arcgis.com/javascript/latest/references/core/layers/support/TileInfo/#create)
|
|
192
|
+
* @see [Zoom and LODs](https://developers.arcgis.com/javascript/latest/references/core/views/View2D/#mapview-lods)
|
|
179
193
|
* @example
|
|
180
194
|
* view.constraints = {
|
|
181
195
|
* geometry: { // Constrain lateral movement to Lower Manhattan
|
|
@@ -229,7 +243,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
229
243
|
accessor displayFilterDisabled: boolean;
|
|
230
244
|
/**
|
|
231
245
|
* The extent represents the visible portion of a link chart within the view as an instance of
|
|
232
|
-
* [Extent](https://developers.arcgis.com/javascript/latest/
|
|
246
|
+
* [Extent](https://developers.arcgis.com/javascript/latest/references/core/geometry/Extent/).
|
|
233
247
|
* Setting the extent immediately changes the view without animation. To animate
|
|
234
248
|
* the view, see this component's goTo() method.
|
|
235
249
|
* When the view is rotated, the extent does not update to include the newly visible portions of the link chart.
|
|
@@ -239,7 +253,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
239
253
|
* A rejected view indicates a fatal error making it unable to display.
|
|
240
254
|
*
|
|
241
255
|
* @since 4.12
|
|
242
|
-
* @see [tryFatalErrorRecovery()](https://developers.arcgis.com/javascript/latest/
|
|
256
|
+
* @see [tryFatalErrorRecovery()](https://developers.arcgis.com/javascript/latest/references/core/views/View/#tryFatalErrorRecovery)
|
|
243
257
|
* @example
|
|
244
258
|
* reactiveUtils.when(
|
|
245
259
|
* () => view.fatalError,
|
|
@@ -263,8 +277,8 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
263
277
|
* // Removes a graphic from the View
|
|
264
278
|
* graphics.remove(pointGraphic);
|
|
265
279
|
* ```
|
|
266
|
-
* @see [Graphic](https://developers.arcgis.com/javascript/latest/
|
|
267
|
-
* @see [GraphicsLayer](https://developers.arcgis.com/javascript/latest/
|
|
280
|
+
* @see [Graphic](https://developers.arcgis.com/javascript/latest/references/core/Graphic/)
|
|
281
|
+
* @see [GraphicsLayer](https://developers.arcgis.com/javascript/latest/references/core/layers/GraphicsLayer/)
|
|
268
282
|
* @see [Intro to graphics](https://developers.arcgis.com/javascript/latest/sample-code/intro-graphics/)
|
|
269
283
|
*/
|
|
270
284
|
accessor graphics: Collection<Graphic>;
|
|
@@ -279,22 +293,6 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
279
293
|
* @since 5.0
|
|
280
294
|
*/
|
|
281
295
|
accessor hideAttribution: boolean;
|
|
282
|
-
/**
|
|
283
|
-
* Options for configuring the highlight. Use the highlight method on the appropriate LayerView to highlight a feature. The layerView's `highlightOptions` will take precedence over the component's `highlightOptions` if both properties are set.
|
|
284
|
-
*
|
|
285
|
-
* @deprecated since version 4.32. Use the [highlights](#highlights) property instead.
|
|
286
|
-
* @see [Sample: Highlight SceneLayer](https://developers.arcgis.com/javascript/latest/sample-code/highlight-scenelayer/)
|
|
287
|
-
* @example
|
|
288
|
-
* const view = new MapView({
|
|
289
|
-
* map: map,
|
|
290
|
-
* highlightOptions: {
|
|
291
|
-
* color: [255, 255, 0, 1],
|
|
292
|
-
* haloOpacity: 0.9,
|
|
293
|
-
* fillOpacity: 0.2
|
|
294
|
-
* }
|
|
295
|
-
* });
|
|
296
|
-
*/
|
|
297
|
-
accessor highlightOptions: HighlightOptions;
|
|
298
296
|
/**
|
|
299
297
|
* The highlights property is a collection of HighlightGroup objects that
|
|
300
298
|
* allow you to visually emphasize specific features on the link chart.
|
|
@@ -359,15 +357,15 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
359
357
|
/**
|
|
360
358
|
* The ID of a WebLinkChart from an ArcGIS Enterprise portal.
|
|
361
359
|
*
|
|
362
|
-
* To configure the portal url you must set the [`portalUrl` property on `config`](https://developers.arcgis.com/javascript/latest/
|
|
360
|
+
* To configure the portal url you must set the [`portalUrl` property on `config`](https://developers.arcgis.com/javascript/latest/references/core/config/#portalUrl) before the Link Chart component loads.
|
|
363
361
|
*/
|
|
364
362
|
accessor itemId: null | undefined | string;
|
|
365
363
|
/**
|
|
366
364
|
* A collection containing a hierarchical list of all the created
|
|
367
|
-
* [LayerViews](https://developers.arcgis.com/javascript/latest/
|
|
368
|
-
* [operational layers](https://developers.arcgis.com/javascript/latest/
|
|
365
|
+
* [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) of the
|
|
366
|
+
* [operational layers](https://developers.arcgis.com/javascript/latest/references/core/WebLinkChart/#layers) in the link chart.
|
|
369
367
|
*
|
|
370
|
-
* @see [LayerView](https://developers.arcgis.com/javascript/latest/
|
|
368
|
+
* @see [LayerView](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/)
|
|
371
369
|
*/
|
|
372
370
|
get layerViews(): Collection<LayerView2>;
|
|
373
371
|
/**
|
|
@@ -383,7 +381,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
383
381
|
*/
|
|
384
382
|
get magnifier(): Magnifier;
|
|
385
383
|
/**
|
|
386
|
-
* An instance of a [WebLinkChart](https://developers.arcgis.com/javascript/latest/
|
|
384
|
+
* An instance of a [WebLinkChart](https://developers.arcgis.com/javascript/latest/references/core/WebLinkChart/)
|
|
387
385
|
* object to display in the view.
|
|
388
386
|
*/
|
|
389
387
|
accessor map: WebLinkChart;
|
|
@@ -421,8 +419,8 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
421
419
|
*/
|
|
422
420
|
accessor navigation: Navigation;
|
|
423
421
|
/**
|
|
424
|
-
* Use the padding property to make the [center](https://developers.arcgis.com/javascript/latest/
|
|
425
|
-
* and [extent](https://developers.arcgis.com/javascript/latest/
|
|
422
|
+
* Use the padding property to make the [center](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#center),
|
|
423
|
+
* and [extent](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#extent), etc. work off a
|
|
426
424
|
* subsection of the full view. This is particularly useful when layering UI
|
|
427
425
|
* elements or semi-transparent content on top of portions of the view.
|
|
428
426
|
*
|
|
@@ -430,9 +428,9 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
430
428
|
*/
|
|
431
429
|
accessor padding: ViewPadding;
|
|
432
430
|
/**
|
|
433
|
-
* A [Popup](https://developers.arcgis.com/javascript/latest/
|
|
431
|
+
* A [Popup](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/) widget object that displays general content or attributes from [layers](https://developers.arcgis.com/javascript/latest/references/core/Map/#layers) in the [map](https://developers.arcgis.com/javascript/latest/references/core/views/View/#map). Consider using the [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupElement) (beta), which represents the Popup component, instead.
|
|
434
432
|
*
|
|
435
|
-
* By default, the `popup` property is an empty object that allows you to set the popup options. A [Popup](https://developers.arcgis.com/javascript/latest/
|
|
433
|
+
* By default, the `popup` property is an empty object that allows you to set the popup options. A [Popup](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/) instance is automatically created and assigned to the view's [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popup) when the user clicks on the view and [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/views/PopupView/#popupEnabled) is `true`, when the [openPopup()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#openPopup) method is called, or when some widgets need the popup, such as [Search](https://developers.arcgis.com/javascript/latest/references/core/widgets/Search/). If [popup](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popup) is `null`, the popup instance will not be created.
|
|
436
434
|
*
|
|
437
435
|
* @see [popupElement](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupElement)
|
|
438
436
|
* @see [popupDisabled](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/#popupDisabled)
|
|
@@ -490,7 +488,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
490
488
|
* signaling that the following conditions are met.
|
|
491
489
|
*
|
|
492
490
|
* @default false
|
|
493
|
-
* @see [when()](https://developers.arcgis.com/javascript/latest/
|
|
491
|
+
* @see [when()](https://developers.arcgis.com/javascript/latest/references/core/views/View/#when)
|
|
494
492
|
*/
|
|
495
493
|
get ready(): boolean;
|
|
496
494
|
/**
|
|
@@ -552,7 +550,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
552
550
|
* This indicates the projected or geographic coordinate system used
|
|
553
551
|
* to locate geographic features in the link chart.
|
|
554
552
|
*
|
|
555
|
-
* @see [spatialReferenceLocked](https://developers.arcgis.com/javascript/latest/
|
|
553
|
+
* @see [spatialReferenceLocked](https://developers.arcgis.com/javascript/latest/references/core/views/View2D/#spatialReferenceLocked)
|
|
556
554
|
* @example
|
|
557
555
|
* // check if the projectOperator is loaded
|
|
558
556
|
* if (!projectOperator.isLoaded()) {
|
|
@@ -636,7 +634,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
636
634
|
* and components to render graphics and labels.
|
|
637
635
|
*
|
|
638
636
|
* @since 4.28
|
|
639
|
-
* @see [Theme](https://developers.arcgis.com/javascript/latest/
|
|
637
|
+
* @see [Theme](https://developers.arcgis.com/javascript/latest/references/core/views/Theme/)
|
|
640
638
|
* @see [Sample - Color theming for interactive tools](https://developers.arcgis.com/javascript/latest/sample-code/view-theme/)
|
|
641
639
|
* @example
|
|
642
640
|
* // Update the theme to use purple graphics
|
|
@@ -763,7 +761,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
763
761
|
/**
|
|
764
762
|
* Gets the analysis view created for the given analysis object.
|
|
765
763
|
*
|
|
766
|
-
* [Read more](https://developers.arcgis.com/javascript/latest/
|
|
764
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#whenAnalysisView)
|
|
767
765
|
*
|
|
768
766
|
* @param analysis
|
|
769
767
|
* @since 4.34
|
|
@@ -775,6 +773,18 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
775
773
|
* @param layer
|
|
776
774
|
*/
|
|
777
775
|
whenLayerView(layer: Layer): Promise<LayerView>;
|
|
776
|
+
/**
|
|
777
|
+
* Zooms in the view component by a factor of 2.
|
|
778
|
+
*
|
|
779
|
+
* @since 5.0
|
|
780
|
+
*/
|
|
781
|
+
zoomIn(): Promise<void>;
|
|
782
|
+
/**
|
|
783
|
+
* Zooms out the view component by a factor of 2.
|
|
784
|
+
*
|
|
785
|
+
* @since 5.0
|
|
786
|
+
*/
|
|
787
|
+
zoomOut(): Promise<void>;
|
|
778
788
|
"@setterTypes": {
|
|
779
789
|
center?: LinkChartView["center"] | null | undefined | number[] | string;
|
|
780
790
|
};
|
|
@@ -794,7 +804,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
794
804
|
/**
|
|
795
805
|
* Fires when the view for an analysis is created.
|
|
796
806
|
*
|
|
797
|
-
* [Read more](https://developers.arcgis.com/javascript/latest/
|
|
807
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#event-analysis-view-create)
|
|
798
808
|
*
|
|
799
809
|
* @since 4.34
|
|
800
810
|
*/
|
|
@@ -802,7 +812,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
802
812
|
/**
|
|
803
813
|
* Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.
|
|
804
814
|
*
|
|
805
|
-
* [Read more](https://developers.arcgis.com/javascript/latest/
|
|
815
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#event-analysis-view-create-error)
|
|
806
816
|
*
|
|
807
817
|
* @since 4.34
|
|
808
818
|
*/
|
|
@@ -810,7 +820,7 @@ export abstract class ArcgisLinkChart extends LitElement {
|
|
|
810
820
|
/**
|
|
811
821
|
* Fires after an analysis view is destroyed.
|
|
812
822
|
*
|
|
813
|
-
* [Read more](https://developers.arcgis.com/javascript/latest/
|
|
823
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/references/core/views/MapView/#event-analysis-view-destroy)
|
|
814
824
|
*
|
|
815
825
|
* @since 4.34
|
|
816
826
|
*/
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as C } from "../../chunks/runtime.js";
|
|
3
|
-
import { watch as
|
|
3
|
+
import { watch as h } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
4
|
import _ from "@arcgis/core/views/LinkChartView.js";
|
|
5
5
|
import b from "@arcgis/core/WebLinkChart.js";
|
|
6
|
-
import { LitElement as V, createEvent as
|
|
6
|
+
import { LitElement as V, createEvent as p, safeClassMap as c } from "@arcgis/lumina";
|
|
7
7
|
import { reCreateAccessor as A, makeAccessorController as f, reEmitEvent as e } from "@arcgis/lumina/controllers/accessor";
|
|
8
8
|
import { createRef as v, ref as m } from "lit/directives/ref.js";
|
|
9
|
-
import { s as
|
|
10
|
-
import { s as
|
|
11
|
-
import { p as
|
|
9
|
+
import { s as I } from "../../chunks/esri-main.js";
|
|
10
|
+
import { s as E, C as u } from "../../chunks/slots.js";
|
|
11
|
+
import { p as L, i as k } from "../../chunks/component-utils.js";
|
|
12
12
|
import { U, u as D, a as M } from "../../chunks/useArcgisViewReadyError.js";
|
|
13
13
|
import { fetchKnowledgeGraph as R } from "@arcgis/core/rest/knowledgeGraphService.js";
|
|
14
14
|
import x from "@arcgis/core/rest/knowledgeGraph/GraphQueryStreaming.js";
|
|
15
|
-
import { t as
|
|
16
|
-
import { isAbortError as
|
|
15
|
+
import { t as d } from "../../chunks/async-utils.js";
|
|
16
|
+
import { isAbortError as g } from "@arcgis/core/core/promiseUtils.js";
|
|
17
17
|
import { html as y } from "lit";
|
|
18
18
|
import Q from "@arcgis/core/layers/LinkChartLayer.js";
|
|
19
|
-
const
|
|
19
|
+
const z = f(
|
|
20
20
|
b,
|
|
21
21
|
/**
|
|
22
22
|
* Since omitProps is only needed for typing, not runtime, `{} as { ... }` is
|
|
@@ -27,18 +27,18 @@ const P = f(
|
|
|
27
27
|
* in an externalized package.
|
|
28
28
|
*/
|
|
29
29
|
{}
|
|
30
|
-
),
|
|
31
|
-
class
|
|
30
|
+
), Z = f(_, {});
|
|
31
|
+
class P extends V {
|
|
32
32
|
constructor() {
|
|
33
|
-
super(), this._containerRef = v(), this._mapRef = v(), this._uiController = new U(this), this._activeLoadAbortController = null, this.arcgisLoadError = D(this), this.arcgisViewReadyError = M(this), this._map =
|
|
33
|
+
super(), this._containerRef = v(), this._mapRef = v(), this._uiController = new U(this), this._activeLoadAbortController = null, this.arcgisLoadError = D(this), this.arcgisViewReadyError = M(this), this._map = z(this), this._baseCypherQuery = "", this._serviceUrl = "", this._propItemId = "", this.view = Z(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.attributionMode = this.view.attributionMode, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.updating = this.view.updating, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = p(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = p(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), this.view.ui = {
|
|
34
34
|
components: []
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
static {
|
|
38
|
-
this.properties = { _map: 16, _baseCypherQuery: 16, _serviceUrl: 16, _propItemId: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, focusAreas: 0, graphics: 0, hideAttribution: 5, highlights: 0,
|
|
38
|
+
this.properties = { _map: 16, _baseCypherQuery: 16, _serviceUrl: 16, _propItemId: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, canZoomIn: 36, canZoomOut: 36, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, focusAreas: 0, graphics: 0, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, baseCypherQuery: 3, serviceUrl: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, ready: 36, resizeAlign: 1, resolution: 40, rotation: 9, scale: 9, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 36, viewpoint: 0, zoom: 9, loadErrorSources: 0 };
|
|
39
39
|
}
|
|
40
40
|
static {
|
|
41
|
-
this.styles = [
|
|
41
|
+
this.styles = [I, E];
|
|
42
42
|
}
|
|
43
43
|
get aria() {
|
|
44
44
|
return this.view?.aria;
|
|
@@ -53,7 +53,7 @@ class S extends V {
|
|
|
53
53
|
return this.view.center;
|
|
54
54
|
}
|
|
55
55
|
set center(i) {
|
|
56
|
-
const t =
|
|
56
|
+
const t = L(i, this.view);
|
|
57
57
|
t && (this.view.center = t);
|
|
58
58
|
}
|
|
59
59
|
get extent() {
|
|
@@ -155,16 +155,27 @@ class S extends V {
|
|
|
155
155
|
async whenLayerView(i) {
|
|
156
156
|
return await this.view.whenLayerView(i);
|
|
157
157
|
}
|
|
158
|
+
async zoomIn() {
|
|
159
|
+
this.view.zoomIn();
|
|
160
|
+
}
|
|
161
|
+
async zoomOut() {
|
|
162
|
+
this.view.zoomOut();
|
|
163
|
+
}
|
|
158
164
|
loaded() {
|
|
159
165
|
const i = this;
|
|
160
166
|
i.el.childElem = this._mapRef.value, this.view.container ??= i.el.childElem, s.setLocalPublicMap(this, this._map), this.manager.onLifecycle(() => [
|
|
161
|
-
|
|
167
|
+
h(() => this.map, (t) => {
|
|
162
168
|
t && s.setLocalPrivateMap(this, t);
|
|
163
169
|
}, { initial: !0, sync: !0 }),
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
170
|
+
h(() => this.view.stationary, () => this.arcgisViewChange.emit(), { initial: !0 }),
|
|
171
|
+
h(() => this.view.ready, () => this.arcgisViewReadyChange.emit(), { initial: this.view.ready }),
|
|
172
|
+
h(() => this.view.attributionHeight, (t) => {
|
|
167
173
|
this._uiController.handleAttributionHeightChange(t);
|
|
174
|
+
}, { initial: !0 }),
|
|
175
|
+
// Temporary workaround for https://devtopia.esri.com/WebGIS/arcgis-web-components/issues/12012
|
|
176
|
+
// Until https://devtopia.esri.com/WebGIS/arcgis-js-api/pull/78321 is picked up by components
|
|
177
|
+
h(() => this.view.ready, () => {
|
|
178
|
+
this.view.notifyChange("attributionHeight");
|
|
168
179
|
})
|
|
169
180
|
]);
|
|
170
181
|
}
|
|
@@ -181,17 +192,17 @@ class S extends V {
|
|
|
181
192
|
if (this._serviceUrl && !this._baseCypherQuery) {
|
|
182
193
|
const a = t();
|
|
183
194
|
s.fetchKnowledgeGraph(this._serviceUrl).then((l) => {
|
|
184
|
-
const
|
|
195
|
+
const n = new s.WebLinkChart(), o = new s.LinkChartLayer({
|
|
185
196
|
url: l.url
|
|
186
197
|
});
|
|
187
|
-
|
|
198
|
+
o.load({
|
|
188
199
|
signal: a?.signal
|
|
189
200
|
});
|
|
190
201
|
try {
|
|
191
|
-
|
|
192
|
-
} catch (
|
|
193
|
-
if (!
|
|
194
|
-
throw
|
|
202
|
+
d(a.signal), n.add(o), this._setLinkChartAndZoom(n);
|
|
203
|
+
} catch (w) {
|
|
204
|
+
if (!g(w))
|
|
205
|
+
throw w;
|
|
195
206
|
}
|
|
196
207
|
});
|
|
197
208
|
} else if (this._baseCypherQuery && this._serviceUrl) {
|
|
@@ -201,12 +212,12 @@ class S extends V {
|
|
|
201
212
|
openCypherQuery: this._baseCypherQuery
|
|
202
213
|
}), void 0, {
|
|
203
214
|
signal: a?.signal
|
|
204
|
-
}).then(async (
|
|
215
|
+
}).then(async (n) => {
|
|
205
216
|
try {
|
|
206
|
-
|
|
207
|
-
} catch (
|
|
208
|
-
if (!
|
|
209
|
-
throw
|
|
217
|
+
d(a.signal), this._setLinkChartAndZoom(n);
|
|
218
|
+
} catch (o) {
|
|
219
|
+
if (!g(o))
|
|
220
|
+
throw o;
|
|
210
221
|
}
|
|
211
222
|
});
|
|
212
223
|
});
|
|
@@ -243,8 +254,8 @@ const s = {
|
|
|
243
254
|
},
|
|
244
255
|
reCreateAccessor: A
|
|
245
256
|
};
|
|
246
|
-
C("arcgis-link-chart",
|
|
257
|
+
C("arcgis-link-chart", P);
|
|
247
258
|
export {
|
|
248
|
-
|
|
259
|
+
P as ArcgisLinkChart,
|
|
249
260
|
s as exportsForTests
|
|
250
261
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type LinkChartView from "@arcgis/core/views/LinkChartView.js";
|
|
3
|
-
import type { ArcgisReferenceElement } from "
|
|
3
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
4
4
|
import type { LinkChartLayoutSwitcherViewModelEvents, LinkChartLayoutSwitcherViewModelState } from "@arcgis/core/widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
7
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
8
7
|
import type { LayoutMode } from "@arcgis/core/layers/knowledgeGraph/types.js";
|
|
9
8
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type LinkChartView from "@arcgis/core/views/LinkChartView";
|
|
3
|
-
import type { ArcgisReferenceElement } from "
|
|
3
|
+
import type { ArcgisReferenceElement, IconName } from "../types.js";
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
|
-
import type { IconName } from "../../utils/action-utils.js";
|
|
6
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
6
|
|
|
8
7
|
/**
|
|
@@ -52,7 +51,11 @@ export abstract class ArcgisLinkChartNonspatialVisibilityToggle extends LitEleme
|
|
|
52
51
|
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the arcgis-link-chart-nonspatial-visibility-toggle component will be associated with a map or scene component rather than using the `view` property.
|
|
53
52
|
*/
|
|
54
53
|
accessor view: LinkChartView | undefined;
|
|
55
|
-
/**
|
|
54
|
+
/**
|
|
55
|
+
* Specifies the size of the component.
|
|
56
|
+
*
|
|
57
|
+
* @default "m"
|
|
58
|
+
*/
|
|
56
59
|
accessor visualScale: "l" | "m" | "s";
|
|
57
60
|
/** Permanently destroy the component. */
|
|
58
61
|
destroy(): Promise<void>;
|
|
@@ -7,10 +7,10 @@ import { LitElement as h, createEvent as c, nothing as p } from "@arcgis/lumina"
|
|
|
7
7
|
import { u as m } from "../../chunks/useView.js";
|
|
8
8
|
import { log as d } from "@arcgis/toolkit/log";
|
|
9
9
|
import { when as g } from "@arcgis/core/core/reactiveUtils.js";
|
|
10
|
-
const a = (
|
|
10
|
+
const a = (t) => t === "hidden" ? "hide-link-chart-nonspatial-data" : "show-link-chart-nonspatial-data";
|
|
11
11
|
class y extends h {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.messages = l(), this._state = "disabled", this.view = s.useView(this), this.autoDestroyDisabled = !1, this.icon = a(this.view?.map
|
|
13
|
+
super(...arguments), this.messages = l(), this._state = "disabled", this.view = s.useView(this), this.autoDestroyDisabled = !1, this.icon = a(this.view?.map?.linkChartProperties?.nonspatialDataDisplay?.mode ?? "visible"), this.visualScale = "m", this.arcgisPropertyChange = r()("state"), this.arcgisReady = c();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { _state: 16, view: 0, autoDestroyDisabled: 5, icon: 1, label: 1, messageOverrides: 0, referenceElement: 1, state: 32, visualScale: 1 };
|
|
@@ -21,32 +21,32 @@ class y extends h {
|
|
|
21
21
|
async destroy() {
|
|
22
22
|
await this.manager.destroy();
|
|
23
23
|
}
|
|
24
|
-
async switchNonspatialVisibility(
|
|
25
|
-
this.view && (s.changeNonspatialDataDisplay(this.view,
|
|
24
|
+
async switchNonspatialVisibility(i) {
|
|
25
|
+
this.view && (s.changeNonspatialDataDisplay(this.view, i), this.icon = a(i));
|
|
26
26
|
}
|
|
27
27
|
loaded() {
|
|
28
28
|
this.manager.onLifecycle(() => [
|
|
29
|
-
g(() => this.view?.ready ? "ready" : "disabled", (
|
|
30
|
-
this._state =
|
|
29
|
+
g(() => this.view?.ready ? "ready" : "disabled", (i) => {
|
|
30
|
+
this._state = i, this.icon = a(this.view?.map?.linkChartProperties?.nonspatialDataDisplay?.mode ?? "visible");
|
|
31
31
|
}, { sync: !0, initial: !0 })
|
|
32
32
|
]);
|
|
33
33
|
}
|
|
34
34
|
_handleToggle() {
|
|
35
|
-
const e = this.view?.map
|
|
35
|
+
const e = (this.view?.map?.linkChartProperties?.nonspatialDataDisplay?.mode ?? "visible") === "hidden" ? "visible" : "hidden";
|
|
36
36
|
this.switchNonspatialVisibility(e);
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
const { messages:
|
|
40
|
-
return this.state === "ready" && this.view?.map.mapType !== "webLinkChart" && d("error", this, "The <arcgis-link-chart-nonspatial-visibility-toggle> component must be used with an <arcgis-link-chart> component to provide the view"), n`<calcite-action class="root" .scale=${this.visualScale} .icon=${this.icon} @click=${this._handleToggle} @keyup=${(e) => {
|
|
39
|
+
const { messages: i } = this;
|
|
40
|
+
return this.state === "ready" && this.view?.map && this.view?.map.mapType !== "webLinkChart" && d("error", this, "The <arcgis-link-chart-nonspatial-visibility-toggle> component must be used with an <arcgis-link-chart> component to provide the view"), n`<calcite-action class="root" .scale=${this.visualScale} .icon=${this.icon} @click=${this._handleToggle} @keyup=${(e) => {
|
|
41
41
|
e.key === "Enter" && this._handleToggle();
|
|
42
|
-
}} .disabled=${this.view?.map
|
|
42
|
+
}} .disabled=${this.view?.map?.mapType !== "webLinkChart"} .text=${i.toggleLabel} title=${i.toggleLabel ?? p} data-testid=link-chart-nonspatial-visibility-toggle-action></calcite-action>`;
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
const s = {
|
|
46
|
-
changeNonspatialDataDisplay: (
|
|
47
|
-
|
|
46
|
+
changeNonspatialDataDisplay: (t, i) => {
|
|
47
|
+
t.map.changeNonspatialDataDisplay(i);
|
|
48
48
|
},
|
|
49
|
-
useView: (
|
|
49
|
+
useView: (t) => m(t)
|
|
50
50
|
};
|
|
51
51
|
o("arcgis-link-chart-nonspatial-visibility-toggle", y);
|
|
52
52
|
export {
|
|
@@ -3,11 +3,10 @@ import type MapView from "@arcgis/core/views/MapView.js";
|
|
|
3
3
|
import type SceneView from "@arcgis/core/views/SceneView.js";
|
|
4
4
|
import type Graphic from "@arcgis/core/Graphic.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 { T9nMeta } from "@arcgis/lumina/controllers";
|
|
9
8
|
import type { GoToOverride } from "@arcgis/core/widgets/support/types.js";
|
|
10
|
-
import type { State } from "./
|
|
9
|
+
import type { State } from "./types.js";
|
|
11
10
|
import type { Button as Button } from "@esri/calcite-components/components/calcite-button";
|
|
12
11
|
|
|
13
12
|
/**
|