@vertigis/viewer-spec 51.15.0 → 51.16.0

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.
@@ -8,6 +8,13 @@ export type TranslatableText = string | TranslateOptions;
8
8
  * The available options for the Locale Service translate function.
9
9
  */
10
10
  export interface TranslateOptions extends FormatSettings {
11
+ /**
12
+ * An optional default value to fallback to when a language resource key
13
+ * does not exist.
14
+ *
15
+ * @webOnly
16
+ */
17
+ defaultValue?: string;
11
18
  /**
12
19
  * The string to translate. If the text is a language resource key, then a
13
20
  * localized version of that resource will be used if one exists, otherwise
@@ -2882,6 +2882,10 @@
2882
2882
  "description": "The default format to use when formatting dates. See{@linkutilities /date!DateFormatter.format}.",
2883
2883
  "type": "string"
2884
2884
  },
2885
+ "defaultValue": {
2886
+ "description": "An optional default value to fallback to when a language resource key does not exist.",
2887
+ "type": "string"
2888
+ },
2885
2889
  "fractionalDigits": {
2886
2890
  "description": "The default number of digits to show after the decimal point when formatting numbers. See{@linkutilities /number!NumberSettings.fractionalDigits}.",
2887
2891
  "type": "number"
@@ -3889,6 +3889,10 @@
3889
3889
  "description": "The default format to use when formatting dates. See{@linkutilities /date!DateFormatter.format}.",
3890
3890
  "type": "string"
3891
3891
  },
3892
+ "defaultValue": {
3893
+ "description": "An optional default value to fallback to when a language resource key does not exist.",
3894
+ "type": "string"
3895
+ },
3892
3896
  "fractionalDigits": {
3893
3897
  "description": "The default number of digits to show after the decimal point when formatting numbers. See{@linkutilities /number!NumberSettings.fractionalDigits}.",
3894
3898
  "type": "number"
@@ -4055,6 +4055,10 @@
4055
4055
  "description": "The default format to use when formatting dates. See{@linkutilities /date!DateFormatter.format}.",
4056
4056
  "type": "string"
4057
4057
  },
4058
+ "defaultValue": {
4059
+ "description": "An optional default value to fallback to when a language resource key does not exist.",
4060
+ "type": "string"
4061
+ },
4058
4062
  "fractionalDigits": {
4059
4063
  "description": "The default number of digits to show after the decimal point when formatting numbers. See{@linkutilities /number!NumberSettings.fractionalDigits}.",
4060
4064
  "type": "number"
@@ -5783,6 +5787,10 @@
5783
5787
  "description": "The default format to use when formatting dates. See{@linkutilities /date!DateFormatter.format}.",
5784
5788
  "type": "string"
5785
5789
  },
5790
+ "defaultValue": {
5791
+ "description": "An optional default value to fallback to when a language resource key does not exist.",
5792
+ "type": "string"
5793
+ },
5786
5794
  "fractionalDigits": {
5787
5795
  "description": "The default number of digits to show after the decimal point when formatting numbers. See{@linkutilities /number!NumberSettings.fractionalDigits}.",
5788
5796
  "type": "number"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "51.15.0",
3
+ "version": "51.16.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "VertiGIS Viewer Specification",
6
6
  "type": "module",
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export declare const version = "51.15.0";
4
+ export declare const version = "51.16.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export const version = "51.15.0";
4
+ export const version = "51.16.0";