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

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 CHANGED
@@ -328,6 +328,212 @@ declare const ArcGISMapSourceSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
328
328
  } | undefined;
329
329
  basemap?: "arcgis/topographic" | "arcgis/streets" | "arcgis/navigation" | "arcgis/light-gray" | "arcgis/dark-gray" | "arcgis/imagery" | "arcgis/outdoor" | "portal/default" | undefined;
330
330
  }>]>;
331
+ export declare const ArcGISMapGraphicStyles: readonly ["primary", "success", "warning", "danger", "neutral"];
332
+ declare const ArcGISMapPositionSchema: z.ZodObject<{
333
+ longitude: z.ZodNumber;
334
+ latitude: z.ZodNumber;
335
+ }, "strict", z.ZodTypeAny, {
336
+ latitude: number;
337
+ longitude: number;
338
+ }, {
339
+ latitude: number;
340
+ longitude: number;
341
+ }>;
342
+ declare const ArcGISMapGeometrySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
343
+ type: z.ZodLiteral<"point">;
344
+ coordinates: z.ZodObject<{
345
+ longitude: z.ZodNumber;
346
+ latitude: z.ZodNumber;
347
+ }, "strict", z.ZodTypeAny, {
348
+ latitude: number;
349
+ longitude: number;
350
+ }, {
351
+ latitude: number;
352
+ longitude: number;
353
+ }>;
354
+ }, "strict", z.ZodTypeAny, {
355
+ type: "point";
356
+ coordinates: {
357
+ latitude: number;
358
+ longitude: number;
359
+ };
360
+ }, {
361
+ type: "point";
362
+ coordinates: {
363
+ latitude: number;
364
+ longitude: number;
365
+ };
366
+ }>, z.ZodObject<{
367
+ type: z.ZodLiteral<"polyline">;
368
+ coordinates: z.ZodArray<z.ZodObject<{
369
+ longitude: z.ZodNumber;
370
+ latitude: z.ZodNumber;
371
+ }, "strict", z.ZodTypeAny, {
372
+ latitude: number;
373
+ longitude: number;
374
+ }, {
375
+ latitude: number;
376
+ longitude: number;
377
+ }>, "many">;
378
+ }, "strict", z.ZodTypeAny, {
379
+ type: "polyline";
380
+ coordinates: {
381
+ latitude: number;
382
+ longitude: number;
383
+ }[];
384
+ }, {
385
+ type: "polyline";
386
+ coordinates: {
387
+ latitude: number;
388
+ longitude: number;
389
+ }[];
390
+ }>, z.ZodObject<{
391
+ type: z.ZodLiteral<"polygon">;
392
+ coordinates: z.ZodArray<z.ZodObject<{
393
+ longitude: z.ZodNumber;
394
+ latitude: z.ZodNumber;
395
+ }, "strict", z.ZodTypeAny, {
396
+ latitude: number;
397
+ longitude: number;
398
+ }, {
399
+ latitude: number;
400
+ longitude: number;
401
+ }>, "many">;
402
+ }, "strict", z.ZodTypeAny, {
403
+ type: "polygon";
404
+ coordinates: {
405
+ latitude: number;
406
+ longitude: number;
407
+ }[];
408
+ }, {
409
+ type: "polygon";
410
+ coordinates: {
411
+ latitude: number;
412
+ longitude: number;
413
+ }[];
414
+ }>]>;
415
+ declare const ArcGISMapGraphicSchema: z.ZodObject<{
416
+ geometry: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
417
+ type: z.ZodLiteral<"point">;
418
+ coordinates: z.ZodObject<{
419
+ longitude: z.ZodNumber;
420
+ latitude: z.ZodNumber;
421
+ }, "strict", z.ZodTypeAny, {
422
+ latitude: number;
423
+ longitude: number;
424
+ }, {
425
+ latitude: number;
426
+ longitude: number;
427
+ }>;
428
+ }, "strict", z.ZodTypeAny, {
429
+ type: "point";
430
+ coordinates: {
431
+ latitude: number;
432
+ longitude: number;
433
+ };
434
+ }, {
435
+ type: "point";
436
+ coordinates: {
437
+ latitude: number;
438
+ longitude: number;
439
+ };
440
+ }>, z.ZodObject<{
441
+ type: z.ZodLiteral<"polyline">;
442
+ coordinates: z.ZodArray<z.ZodObject<{
443
+ longitude: z.ZodNumber;
444
+ latitude: z.ZodNumber;
445
+ }, "strict", z.ZodTypeAny, {
446
+ latitude: number;
447
+ longitude: number;
448
+ }, {
449
+ latitude: number;
450
+ longitude: number;
451
+ }>, "many">;
452
+ }, "strict", z.ZodTypeAny, {
453
+ type: "polyline";
454
+ coordinates: {
455
+ latitude: number;
456
+ longitude: number;
457
+ }[];
458
+ }, {
459
+ type: "polyline";
460
+ coordinates: {
461
+ latitude: number;
462
+ longitude: number;
463
+ }[];
464
+ }>, z.ZodObject<{
465
+ type: z.ZodLiteral<"polygon">;
466
+ coordinates: z.ZodArray<z.ZodObject<{
467
+ longitude: z.ZodNumber;
468
+ latitude: z.ZodNumber;
469
+ }, "strict", z.ZodTypeAny, {
470
+ latitude: number;
471
+ longitude: number;
472
+ }, {
473
+ latitude: number;
474
+ longitude: number;
475
+ }>, "many">;
476
+ }, "strict", z.ZodTypeAny, {
477
+ type: "polygon";
478
+ coordinates: {
479
+ latitude: number;
480
+ longitude: number;
481
+ }[];
482
+ }, {
483
+ type: "polygon";
484
+ coordinates: {
485
+ latitude: number;
486
+ longitude: number;
487
+ }[];
488
+ }>]>;
489
+ style: z.ZodOptional<z.ZodEnum<["primary", "success", "warning", "danger", "neutral"]>>;
490
+ }, "strict", z.ZodTypeAny, {
491
+ geometry: {
492
+ type: "point";
493
+ coordinates: {
494
+ latitude: number;
495
+ longitude: number;
496
+ };
497
+ } | {
498
+ type: "polyline";
499
+ coordinates: {
500
+ latitude: number;
501
+ longitude: number;
502
+ }[];
503
+ } | {
504
+ type: "polygon";
505
+ coordinates: {
506
+ latitude: number;
507
+ longitude: number;
508
+ }[];
509
+ };
510
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
511
+ }, {
512
+ geometry: {
513
+ type: "point";
514
+ coordinates: {
515
+ latitude: number;
516
+ longitude: number;
517
+ };
518
+ } | {
519
+ type: "polyline";
520
+ coordinates: {
521
+ latitude: number;
522
+ longitude: number;
523
+ }[];
524
+ } | {
525
+ type: "polygon";
526
+ coordinates: {
527
+ latitude: number;
528
+ longitude: number;
529
+ }[];
530
+ };
531
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
532
+ }>;
533
+ export type ArcGISMapPosition = z.infer<typeof ArcGISMapPositionSchema>;
534
+ export type ArcGISMapGeometry = z.infer<typeof ArcGISMapGeometrySchema>;
535
+ export type ArcGISMapGraphicStyle = (typeof ArcGISMapGraphicStyles)[number];
536
+ export type ArcGISMapGraphic = z.infer<typeof ArcGISMapGraphicSchema>;
331
537
  export declare const ArcGISMapViewPropsSchema: z.ZodObject<{
332
538
  title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
333
539
  path: z.ZodString;
@@ -737,6 +943,124 @@ export declare const ArcGISMapViewPropsSchema: z.ZodObject<{
737
943
  args: Record<string, any>;
738
944
  returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
739
945
  }>]>>;
946
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
947
+ geometry: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
948
+ type: z.ZodLiteral<"point">;
949
+ coordinates: z.ZodObject<{
950
+ longitude: z.ZodNumber;
951
+ latitude: z.ZodNumber;
952
+ }, "strict", z.ZodTypeAny, {
953
+ latitude: number;
954
+ longitude: number;
955
+ }, {
956
+ latitude: number;
957
+ longitude: number;
958
+ }>;
959
+ }, "strict", z.ZodTypeAny, {
960
+ type: "point";
961
+ coordinates: {
962
+ latitude: number;
963
+ longitude: number;
964
+ };
965
+ }, {
966
+ type: "point";
967
+ coordinates: {
968
+ latitude: number;
969
+ longitude: number;
970
+ };
971
+ }>, z.ZodObject<{
972
+ type: z.ZodLiteral<"polyline">;
973
+ coordinates: z.ZodArray<z.ZodObject<{
974
+ longitude: z.ZodNumber;
975
+ latitude: z.ZodNumber;
976
+ }, "strict", z.ZodTypeAny, {
977
+ latitude: number;
978
+ longitude: number;
979
+ }, {
980
+ latitude: number;
981
+ longitude: number;
982
+ }>, "many">;
983
+ }, "strict", z.ZodTypeAny, {
984
+ type: "polyline";
985
+ coordinates: {
986
+ latitude: number;
987
+ longitude: number;
988
+ }[];
989
+ }, {
990
+ type: "polyline";
991
+ coordinates: {
992
+ latitude: number;
993
+ longitude: number;
994
+ }[];
995
+ }>, z.ZodObject<{
996
+ type: z.ZodLiteral<"polygon">;
997
+ coordinates: z.ZodArray<z.ZodObject<{
998
+ longitude: z.ZodNumber;
999
+ latitude: z.ZodNumber;
1000
+ }, "strict", z.ZodTypeAny, {
1001
+ latitude: number;
1002
+ longitude: number;
1003
+ }, {
1004
+ latitude: number;
1005
+ longitude: number;
1006
+ }>, "many">;
1007
+ }, "strict", z.ZodTypeAny, {
1008
+ type: "polygon";
1009
+ coordinates: {
1010
+ latitude: number;
1011
+ longitude: number;
1012
+ }[];
1013
+ }, {
1014
+ type: "polygon";
1015
+ coordinates: {
1016
+ latitude: number;
1017
+ longitude: number;
1018
+ }[];
1019
+ }>]>;
1020
+ style: z.ZodOptional<z.ZodEnum<["primary", "success", "warning", "danger", "neutral"]>>;
1021
+ }, "strict", z.ZodTypeAny, {
1022
+ geometry: {
1023
+ type: "point";
1024
+ coordinates: {
1025
+ latitude: number;
1026
+ longitude: number;
1027
+ };
1028
+ } | {
1029
+ type: "polyline";
1030
+ coordinates: {
1031
+ latitude: number;
1032
+ longitude: number;
1033
+ }[];
1034
+ } | {
1035
+ type: "polygon";
1036
+ coordinates: {
1037
+ latitude: number;
1038
+ longitude: number;
1039
+ }[];
1040
+ };
1041
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
1042
+ }, {
1043
+ geometry: {
1044
+ type: "point";
1045
+ coordinates: {
1046
+ latitude: number;
1047
+ longitude: number;
1048
+ };
1049
+ } | {
1050
+ type: "polyline";
1051
+ coordinates: {
1052
+ latitude: number;
1053
+ longitude: number;
1054
+ }[];
1055
+ } | {
1056
+ type: "polygon";
1057
+ coordinates: {
1058
+ latitude: number;
1059
+ longitude: number;
1060
+ }[];
1061
+ };
1062
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
1063
+ }>, "many">>;
740
1064
  }, "strict", z.ZodTypeAny, {
741
1065
  source: {
742
1066
  type: "webmap";
@@ -832,6 +1156,28 @@ export declare const ArcGISMapViewPropsSchema: z.ZodObject<{
832
1156
  args: Record<string, any>;
833
1157
  returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
834
1158
  } | undefined;
1159
+ graphics?: {
1160
+ geometry: {
1161
+ type: "point";
1162
+ coordinates: {
1163
+ latitude: number;
1164
+ longitude: number;
1165
+ };
1166
+ } | {
1167
+ type: "polyline";
1168
+ coordinates: {
1169
+ latitude: number;
1170
+ longitude: number;
1171
+ }[];
1172
+ } | {
1173
+ type: "polygon";
1174
+ coordinates: {
1175
+ latitude: number;
1176
+ longitude: number;
1177
+ }[];
1178
+ };
1179
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
1180
+ }[] | undefined;
835
1181
  }, {
836
1182
  source: {
837
1183
  type: "webmap";
@@ -927,6 +1273,28 @@ export declare const ArcGISMapViewPropsSchema: z.ZodObject<{
927
1273
  args: Record<string, any>;
928
1274
  returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
929
1275
  } | undefined;
1276
+ graphics?: {
1277
+ geometry: {
1278
+ type: "point";
1279
+ coordinates: {
1280
+ latitude: number;
1281
+ longitude: number;
1282
+ };
1283
+ } | {
1284
+ type: "polyline";
1285
+ coordinates: {
1286
+ latitude: number;
1287
+ longitude: number;
1288
+ }[];
1289
+ } | {
1290
+ type: "polygon";
1291
+ coordinates: {
1292
+ latitude: number;
1293
+ longitude: number;
1294
+ }[];
1295
+ };
1296
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
1297
+ }[] | undefined;
930
1298
  }>;
931
1299
  export declare const ArcGISMapViewApi: {
932
1300
  name: string;
@@ -1339,6 +1707,124 @@ export declare const ArcGISMapViewApi: {
1339
1707
  args: Record<string, any>;
1340
1708
  returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1341
1709
  }>]>>;
1710
+ graphics: z.ZodOptional<z.ZodArray<z.ZodObject<{
1711
+ geometry: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1712
+ type: z.ZodLiteral<"point">;
1713
+ coordinates: z.ZodObject<{
1714
+ longitude: z.ZodNumber;
1715
+ latitude: z.ZodNumber;
1716
+ }, "strict", z.ZodTypeAny, {
1717
+ latitude: number;
1718
+ longitude: number;
1719
+ }, {
1720
+ latitude: number;
1721
+ longitude: number;
1722
+ }>;
1723
+ }, "strict", z.ZodTypeAny, {
1724
+ type: "point";
1725
+ coordinates: {
1726
+ latitude: number;
1727
+ longitude: number;
1728
+ };
1729
+ }, {
1730
+ type: "point";
1731
+ coordinates: {
1732
+ latitude: number;
1733
+ longitude: number;
1734
+ };
1735
+ }>, z.ZodObject<{
1736
+ type: z.ZodLiteral<"polyline">;
1737
+ coordinates: z.ZodArray<z.ZodObject<{
1738
+ longitude: z.ZodNumber;
1739
+ latitude: z.ZodNumber;
1740
+ }, "strict", z.ZodTypeAny, {
1741
+ latitude: number;
1742
+ longitude: number;
1743
+ }, {
1744
+ latitude: number;
1745
+ longitude: number;
1746
+ }>, "many">;
1747
+ }, "strict", z.ZodTypeAny, {
1748
+ type: "polyline";
1749
+ coordinates: {
1750
+ latitude: number;
1751
+ longitude: number;
1752
+ }[];
1753
+ }, {
1754
+ type: "polyline";
1755
+ coordinates: {
1756
+ latitude: number;
1757
+ longitude: number;
1758
+ }[];
1759
+ }>, z.ZodObject<{
1760
+ type: z.ZodLiteral<"polygon">;
1761
+ coordinates: z.ZodArray<z.ZodObject<{
1762
+ longitude: z.ZodNumber;
1763
+ latitude: z.ZodNumber;
1764
+ }, "strict", z.ZodTypeAny, {
1765
+ latitude: number;
1766
+ longitude: number;
1767
+ }, {
1768
+ latitude: number;
1769
+ longitude: number;
1770
+ }>, "many">;
1771
+ }, "strict", z.ZodTypeAny, {
1772
+ type: "polygon";
1773
+ coordinates: {
1774
+ latitude: number;
1775
+ longitude: number;
1776
+ }[];
1777
+ }, {
1778
+ type: "polygon";
1779
+ coordinates: {
1780
+ latitude: number;
1781
+ longitude: number;
1782
+ }[];
1783
+ }>]>;
1784
+ style: z.ZodOptional<z.ZodEnum<["primary", "success", "warning", "danger", "neutral"]>>;
1785
+ }, "strict", z.ZodTypeAny, {
1786
+ geometry: {
1787
+ type: "point";
1788
+ coordinates: {
1789
+ latitude: number;
1790
+ longitude: number;
1791
+ };
1792
+ } | {
1793
+ type: "polyline";
1794
+ coordinates: {
1795
+ latitude: number;
1796
+ longitude: number;
1797
+ }[];
1798
+ } | {
1799
+ type: "polygon";
1800
+ coordinates: {
1801
+ latitude: number;
1802
+ longitude: number;
1803
+ }[];
1804
+ };
1805
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
1806
+ }, {
1807
+ geometry: {
1808
+ type: "point";
1809
+ coordinates: {
1810
+ latitude: number;
1811
+ longitude: number;
1812
+ };
1813
+ } | {
1814
+ type: "polyline";
1815
+ coordinates: {
1816
+ latitude: number;
1817
+ longitude: number;
1818
+ }[];
1819
+ } | {
1820
+ type: "polygon";
1821
+ coordinates: {
1822
+ latitude: number;
1823
+ longitude: number;
1824
+ }[];
1825
+ };
1826
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
1827
+ }>, "many">>;
1342
1828
  }, "strict", z.ZodTypeAny, {
1343
1829
  source: {
1344
1830
  type: "webmap";
@@ -1434,6 +1920,28 @@ export declare const ArcGISMapViewApi: {
1434
1920
  args: Record<string, any>;
1435
1921
  returnType: "string" | "number" | "boolean" | "object" | "array" | "void" | "any";
1436
1922
  } | undefined;
1923
+ graphics?: {
1924
+ geometry: {
1925
+ type: "point";
1926
+ coordinates: {
1927
+ latitude: number;
1928
+ longitude: number;
1929
+ };
1930
+ } | {
1931
+ type: "polyline";
1932
+ coordinates: {
1933
+ latitude: number;
1934
+ longitude: number;
1935
+ }[];
1936
+ } | {
1937
+ type: "polygon";
1938
+ coordinates: {
1939
+ latitude: number;
1940
+ longitude: number;
1941
+ }[];
1942
+ };
1943
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
1944
+ }[] | undefined;
1437
1945
  }, {
1438
1946
  source: {
1439
1947
  type: "webmap";
@@ -1529,6 +2037,28 @@ export declare const ArcGISMapViewApi: {
1529
2037
  args: Record<string, any>;
1530
2038
  returnType?: "string" | "number" | "boolean" | "object" | "array" | "void" | "any" | undefined;
1531
2039
  } | undefined;
2040
+ graphics?: {
2041
+ geometry: {
2042
+ type: "point";
2043
+ coordinates: {
2044
+ latitude: number;
2045
+ longitude: number;
2046
+ };
2047
+ } | {
2048
+ type: "polyline";
2049
+ coordinates: {
2050
+ latitude: number;
2051
+ longitude: number;
2052
+ }[];
2053
+ } | {
2054
+ type: "polygon";
2055
+ coordinates: {
2056
+ latitude: number;
2057
+ longitude: number;
2058
+ }[];
2059
+ };
2060
+ style?: "primary" | "success" | "warning" | "danger" | "neutral" | undefined;
2061
+ }[] | undefined;
1532
2062
  }>;
1533
2063
  };
1534
2064
  export type ArcGISMapControls = z.infer<typeof ArcGISMapControlsSchema>;
@@ -1540,6 +2070,24 @@ export interface NormalizedArcGISMapControls {
1540
2070
  layerList: boolean;
1541
2071
  search: boolean;
1542
2072
  }
2073
+ export interface NormalizedArcGISMapPosition {
2074
+ longitude: number;
2075
+ latitude: number;
2076
+ }
2077
+ export type NormalizedArcGISMapGeometry = {
2078
+ type: "point";
2079
+ coordinates: NormalizedArcGISMapPosition;
2080
+ } | {
2081
+ type: "polyline";
2082
+ coordinates: NormalizedArcGISMapPosition[];
2083
+ } | {
2084
+ type: "polygon";
2085
+ coordinates: NormalizedArcGISMapPosition[];
2086
+ };
2087
+ export interface NormalizedArcGISMapGraphic {
2088
+ geometry: NormalizedArcGISMapGeometry;
2089
+ style: ArcGISMapGraphicStyle;
2090
+ }
1543
2091
  export interface NormalizedArcGISMapViewProps {
1544
2092
  title?: string;
1545
2093
  description?: string;
@@ -1558,6 +2106,7 @@ export interface NormalizedArcGISMapViewProps {
1558
2106
  controls: NormalizedArcGISMapControls;
1559
2107
  height: number;
1560
2108
  openInArcGIS: boolean;
2109
+ graphics: NormalizedArcGISMapGraphic[];
1561
2110
  }
1562
2111
  export declare function normalizeArcGISMapViewProps(props: ArcGISMapViewProps): NormalizedArcGISMapViewProps;
1563
2112
  export {};
package/dist/api.js CHANGED
@@ -1 +1 @@
1
- const _0x2c4292=_0x3b77;(function(_0x1076dc,_0x71ee88){const _0x49e5ae=_0x3b77,_0x1efd80=_0x1076dc();while(!![]){try{const _0x5ba412=parseInt(_0x49e5ae(0x119))/0x1*(-parseInt(_0x49e5ae(0x135))/0x2)+parseInt(_0x49e5ae(0x138))/0x3+-parseInt(_0x49e5ae(0x12f))/0x4*(-parseInt(_0x49e5ae(0x11a))/0x5)+-parseInt(_0x49e5ae(0x12c))/0x6+-parseInt(_0x49e5ae(0x125))/0x7*(-parseInt(_0x49e5ae(0x139))/0x8)+-parseInt(_0x49e5ae(0x126))/0x9*(-parseInt(_0x49e5ae(0x133))/0xa)+-parseInt(_0x49e5ae(0x127))/0xb*(parseInt(_0x49e5ae(0x11e))/0xc);if(_0x5ba412===_0x71ee88)break;else _0x1efd80['push'](_0x1efd80['shift']());}catch(_0x5de5d0){_0x1efd80['push'](_0x1efd80['shift']());}}}(_0x18ed,0x7ba29));function _0x3b77(_0x447fcc,_0x3dbde9){_0x447fcc=_0x447fcc-0x117;const _0x18edb6=_0x18ed();let _0x3b776e=_0x18edb6[_0x447fcc];return _0x3b776e;}import{z,CommonSchemas}from'@agentic-ui-experience/ui-runtime';const ArcGISBasemaps=[_0x2c4292(0x130),'arcgis/streets',_0x2c4292(0x121),_0x2c4292(0x11c),_0x2c4292(0x12d),_0x2c4292(0x136),'arcgis/outdoor',_0x2c4292(0x123)],defaultArcGISBasemap=_0x2c4292(0x130),defaultArcGISMapControls={'zoom':!![],'legend':![],'layerList':![],'search':![]},ArcGISBasemapSchema=z[_0x2c4292(0x13c)](ArcGISBasemaps),ArcGISMapHeightSchema=CommonSchemas[_0x2c4292(0x124)]['refine'](_0x5c646f=>typeof _0x5c646f!==_0x2c4292(0x137)||_0x5c646f>=0xb4&&_0x5c646f<=0x280,_0x2c4292(0x12a)),ArcGISMapControlsSchema=z['object']({'zoom':CommonSchemas[_0x2c4292(0x11b)][_0x2c4292(0x120)](),'legend':CommonSchemas['DynamicBoolean'][_0x2c4292(0x120)](),'layerList':CommonSchemas['DynamicBoolean'][_0x2c4292(0x120)](),'search':CommonSchemas['DynamicBoolean'][_0x2c4292(0x120)]()})['strict'](),ArcGISMapSourceSchema=z['discriminatedUnion']('type',[z['object']({'type':z[_0x2c4292(0x132)](_0x2c4292(0x129)),'itemId':CommonSchemas['DynamicString']})['strict'](),z['object']({'type':z['literal']('basemap'),'basemap':ArcGISBasemapSchema['optional'](),'center':z['object']({'latitude':CommonSchemas['DynamicNumber'],'longitude':CommonSchemas['DynamicNumber']})[_0x2c4292(0x13a)](),'zoom':CommonSchemas[_0x2c4292(0x124)]['optional']()})[_0x2c4292(0x13a)]()]),ArcGISMapViewPropsSchema=z[_0x2c4292(0x131)]({'title':CommonSchemas['DynamicString'][_0x2c4292(0x120)](),'description':CommonSchemas['DynamicString']['optional'](),'source':ArcGISMapSourceSchema,'controls':ArcGISMapControlsSchema[_0x2c4292(0x120)](),'height':ArcGISMapHeightSchema[_0x2c4292(0x120)](),'openInArcGIS':CommonSchemas[_0x2c4292(0x11b)][_0x2c4292(0x120)]()})[_0x2c4292(0x13a)](),ArcGISMapViewApi={'name':_0x2c4292(0x13f),'schema':ArcGISMapViewPropsSchema};function normalizeArcGISMapViewProps(_0x2224d6){const _0x3f8d54=_0x2c4292,_0x50519a={...defaultArcGISMapControls,..._0x2224d6['controls']},_0x4e968a=Number(_0x2224d6['height']??0x118);return{'title':typeof _0x2224d6[_0x3f8d54(0x11f)]==='string'?_0x2224d6[_0x3f8d54(0x11f)]:void 0x0,'description':typeof _0x2224d6['description']===_0x3f8d54(0x12e)?_0x2224d6['description']:void 0x0,'source':_0x2224d6[_0x3f8d54(0x118)][_0x3f8d54(0x13e)]===_0x3f8d54(0x122)?{'type':'basemap','basemap':_0x2224d6[_0x3f8d54(0x118)]['basemap']??defaultArcGISBasemap,'center':{'latitude':Number(_0x2224d6['source'][_0x3f8d54(0x134)]['latitude']),'longitude':Number(_0x2224d6[_0x3f8d54(0x118)][_0x3f8d54(0x134)][_0x3f8d54(0x117)])},'zoom':_0x2224d6[_0x3f8d54(0x118)]['zoom']===void 0x0?void 0x0:Number(_0x2224d6[_0x3f8d54(0x118)][_0x3f8d54(0x128)])}:{'type':'webmap','itemId':String(_0x2224d6[_0x3f8d54(0x118)]['itemId'])},'controls':{'zoom':Boolean(_0x50519a['zoom']),'legend':Boolean(_0x50519a[_0x3f8d54(0x11d)]),'layerList':Boolean(_0x50519a['layerList']),'search':Boolean(_0x50519a[_0x3f8d54(0x13b)])},'height':Number['isFinite'](_0x4e968a)?Math[_0x3f8d54(0x12b)](Math['max'](_0x4e968a,0xb4),0x280):0x118,'openInArcGIS':Boolean(_0x2224d6[_0x3f8d54(0x13d)]??![])};}export{ArcGISBasemaps,ArcGISMapViewApi,ArcGISMapViewPropsSchema,defaultArcGISBasemap,defaultArcGISMapControls,normalizeArcGISMapViewProps};function _0x18ed(){const _0x28c9ac=['arcgis/dark-gray','string','5868daqsob','arcgis/topographic','object','literal','10Xjcypa','center','536ylCbQf','arcgis/imagery','number','176880oOpPOM','7650584NaXplU','strict','search','enum','openInArcGIS','type','ArcGISMapView','longitude','source','971KgcgpT','2545gLEhZs','DynamicBoolean','arcgis/light-gray','legend','19356oZonML','title','optional','arcgis/navigation','basemap','portal/default','DynamicNumber','7XQMvnW','8152623OkYkCI','8404vKftnS','zoom','webmap','ArcGISMapView\x20height\x20must\x20be\x20between\x20180\x20and\x20640\x20pixels.','min','4013184ruUduD'];_0x18ed=function(){return _0x28c9ac;};return _0x18ed();}
1
+ const _0x24ee6e=_0x443b;(function(_0x47eded,_0x5d3720){const _0x30a853=_0x443b,_0x3d30fc=_0x47eded();while(!![]){try{const _0xca2511=-parseInt(_0x30a853(0x19b))/0x1*(parseInt(_0x30a853(0x1be))/0x2)+-parseInt(_0x30a853(0x1a1))/0x3+parseInt(_0x30a853(0x1ae))/0x4+parseInt(_0x30a853(0x1a2))/0x5+parseInt(_0x30a853(0x1a0))/0x6+-parseInt(_0x30a853(0x1a9))/0x7+-parseInt(_0x30a853(0x1c9))/0x8*(-parseInt(_0x30a853(0x1b2))/0x9);if(_0xca2511===_0x5d3720)break;else _0x3d30fc['push'](_0x3d30fc['shift']());}catch(_0x2793ba){_0x3d30fc['push'](_0x3d30fc['shift']());}}}(_0x1210,0x9e8c1));import{z,CommonSchemas}from'@agentic-ui-experience/ui-runtime';const ArcGISBasemaps=['arcgis/topographic','arcgis/streets','arcgis/navigation',_0x24ee6e(0x1c7),_0x24ee6e(0x19a),_0x24ee6e(0x1b5),'arcgis/outdoor',_0x24ee6e(0x1ab)],defaultArcGISBasemap=_0x24ee6e(0x1ab),defaultArcGISMapControls={'zoom':!![],'legend':![],'layerList':![],'search':![]},ArcGISBasemapSchema=z[_0x24ee6e(0x1c6)](ArcGISBasemaps),ArcGISMapHeightSchema=CommonSchemas[_0x24ee6e(0x199)]['refine'](_0xaefee0=>typeof _0xaefee0!=='number'||_0xaefee0>=0xb4&&_0xaefee0<=0x280,_0x24ee6e(0x1a6)),ArcGISMapControlsSchema=z[_0x24ee6e(0x1c0)]({'zoom':CommonSchemas['DynamicBoolean'][_0x24ee6e(0x1a4)](),'legend':CommonSchemas[_0x24ee6e(0x1c3)]['optional'](),'layerList':CommonSchemas['DynamicBoolean']['optional'](),'search':CommonSchemas['DynamicBoolean']['optional']()})['strict'](),ArcGISMapSourceSchema=z['discriminatedUnion']('type',[z[_0x24ee6e(0x1c0)]({'type':z[_0x24ee6e(0x1a8)]('webmap'),'itemId':CommonSchemas[_0x24ee6e(0x1c2)]})[_0x24ee6e(0x1bd)](),z['object']({'type':z[_0x24ee6e(0x1a8)](_0x24ee6e(0x1ac)),'basemap':ArcGISBasemapSchema[_0x24ee6e(0x1a4)](),'center':z['object']({'latitude':CommonSchemas['DynamicNumber'],'longitude':CommonSchemas[_0x24ee6e(0x199)]})['strict'](),'zoom':CommonSchemas[_0x24ee6e(0x199)]['optional']()})[_0x24ee6e(0x1bd)]()]),ArcGISMapGraphicStyles=[_0x24ee6e(0x1b4),_0x24ee6e(0x1a5),_0x24ee6e(0x1ad),_0x24ee6e(0x1c5),'neutral'],ArcGISMapPositionSchema=z['object']({'longitude':z[_0x24ee6e(0x19c)]()['finite']()['min'](-0xb4)['max'](0xb4),'latitude':z['number']()['finite']()['min'](-0x5a)[_0x24ee6e(0x1b6)](0x5a)})[_0x24ee6e(0x1bd)](),ArcGISMapGeometrySchema=z[_0x24ee6e(0x19d)]('type',[z['object']({'type':z[_0x24ee6e(0x1a8)]('point'),'coordinates':ArcGISMapPositionSchema})[_0x24ee6e(0x1bd)](),z['object']({'type':z[_0x24ee6e(0x1a8)](_0x24ee6e(0x1bc)),'coordinates':z[_0x24ee6e(0x1af)](ArcGISMapPositionSchema)[_0x24ee6e(0x1bb)](0x2)})['strict'](),z['object']({'type':z[_0x24ee6e(0x1a8)](_0x24ee6e(0x1b3)),'coordinates':z['array'](ArcGISMapPositionSchema)['min'](0x3)})['strict']()]),ArcGISMapGraphicSchema=z[_0x24ee6e(0x1c0)]({'geometry':ArcGISMapGeometrySchema,'style':z[_0x24ee6e(0x1c6)](ArcGISMapGraphicStyles)['optional']()})[_0x24ee6e(0x1bd)](),ArcGISMapViewPropsSchema=z['object']({'title':CommonSchemas[_0x24ee6e(0x1c2)]['optional'](),'description':CommonSchemas['DynamicString'][_0x24ee6e(0x1a4)](),'source':ArcGISMapSourceSchema,'controls':ArcGISMapControlsSchema[_0x24ee6e(0x1a4)](),'height':ArcGISMapHeightSchema['optional'](),'openInArcGIS':CommonSchemas[_0x24ee6e(0x1c3)]['optional'](),'graphics':z[_0x24ee6e(0x1af)](ArcGISMapGraphicSchema)[_0x24ee6e(0x1b6)](0x32)['optional']()})[_0x24ee6e(0x1bd)](),ArcGISMapViewApi={'name':'ArcGISMapView','schema':ArcGISMapViewPropsSchema};function normalizeArcGISMapPosition(_0x258b5c){const _0x21b431=_0x24ee6e;return{'longitude':Number(_0x258b5c[_0x21b431(0x1a7)]),'latitude':Number(_0x258b5c['latitude'])};}function normalizeArcGISMapGraphic(_0x2b266c){const _0x4d2554=_0x24ee6e,_0x193969=_0x2b266c[_0x4d2554(0x1c1)][_0x4d2554(0x1a3)]==='point'?{'type':'point','coordinates':normalizeArcGISMapPosition(_0x2b266c[_0x4d2554(0x1c1)][_0x4d2554(0x1aa)])}:{'type':_0x2b266c[_0x4d2554(0x1c1)]['type'],'coordinates':_0x2b266c[_0x4d2554(0x1c1)][_0x4d2554(0x1aa)]['map'](normalizeArcGISMapPosition)};return{'geometry':_0x193969,'style':_0x2b266c[_0x4d2554(0x1b0)]??_0x4d2554(0x1b4)};}function normalizeArcGISMapViewProps(_0x517d6f){const _0x324120=_0x24ee6e,_0x43d721={...defaultArcGISMapControls,..._0x517d6f['controls']},_0xb06e86=Number(_0x517d6f[_0x324120(0x1b7)]??0x118);return{'title':typeof _0x517d6f['title']===_0x324120(0x1c8)?_0x517d6f['title']:void 0x0,'description':typeof _0x517d6f[_0x324120(0x1b8)]===_0x324120(0x1c8)?_0x517d6f['description']:void 0x0,'source':_0x517d6f['source']['type']===_0x324120(0x1ac)?{'type':_0x324120(0x1ac),'basemap':_0x517d6f['source']['basemap']??defaultArcGISBasemap,'center':{'latitude':Number(_0x517d6f[_0x324120(0x19e)]['center']['latitude']),'longitude':Number(_0x517d6f['source'][_0x324120(0x1b9)]['longitude'])},'zoom':_0x517d6f['source']['zoom']===void 0x0?void 0x0:Number(_0x517d6f[_0x324120(0x19e)]['zoom'])}:{'type':_0x324120(0x1bf),'itemId':String(_0x517d6f['source']['itemId'])},'controls':{'zoom':Boolean(_0x43d721[_0x324120(0x19f)]),'legend':Boolean(_0x43d721['legend']),'layerList':Boolean(_0x43d721[_0x324120(0x1c4)]),'search':Boolean(_0x43d721[_0x324120(0x1b1)])},'height':Number[_0x324120(0x1ba)](_0xb06e86)?Math[_0x324120(0x1bb)](Math['max'](_0xb06e86,0xb4),0x280):0x118,'openInArcGIS':Boolean(_0x517d6f['openInArcGIS']??![]),'graphics':(_0x517d6f['graphics']??[])['map'](normalizeArcGISMapGraphic)};}export{ArcGISBasemaps,ArcGISMapGraphicStyles,ArcGISMapViewApi,ArcGISMapViewPropsSchema,defaultArcGISBasemap,defaultArcGISMapControls,normalizeArcGISMapViewProps};function _0x443b(_0x26b3af,_0x1e9c2c){_0x26b3af=_0x26b3af-0x199;const _0x121037=_0x1210();let _0x443bc7=_0x121037[_0x26b3af];return _0x443bc7;}function _0x1210(){const _0x1d2aba=['7755424rSYyJy','DynamicNumber','arcgis/dark-gray','2VFFRET','number','discriminatedUnion','source','zoom','4414650NRuotn','3312657xvmcrg','3204425VoAaDQ','type','optional','success','ArcGISMapView\x20height\x20must\x20be\x20between\x20180\x20and\x20640\x20pixels.','longitude','literal','7778162Duiqmv','coordinates','portal/default','basemap','warning','1812528gSNEYq','array','style','search','18ffGzAN','polygon','primary','arcgis/imagery','max','height','description','center','isFinite','min','polyline','strict','903854VopPdr','webmap','object','geometry','DynamicString','DynamicBoolean','layerList','danger','enum','arcgis/light-gray','string'];_0x1210=function(){return _0x1d2aba;};return _0x1210();}