@agentic-ui-experience/ui-arcgis 0.0.1-beta.3 → 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/README.md +148 -4
- package/dist/ArcGISMapGraphicsController.d.ts +44 -0
- package/dist/ArcGISMapGraphicsController.js +1 -0
- package/dist/ArcGISMapView.d.ts +17 -2
- package/dist/ArcGISMapView.js +1 -1
- package/dist/api.d.ts +549 -0
- package/dist/api.js +1 -1
- package/dist/catalog.d.ts +324 -0
- package/dist/catalog.js +1 -1
- package/dist/controller/api.d.ts +320 -42
- package/dist/controller/api.js +1 -1
- package/dist/controller/createArcGISMapController.js +1 -1
- package/dist/controller/featureFilter.d.ts +425 -0
- package/dist/controller/featureFilter.js +1 -0
- package/dist/controller/featureFilterExpression.d.ts +16 -0
- package/dist/controller/featureFilterExpression.js +1 -0
- package/dist/controller/featureFilterRuntime.d.ts +19 -0
- package/dist/controller/featureFilterRuntime.js +1 -0
- package/dist/controller/featureQuery.d.ts +275 -0
- package/dist/controller/featureQuery.js +1 -0
- package/dist/controller/featureQueryExpression.d.ts +16 -0
- package/dist/controller/featureQueryExpression.js +1 -0
- package/dist/controller/featureQueryRuntime.d.ts +12 -0
- package/dist/controller/featureQueryRuntime.js +1 -0
- package/dist/controller/useArcGISMapController.js +1 -1
- package/dist/graphics.d.ts +38 -0
- package/dist/graphics.js +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/prompt.js +1 -1
- package/package.json +4 -4
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
|
-
|
|
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};
|