@vertigis/viewer-spec 61.20.2 → 61.21.0

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.
@@ -0,0 +1,11 @@
1
+ import type { Action } from "@vertigis/arcgis-extensions/support/Action.js";
2
+ import type { ComponentModelProperties } from "./ComponentModelProperties.js";
3
+ /**
4
+ * Configuration for a Copy Features component.
5
+ */
6
+ export interface CopyFeaturesModelProperties extends ComponentModelProperties {
7
+ /**
8
+ * The command to execute when the user initiates a copy.
9
+ */
10
+ onCopy?: Action;
11
+ }
@@ -0,0 +1 @@
1
+ export{};
@@ -64,6 +64,19 @@
64
64
  </complexType>
65
65
  </element>
66
66
 
67
+ <element name="copy-features" substitutionGroup="base:component">
68
+ <annotation>
69
+ <documentation xml:lang="en">
70
+ A component that copies source features to an editable target layer.
71
+ </documentation>
72
+ </annotation>
73
+ <complexType>
74
+ <complexContent>
75
+ <extension base="base:Component" />
76
+ </complexContent>
77
+ </complexType>
78
+ </element>
79
+
67
80
  <element name="feature-summary" substitutionGroup="base:component">
68
81
  <annotation>
69
82
  <documentation xml:lang="en">
@@ -5,6 +5,7 @@ import { AuthCommands } from "./auth.js";
5
5
  import { BasemapCommands } from "./basemap.js";
6
6
  import { BulkEditingCommands } from "./bulk-editing.js";
7
7
  import { ChartsCommands } from "./charts.js";
8
+ import { CopyFeaturesCommands } from "./copy-features.js";
8
9
  import { DrawingCommands } from "./drawing.js";
9
10
  import { EditCommands } from "./edit.js";
10
11
  import { FileCommands } from "./file.js";
@@ -48,6 +49,7 @@ export declare class Commands extends CommandRegistry {
48
49
  readonly basemap: BasemapCommands;
49
50
  readonly bulkEditing: BulkEditingCommands;
50
51
  readonly charts: ChartsCommands;
52
+ readonly copyFeatures: CopyFeaturesCommands;
51
53
  readonly drawing: DrawingCommands;
52
54
  readonly edit: EditCommands;
53
55
  readonly file: FileCommands;
@@ -1 +1 @@
1
- import{CommandRegistry as s}from"../CommandRegistry.js";import{AppCommands as e}from"./app.js";import{AttributeTableCommands as m}from"./attribute-table.js";import{AuthCommands as t}from"./auth.js";import{BasemapCommands as r}from"./basemap.js";import{BulkEditingCommands as i}from"./bulk-editing.js";import{ChartsCommands as o}from"./charts.js";import{DrawingCommands as a}from"./drawing.js";import{EditCommands as n}from"./edit.js";import{FileCommands as p}from"./file.js";import{FilterBuilderCommands as g}from"./filter-builder.js";import{GeolocationCommands as h}from"./geolocation.js";import{GeometryToolbarCommands as w}from"./geometry-toolbar.js";import{GeometryCommands as f}from"./geometry.js";import{HighlightsCommands as j}from"./highlights.js";import{IwtmCommands as l}from"./iwtm.js";import{KpiCommands as _}from"./kpi.js";import{LayerComparisonCommands as u}from"./layer-comparison.js";import{LayerListCommands as y}from"./layer-list.js";import{LayerPresetsCommands as c}from"./layer-presets.js";import{LayersCommands as d}from"./layers.js";import{LicensingCommands as k}from"./licensing.js";import{LocationMarkerCommands as b}from"./location-marker.js";import{MapCommands as x}from"./map.js";import{MeasurementCommands as C}from"./measurement.js";import{NetworkCommands as q}from"./network.js";import{OfflineCommands as v}from"./offline.js";import{PanelCommands as A}from"./panel.js";import{PhotosCommands as B}from"./photos.js";import{PrintCommands as T}from"./printing.js";import{ProjectCommands as E}from"./project.js";import{QueryBuilderCommands as L}from"./query-builder.js";import{RegionCommands as M}from"./region.js";import{ReportsCommands as N}from"./reports.js";import{ResultsCommands as P}from"./results.js";import{SearchCommands as R}from"./search.js";import{SketchingCommands as z}from"./sketching.js";import{StudioAnalyticsCommands as D}from"./studioAnalytics.js";import{SystemCommands as F}from"./system.js";import{UICommands as G}from"./ui.js";import{UtilityNetworkCommands as H}from"./utility-network.js";import{ViewerCommands as I}from"./viewer.js";import{WorkflowCommands as J}from"./workflow.js";export class Commands extends s{app=new e(this._messages);attributeTable=new m(this._messages);auth=new t(this._messages);basemap=new r(this._messages);bulkEditing=new i(this._messages);charts=new o(this._messages);drawing=new a(this._messages);edit=new n(this._messages);file=new p(this._messages);filterBuilder=new g(this._messages);geolocation=new h(this._messages);geometry=new f(this._messages);geometryToolbar=new w(this._messages);highlights=new j(this._messages);iwtm=new l(this._messages);kpi=new _(this._messages);layerList=new y(this._messages);layers=new d(this._messages);layerComparison=new u(this._messages);layerPresets=new c(this._messages);licensing=new k(this._messages);locationMarker=new b(this._messages);map=new x(this._messages);measurement=new C(this._messages);network=new q(this._messages);offline=new v(this._messages);panel=new A(this._messages);project=new E(this._messages);photos=new B(this._messages);printing=new T(this._messages);queryBuilder=new L(this._messages);region=new M(this._messages);reports=new N(this._messages);results=new P(this._messages);search=new R(this._messages);sketching=new z(this._messages);studioAnalytics=new D(this._messages);system=new F(this._messages);ui=new G(this._messages);utilityNetwork=new H(this._messages);viewer=new I(this._messages);workflow=new J(this._messages);_prefix=""}
1
+ import{CommandRegistry as s}from"../CommandRegistry.js";import{AppCommands as e}from"./app.js";import{AttributeTableCommands as m}from"./attribute-table.js";import{AuthCommands as t}from"./auth.js";import{BasemapCommands as r}from"./basemap.js";import{BulkEditingCommands as i}from"./bulk-editing.js";import{ChartsCommands as o}from"./charts.js";import{CopyFeaturesCommands as a}from"./copy-features.js";import{DrawingCommands as n}from"./drawing.js";import{EditCommands as p}from"./edit.js";import{FileCommands as g}from"./file.js";import{FilterBuilderCommands as h}from"./filter-builder.js";import{GeolocationCommands as w}from"./geolocation.js";import{GeometryToolbarCommands as f}from"./geometry-toolbar.js";import{GeometryCommands as j}from"./geometry.js";import{HighlightsCommands as l}from"./highlights.js";import{IwtmCommands as _}from"./iwtm.js";import{KpiCommands as u}from"./kpi.js";import{LayerComparisonCommands as y}from"./layer-comparison.js";import{LayerListCommands as c}from"./layer-list.js";import{LayerPresetsCommands as d}from"./layer-presets.js";import{LayersCommands as k}from"./layers.js";import{LicensingCommands as b}from"./licensing.js";import{LocationMarkerCommands as x}from"./location-marker.js";import{MapCommands as C}from"./map.js";import{MeasurementCommands as q}from"./measurement.js";import{NetworkCommands as v}from"./network.js";import{OfflineCommands as A}from"./offline.js";import{PanelCommands as B}from"./panel.js";import{PhotosCommands as T}from"./photos.js";import{PrintCommands as E}from"./printing.js";import{ProjectCommands as F}from"./project.js";import{QueryBuilderCommands as L}from"./query-builder.js";import{RegionCommands as M}from"./region.js";import{ReportsCommands as N}from"./reports.js";import{ResultsCommands as P}from"./results.js";import{SearchCommands as R}from"./search.js";import{SketchingCommands as z}from"./sketching.js";import{StudioAnalyticsCommands as D}from"./studioAnalytics.js";import{SystemCommands as G}from"./system.js";import{UICommands as H}from"./ui.js";import{UtilityNetworkCommands as I}from"./utility-network.js";import{ViewerCommands as J}from"./viewer.js";import{WorkflowCommands as K}from"./workflow.js";export class Commands extends s{app=new e(this._messages);attributeTable=new m(this._messages);auth=new t(this._messages);basemap=new r(this._messages);bulkEditing=new i(this._messages);charts=new o(this._messages);copyFeatures=new a(this._messages);drawing=new n(this._messages);edit=new p(this._messages);file=new g(this._messages);filterBuilder=new h(this._messages);geolocation=new w(this._messages);geometry=new j(this._messages);geometryToolbar=new f(this._messages);highlights=new l(this._messages);iwtm=new _(this._messages);kpi=new u(this._messages);layerList=new c(this._messages);layers=new k(this._messages);layerComparison=new y(this._messages);layerPresets=new d(this._messages);licensing=new b(this._messages);locationMarker=new x(this._messages);map=new C(this._messages);measurement=new q(this._messages);network=new v(this._messages);offline=new A(this._messages);panel=new B(this._messages);project=new F(this._messages);photos=new T(this._messages);printing=new E(this._messages);queryBuilder=new L(this._messages);region=new M(this._messages);reports=new N(this._messages);results=new P(this._messages);search=new R(this._messages);sketching=new z(this._messages);studioAnalytics=new D(this._messages);system=new G(this._messages);ui=new H(this._messages);utilityNetwork=new I(this._messages);viewer=new J(this._messages);workflow=new K(this._messages);_prefix=""}
@@ -4,6 +4,7 @@ import { AppEvents } from "./app.js";
4
4
  import { AttributeTableEvents } from "./attribute-table.js";
5
5
  import { AuthEvents } from "./auth.js";
6
6
  import { BookmarkEvents } from "./bookmark.js";
7
+ import { CopyFeaturesEvents } from "./copy-features.js";
7
8
  import { DeviceEvents } from "./device.js";
8
9
  import { DisplayEvents } from "./display.js";
9
10
  import { EditEvents } from "./edit.js";
@@ -37,6 +38,7 @@ export declare class Events extends EventRegistry {
37
38
  readonly attributeTable: AttributeTableEvents;
38
39
  readonly auth: AuthEvents;
39
40
  readonly bookmark: BookmarkEvents;
41
+ readonly copyFeatures: CopyFeaturesEvents;
40
42
  readonly device: DeviceEvents;
41
43
  readonly display: DisplayEvents;
42
44
  readonly edit: EditEvents;
@@ -1 +1 @@
1
- import{EventRegistry as s}from"../EventRegistry.js";import{AppConfigEvents as e}from"./app-config.js";import{AppEvents as t}from"./app.js";import{AttributeTableEvents as o}from"./attribute-table.js";import{AuthEvents as r}from"./auth.js";import{BookmarkEvents as m}from"./bookmark.js";import{DeviceEvents as i}from"./device.js";import{DisplayEvents as a}from"./display.js";import{EditEvents as p}from"./edit.js";import{GeolocationEvents as n}from"./geolocation.js";import{InputEvents as g}from"./input.js";import{LayerListEvents as f}from"./layer-list.js";import{LayersEvents as h}from"./layers.js";import{LayoutEvents as w}from"./layout.js";import{LocationMarkerEvents as j}from"./location-marker.js";import{MapEvents as _}from"./map.js";import{NetworkEvents as l}from"./network.js";import{OfflineEvents as c}from"./offline.js";import{PanelEvents as u}from"./panel.js";import{PhotosEvents as k}from"./photos.js";import{PortalEvents as y}from"./portal.js";import{PrintEvents as d}from"./printing.js";import{ProjectEvents as b}from"./project.js";import{RegionEvents as v}from"./region.js";import{ReportEvents as x}from"./reports.js";import{ResultsEvents as E}from"./results.js";import{SearchEvents as C}from"./search.js";import{SettingsEvents as L}from"./settings.js";import{ShortcutEvents as M}from"./shortcut.js";import{TasksEvents as R}from"./tasks.js";import{UIEvents as T}from"./ui.js";import{ViewerEvents as q}from"./viewer.js";import{WorkflowEvents as z}from"./workflow.js";export class Events extends s{app=new t(this._messages);appConfig=new e(this._messages);attributeTable=new o(this._messages);auth=new r(this._messages);bookmark=new m(this._messages);device=new i(this._messages);display=new a(this._messages);edit=new p(this._messages);geolocation=new n(this._messages);input=new g(this._messages);layers=new h(this._messages);layerList=new f(this._messages);layout=new w(this._messages);locationMarker=new j(this._messages);map=new _(this._messages);network=new l(this._messages);offline=new c(this._messages);panel=new u(this._messages);project=new b(this._messages);photos=new k(this._messages);portal=new y(this._messages);printing=new d(this._messages);region=new v(this._messages);reports=new x(this._messages);results=new E(this._messages);search=new C(this._messages);settings=new L(this._messages);shortcuts=new M(this._messages);tasks=new R(this._messages);ui=new T(this._messages);viewer=new q(this._messages);workflow=new z(this._messages);_prefix=""}
1
+ import{EventRegistry as s}from"../EventRegistry.js";import{AppConfigEvents as e}from"./app-config.js";import{AppEvents as t}from"./app.js";import{AttributeTableEvents as o}from"./attribute-table.js";import{AuthEvents as r}from"./auth.js";import{BookmarkEvents as m}from"./bookmark.js";import{CopyFeaturesEvents as i}from"./copy-features.js";import{DeviceEvents as a}from"./device.js";import{DisplayEvents as p}from"./display.js";import{EditEvents as n}from"./edit.js";import{GeolocationEvents as f}from"./geolocation.js";import{InputEvents as g}from"./input.js";import{LayerListEvents as h}from"./layer-list.js";import{LayersEvents as w}from"./layers.js";import{LayoutEvents as j}from"./layout.js";import{LocationMarkerEvents as _}from"./location-marker.js";import{MapEvents as l}from"./map.js";import{NetworkEvents as c}from"./network.js";import{OfflineEvents as u}from"./offline.js";import{PanelEvents as k}from"./panel.js";import{PhotosEvents as y}from"./photos.js";import{PortalEvents as d}from"./portal.js";import{PrintEvents as b}from"./printing.js";import{ProjectEvents as v}from"./project.js";import{RegionEvents as x}from"./region.js";import{ReportEvents as E}from"./reports.js";import{ResultsEvents as C}from"./results.js";import{SearchEvents as F}from"./search.js";import{SettingsEvents as L}from"./settings.js";import{ShortcutEvents as M}from"./shortcut.js";import{TasksEvents as R}from"./tasks.js";import{UIEvents as T}from"./ui.js";import{ViewerEvents as q}from"./viewer.js";import{WorkflowEvents as z}from"./workflow.js";export class Events extends s{app=new t(this._messages);appConfig=new e(this._messages);attributeTable=new o(this._messages);auth=new r(this._messages);bookmark=new m(this._messages);copyFeatures=new i(this._messages);device=new a(this._messages);display=new p(this._messages);edit=new n(this._messages);geolocation=new f(this._messages);input=new g(this._messages);layers=new w(this._messages);layerList=new h(this._messages);layout=new j(this._messages);locationMarker=new _(this._messages);map=new l(this._messages);network=new c(this._messages);offline=new u(this._messages);panel=new k(this._messages);project=new v(this._messages);photos=new y(this._messages);portal=new d(this._messages);printing=new b(this._messages);region=new x(this._messages);reports=new E(this._messages);results=new C(this._messages);search=new F(this._messages);settings=new L(this._messages);shortcuts=new M(this._messages);tasks=new R(this._messages);ui=new T(this._messages);viewer=new q(this._messages);workflow=new z(this._messages);_prefix=""}
@@ -4,6 +4,7 @@ import { ArcadeOperations } from "./arcade.js";
4
4
  import { AuthOperations } from "./auth.js";
5
5
  import { BasemapOperations } from "./basemap.js";
6
6
  import { ChartOperations } from "./charts.js";
7
+ import { CopyFeaturesOperations } from "./copy-features.js";
7
8
  import { DrawingOperations } from "./drawing.js";
8
9
  import { EditOperations } from "./edit.js";
9
10
  import { FileOperations } from "./file.js";
@@ -38,6 +39,7 @@ export declare class Operations extends OperationRegistry {
38
39
  readonly app: AppOperations;
39
40
  readonly basemap: BasemapOperations;
40
41
  readonly charts: ChartOperations;
42
+ readonly copyFeatures: CopyFeaturesOperations;
41
43
  readonly edit: EditOperations;
42
44
  readonly drawing: DrawingOperations;
43
45
  readonly file: FileOperations;
@@ -1 +1 @@
1
- import{OperationRegistry as s}from"../OperationRegistry.js";import{AppOperations as e}from"./app.js";import{ArcadeOperations as m}from"./arcade.js";import{AuthOperations as i}from"./auth.js";import{BasemapOperations as r}from"./basemap.js";import{ChartOperations as t}from"./charts.js";import{DrawingOperations as o}from"./drawing.js";import{EditOperations as a}from"./edit.js";import{FileOperations as n}from"./file.js";import{FilterBuilderOperations as g}from"./filter-builder.js";import{GeocodeOperations as p}from"./geocode.js";import{GeolocationOperations as w}from"./geolocation.js";import{GeometryOperations as f}from"./geometry.js";import{KpiOperations as h}from"./kpi.js";import{LayersOperations as j}from"./layers.js";import{LicensingOperations as _}from"./licensing.js";import{LogViewerOperations as l}from"./logViewer.js";import{MapOperations as u}from"./map.js";import{MeasurementOperations as c}from"./measurement.js";import{MessagingOperations as d}from"./messaging.js";import{NetworkOperations as k}from"./network.js";import{OfflineOperations as y}from"./offline.js";import{PortalOperations as b}from"./portal.js";import{PrintOperations as x}from"./printing.js";import{ProjectOperations as q}from"./project.js";import{QueryBuilderOperations as v}from"./query-builder.js";import{ResultsOperations as B}from"./results.js";import{SketchingOperations as O}from"./sketching.js";import{SystemOperations as V}from"./system.js";import{TasksOperations as N}from"./tasks.js";import{UIOperations as R}from"./ui.js";import{UtilityNetworkOperations as z}from"./utility-network.js";import{ViewerOperations as A}from"./viewer.js";import{WorkflowOperations as C}from"./workflow.js";export class Operations extends s{arcade=new m(this._messages);auth=new i(this._messages);app=new e(this._messages);basemap=new r(this._messages);charts=new t(this._messages);edit=new a(this._messages);drawing=new o(this._messages);file=new n(this._messages);filterBuilder=new g(this._messages);geocode=new p(this._messages);geolocation=new w(this._messages);geometry=new f(this._messages);kpi=new h(this._messages);layers=new j(this._messages);licensing=new _(this._messages);logViewer=new l(this._messages);map=new u(this._messages);measurement=new c(this._messages);messaging=new d(this._messages);network=new k(this._messages);offline=new y(this._messages);portal=new b(this._messages);printing=new x(this._messages);project=new q(this._messages);queryBuilder=new v(this._messages);sketching=new O(this._messages);system=new V(this._messages);results=new B(this._messages);tasks=new N(this._messages);ui=new R(this._messages);utilityNetwork=new z(this._messages);viewer=new A(this._messages);workflow=new C(this._messages);_prefix=""}
1
+ import{OperationRegistry as s}from"../OperationRegistry.js";import{AppOperations as e}from"./app.js";import{ArcadeOperations as m}from"./arcade.js";import{AuthOperations as r}from"./auth.js";import{BasemapOperations as i}from"./basemap.js";import{ChartOperations as t}from"./charts.js";import{CopyFeaturesOperations as o}from"./copy-features.js";import{DrawingOperations as a}from"./drawing.js";import{EditOperations as n}from"./edit.js";import{FileOperations as p}from"./file.js";import{FilterBuilderOperations as g}from"./filter-builder.js";import{GeocodeOperations as w}from"./geocode.js";import{GeolocationOperations as f}from"./geolocation.js";import{GeometryOperations as h}from"./geometry.js";import{KpiOperations as j}from"./kpi.js";import{LayersOperations as _}from"./layers.js";import{LicensingOperations as l}from"./licensing.js";import{LogViewerOperations as u}from"./logViewer.js";import{MapOperations as c}from"./map.js";import{MeasurementOperations as d}from"./measurement.js";import{MessagingOperations as y}from"./messaging.js";import{NetworkOperations as k}from"./network.js";import{OfflineOperations as b}from"./offline.js";import{PortalOperations as x}from"./portal.js";import{PrintOperations as q}from"./printing.js";import{ProjectOperations as v}from"./project.js";import{QueryBuilderOperations as B}from"./query-builder.js";import{ResultsOperations as O}from"./results.js";import{SketchingOperations as V}from"./sketching.js";import{SystemOperations as F}from"./system.js";import{TasksOperations as N}from"./tasks.js";import{UIOperations as R}from"./ui.js";import{UtilityNetworkOperations as z}from"./utility-network.js";import{ViewerOperations as A}from"./viewer.js";import{WorkflowOperations as C}from"./workflow.js";export class Operations extends s{arcade=new m(this._messages);auth=new r(this._messages);app=new e(this._messages);basemap=new i(this._messages);charts=new t(this._messages);copyFeatures=new o(this._messages);edit=new n(this._messages);drawing=new a(this._messages);file=new p(this._messages);filterBuilder=new g(this._messages);geocode=new w(this._messages);geolocation=new f(this._messages);geometry=new h(this._messages);kpi=new j(this._messages);layers=new _(this._messages);licensing=new l(this._messages);logViewer=new u(this._messages);map=new c(this._messages);measurement=new d(this._messages);messaging=new y(this._messages);network=new k(this._messages);offline=new b(this._messages);portal=new x(this._messages);printing=new q(this._messages);project=new v(this._messages);queryBuilder=new B(this._messages);sketching=new V(this._messages);system=new F(this._messages);results=new O(this._messages);tasks=new N(this._messages);ui=new R(this._messages);utilityNetwork=new z(this._messages);viewer=new A(this._messages);workflow=new C(this._messages);_prefix=""}
@@ -0,0 +1,113 @@
1
+ import type { Command } from "../Command.js";
2
+ import { CommandRegistry } from "../CommandRegistry.js";
3
+ import type { Event } from "../Event.js";
4
+ import { EventRegistry } from "../EventRegistry.js";
5
+ import type { Operation } from "../Operation.js";
6
+ import { OperationRegistry } from "../OperationRegistry.js";
7
+ import type { Features, HasFeatures, LayerLike, LayersLike, ModelRef } from "../common.js";
8
+ /**
9
+ * Arguments for the copy-features.copy operation.
10
+ */
11
+ export interface CopyFeaturesOperationArgs {
12
+ /**
13
+ * Source features to prepare for copying.
14
+ */
15
+ features: Features;
16
+ /**
17
+ * Target layer whose geometry and field schema should be used.
18
+ */
19
+ targetLayer: LayerLike;
20
+ /**
21
+ * Attribute mappings applied to each copied feature.
22
+ */
23
+ fieldMappings: {
24
+ /**
25
+ * Target-layer attribute name.
26
+ */
27
+ targetAttribute: string;
28
+ /**
29
+ * Source attribute name, or null when no source attribute is mapped.
30
+ */
31
+ sourceAttribute: string | null;
32
+ }[];
33
+ /**
34
+ * Whether attachments from source features should be copied to new target
35
+ * features.
36
+ */
37
+ copyAttachments?: boolean;
38
+ /**
39
+ * Optional Copy Features component to target when more than one exists.
40
+ */
41
+ model?: ModelRef;
42
+ }
43
+ /**
44
+ * Arguments for the Copy Features commands. Web only.
45
+ */
46
+ export type CopyFeaturesArgs = Features | (HasFeatures & {
47
+ /**
48
+ * Source layer context. This does not specify the target layer.
49
+ */
50
+ layers?: LayersLike;
51
+ });
52
+ /**
53
+ * Arguments published after features are copied successfully.
54
+ */
55
+ export interface CopyFeaturesCompletedEventArgs {
56
+ /**
57
+ * Newly created features in the target layer.
58
+ */
59
+ features: Features;
60
+ /**
61
+ * Target layer containing the newly created features.
62
+ */
63
+ layers: LayersLike;
64
+ }
65
+ export declare class CopyFeaturesCommands extends CommandRegistry {
66
+ protected readonly _prefix = "copy-features";
67
+ /**
68
+ * Displays the Copy Features interface for the supplied source features.
69
+ * Web only.
70
+ *
71
+ * @webOnly
72
+ */
73
+ get display(): Command<CopyFeaturesArgs>;
74
+ /**
75
+ * Adds features to the Copy Features component. Web only.
76
+ *
77
+ * @webOnly
78
+ */
79
+ get addFeatures(): Command<CopyFeaturesArgs>;
80
+ /**
81
+ * Removes features from the Copy Features component. Web only.
82
+ *
83
+ * @webOnly
84
+ */
85
+ get removeFeatures(): Command<CopyFeaturesArgs>;
86
+ /**
87
+ * Clears all source features from the Copy Features component. Web only.
88
+ *
89
+ * @webOnly
90
+ */
91
+ get clear(): Command<void>;
92
+ }
93
+ export declare class CopyFeaturesOperations extends OperationRegistry {
94
+ protected readonly _prefix = "copy-features";
95
+ /**
96
+ * Creates in-memory copies of the supplied source features using the target
97
+ * layer and field mappings. This operation does not add the copied features
98
+ * to the target layer. Web only.
99
+ *
100
+ * @webOnly
101
+ */
102
+ get copy(): Operation<CopyFeaturesOperationArgs, Features>;
103
+ }
104
+ export declare class CopyFeaturesEvents extends EventRegistry {
105
+ protected readonly _prefix = "copy-features";
106
+ /**
107
+ * Raised after features are successfully created in the target layer. Web
108
+ * only.
109
+ *
110
+ * @webOnly
111
+ */
112
+ get completed(): Event<CopyFeaturesCompletedEventArgs>;
113
+ }
@@ -0,0 +1 @@
1
+ import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as r}from"../OperationRegistry.js";export class CopyFeaturesCommands extends e{_prefix="copy-features";get display(){return this._get("display")}get addFeatures(){return this._get("add-features")}get removeFeatures(){return this._get("remove-features")}get clear(){return this._get("clear")}}export class CopyFeaturesOperations extends r{_prefix="copy-features";get copy(){return this._get("copy")}}export class CopyFeaturesEvents extends t{_prefix="copy-features";get completed(){return this._get("completed")}}
@@ -122,13 +122,13 @@ export interface MovePointArgs extends HasMaps {
122
122
  partIndex?: number;
123
123
  /**
124
124
  * The new point that will replace the target point within an active sketch
125
- * or edit geometry. If this property is defined, the distance property will
125
+ * or edit geometry. If the distance property is defined, this property will
126
126
  * be ignored.
127
127
  */
128
128
  newPoint?: Point;
129
129
  /**
130
- * An amount to move the point(s) on the X and Y axes. If the newPoint
131
- * property is defined, this property will be ignored.
130
+ * An amount to move the point(s) on the X and Y axes. If this property is
131
+ * defined, the newPoint property will be ignored.
132
132
  */
133
133
  distance?: Vector2D;
134
134
  /**