@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
|
@@ -9,6 +9,21 @@ import type { GeometryUnion } from "@arcgis/core/geometry/types";
|
|
|
9
9
|
|
|
10
10
|
export interface PasteCommandProperties extends Partial<Pick<PasteCommand, "viewModel">> {}
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* The types of supported paste operation
|
|
14
|
+
* These maybe explicit ones, supported by the component, or user defined (as in string)
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export type SupportedPasteCommand = "paste-append" | "paste-as" | "paste-merge" | "paste-subtract" | "paste" | (string & {});
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* An interface which is used when a paste operation is run.
|
|
22
|
+
* It allows the operation to cause the component to raise events or apply behaviour
|
|
23
|
+
* in response to the operation running
|
|
24
|
+
*
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
12
27
|
export type PasteCommandApplyParameters = {
|
|
13
28
|
closeAfterApply: () => void;
|
|
14
29
|
onPasteError: (error: PasteApplyError) => void;
|
|
@@ -22,49 +37,290 @@ export type PasteCommandApplyParameters = {
|
|
|
22
37
|
}>;
|
|
23
38
|
};
|
|
24
39
|
|
|
40
|
+
/**
|
|
41
|
+
* The Error type, that is raised when a paste operation fails
|
|
42
|
+
*
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
25
45
|
export type PasteApplyError = {
|
|
26
46
|
errorCode: string;
|
|
27
47
|
errorMessage: string;
|
|
28
|
-
localizedErrorMessage?: keyof
|
|
48
|
+
localizedErrorMessage?: keyof {
|
|
49
|
+
componentLabel: string;
|
|
50
|
+
noClipboardData: string;
|
|
51
|
+
noPasteCommandsAvailable: string;
|
|
52
|
+
pasteMultipleNotSupported: string;
|
|
53
|
+
mixedGeometriesNotSupported: string;
|
|
54
|
+
pasteAsMustHaveGeometry: string;
|
|
55
|
+
clipboardContentsSingle: string;
|
|
56
|
+
clipboardEmpty: string;
|
|
57
|
+
clipboardContentsMany: string;
|
|
58
|
+
clipboardContents: string;
|
|
59
|
+
clipboardTooltip: string;
|
|
60
|
+
pasteCommandChoices: string;
|
|
61
|
+
pasteAsTitle: string;
|
|
62
|
+
pasteMergeTitle: string;
|
|
63
|
+
pasteTitle: string;
|
|
64
|
+
cancel: string;
|
|
65
|
+
tooManyCreateFeatures: string;
|
|
66
|
+
tooManyCreateComplexFeatures: string;
|
|
67
|
+
paste: string;
|
|
68
|
+
pasteMany: string;
|
|
69
|
+
attributesNotCopied: string;
|
|
70
|
+
attributesSubtitle: string;
|
|
71
|
+
preservethis: string;
|
|
72
|
+
seeMergeOptions: string;
|
|
73
|
+
selectionLabel: string;
|
|
74
|
+
mergeOptionsTitle: string;
|
|
75
|
+
features: string;
|
|
76
|
+
mergeOptionsDesc: string;
|
|
77
|
+
pasteWithAttributesLabel: string;
|
|
78
|
+
preserved: string;
|
|
79
|
+
pasteAppendTitle: string;
|
|
80
|
+
pasteSubtractTitle: string;
|
|
81
|
+
pasteAsDesc: string;
|
|
82
|
+
pasteMergeDesc: string;
|
|
83
|
+
pasteDesc: string;
|
|
84
|
+
pasteAppendDesc: string;
|
|
85
|
+
pasteSubtractDesc: string;
|
|
86
|
+
choosefeature: string;
|
|
87
|
+
next: string;
|
|
88
|
+
updating: string;
|
|
89
|
+
breadcrumb: string;
|
|
90
|
+
back: string;
|
|
91
|
+
noPasteItemsError: string;
|
|
92
|
+
noChangeError: string;
|
|
93
|
+
noSelectedError: string;
|
|
94
|
+
noMatchingEditableLayers: string;
|
|
95
|
+
deletesGeometryError: string;
|
|
96
|
+
noGeometryError: string;
|
|
97
|
+
unexpectedError: string;
|
|
98
|
+
errorNoticeTitle: string;
|
|
99
|
+
errorNoticeMessage: string;
|
|
100
|
+
range: string;
|
|
101
|
+
multipleFeaturesX: string;
|
|
102
|
+
};
|
|
29
103
|
};
|
|
30
104
|
|
|
105
|
+
/** @internal */
|
|
31
106
|
export type PasteExecuteResult = {
|
|
32
107
|
success: boolean;
|
|
33
108
|
applySet?: ApplySet;
|
|
34
109
|
userInputRequired: boolean;
|
|
35
110
|
};
|
|
36
111
|
|
|
112
|
+
/** @internal */
|
|
37
113
|
export class PasteCommand extends Accessor {
|
|
38
114
|
constructor(properties?: PasteCommandProperties);
|
|
115
|
+
/** A flag to indicate if the command is currently enabled */
|
|
39
116
|
get commandEnabled(): boolean;
|
|
117
|
+
/** An icon to represent the command */
|
|
40
118
|
get icon(): Icon["icon"] | undefined;
|
|
119
|
+
/** A unique ID for the command */
|
|
41
120
|
get id(): SupportedPasteCommand;
|
|
121
|
+
/** Flag to indicate this command will execute directly */
|
|
42
122
|
get immediate(): boolean;
|
|
123
|
+
/** Flag to indicate this command only exists on the Commands Page */
|
|
43
124
|
get mustShowOnCommandPage(): boolean;
|
|
44
125
|
accessor viewModel: PasteViewModel;
|
|
45
126
|
/**
|
|
127
|
+
* A reason why the command is disabled
|
|
128
|
+
*
|
|
46
129
|
* @param _systemStrings
|
|
47
130
|
* @param _locale
|
|
48
131
|
*/
|
|
49
|
-
commandDisabledReason(_systemStrings:
|
|
132
|
+
commandDisabledReason(_systemStrings: {
|
|
133
|
+
componentLabel: string;
|
|
134
|
+
noClipboardData: string;
|
|
135
|
+
noPasteCommandsAvailable: string;
|
|
136
|
+
pasteMultipleNotSupported: string;
|
|
137
|
+
mixedGeometriesNotSupported: string;
|
|
138
|
+
pasteAsMustHaveGeometry: string;
|
|
139
|
+
clipboardContentsSingle: string;
|
|
140
|
+
clipboardEmpty: string;
|
|
141
|
+
clipboardContentsMany: string;
|
|
142
|
+
clipboardContents: string;
|
|
143
|
+
clipboardTooltip: string;
|
|
144
|
+
pasteCommandChoices: string;
|
|
145
|
+
pasteAsTitle: string;
|
|
146
|
+
pasteMergeTitle: string;
|
|
147
|
+
pasteTitle: string;
|
|
148
|
+
cancel: string;
|
|
149
|
+
tooManyCreateFeatures: string;
|
|
150
|
+
tooManyCreateComplexFeatures: string;
|
|
151
|
+
paste: string;
|
|
152
|
+
pasteMany: string;
|
|
153
|
+
attributesNotCopied: string;
|
|
154
|
+
attributesSubtitle: string;
|
|
155
|
+
preservethis: string;
|
|
156
|
+
seeMergeOptions: string;
|
|
157
|
+
selectionLabel: string;
|
|
158
|
+
mergeOptionsTitle: string;
|
|
159
|
+
features: string;
|
|
160
|
+
mergeOptionsDesc: string;
|
|
161
|
+
pasteWithAttributesLabel: string;
|
|
162
|
+
preserved: string;
|
|
163
|
+
pasteAppendTitle: string;
|
|
164
|
+
pasteSubtractTitle: string;
|
|
165
|
+
pasteAsDesc: string;
|
|
166
|
+
pasteMergeDesc: string;
|
|
167
|
+
pasteDesc: string;
|
|
168
|
+
pasteAppendDesc: string;
|
|
169
|
+
pasteSubtractDesc: string;
|
|
170
|
+
choosefeature: string;
|
|
171
|
+
next: string;
|
|
172
|
+
updating: string;
|
|
173
|
+
breadcrumb: string;
|
|
174
|
+
back: string;
|
|
175
|
+
noPasteItemsError: string;
|
|
176
|
+
noChangeError: string;
|
|
177
|
+
noSelectedError: string;
|
|
178
|
+
noMatchingEditableLayers: string;
|
|
179
|
+
deletesGeometryError: string;
|
|
180
|
+
noGeometryError: string;
|
|
181
|
+
unexpectedError: string;
|
|
182
|
+
errorNoticeTitle: string;
|
|
183
|
+
errorNoticeMessage: string;
|
|
184
|
+
range: string;
|
|
185
|
+
multipleFeaturesX: string;
|
|
186
|
+
}, _locale: string): string;
|
|
50
187
|
createMergedClipboardGeom(): Promise<GeometryUnion | null>;
|
|
51
188
|
/**
|
|
189
|
+
* A description for the command
|
|
190
|
+
*
|
|
52
191
|
* @param _systemStrings
|
|
53
192
|
* @param _locale
|
|
54
193
|
*/
|
|
55
|
-
description(_systemStrings:
|
|
194
|
+
description(_systemStrings: {
|
|
195
|
+
componentLabel: string;
|
|
196
|
+
noClipboardData: string;
|
|
197
|
+
noPasteCommandsAvailable: string;
|
|
198
|
+
pasteMultipleNotSupported: string;
|
|
199
|
+
mixedGeometriesNotSupported: string;
|
|
200
|
+
pasteAsMustHaveGeometry: string;
|
|
201
|
+
clipboardContentsSingle: string;
|
|
202
|
+
clipboardEmpty: string;
|
|
203
|
+
clipboardContentsMany: string;
|
|
204
|
+
clipboardContents: string;
|
|
205
|
+
clipboardTooltip: string;
|
|
206
|
+
pasteCommandChoices: string;
|
|
207
|
+
pasteAsTitle: string;
|
|
208
|
+
pasteMergeTitle: string;
|
|
209
|
+
pasteTitle: string;
|
|
210
|
+
cancel: string;
|
|
211
|
+
tooManyCreateFeatures: string;
|
|
212
|
+
tooManyCreateComplexFeatures: string;
|
|
213
|
+
paste: string;
|
|
214
|
+
pasteMany: string;
|
|
215
|
+
attributesNotCopied: string;
|
|
216
|
+
attributesSubtitle: string;
|
|
217
|
+
preservethis: string;
|
|
218
|
+
seeMergeOptions: string;
|
|
219
|
+
selectionLabel: string;
|
|
220
|
+
mergeOptionsTitle: string;
|
|
221
|
+
features: string;
|
|
222
|
+
mergeOptionsDesc: string;
|
|
223
|
+
pasteWithAttributesLabel: string;
|
|
224
|
+
preserved: string;
|
|
225
|
+
pasteAppendTitle: string;
|
|
226
|
+
pasteSubtractTitle: string;
|
|
227
|
+
pasteAsDesc: string;
|
|
228
|
+
pasteMergeDesc: string;
|
|
229
|
+
pasteDesc: string;
|
|
230
|
+
pasteAppendDesc: string;
|
|
231
|
+
pasteSubtractDesc: string;
|
|
232
|
+
choosefeature: string;
|
|
233
|
+
next: string;
|
|
234
|
+
updating: string;
|
|
235
|
+
breadcrumb: string;
|
|
236
|
+
back: string;
|
|
237
|
+
noPasteItemsError: string;
|
|
238
|
+
noChangeError: string;
|
|
239
|
+
noSelectedError: string;
|
|
240
|
+
noMatchingEditableLayers: string;
|
|
241
|
+
deletesGeometryError: string;
|
|
242
|
+
noGeometryError: string;
|
|
243
|
+
unexpectedError: string;
|
|
244
|
+
errorNoticeTitle: string;
|
|
245
|
+
errorNoticeMessage: string;
|
|
246
|
+
range: string;
|
|
247
|
+
multipleFeaturesX: string;
|
|
248
|
+
}, _locale: string): string;
|
|
249
|
+
/** Execute the command silently. Performs the logic of the paste command */
|
|
56
250
|
execute(): Promise<PasteExecuteResult>;
|
|
57
251
|
/**
|
|
252
|
+
* Initiate the paste command
|
|
253
|
+
*
|
|
58
254
|
* @param _params
|
|
59
255
|
* @param _options
|
|
60
256
|
*/
|
|
61
257
|
initiate(_params: PasteCommandApplyParameters, _options?: { showFeatureForm?: boolean; }): Promise<void>;
|
|
62
258
|
/**
|
|
259
|
+
* A label for the command
|
|
260
|
+
*
|
|
63
261
|
* @param _systemStrings
|
|
64
262
|
* @param _locale
|
|
65
263
|
*/
|
|
66
|
-
label(_systemStrings:
|
|
67
|
-
|
|
264
|
+
label(_systemStrings: {
|
|
265
|
+
componentLabel: string;
|
|
266
|
+
noClipboardData: string;
|
|
267
|
+
noPasteCommandsAvailable: string;
|
|
268
|
+
pasteMultipleNotSupported: string;
|
|
269
|
+
mixedGeometriesNotSupported: string;
|
|
270
|
+
pasteAsMustHaveGeometry: string;
|
|
271
|
+
clipboardContentsSingle: string;
|
|
272
|
+
clipboardEmpty: string;
|
|
273
|
+
clipboardContentsMany: string;
|
|
274
|
+
clipboardContents: string;
|
|
275
|
+
clipboardTooltip: string;
|
|
276
|
+
pasteCommandChoices: string;
|
|
277
|
+
pasteAsTitle: string;
|
|
278
|
+
pasteMergeTitle: string;
|
|
279
|
+
pasteTitle: string;
|
|
280
|
+
cancel: string;
|
|
281
|
+
tooManyCreateFeatures: string;
|
|
282
|
+
tooManyCreateComplexFeatures: string;
|
|
283
|
+
paste: string;
|
|
284
|
+
pasteMany: string;
|
|
285
|
+
attributesNotCopied: string;
|
|
286
|
+
attributesSubtitle: string;
|
|
287
|
+
preservethis: string;
|
|
288
|
+
seeMergeOptions: string;
|
|
289
|
+
selectionLabel: string;
|
|
290
|
+
mergeOptionsTitle: string;
|
|
291
|
+
features: string;
|
|
292
|
+
mergeOptionsDesc: string;
|
|
293
|
+
pasteWithAttributesLabel: string;
|
|
294
|
+
preserved: string;
|
|
295
|
+
pasteAppendTitle: string;
|
|
296
|
+
pasteSubtractTitle: string;
|
|
297
|
+
pasteAsDesc: string;
|
|
298
|
+
pasteMergeDesc: string;
|
|
299
|
+
pasteDesc: string;
|
|
300
|
+
pasteAppendDesc: string;
|
|
301
|
+
pasteSubtractDesc: string;
|
|
302
|
+
choosefeature: string;
|
|
303
|
+
next: string;
|
|
304
|
+
updating: string;
|
|
305
|
+
breadcrumb: string;
|
|
306
|
+
back: string;
|
|
307
|
+
noPasteItemsError: string;
|
|
308
|
+
noChangeError: string;
|
|
309
|
+
noSelectedError: string;
|
|
310
|
+
noMatchingEditableLayers: string;
|
|
311
|
+
deletesGeometryError: string;
|
|
312
|
+
noGeometryError: string;
|
|
313
|
+
unexpectedError: string;
|
|
314
|
+
errorNoticeTitle: string;
|
|
315
|
+
errorNoticeMessage: string;
|
|
316
|
+
range: string;
|
|
317
|
+
multipleFeaturesX: string;
|
|
318
|
+
}, _locale: string): string;
|
|
319
|
+
/**
|
|
320
|
+
* Builds an ApplySet for the Paste, Paste-as and Paste-merge command
|
|
321
|
+
*
|
|
322
|
+
* @param activeTool
|
|
323
|
+
*/
|
|
68
324
|
prepareCopy(activeTool: "paste-as" | "paste-merge" | "paste"): Promise<ApplySet | null>;
|
|
69
325
|
/**
|
|
70
326
|
* @param graphic
|
|
@@ -72,123 +328,11 @@ export class PasteCommand extends Accessor {
|
|
|
72
328
|
*/
|
|
73
329
|
removeGraphicIdentifierFields(graphic: Graphic, layer: FeatureLayer | SubtypeGroupLayer): void;
|
|
74
330
|
/**
|
|
331
|
+
* The logic for the paste, paste-as and paste-merge command
|
|
332
|
+
*
|
|
75
333
|
* @param params
|
|
76
334
|
* @param tool
|
|
77
335
|
* @param options
|
|
78
336
|
*/
|
|
79
337
|
runPasteCommand(params: PasteCommandApplyParameters, tool: "paste-as" | "paste-merge" | "paste", options?: { showFeatureForm?: boolean; }): Promise<void>;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export type Messages = ReturnType<typeof messages>;
|
|
83
|
-
|
|
84
|
-
export type SupportedPasteCommand = "paste-append" | "paste-as" | "paste-merge" | "paste-subtract" | "paste" | (string & {});
|
|
85
|
-
|
|
86
|
-
export const messages: (value: {
|
|
87
|
-
componentLabel: string;
|
|
88
|
-
noClipboardData: string;
|
|
89
|
-
noPasteCommandsAvailable: string;
|
|
90
|
-
pasteMultipleNotSupported: string;
|
|
91
|
-
mixedGeometriesNotSupported: string;
|
|
92
|
-
pasteAsMustHaveGeometry: string;
|
|
93
|
-
clipboardContentsSingle: string;
|
|
94
|
-
clipboardEmpty: string;
|
|
95
|
-
clipboardContentsMany: string;
|
|
96
|
-
clipboardContents: string;
|
|
97
|
-
clipboardTooltip: string;
|
|
98
|
-
pasteCommandChoices: string;
|
|
99
|
-
pasteAsTitle: string;
|
|
100
|
-
pasteMergeTitle: string;
|
|
101
|
-
pasteTitle: string;
|
|
102
|
-
cancel: string;
|
|
103
|
-
tooManyCreateFeatures: string;
|
|
104
|
-
tooManyCreateComplexFeatures: string;
|
|
105
|
-
paste: string;
|
|
106
|
-
pasteMany: string;
|
|
107
|
-
attributesNotCopied: string;
|
|
108
|
-
attributesSubtitle: string;
|
|
109
|
-
preservethis: string;
|
|
110
|
-
seeMergeOptions: string;
|
|
111
|
-
selectionLabel: string;
|
|
112
|
-
mergeOptionsTitle: string;
|
|
113
|
-
features: string;
|
|
114
|
-
mergeOptionsDesc: string;
|
|
115
|
-
pasteWithAttributesLabel: string;
|
|
116
|
-
preserved: string;
|
|
117
|
-
pasteAppendTitle: string;
|
|
118
|
-
pasteSubtractTitle: string;
|
|
119
|
-
pasteAsDesc: string;
|
|
120
|
-
pasteMergeDesc: string;
|
|
121
|
-
pasteDesc: string;
|
|
122
|
-
pasteAppendDesc: string;
|
|
123
|
-
pasteSubtractDesc: string;
|
|
124
|
-
choosefeature: string;
|
|
125
|
-
next: string;
|
|
126
|
-
updating: string;
|
|
127
|
-
breadcrumb: string;
|
|
128
|
-
back: string;
|
|
129
|
-
noPasteItemsError: string;
|
|
130
|
-
noChangeError: string;
|
|
131
|
-
noSelectedError: string;
|
|
132
|
-
noMatchingEditableLayers: string;
|
|
133
|
-
deletesGeometryError: string;
|
|
134
|
-
noGeometryError: string;
|
|
135
|
-
unexpectedError: string;
|
|
136
|
-
errorNoticeTitle: string;
|
|
137
|
-
errorNoticeMessage: string;
|
|
138
|
-
range: string;
|
|
139
|
-
multipleFeaturesX: string;
|
|
140
|
-
}) => {
|
|
141
|
-
componentLabel: string;
|
|
142
|
-
noClipboardData: string;
|
|
143
|
-
noPasteCommandsAvailable: string;
|
|
144
|
-
pasteMultipleNotSupported: string;
|
|
145
|
-
mixedGeometriesNotSupported: string;
|
|
146
|
-
pasteAsMustHaveGeometry: string;
|
|
147
|
-
clipboardContentsSingle: string;
|
|
148
|
-
clipboardEmpty: string;
|
|
149
|
-
clipboardContentsMany: string;
|
|
150
|
-
clipboardContents: string;
|
|
151
|
-
clipboardTooltip: string;
|
|
152
|
-
pasteCommandChoices: string;
|
|
153
|
-
pasteAsTitle: string;
|
|
154
|
-
pasteMergeTitle: string;
|
|
155
|
-
pasteTitle: string;
|
|
156
|
-
cancel: string;
|
|
157
|
-
tooManyCreateFeatures: string;
|
|
158
|
-
tooManyCreateComplexFeatures: string;
|
|
159
|
-
paste: string;
|
|
160
|
-
pasteMany: string;
|
|
161
|
-
attributesNotCopied: string;
|
|
162
|
-
attributesSubtitle: string;
|
|
163
|
-
preservethis: string;
|
|
164
|
-
seeMergeOptions: string;
|
|
165
|
-
selectionLabel: string;
|
|
166
|
-
mergeOptionsTitle: string;
|
|
167
|
-
features: string;
|
|
168
|
-
mergeOptionsDesc: string;
|
|
169
|
-
pasteWithAttributesLabel: string;
|
|
170
|
-
preserved: string;
|
|
171
|
-
pasteAppendTitle: string;
|
|
172
|
-
pasteSubtractTitle: string;
|
|
173
|
-
pasteAsDesc: string;
|
|
174
|
-
pasteMergeDesc: string;
|
|
175
|
-
pasteDesc: string;
|
|
176
|
-
pasteAppendDesc: string;
|
|
177
|
-
pasteSubtractDesc: string;
|
|
178
|
-
choosefeature: string;
|
|
179
|
-
next: string;
|
|
180
|
-
updating: string;
|
|
181
|
-
breadcrumb: string;
|
|
182
|
-
back: string;
|
|
183
|
-
noPasteItemsError: string;
|
|
184
|
-
noChangeError: string;
|
|
185
|
-
noSelectedError: string;
|
|
186
|
-
noMatchingEditableLayers: string;
|
|
187
|
-
deletesGeometryError: string;
|
|
188
|
-
noGeometryError: string;
|
|
189
|
-
unexpectedError: string;
|
|
190
|
-
errorNoticeTitle: string;
|
|
191
|
-
errorNoticeMessage: string;
|
|
192
|
-
range: string;
|
|
193
|
-
multipleFeaturesX: string;
|
|
194
|
-
};
|
|
338
|
+
}
|
|
@@ -2,122 +2,123 @@ import type Graphic from "@arcgis/core/Graphic";
|
|
|
2
2
|
import type { Icon } from "@esri/calcite-components/components/calcite-icon";
|
|
3
3
|
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard";
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* The definition of a custom paste operation.
|
|
7
|
+
*
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
5
10
|
export type CustomPasteCommand = {
|
|
6
11
|
icon?: Icon["icon"];
|
|
7
12
|
id: string;
|
|
8
13
|
commandEnabled: (clipboard: EsriClipboard, selectedFeature?: Graphic | null) => boolean;
|
|
9
|
-
label: (systemStrings:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
errorNoticeTitle: string;
|
|
120
|
-
errorNoticeMessage: string;
|
|
121
|
-
range: string;
|
|
122
|
-
multipleFeaturesX: string;
|
|
14
|
+
label: (systemStrings: {
|
|
15
|
+
componentLabel: string;
|
|
16
|
+
noClipboardData: string;
|
|
17
|
+
noPasteCommandsAvailable: string;
|
|
18
|
+
pasteMultipleNotSupported: string;
|
|
19
|
+
mixedGeometriesNotSupported: string;
|
|
20
|
+
pasteAsMustHaveGeometry: string;
|
|
21
|
+
clipboardContentsSingle: string;
|
|
22
|
+
clipboardEmpty: string;
|
|
23
|
+
clipboardContentsMany: string;
|
|
24
|
+
clipboardContents: string;
|
|
25
|
+
clipboardTooltip: string;
|
|
26
|
+
pasteCommandChoices: string;
|
|
27
|
+
pasteAsTitle: string;
|
|
28
|
+
pasteMergeTitle: string;
|
|
29
|
+
pasteTitle: string;
|
|
30
|
+
cancel: string;
|
|
31
|
+
tooManyCreateFeatures: string;
|
|
32
|
+
tooManyCreateComplexFeatures: string;
|
|
33
|
+
paste: string;
|
|
34
|
+
pasteMany: string;
|
|
35
|
+
attributesNotCopied: string;
|
|
36
|
+
attributesSubtitle: string;
|
|
37
|
+
preservethis: string;
|
|
38
|
+
seeMergeOptions: string;
|
|
39
|
+
selectionLabel: string;
|
|
40
|
+
mergeOptionsTitle: string;
|
|
41
|
+
features: string;
|
|
42
|
+
mergeOptionsDesc: string;
|
|
43
|
+
pasteWithAttributesLabel: string;
|
|
44
|
+
preserved: string;
|
|
45
|
+
pasteAppendTitle: string;
|
|
46
|
+
pasteSubtractTitle: string;
|
|
47
|
+
pasteAsDesc: string;
|
|
48
|
+
pasteMergeDesc: string;
|
|
49
|
+
pasteDesc: string;
|
|
50
|
+
pasteAppendDesc: string;
|
|
51
|
+
pasteSubtractDesc: string;
|
|
52
|
+
choosefeature: string;
|
|
53
|
+
next: string;
|
|
54
|
+
updating: string;
|
|
55
|
+
breadcrumb: string;
|
|
56
|
+
back: string;
|
|
57
|
+
noPasteItemsError: string;
|
|
58
|
+
noChangeError: string;
|
|
59
|
+
noSelectedError: string;
|
|
60
|
+
noMatchingEditableLayers: string;
|
|
61
|
+
deletesGeometryError: string;
|
|
62
|
+
noGeometryError: string;
|
|
63
|
+
unexpectedError: string;
|
|
64
|
+
errorNoticeTitle: string;
|
|
65
|
+
errorNoticeMessage: string;
|
|
66
|
+
range: string;
|
|
67
|
+
multipleFeaturesX: string;
|
|
68
|
+
}, locale: string) => string;
|
|
69
|
+
description: (systemStrings: {
|
|
70
|
+
componentLabel: string;
|
|
71
|
+
noClipboardData: string;
|
|
72
|
+
noPasteCommandsAvailable: string;
|
|
73
|
+
pasteMultipleNotSupported: string;
|
|
74
|
+
mixedGeometriesNotSupported: string;
|
|
75
|
+
pasteAsMustHaveGeometry: string;
|
|
76
|
+
clipboardContentsSingle: string;
|
|
77
|
+
clipboardEmpty: string;
|
|
78
|
+
clipboardContentsMany: string;
|
|
79
|
+
clipboardContents: string;
|
|
80
|
+
clipboardTooltip: string;
|
|
81
|
+
pasteCommandChoices: string;
|
|
82
|
+
pasteAsTitle: string;
|
|
83
|
+
pasteMergeTitle: string;
|
|
84
|
+
pasteTitle: string;
|
|
85
|
+
cancel: string;
|
|
86
|
+
tooManyCreateFeatures: string;
|
|
87
|
+
tooManyCreateComplexFeatures: string;
|
|
88
|
+
paste: string;
|
|
89
|
+
pasteMany: string;
|
|
90
|
+
attributesNotCopied: string;
|
|
91
|
+
attributesSubtitle: string;
|
|
92
|
+
preservethis: string;
|
|
93
|
+
seeMergeOptions: string;
|
|
94
|
+
selectionLabel: string;
|
|
95
|
+
mergeOptionsTitle: string;
|
|
96
|
+
features: string;
|
|
97
|
+
mergeOptionsDesc: string;
|
|
98
|
+
pasteWithAttributesLabel: string;
|
|
99
|
+
preserved: string;
|
|
100
|
+
pasteAppendTitle: string;
|
|
101
|
+
pasteSubtractTitle: string;
|
|
102
|
+
pasteAsDesc: string;
|
|
103
|
+
pasteMergeDesc: string;
|
|
104
|
+
pasteDesc: string;
|
|
105
|
+
pasteAppendDesc: string;
|
|
106
|
+
pasteSubtractDesc: string;
|
|
107
|
+
choosefeature: string;
|
|
108
|
+
next: string;
|
|
109
|
+
updating: string;
|
|
110
|
+
breadcrumb: string;
|
|
111
|
+
back: string;
|
|
112
|
+
noPasteItemsError: string;
|
|
113
|
+
noChangeError: string;
|
|
114
|
+
noSelectedError: string;
|
|
115
|
+
noMatchingEditableLayers: string;
|
|
116
|
+
deletesGeometryError: string;
|
|
117
|
+
noGeometryError: string;
|
|
118
|
+
unexpectedError: string;
|
|
119
|
+
errorNoticeTitle: string;
|
|
120
|
+
errorNoticeMessage: string;
|
|
121
|
+
range: string;
|
|
122
|
+
multipleFeaturesX: string;
|
|
123
|
+
}, locale: string) => string;
|
|
123
124
|
};
|
|
@@ -7,7 +7,7 @@ import type SceneView from "@arcgis/core/views/SceneView";
|
|
|
7
7
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
8
8
|
import type { SupportedPasteCommand, ActiveFlowPage } from "./PasteViewModel.js";
|
|
9
9
|
import type { EsriClipboard } from "@arcgis/core/applications/Components/clipboard.js";
|
|
10
|
-
import type { ArcgisReferenceElement } from "
|
|
10
|
+
import type { ArcgisReferenceElement } from "../types.js";
|
|
11
11
|
import type { ClipboardStageChangedReason } from "./ClipboardMove.js";
|
|
12
12
|
import type { ApplySet, ApplySetLayerEditResult, ApplySetServiceEditResult } from "@arcgis/core/applications/Components/applySetUtils.js";
|
|
13
13
|
import type { PasteExecuteResult } from "./commands/PasteCommand.js";
|