@arcgis/core 5.0.0-next.130 → 5.0.0-next.131
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/applications/Components/OrientedImageryViewer/galleryUtils.d.ts +45 -15
- package/applications/Components/QuantityFormatter.d.ts +11 -11
- package/applications/Components/SelectionOperation.d.ts +11 -11
- package/applications/Components/SketchTooltipControls.d.ts +9 -9
- package/applications/Components/actionUtils.d.ts +2 -1
- package/applications/Components/analysisUtils.d.ts +27 -26
- package/applications/Components/applySetUtils.d.ts +40 -40
- package/applications/Components/arcadeEditorUtils.d.ts +3 -3
- package/applications/Components/arcadeFeatureUtils.d.ts +12 -12
- package/applications/Components/baUtils.d.ts +8 -8
- package/applications/Components/basemapUtils.d.ts +2 -2
- package/applications/Components/clipboard.d.ts +14 -14
- package/applications/Components/drawUtils.d.ts +3 -3
- package/applications/Components/editUtils.d.ts +14 -14
- package/applications/Components/featureUtils.d.ts +10 -10
- package/applications/Components/fieldFormatUtils.d.ts +2 -2
- package/applications/Components/fontUtils.d.ts +2 -2
- package/applications/Components/formatUtils.d.ts +2 -2
- package/applications/Components/getDefaultUnits.d.ts +2 -2
- package/applications/Components/gfxUtils.d.ts +5 -1
- package/applications/Components/imageryUtils.d.ts +35 -35
- package/applications/Components/layerOriginUtils.d.ts +5 -5
- package/applications/Components/layersEffectsJsonUtils.d.ts +2 -2
- package/applications/Components/previewSymbol2D.d.ts +2 -2
- package/applications/Components/rasterFunctionEditorUtils.d.ts +40 -40
- package/applications/Components/reactiveUtils.d.ts +14 -13
- package/applications/Components/sanitizerUtils.d.ts +2 -2
- package/applications/Components/stringUtils.d.ts +5 -5
- package/applications/Components/styleUtils.d.ts +2 -2
- package/applications/Components/svgUtils.d.ts +4 -4
- package/applications/Components/symbolUtils.d.ts +47 -11
- package/applications/Components/templateUtils.d.ts +73 -17
- package/applications/Components/templateUtils.js +1 -1
- package/applications/Components/testUtils.d.ts +3 -3
- package/applications/Components/unitUtils.d.ts +1 -1
- package/applications/Components/viewUtils.d.ts +2 -2
- package/applications/Components/webStyleSymbolUtils.d.ts +2 -2
- package/applications/Excalibur/imageryLayerUtils.d.ts +3 -3
- package/applications/Excalibur/videoViewUtils.d.ts +8 -8
- package/applications/Excalibur/widgetUtils.d.ts +2 -2
- package/applications/ExperienceBuilder/sketchUtils.d.ts +7 -7
- package/applications/KnowledgeStudio/dataModelVisualization.d.ts +20 -8
- package/applications/KnowledgeStudio/generalSdkInternalAccess.d.ts +21 -21
- package/applications/KnowledgeStudio/generalSharedKgUtils.d.ts +35 -35
- package/applications/KnowledgeStudio/layerInternalAccessUtils.d.ts +9 -9
- package/applications/KnowledgeStudio/reshape.d.ts +40 -40
- package/applications/KnowledgeStudio/resourceSerializationUtils.d.ts +11 -11
- package/applications/MapViewer/layerUtils.d.ts +2 -2
- package/applications/MapViewer/mediaUtils.d.ts +13 -13
- package/applications/MapViewer/templateUtils.d.ts +20 -20
- package/applications/PortalApp/layerUtils.d.ts +2 -2
- package/applications/SceneViewer/colorUtils.d.ts +2 -2
- package/applications/SceneViewer/devEnvironmentUtils.d.ts +4 -3
- package/applications/SceneViewer/layerUtils.d.ts +3 -3
- package/applications/SceneViewer/sceneViewerUtils.d.ts +34 -34
- package/applications/SceneViewer/symbolUtils.d.ts +2 -2
- package/applications/Urban/LineImagePattern3D.d.ts +3 -2
- package/applications/Urban/imagePatternUtils.d.ts +4 -4
- package/applications/Urban/meshUtils.d.ts +2 -2
- package/applications/WebEditor/sketchUtils.d.ts +8 -8
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/1dcd057695f8db79eca2.js +1 -0
- package/assets/esri/core/workers/chunks/1f3074ab4dc6e2eff97e.js +1 -0
- package/assets/esri/core/workers/chunks/{5746140c33cb206ad4b8.js → 22181db586c6ccbcb279.js} +1 -1
- package/assets/esri/core/workers/chunks/58ef550435cef99d99ff.js +1 -0
- package/assets/esri/core/workers/chunks/{56e3c34ebdee61ff4b33.js → 75bf83c6367227712a11.js} +1 -1
- package/assets/esri/core/workers/chunks/844771d532b5352dc848.js +1 -0
- package/assets/esri/core/workers/chunks/{9332db133a0925d522fe.js → b9c9dd3621b92212b104.js} +1 -1
- package/assets/esri/core/workers/chunks/c3e4f8664988e50bda55.js +1 -0
- package/assets/esri/core/workers/chunks/cf100c80b75ba74b479c.js +1 -0
- package/assets/esri/core/workers/chunks/ef8cc520d3977759b80c.js +1 -0
- package/config.js +1 -1
- package/geometry/support/curves/curveUtils.js +1 -1
- package/geometry/support/curves/densifyCurvedGeometry.js +1 -1
- package/graphic/graphicOriginUtils.js +1 -1
- package/kernel.js +1 -1
- package/layers/WMTSLayer.js +1 -1
- package/layers/graphics/editingSupport.js +1 -1
- package/layers/support/Sublayer.d.ts +3 -0
- package/package.json +1 -1
- package/rest/featureService/FeatureService.js +1 -1
- package/smartMapping/support/utils.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/cim/GeometryWalker.js +1 -1
- package/symbols/cim/effects/EffectDashes.js +1 -1
- package/symbols/cim/placements/PlacementAlongLineSameSize.js +1 -1
- package/symbols/cim/placements/PlacementAtRatioPositions.js +1 -1
- package/symbols/cim/rasterizingUtils.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/View.d.ts +13 -2
- package/views/draw/support/Reshape.js +1 -1
- package/views/draw/support/reshapeUtils.js +1 -1
- package/views/interactive/support/utils.js +1 -1
- package/widgets/Attribution/AttributionViewModel.d.ts +3 -1
- package/widgets/Attribution/AttributionViewModel.js +1 -1
- package/widgets/Attribution.d.ts +1 -1
- package/widgets/Attribution.js +1 -1
- package/widgets/Editor/CreateFeaturesWorkflow.js +1 -1
- package/widgets/Editor/EditorViewModel.d.ts +2 -22
- package/widgets/Editor/EditorViewModel.js +1 -1
- package/widgets/Editor/SplitFeatureWorkflow.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/Editor/Workflow.js +1 -1
- package/widgets/Editor/support/SketchController.js +1 -1
- package/widgets/Editor/workflowUtils.js +1 -1
- package/widgets/Editor.d.ts +10 -15
- package/widgets/Editor.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.d.ts +0 -15
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/support/types.d.ts +0 -1
- package/widgets/FeatureTable.d.ts +1 -19
- package/widgets/FeatureTable.js +1 -1
- package/widgets/HistogramRangeSlider.d.ts +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/sketch/MeasurementAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/view/MapViewAdapter.js +1 -1
- package/widgets/PanoramicVideoViewer.js +1 -1
- package/widgets/PanoramicViewer/PanoramicVideoViewerViewModel.js +1 -1
- package/widgets/PanoramicViewer/support/PanoramicMedia.js +1 -1
- package/widgets/PanoramicViewer/support/PanoramicTileNode.js +1 -1
- package/widgets/PanoramicViewer/support/PanoramicTilePyramid.js +1 -1
- package/widgets/PanoramicViewer/utils.js +1 -1
- package/widgets/Sketch/SketchViewModel.d.ts +4 -22
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/Sketch/support/PluginManager.js +1 -1
- package/widgets/Sketch.d.ts +10 -17
- package/widgets/Sketch.js +1 -1
- package/assets/esri/core/workers/chunks/5a8b3e5977c233d5c9d0.js +0 -1
- package/assets/esri/core/workers/chunks/71ad08a5b69cf2e6714e.js +0 -1
- package/assets/esri/core/workers/chunks/7ec83fc059325e207825.js +0 -1
- package/assets/esri/core/workers/chunks/a7d4d257f49f3b153c26.js +0 -1
- package/assets/esri/core/workers/chunks/bf2bfc0d78be8c185d58.js +0 -1
- package/assets/esri/core/workers/chunks/e081d6f21a2c01ccaf61.js +0 -1
- package/assets/esri/core/workers/chunks/eae1c098c16e2faaf90d.js +0 -1
|
@@ -2,13 +2,13 @@ import type AlgorithmicColorRamp from "../../rest/support/AlgorithmicColorRamp.j
|
|
|
2
2
|
import type MultipartColorRamp from "../../rest/support/MultipartColorRamp.js";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* @
|
|
5
|
+
* @internal
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
8
8
|
export type Colormap = number[][];
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
|
-
* @
|
|
11
|
+
* @internal
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
14
|
export type Color = [
|
|
@@ -23,224 +23,224 @@ export type Color = [
|
|
|
23
23
|
];
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
|
-
* @
|
|
26
|
+
* @internal
|
|
27
27
|
* @internal
|
|
28
28
|
*/
|
|
29
29
|
export type AlgorithmType = "esriCIELabAlgorithm" | "esriHSVAlgorithm" | "esriLabLChAlgorithm";
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* @
|
|
32
|
+
* @internal
|
|
33
33
|
* @internal
|
|
34
34
|
*/
|
|
35
35
|
export interface AlgorithmicColorRampJSON {
|
|
36
36
|
/**
|
|
37
37
|
* The algorithm of the color ramp.
|
|
38
38
|
*
|
|
39
|
-
* @
|
|
39
|
+
* @internal
|
|
40
40
|
*/
|
|
41
41
|
algorithm: AlgorithmType;
|
|
42
42
|
/**
|
|
43
43
|
* From color.
|
|
44
44
|
*
|
|
45
|
-
* @
|
|
45
|
+
* @internal
|
|
46
46
|
*/
|
|
47
47
|
fromColor: Color;
|
|
48
48
|
/**
|
|
49
49
|
* To color.
|
|
50
50
|
*
|
|
51
|
-
* @
|
|
51
|
+
* @internal
|
|
52
52
|
*/
|
|
53
53
|
toColor: Color;
|
|
54
54
|
/**
|
|
55
55
|
* The type.
|
|
56
56
|
*
|
|
57
|
-
* @
|
|
57
|
+
* @internal
|
|
58
58
|
*/
|
|
59
59
|
type: "algorithmic";
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* @
|
|
63
|
+
* @internal
|
|
64
64
|
* @internal
|
|
65
65
|
*/
|
|
66
66
|
export interface AlgorithmicColorRampPart extends AlgorithmicColorRampJSON {
|
|
67
67
|
/**
|
|
68
68
|
* Start value.
|
|
69
69
|
*
|
|
70
|
-
* @
|
|
70
|
+
* @internal
|
|
71
71
|
*/
|
|
72
72
|
start?: number;
|
|
73
73
|
/**
|
|
74
74
|
* Stop value.
|
|
75
75
|
*
|
|
76
|
-
* @
|
|
76
|
+
* @internal
|
|
77
77
|
*/
|
|
78
78
|
stop?: number;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
|
-
* @
|
|
82
|
+
* @internal
|
|
83
83
|
* @internal
|
|
84
84
|
*/
|
|
85
85
|
export interface MultipartColorRampJSON {
|
|
86
86
|
/**
|
|
87
87
|
* The multipart color ramps.
|
|
88
88
|
*
|
|
89
|
-
* @
|
|
89
|
+
* @internal
|
|
90
90
|
*/
|
|
91
91
|
colorRamps: AlgorithmicColorRampPart[];
|
|
92
92
|
/**
|
|
93
93
|
* The type.
|
|
94
94
|
*
|
|
95
|
-
* @
|
|
95
|
+
* @internal
|
|
96
96
|
*/
|
|
97
97
|
type: "multipart";
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
|
-
* @
|
|
101
|
+
* @internal
|
|
102
102
|
* @internal
|
|
103
103
|
*/
|
|
104
104
|
export interface ColorRampOptions {
|
|
105
105
|
/**
|
|
106
106
|
* The number of colors in the color ramp.
|
|
107
107
|
*
|
|
108
|
-
* @
|
|
108
|
+
* @internal
|
|
109
109
|
*/
|
|
110
110
|
numColors?: number;
|
|
111
111
|
/**
|
|
112
112
|
* The distance offset.
|
|
113
113
|
*
|
|
114
|
-
* @
|
|
114
|
+
* @internal
|
|
115
115
|
*/
|
|
116
116
|
distanceOffset?: number;
|
|
117
117
|
/**
|
|
118
118
|
* The distance interval.
|
|
119
119
|
*
|
|
120
|
-
* @
|
|
120
|
+
* @internal
|
|
121
121
|
*/
|
|
122
122
|
distanceInterval?: number;
|
|
123
123
|
/**
|
|
124
124
|
* The interpolate alpha flag.
|
|
125
125
|
*
|
|
126
|
-
* @
|
|
126
|
+
* @internal
|
|
127
127
|
*/
|
|
128
128
|
interpolateAlpha?: boolean;
|
|
129
129
|
/**
|
|
130
130
|
* The weights array.
|
|
131
131
|
*
|
|
132
|
-
* @
|
|
132
|
+
* @internal
|
|
133
133
|
*/
|
|
134
134
|
weights?: number[];
|
|
135
135
|
/**
|
|
136
136
|
* Whether it is custom interval.
|
|
137
137
|
*
|
|
138
|
-
* @
|
|
138
|
+
* @internal
|
|
139
139
|
*/
|
|
140
140
|
isCustomInterval?: boolean;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
* @
|
|
144
|
+
* @internal
|
|
145
145
|
* @internal
|
|
146
146
|
*/
|
|
147
147
|
export interface HsvColor {
|
|
148
148
|
/**
|
|
149
149
|
* The type.
|
|
150
150
|
*
|
|
151
|
-
* @
|
|
151
|
+
* @internal
|
|
152
152
|
*/
|
|
153
153
|
type: "HsvColor";
|
|
154
154
|
/**
|
|
155
155
|
* The Hue.
|
|
156
156
|
*
|
|
157
|
-
* @
|
|
157
|
+
* @internal
|
|
158
158
|
*/
|
|
159
159
|
Hue: number;
|
|
160
160
|
/**
|
|
161
161
|
* The Saturation.
|
|
162
162
|
*
|
|
163
|
-
* @
|
|
163
|
+
* @internal
|
|
164
164
|
*/
|
|
165
165
|
Saturation: number;
|
|
166
166
|
/**
|
|
167
167
|
* The value.
|
|
168
168
|
*
|
|
169
|
-
* @
|
|
169
|
+
* @internal
|
|
170
170
|
*/
|
|
171
171
|
Value: number;
|
|
172
172
|
/**
|
|
173
173
|
* The Alpha value.
|
|
174
174
|
*
|
|
175
|
-
* @
|
|
175
|
+
* @internal
|
|
176
176
|
*/
|
|
177
177
|
AlphaValue: number;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
/**
|
|
181
|
-
* @
|
|
181
|
+
* @internal
|
|
182
182
|
* @internal
|
|
183
183
|
*/
|
|
184
184
|
export interface AlgorithmColorRampArgValue {
|
|
185
185
|
/**
|
|
186
186
|
* The algorithm of the color ramp.
|
|
187
187
|
*
|
|
188
|
-
* @
|
|
188
|
+
* @internal
|
|
189
189
|
*/
|
|
190
190
|
Algorithm: AlgorithmType;
|
|
191
191
|
/**
|
|
192
192
|
* From color.
|
|
193
193
|
*
|
|
194
|
-
* @
|
|
194
|
+
* @internal
|
|
195
195
|
*/
|
|
196
196
|
FromColor: HsvColor;
|
|
197
197
|
/**
|
|
198
198
|
* To color.
|
|
199
199
|
*
|
|
200
|
-
* @
|
|
200
|
+
* @internal
|
|
201
201
|
*/
|
|
202
202
|
ToColor: HsvColor;
|
|
203
203
|
/**
|
|
204
204
|
* The type.
|
|
205
205
|
*
|
|
206
|
-
* @
|
|
206
|
+
* @internal
|
|
207
207
|
*/
|
|
208
208
|
readonly type: "AlgorithmicColorRamp";
|
|
209
209
|
/**
|
|
210
210
|
* The name.
|
|
211
211
|
*
|
|
212
|
-
* @
|
|
212
|
+
* @internal
|
|
213
213
|
*/
|
|
214
214
|
Name?: string;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
|
-
* @
|
|
218
|
+
* @internal
|
|
219
219
|
* @internal
|
|
220
220
|
*/
|
|
221
221
|
export interface MultipartColorRampArgValue {
|
|
222
222
|
/**
|
|
223
223
|
* The number of color ramps.
|
|
224
224
|
*
|
|
225
|
-
* @
|
|
225
|
+
* @internal
|
|
226
226
|
*/
|
|
227
227
|
NumColorRamps: number;
|
|
228
228
|
/**
|
|
229
229
|
* The array of multipart color ramps.
|
|
230
230
|
*
|
|
231
|
-
* @
|
|
231
|
+
* @internal
|
|
232
232
|
*/
|
|
233
233
|
ArrayOfColorRamp: AlgorithmColorRampArgValue[];
|
|
234
234
|
/**
|
|
235
235
|
* The name.
|
|
236
236
|
*
|
|
237
|
-
* @
|
|
237
|
+
* @internal
|
|
238
238
|
*/
|
|
239
239
|
Name: string;
|
|
240
240
|
/**
|
|
241
241
|
* The type.
|
|
242
242
|
*
|
|
243
|
-
* @
|
|
243
|
+
* @internal
|
|
244
244
|
*/
|
|
245
245
|
readonly type: "MultiPartColorRamp";
|
|
246
246
|
}
|
|
@@ -250,7 +250,7 @@ export interface MultipartColorRampArgValue {
|
|
|
250
250
|
*
|
|
251
251
|
* @param colorRamp
|
|
252
252
|
* @param options
|
|
253
|
-
* @
|
|
253
|
+
* @internal
|
|
254
254
|
* @internal
|
|
255
255
|
*/
|
|
256
256
|
export function convertColorRampToColormap(colorRamp: AlgorithmicColorRamp | MultipartColorRamp | AlgorithmicColorRampJSON | MultipartColorRampJSON, options?: ColorRampOptions): Colormap;
|
|
@@ -259,7 +259,7 @@ export function convertColorRampToColormap(colorRamp: AlgorithmicColorRamp | Mul
|
|
|
259
259
|
* Converts a ColorRamp object to color ramp format readable as part of RFTs.
|
|
260
260
|
*
|
|
261
261
|
* @param colorRamp
|
|
262
|
-
* @
|
|
262
|
+
* @internal
|
|
263
263
|
* @internal
|
|
264
264
|
*/
|
|
265
265
|
export function getRFxArgColorRampValue(colorRamp: AlgorithmicColorRamp | MultipartColorRamp): AlgorithmColorRampArgValue | MultipartColorRampArgValue | null | undefined;
|
|
@@ -2,67 +2,68 @@
|
|
|
2
2
|
* Utilities related to reactivity that we're not quite ready to expose in the public API but which are useful for
|
|
3
3
|
* internal component development.
|
|
4
4
|
*
|
|
5
|
-
* @
|
|
5
|
+
* @internal
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* @
|
|
10
|
+
* @internal
|
|
11
11
|
* @internal
|
|
12
12
|
*/
|
|
13
13
|
export interface Signal<T> {
|
|
14
|
+
/** @internal */
|
|
14
15
|
value: T;
|
|
15
16
|
/**
|
|
16
17
|
* @param mutateFn
|
|
17
|
-
* @
|
|
18
|
+
* @internal
|
|
18
19
|
*/
|
|
19
20
|
mutate(mutateFn: (value: T) => void): void;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
/**
|
|
23
|
-
* @
|
|
24
|
+
* @internal
|
|
24
25
|
* @internal
|
|
25
26
|
*/
|
|
26
27
|
export interface ReactiveObservable {
|
|
27
|
-
/** @
|
|
28
|
+
/** @internal */
|
|
28
29
|
notify(): void;
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
/**
|
|
32
|
-
* @
|
|
33
|
+
* @internal
|
|
33
34
|
* @internal
|
|
34
35
|
*/
|
|
35
36
|
export interface ReactiveTrackingTarget {
|
|
36
|
-
/** @
|
|
37
|
+
/** @internal */
|
|
37
38
|
clear(): void;
|
|
38
|
-
/** @
|
|
39
|
+
/** @internal */
|
|
39
40
|
destroy(): void;
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
/**
|
|
43
44
|
* @param initialValue
|
|
44
45
|
* @param equalityFunction
|
|
45
|
-
* @
|
|
46
|
+
* @internal
|
|
46
47
|
* @internal
|
|
47
48
|
*/
|
|
48
49
|
export function signal<T>(initialValue: T, equalityFunction?: (a: T, b: T) => boolean): Signal<T>;
|
|
49
50
|
|
|
50
51
|
/**
|
|
51
|
-
* @
|
|
52
|
+
* @internal
|
|
52
53
|
* @internal
|
|
53
54
|
*/
|
|
54
55
|
export function createObservable(): ReactiveObservable;
|
|
55
56
|
|
|
56
57
|
/**
|
|
57
58
|
* @param notify
|
|
58
|
-
* @
|
|
59
|
+
* @internal
|
|
59
60
|
* @internal
|
|
60
61
|
*/
|
|
61
62
|
export function createTrackingTarget(notify: () => void): ReactiveTrackingTarget;
|
|
62
63
|
|
|
63
64
|
/**
|
|
64
65
|
* @param observable
|
|
65
|
-
* @
|
|
66
|
+
* @internal
|
|
66
67
|
* @internal
|
|
67
68
|
*/
|
|
68
69
|
export function trackAccess(observable: ReactiveObservable): void;
|
|
@@ -70,7 +71,7 @@ export function trackAccess(observable: ReactiveObservable): void;
|
|
|
70
71
|
/**
|
|
71
72
|
* @param target
|
|
72
73
|
* @param callback
|
|
73
|
-
* @
|
|
74
|
+
* @internal
|
|
74
75
|
* @internal
|
|
75
76
|
*/
|
|
76
77
|
export function runTracked<T>(target: ReactiveTrackingTarget, callback: () => T): T | null;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Sanitiziing utils for Components.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* The rendering sanitizer for use in Components.
|
|
10
10
|
*
|
|
11
|
-
* @
|
|
11
|
+
* @internal
|
|
12
12
|
* @internal
|
|
13
13
|
*/
|
|
14
14
|
export const renderingSanitizer: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* String utils for Components.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* @param regExpString - The input string to escape.
|
|
12
12
|
* @param except - Special characters to be left unescaped.
|
|
13
13
|
* @returns A string with special characters escaped, except for those specified in `except`.
|
|
14
|
-
* @
|
|
14
|
+
* @internal
|
|
15
15
|
* @internal
|
|
16
16
|
*/
|
|
17
17
|
export function escapeRegExpString(regExpString: string, except?: string): string;
|
|
@@ -24,7 +24,7 @@ export function escapeRegExpString(regExpString: string, except?: string): strin
|
|
|
24
24
|
* @param map - Either a data object to lookup for the key's value
|
|
25
25
|
* or a function that will be called with the input key.
|
|
26
26
|
* @returns A string with the keys replaced.
|
|
27
|
-
* @
|
|
27
|
+
* @internal
|
|
28
28
|
* @internal
|
|
29
29
|
*/
|
|
30
30
|
export function replace(template: string, map: object | ((substring: string) => string) | null | undefined): string;
|
|
@@ -34,7 +34,7 @@ export function replace(template: string, map: object | ((substring: string) =>
|
|
|
34
34
|
*
|
|
35
35
|
* @param html - The HTML source code from which to remove tags.
|
|
36
36
|
* @returns A string in which all HTML tags have been removed.
|
|
37
|
-
* @
|
|
37
|
+
* @internal
|
|
38
38
|
* @internal
|
|
39
39
|
*/
|
|
40
40
|
export function stripHTML(html: string): string;
|
|
@@ -45,7 +45,7 @@ export function stripHTML(html: string): string;
|
|
|
45
45
|
* @param template - The template string containing the potential key.
|
|
46
46
|
* @param key - The key string to look for in the template.
|
|
47
47
|
* @returns A boolean indicating whether or not the key is contained in the template.
|
|
48
|
-
* @
|
|
48
|
+
* @internal
|
|
49
49
|
* @internal
|
|
50
50
|
*/
|
|
51
51
|
export function templateHasKey(template: string, key: string): boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Style utils for Components.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* @param item
|
|
12
12
|
* @param type
|
|
13
|
-
* @
|
|
13
|
+
* @internal
|
|
14
14
|
* @internal
|
|
15
15
|
*/
|
|
16
16
|
export function symbolUrlFromStyleItem(item: object, type: string): string | null | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* SVG utils for Components.
|
|
3
3
|
*
|
|
4
|
-
* @
|
|
4
|
+
* @internal
|
|
5
5
|
* @internal
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Calculates and returns the bounding box for a given shape.
|
|
10
10
|
*
|
|
11
11
|
* @param shape
|
|
12
|
-
* @
|
|
12
|
+
* @internal
|
|
13
13
|
* @internal
|
|
14
14
|
*/
|
|
15
15
|
export function getBoundingBox(shape: any): any;
|
|
@@ -18,7 +18,7 @@ export function getBoundingBox(shape: any): any;
|
|
|
18
18
|
* Computes and returns the bounding box that encompasses all given bounding boxes.
|
|
19
19
|
*
|
|
20
20
|
* @param bboxes
|
|
21
|
-
* @
|
|
21
|
+
* @internal
|
|
22
22
|
* @internal
|
|
23
23
|
*/
|
|
24
24
|
export function computeBBox(bboxes: any[]): any | null | undefined;
|
|
@@ -35,7 +35,7 @@ export function computeBBox(bboxes: any[]): any | null | undefined;
|
|
|
35
35
|
* @param useRotationSize
|
|
36
36
|
* @param offset
|
|
37
37
|
* @param bloomSize
|
|
38
|
-
* @
|
|
38
|
+
* @internal
|
|
39
39
|
* @internal
|
|
40
40
|
*/
|
|
41
41
|
export function getTransformMatrix(bbox: any, width: number, height: number, overallStrokeWidth: number, scale: boolean, rotation: number | null | undefined, useRotationSize: boolean, offset?: [
|
|
@@ -2,27 +2,63 @@ import type Graphic from "../../Graphic.js";
|
|
|
2
2
|
import type { SymbolUnion } from "../../symbols/types.js";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* @
|
|
5
|
+
* @internal
|
|
6
6
|
* @internal
|
|
7
7
|
*/
|
|
8
8
|
export interface PreviewGraphicOptions {
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Use actual graphic geometry for swatch
|
|
11
|
+
*
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
10
14
|
useGeometryForShape: boolean;
|
|
11
|
-
/**
|
|
15
|
+
/**
|
|
16
|
+
* Format of generated preview image
|
|
17
|
+
*
|
|
18
|
+
* @internal
|
|
19
|
+
*/
|
|
12
20
|
format?: null | undefined | "element" | "string";
|
|
13
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Use marker symbol size
|
|
23
|
+
*
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
14
26
|
useMarkerSymbolSize?: boolean;
|
|
15
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Width in pixels for the generated preview image
|
|
29
|
+
*
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
16
32
|
widthInPixels?: number;
|
|
17
|
-
/**
|
|
33
|
+
/**
|
|
34
|
+
* Height in pixels for the generated preview image
|
|
35
|
+
*
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
18
38
|
heightInPixels?: number;
|
|
19
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Symbol to use, if no symbol is found.
|
|
41
|
+
*
|
|
42
|
+
* @internal
|
|
43
|
+
*/
|
|
20
44
|
fallbackSymbol?: null | undefined | SymbolUnion;
|
|
21
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Ignore opacity of symbol
|
|
47
|
+
*
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
22
50
|
ignoreOpacity?: boolean;
|
|
23
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* Ignore rotation variables
|
|
53
|
+
*
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
24
56
|
ignoreRotationVariables?: boolean;
|
|
25
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* Ignore size variables
|
|
59
|
+
*
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
26
62
|
ignoreSizeVariables?: boolean;
|
|
27
63
|
}
|
|
28
64
|
|
|
@@ -31,7 +67,7 @@ export interface PreviewGraphicOptions {
|
|
|
31
67
|
*
|
|
32
68
|
* @param graphic
|
|
33
69
|
* @param options
|
|
34
|
-
* @
|
|
70
|
+
* @internal
|
|
35
71
|
* @internal
|
|
36
72
|
*/
|
|
37
73
|
export function previewGraphic(graphic: Graphic | null, options: PreviewGraphicOptions): Promise<HTMLElement | string | null>;
|