@agentic-ui-experience/ui-arcgis 0.0.1-beta.4 → 0.0.1-beta.5

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/catalog.d.ts CHANGED
@@ -411,6 +411,124 @@ export declare const arcgisComponentApis: readonly [{
411
411
  args: Record<string, any>;
412
412
  returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
413
413
  }>]>>;
414
+ graphics: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
415
+ geometry: import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
416
+ type: import("zod").ZodLiteral<"point">;
417
+ coordinates: import("zod").ZodObject<{
418
+ longitude: import("zod").ZodNumber;
419
+ latitude: import("zod").ZodNumber;
420
+ }, "strict", import("zod").ZodTypeAny, {
421
+ latitude: number;
422
+ longitude: number;
423
+ }, {
424
+ latitude: number;
425
+ longitude: number;
426
+ }>;
427
+ }, "strict", import("zod").ZodTypeAny, {
428
+ type: "point";
429
+ coordinates: {
430
+ latitude: number;
431
+ longitude: number;
432
+ };
433
+ }, {
434
+ type: "point";
435
+ coordinates: {
436
+ latitude: number;
437
+ longitude: number;
438
+ };
439
+ }>, import("zod").ZodObject<{
440
+ type: import("zod").ZodLiteral<"polyline">;
441
+ coordinates: import("zod").ZodArray<import("zod").ZodObject<{
442
+ longitude: import("zod").ZodNumber;
443
+ latitude: import("zod").ZodNumber;
444
+ }, "strict", import("zod").ZodTypeAny, {
445
+ latitude: number;
446
+ longitude: number;
447
+ }, {
448
+ latitude: number;
449
+ longitude: number;
450
+ }>, "many">;
451
+ }, "strict", import("zod").ZodTypeAny, {
452
+ type: "polyline";
453
+ coordinates: {
454
+ latitude: number;
455
+ longitude: number;
456
+ }[];
457
+ }, {
458
+ type: "polyline";
459
+ coordinates: {
460
+ latitude: number;
461
+ longitude: number;
462
+ }[];
463
+ }>, import("zod").ZodObject<{
464
+ type: import("zod").ZodLiteral<"polygon">;
465
+ coordinates: import("zod").ZodArray<import("zod").ZodObject<{
466
+ longitude: import("zod").ZodNumber;
467
+ latitude: import("zod").ZodNumber;
468
+ }, "strict", import("zod").ZodTypeAny, {
469
+ latitude: number;
470
+ longitude: number;
471
+ }, {
472
+ latitude: number;
473
+ longitude: number;
474
+ }>, "many">;
475
+ }, "strict", import("zod").ZodTypeAny, {
476
+ type: "polygon";
477
+ coordinates: {
478
+ latitude: number;
479
+ longitude: number;
480
+ }[];
481
+ }, {
482
+ type: "polygon";
483
+ coordinates: {
484
+ latitude: number;
485
+ longitude: number;
486
+ }[];
487
+ }>]>;
488
+ style: import("zod").ZodOptional<import("zod").ZodEnum<["primary", "success", "warning", "danger", "neutral"]>>;
489
+ }, "strict", import("zod").ZodTypeAny, {
490
+ geometry: {
491
+ type: "point";
492
+ coordinates: {
493
+ latitude: number;
494
+ longitude: number;
495
+ };
496
+ } | {
497
+ type: "polyline";
498
+ coordinates: {
499
+ latitude: number;
500
+ longitude: number;
501
+ }[];
502
+ } | {
503
+ type: "polygon";
504
+ coordinates: {
505
+ latitude: number;
506
+ longitude: number;
507
+ }[];
508
+ };
509
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
510
+ }, {
511
+ geometry: {
512
+ type: "point";
513
+ coordinates: {
514
+ latitude: number;
515
+ longitude: number;
516
+ };
517
+ } | {
518
+ type: "polyline";
519
+ coordinates: {
520
+ latitude: number;
521
+ longitude: number;
522
+ }[];
523
+ } | {
524
+ type: "polygon";
525
+ coordinates: {
526
+ latitude: number;
527
+ longitude: number;
528
+ }[];
529
+ };
530
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
531
+ }>, "many">>;
414
532
  }, "strict", import("zod").ZodTypeAny, {
415
533
  source: {
416
534
  type: "webmap";
@@ -506,6 +624,28 @@ export declare const arcgisComponentApis: readonly [{
506
624
  args: Record<string, any>;
507
625
  returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
508
626
  } | undefined;
627
+ graphics?: {
628
+ geometry: {
629
+ type: "point";
630
+ coordinates: {
631
+ latitude: number;
632
+ longitude: number;
633
+ };
634
+ } | {
635
+ type: "polyline";
636
+ coordinates: {
637
+ latitude: number;
638
+ longitude: number;
639
+ }[];
640
+ } | {
641
+ type: "polygon";
642
+ coordinates: {
643
+ latitude: number;
644
+ longitude: number;
645
+ }[];
646
+ };
647
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
648
+ }[] | undefined;
509
649
  }, {
510
650
  source: {
511
651
  type: "webmap";
@@ -601,6 +741,28 @@ export declare const arcgisComponentApis: readonly [{
601
741
  args: Record<string, any>;
602
742
  returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
603
743
  } | undefined;
744
+ graphics?: {
745
+ geometry: {
746
+ type: "point";
747
+ coordinates: {
748
+ latitude: number;
749
+ longitude: number;
750
+ };
751
+ } | {
752
+ type: "polyline";
753
+ coordinates: {
754
+ latitude: number;
755
+ longitude: number;
756
+ }[];
757
+ } | {
758
+ type: "polygon";
759
+ coordinates: {
760
+ latitude: number;
761
+ longitude: number;
762
+ }[];
763
+ };
764
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
765
+ }[] | undefined;
604
766
  }>;
605
767
  }];
606
768
  export declare const arcgisComponents: readonly [import("@agentic-ui-experience/ui-react").ReactComponentImplementation];
@@ -1016,6 +1178,124 @@ export declare const arcgisRuntimeCatalog: import("@agentic-ui-experience/ui-run
1016
1178
  args: Record<string, any>;
1017
1179
  returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1018
1180
  }>]>>;
1181
+ graphics: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1182
+ geometry: import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
1183
+ type: import("zod").ZodLiteral<"point">;
1184
+ coordinates: import("zod").ZodObject<{
1185
+ longitude: import("zod").ZodNumber;
1186
+ latitude: import("zod").ZodNumber;
1187
+ }, "strict", import("zod").ZodTypeAny, {
1188
+ latitude: number;
1189
+ longitude: number;
1190
+ }, {
1191
+ latitude: number;
1192
+ longitude: number;
1193
+ }>;
1194
+ }, "strict", import("zod").ZodTypeAny, {
1195
+ type: "point";
1196
+ coordinates: {
1197
+ latitude: number;
1198
+ longitude: number;
1199
+ };
1200
+ }, {
1201
+ type: "point";
1202
+ coordinates: {
1203
+ latitude: number;
1204
+ longitude: number;
1205
+ };
1206
+ }>, import("zod").ZodObject<{
1207
+ type: import("zod").ZodLiteral<"polyline">;
1208
+ coordinates: import("zod").ZodArray<import("zod").ZodObject<{
1209
+ longitude: import("zod").ZodNumber;
1210
+ latitude: import("zod").ZodNumber;
1211
+ }, "strict", import("zod").ZodTypeAny, {
1212
+ latitude: number;
1213
+ longitude: number;
1214
+ }, {
1215
+ latitude: number;
1216
+ longitude: number;
1217
+ }>, "many">;
1218
+ }, "strict", import("zod").ZodTypeAny, {
1219
+ type: "polyline";
1220
+ coordinates: {
1221
+ latitude: number;
1222
+ longitude: number;
1223
+ }[];
1224
+ }, {
1225
+ type: "polyline";
1226
+ coordinates: {
1227
+ latitude: number;
1228
+ longitude: number;
1229
+ }[];
1230
+ }>, import("zod").ZodObject<{
1231
+ type: import("zod").ZodLiteral<"polygon">;
1232
+ coordinates: import("zod").ZodArray<import("zod").ZodObject<{
1233
+ longitude: import("zod").ZodNumber;
1234
+ latitude: import("zod").ZodNumber;
1235
+ }, "strict", import("zod").ZodTypeAny, {
1236
+ latitude: number;
1237
+ longitude: number;
1238
+ }, {
1239
+ latitude: number;
1240
+ longitude: number;
1241
+ }>, "many">;
1242
+ }, "strict", import("zod").ZodTypeAny, {
1243
+ type: "polygon";
1244
+ coordinates: {
1245
+ latitude: number;
1246
+ longitude: number;
1247
+ }[];
1248
+ }, {
1249
+ type: "polygon";
1250
+ coordinates: {
1251
+ latitude: number;
1252
+ longitude: number;
1253
+ }[];
1254
+ }>]>;
1255
+ style: import("zod").ZodOptional<import("zod").ZodEnum<["primary", "success", "warning", "danger", "neutral"]>>;
1256
+ }, "strict", import("zod").ZodTypeAny, {
1257
+ geometry: {
1258
+ type: "point";
1259
+ coordinates: {
1260
+ latitude: number;
1261
+ longitude: number;
1262
+ };
1263
+ } | {
1264
+ type: "polyline";
1265
+ coordinates: {
1266
+ latitude: number;
1267
+ longitude: number;
1268
+ }[];
1269
+ } | {
1270
+ type: "polygon";
1271
+ coordinates: {
1272
+ latitude: number;
1273
+ longitude: number;
1274
+ }[];
1275
+ };
1276
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
1277
+ }, {
1278
+ geometry: {
1279
+ type: "point";
1280
+ coordinates: {
1281
+ latitude: number;
1282
+ longitude: number;
1283
+ };
1284
+ } | {
1285
+ type: "polyline";
1286
+ coordinates: {
1287
+ latitude: number;
1288
+ longitude: number;
1289
+ }[];
1290
+ } | {
1291
+ type: "polygon";
1292
+ coordinates: {
1293
+ latitude: number;
1294
+ longitude: number;
1295
+ }[];
1296
+ };
1297
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
1298
+ }>, "many">>;
1019
1299
  }, "strict", import("zod").ZodTypeAny, {
1020
1300
  source: {
1021
1301
  type: "webmap";
@@ -1111,6 +1391,28 @@ export declare const arcgisRuntimeCatalog: import("@agentic-ui-experience/ui-run
1111
1391
  args: Record<string, any>;
1112
1392
  returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1113
1393
  } | undefined;
1394
+ graphics?: {
1395
+ geometry: {
1396
+ type: "point";
1397
+ coordinates: {
1398
+ latitude: number;
1399
+ longitude: number;
1400
+ };
1401
+ } | {
1402
+ type: "polyline";
1403
+ coordinates: {
1404
+ latitude: number;
1405
+ longitude: number;
1406
+ }[];
1407
+ } | {
1408
+ type: "polygon";
1409
+ coordinates: {
1410
+ latitude: number;
1411
+ longitude: number;
1412
+ }[];
1413
+ };
1414
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
1415
+ }[] | undefined;
1114
1416
  }, {
1115
1417
  source: {
1116
1418
  type: "webmap";
@@ -1206,6 +1508,28 @@ export declare const arcgisRuntimeCatalog: import("@agentic-ui-experience/ui-run
1206
1508
  args: Record<string, any>;
1207
1509
  returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1208
1510
  } | undefined;
1511
+ graphics?: {
1512
+ geometry: {
1513
+ type: "point";
1514
+ coordinates: {
1515
+ latitude: number;
1516
+ longitude: number;
1517
+ };
1518
+ } | {
1519
+ type: "polyline";
1520
+ coordinates: {
1521
+ latitude: number;
1522
+ longitude: number;
1523
+ }[];
1524
+ } | {
1525
+ type: "polygon";
1526
+ coordinates: {
1527
+ latitude: number;
1528
+ longitude: number;
1529
+ }[];
1530
+ };
1531
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
1532
+ }[] | undefined;
1209
1533
  }>;
1210
1534
  }>;
1211
1535
  export declare const arcgisReactCatalog: import("@agentic-ui-experience/ui-runtime").Catalog<import("@agentic-ui-experience/ui-react").ReactComponentImplementation>;
package/dist/catalog.js CHANGED
@@ -1 +1 @@
1
- const _0x2a2de5=_0x295f;(function(_0x14b752,_0x2fbfeb){const _0x4e5c83=_0x295f,_0x4735d6=_0x14b752();while(!![]){try{const _0x23f19f=parseInt(_0x4e5c83(0x121))/0x1+-parseInt(_0x4e5c83(0x11f))/0x2+-parseInt(_0x4e5c83(0x11e))/0x3+parseInt(_0x4e5c83(0x120))/0x4+-parseInt(_0x4e5c83(0x11b))/0x5+parseInt(_0x4e5c83(0x11c))/0x6*(parseInt(_0x4e5c83(0x11d))/0x7)+parseInt(_0x4e5c83(0x11a))/0x8;if(_0x23f19f===_0x2fbfeb)break;else _0x4735d6['push'](_0x4735d6['shift']());}catch(_0x223c9b){_0x4735d6['push'](_0x4735d6['shift']());}}}(_0x5182,0x352d0));function _0x295f(_0x30b004,_0x3ac682){_0x30b004=_0x30b004-0x119;const _0x5182dd=_0x5182();let _0x295fed=_0x5182dd[_0x30b004];return _0x295fed;}function _0x5182(){const _0x42250f=['7RyKkLO','295767JfJnkA','455796rCsjvi','473748yMhrmC','96712wGRKbO','com.agentic-ui-experience.arcgis.v1','3114760RGzEMz','989590lYlyOT','826314XoeGhy'];_0x5182=function(){return _0x42250f;};return _0x5182();}import{defineCatalogPromptDescriptor}from'@agentic-ui-experience/ui-core';import{defineCatalog}from'@agentic-ui-experience/ui-runtime';import{defineReactCatalog}from'@agentic-ui-experience/ui-react';import{ArcGISMapViewApi}from'./api.js';import{ArcGISMapView}from'./ArcGISMapView.js';import{arcgisStyleGuide,arcGISMapViewDescription}from'./prompt.js';const ARCGIS_CATALOG_ID=_0x2a2de5(0x119),arcgisComponentApis=[ArcGISMapViewApi],arcgisComponents=[ArcGISMapView],arcgisPromptDescriptor=defineCatalogPromptDescriptor({'id':ARCGIS_CATALOG_ID,'components':arcgisComponentApis,'descriptions':{'ArcGISMapView':arcGISMapViewDescription},'styleGuide':arcgisStyleGuide}),arcgisRuntimeCatalog=defineCatalog({'id':ARCGIS_CATALOG_ID,'components':arcgisComponentApis}),arcgisReactCatalog=defineReactCatalog({'id':ARCGIS_CATALOG_ID,'components':arcgisComponents});export{ARCGIS_CATALOG_ID,arcgisComponentApis,arcgisComponents,arcgisPromptDescriptor,arcgisReactCatalog,arcgisRuntimeCatalog};
1
+ (function(_0x7ad3f,_0x1fb8e3){const _0x1aacdd=_0x21bf,_0xbe417b=_0x7ad3f();while(!![]){try{const _0x45e69d=parseInt(_0x1aacdd(0x113))/0x1+-parseInt(_0x1aacdd(0x10c))/0x2+-parseInt(_0x1aacdd(0x10e))/0x3*(-parseInt(_0x1aacdd(0x110))/0x4)+-parseInt(_0x1aacdd(0x10f))/0x5+parseInt(_0x1aacdd(0x112))/0x6+parseInt(_0x1aacdd(0x111))/0x7+-parseInt(_0x1aacdd(0x10d))/0x8;if(_0x45e69d===_0x1fb8e3)break;else _0xbe417b['push'](_0xbe417b['shift']());}catch(_0x3f7396){_0xbe417b['push'](_0xbe417b['shift']());}}}(_0x5756,0x6a3c4));import{defineCatalogPromptDescriptor}from'@agentic-ui-experience/ui-core';import{defineCatalog}from'@agentic-ui-experience/ui-runtime';import{defineReactCatalog}from'@agentic-ui-experience/ui-react';import{ArcGISMapViewApi}from'./api.js';import{ArcGISMapView}from'./ArcGISMapView.js';import{arcgisStyleGuide,arcGISMapViewDescription}from'./prompt.js';function _0x5756(){const _0x59cd5f=['401440EnPUqR','4772bbIyER','5446469xOnhOR','3112266nxwFPD','59390VVOkBg','692922bpjjIN','7600040BJLPSF','1146XEokcE'];_0x5756=function(){return _0x59cd5f;};return _0x5756();}const ARCGIS_CATALOG_ID='com.agentic-ui-experience.arcgis.v1',arcgisComponentApis=[ArcGISMapViewApi],arcgisComponents=[ArcGISMapView],arcgisPromptDescriptor=defineCatalogPromptDescriptor({'id':ARCGIS_CATALOG_ID,'components':arcgisComponentApis,'descriptions':{'ArcGISMapView':arcGISMapViewDescription},'styleGuide':arcgisStyleGuide}),arcgisRuntimeCatalog=defineCatalog({'id':ARCGIS_CATALOG_ID,'components':arcgisComponentApis}),arcgisReactCatalog=defineReactCatalog({'id':ARCGIS_CATALOG_ID,'components':arcgisComponents});function _0x21bf(_0x32d158,_0xc37823){_0x32d158=_0x32d158-0x10c;const _0x5756b8=_0x5756();let _0x21bfe3=_0x5756b8[_0x32d158];return _0x21bfe3;}export{ARCGIS_CATALOG_ID,arcgisComponentApis,arcgisComponents,arcgisPromptDescriptor,arcgisReactCatalog,arcgisRuntimeCatalog};
@@ -49,13 +49,13 @@ export declare const ArcGISMapSnapshotSchema: z.ZodObject<{
49
49
  }, "strict", z.ZodTypeAny, {
50
50
  type: string;
51
51
  title: string;
52
- visible: boolean;
53
52
  id: string;
53
+ visible: boolean;
54
54
  }, {
55
55
  type: string;
56
56
  title: string;
57
- visible: boolean;
58
57
  id: string;
58
+ visible: boolean;
59
59
  }>, "many">;
60
60
  capabilities: z.ZodObject<{
61
61
  goTo: z.ZodBoolean;
@@ -83,8 +83,8 @@ export declare const ArcGISMapSnapshotSchema: z.ZodObject<{
83
83
  layers: {
84
84
  type: string;
85
85
  title: string;
86
- visible: boolean;
87
86
  id: string;
87
+ visible: boolean;
88
88
  }[];
89
89
  capabilities: {
90
90
  goTo: boolean;
@@ -106,8 +106,8 @@ export declare const ArcGISMapSnapshotSchema: z.ZodObject<{
106
106
  layers: {
107
107
  type: string;
108
108
  title: string;
109
- visible: boolean;
110
109
  id: string;
110
+ visible: boolean;
111
111
  }[];
112
112
  capabilities: {
113
113
  goTo: boolean;
@@ -230,13 +230,13 @@ export declare const ArcGISMapSnapshotNotificationSchema: z.ZodEffects<z.ZodObje
230
230
  }, "strict", z.ZodTypeAny, {
231
231
  type: string;
232
232
  title: string;
233
- visible: boolean;
234
233
  id: string;
234
+ visible: boolean;
235
235
  }, {
236
236
  type: string;
237
237
  title: string;
238
- visible: boolean;
239
238
  id: string;
239
+ visible: boolean;
240
240
  }>, "many">;
241
241
  capabilities: z.ZodObject<{
242
242
  goTo: z.ZodBoolean;
@@ -264,8 +264,8 @@ export declare const ArcGISMapSnapshotNotificationSchema: z.ZodEffects<z.ZodObje
264
264
  layers: {
265
265
  type: string;
266
266
  title: string;
267
- visible: boolean;
268
267
  id: string;
268
+ visible: boolean;
269
269
  }[];
270
270
  capabilities: {
271
271
  goTo: boolean;
@@ -287,8 +287,8 @@ export declare const ArcGISMapSnapshotNotificationSchema: z.ZodEffects<z.ZodObje
287
287
  layers: {
288
288
  type: string;
289
289
  title: string;
290
- visible: boolean;
291
290
  id: string;
291
+ visible: boolean;
292
292
  }[];
293
293
  capabilities: {
294
294
  goTo: boolean;
@@ -323,8 +323,8 @@ export declare const ArcGISMapSnapshotNotificationSchema: z.ZodEffects<z.ZodObje
323
323
  layers: {
324
324
  type: string;
325
325
  title: string;
326
- visible: boolean;
327
326
  id: string;
327
+ visible: boolean;
328
328
  }[];
329
329
  capabilities: {
330
330
  goTo: boolean;
@@ -353,8 +353,8 @@ export declare const ArcGISMapSnapshotNotificationSchema: z.ZodEffects<z.ZodObje
353
353
  layers: {
354
354
  type: string;
355
355
  title: string;
356
- visible: boolean;
357
356
  id: string;
357
+ visible: boolean;
358
358
  }[];
359
359
  capabilities: {
360
360
  goTo: boolean;
@@ -383,8 +383,8 @@ export declare const ArcGISMapSnapshotNotificationSchema: z.ZodEffects<z.ZodObje
383
383
  layers: {
384
384
  type: string;
385
385
  title: string;
386
- visible: boolean;
387
386
  id: string;
387
+ visible: boolean;
388
388
  }[];
389
389
  capabilities: {
390
390
  goTo: boolean;
@@ -413,8 +413,8 @@ export declare const ArcGISMapSnapshotNotificationSchema: z.ZodEffects<z.ZodObje
413
413
  layers: {
414
414
  type: string;
415
415
  title: string;
416
- visible: boolean;
417
416
  id: string;
417
+ visible: boolean;
418
418
  }[];
419
419
  capabilities: {
420
420
  goTo: boolean;
@@ -535,13 +535,13 @@ export declare const ArcGISMapCommandResultSchema: z.ZodDiscriminatedUnion<"ok",
535
535
  }, "strict", z.ZodTypeAny, {
536
536
  type: string;
537
537
  title: string;
538
- visible: boolean;
539
538
  id: string;
539
+ visible: boolean;
540
540
  }, {
541
541
  type: string;
542
542
  title: string;
543
- visible: boolean;
544
543
  id: string;
544
+ visible: boolean;
545
545
  }>, "many">;
546
546
  capabilities: z.ZodObject<{
547
547
  goTo: z.ZodBoolean;
@@ -569,8 +569,8 @@ export declare const ArcGISMapCommandResultSchema: z.ZodDiscriminatedUnion<"ok",
569
569
  layers: {
570
570
  type: string;
571
571
  title: string;
572
- visible: boolean;
573
572
  id: string;
573
+ visible: boolean;
574
574
  }[];
575
575
  capabilities: {
576
576
  goTo: boolean;
@@ -592,8 +592,8 @@ export declare const ArcGISMapCommandResultSchema: z.ZodDiscriminatedUnion<"ok",
592
592
  layers: {
593
593
  type: string;
594
594
  title: string;
595
- visible: boolean;
596
595
  id: string;
596
+ visible: boolean;
597
597
  }[];
598
598
  capabilities: {
599
599
  goTo: boolean;
@@ -618,8 +618,8 @@ export declare const ArcGISMapCommandResultSchema: z.ZodDiscriminatedUnion<"ok",
618
618
  layers: {
619
619
  type: string;
620
620
  title: string;
621
- visible: boolean;
622
621
  id: string;
622
+ visible: boolean;
623
623
  }[];
624
624
  capabilities: {
625
625
  goTo: boolean;
@@ -658,8 +658,8 @@ export declare const ArcGISMapCommandResultSchema: z.ZodDiscriminatedUnion<"ok",
658
658
  layers: {
659
659
  type: string;
660
660
  title: string;
661
- visible: boolean;
662
661
  id: string;
662
+ visible: boolean;
663
663
  }[];
664
664
  capabilities: {
665
665
  goTo: boolean;
@@ -789,13 +789,13 @@ export declare const ArcGISMapCommandResultSchema: z.ZodDiscriminatedUnion<"ok",
789
789
  }, "strict", z.ZodTypeAny, {
790
790
  type: string;
791
791
  title: string;
792
- visible: boolean;
793
792
  id: string;
793
+ visible: boolean;
794
794
  }, {
795
795
  type: string;
796
796
  title: string;
797
- visible: boolean;
798
797
  id: string;
798
+ visible: boolean;
799
799
  }>, "many">;
800
800
  capabilities: z.ZodObject<{
801
801
  goTo: z.ZodBoolean;
@@ -823,8 +823,8 @@ export declare const ArcGISMapCommandResultSchema: z.ZodDiscriminatedUnion<"ok",
823
823
  layers: {
824
824
  type: string;
825
825
  title: string;
826
- visible: boolean;
827
826
  id: string;
827
+ visible: boolean;
828
828
  }[];
829
829
  capabilities: {
830
830
  goTo: boolean;
@@ -846,8 +846,8 @@ export declare const ArcGISMapCommandResultSchema: z.ZodDiscriminatedUnion<"ok",
846
846
  layers: {
847
847
  type: string;
848
848
  title: string;
849
- visible: boolean;
850
849
  id: string;
850
+ visible: boolean;
851
851
  }[];
852
852
  capabilities: {
853
853
  goTo: boolean;
@@ -855,10 +855,10 @@ export declare const ArcGISMapCommandResultSchema: z.ZodDiscriminatedUnion<"ok",
855
855
  };
856
856
  }>>;
857
857
  }, "strict", z.ZodTypeAny, {
858
- code: "map-not-ready" | "layer-not-found" | "cancelled" | "stale-controller" | "invalid-target" | "unsupported-command" | "execution-failed";
858
+ code: "cancelled" | "map-not-ready" | "layer-not-found" | "stale-controller" | "invalid-target" | "unsupported-command" | "execution-failed";
859
859
  message: string;
860
860
  ok: false;
861
- command: {
861
+ command: Record<string, unknown> | {
862
862
  type: "goTo";
863
863
  target: {
864
864
  center: {
@@ -871,7 +871,7 @@ export declare const ArcGISMapCommandResultSchema: z.ZodDiscriminatedUnion<"ok",
871
871
  type: "setLayerVisibility";
872
872
  visible: boolean;
873
873
  layerId: string;
874
- } | Record<string, unknown>;
874
+ };
875
875
  snapshot?: {
876
876
  map: {
877
877
  itemId?: string | undefined;
@@ -888,8 +888,8 @@ export declare const ArcGISMapCommandResultSchema: z.ZodDiscriminatedUnion<"ok",
888
888
  layers: {
889
889
  type: string;
890
890
  title: string;
891
- visible: boolean;
892
891
  id: string;
892
+ visible: boolean;
893
893
  }[];
894
894
  capabilities: {
895
895
  goTo: boolean;
@@ -897,10 +897,10 @@ export declare const ArcGISMapCommandResultSchema: z.ZodDiscriminatedUnion<"ok",
897
897
  };
898
898
  } | undefined;
899
899
  }, {
900
- code: "map-not-ready" | "layer-not-found" | "cancelled" | "stale-controller" | "invalid-target" | "unsupported-command" | "execution-failed";
900
+ code: "cancelled" | "map-not-ready" | "layer-not-found" | "stale-controller" | "invalid-target" | "unsupported-command" | "execution-failed";
901
901
  message: string;
902
902
  ok: false;
903
- command: {
903
+ command: Record<string, unknown> | {
904
904
  type: "goTo";
905
905
  target: {
906
906
  center: {
@@ -913,7 +913,7 @@ export declare const ArcGISMapCommandResultSchema: z.ZodDiscriminatedUnion<"ok",
913
913
  type: "setLayerVisibility";
914
914
  visible: boolean;
915
915
  layerId: string;
916
- } | Record<string, unknown>;
916
+ };
917
917
  snapshot?: {
918
918
  map: {
919
919
  itemId?: string | undefined;
@@ -930,8 +930,8 @@ export declare const ArcGISMapCommandResultSchema: z.ZodDiscriminatedUnion<"ok",
930
930
  layers: {
931
931
  type: string;
932
932
  title: string;
933
- visible: boolean;
934
933
  id: string;
934
+ visible: boolean;
935
935
  }[];
936
936
  capabilities: {
937
937
  goTo: boolean;
@@ -1 +1 @@
1
- function _0x578a(_0x3a4b63,_0x413c11){_0x3a4b63=_0x3a4b63-0xe6;const _0x13a1e=_0x13a1();let _0x578af1=_0x13a1e[_0x3a4b63];return _0x578af1;}function _0x13a1(){const _0x352453=['4PselDr','955008ZGTeHW','927zRGGFz','2635362whAxnZ','superRefine','operationOrigins','99128LjyaCM','literal','31211550RTqEqs','stale-controller','2165961ctprxk','hasExternalChanges','optional','size','unsupported-command','record','custom','49kdhltF','195462RRuTyn','A\x20map\x20notification\x20requires\x20an\x20operation\x20origin\x20or\x20an\x20external-change\x20marker.','string','addIssue','5068390xsoqyB','max','min','strict','Map\x20notification\x20operation\x20origins\x20must\x20be\x20unique.','unknown','array','type','object','boolean'];_0x13a1=function(){return _0x352453;};return _0x13a1();}const _0x82106=_0x578a;(function(_0x52afee,_0x3c1197){const _0x639b23=_0x578a,_0x367b55=_0x52afee();while(!![]){try{const _0x213b88=-parseInt(_0x639b23(0xe7))/0x1+parseInt(_0x639b23(0xf8))/0x2+-parseInt(_0x639b23(0xff))/0x3*(parseInt(_0x639b23(0xf5))/0x4)+parseInt(_0x639b23(0xeb))/0x5+parseInt(_0x639b23(0xf6))/0x6*(parseInt(_0x639b23(0xe6))/0x7)+-parseInt(_0x639b23(0xfb))/0x8*(-parseInt(_0x639b23(0xf7))/0x9)+-parseInt(_0x639b23(0xfd))/0xa;if(_0x213b88===_0x3c1197)break;else _0x367b55['push'](_0x367b55['shift']());}catch(_0x3b221d){_0x367b55['push'](_0x367b55['shift']());}}}(_0x13a1,0xa6cc4));import{z}from'zod';const FiniteNumberSchema=z['number']()['finite'](),ArcGISMapCenterSchema=z['object']({'longitude':FiniteNumberSchema['min'](-0xb4)['max'](0xb4),'latitude':FiniteNumberSchema[_0x82106(0xed)](-0x5a)['max'](0x5a)})[_0x82106(0xee)](),ArcGISMapLayerSnapshotSchema=z['object']({'id':z[_0x82106(0xe9)]()['min'](0x1),'title':z['string'](),'type':z[_0x82106(0xe9)](),'visible':z[_0x82106(0xf4)]()})['strict'](),ArcGISMapSnapshotSchema=z['object']({'map':z['object']({'itemId':z['string']()['min'](0x1)[_0x82106(0x101)](),'title':z['string']()['min'](0x1)[_0x82106(0x101)]()})[_0x82106(0xee)](),'viewpoint':z['object']({'center':ArcGISMapCenterSchema,'zoom':FiniteNumberSchema[_0x82106(0xed)](0x0)[_0x82106(0xec)](0x17),'scale':FiniteNumberSchema['positive']()})[_0x82106(0xee)](),'layers':z['array'](ArcGISMapLayerSnapshotSchema),'capabilities':z['object']({'goTo':z['boolean'](),'setLayerVisibility':z[_0x82106(0xf4)]()})['strict']()})[_0x82106(0xee)](),ArcGISGoToCommandSchema=z['object']({'type':z['literal']('goTo'),'target':z['object']({'center':ArcGISMapCenterSchema,'zoom':FiniteNumberSchema[_0x82106(0xed)](0x0)[_0x82106(0xec)](0x17)['optional']()})['strict']()})['strict'](),ArcGISSetLayerVisibilityCommandSchema=z['object']({'type':z['literal']('setLayerVisibility'),'layerId':z[_0x82106(0xe9)]()[_0x82106(0xed)](0x1),'visible':z['boolean']()})['strict'](),ArcGISMapCommandSchema=z['discriminatedUnion'](_0x82106(0xf2),[ArcGISGoToCommandSchema,ArcGISSetLayerVisibilityCommandSchema]),ArcGISMapOperationOriginIdSchema=z[_0x82106(0xe9)]()['trim']()[_0x82106(0xed)](0x1)['max'](0x80),ArcGISMapOperationOriginSchema=z['object']({'transactionId':ArcGISMapOperationOriginIdSchema,'operationId':ArcGISMapOperationOriginIdSchema})[_0x82106(0xee)](),ArcGISMapSnapshotNotificationSchema=z[_0x82106(0xf3)]({'snapshot':ArcGISMapSnapshotSchema,'operationOrigins':z[_0x82106(0xf1)](ArcGISMapOperationOriginSchema)['max'](0x10),'hasExternalChanges':z[_0x82106(0xf4)]()})['strict']()[_0x82106(0xf9)]((_0x15ea06,_0x32ba4c)=>{const _0x53ee3f=_0x82106;_0x15ea06[_0x53ee3f(0xfa)]['length']===0x0&&!_0x15ea06[_0x53ee3f(0x100)]&&_0x32ba4c[_0x53ee3f(0xea)]({'code':_0x53ee3f(0x105),'path':[_0x53ee3f(0xfa)],'message':_0x53ee3f(0xe8)});const _0x223de7=_0x15ea06['operationOrigins']['map'](({transactionId:_0x52d91a,operationId:_0x1b2f47})=>_0x52d91a+'\x00'+_0x1b2f47);new Set(_0x223de7)[_0x53ee3f(0x102)]!==_0x223de7['length']&&_0x32ba4c['addIssue']({'code':'custom','path':[_0x53ee3f(0xfa)],'message':_0x53ee3f(0xef)});}),ArcGISMapCommandErrorCodes=['map-not-ready','layer-not-found','invalid-target',_0x82106(0x103),'execution-failed','cancelled',_0x82106(0xfe)],ArcGISMapCommandErrorCodeSchema=z['enum'](ArcGISMapCommandErrorCodes),ArcGISMapCommandSuccessSchema=z[_0x82106(0xf3)]({'ok':z[_0x82106(0xfc)](!![]),'command':ArcGISMapCommandSchema,'snapshot':ArcGISMapSnapshotSchema})['strict'](),ArcGISMapCommandFailureSchema=z['object']({'ok':z['literal'](![]),'command':z['union']([ArcGISMapCommandSchema,z[_0x82106(0x104)](z[_0x82106(0xf0)]())]),'code':ArcGISMapCommandErrorCodeSchema,'message':z[_0x82106(0xe9)]()[_0x82106(0xed)](0x1),'snapshot':ArcGISMapSnapshotSchema['optional']()})['strict'](),ArcGISMapCommandResultSchema=z['discriminatedUnion']('ok',[ArcGISMapCommandSuccessSchema,ArcGISMapCommandFailureSchema]);export{ArcGISMapCommandErrorCodes,ArcGISMapCommandResultSchema,ArcGISMapCommandSchema,ArcGISMapOperationOriginSchema,ArcGISMapSnapshotNotificationSchema,ArcGISMapSnapshotSchema};
1
+ const _0xf99253=_0x3fa8;(function(_0x160a44,_0x5bfff2){const _0x2e1af3=_0x3fa8,_0x3ee17f=_0x160a44();while(!![]){try{const _0x4aa88e=parseInt(_0x2e1af3(0x1b1))/0x1+-parseInt(_0x2e1af3(0x1a4))/0x2+parseInt(_0x2e1af3(0x1b8))/0x3*(parseInt(_0x2e1af3(0x1a7))/0x4)+parseInt(_0x2e1af3(0x1c2))/0x5+-parseInt(_0x2e1af3(0x1b7))/0x6+parseInt(_0x2e1af3(0x1c4))/0x7*(parseInt(_0x2e1af3(0x1b2))/0x8)+-parseInt(_0x2e1af3(0x1c6))/0x9*(parseInt(_0x2e1af3(0x1ba))/0xa);if(_0x4aa88e===_0x5bfff2)break;else _0x3ee17f['push'](_0x3ee17f['shift']());}catch(_0x463602){_0x3ee17f['push'](_0x3ee17f['shift']());}}}(_0x1a00,0x48113));import{z}from'zod';const FiniteNumberSchema=z[_0xf99253(0x1af)]()[_0xf99253(0x1b4)](),ArcGISMapCenterSchema=z[_0xf99253(0x1ac)]({'longitude':FiniteNumberSchema[_0xf99253(0x1ab)](-0xb4)[_0xf99253(0x1b6)](0xb4),'latitude':FiniteNumberSchema[_0xf99253(0x1ab)](-0x5a)[_0xf99253(0x1b6)](0x5a)})[_0xf99253(0x1b0)](),ArcGISMapLayerSnapshotSchema=z['object']({'id':z['string']()[_0xf99253(0x1ab)](0x1),'title':z['string'](),'type':z['string'](),'visible':z['boolean']()})['strict'](),ArcGISMapSnapshotSchema=z[_0xf99253(0x1ac)]({'map':z[_0xf99253(0x1ac)]({'itemId':z[_0xf99253(0x1b5)]()['min'](0x1)[_0xf99253(0x1ae)](),'title':z[_0xf99253(0x1b5)]()['min'](0x1)['optional']()})[_0xf99253(0x1b0)](),'viewpoint':z['object']({'center':ArcGISMapCenterSchema,'zoom':FiniteNumberSchema[_0xf99253(0x1ab)](0x0)[_0xf99253(0x1b6)](0x17),'scale':FiniteNumberSchema[_0xf99253(0x1a3)]()})['strict'](),'layers':z[_0xf99253(0x1a8)](ArcGISMapLayerSnapshotSchema),'capabilities':z[_0xf99253(0x1ac)]({'goTo':z[_0xf99253(0x1bb)](),'setLayerVisibility':z['boolean']()})[_0xf99253(0x1b0)]()})[_0xf99253(0x1b0)](),ArcGISGoToCommandSchema=z[_0xf99253(0x1ac)]({'type':z['literal']('goTo'),'target':z[_0xf99253(0x1ac)]({'center':ArcGISMapCenterSchema,'zoom':FiniteNumberSchema[_0xf99253(0x1ab)](0x0)['max'](0x17)['optional']()})['strict']()})[_0xf99253(0x1b0)](),ArcGISSetLayerVisibilityCommandSchema=z[_0xf99253(0x1ac)]({'type':z[_0xf99253(0x1c0)](_0xf99253(0x1bd)),'layerId':z[_0xf99253(0x1b5)]()['min'](0x1),'visible':z[_0xf99253(0x1bb)]()})['strict'](),ArcGISMapCommandSchema=z[_0xf99253(0x1c3)]('type',[ArcGISGoToCommandSchema,ArcGISSetLayerVisibilityCommandSchema]),ArcGISMapOperationOriginIdSchema=z[_0xf99253(0x1b5)]()['trim']()['min'](0x1)[_0xf99253(0x1b6)](0x80),ArcGISMapOperationOriginSchema=z['object']({'transactionId':ArcGISMapOperationOriginIdSchema,'operationId':ArcGISMapOperationOriginIdSchema})['strict'](),ArcGISMapSnapshotNotificationSchema=z[_0xf99253(0x1ac)]({'snapshot':ArcGISMapSnapshotSchema,'operationOrigins':z[_0xf99253(0x1a8)](ArcGISMapOperationOriginSchema)['max'](0x10),'hasExternalChanges':z['boolean']()})[_0xf99253(0x1b0)]()['superRefine']((_0x33b4e9,_0x539fd7)=>{const _0x3d2a82=_0xf99253;_0x33b4e9[_0x3d2a82(0x1a6)]['length']===0x0&&!_0x33b4e9[_0x3d2a82(0x1b9)]&&_0x539fd7['addIssue']({'code':_0x3d2a82(0x1aa),'path':[_0x3d2a82(0x1a6)],'message':_0x3d2a82(0x1c5)});const _0x35bfad=_0x33b4e9['operationOrigins'][_0x3d2a82(0x1bf)](({transactionId:_0x220397,operationId:_0x154f53})=>_0x220397+'\x00'+_0x154f53);new Set(_0x35bfad)['size']!==_0x35bfad['length']&&_0x539fd7['addIssue']({'code':'custom','path':[_0x3d2a82(0x1a6)],'message':_0x3d2a82(0x1ad)});}),ArcGISMapCommandErrorCodes=[_0xf99253(0x1a5),_0xf99253(0x1c1),'invalid-target',_0xf99253(0x1be),'execution-failed',_0xf99253(0x1b3),'stale-controller'],ArcGISMapCommandErrorCodeSchema=z[_0xf99253(0x1a9)](ArcGISMapCommandErrorCodes),ArcGISMapCommandSuccessSchema=z[_0xf99253(0x1ac)]({'ok':z['literal'](!![]),'command':ArcGISMapCommandSchema,'snapshot':ArcGISMapSnapshotSchema})['strict'](),ArcGISMapCommandFailureSchema=z['object']({'ok':z[_0xf99253(0x1c0)](![]),'command':z['union']([ArcGISMapCommandSchema,z[_0xf99253(0x1bc)](z['unknown']())]),'code':ArcGISMapCommandErrorCodeSchema,'message':z['string']()[_0xf99253(0x1ab)](0x1),'snapshot':ArcGISMapSnapshotSchema['optional']()})[_0xf99253(0x1b0)](),ArcGISMapCommandResultSchema=z[_0xf99253(0x1c3)]('ok',[ArcGISMapCommandSuccessSchema,ArcGISMapCommandFailureSchema]);function _0x3fa8(_0x3dce62,_0x23de0c){_0x3dce62=_0x3dce62-0x1a3;const _0x1a00b3=_0x1a00();let _0x3fa801=_0x1a00b3[_0x3dce62];return _0x3fa801;}function _0x1a00(){const _0x4eaaea=['hasExternalChanges','340hKcqUR','boolean','record','setLayerVisibility','unsupported-command','map','literal','layer-not-found','2366935glxEcx','discriminatedUnion','112sXDZuL','A\x20map\x20notification\x20requires\x20an\x20operation\x20origin\x20or\x20an\x20external-change\x20marker.','254574xjUkID','positive','39606nDEOcW','map-not-ready','operationOrigins','656Audnkf','array','enum','custom','min','object','Map\x20notification\x20operation\x20origins\x20must\x20be\x20unique.','optional','number','strict','482238daYgUm','149336DOyVcp','cancelled','finite','string','max','2509506rUuSHQ','8061qtnEfJ'];_0x1a00=function(){return _0x4eaaea;};return _0x1a00();}export{ArcGISMapCommandErrorCodes,ArcGISMapCommandResultSchema,ArcGISMapCommandSchema,ArcGISMapOperationOriginSchema,ArcGISMapSnapshotNotificationSchema,ArcGISMapSnapshotSchema};