@geode/opengeodeweb-viewer 1.37.0-rc.1 → 1.37.0-rc.3

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.
@@ -246,6 +246,34 @@
246
246
  "additionalProperties": false
247
247
  }
248
248
  },
249
+ "opacity": {
250
+ "$id": "opengeodeweb_viewer.mesh.cells.opacity",
251
+ "rpc": "opacity",
252
+ "type": "object",
253
+ "properties": {
254
+ "id": {
255
+ "type": "string",
256
+ "minLength": 32,
257
+ "maxLength": 32
258
+ },
259
+ "opacity": {
260
+ "type": "number",
261
+ "minimum": 0,
262
+ "maximum": 1
263
+ }
264
+ },
265
+ "required": [
266
+ "id",
267
+ "opacity"
268
+ ],
269
+ "additionalProperties": false,
270
+ "response": {
271
+ "type": "object",
272
+ "properties": {},
273
+ "required": [],
274
+ "additionalProperties": false
275
+ }
276
+ },
249
277
  "color": {
250
278
  "$id": "opengeodeweb_viewer.mesh.cells.color",
251
279
  "rpc": "color",
@@ -523,6 +551,34 @@
523
551
  "additionalProperties": false
524
552
  }
525
553
  },
554
+ "opacity": {
555
+ "$id": "opengeodeweb_viewer.mesh.edges.opacity",
556
+ "rpc": "opacity",
557
+ "type": "object",
558
+ "properties": {
559
+ "id": {
560
+ "type": "string",
561
+ "minLength": 32,
562
+ "maxLength": 32
563
+ },
564
+ "opacity": {
565
+ "type": "number",
566
+ "minimum": 0,
567
+ "maximum": 1
568
+ }
569
+ },
570
+ "required": [
571
+ "id",
572
+ "opacity"
573
+ ],
574
+ "additionalProperties": false,
575
+ "response": {
576
+ "type": "object",
577
+ "properties": {},
578
+ "required": [],
579
+ "additionalProperties": false
580
+ }
581
+ },
526
582
  "color": {
527
583
  "$id": "opengeodeweb_viewer.mesh.edges.color",
528
584
  "rpc": "color",
@@ -727,6 +783,34 @@
727
783
  "additionalProperties": false
728
784
  }
729
785
  },
786
+ "opacity": {
787
+ "$id": "opengeodeweb_viewer.mesh.points.opacity",
788
+ "rpc": "opacity",
789
+ "type": "object",
790
+ "properties": {
791
+ "id": {
792
+ "type": "string",
793
+ "minLength": 32,
794
+ "maxLength": 32
795
+ },
796
+ "opacity": {
797
+ "type": "number",
798
+ "minimum": 0,
799
+ "maximum": 1
800
+ }
801
+ },
802
+ "required": [
803
+ "id",
804
+ "opacity"
805
+ ],
806
+ "additionalProperties": false,
807
+ "response": {
808
+ "type": "object",
809
+ "properties": {},
810
+ "required": [],
811
+ "additionalProperties": false
812
+ }
813
+ },
730
814
  "color": {
731
815
  "$id": "opengeodeweb_viewer.mesh.points.color",
732
816
  "rpc": "color",
@@ -978,6 +1062,34 @@
978
1062
  "additionalProperties": false
979
1063
  }
980
1064
  },
1065
+ "opacity": {
1066
+ "$id": "opengeodeweb_viewer.mesh.polygons.opacity",
1067
+ "rpc": "opacity",
1068
+ "type": "object",
1069
+ "properties": {
1070
+ "id": {
1071
+ "type": "string",
1072
+ "minLength": 32,
1073
+ "maxLength": 32
1074
+ },
1075
+ "opacity": {
1076
+ "type": "number",
1077
+ "minimum": 0,
1078
+ "maximum": 1
1079
+ }
1080
+ },
1081
+ "required": [
1082
+ "id",
1083
+ "opacity"
1084
+ ],
1085
+ "additionalProperties": false,
1086
+ "response": {
1087
+ "type": "object",
1088
+ "properties": {},
1089
+ "required": [],
1090
+ "additionalProperties": false
1091
+ }
1092
+ },
981
1093
  "color": {
982
1094
  "$id": "opengeodeweb_viewer.mesh.polygons.color",
983
1095
  "rpc": "color",
@@ -1229,6 +1341,34 @@
1229
1341
  "additionalProperties": false
1230
1342
  }
1231
1343
  },
1344
+ "opacity": {
1345
+ "$id": "opengeodeweb_viewer.mesh.polyhedra.opacity",
1346
+ "rpc": "opacity",
1347
+ "type": "object",
1348
+ "properties": {
1349
+ "id": {
1350
+ "type": "string",
1351
+ "minLength": 32,
1352
+ "maxLength": 32
1353
+ },
1354
+ "opacity": {
1355
+ "type": "number",
1356
+ "minimum": 0,
1357
+ "maximum": 1
1358
+ }
1359
+ },
1360
+ "required": [
1361
+ "id",
1362
+ "opacity"
1363
+ ],
1364
+ "additionalProperties": false,
1365
+ "response": {
1366
+ "type": "object",
1367
+ "properties": {},
1368
+ "required": [],
1369
+ "additionalProperties": false
1370
+ }
1371
+ },
1232
1372
  "color": {
1233
1373
  "$id": "opengeodeweb_viewer.mesh.polyhedra.color",
1234
1374
  "rpc": "color",
@@ -1440,6 +1580,88 @@
1440
1580
  "additionalProperties": false
1441
1581
  }
1442
1582
  },
1583
+ "basemap_layers": {
1584
+ "$id": "opengeodeweb_viewer.mesh.basemap_layers",
1585
+ "rpc": "basemap_layers",
1586
+ "type": "object",
1587
+ "properties": {
1588
+ "id": {
1589
+ "type": "string",
1590
+ "minLength": 32,
1591
+ "maxLength": 32
1592
+ },
1593
+ "layers": {
1594
+ "type": "array",
1595
+ "items": {
1596
+ "type": "object",
1597
+ "properties": {
1598
+ "map": {
1599
+ "type": "string",
1600
+ "minLength": 1
1601
+ },
1602
+ "visible": {
1603
+ "type": "boolean"
1604
+ },
1605
+ "opacity": {
1606
+ "type": "number",
1607
+ "minimum": 0,
1608
+ "maximum": 1
1609
+ },
1610
+ "crop": {
1611
+ "type": "boolean"
1612
+ }
1613
+ },
1614
+ "required": [
1615
+ "map",
1616
+ "visible",
1617
+ "opacity",
1618
+ "crop"
1619
+ ],
1620
+ "additionalProperties": false
1621
+ }
1622
+ }
1623
+ },
1624
+ "required": [
1625
+ "id",
1626
+ "layers"
1627
+ ],
1628
+ "additionalProperties": false,
1629
+ "response": {
1630
+ "type": "object",
1631
+ "properties": {},
1632
+ "required": [],
1633
+ "additionalProperties": false
1634
+ }
1635
+ },
1636
+ "basemap_drape": {
1637
+ "$id": "opengeodeweb_viewer.mesh.basemap_drape",
1638
+ "rpc": "basemap_drape",
1639
+ "type": "object",
1640
+ "properties": {
1641
+ "id": {
1642
+ "type": "string",
1643
+ "minLength": 32,
1644
+ "maxLength": 32
1645
+ },
1646
+ "data_ids": {
1647
+ "type": "array",
1648
+ "items": {
1649
+ "type": "string"
1650
+ }
1651
+ }
1652
+ },
1653
+ "required": [
1654
+ "id",
1655
+ "data_ids"
1656
+ ],
1657
+ "additionalProperties": false,
1658
+ "response": {
1659
+ "type": "object",
1660
+ "properties": {},
1661
+ "required": [],
1662
+ "additionalProperties": false
1663
+ }
1664
+ },
1443
1665
  "apply_textures": {
1444
1666
  "$id": "opengeodeweb_viewer.mesh.apply_textures",
1445
1667
  "rpc": "apply_textures",
@@ -1485,6 +1707,101 @@
1485
1707
  "required": [],
1486
1708
  "additionalProperties": false
1487
1709
  }
1710
+ },
1711
+ "apply_basemap": {
1712
+ "$id": "opengeodeweb_viewer.mesh.apply_basemap",
1713
+ "rpc": "apply_basemap",
1714
+ "type": "object",
1715
+ "properties": {
1716
+ "id": {
1717
+ "type": "string",
1718
+ "minLength": 32,
1719
+ "maxLength": 32
1720
+ },
1721
+ "detail_of": {
1722
+ "type": "string",
1723
+ "minLength": 32,
1724
+ "maxLength": 32
1725
+ },
1726
+ "columns": {
1727
+ "type": "integer",
1728
+ "minimum": 1
1729
+ },
1730
+ "rows": {
1731
+ "type": "integer",
1732
+ "minimum": 1
1733
+ },
1734
+ "maps": {
1735
+ "type": "array",
1736
+ "minItems": 1,
1737
+ "items": {
1738
+ "type": "object",
1739
+ "properties": {
1740
+ "map": {
1741
+ "type": "string",
1742
+ "minLength": 1
1743
+ },
1744
+ "sources": {
1745
+ "type": "array",
1746
+ "items": {
1747
+ "type": "string",
1748
+ "minLength": 1
1749
+ }
1750
+ }
1751
+ },
1752
+ "required": [
1753
+ "map",
1754
+ "sources"
1755
+ ],
1756
+ "additionalProperties": false
1757
+ }
1758
+ },
1759
+ "layers": {
1760
+ "type": "array",
1761
+ "items": {
1762
+ "title": "MapState",
1763
+ "type": "object",
1764
+ "properties": {
1765
+ "map": {
1766
+ "type": "string",
1767
+ "minLength": 1
1768
+ },
1769
+ "visible": {
1770
+ "type": "boolean"
1771
+ },
1772
+ "opacity": {
1773
+ "type": "number",
1774
+ "minimum": 0,
1775
+ "maximum": 1
1776
+ },
1777
+ "crop": {
1778
+ "type": "boolean"
1779
+ }
1780
+ },
1781
+ "required": [
1782
+ "map",
1783
+ "visible",
1784
+ "opacity",
1785
+ "crop"
1786
+ ],
1787
+ "additionalProperties": false
1788
+ }
1789
+ }
1790
+ },
1791
+ "required": [
1792
+ "id",
1793
+ "columns",
1794
+ "rows",
1795
+ "maps",
1796
+ "layers"
1797
+ ],
1798
+ "additionalProperties": false,
1799
+ "response": {
1800
+ "type": "object",
1801
+ "properties": {},
1802
+ "required": [],
1803
+ "additionalProperties": false
1804
+ }
1488
1805
  }
1489
1806
  },
1490
1807
  "model": {
@@ -70,6 +70,14 @@ export interface MeshCellsVisibilityParams {
70
70
  export interface MeshCellsVisibilityResponse {
71
71
  }
72
72
 
73
+ export interface MeshCellsOpacityParams {
74
+ id: string;
75
+ opacity: number;
76
+ }
77
+
78
+ export interface MeshCellsOpacityResponse {
79
+ }
80
+
73
81
  export interface MeshCellsColorParams {
74
82
  color: MeshCellsColorParamsColor;
75
83
  id: string;
@@ -147,6 +155,14 @@ export interface MeshEdgesVisibilityParams {
147
155
  export interface MeshEdgesVisibilityResponse {
148
156
  }
149
157
 
158
+ export interface MeshEdgesOpacityParams {
159
+ id: string;
160
+ opacity: number;
161
+ }
162
+
163
+ export interface MeshEdgesOpacityResponse {
164
+ }
165
+
150
166
  export interface MeshEdgesColorParams {
151
167
  color: MeshEdgesColorParamsColor;
152
168
  id: string;
@@ -203,6 +219,14 @@ export interface MeshPointsSizeParams {
203
219
  export interface MeshPointsSizeResponse {
204
220
  }
205
221
 
222
+ export interface MeshPointsOpacityParams {
223
+ id: string;
224
+ opacity: number;
225
+ }
226
+
227
+ export interface MeshPointsOpacityResponse {
228
+ }
229
+
206
230
  export interface MeshPointsColorParams {
207
231
  color: MeshPointsColorParamsColor;
208
232
  id: string;
@@ -272,6 +296,14 @@ export interface MeshPolygonsVisibilityParams {
272
296
  export interface MeshPolygonsVisibilityResponse {
273
297
  }
274
298
 
299
+ export interface MeshPolygonsOpacityParams {
300
+ id: string;
301
+ opacity: number;
302
+ }
303
+
304
+ export interface MeshPolygonsOpacityResponse {
305
+ }
306
+
275
307
  export interface MeshPolygonsColorParams {
276
308
  color: MeshPolygonsColorParamsColor;
277
309
  id: string;
@@ -341,6 +373,14 @@ export interface MeshPolyhedraVisibilityParams {
341
373
  export interface MeshPolyhedraVisibilityResponse {
342
374
  }
343
375
 
376
+ export interface MeshPolyhedraOpacityParams {
377
+ id: string;
378
+ opacity: number;
379
+ }
380
+
381
+ export interface MeshPolyhedraOpacityResponse {
382
+ }
383
+
344
384
  export interface MeshPolyhedraColorParams {
345
385
  color: MeshPolyhedraColorParamsColor;
346
386
  id: string;
@@ -402,6 +442,29 @@ export interface MeshColorParamsColor {
402
442
  export interface MeshColorResponse {
403
443
  }
404
444
 
445
+ export interface MeshBasemapLayersParams {
446
+ id: string;
447
+ layers: Layer[];
448
+ }
449
+
450
+ export interface Layer {
451
+ crop: boolean;
452
+ map: string;
453
+ opacity: number;
454
+ visible: boolean;
455
+ }
456
+
457
+ export interface MeshBasemapLayersResponse {
458
+ }
459
+
460
+ export interface MeshBasemapDrapeParams {
461
+ data_ids: string[];
462
+ id: string;
463
+ }
464
+
465
+ export interface MeshBasemapDrapeResponse {
466
+ }
467
+
405
468
  export interface MeshApplyTexturesParams {
406
469
  id: string;
407
470
  textures: MeshApplyTexturesParamsTexture[];
@@ -415,6 +478,30 @@ export interface MeshApplyTexturesParamsTexture {
415
478
  export interface MeshApplyTexturesResponse {
416
479
  }
417
480
 
481
+ export interface MeshApplyBasemapParams {
482
+ columns: number;
483
+ detail_of?: string;
484
+ id: string;
485
+ layers: MapState[];
486
+ maps: Map[];
487
+ rows: number;
488
+ }
489
+
490
+ export interface MapState {
491
+ crop: boolean;
492
+ map: string;
493
+ opacity: number;
494
+ visible: boolean;
495
+ }
496
+
497
+ export interface Map {
498
+ map: string;
499
+ sources: string[];
500
+ }
501
+
502
+ export interface MeshApplyBasemapResponse {
503
+ }
504
+
418
505
  export interface ModelBlocksAttributePolyhedronAttributeParams {
419
506
  block_ids: number[];
420
507
  id: string;
@@ -1408,6 +1495,7 @@ export interface Schemas {
1408
1495
  };
1409
1496
  };
1410
1497
  readonly visibility: (typeof json)["opengeodeweb_viewer"]["mesh"]["cells"]["visibility"] & TypedSchema<MeshCellsVisibilityParams, MeshCellsVisibilityResponse>;
1498
+ readonly opacity: (typeof json)["opengeodeweb_viewer"]["mesh"]["cells"]["opacity"] & TypedSchema<MeshCellsOpacityParams, MeshCellsOpacityResponse>;
1411
1499
  readonly color: (typeof json)["opengeodeweb_viewer"]["mesh"]["cells"]["color"] & TypedSchema<MeshCellsColorParams, MeshCellsColorResponse>;
1412
1500
  };
1413
1501
  readonly edges: {
@@ -1421,6 +1509,7 @@ export interface Schemas {
1421
1509
  };
1422
1510
  readonly width: (typeof json)["opengeodeweb_viewer"]["mesh"]["edges"]["width"] & TypedSchema<MeshEdgesWidthParams, MeshEdgesWidthResponse>;
1423
1511
  readonly visibility: (typeof json)["opengeodeweb_viewer"]["mesh"]["edges"]["visibility"] & TypedSchema<MeshEdgesVisibilityParams, MeshEdgesVisibilityResponse>;
1512
+ readonly opacity: (typeof json)["opengeodeweb_viewer"]["mesh"]["edges"]["opacity"] & TypedSchema<MeshEdgesOpacityParams, MeshEdgesOpacityResponse>;
1424
1513
  readonly color: (typeof json)["opengeodeweb_viewer"]["mesh"]["edges"]["color"] & TypedSchema<MeshEdgesColorParams, MeshEdgesColorResponse>;
1425
1514
  };
1426
1515
  readonly points: {
@@ -1431,6 +1520,7 @@ export interface Schemas {
1431
1520
  };
1432
1521
  readonly visibility: (typeof json)["opengeodeweb_viewer"]["mesh"]["points"]["visibility"] & TypedSchema<MeshPointsVisibilityParams, MeshPointsVisibilityResponse>;
1433
1522
  readonly size: (typeof json)["opengeodeweb_viewer"]["mesh"]["points"]["size"] & TypedSchema<MeshPointsSizeParams, MeshPointsSizeResponse>;
1523
+ readonly opacity: (typeof json)["opengeodeweb_viewer"]["mesh"]["points"]["opacity"] & TypedSchema<MeshPointsOpacityParams, MeshPointsOpacityResponse>;
1434
1524
  readonly color: (typeof json)["opengeodeweb_viewer"]["mesh"]["points"]["color"] & TypedSchema<MeshPointsColorParams, MeshPointsColorResponse>;
1435
1525
  };
1436
1526
  readonly polygons: {
@@ -1443,6 +1533,7 @@ export interface Schemas {
1443
1533
  };
1444
1534
  };
1445
1535
  readonly visibility: (typeof json)["opengeodeweb_viewer"]["mesh"]["polygons"]["visibility"] & TypedSchema<MeshPolygonsVisibilityParams, MeshPolygonsVisibilityResponse>;
1536
+ readonly opacity: (typeof json)["opengeodeweb_viewer"]["mesh"]["polygons"]["opacity"] & TypedSchema<MeshPolygonsOpacityParams, MeshPolygonsOpacityResponse>;
1446
1537
  readonly color: (typeof json)["opengeodeweb_viewer"]["mesh"]["polygons"]["color"] & TypedSchema<MeshPolygonsColorParams, MeshPolygonsColorResponse>;
1447
1538
  };
1448
1539
  readonly polyhedra: {
@@ -1455,6 +1546,7 @@ export interface Schemas {
1455
1546
  };
1456
1547
  };
1457
1548
  readonly visibility: (typeof json)["opengeodeweb_viewer"]["mesh"]["polyhedra"]["visibility"] & TypedSchema<MeshPolyhedraVisibilityParams, MeshPolyhedraVisibilityResponse>;
1549
+ readonly opacity: (typeof json)["opengeodeweb_viewer"]["mesh"]["polyhedra"]["opacity"] & TypedSchema<MeshPolyhedraOpacityParams, MeshPolyhedraOpacityResponse>;
1458
1550
  readonly color: (typeof json)["opengeodeweb_viewer"]["mesh"]["polyhedra"]["color"] & TypedSchema<MeshPolyhedraColorParams, MeshPolyhedraColorResponse>;
1459
1551
  };
1460
1552
  readonly visibility: (typeof json)["opengeodeweb_viewer"]["mesh"]["visibility"] & TypedSchema<MeshVisibilityParams, MeshVisibilityResponse>;
@@ -1462,7 +1554,10 @@ export interface Schemas {
1462
1554
  readonly highlight: (typeof json)["opengeodeweb_viewer"]["mesh"]["highlight"] & TypedSchema<MeshHighlightParams, MeshHighlightResponse>;
1463
1555
  readonly deregister: (typeof json)["opengeodeweb_viewer"]["mesh"]["deregister"] & TypedSchema<MeshDeregisterParams, MeshDeregisterResponse>;
1464
1556
  readonly color: (typeof json)["opengeodeweb_viewer"]["mesh"]["color"] & TypedSchema<MeshColorParams, MeshColorResponse>;
1557
+ readonly basemap_layers: (typeof json)["opengeodeweb_viewer"]["mesh"]["basemap_layers"] & TypedSchema<MeshBasemapLayersParams, MeshBasemapLayersResponse>;
1558
+ readonly basemap_drape: (typeof json)["opengeodeweb_viewer"]["mesh"]["basemap_drape"] & TypedSchema<MeshBasemapDrapeParams, MeshBasemapDrapeResponse>;
1465
1559
  readonly apply_textures: (typeof json)["opengeodeweb_viewer"]["mesh"]["apply_textures"] & TypedSchema<MeshApplyTexturesParams, MeshApplyTexturesResponse>;
1560
+ readonly apply_basemap: (typeof json)["opengeodeweb_viewer"]["mesh"]["apply_basemap"] & TypedSchema<MeshApplyBasemapParams, MeshApplyBasemapResponse>;
1466
1561
  };
1467
1562
  readonly model: {
1468
1563
  readonly blocks: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-viewer",
3
- "version": "1.37.0-rc.1",
3
+ "version": "1.37.0-rc.3",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Viewer",
6
6
  "bugs": {