@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
|
@@ -18,7 +18,6 @@ import { whenOnce as ie, watch as N } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
18
18
|
import { getRendererFields as Y, getFeatureEditFields as Fe } from "@arcgis/core/layers/support/fieldUtils.js";
|
|
19
19
|
import _e from "@arcgis/core/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js";
|
|
20
20
|
import { f as ee } from "../../chunks/layer-utils.js";
|
|
21
|
-
import "@arcgis/toolkit/function";
|
|
22
21
|
import { substitute as b } from "@arcgis/core/intl.js";
|
|
23
22
|
import { usePropertyChange as xe } from "@arcgis/lumina/controllers";
|
|
24
23
|
import { createRef as V, ref as D } from "lit/directives/ref.js";
|
|
@@ -240,13 +239,13 @@ let v = class extends U {
|
|
|
240
239
|
get id() {
|
|
241
240
|
return "";
|
|
242
241
|
}
|
|
243
|
-
|
|
242
|
+
/**
|
|
244
243
|
* A label for the command
|
|
245
244
|
*/
|
|
246
245
|
label(e, t) {
|
|
247
246
|
return "";
|
|
248
247
|
}
|
|
249
|
-
|
|
248
|
+
/**
|
|
250
249
|
* A description for the command
|
|
251
250
|
*/
|
|
252
251
|
description(e, t) {
|
|
@@ -261,18 +260,18 @@ let v = class extends U {
|
|
|
261
260
|
get immediate() {
|
|
262
261
|
return !1;
|
|
263
262
|
}
|
|
264
|
-
|
|
263
|
+
/**
|
|
265
264
|
* Initiate the paste command
|
|
266
265
|
*/
|
|
267
266
|
async initiate(e, t) {
|
|
268
267
|
}
|
|
269
|
-
|
|
268
|
+
/**
|
|
270
269
|
* Execute the command silently. Performs the logic of the paste command
|
|
271
270
|
*/
|
|
272
271
|
async execute() {
|
|
273
272
|
throw new Error("arcgis-paste: Paste command does not support execute");
|
|
274
273
|
}
|
|
275
|
-
|
|
274
|
+
/**
|
|
276
275
|
* The logic for the paste, paste-as and paste-merge command
|
|
277
276
|
*/
|
|
278
277
|
async runPasteCommand(e, t, i) {
|
|
@@ -329,7 +328,7 @@ let v = class extends U {
|
|
|
329
328
|
this.viewModel.applying = !1;
|
|
330
329
|
}
|
|
331
330
|
}
|
|
332
|
-
|
|
331
|
+
/**
|
|
333
332
|
* Builds an ApplySet for the Paste, Paste-as and Paste-merge command
|
|
334
333
|
*/
|
|
335
334
|
async prepareCopy(e) {
|
|
@@ -7,8 +7,7 @@ import type Collection from "@arcgis/core/core/Collection.js";
|
|
|
7
7
|
import type Widget from "@arcgis/core/widgets/Widget.js";
|
|
8
8
|
import type Graphic2 from "@arcgis/core/Graphic.js";
|
|
9
9
|
import type Point from "@arcgis/core/geometry/Point.js";
|
|
10
|
-
import type { ArcgisReferenceElement } from "
|
|
11
|
-
import type { HeadingLevel } from "../../support/heading.js";
|
|
10
|
+
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
12
11
|
import type { Alignment, DockOptions, PopupPositionResult, FetchFeaturesOptions } from "./types.js";
|
|
13
12
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
14
13
|
import type { ArcgisFeature } from "../arcgis-feature/customElement.js";
|
|
@@ -33,9 +32,9 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
33
32
|
* ```
|
|
34
33
|
* > At version 6.0, the Popup component will be used by default and setting the `popup-component-enabled` attribute will no longer be necessary.
|
|
35
34
|
*
|
|
36
|
-
* The Popup component can also be opened manually at a specific location using the [
|
|
35
|
+
* The Popup component can also be opened manually at a specific location using the [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open) property.
|
|
37
36
|
* To prevent the popup from opening automatically when clicking on features within view components, set the `popup-disabled` attribute to `true` and add the Popup component to the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) using the `popup` slot.
|
|
38
|
-
* Before setting the `open` property to `true`, you must set the [
|
|
37
|
+
* Before setting the `open` property to `true`, you must set the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) property to specify where the popup should open or call the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures) method to open the popup template for features at a specific screen location.
|
|
39
38
|
*
|
|
40
39
|
* Example of opening the popup at a clicked location with custom content:
|
|
41
40
|
*
|
|
@@ -59,7 +58,7 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
59
58
|
* </script>
|
|
60
59
|
* ```
|
|
61
60
|
*
|
|
62
|
-
* Alternatively, you can call the [
|
|
61
|
+
* Alternatively, you can call the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures) method within the view element's click event listener to open the popup with features at the clicked location.
|
|
63
62
|
* ```html
|
|
64
63
|
* <!-- Set popup-disabled and popup-component-enabled attributes -->
|
|
65
64
|
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled popup-component-enabled>
|
|
@@ -84,55 +83,55 @@ import type { MapViewOrSceneView } from "@arcgis/core/views/MapViewOrSceneView.j
|
|
|
84
83
|
*
|
|
85
84
|
* ## Popup UI
|
|
86
85
|
* The [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) components contain a default popup.
|
|
87
|
-
* This popup can display generic content, which is set in its [heading](
|
|
88
|
-
* and [content](
|
|
86
|
+
* This popup can display generic content, which is set in its [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading)
|
|
87
|
+
* and [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content) properties.
|
|
89
88
|
* When content is set directly on the Popup instance it is not tied to a specific feature or layer.
|
|
90
89
|
*
|
|
91
90
|
* 
|
|
92
91
|
*
|
|
93
|
-
* In the image above, the text "Marriage in Nassau County Census Tract 5177.01" is the popup's [heading](
|
|
94
|
-
* The remaining text is the popup's [content](
|
|
92
|
+
* In the image above, the text "Marriage in Nassau County Census Tract 5177.01" is the popup's [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading).
|
|
93
|
+
* The remaining text is the popup's [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content).
|
|
95
94
|
* A dock button is displayed in the top right corner of the popup allowing the user to dock the popup to one of the sides or corners of the view.
|
|
96
|
-
* The options for docking may be set in the [dockOptions](
|
|
95
|
+
* The options for docking may be set in the [dockOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#dockOptions) property.
|
|
97
96
|
* The popup may also be collapsed by clicking the collapse button (the down arrow icon) in the top right corner of the popup.
|
|
98
97
|
* When collapsed, only the heading of the popup displays.
|
|
99
98
|
* The popup may be closed by clicking the close button (the "x" icon) in the top right corner of the popup.
|
|
100
99
|
*
|
|
101
|
-
* Popups can also contain [actions](
|
|
100
|
+
* Popups can also contain [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions) which execute a function defined by the developer when clicked.
|
|
102
101
|
* By default, every popup has a "Zoom to" action (as shown in the image above with the magnifying glass) that allows users to zoom to the selected feature.
|
|
103
|
-
* See the [actions](
|
|
102
|
+
* See the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions) property for information about adding custom actions to a popup.
|
|
104
103
|
*
|
|
105
|
-
* The Popup component is tied to
|
|
104
|
+
* The Popup component is tied to an [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/) component, whether it's docked or anchored to the selected feature.
|
|
106
105
|
* If wanting to utilize the Popup functionality outside of [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-link-chart/), the [arcgis-features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features/) component can be used to display the same content
|
|
107
106
|
* in its own container.
|
|
108
107
|
*
|
|
109
108
|
* ## Popup and PopupTemplate
|
|
110
|
-
* [PopupTemplates](https://developers.arcgis.com/javascript/latest/
|
|
111
|
-
* and [graphics](https://developers.arcgis.com/javascript/latest/
|
|
112
|
-
* [
|
|
109
|
+
* [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) are closely related to Popup, but are more specific to [layers](https://developers.arcgis.com/javascript/latest/references/core/layers/Layer/)
|
|
110
|
+
* and [graphics](https://developers.arcgis.com/javascript/latest/references/core/Graphic/). Popup templates allow you to define custom titles and content templates based on the source of the
|
|
111
|
+
* [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature). When a layer or a graphic has a defined
|
|
113
112
|
* popup template, the popup will display the content defined in the popup template when the feature is clicked.
|
|
114
|
-
* The content may contain field values from the attributes of the [
|
|
113
|
+
* The content may contain field values from the attributes of the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature).
|
|
115
114
|
*
|
|
116
|
-
* Custom PopupTemplates may also be assigned directly to a popup by setting [graphics](https://developers.arcgis.com/javascript/latest/
|
|
117
|
-
* [features](
|
|
115
|
+
* Custom PopupTemplates may also be assigned directly to a popup by setting [graphics](https://developers.arcgis.com/javascript/latest/references/core/Graphic/) on the
|
|
116
|
+
* [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) property.
|
|
118
117
|
*
|
|
119
118
|
* @since 4.34
|
|
120
119
|
* @beta
|
|
121
|
-
* @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/
|
|
120
|
+
* @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/)
|
|
122
121
|
*/
|
|
123
122
|
export abstract class ArcgisPopup extends LitElement {
|
|
124
123
|
/**
|
|
125
|
-
* A [collection](https://developers.arcgis.com/javascript/latest/
|
|
126
|
-
* There is a default `Zoom To` action styled with a magnifying glass icon to zoom in four LODs and center the map on the selected feature. This default action can be removed by setting [`includeDefaultActionsDisabled`](#includeDefaultActionsDisabled) to `true`, or by setting the [`overwriteActions`](https://developers.arcgis.com/javascript/latest/
|
|
124
|
+
* A [collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/) of [action button](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionButton/) or [action toggle](https://developers.arcgis.com/javascript/latest/references/core/support/actions/ActionToggle/) objects. Each action may be executed by clicking the icon or image symbolizing them.
|
|
125
|
+
* There is a default `Zoom To` action styled with a magnifying glass icon to zoom in four LODs and center the map on the selected feature. This default action can be removed by setting [`includeDefaultActionsDisabled`](#includeDefaultActionsDisabled) to `true`, or by setting the [`overwriteActions`](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#overwriteActions) property to `true` in a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
127
126
|
*
|
|
128
|
-
* The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/
|
|
127
|
+
* The order of each action is the order in which they appear in the actions [Collection](https://developers.arcgis.com/javascript/latest/references/core/core/Collection/). The [arcgisTriggerAction](#arcgisTriggerAction) event fires each time an action is clicked.
|
|
129
128
|
*
|
|
130
129
|
* @see [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#event-arcgisTriggerAction)
|
|
131
130
|
* @see [Popup actions sample](https://developers.arcgis.com/javascript/latest/sample-code/popup-actions/)
|
|
132
131
|
*/
|
|
133
132
|
accessor actions: Collection<PopupAction>;
|
|
134
133
|
/**
|
|
135
|
-
* Indicates if the component is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/
|
|
134
|
+
* Indicates if the component is active when it is visible and is not [waiting](https://developers.arcgis.com/javascript/latest/references/core/widgets/Popup/PopupViewModel/#waitingForResult).
|
|
136
135
|
*
|
|
137
136
|
* @default false
|
|
138
137
|
*/
|
|
@@ -152,7 +151,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
152
151
|
*/
|
|
153
152
|
accessor alignment: Alignment;
|
|
154
153
|
/**
|
|
155
|
-
* This closes the popup when the [View](https://developers.arcgis.com/javascript/latest/
|
|
154
|
+
* This closes the popup when the [View](https://developers.arcgis.com/javascript/latest/references/core/views/View/) camera or [Viewpoint](https://developers.arcgis.com/javascript/latest/references/core/Viewpoint/) changes.
|
|
156
155
|
*
|
|
157
156
|
* @default false
|
|
158
157
|
*/
|
|
@@ -174,7 +173,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
174
173
|
*/
|
|
175
174
|
accessor collapsed: boolean;
|
|
176
175
|
/**
|
|
177
|
-
* The content of the component. When set directly on the component, this content is static and cannot use fields to set content templates. To set a template for the content based on field or attribute names, see [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/
|
|
176
|
+
* The content of the component. When set directly on the component, this content is static and cannot use fields to set content templates. To set a template for the content based on field or attribute names, see [PopupTemplate.content](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#content).
|
|
178
177
|
*
|
|
179
178
|
* @example
|
|
180
179
|
* ```js
|
|
@@ -189,7 +188,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
189
188
|
/**
|
|
190
189
|
* Enables automatic creation of a popup template for layers that have popups enabled but no popupTemplate defined. Automatic popup templates are supported for layers that support the `createPopupTemplate` method.
|
|
191
190
|
*
|
|
192
|
-
* **Note:** Starting with version 4.28, `date` fields are formatted using the `short-date-short-time` preset [dateFormat](https://developers.arcgis.com/javascript/latest/
|
|
191
|
+
* **Note:** Starting with version 4.28, `date` fields are formatted using the `short-date-short-time` preset [dateFormat](https://developers.arcgis.com/javascript/latest/references/core/popup/support/FieldInfoFormat/#dateFormat) rather than `long-month-day-year` in default [popup](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) created by setting the `defaultPopupTemplateEnabled` property to `true`.
|
|
193
192
|
* For example, previously a date that may have appeared as `"December 30, 1997"` will now appear as `"12/30/1997 6:00 PM"`.
|
|
194
193
|
*
|
|
195
194
|
* @default false
|
|
@@ -200,10 +199,10 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
200
199
|
*
|
|
201
200
|
* Docking the popup allows for a better user experience, particularly when opening
|
|
202
201
|
* popups in apps on mobile devices. When a popup is "dockEnabled" it means the popup no
|
|
203
|
-
* longer points to the [
|
|
202
|
+
* longer points to the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature) or the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location)
|
|
204
203
|
* assigned to it. Rather it is attached to a side, the top, or the bottom of the view.
|
|
205
204
|
*
|
|
206
|
-
* See [dockOptions](
|
|
205
|
+
* See [dockOptions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#dockOptions) to override default options related to docking the popup.
|
|
207
206
|
*
|
|
208
207
|
* @default false
|
|
209
208
|
* @example
|
|
@@ -222,7 +221,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
222
221
|
/**
|
|
223
222
|
* Docking the popup allows for a better user experience, particularly when opening
|
|
224
223
|
* popups in apps on mobile devices. When a popup is "dockEnabled" it means the popup no
|
|
225
|
-
* longer points to the [
|
|
224
|
+
* longer points to the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature) or the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location)
|
|
226
225
|
* assigned to it. Rather it is placed in one of the corners of the view or to the top or bottom
|
|
227
226
|
* of it. This property allows the developer to set various options for docking the popup.
|
|
228
227
|
*
|
|
@@ -243,7 +242,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
243
242
|
*/
|
|
244
243
|
accessor dockOptions: DockOptions;
|
|
245
244
|
/**
|
|
246
|
-
* The number of
|
|
245
|
+
* The number of [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) available in the component.
|
|
247
246
|
*
|
|
248
247
|
* @default 0
|
|
249
248
|
*/
|
|
@@ -261,7 +260,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
261
260
|
*/
|
|
262
261
|
accessor featureMenuTitle: string | null | undefined;
|
|
263
262
|
/**
|
|
264
|
-
* An array of features associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/
|
|
263
|
+
* An array of features associated with the component. Each graphic in this array must have a valid [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) set. They may share the same [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) or have unique [PopupTemplates](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) depending on their attributes. The [content](#content) and [heading](#heading) of the component is set based on the `content` and `title` properties of each graphic's respective [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/).
|
|
265
264
|
*
|
|
266
265
|
* When more than one graphic exists in this array, the current content of the component is set based on the value of the [selected feature](#selectedFeature).
|
|
267
266
|
*
|
|
@@ -301,11 +300,11 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
301
300
|
accessor goToOverride: GoToOverride | null | undefined;
|
|
302
301
|
/**
|
|
303
302
|
* The title of the popup. This can be set generically on the popup no
|
|
304
|
-
* matter the features that are selected. If the [
|
|
305
|
-
* has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/
|
|
303
|
+
* matter the features that are selected. If the [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature)
|
|
304
|
+
* has a [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/), then the title set in the
|
|
306
305
|
* corresponding template is used here.
|
|
307
306
|
*
|
|
308
|
-
* @see [headingLevel](
|
|
307
|
+
* @see [headingLevel](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#headingLevel)
|
|
309
308
|
* @example
|
|
310
309
|
* ```html
|
|
311
310
|
* <!-- This title will display in the popup unless a selected feature's
|
|
@@ -321,7 +320,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
321
320
|
*/
|
|
322
321
|
accessor heading: string | null | undefined;
|
|
323
322
|
/**
|
|
324
|
-
* Indicates the heading level to use for the [heading](
|
|
323
|
+
* Indicates the heading level to use for the [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading) of the popup.
|
|
325
324
|
* By default, the heading is rendered
|
|
326
325
|
* as a level 2 heading (e.g. `<h2>Popup title</h2>`). Depending on the component's placement
|
|
327
326
|
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
@@ -329,7 +328,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
329
328
|
*
|
|
330
329
|
* @default 2
|
|
331
330
|
* @see [Heading Elements](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements)
|
|
332
|
-
* @see [heading](
|
|
331
|
+
* @see [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading)
|
|
333
332
|
* @example
|
|
334
333
|
* ```html
|
|
335
334
|
* <!-- Render the popup heading as a level 3 heading -->
|
|
@@ -409,9 +408,9 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
409
408
|
accessor label: string | undefined;
|
|
410
409
|
/**
|
|
411
410
|
* Point used to position the popup. This is automatically set when viewing the
|
|
412
|
-
* popup by selecting a feature or when calling the [
|
|
411
|
+
* popup by selecting a feature or when calling the [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures) method. If using the Popup to display content not related
|
|
413
412
|
* to features in the map, such as the results from a task, then you must set this
|
|
414
|
-
* property before [
|
|
413
|
+
* property before [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open) the popup.
|
|
415
414
|
*
|
|
416
415
|
* @example
|
|
417
416
|
* ```js
|
|
@@ -462,7 +461,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
462
461
|
*
|
|
463
462
|
* @default false
|
|
464
463
|
* @see [fetchFeatures()](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#fetchFeatures)
|
|
465
|
-
* @see [active](https://developers.arcgis.com/javascript/latest/
|
|
464
|
+
* @see [active](https://developers.arcgis.com/javascript/latest/references/core/widgets/Features/FeaturesViewModel/#active)
|
|
466
465
|
* @since 5.0
|
|
467
466
|
* @example
|
|
468
467
|
* ```js
|
|
@@ -481,7 +480,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
481
480
|
* An array of pending Promises that have not yet been fulfilled. If there are
|
|
482
481
|
* no pending promises, the value is `null`. When the pending promises are
|
|
483
482
|
* resolved they are removed from this array and the features they return
|
|
484
|
-
* are pushed into the [features](
|
|
483
|
+
* are pushed into the [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) array.
|
|
485
484
|
*/
|
|
486
485
|
accessor promises: Array<Promise<Array<Graphic2>>>;
|
|
487
486
|
/**
|
|
@@ -492,12 +491,12 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
492
491
|
accessor referenceElement: ArcgisReferenceElement | string | undefined;
|
|
493
492
|
/**
|
|
494
493
|
* The feature that the component has drilled into.
|
|
495
|
-
* This feature is either associated with the selected feature in a [relationship](https://developers.arcgis.com/javascript/latest/
|
|
494
|
+
* This feature is either associated with the selected feature in a [relationship](https://developers.arcgis.com/javascript/latest/references/core/popup/content/RelationshipContent/) or [utility network](https://developers.arcgis.com/javascript/latest/references/core/popup/content/UtilityNetworkAssociationsContent/) element.
|
|
496
495
|
*/
|
|
497
496
|
get selectedDrillInFeature(): Graphic | null | undefined;
|
|
498
497
|
/**
|
|
499
498
|
* The selected feature accessed by the popup. The content of the Popup is
|
|
500
|
-
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/
|
|
499
|
+
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) assigned to
|
|
501
500
|
* this feature.
|
|
502
501
|
*/
|
|
503
502
|
get selectedFeature(): Graphic2 | null;
|
|
@@ -507,7 +506,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
507
506
|
*/
|
|
508
507
|
get selectedFeatureComponent(): ArcgisFeature | null;
|
|
509
508
|
/**
|
|
510
|
-
* Index of the feature that is [
|
|
509
|
+
* Index of the feature that is [selectedFeature](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeature). When [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features) are set,
|
|
511
510
|
* the first index is automatically selected.
|
|
512
511
|
*/
|
|
513
512
|
accessor selectedFeatureIndex: number;
|
|
@@ -526,7 +525,7 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
526
525
|
*/
|
|
527
526
|
accessor topLayerDisabled: boolean;
|
|
528
527
|
/**
|
|
529
|
-
* Indicates whether to update the [location](
|
|
528
|
+
* Indicates whether to update the [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) when the [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeatureIndex) changes.
|
|
530
529
|
*
|
|
531
530
|
* @default false
|
|
532
531
|
* @since 5.0
|
|
@@ -538,14 +537,14 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
538
537
|
*/
|
|
539
538
|
accessor view: MapViewOrSceneView | null | undefined;
|
|
540
539
|
/**
|
|
541
|
-
* Removes all [promises](
|
|
542
|
-
* [heading](
|
|
540
|
+
* Removes all [promises](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#promises), [features](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#features), [content](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#content),
|
|
541
|
+
* [heading](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#heading) and [location](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#location) from the Popup.
|
|
543
542
|
*/
|
|
544
543
|
clear(): Promise<void>;
|
|
545
544
|
/** Permanently destroy the component. */
|
|
546
545
|
destroy(): Promise<void>;
|
|
547
546
|
/**
|
|
548
|
-
* Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/
|
|
547
|
+
* Use this method to return feature(s) at a given screen location. These features are fetched from all of the [LayerViews](https://developers.arcgis.com/javascript/latest/references/core/views/layers/LayerView/) in the [view](https://developers.arcgis.com/javascript/latest/references/core/views/View/). In order to use this, a layer must already have an associated [PopupTemplate](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/) and have its [popupEnabled](https://developers.arcgis.com/javascript/latest/references/core/layers/FeatureLayer/#popupEnabled). This method allows a developer to control how the input location is handled. For example, you may want to fetch features on a `click` event or on a `pointer-move` event. This method automatically sets the [`location`](#location) based on the input event's screen coordinates.
|
|
549
548
|
*
|
|
550
549
|
* @param screenPoint
|
|
551
550
|
* @param options
|
|
@@ -576,20 +575,20 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
576
575
|
/**
|
|
577
576
|
* Selects the feature at the next index in relation to the selected feature.
|
|
578
577
|
*
|
|
579
|
-
* @see [selectedFeatureIndex](
|
|
578
|
+
* @see [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeatureIndex)
|
|
580
579
|
*/
|
|
581
580
|
next(): Promise<FeaturesViewModel>;
|
|
582
581
|
/**
|
|
583
582
|
* Selects the feature at the previous index in relation to the selected feature.
|
|
584
583
|
*
|
|
585
|
-
* @see [selectedFeatureIndex](
|
|
584
|
+
* @see [selectedFeatureIndex](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#selectedFeatureIndex)
|
|
586
585
|
*/
|
|
587
586
|
previous(): Promise<FeaturesViewModel>;
|
|
588
587
|
/** Use this method to give focus to the component if the component is able to be focused. */
|
|
589
588
|
setFocus(): Promise<void>;
|
|
590
589
|
/**
|
|
591
|
-
* Triggers the [arcgisTriggerAction](
|
|
592
|
-
* at the specified index in the [actions](
|
|
590
|
+
* Triggers the [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#event-arcgisTriggerAction) event and executes the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions)
|
|
591
|
+
* at the specified index in the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions) array.
|
|
593
592
|
*
|
|
594
593
|
* @param action
|
|
595
594
|
*/
|
|
@@ -603,9 +602,9 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
603
602
|
* Fires after the user clicks on an action in the Popup component.
|
|
604
603
|
* This event may be used to define a custom function to execute when particular actions are clicked.
|
|
605
604
|
*
|
|
606
|
-
* @see [actions](
|
|
607
|
-
* @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/
|
|
608
|
-
* @see [open
|
|
605
|
+
* @see [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions)
|
|
606
|
+
* @see [PopupTemplate.actions](https://developers.arcgis.com/javascript/latest/references/core/PopupTemplate/#actions)
|
|
607
|
+
* @see [open](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#open)
|
|
609
608
|
* @example
|
|
610
609
|
* ```js
|
|
611
610
|
* // Fires each time an action is clicked
|
|
@@ -350,7 +350,7 @@ class W extends T {
|
|
|
350
350
|
const t = {
|
|
351
351
|
shadow: this.dockEnabled
|
|
352
352
|
};
|
|
353
|
-
return u`<div class=${_(y("main-container", t))} ${m(this._mainContainerNode)}>${F(this.viewModel, u`<arcgis-features .collapsed=${this.collapsed} .featureNavigationTop=${this._featureNavigationTop} .headingLevel=${this.headingLevel} .hidden=${!this.active} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.hideCloseButton} .hideFeatureListLayerTitle=${this.hideFeatureListLayerTitle} .hideFeatureMenuHeading=${this.hideFeatureMenuHeading} .hideFeatureNavigation=${this.hideFeatureNavigation} .hideHeading=${this.hideHeading} .hideSpinner=${this.hideSpinner} @arcgisPropertyChange=${this._handleArcgisPropertyChange} @arcgisTriggerAction=${this._handleArcgisTriggerAction} @arcgisClose=${this._handleClose} .referenceElement=${this.referenceElement} .responsiveActionsEnabled=${!0} .showCollapseButton=${!this.hideCollapseButton} .viewModel=${this.viewModel} ${m(this._featuresComponent)}></arcgis-features>`)}</div>`;
|
|
353
|
+
return u`<div class=${_(y("main-container", t))} ${m(this._mainContainerNode)}>${F(this.viewModel, u`<arcgis-features .collapsed=${this.collapsed} .autoDestroyDisabled=${this.autoDestroyDisabled} .featureNavigationTop=${this._featureNavigationTop} .headingLevel=${this.headingLevel} .hidden=${!this.active} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.hideCloseButton} .hideFeatureListLayerTitle=${this.hideFeatureListLayerTitle} .hideFeatureMenuHeading=${this.hideFeatureMenuHeading} .hideFeatureNavigation=${this.hideFeatureNavigation} .hideHeading=${this.hideHeading} .hideSpinner=${this.hideSpinner} @arcgisPropertyChange=${this._handleArcgisPropertyChange} @arcgisTriggerAction=${this._handleArcgisTriggerAction} @arcgisClose=${this._handleClose} .referenceElement=${this.referenceElement} .responsiveActionsEnabled=${!0} .showCollapseButton=${!this.hideCollapseButton} .viewModel=${this.viewModel} ${m(this._featuresComponent)}></arcgis-features>`)}</div>`;
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
E("arcgis-popup", W);
|
|
@@ -4,8 +4,9 @@ import type SceneView from "@arcgis/core/views/SceneView";
|
|
|
4
4
|
import type Slide from "@arcgis/core/webscene/Slide";
|
|
5
5
|
|
|
6
6
|
/** @internal */
|
|
7
|
-
export
|
|
7
|
+
export interface PresentationViewModelProperties extends Partial<Pick<PresentationViewModel, "keyboardNavigationEnabled" | "slideId" | "view">> {}
|
|
8
8
|
|
|
9
|
+
/** @internal */
|
|
9
10
|
export default class PresentationViewModel extends Accessor {
|
|
10
11
|
constructor(properties?: PresentationViewModelProperties);
|
|
11
12
|
get firstSlideSelected(): boolean;
|
|
@@ -10,8 +10,7 @@ import type SpatialReference from "@arcgis/core/geometry/SpatialReference.js";
|
|
|
10
10
|
import type Portal from "@arcgis/core/portal/Portal.js";
|
|
11
11
|
import type { SubmitEvent, CompleteEvent } from "@arcgis/core/widgets/Print/PrintViewModel.js";
|
|
12
12
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
13
|
-
import type { HeadingLevel } from "
|
|
14
|
-
import type { ArcgisReferenceElement } from "../../utils/component-utils.js";
|
|
13
|
+
import type { ArcgisReferenceElement, HeadingLevel } from "../types.js";
|
|
15
14
|
import type { Formats } from "./types.js";
|
|
16
15
|
import type { CollectionChangeEvent } from "@arcgis/core/core/Collection";
|
|
17
16
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
@@ -21,24 +20,24 @@ import type { Formats as Formats2, Layouts, TemplateCustomTextElements, State }
|
|
|
21
20
|
* The Print component connects your application with a [printing service](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-the-portal-to-print-maps.htm) to allow the map to be printed.
|
|
22
21
|
* It takes advantage of server-side, high-quality, full cartographic print functionality using the ExportWebMap service of ArcGIS,
|
|
23
22
|
* which can be configured with custom layout templates. One is provided that shows the map only, while another provides a layout with legend, etc.
|
|
24
|
-
* The Print component works with the [print](https://developers.arcgis.com/javascript/latest/
|
|
23
|
+
* The Print component works with the [print](https://developers.arcgis.com/javascript/latest/references/core/rest/print/) module, which generates a printer-ready version of the map.
|
|
25
24
|
*
|
|
26
25
|
* The Print component uses the ArcGIS Online print service by default, but it can be configured to use a custom print service with the [printServiceUrl](#printServiceUrl) property.
|
|
27
26
|
* The component can preserve map scale or map extent in the printout. By default, the map extent is preserved. Use
|
|
28
|
-
* [TemplateOptions.scaleEnabled](https://developers.arcgis.com/javascript/latest/
|
|
27
|
+
* [TemplateOptions.scaleEnabled](https://developers.arcgis.com/javascript/latest/references/core/widgets/Print/TemplateOptions/#scaleEnabled) to preserve scale instead.
|
|
29
28
|
*
|
|
30
|
-
* The Print component prints a localized date for all [layouts](https://developers.arcgis.com/javascript/latest/
|
|
29
|
+
* The Print component prints a localized date for all [layouts](https://developers.arcgis.com/javascript/latest/references/core/rest/support/PrintTemplate/#layout)
|
|
31
30
|
* except `map-only`. If using a custom print service, then `customTextElements` are supported for each print
|
|
32
31
|
* template. Values found there will be populated in the Print component under `Advanced options`. These values can
|
|
33
32
|
* be overwritten in the Print component UI, or programmatically using the
|
|
34
33
|
* [templateCustomTextElements](#templateCustomTextElements) property.
|
|
35
34
|
*
|
|
36
35
|
* For more information about printing with the `MAP_ONLY` layout, please see
|
|
37
|
-
* [exportOptions](https://developers.arcgis.com/javascript/latest/
|
|
36
|
+
* [exportOptions](https://developers.arcgis.com/javascript/latest/references/core/rest/support/PrintTemplate/#exportOptions).
|
|
38
37
|
*
|
|
39
38
|
* **Known limitations**
|
|
40
39
|
*
|
|
41
|
-
* See [print](https://developers.arcgis.com/javascript/latest/
|
|
40
|
+
* See [print](https://developers.arcgis.com/javascript/latest/references/core/rest/print/) for a detailed list of known limitations.
|
|
42
41
|
*
|
|
43
42
|
* ```html
|
|
44
43
|
* <arcgis-map item-id="45725ba7d9fb47a0925398919b13d1fa">
|
|
@@ -74,7 +73,7 @@ export abstract class ArcgisPrint extends LitElement {
|
|
|
74
73
|
*
|
|
75
74
|
* @default "all"
|
|
76
75
|
* @since 4.15
|
|
77
|
-
* @see [TemplateOptions#format](https://developers.arcgis.com/javascript/latest/
|
|
76
|
+
* @see [TemplateOptions#format](https://developers.arcgis.com/javascript/latest/references/core/widgets/Print/TemplateOptions/#format)
|
|
78
77
|
* @example
|
|
79
78
|
* const print = new Print({
|
|
80
79
|
* view: view,
|
|
@@ -101,7 +100,7 @@ export abstract class ArcgisPrint extends LitElement {
|
|
|
101
100
|
*
|
|
102
101
|
* @default "all"
|
|
103
102
|
* @since 4.15
|
|
104
|
-
* @see [TemplateOptions.layout](https://developers.arcgis.com/javascript/latest/
|
|
103
|
+
* @see [TemplateOptions.layout](https://developers.arcgis.com/javascript/latest/references/core/widgets/Print/TemplateOptions/#format)
|
|
105
104
|
* @example
|
|
106
105
|
* const print = new Print({
|
|
107
106
|
* view: view,
|
|
@@ -130,10 +129,11 @@ export abstract class ArcgisPrint extends LitElement {
|
|
|
130
129
|
* This only takes effect if there is a portal with a signed-in user assigned to the [portal](#portal) property.
|
|
131
130
|
*
|
|
132
131
|
* @default false
|
|
132
|
+
* @since 5.0
|
|
133
133
|
*/
|
|
134
134
|
accessor autoPopulateAuthor: boolean;
|
|
135
135
|
/**
|
|
136
|
-
* Indicates whether or not to include [defaultTemplates](https://developers.arcgis.com/javascript/latest/
|
|
136
|
+
* Indicates whether or not to include [defaultTemplates](https://developers.arcgis.com/javascript/latest/references/core/widgets/Print/PrintViewModel/#defaultTemplates).
|
|
137
137
|
*
|
|
138
138
|
* @default false
|
|
139
139
|
*/
|
|
@@ -170,6 +170,7 @@ export abstract class ArcgisPrint extends LitElement {
|
|
|
170
170
|
* Indicates whether the advanced options section in the Print component UI is hidden.
|
|
171
171
|
*
|
|
172
172
|
* @default false
|
|
173
|
+
* @since 5.0
|
|
173
174
|
*/
|
|
174
175
|
accessor hideAdvancedOptions: boolean;
|
|
175
176
|
/**
|
|
@@ -449,7 +450,7 @@ export abstract class ArcgisPrint extends LitElement {
|
|
|
449
450
|
feetAndMeters: string;
|
|
450
451
|
}>;
|
|
451
452
|
/**
|
|
452
|
-
* The [spatial reference](https://developers.arcgis.com/javascript/latest/
|
|
453
|
+
* The [spatial reference](https://developers.arcgis.com/javascript/latest/references/core/geometry/SpatialReference/) used to render the printed map on the server.
|
|
453
454
|
*
|
|
454
455
|
* @since 4.33
|
|
455
456
|
*/
|
|
@@ -457,12 +458,12 @@ export abstract class ArcgisPrint extends LitElement {
|
|
|
457
458
|
/**
|
|
458
459
|
* It is possible to search a specified portal instance's [locator services](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-portal-to-geocode-addresses.htm).
|
|
459
460
|
* Use this property to set this [ArcGIS Portal](https://enterprise.arcgis.com/en/portal/) instance to search.
|
|
460
|
-
* This is especially helpful when working with a [custom template](https://developers.arcgis.com/javascript/latest/
|
|
461
|
+
* This is especially helpful when working with a [custom template](https://developers.arcgis.com/javascript/latest/references/core/widgets/Print/CustomTemplate/).
|
|
461
462
|
*
|
|
462
463
|
* If this property is set, it is not necessary to set the [printServiceUrl](#printServiceUrl) property.
|
|
463
464
|
*
|
|
464
465
|
* @since 4.18
|
|
465
|
-
* @see [CustomTemplate](https://developers.arcgis.com/javascript/latest/
|
|
466
|
+
* @see [CustomTemplate](https://developers.arcgis.com/javascript/latest/references/core/widgets/Print/CustomTemplate/)
|
|
466
467
|
*/
|
|
467
468
|
accessor portal: Portal;
|
|
468
469
|
/**
|
|
@@ -485,7 +486,7 @@ export abstract class ArcgisPrint extends LitElement {
|
|
|
485
486
|
*
|
|
486
487
|
* @default false
|
|
487
488
|
* @since 4.30
|
|
488
|
-
* @see [Print component](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-print/)
|
|
489
|
+
* @see [Print component](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-print/)
|
|
489
490
|
*/
|
|
490
491
|
accessor showPrintAreaEnabled: boolean;
|
|
491
492
|
/**
|
|
@@ -514,7 +515,7 @@ export abstract class ArcgisPrint extends LitElement {
|
|
|
514
515
|
* overwritten in the Print component UI, or programmatically using this property.
|
|
515
516
|
* To list all print templates available on the print service to see
|
|
516
517
|
* see which templates were published with `customTextElements`, use the
|
|
517
|
-
* [effectiveTemplateCustomTextElements](https://developers.arcgis.com/javascript/latest/
|
|
518
|
+
* [effectiveTemplateCustomTextElements](https://developers.arcgis.com/javascript/latest/references/core/widgets/Print/PrintViewModel/#effectiveTemplateCustomTextElements)
|
|
518
519
|
* property.
|
|
519
520
|
*
|
|
520
521
|
* @since 4.22
|
|
@@ -554,7 +555,9 @@ export abstract class ArcgisPrint extends LitElement {
|
|
|
554
555
|
/**
|
|
555
556
|
* Adds a portal item to a collection of browse templates available in the Print component UI.
|
|
556
557
|
*
|
|
557
|
-
* @param portalItem
|
|
558
|
+
* @param portalItem - The portal item to add.
|
|
559
|
+
* @returns Resolves when the portal template has been added.
|
|
560
|
+
* @since 5.0
|
|
558
561
|
*/
|
|
559
562
|
addPortalTemplate(portalItem: PortalItem): Promise<void>;
|
|
560
563
|
/** Permanently destroy the component. */
|
|
@@ -562,7 +565,11 @@ export abstract class ArcgisPrint extends LitElement {
|
|
|
562
565
|
"@setterTypes": {
|
|
563
566
|
templateOptions?: Partial<TemplateOptions>;
|
|
564
567
|
};
|
|
565
|
-
/**
|
|
568
|
+
/**
|
|
569
|
+
* Emitted when the collection of browse templates changes.
|
|
570
|
+
*
|
|
571
|
+
* @since 5.0
|
|
572
|
+
*/
|
|
566
573
|
readonly arcgisBrowseTemplatesChange: import("@arcgis/lumina").TargetedEvent<this, CollectionChangeEvent<CustomTemplate>>;
|
|
567
574
|
/** Emitted when the component is complete. */
|
|
568
575
|
readonly arcgisComplete: import("@arcgis/lumina").TargetedEvent<this, CompleteEvent>;
|
|
@@ -570,7 +577,11 @@ export abstract class ArcgisPrint extends LitElement {
|
|
|
570
577
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "state"; }>;
|
|
571
578
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
572
579
|
readonly arcgisReady: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
573
|
-
/**
|
|
580
|
+
/**
|
|
581
|
+
* Emitted when the user saves an exported map printout.
|
|
582
|
+
*
|
|
583
|
+
* @since 5.0
|
|
584
|
+
*/
|
|
574
585
|
readonly arcgisSaveAs: import("@arcgis/lumina").TargetedEvent<this, FileLink>;
|
|
575
586
|
/** Emitted when the component is submitted. */
|
|
576
587
|
readonly arcgisSubmit: import("@arcgis/lumina").TargetedEvent<this, SubmitEvent>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
2
|
import type Portal from "@arcgis/core/portal/Portal.js";
|
|
3
3
|
import type Point from "@arcgis/core/geometry/Point";
|
|
4
|
-
import type { HeadingLevel } from "
|
|
4
|
+
import type { HeadingLevel } from "../types.js";
|
|
5
5
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
6
6
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
7
7
|
|
|
@@ -47,6 +47,18 @@ export abstract class ArcgisReverseGeocodeList extends LitElement {
|
|
|
47
47
|
untitledService: string;
|
|
48
48
|
}>;
|
|
49
49
|
accessor portal: Portal;
|
|
50
|
+
get reverseGeocodeResults(): null | undefined | ReverseGeocodeResult[];
|
|
50
51
|
/** Permanently destroy the component. */
|
|
51
52
|
destroy(): Promise<void>;
|
|
53
|
+
readonly arcgisReverseGeocodeResultsChange: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
54
|
+
readonly "@eventTypes": {
|
|
55
|
+
arcgisReverseGeocodeResultsChange: ArcgisReverseGeocodeList["arcgisReverseGeocodeResultsChange"]["detail"];
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/** @internal */
|
|
60
|
+
export interface ReverseGeocodeResult {
|
|
61
|
+
name: string;
|
|
62
|
+
address?: string;
|
|
63
|
+
url: string;
|
|
52
64
|
}
|