@conterra/ct-mapapps-typings 4.18.4-next.20241015035251 → 4.18.4-next.20241016065248
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/agssearch/api.d.ts +1 -1
- package/mapdraw-api/api.d.ts +26 -1
- package/package.json +1 -1
- package/portal-security/api.d.ts +2 -2
package/agssearch/api.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ interface AGSStoreFromURLOptions extends AGSStoreCommonOptions {
|
|
|
87
87
|
/**
|
|
88
88
|
* The type of the service. Defaults to "feature".
|
|
89
89
|
*/
|
|
90
|
-
type?: "feature" | "geojson" | "csv" | "wfs" | "ogc-feature";
|
|
90
|
+
type?: "feature" | "geojson" | "csv" | "wfs" | "ogc-feature" | "scene";
|
|
91
91
|
/**
|
|
92
92
|
* An API key (or token) required to access the service.
|
|
93
93
|
*
|
package/mapdraw-api/api.d.ts
CHANGED
|
@@ -22,6 +22,10 @@ interface DrawingMembers {
|
|
|
22
22
|
* The current drawing mode
|
|
23
23
|
*/
|
|
24
24
|
mode: DrawingMode;
|
|
25
|
+
/**
|
|
26
|
+
* The current vertex mode.
|
|
27
|
+
*/
|
|
28
|
+
vertexMode?: VertexMode;
|
|
25
29
|
/**
|
|
26
30
|
* Lookup object for symbols used while drawing.
|
|
27
31
|
*
|
|
@@ -93,6 +97,10 @@ interface DrawingOptions {
|
|
|
93
97
|
* @see {@link Drawing.symbols}
|
|
94
98
|
*/
|
|
95
99
|
symbols?: SymbolLookup;
|
|
100
|
+
/**
|
|
101
|
+
* Defines when vertices are added during drawing.
|
|
102
|
+
*/
|
|
103
|
+
vertexMode?: VertexMode;
|
|
96
104
|
}
|
|
97
105
|
/**
|
|
98
106
|
* Lookup table for symbols.
|
|
@@ -104,6 +112,23 @@ type SymbolLookup = {
|
|
|
104
112
|
* The type of graphic being drawn.
|
|
105
113
|
*/
|
|
106
114
|
type DrawingMode = "rectangle" | "polygon" | "polyline" | "point";
|
|
115
|
+
/**
|
|
116
|
+
* Defines when vertices are added during drawing.
|
|
117
|
+
* The following values are allowed:
|
|
118
|
+
*
|
|
119
|
+
* - `hybrid`: Vertices are added while the pointer is clicked or dragged.
|
|
120
|
+
* Applies to and is the default for polygon and polyline draw actions.
|
|
121
|
+
* - `freehand`: Vertices are added while the pointer is dragged.
|
|
122
|
+
* Applies to polygon, polyline and segment draw actions.
|
|
123
|
+
* Default for segment draw actions.
|
|
124
|
+
* - `click` : Vertices are added when the pointer is clicked.
|
|
125
|
+
*
|
|
126
|
+
* This property relates to the property 'mode' used in
|
|
127
|
+
* different drawings types in the ArcGIS Maps SDK for JavaScript.
|
|
128
|
+
* See https://developers.arcgis.com/javascript/latest/api-reference/esri-views-draw-PolygonDrawAction.html
|
|
129
|
+
* for example.
|
|
130
|
+
*/
|
|
131
|
+
type VertexMode = "hybrid" | "freehand" | "click";
|
|
107
132
|
/**
|
|
108
133
|
* Reference "mapdraw-api.DrawingFactory" to inject an instance of this factory.
|
|
109
134
|
*/
|
|
@@ -114,4 +139,4 @@ interface DrawingFactory {
|
|
|
114
139
|
createDrawing(options: DrawingOptions): Drawing;
|
|
115
140
|
}
|
|
116
141
|
|
|
117
|
-
export type { Drawing, DrawingFactory, DrawingMembers, DrawingMode, DrawingOptions, SymbolLookup };
|
|
142
|
+
export type { Drawing, DrawingFactory, DrawingMembers, DrawingMode, DrawingOptions, SymbolLookup, VertexMode };
|
package/package.json
CHANGED
package/portal-security/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="arcgis-js-api" />
|
|
2
|
-
import {
|
|
2
|
+
import { EventSource } from 'apprt-core/Events';
|
|
3
3
|
import Credential from 'esri/identity/Credential';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -18,7 +18,7 @@ interface PortalLoginServiceEvents {
|
|
|
18
18
|
/**
|
|
19
19
|
* Service to access security information of ArcGIS services like ArcGIS Enterprise portal.
|
|
20
20
|
*/
|
|
21
|
-
interface PortalLoginService extends
|
|
21
|
+
interface PortalLoginService extends EventSource<PortalLoginServiceEvents> {
|
|
22
22
|
/**
|
|
23
23
|
* Checks if the user is signed in to ArcGIS Online
|
|
24
24
|
*/
|