@vertigis/viewer-spec 51.14.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.
- package/app-config/common/TranslatableText.d.ts +7 -0
- package/messaging/registry/results.d.ts +11 -1
- package/messaging/registry/results.js +1 -1
- package/messaging/registry/system.d.ts +5 -0
- package/messaging/schema/common-action.schema.json +4 -0
- package/messaging/schema/mobile-action.schema.json +4 -0
- package/messaging/schema/web-action.schema.json +59 -0
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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
|
|
@@ -16,7 +16,7 @@ import type { Event } from "../Event.js";
|
|
|
16
16
|
import { EventRegistry } from "../EventRegistry.js";
|
|
17
17
|
import type { Operation } from "../Operation.js";
|
|
18
18
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
19
|
-
import type { Blob, Features, FeaturesLike, GraphicsLike, HasFeatures, MapsLike, ModelRef } from "../common.js";
|
|
19
|
+
import type { Blob, Features, FeaturesLike, File, GraphicsLike, HasFeatures, MapsLike, ModelRef } from "../common.js";
|
|
20
20
|
import type { VisualElement } from "../mobile.js";
|
|
21
21
|
/**
|
|
22
22
|
* Well known Results Set Ids.
|
|
@@ -24,6 +24,10 @@ import type { VisualElement } from "../mobile.js";
|
|
|
24
24
|
export declare enum KnownResultSetIds {
|
|
25
25
|
STARRED = "vgs-starred"
|
|
26
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Args for `results.from-files`.
|
|
29
|
+
*/
|
|
30
|
+
export type FromConverterArgs = FromCsvConversionArgs | FromShapefileConversionArgs | FromXLSXConversionArgs;
|
|
27
31
|
/**
|
|
28
32
|
* Arguments for various commands that target a result set of features.
|
|
29
33
|
*/
|
|
@@ -514,6 +518,12 @@ export declare class ResultsOperations extends OperationRegistry {
|
|
|
514
518
|
* @webOnly
|
|
515
519
|
*/
|
|
516
520
|
get fromCsv(): Operation<FromCsvConversionArgs | Blob | Blob[], Features>;
|
|
521
|
+
/**
|
|
522
|
+
* Convert the specified csv, xlsx or shapefile files to Features.
|
|
523
|
+
*
|
|
524
|
+
* @webOnly
|
|
525
|
+
*/
|
|
526
|
+
get fromFiles(): Operation<File[] | FromConverterArgs, Features>;
|
|
517
527
|
/**
|
|
518
528
|
* Convert the specified Shapefile blob to Features.
|
|
519
529
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as s}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export var KnownResultSetIds;!function(e){e.STARRED="vgs-starred"}(KnownResultSetIds||(KnownResultSetIds={}));export class ResultsCommands extends e{get activateDisplayComponents(){return this._messages.command("results.activate-display-components")}get display(){return this._messages.command("results.display")}get setDisplayComponents(){return this._messages.command("results.set-display-components")}get displayDetails(){return this._messages.command("results.display-details")}get displaySummary(){return this._messages.command("results.display-summary")}get displayNewDetails(){return this._messages.command("results.display-new-details")}get add(){return this._messages.command("results.add")}get intersect(){return this._messages.command("results.intersect")}get remove(){return this._messages.command("results.remove")}get clear(){return this._messages.command("results.clear")}get clearDetails(){return this._messages.command("results.clear-details")}get hideDetails(){return this._messages.command("results.hide-details")}get openAttachment(){return this._messages.command("results.open-attachment")}get refresh(){return this._messages.command("results.refresh")}get setListViewMode(){return this._messages.command("results.set-list-view-mode")}get setListCardSize(){return this._messages.command("results.set-list-card-size")}}export class ResultsEvents extends s{get changed(){return this._messages.event("results.changed")}get displayed(){return this._messages.event("results.displayed")}get attachmentOpened(){return this._messages.event("results.attachment-opened")}get detailsShown(){return this._messages.event("results.details-shown")}get relatedDetailsShown(){return this._messages.event("results.related-details-shown")}}export class ResultsOperations extends t{get contains(){return this._messages.operation("results.contains")}get convertToCsv(){return this._messages.operation("results.convert-to-csv")}get convertToXlsx(){return this._messages.operation("results.convert-to-xlsx")}get convertToShapefile(){return this._messages.operation("results.convert-to-shapefile")}get convertToLayers(){return this._messages.operation("results.convert-to-layers")}get fromCsv(){return this._messages.operation("results.from-csv")}get fromShapefile(){return this._messages.operation("results.from-shapefile")}get fromXlsx(){return this._messages.operation("results.from-xlsx")}get fromGraphics(){return this._messages.operation("results.from-graphics")}get toGraphics(){return this._messages.operation("results.to-graphics")}get getFeatures(){return this._messages.operation("results.get-features")}get filter(){return this._messages.operation("results.filter")}}
|
|
1
|
+
import{CommandRegistry as e}from"../CommandRegistry.js";import{EventRegistry as s}from"../EventRegistry.js";import{OperationRegistry as t}from"../OperationRegistry.js";export var KnownResultSetIds;!function(e){e.STARRED="vgs-starred"}(KnownResultSetIds||(KnownResultSetIds={}));export class ResultsCommands extends e{get activateDisplayComponents(){return this._messages.command("results.activate-display-components")}get display(){return this._messages.command("results.display")}get setDisplayComponents(){return this._messages.command("results.set-display-components")}get displayDetails(){return this._messages.command("results.display-details")}get displaySummary(){return this._messages.command("results.display-summary")}get displayNewDetails(){return this._messages.command("results.display-new-details")}get add(){return this._messages.command("results.add")}get intersect(){return this._messages.command("results.intersect")}get remove(){return this._messages.command("results.remove")}get clear(){return this._messages.command("results.clear")}get clearDetails(){return this._messages.command("results.clear-details")}get hideDetails(){return this._messages.command("results.hide-details")}get openAttachment(){return this._messages.command("results.open-attachment")}get refresh(){return this._messages.command("results.refresh")}get setListViewMode(){return this._messages.command("results.set-list-view-mode")}get setListCardSize(){return this._messages.command("results.set-list-card-size")}}export class ResultsEvents extends s{get changed(){return this._messages.event("results.changed")}get displayed(){return this._messages.event("results.displayed")}get attachmentOpened(){return this._messages.event("results.attachment-opened")}get detailsShown(){return this._messages.event("results.details-shown")}get relatedDetailsShown(){return this._messages.event("results.related-details-shown")}}export class ResultsOperations extends t{get contains(){return this._messages.operation("results.contains")}get convertToCsv(){return this._messages.operation("results.convert-to-csv")}get convertToXlsx(){return this._messages.operation("results.convert-to-xlsx")}get convertToShapefile(){return this._messages.operation("results.convert-to-shapefile")}get convertToLayers(){return this._messages.operation("results.convert-to-layers")}get fromCsv(){return this._messages.operation("results.from-csv")}get fromFiles(){return this._messages.operation("results.from-files")}get fromShapefile(){return this._messages.operation("results.from-shapefile")}get fromXlsx(){return this._messages.operation("results.from-xlsx")}get fromGraphics(){return this._messages.operation("results.from-graphics")}get toGraphics(){return this._messages.operation("results.to-graphics")}get getFeatures(){return this._messages.operation("results.get-features")}get filter(){return this._messages.operation("results.filter")}}
|
|
@@ -42,6 +42,11 @@ export interface ReadFileArgs extends HasUITarget {
|
|
|
42
42
|
* user for a file.
|
|
43
43
|
*/
|
|
44
44
|
promptMessage?: string;
|
|
45
|
+
/**
|
|
46
|
+
* If present, provides information about what file types are accepted by
|
|
47
|
+
* this dialog, eg: "*.jpg, *.gif and *.bmp files accepted".
|
|
48
|
+
*/
|
|
49
|
+
fileTypeDescription?: string;
|
|
45
50
|
}
|
|
46
51
|
/**
|
|
47
52
|
* Well-known location-based tokens that can be used in the system.open-url
|
|
@@ -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"
|
|
@@ -4302,6 +4306,10 @@
|
|
|
4302
4306
|
"attributes": {
|
|
4303
4307
|
"description": "Optional layout XML attributes to be used for the transient UI container."
|
|
4304
4308
|
},
|
|
4309
|
+
"fileTypeDescription": {
|
|
4310
|
+
"description": "If present, provides information about what file types are accepted by this dialog, eg: \"*.jpg, *.gif and *.bmp files accepted\".",
|
|
4311
|
+
"type": "string"
|
|
4312
|
+
},
|
|
4305
4313
|
"icon": {
|
|
4306
4314
|
"description": "Optional icon that may be used by the transient UI container.",
|
|
4307
4315
|
"type": "string"
|
|
@@ -5779,6 +5787,10 @@
|
|
|
5779
5787
|
"description": "The default format to use when formatting dates. See{@linkutilities /date!DateFormatter.format}.",
|
|
5780
5788
|
"type": "string"
|
|
5781
5789
|
},
|
|
5790
|
+
"defaultValue": {
|
|
5791
|
+
"description": "An optional default value to fallback to when a language resource key does not exist.",
|
|
5792
|
+
"type": "string"
|
|
5793
|
+
},
|
|
5782
5794
|
"fractionalDigits": {
|
|
5783
5795
|
"description": "The default number of digits to show after the decimal point when formatting numbers. See{@linkutilities /number!NumberSettings.fractionalDigits}.",
|
|
5784
5796
|
"type": "number"
|
|
@@ -18537,6 +18549,34 @@
|
|
|
18537
18549
|
"results.from-csv:output": {
|
|
18538
18550
|
"$ref": "#/definitions/Features"
|
|
18539
18551
|
},
|
|
18552
|
+
"results.from-files": {
|
|
18553
|
+
"description": "Convert the specified csv, xlsx or shapefile files to Features.",
|
|
18554
|
+
"enum": [
|
|
18555
|
+
"results.from-files"
|
|
18556
|
+
]
|
|
18557
|
+
},
|
|
18558
|
+
"results.from-files:input": {
|
|
18559
|
+
"anyOf": [
|
|
18560
|
+
{
|
|
18561
|
+
"items": {
|
|
18562
|
+
"$ref": "File"
|
|
18563
|
+
},
|
|
18564
|
+
"type": "array"
|
|
18565
|
+
},
|
|
18566
|
+
{
|
|
18567
|
+
"$ref": "#/definitions/FromCsvConversionArgs"
|
|
18568
|
+
},
|
|
18569
|
+
{
|
|
18570
|
+
"$ref": "#/definitions/FromShapefileConversionArgs"
|
|
18571
|
+
},
|
|
18572
|
+
{
|
|
18573
|
+
"$ref": "#/definitions/FromXLSXConversionArgs"
|
|
18574
|
+
}
|
|
18575
|
+
]
|
|
18576
|
+
},
|
|
18577
|
+
"results.from-files:output": {
|
|
18578
|
+
"$ref": "#/definitions/Features"
|
|
18579
|
+
},
|
|
18540
18580
|
"results.from-graphics": {
|
|
18541
18581
|
"description": "Converts provided GraphicsLike to VertiGIS Studio Features using any available metadata.",
|
|
18542
18582
|
"enum": [
|
|
@@ -22712,6 +22752,22 @@
|
|
|
22712
22752
|
],
|
|
22713
22753
|
"type": "object"
|
|
22714
22754
|
},
|
|
22755
|
+
{
|
|
22756
|
+
"additionalProperties": false,
|
|
22757
|
+
"properties": {
|
|
22758
|
+
"arguments": {
|
|
22759
|
+
"$ref": "#/definitions/results.from-files:input"
|
|
22760
|
+
},
|
|
22761
|
+
"name": {
|
|
22762
|
+
"$ref": "#/definitions/results.from-files"
|
|
22763
|
+
}
|
|
22764
|
+
},
|
|
22765
|
+
"required": [
|
|
22766
|
+
"name",
|
|
22767
|
+
"arguments"
|
|
22768
|
+
],
|
|
22769
|
+
"type": "object"
|
|
22770
|
+
},
|
|
22715
22771
|
{
|
|
22716
22772
|
"additionalProperties": false,
|
|
22717
22773
|
"properties": {
|
|
@@ -23243,6 +23299,9 @@
|
|
|
23243
23299
|
{
|
|
23244
23300
|
"$ref": "#/definitions/results.from-csv"
|
|
23245
23301
|
},
|
|
23302
|
+
{
|
|
23303
|
+
"$ref": "#/definitions/results.from-files"
|
|
23304
|
+
},
|
|
23246
23305
|
{
|
|
23247
23306
|
"$ref": "#/definitions/results.from-graphics"
|
|
23248
23307
|
},
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED