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

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.
@@ -4863,6 +4863,89 @@
4863
4863
  "additionalProperties": false
4864
4864
  }
4865
4865
  },
4866
+ "set_text_style": {
4867
+ "$id": "opengeodeweb_viewer.viewer.set_text_style",
4868
+ "rpc": "set_text_style",
4869
+ "type": "object",
4870
+ "properties": {
4871
+ "color": {
4872
+ "title": "TextColor",
4873
+ "type": "object",
4874
+ "properties": {
4875
+ "r": {
4876
+ "type": "integer",
4877
+ "minimum": 0,
4878
+ "maximum": 255
4879
+ },
4880
+ "g": {
4881
+ "type": "integer",
4882
+ "minimum": 0,
4883
+ "maximum": 255
4884
+ },
4885
+ "b": {
4886
+ "type": "integer",
4887
+ "minimum": 0,
4888
+ "maximum": 255
4889
+ }
4890
+ },
4891
+ "required": [
4892
+ "r",
4893
+ "g",
4894
+ "b"
4895
+ ],
4896
+ "additionalProperties": false
4897
+ },
4898
+ "font_family": {
4899
+ "type": "string",
4900
+ "enum": [
4901
+ "arial",
4902
+ "courier",
4903
+ "times"
4904
+ ]
4905
+ },
4906
+ "opacity": {
4907
+ "type": "number",
4908
+ "minimum": 0,
4909
+ "maximum": 1
4910
+ }
4911
+ },
4912
+ "required": [
4913
+ "color",
4914
+ "font_family",
4915
+ "opacity"
4916
+ ],
4917
+ "additionalProperties": false,
4918
+ "response": {
4919
+ "type": "object",
4920
+ "properties": {},
4921
+ "required": [],
4922
+ "additionalProperties": false
4923
+ }
4924
+ },
4925
+ "set_orientation_widget": {
4926
+ "$id": "opengeodeweb_viewer.viewer.set_orientation_widget",
4927
+ "rpc": "set_orientation_widget",
4928
+ "type": "object",
4929
+ "properties": {
4930
+ "marker": {
4931
+ "type": "string",
4932
+ "enum": [
4933
+ "axes",
4934
+ "compass"
4935
+ ]
4936
+ }
4937
+ },
4938
+ "required": [
4939
+ "marker"
4940
+ ],
4941
+ "additionalProperties": false,
4942
+ "response": {
4943
+ "type": "object",
4944
+ "properties": {},
4945
+ "required": [],
4946
+ "additionalProperties": false
4947
+ }
4948
+ },
4866
4949
  "set_background_color": {
4867
4950
  "$id": "opengeodeweb_viewer.viewer.set_background_color",
4868
4951
  "rpc": "set_background_color",
@@ -1316,6 +1316,32 @@ export interface ViewerSetZScalingParams {
1316
1316
  export interface ViewerSetZScalingResponse {
1317
1317
  }
1318
1318
 
1319
+ export interface ViewerSetTextStyleParams {
1320
+ color: TextColor;
1321
+ font_family: FontFamily;
1322
+ opacity: number;
1323
+ }
1324
+
1325
+ export interface TextColor {
1326
+ b: number;
1327
+ g: number;
1328
+ r: number;
1329
+ }
1330
+
1331
+ export type FontFamily = "arial" | "courier" | "times";
1332
+
1333
+ export interface ViewerSetTextStyleResponse {
1334
+ }
1335
+
1336
+ export interface ViewerSetOrientationWidgetParams {
1337
+ marker: Marker;
1338
+ }
1339
+
1340
+ export type Marker = "axes" | "compass";
1341
+
1342
+ export interface ViewerSetOrientationWidgetResponse {
1343
+ }
1344
+
1319
1345
  export interface ViewerSetBackgroundColorParams {
1320
1346
  color: ViewerSetBackgroundColorParamsColor;
1321
1347
  }
@@ -1681,6 +1707,8 @@ export interface Schemas {
1681
1707
  readonly slice: (typeof json)["opengeodeweb_viewer"]["viewer"]["slice"] & TypedSchema<ViewerSliceParams, ViewerSliceResponse>;
1682
1708
  readonly shrink: (typeof json)["opengeodeweb_viewer"]["viewer"]["shrink"] & TypedSchema<ViewerShrinkParams, ViewerShrinkResponse>;
1683
1709
  readonly set_z_scaling: (typeof json)["opengeodeweb_viewer"]["viewer"]["set_z_scaling"] & TypedSchema<ViewerSetZScalingParams, ViewerSetZScalingResponse>;
1710
+ readonly set_text_style: (typeof json)["opengeodeweb_viewer"]["viewer"]["set_text_style"] & TypedSchema<ViewerSetTextStyleParams, ViewerSetTextStyleResponse>;
1711
+ readonly set_orientation_widget: (typeof json)["opengeodeweb_viewer"]["viewer"]["set_orientation_widget"] & TypedSchema<ViewerSetOrientationWidgetParams, ViewerSetOrientationWidgetResponse>;
1684
1712
  readonly set_background_color: (typeof json)["opengeodeweb_viewer"]["viewer"]["set_background_color"] & TypedSchema<ViewerSetBackgroundColorParams, ViewerSetBackgroundColorResponse>;
1685
1713
  readonly ruler: (typeof json)["opengeodeweb_viewer"]["viewer"]["ruler"] & TypedSchema<ViewerRulerParams, ViewerRulerResponse>;
1686
1714
  readonly reset_visualization: (typeof json)["opengeodeweb_viewer"]["viewer"]["reset_visualization"] & TypedSchema<ViewerResetVisualizationParams, ViewerResetVisualizationResponse>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geode/opengeodeweb-viewer",
3
- "version": "1.37.0-rc.3",
3
+ "version": "1.37.0-rc.4",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/Geode-solutions/OpenGeodeWeb-Viewer",
6
6
  "bugs": {