@agentic-ui-experience/ui-arcgis 0.0.1-beta.2

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/dist/api.d.ts ADDED
@@ -0,0 +1,1563 @@
1
+ import { z } from "@agentic-ui-experience/ui-runtime";
2
+ export declare const ArcGISBasemaps: readonly ["arcgis/topographic", "arcgis/streets", "arcgis/navigation", "arcgis/light-gray", "arcgis/dark-gray", "arcgis/imagery", "arcgis/outdoor", "portal/default"];
3
+ export type ArcGISBasemap = (typeof ArcGISBasemaps)[number];
4
+ export declare const defaultArcGISBasemap: ArcGISBasemap;
5
+ export declare const defaultArcGISMapControls: {
6
+ readonly zoom: true;
7
+ readonly legend: false;
8
+ readonly layerList: false;
9
+ readonly search: false;
10
+ };
11
+ declare const ArcGISMapControlsSchema: z.ZodObject<{
12
+ zoom: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
13
+ path: z.ZodString;
14
+ }, "strip", z.ZodTypeAny, {
15
+ path: string;
16
+ }, {
17
+ path: string;
18
+ }>, z.ZodObject<{
19
+ call: z.ZodString;
20
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
21
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
22
+ }, "strip", z.ZodTypeAny, {
23
+ call: string;
24
+ args: Record<string, any>;
25
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
26
+ }, {
27
+ call: string;
28
+ args: Record<string, any>;
29
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
30
+ }>]>>;
31
+ legend: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
32
+ path: z.ZodString;
33
+ }, "strip", z.ZodTypeAny, {
34
+ path: string;
35
+ }, {
36
+ path: string;
37
+ }>, z.ZodObject<{
38
+ call: z.ZodString;
39
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
40
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ call: string;
43
+ args: Record<string, any>;
44
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
45
+ }, {
46
+ call: string;
47
+ args: Record<string, any>;
48
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
49
+ }>]>>;
50
+ layerList: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
51
+ path: z.ZodString;
52
+ }, "strip", z.ZodTypeAny, {
53
+ path: string;
54
+ }, {
55
+ path: string;
56
+ }>, z.ZodObject<{
57
+ call: z.ZodString;
58
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
59
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
60
+ }, "strip", z.ZodTypeAny, {
61
+ call: string;
62
+ args: Record<string, any>;
63
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
64
+ }, {
65
+ call: string;
66
+ args: Record<string, any>;
67
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
68
+ }>]>>;
69
+ search: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
70
+ path: z.ZodString;
71
+ }, "strip", z.ZodTypeAny, {
72
+ path: string;
73
+ }, {
74
+ path: string;
75
+ }>, z.ZodObject<{
76
+ call: z.ZodString;
77
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
78
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
79
+ }, "strip", z.ZodTypeAny, {
80
+ call: string;
81
+ args: Record<string, any>;
82
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
83
+ }, {
84
+ call: string;
85
+ args: Record<string, any>;
86
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
87
+ }>]>>;
88
+ }, "strict", z.ZodTypeAny, {
89
+ zoom?: boolean | {
90
+ path: string;
91
+ } | {
92
+ call: string;
93
+ args: Record<string, any>;
94
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
95
+ } | undefined;
96
+ legend?: boolean | {
97
+ path: string;
98
+ } | {
99
+ call: string;
100
+ args: Record<string, any>;
101
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
102
+ } | undefined;
103
+ layerList?: boolean | {
104
+ path: string;
105
+ } | {
106
+ call: string;
107
+ args: Record<string, any>;
108
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
109
+ } | undefined;
110
+ search?: boolean | {
111
+ path: string;
112
+ } | {
113
+ call: string;
114
+ args: Record<string, any>;
115
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
116
+ } | undefined;
117
+ }, {
118
+ zoom?: boolean | {
119
+ path: string;
120
+ } | {
121
+ call: string;
122
+ args: Record<string, any>;
123
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
124
+ } | undefined;
125
+ legend?: boolean | {
126
+ path: string;
127
+ } | {
128
+ call: string;
129
+ args: Record<string, any>;
130
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
131
+ } | undefined;
132
+ layerList?: boolean | {
133
+ path: string;
134
+ } | {
135
+ call: string;
136
+ args: Record<string, any>;
137
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
138
+ } | undefined;
139
+ search?: boolean | {
140
+ path: string;
141
+ } | {
142
+ call: string;
143
+ args: Record<string, any>;
144
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
145
+ } | undefined;
146
+ }>;
147
+ declare const ArcGISMapSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
148
+ type: z.ZodLiteral<"webmap">;
149
+ itemId: z.ZodUnion<[z.ZodString, z.ZodObject<{
150
+ path: z.ZodString;
151
+ }, "strip", z.ZodTypeAny, {
152
+ path: string;
153
+ }, {
154
+ path: string;
155
+ }>, z.ZodObject<{
156
+ call: z.ZodString;
157
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
158
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
159
+ }, "strip", z.ZodTypeAny, {
160
+ call: string;
161
+ args: Record<string, any>;
162
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
163
+ }, {
164
+ call: string;
165
+ args: Record<string, any>;
166
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
167
+ }>]>;
168
+ }, "strict", z.ZodTypeAny, {
169
+ type: "webmap";
170
+ itemId: string | {
171
+ path: string;
172
+ } | {
173
+ call: string;
174
+ args: Record<string, any>;
175
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
176
+ };
177
+ }, {
178
+ type: "webmap";
179
+ itemId: string | {
180
+ path: string;
181
+ } | {
182
+ call: string;
183
+ args: Record<string, any>;
184
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
185
+ };
186
+ }>, z.ZodObject<{
187
+ type: z.ZodLiteral<"basemap">;
188
+ basemap: z.ZodOptional<z.ZodEnum<["arcgis/topographic", "arcgis/streets", "arcgis/navigation", "arcgis/light-gray", "arcgis/dark-gray", "arcgis/imagery", "arcgis/outdoor", "portal/default"]>>;
189
+ center: z.ZodObject<{
190
+ latitude: z.ZodUnion<[z.ZodNumber, z.ZodObject<{
191
+ path: z.ZodString;
192
+ }, "strip", z.ZodTypeAny, {
193
+ path: string;
194
+ }, {
195
+ path: string;
196
+ }>, z.ZodObject<{
197
+ call: z.ZodString;
198
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
199
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
200
+ }, "strip", z.ZodTypeAny, {
201
+ call: string;
202
+ args: Record<string, any>;
203
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
204
+ }, {
205
+ call: string;
206
+ args: Record<string, any>;
207
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
208
+ }>]>;
209
+ longitude: z.ZodUnion<[z.ZodNumber, z.ZodObject<{
210
+ path: z.ZodString;
211
+ }, "strip", z.ZodTypeAny, {
212
+ path: string;
213
+ }, {
214
+ path: string;
215
+ }>, z.ZodObject<{
216
+ call: z.ZodString;
217
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
218
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
219
+ }, "strip", z.ZodTypeAny, {
220
+ call: string;
221
+ args: Record<string, any>;
222
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
223
+ }, {
224
+ call: string;
225
+ args: Record<string, any>;
226
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
227
+ }>]>;
228
+ }, "strict", z.ZodTypeAny, {
229
+ latitude: number | {
230
+ path: string;
231
+ } | {
232
+ call: string;
233
+ args: Record<string, any>;
234
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
235
+ };
236
+ longitude: number | {
237
+ path: string;
238
+ } | {
239
+ call: string;
240
+ args: Record<string, any>;
241
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
242
+ };
243
+ }, {
244
+ latitude: number | {
245
+ path: string;
246
+ } | {
247
+ call: string;
248
+ args: Record<string, any>;
249
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
250
+ };
251
+ longitude: number | {
252
+ path: string;
253
+ } | {
254
+ call: string;
255
+ args: Record<string, any>;
256
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
257
+ };
258
+ }>;
259
+ zoom: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
260
+ path: z.ZodString;
261
+ }, "strip", z.ZodTypeAny, {
262
+ path: string;
263
+ }, {
264
+ path: string;
265
+ }>, z.ZodObject<{
266
+ call: z.ZodString;
267
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
268
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
269
+ }, "strip", z.ZodTypeAny, {
270
+ call: string;
271
+ args: Record<string, any>;
272
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
273
+ }, {
274
+ call: string;
275
+ args: Record<string, any>;
276
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
277
+ }>]>>;
278
+ }, "strict", z.ZodTypeAny, {
279
+ type: "basemap";
280
+ center: {
281
+ latitude: number | {
282
+ path: string;
283
+ } | {
284
+ call: string;
285
+ args: Record<string, any>;
286
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
287
+ };
288
+ longitude: number | {
289
+ path: string;
290
+ } | {
291
+ call: string;
292
+ args: Record<string, any>;
293
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
294
+ };
295
+ };
296
+ zoom?: number | {
297
+ path: string;
298
+ } | {
299
+ call: string;
300
+ args: Record<string, any>;
301
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
302
+ } | undefined;
303
+ basemap?: "arcgis/topographic" | "arcgis/streets" | "arcgis/navigation" | "arcgis/light-gray" | "arcgis/dark-gray" | "arcgis/imagery" | "arcgis/outdoor" | "portal/default" | undefined;
304
+ }, {
305
+ type: "basemap";
306
+ center: {
307
+ latitude: number | {
308
+ path: string;
309
+ } | {
310
+ call: string;
311
+ args: Record<string, any>;
312
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
313
+ };
314
+ longitude: number | {
315
+ path: string;
316
+ } | {
317
+ call: string;
318
+ args: Record<string, any>;
319
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
320
+ };
321
+ };
322
+ zoom?: number | {
323
+ path: string;
324
+ } | {
325
+ call: string;
326
+ args: Record<string, any>;
327
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
328
+ } | undefined;
329
+ basemap?: "arcgis/topographic" | "arcgis/streets" | "arcgis/navigation" | "arcgis/light-gray" | "arcgis/dark-gray" | "arcgis/imagery" | "arcgis/outdoor" | "portal/default" | undefined;
330
+ }>]>;
331
+ export declare const ArcGISMapViewPropsSchema: z.ZodObject<{
332
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
333
+ path: z.ZodString;
334
+ }, "strip", z.ZodTypeAny, {
335
+ path: string;
336
+ }, {
337
+ path: string;
338
+ }>, z.ZodObject<{
339
+ call: z.ZodString;
340
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
341
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
342
+ }, "strip", z.ZodTypeAny, {
343
+ call: string;
344
+ args: Record<string, any>;
345
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
346
+ }, {
347
+ call: string;
348
+ args: Record<string, any>;
349
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
350
+ }>]>>;
351
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
352
+ path: z.ZodString;
353
+ }, "strip", z.ZodTypeAny, {
354
+ path: string;
355
+ }, {
356
+ path: string;
357
+ }>, z.ZodObject<{
358
+ call: z.ZodString;
359
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
360
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
361
+ }, "strip", z.ZodTypeAny, {
362
+ call: string;
363
+ args: Record<string, any>;
364
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
365
+ }, {
366
+ call: string;
367
+ args: Record<string, any>;
368
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
369
+ }>]>>;
370
+ source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
371
+ type: z.ZodLiteral<"webmap">;
372
+ itemId: z.ZodUnion<[z.ZodString, z.ZodObject<{
373
+ path: z.ZodString;
374
+ }, "strip", z.ZodTypeAny, {
375
+ path: string;
376
+ }, {
377
+ path: string;
378
+ }>, z.ZodObject<{
379
+ call: z.ZodString;
380
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
381
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
382
+ }, "strip", z.ZodTypeAny, {
383
+ call: string;
384
+ args: Record<string, any>;
385
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
386
+ }, {
387
+ call: string;
388
+ args: Record<string, any>;
389
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
390
+ }>]>;
391
+ }, "strict", z.ZodTypeAny, {
392
+ type: "webmap";
393
+ itemId: string | {
394
+ path: string;
395
+ } | {
396
+ call: string;
397
+ args: Record<string, any>;
398
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
399
+ };
400
+ }, {
401
+ type: "webmap";
402
+ itemId: string | {
403
+ path: string;
404
+ } | {
405
+ call: string;
406
+ args: Record<string, any>;
407
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
408
+ };
409
+ }>, z.ZodObject<{
410
+ type: z.ZodLiteral<"basemap">;
411
+ basemap: z.ZodOptional<z.ZodEnum<["arcgis/topographic", "arcgis/streets", "arcgis/navigation", "arcgis/light-gray", "arcgis/dark-gray", "arcgis/imagery", "arcgis/outdoor", "portal/default"]>>;
412
+ center: z.ZodObject<{
413
+ latitude: z.ZodUnion<[z.ZodNumber, z.ZodObject<{
414
+ path: z.ZodString;
415
+ }, "strip", z.ZodTypeAny, {
416
+ path: string;
417
+ }, {
418
+ path: string;
419
+ }>, z.ZodObject<{
420
+ call: z.ZodString;
421
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
422
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
423
+ }, "strip", z.ZodTypeAny, {
424
+ call: string;
425
+ args: Record<string, any>;
426
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
427
+ }, {
428
+ call: string;
429
+ args: Record<string, any>;
430
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
431
+ }>]>;
432
+ longitude: z.ZodUnion<[z.ZodNumber, z.ZodObject<{
433
+ path: z.ZodString;
434
+ }, "strip", z.ZodTypeAny, {
435
+ path: string;
436
+ }, {
437
+ path: string;
438
+ }>, z.ZodObject<{
439
+ call: z.ZodString;
440
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
441
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
442
+ }, "strip", z.ZodTypeAny, {
443
+ call: string;
444
+ args: Record<string, any>;
445
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
446
+ }, {
447
+ call: string;
448
+ args: Record<string, any>;
449
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
450
+ }>]>;
451
+ }, "strict", z.ZodTypeAny, {
452
+ latitude: number | {
453
+ path: string;
454
+ } | {
455
+ call: string;
456
+ args: Record<string, any>;
457
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
458
+ };
459
+ longitude: number | {
460
+ path: string;
461
+ } | {
462
+ call: string;
463
+ args: Record<string, any>;
464
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
465
+ };
466
+ }, {
467
+ latitude: number | {
468
+ path: string;
469
+ } | {
470
+ call: string;
471
+ args: Record<string, any>;
472
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
473
+ };
474
+ longitude: number | {
475
+ path: string;
476
+ } | {
477
+ call: string;
478
+ args: Record<string, any>;
479
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
480
+ };
481
+ }>;
482
+ zoom: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
483
+ path: z.ZodString;
484
+ }, "strip", z.ZodTypeAny, {
485
+ path: string;
486
+ }, {
487
+ path: string;
488
+ }>, z.ZodObject<{
489
+ call: z.ZodString;
490
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
491
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
492
+ }, "strip", z.ZodTypeAny, {
493
+ call: string;
494
+ args: Record<string, any>;
495
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
496
+ }, {
497
+ call: string;
498
+ args: Record<string, any>;
499
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
500
+ }>]>>;
501
+ }, "strict", z.ZodTypeAny, {
502
+ type: "basemap";
503
+ center: {
504
+ latitude: number | {
505
+ path: string;
506
+ } | {
507
+ call: string;
508
+ args: Record<string, any>;
509
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
510
+ };
511
+ longitude: number | {
512
+ path: string;
513
+ } | {
514
+ call: string;
515
+ args: Record<string, any>;
516
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
517
+ };
518
+ };
519
+ zoom?: number | {
520
+ path: string;
521
+ } | {
522
+ call: string;
523
+ args: Record<string, any>;
524
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
525
+ } | undefined;
526
+ basemap?: "arcgis/topographic" | "arcgis/streets" | "arcgis/navigation" | "arcgis/light-gray" | "arcgis/dark-gray" | "arcgis/imagery" | "arcgis/outdoor" | "portal/default" | undefined;
527
+ }, {
528
+ type: "basemap";
529
+ center: {
530
+ latitude: number | {
531
+ path: string;
532
+ } | {
533
+ call: string;
534
+ args: Record<string, any>;
535
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
536
+ };
537
+ longitude: number | {
538
+ path: string;
539
+ } | {
540
+ call: string;
541
+ args: Record<string, any>;
542
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
543
+ };
544
+ };
545
+ zoom?: number | {
546
+ path: string;
547
+ } | {
548
+ call: string;
549
+ args: Record<string, any>;
550
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
551
+ } | undefined;
552
+ basemap?: "arcgis/topographic" | "arcgis/streets" | "arcgis/navigation" | "arcgis/light-gray" | "arcgis/dark-gray" | "arcgis/imagery" | "arcgis/outdoor" | "portal/default" | undefined;
553
+ }>]>;
554
+ controls: z.ZodOptional<z.ZodObject<{
555
+ zoom: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
556
+ path: z.ZodString;
557
+ }, "strip", z.ZodTypeAny, {
558
+ path: string;
559
+ }, {
560
+ path: string;
561
+ }>, z.ZodObject<{
562
+ call: z.ZodString;
563
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
564
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
565
+ }, "strip", z.ZodTypeAny, {
566
+ call: string;
567
+ args: Record<string, any>;
568
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
569
+ }, {
570
+ call: string;
571
+ args: Record<string, any>;
572
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
573
+ }>]>>;
574
+ legend: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
575
+ path: z.ZodString;
576
+ }, "strip", z.ZodTypeAny, {
577
+ path: string;
578
+ }, {
579
+ path: string;
580
+ }>, z.ZodObject<{
581
+ call: z.ZodString;
582
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
583
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
584
+ }, "strip", z.ZodTypeAny, {
585
+ call: string;
586
+ args: Record<string, any>;
587
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
588
+ }, {
589
+ call: string;
590
+ args: Record<string, any>;
591
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
592
+ }>]>>;
593
+ layerList: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
594
+ path: z.ZodString;
595
+ }, "strip", z.ZodTypeAny, {
596
+ path: string;
597
+ }, {
598
+ path: string;
599
+ }>, z.ZodObject<{
600
+ call: z.ZodString;
601
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
602
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
603
+ }, "strip", z.ZodTypeAny, {
604
+ call: string;
605
+ args: Record<string, any>;
606
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
607
+ }, {
608
+ call: string;
609
+ args: Record<string, any>;
610
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
611
+ }>]>>;
612
+ search: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
613
+ path: z.ZodString;
614
+ }, "strip", z.ZodTypeAny, {
615
+ path: string;
616
+ }, {
617
+ path: string;
618
+ }>, z.ZodObject<{
619
+ call: z.ZodString;
620
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
621
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
622
+ }, "strip", z.ZodTypeAny, {
623
+ call: string;
624
+ args: Record<string, any>;
625
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
626
+ }, {
627
+ call: string;
628
+ args: Record<string, any>;
629
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
630
+ }>]>>;
631
+ }, "strict", z.ZodTypeAny, {
632
+ zoom?: boolean | {
633
+ path: string;
634
+ } | {
635
+ call: string;
636
+ args: Record<string, any>;
637
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
638
+ } | undefined;
639
+ legend?: boolean | {
640
+ path: string;
641
+ } | {
642
+ call: string;
643
+ args: Record<string, any>;
644
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
645
+ } | undefined;
646
+ layerList?: boolean | {
647
+ path: string;
648
+ } | {
649
+ call: string;
650
+ args: Record<string, any>;
651
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
652
+ } | undefined;
653
+ search?: boolean | {
654
+ path: string;
655
+ } | {
656
+ call: string;
657
+ args: Record<string, any>;
658
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
659
+ } | undefined;
660
+ }, {
661
+ zoom?: boolean | {
662
+ path: string;
663
+ } | {
664
+ call: string;
665
+ args: Record<string, any>;
666
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
667
+ } | undefined;
668
+ legend?: boolean | {
669
+ path: string;
670
+ } | {
671
+ call: string;
672
+ args: Record<string, any>;
673
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
674
+ } | undefined;
675
+ layerList?: boolean | {
676
+ path: string;
677
+ } | {
678
+ call: string;
679
+ args: Record<string, any>;
680
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
681
+ } | undefined;
682
+ search?: boolean | {
683
+ path: string;
684
+ } | {
685
+ call: string;
686
+ args: Record<string, any>;
687
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
688
+ } | undefined;
689
+ }>>;
690
+ height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
691
+ path: z.ZodString;
692
+ }, "strip", z.ZodTypeAny, {
693
+ path: string;
694
+ }, {
695
+ path: string;
696
+ }>, z.ZodObject<{
697
+ call: z.ZodString;
698
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
699
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
700
+ }, "strip", z.ZodTypeAny, {
701
+ call: string;
702
+ args: Record<string, any>;
703
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
704
+ }, {
705
+ call: string;
706
+ args: Record<string, any>;
707
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
708
+ }>]>, number | {
709
+ path: string;
710
+ } | {
711
+ call: string;
712
+ args: Record<string, any>;
713
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
714
+ }, number | {
715
+ path: string;
716
+ } | {
717
+ call: string;
718
+ args: Record<string, any>;
719
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
720
+ }>>;
721
+ openInArcGIS: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
722
+ path: z.ZodString;
723
+ }, "strip", z.ZodTypeAny, {
724
+ path: string;
725
+ }, {
726
+ path: string;
727
+ }>, z.ZodObject<{
728
+ call: z.ZodString;
729
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
730
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
731
+ }, "strip", z.ZodTypeAny, {
732
+ call: string;
733
+ args: Record<string, any>;
734
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
735
+ }, {
736
+ call: string;
737
+ args: Record<string, any>;
738
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
739
+ }>]>>;
740
+ }, "strict", z.ZodTypeAny, {
741
+ source: {
742
+ type: "webmap";
743
+ itemId: string | {
744
+ path: string;
745
+ } | {
746
+ call: string;
747
+ args: Record<string, any>;
748
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
749
+ };
750
+ } | {
751
+ type: "basemap";
752
+ center: {
753
+ latitude: number | {
754
+ path: string;
755
+ } | {
756
+ call: string;
757
+ args: Record<string, any>;
758
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
759
+ };
760
+ longitude: number | {
761
+ path: string;
762
+ } | {
763
+ call: string;
764
+ args: Record<string, any>;
765
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
766
+ };
767
+ };
768
+ zoom?: number | {
769
+ path: string;
770
+ } | {
771
+ call: string;
772
+ args: Record<string, any>;
773
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
774
+ } | undefined;
775
+ basemap?: "arcgis/topographic" | "arcgis/streets" | "arcgis/navigation" | "arcgis/light-gray" | "arcgis/dark-gray" | "arcgis/imagery" | "arcgis/outdoor" | "portal/default" | undefined;
776
+ };
777
+ title?: string | {
778
+ path: string;
779
+ } | {
780
+ call: string;
781
+ args: Record<string, any>;
782
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
783
+ } | undefined;
784
+ description?: string | {
785
+ path: string;
786
+ } | {
787
+ call: string;
788
+ args: Record<string, any>;
789
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
790
+ } | undefined;
791
+ controls?: {
792
+ zoom?: boolean | {
793
+ path: string;
794
+ } | {
795
+ call: string;
796
+ args: Record<string, any>;
797
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
798
+ } | undefined;
799
+ legend?: boolean | {
800
+ path: string;
801
+ } | {
802
+ call: string;
803
+ args: Record<string, any>;
804
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
805
+ } | undefined;
806
+ layerList?: boolean | {
807
+ path: string;
808
+ } | {
809
+ call: string;
810
+ args: Record<string, any>;
811
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
812
+ } | undefined;
813
+ search?: boolean | {
814
+ path: string;
815
+ } | {
816
+ call: string;
817
+ args: Record<string, any>;
818
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
819
+ } | undefined;
820
+ } | undefined;
821
+ height?: number | {
822
+ path: string;
823
+ } | {
824
+ call: string;
825
+ args: Record<string, any>;
826
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
827
+ } | undefined;
828
+ openInArcGIS?: boolean | {
829
+ path: string;
830
+ } | {
831
+ call: string;
832
+ args: Record<string, any>;
833
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
834
+ } | undefined;
835
+ }, {
836
+ source: {
837
+ type: "webmap";
838
+ itemId: string | {
839
+ path: string;
840
+ } | {
841
+ call: string;
842
+ args: Record<string, any>;
843
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
844
+ };
845
+ } | {
846
+ type: "basemap";
847
+ center: {
848
+ latitude: number | {
849
+ path: string;
850
+ } | {
851
+ call: string;
852
+ args: Record<string, any>;
853
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
854
+ };
855
+ longitude: number | {
856
+ path: string;
857
+ } | {
858
+ call: string;
859
+ args: Record<string, any>;
860
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
861
+ };
862
+ };
863
+ zoom?: number | {
864
+ path: string;
865
+ } | {
866
+ call: string;
867
+ args: Record<string, any>;
868
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
869
+ } | undefined;
870
+ basemap?: "arcgis/topographic" | "arcgis/streets" | "arcgis/navigation" | "arcgis/light-gray" | "arcgis/dark-gray" | "arcgis/imagery" | "arcgis/outdoor" | "portal/default" | undefined;
871
+ };
872
+ title?: string | {
873
+ path: string;
874
+ } | {
875
+ call: string;
876
+ args: Record<string, any>;
877
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
878
+ } | undefined;
879
+ description?: string | {
880
+ path: string;
881
+ } | {
882
+ call: string;
883
+ args: Record<string, any>;
884
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
885
+ } | undefined;
886
+ controls?: {
887
+ zoom?: boolean | {
888
+ path: string;
889
+ } | {
890
+ call: string;
891
+ args: Record<string, any>;
892
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
893
+ } | undefined;
894
+ legend?: boolean | {
895
+ path: string;
896
+ } | {
897
+ call: string;
898
+ args: Record<string, any>;
899
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
900
+ } | undefined;
901
+ layerList?: boolean | {
902
+ path: string;
903
+ } | {
904
+ call: string;
905
+ args: Record<string, any>;
906
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
907
+ } | undefined;
908
+ search?: boolean | {
909
+ path: string;
910
+ } | {
911
+ call: string;
912
+ args: Record<string, any>;
913
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
914
+ } | undefined;
915
+ } | undefined;
916
+ height?: number | {
917
+ path: string;
918
+ } | {
919
+ call: string;
920
+ args: Record<string, any>;
921
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
922
+ } | undefined;
923
+ openInArcGIS?: boolean | {
924
+ path: string;
925
+ } | {
926
+ call: string;
927
+ args: Record<string, any>;
928
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
929
+ } | undefined;
930
+ }>;
931
+ export declare const ArcGISMapViewApi: {
932
+ name: string;
933
+ schema: z.ZodObject<{
934
+ title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
935
+ path: z.ZodString;
936
+ }, "strip", z.ZodTypeAny, {
937
+ path: string;
938
+ }, {
939
+ path: string;
940
+ }>, z.ZodObject<{
941
+ call: z.ZodString;
942
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
943
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
944
+ }, "strip", z.ZodTypeAny, {
945
+ call: string;
946
+ args: Record<string, any>;
947
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
948
+ }, {
949
+ call: string;
950
+ args: Record<string, any>;
951
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
952
+ }>]>>;
953
+ description: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
954
+ path: z.ZodString;
955
+ }, "strip", z.ZodTypeAny, {
956
+ path: string;
957
+ }, {
958
+ path: string;
959
+ }>, z.ZodObject<{
960
+ call: z.ZodString;
961
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
962
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
963
+ }, "strip", z.ZodTypeAny, {
964
+ call: string;
965
+ args: Record<string, any>;
966
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
967
+ }, {
968
+ call: string;
969
+ args: Record<string, any>;
970
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
971
+ }>]>>;
972
+ source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
973
+ type: z.ZodLiteral<"webmap">;
974
+ itemId: z.ZodUnion<[z.ZodString, z.ZodObject<{
975
+ path: z.ZodString;
976
+ }, "strip", z.ZodTypeAny, {
977
+ path: string;
978
+ }, {
979
+ path: string;
980
+ }>, z.ZodObject<{
981
+ call: z.ZodString;
982
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
983
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
984
+ }, "strip", z.ZodTypeAny, {
985
+ call: string;
986
+ args: Record<string, any>;
987
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
988
+ }, {
989
+ call: string;
990
+ args: Record<string, any>;
991
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
992
+ }>]>;
993
+ }, "strict", z.ZodTypeAny, {
994
+ type: "webmap";
995
+ itemId: string | {
996
+ path: string;
997
+ } | {
998
+ call: string;
999
+ args: Record<string, any>;
1000
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1001
+ };
1002
+ }, {
1003
+ type: "webmap";
1004
+ itemId: string | {
1005
+ path: string;
1006
+ } | {
1007
+ call: string;
1008
+ args: Record<string, any>;
1009
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1010
+ };
1011
+ }>, z.ZodObject<{
1012
+ type: z.ZodLiteral<"basemap">;
1013
+ basemap: z.ZodOptional<z.ZodEnum<["arcgis/topographic", "arcgis/streets", "arcgis/navigation", "arcgis/light-gray", "arcgis/dark-gray", "arcgis/imagery", "arcgis/outdoor", "portal/default"]>>;
1014
+ center: z.ZodObject<{
1015
+ latitude: z.ZodUnion<[z.ZodNumber, z.ZodObject<{
1016
+ path: z.ZodString;
1017
+ }, "strip", z.ZodTypeAny, {
1018
+ path: string;
1019
+ }, {
1020
+ path: string;
1021
+ }>, z.ZodObject<{
1022
+ call: z.ZodString;
1023
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1024
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1025
+ }, "strip", z.ZodTypeAny, {
1026
+ call: string;
1027
+ args: Record<string, any>;
1028
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1029
+ }, {
1030
+ call: string;
1031
+ args: Record<string, any>;
1032
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1033
+ }>]>;
1034
+ longitude: z.ZodUnion<[z.ZodNumber, z.ZodObject<{
1035
+ path: z.ZodString;
1036
+ }, "strip", z.ZodTypeAny, {
1037
+ path: string;
1038
+ }, {
1039
+ path: string;
1040
+ }>, z.ZodObject<{
1041
+ call: z.ZodString;
1042
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1043
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1044
+ }, "strip", z.ZodTypeAny, {
1045
+ call: string;
1046
+ args: Record<string, any>;
1047
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1048
+ }, {
1049
+ call: string;
1050
+ args: Record<string, any>;
1051
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1052
+ }>]>;
1053
+ }, "strict", z.ZodTypeAny, {
1054
+ latitude: number | {
1055
+ path: string;
1056
+ } | {
1057
+ call: string;
1058
+ args: Record<string, any>;
1059
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1060
+ };
1061
+ longitude: number | {
1062
+ path: string;
1063
+ } | {
1064
+ call: string;
1065
+ args: Record<string, any>;
1066
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1067
+ };
1068
+ }, {
1069
+ latitude: number | {
1070
+ path: string;
1071
+ } | {
1072
+ call: string;
1073
+ args: Record<string, any>;
1074
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1075
+ };
1076
+ longitude: number | {
1077
+ path: string;
1078
+ } | {
1079
+ call: string;
1080
+ args: Record<string, any>;
1081
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1082
+ };
1083
+ }>;
1084
+ zoom: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
1085
+ path: z.ZodString;
1086
+ }, "strip", z.ZodTypeAny, {
1087
+ path: string;
1088
+ }, {
1089
+ path: string;
1090
+ }>, z.ZodObject<{
1091
+ call: z.ZodString;
1092
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1093
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1094
+ }, "strip", z.ZodTypeAny, {
1095
+ call: string;
1096
+ args: Record<string, any>;
1097
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1098
+ }, {
1099
+ call: string;
1100
+ args: Record<string, any>;
1101
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1102
+ }>]>>;
1103
+ }, "strict", z.ZodTypeAny, {
1104
+ type: "basemap";
1105
+ center: {
1106
+ latitude: number | {
1107
+ path: string;
1108
+ } | {
1109
+ call: string;
1110
+ args: Record<string, any>;
1111
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1112
+ };
1113
+ longitude: number | {
1114
+ path: string;
1115
+ } | {
1116
+ call: string;
1117
+ args: Record<string, any>;
1118
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1119
+ };
1120
+ };
1121
+ zoom?: number | {
1122
+ path: string;
1123
+ } | {
1124
+ call: string;
1125
+ args: Record<string, any>;
1126
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1127
+ } | undefined;
1128
+ basemap?: "arcgis/topographic" | "arcgis/streets" | "arcgis/navigation" | "arcgis/light-gray" | "arcgis/dark-gray" | "arcgis/imagery" | "arcgis/outdoor" | "portal/default" | undefined;
1129
+ }, {
1130
+ type: "basemap";
1131
+ center: {
1132
+ latitude: number | {
1133
+ path: string;
1134
+ } | {
1135
+ call: string;
1136
+ args: Record<string, any>;
1137
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1138
+ };
1139
+ longitude: number | {
1140
+ path: string;
1141
+ } | {
1142
+ call: string;
1143
+ args: Record<string, any>;
1144
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1145
+ };
1146
+ };
1147
+ zoom?: number | {
1148
+ path: string;
1149
+ } | {
1150
+ call: string;
1151
+ args: Record<string, any>;
1152
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1153
+ } | undefined;
1154
+ basemap?: "arcgis/topographic" | "arcgis/streets" | "arcgis/navigation" | "arcgis/light-gray" | "arcgis/dark-gray" | "arcgis/imagery" | "arcgis/outdoor" | "portal/default" | undefined;
1155
+ }>]>;
1156
+ controls: z.ZodOptional<z.ZodObject<{
1157
+ zoom: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1158
+ path: z.ZodString;
1159
+ }, "strip", z.ZodTypeAny, {
1160
+ path: string;
1161
+ }, {
1162
+ path: string;
1163
+ }>, z.ZodObject<{
1164
+ call: z.ZodString;
1165
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1166
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1167
+ }, "strip", z.ZodTypeAny, {
1168
+ call: string;
1169
+ args: Record<string, any>;
1170
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1171
+ }, {
1172
+ call: string;
1173
+ args: Record<string, any>;
1174
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1175
+ }>]>>;
1176
+ legend: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1177
+ path: z.ZodString;
1178
+ }, "strip", z.ZodTypeAny, {
1179
+ path: string;
1180
+ }, {
1181
+ path: string;
1182
+ }>, z.ZodObject<{
1183
+ call: z.ZodString;
1184
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1185
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1186
+ }, "strip", z.ZodTypeAny, {
1187
+ call: string;
1188
+ args: Record<string, any>;
1189
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1190
+ }, {
1191
+ call: string;
1192
+ args: Record<string, any>;
1193
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1194
+ }>]>>;
1195
+ layerList: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1196
+ path: z.ZodString;
1197
+ }, "strip", z.ZodTypeAny, {
1198
+ path: string;
1199
+ }, {
1200
+ path: string;
1201
+ }>, z.ZodObject<{
1202
+ call: z.ZodString;
1203
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1204
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1205
+ }, "strip", z.ZodTypeAny, {
1206
+ call: string;
1207
+ args: Record<string, any>;
1208
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1209
+ }, {
1210
+ call: string;
1211
+ args: Record<string, any>;
1212
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1213
+ }>]>>;
1214
+ search: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1215
+ path: z.ZodString;
1216
+ }, "strip", z.ZodTypeAny, {
1217
+ path: string;
1218
+ }, {
1219
+ path: string;
1220
+ }>, z.ZodObject<{
1221
+ call: z.ZodString;
1222
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1223
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1224
+ }, "strip", z.ZodTypeAny, {
1225
+ call: string;
1226
+ args: Record<string, any>;
1227
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1228
+ }, {
1229
+ call: string;
1230
+ args: Record<string, any>;
1231
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1232
+ }>]>>;
1233
+ }, "strict", z.ZodTypeAny, {
1234
+ zoom?: boolean | {
1235
+ path: string;
1236
+ } | {
1237
+ call: string;
1238
+ args: Record<string, any>;
1239
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1240
+ } | undefined;
1241
+ legend?: boolean | {
1242
+ path: string;
1243
+ } | {
1244
+ call: string;
1245
+ args: Record<string, any>;
1246
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1247
+ } | undefined;
1248
+ layerList?: boolean | {
1249
+ path: string;
1250
+ } | {
1251
+ call: string;
1252
+ args: Record<string, any>;
1253
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1254
+ } | undefined;
1255
+ search?: boolean | {
1256
+ path: string;
1257
+ } | {
1258
+ call: string;
1259
+ args: Record<string, any>;
1260
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1261
+ } | undefined;
1262
+ }, {
1263
+ zoom?: boolean | {
1264
+ path: string;
1265
+ } | {
1266
+ call: string;
1267
+ args: Record<string, any>;
1268
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1269
+ } | undefined;
1270
+ legend?: boolean | {
1271
+ path: string;
1272
+ } | {
1273
+ call: string;
1274
+ args: Record<string, any>;
1275
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1276
+ } | undefined;
1277
+ layerList?: boolean | {
1278
+ path: string;
1279
+ } | {
1280
+ call: string;
1281
+ args: Record<string, any>;
1282
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1283
+ } | undefined;
1284
+ search?: boolean | {
1285
+ path: string;
1286
+ } | {
1287
+ call: string;
1288
+ args: Record<string, any>;
1289
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1290
+ } | undefined;
1291
+ }>>;
1292
+ height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
1293
+ path: z.ZodString;
1294
+ }, "strip", z.ZodTypeAny, {
1295
+ path: string;
1296
+ }, {
1297
+ path: string;
1298
+ }>, z.ZodObject<{
1299
+ call: z.ZodString;
1300
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1301
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1302
+ }, "strip", z.ZodTypeAny, {
1303
+ call: string;
1304
+ args: Record<string, any>;
1305
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1306
+ }, {
1307
+ call: string;
1308
+ args: Record<string, any>;
1309
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1310
+ }>]>, number | {
1311
+ path: string;
1312
+ } | {
1313
+ call: string;
1314
+ args: Record<string, any>;
1315
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1316
+ }, number | {
1317
+ path: string;
1318
+ } | {
1319
+ call: string;
1320
+ args: Record<string, any>;
1321
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1322
+ }>>;
1323
+ openInArcGIS: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
1324
+ path: z.ZodString;
1325
+ }, "strip", z.ZodTypeAny, {
1326
+ path: string;
1327
+ }, {
1328
+ path: string;
1329
+ }>, z.ZodObject<{
1330
+ call: z.ZodString;
1331
+ args: z.ZodRecord<z.ZodString, z.ZodAny>;
1332
+ returnType: z.ZodDefault<z.ZodEnum<["string", "number", "boolean", "array", "object", "any", "void"]>>;
1333
+ }, "strip", z.ZodTypeAny, {
1334
+ call: string;
1335
+ args: Record<string, any>;
1336
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1337
+ }, {
1338
+ call: string;
1339
+ args: Record<string, any>;
1340
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1341
+ }>]>>;
1342
+ }, "strict", z.ZodTypeAny, {
1343
+ source: {
1344
+ type: "webmap";
1345
+ itemId: string | {
1346
+ path: string;
1347
+ } | {
1348
+ call: string;
1349
+ args: Record<string, any>;
1350
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1351
+ };
1352
+ } | {
1353
+ type: "basemap";
1354
+ center: {
1355
+ latitude: number | {
1356
+ path: string;
1357
+ } | {
1358
+ call: string;
1359
+ args: Record<string, any>;
1360
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1361
+ };
1362
+ longitude: number | {
1363
+ path: string;
1364
+ } | {
1365
+ call: string;
1366
+ args: Record<string, any>;
1367
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1368
+ };
1369
+ };
1370
+ zoom?: number | {
1371
+ path: string;
1372
+ } | {
1373
+ call: string;
1374
+ args: Record<string, any>;
1375
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1376
+ } | undefined;
1377
+ basemap?: "arcgis/topographic" | "arcgis/streets" | "arcgis/navigation" | "arcgis/light-gray" | "arcgis/dark-gray" | "arcgis/imagery" | "arcgis/outdoor" | "portal/default" | undefined;
1378
+ };
1379
+ title?: string | {
1380
+ path: string;
1381
+ } | {
1382
+ call: string;
1383
+ args: Record<string, any>;
1384
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1385
+ } | undefined;
1386
+ description?: string | {
1387
+ path: string;
1388
+ } | {
1389
+ call: string;
1390
+ args: Record<string, any>;
1391
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1392
+ } | undefined;
1393
+ controls?: {
1394
+ zoom?: boolean | {
1395
+ path: string;
1396
+ } | {
1397
+ call: string;
1398
+ args: Record<string, any>;
1399
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1400
+ } | undefined;
1401
+ legend?: boolean | {
1402
+ path: string;
1403
+ } | {
1404
+ call: string;
1405
+ args: Record<string, any>;
1406
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1407
+ } | undefined;
1408
+ layerList?: boolean | {
1409
+ path: string;
1410
+ } | {
1411
+ call: string;
1412
+ args: Record<string, any>;
1413
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1414
+ } | undefined;
1415
+ search?: boolean | {
1416
+ path: string;
1417
+ } | {
1418
+ call: string;
1419
+ args: Record<string, any>;
1420
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1421
+ } | undefined;
1422
+ } | undefined;
1423
+ height?: number | {
1424
+ path: string;
1425
+ } | {
1426
+ call: string;
1427
+ args: Record<string, any>;
1428
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1429
+ } | undefined;
1430
+ openInArcGIS?: boolean | {
1431
+ path: string;
1432
+ } | {
1433
+ call: string;
1434
+ args: Record<string, any>;
1435
+ returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1436
+ } | undefined;
1437
+ }, {
1438
+ source: {
1439
+ type: "webmap";
1440
+ itemId: string | {
1441
+ path: string;
1442
+ } | {
1443
+ call: string;
1444
+ args: Record<string, any>;
1445
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1446
+ };
1447
+ } | {
1448
+ type: "basemap";
1449
+ center: {
1450
+ latitude: number | {
1451
+ path: string;
1452
+ } | {
1453
+ call: string;
1454
+ args: Record<string, any>;
1455
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1456
+ };
1457
+ longitude: number | {
1458
+ path: string;
1459
+ } | {
1460
+ call: string;
1461
+ args: Record<string, any>;
1462
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1463
+ };
1464
+ };
1465
+ zoom?: number | {
1466
+ path: string;
1467
+ } | {
1468
+ call: string;
1469
+ args: Record<string, any>;
1470
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1471
+ } | undefined;
1472
+ basemap?: "arcgis/topographic" | "arcgis/streets" | "arcgis/navigation" | "arcgis/light-gray" | "arcgis/dark-gray" | "arcgis/imagery" | "arcgis/outdoor" | "portal/default" | undefined;
1473
+ };
1474
+ title?: string | {
1475
+ path: string;
1476
+ } | {
1477
+ call: string;
1478
+ args: Record<string, any>;
1479
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1480
+ } | undefined;
1481
+ description?: string | {
1482
+ path: string;
1483
+ } | {
1484
+ call: string;
1485
+ args: Record<string, any>;
1486
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1487
+ } | undefined;
1488
+ controls?: {
1489
+ zoom?: boolean | {
1490
+ path: string;
1491
+ } | {
1492
+ call: string;
1493
+ args: Record<string, any>;
1494
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1495
+ } | undefined;
1496
+ legend?: boolean | {
1497
+ path: string;
1498
+ } | {
1499
+ call: string;
1500
+ args: Record<string, any>;
1501
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1502
+ } | undefined;
1503
+ layerList?: boolean | {
1504
+ path: string;
1505
+ } | {
1506
+ call: string;
1507
+ args: Record<string, any>;
1508
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1509
+ } | undefined;
1510
+ search?: boolean | {
1511
+ path: string;
1512
+ } | {
1513
+ call: string;
1514
+ args: Record<string, any>;
1515
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1516
+ } | undefined;
1517
+ } | undefined;
1518
+ height?: number | {
1519
+ path: string;
1520
+ } | {
1521
+ call: string;
1522
+ args: Record<string, any>;
1523
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1524
+ } | undefined;
1525
+ openInArcGIS?: boolean | {
1526
+ path: string;
1527
+ } | {
1528
+ call: string;
1529
+ args: Record<string, any>;
1530
+ returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1531
+ } | undefined;
1532
+ }>;
1533
+ };
1534
+ export type ArcGISMapControls = z.infer<typeof ArcGISMapControlsSchema>;
1535
+ export type ArcGISMapSource = z.infer<typeof ArcGISMapSourceSchema>;
1536
+ export type ArcGISMapViewProps = z.infer<typeof ArcGISMapViewPropsSchema>;
1537
+ export interface NormalizedArcGISMapControls {
1538
+ zoom: boolean;
1539
+ legend: boolean;
1540
+ layerList: boolean;
1541
+ search: boolean;
1542
+ }
1543
+ export interface NormalizedArcGISMapViewProps {
1544
+ title?: string;
1545
+ description?: string;
1546
+ source: {
1547
+ type: "webmap";
1548
+ itemId: string;
1549
+ } | {
1550
+ type: "basemap";
1551
+ basemap: ArcGISBasemap;
1552
+ center: {
1553
+ latitude: number;
1554
+ longitude: number;
1555
+ };
1556
+ zoom?: number;
1557
+ };
1558
+ controls: NormalizedArcGISMapControls;
1559
+ height: number;
1560
+ openInArcGIS: boolean;
1561
+ }
1562
+ export declare function normalizeArcGISMapViewProps(props: ArcGISMapViewProps): NormalizedArcGISMapViewProps;
1563
+ export {};