@conterra/ct-mapapps-typings 4.19.3 → 4.20.0-next.20250707091215
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/package.json +1 -1
- package/apprt/api/index.d.ts +1 -0
- package/apprt/launch/Launcher.d.ts +1 -0
- package/apprt/package.json +1 -1
- package/apprt-binding/package.json +1 -1
- package/apprt-core/Types.d.ts +1 -1
- package/apprt-core/package.json +1 -1
- package/apprt-dom/package.json +1 -1
- package/apprt-fetch/package.json +1 -1
- package/apprt-request/package.json +1 -1
- package/apprt-streams/package.json +1 -1
- package/apprt-tokens/package.json +1 -1
- package/apprt-vue/package.json +1 -1
- package/apprt-vuetify/package.json +1 -1
- package/coordinateconversion/api.d.ts +181 -0
- package/coordinateconversion/package.json +5 -0
- package/coordinatetransformer/package.json +1 -1
- package/ct/package.json +1 -1
- package/dataform/package.json +1 -1
- package/dataview/package.json +1 -1
- package/domains-system/package.json +1 -1
- package/editing/package.json +1 -1
- package/esri-widgets/package.json +1 -1
- package/geojson/package.json +1 -1
- package/geometryservice/package.json +1 -1
- package/graphics/package.json +1 -1
- package/highlights/package.json +1 -1
- package/integration-map/package.json +1 -1
- package/managementlayout/package.json +1 -1
- package/map-actions/package.json +1 -1
- package/map-basemaps-api/package.json +1 -1
- package/map-config-api/package.json +1 -1
- package/map-init/package.json +1 -1
- package/map-widget/package.json +1 -1
- package/mapdraw-api/package.json +1 -1
- package/mapnavigation/package.json +1 -1
- package/maptips/package.json +1 -1
- package/measurement-2d/package.json +1 -1
- package/measurement-3d/package.json +1 -1
- package/package.json +1 -1
- package/parametermanager/package.json +1 -1
- package/popups/package.json +1 -1
- package/portal-security/package.json +1 -1
- package/result-api/package.json +1 -1
- package/search-api/api.d.ts +16 -2
- package/search-api/package.json +1 -1
- package/search-ui/package.json +1 -1
- package/selection-services/package.json +1 -1
- package/store-api/package.json +1 -1
- package/system/package.json +1 -1
- package/templatelayout/package.json +1 -1
- package/test-utils/package.json +1 -1
- package/theme-tester/package.json +1 -1
- package/toc/package.json +1 -1
- package/toolrules/package.json +1 -1
- package/vuetify-component-overview/package.json +1 -1
- package/windowmanager/package.json +1 -1
- package/wizard/package.json +1 -1
- package/apprt-core/Observable.d.ts +0 -55
- package/ct/api/omnisearch/ResultHandler.d.ts +0 -3
- package/ct/api/omnisearch/Store.d.ts +0 -3
- package/ct/ui/controls/mobile/DropDownMenu.d.ts +0 -3
- package/omnisearch/ActionsHandler.d.ts +0 -9
- package/omnisearch/DrawHandler.d.ts +0 -9
- package/omnisearch/DropDownMenu.d.ts +0 -3
- package/omnisearch/OmniSearchFactory.d.ts +0 -3
- package/omnisearch/OmniSearchModel.d.ts +0 -3
- package/omnisearch/RadioButton.d.ts +0 -3
- package/omnisearch/ResultCommand.d.ts +0 -9
- package/omnisearch/SearchUI.d.ts +0 -3
- package/omnisearch/SettingsWidget.d.ts +0 -3
- package/omnisearch/ZoomHandler.d.ts +0 -8
- package/omnisearch/package.json +0 -5
- package/resultcenter/ActionController.d.ts +0 -3
- package/resultcenter/BaseCommand.d.ts +0 -3
- package/resultcenter/DataModel.d.ts +0 -3
- package/resultcenter/DataModelBroadcaster.d.ts +0 -3
- package/resultcenter/DataModelMapController.d.ts +0 -25
- package/resultcenter/DataViewController.d.ts +0 -3
- package/resultcenter/DataViewStore.d.ts +0 -3
- package/resultcenter/ExportResultsCommand.d.ts +0 -12
- package/resultcenter/FeatureMapVisualizer.d.ts +0 -35
- package/resultcenter/GraphicResolverFactory.d.ts +0 -15
- package/resultcenter/OpenPopupService.d.ts +0 -5
- package/resultcenter/PostfixAttributeTableLookupStrategy.d.ts +0 -3
- package/resultcenter/RemoveResultsCommand.d.ts +0 -6
- package/resultcenter/RestrictQueriesToView.d.ts +0 -3
- package/resultcenter/ResultcenterToolRuleProcessor.d.ts +0 -3
- package/resultcenter/SearchStoreHandler.d.ts +0 -8
- package/resultcenter/SelectAllResultsCommand.d.ts +0 -11
- package/resultcenter/StoreEventReceiver.d.ts +0 -3
- package/resultcenter/StoreRegistration.d.ts +0 -3
- package/resultcenter/TriggerShowResultCenter.d.ts +0 -3
- package/resultcenter/VisualizationLayerResolver.d.ts +0 -13
- package/resultcenter/package.json +0 -5
- package/selection-resultcenter/CachingStore.d.ts +0 -229
- package/selection-resultcenter/MemoryStore.d.ts +0 -10
- package/selection-resultcenter/package.json +0 -5
package/agssearch/package.json
CHANGED
package/apprt/api/index.d.ts
CHANGED
|
@@ -1348,6 +1348,7 @@ interface AppConfigJson {
|
|
|
1348
1348
|
preFetchMain?: boolean;
|
|
1349
1349
|
preFetchCompressedVersions?: boolean;
|
|
1350
1350
|
prefetchSecondAggregate?: boolean | number;
|
|
1351
|
+
prefetchSecondNonBlocking?: boolean;
|
|
1351
1352
|
};
|
|
1352
1353
|
bundles?: Record<string, boolean | Record<string, any>>;
|
|
1353
1354
|
}
|
|
@@ -54,6 +54,7 @@ declare class LauncherImpl implements Launcher {
|
|
|
54
54
|
private _initializeFramework;
|
|
55
55
|
private _startFramework;
|
|
56
56
|
private _prefetchRemaining;
|
|
57
|
+
private _preFetchSecond;
|
|
57
58
|
private _installBundles;
|
|
58
59
|
private _filterSuccessBundles;
|
|
59
60
|
private _getBundlesToInstall;
|
package/apprt/package.json
CHANGED
package/apprt-core/Types.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ type WatchCallback<NameType, ValueType> = (event: WatchEvent<NameType, ValueType
|
|
|
100
100
|
* It matches the apprt-core/Mutable watch interface.
|
|
101
101
|
*/
|
|
102
102
|
interface Watchable<WatchableProperties> {
|
|
103
|
-
watch<Name extends keyof WatchableProperties>(name: Name,
|
|
103
|
+
watch<Name extends keyof WatchableProperties>(name: Name, callback: WatchCallback<Name, WatchableProperties[Name]>): Handle;
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
106
|
* Helper type to express a set of statically known values (with autocompletion) that can still be extended.
|
package/apprt-core/package.json
CHANGED
package/apprt-dom/package.json
CHANGED
package/apprt-fetch/package.json
CHANGED
package/apprt-vue/package.json
CHANGED
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import { SpatialReference, Point } from 'esri/geometry';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Parsing succeeded and returned a valid value.
|
|
5
|
+
*/
|
|
6
|
+
interface ParseSuccess<T> {
|
|
7
|
+
kind: "success";
|
|
8
|
+
value: T;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Parsing resulted in an error.
|
|
12
|
+
*/
|
|
13
|
+
interface ParseError {
|
|
14
|
+
kind: "error";
|
|
15
|
+
/**
|
|
16
|
+
* Human readable error message.
|
|
17
|
+
* This message may be presented to the user.
|
|
18
|
+
*/
|
|
19
|
+
message?: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The result of parsing inputs.
|
|
23
|
+
*/
|
|
24
|
+
type ParseResult<T> = ParseSuccess<T> | ParseError;
|
|
25
|
+
/**
|
|
26
|
+
* Implements a format for coordinate conversions.
|
|
27
|
+
*
|
|
28
|
+
* You can extend the builtin set of formats by providing a service with `"coordinateconversion.SegmentedFormat"`.
|
|
29
|
+
*/
|
|
30
|
+
interface SegmentedFormat {
|
|
31
|
+
/**
|
|
32
|
+
* Unique id of this format.
|
|
33
|
+
*/
|
|
34
|
+
readonly id: string;
|
|
35
|
+
/**
|
|
36
|
+
* Human readable label of this format.
|
|
37
|
+
*/
|
|
38
|
+
readonly label: string;
|
|
39
|
+
/**
|
|
40
|
+
* Input segments required by the format, for example `x` and `y` coordinates.
|
|
41
|
+
* The coordinate conversion widget shows one input field for each segment.
|
|
42
|
+
*/
|
|
43
|
+
readonly segments: CoordinateSegment[];
|
|
44
|
+
/**
|
|
45
|
+
* When specified, points will be projected to this spatial reference before being passed to {@link pointToSegments}.
|
|
46
|
+
*
|
|
47
|
+
* If this is not specified, you will receive the point in the current spatial reference of the view, and
|
|
48
|
+
* you will have to perform any necessary projections yourself.
|
|
49
|
+
*/
|
|
50
|
+
readonly spatialReference?: SpatialReference;
|
|
51
|
+
/**
|
|
52
|
+
* Renders a point to _segment_ values.
|
|
53
|
+
* The returned record is indexed by segment ids and contains a string for each segment.
|
|
54
|
+
*
|
|
55
|
+
* The output of this function should be compatible with {@link segmentsToPoint}.
|
|
56
|
+
*
|
|
57
|
+
* Example:
|
|
58
|
+
*
|
|
59
|
+
* ```js
|
|
60
|
+
* const point = ...;
|
|
61
|
+
* const segments = format.pointToSegments(point);
|
|
62
|
+
* // segments == { x: "...", y: "..." }
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
pointToSegments(point: Point): Promise<Record<string, string>>;
|
|
66
|
+
/**
|
|
67
|
+
* Formats a set of _segment_ values to a human readable string.
|
|
68
|
+
* This combines the segment values to a final display string, including separating characters (like ',' or ' ')
|
|
69
|
+
* and units (like '°' and '"').
|
|
70
|
+
*
|
|
71
|
+
* The `segments` parameter can be assumed to contain valid strings: either
|
|
72
|
+
* - user input validated by {@link CoordinateSegment.validate} or
|
|
73
|
+
* - segment values generated by {@link pointToSegments}.
|
|
74
|
+
*
|
|
75
|
+
* The value returned here should be compatible with {@link stringToSegments}.
|
|
76
|
+
*
|
|
77
|
+
* Example:
|
|
78
|
+
*
|
|
79
|
+
* ```js
|
|
80
|
+
* const segments = { x: "1", y: "2" }
|
|
81
|
+
* const output = format.segmentsToString(segments);
|
|
82
|
+
* // output == "1°, 2°"
|
|
83
|
+
* ``
|
|
84
|
+
*/
|
|
85
|
+
segmentsToString(segments: Record<string, string>): string;
|
|
86
|
+
/**
|
|
87
|
+
* Splits a human readable coordinates string (like returned by {@link segmentsToString}) into its input segment.
|
|
88
|
+
*
|
|
89
|
+
* For example:
|
|
90
|
+
*
|
|
91
|
+
* ```js
|
|
92
|
+
* const input = "123.4 567.8";
|
|
93
|
+
* const segments = format.stringToSegments(input).value; // assumes success
|
|
94
|
+
* // segments == { x: "123.4", y: "567.8" };
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
stringToSegments(input: string): ParseResult<Record<string, string>>;
|
|
98
|
+
/**
|
|
99
|
+
* Parses a set of (validated) segment values into a `Point`.
|
|
100
|
+
* This can be used, for example, to place a marker on the map.
|
|
101
|
+
*
|
|
102
|
+
* Example:
|
|
103
|
+
*
|
|
104
|
+
* ```js
|
|
105
|
+
* const segments = { x: "1", y: "2" }
|
|
106
|
+
* const point = await format.segmentsToPoint(segments).value; // assumes success
|
|
107
|
+
* // point == { x: 1234, y: 5678, spatialReference: { ... }}
|
|
108
|
+
* ```
|
|
109
|
+
*/
|
|
110
|
+
segmentsToPoint(segments: Record<string, string>): Promise<ParseResult<Point>>;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* A coordinate segment within a {@link SegmentedFormat}.
|
|
114
|
+
*/
|
|
115
|
+
interface CoordinateSegment {
|
|
116
|
+
/**
|
|
117
|
+
* Id of this segment.
|
|
118
|
+
*
|
|
119
|
+
* This should be unique within the context of its format.
|
|
120
|
+
*/
|
|
121
|
+
id: string;
|
|
122
|
+
/**
|
|
123
|
+
* Human readable label for this coordinate segment (e.g. "Latitude").
|
|
124
|
+
*/
|
|
125
|
+
label: string;
|
|
126
|
+
/**
|
|
127
|
+
* Example for this segment, like '51° 57' 40"N'
|
|
128
|
+
*/
|
|
129
|
+
example?: string;
|
|
130
|
+
/**
|
|
131
|
+
* A prefix value that will be shown as part of the input field for this coordinate segment.
|
|
132
|
+
*
|
|
133
|
+
* This is a display-only field for strings that do not need to be typed by the user (such as "°").
|
|
134
|
+
*/
|
|
135
|
+
prefix?: string;
|
|
136
|
+
/**
|
|
137
|
+
* A suffix value that will be shown as part of the input field for this coordinate segment.
|
|
138
|
+
*
|
|
139
|
+
* This is a display-only field for strings that do not need to be typed by the user (such as "°").
|
|
140
|
+
*/
|
|
141
|
+
suffix?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Validates an input string for this coordinate segment.
|
|
144
|
+
* `input` is the (trimmed) text typed by the user.
|
|
145
|
+
*
|
|
146
|
+
* This function should return `true` if the input is valid,
|
|
147
|
+
* or an error message otherwise.
|
|
148
|
+
*
|
|
149
|
+
* `validate()` usually only performs text based validation (e.g. regular expressions).
|
|
150
|
+
* Parsing the actual input string (using {@link SegmentedFormat.segmentsToPoint}) can return additional errors.
|
|
151
|
+
*
|
|
152
|
+
* Only valid inputs will be passed to {@link SegmentedFormat.segmentsToPoint}.
|
|
153
|
+
*/
|
|
154
|
+
validate(input: string): true | false | ParseError;
|
|
155
|
+
}
|
|
156
|
+
/**
|
|
157
|
+
* A model that provides access to the current state of the coordinate conversion widget.
|
|
158
|
+
* Properties and methods are designed to be used together with the Reactivity API.
|
|
159
|
+
*
|
|
160
|
+
* It is available as service `coordinateconversion.Model`.
|
|
161
|
+
*/
|
|
162
|
+
interface CoordinateConversionModel {
|
|
163
|
+
/**
|
|
164
|
+
* True if the widget is currently active.
|
|
165
|
+
*/
|
|
166
|
+
readonly active: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* The current marker location, if any.
|
|
169
|
+
* This value represents explicit location inputs and also locations from mouse movements.
|
|
170
|
+
*/
|
|
171
|
+
readonly currentLocation: Point | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* The current marker location, if any.
|
|
174
|
+
*
|
|
175
|
+
* This value represents explicit location inputs only, i.e. if the user clicked on the map (not just moving the mouse)
|
|
176
|
+
* or confirmed the input form.
|
|
177
|
+
*/
|
|
178
|
+
readonly confirmedLocation: Point | undefined;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export type { CoordinateConversionModel, CoordinateSegment, ParseError, ParseResult, ParseSuccess, SegmentedFormat };
|
package/ct/package.json
CHANGED
package/dataform/package.json
CHANGED
package/dataview/package.json
CHANGED
package/editing/package.json
CHANGED
package/geojson/package.json
CHANGED
package/graphics/package.json
CHANGED
package/highlights/package.json
CHANGED
package/map-actions/package.json
CHANGED
package/map-init/package.json
CHANGED
package/map-widget/package.json
CHANGED
package/mapdraw-api/package.json
CHANGED
package/maptips/package.json
CHANGED
package/package.json
CHANGED
package/popups/package.json
CHANGED
package/result-api/package.json
CHANGED
package/search-api/api.d.ts
CHANGED
|
@@ -50,6 +50,15 @@ interface SearchOptions {
|
|
|
50
50
|
* The default value is `15`.
|
|
51
51
|
*/
|
|
52
52
|
count?: number;
|
|
53
|
+
/**
|
|
54
|
+
* Whether to request the number of total results from the queries stores.
|
|
55
|
+
*
|
|
56
|
+
* This is true by default for backwards compatibility reasons.
|
|
57
|
+
* Set this to `false` to skip requesting the total result count.
|
|
58
|
+
*
|
|
59
|
+
* See also {@link ResultSet.total}.
|
|
60
|
+
*/
|
|
61
|
+
queryTotal?: boolean;
|
|
53
62
|
/**
|
|
54
63
|
* An optional array of map action IDs.
|
|
55
64
|
* The associated map actions are triggered when an item is selected (see {@link ResultItem.select}).
|
|
@@ -113,8 +122,13 @@ interface ResultGroup {
|
|
|
113
122
|
interface ResultSet {
|
|
114
123
|
/** Result items, up to the requested amount. */
|
|
115
124
|
readonly items: ResultItem[];
|
|
116
|
-
/**
|
|
117
|
-
|
|
125
|
+
/**
|
|
126
|
+
* Total number of available results.
|
|
127
|
+
*
|
|
128
|
+
* This is present if the `queryTotal` option is set to `true` (the default).
|
|
129
|
+
* This is always undefined if `queryTotal` is set to `false`.
|
|
130
|
+
*/
|
|
131
|
+
readonly total: number | undefined;
|
|
118
132
|
/**
|
|
119
133
|
* Selects multiple items at once.
|
|
120
134
|
* The items must belong to this result set (from `this.items`).
|
package/search-api/package.json
CHANGED
package/search-ui/package.json
CHANGED
package/store-api/package.json
CHANGED
package/system/package.json
CHANGED
package/test-utils/package.json
CHANGED
package/toc/package.json
CHANGED