@vertigis/viewer-spec 59.22.0 → 59.24.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.
|
@@ -22,4 +22,16 @@ export interface PortalModelProperties extends ModelProperties {
|
|
|
22
22
|
* If not specified we include all sources.
|
|
23
23
|
*/
|
|
24
24
|
sources?: Source[];
|
|
25
|
+
/**
|
|
26
|
+
* Should the item picker show filter chips?
|
|
27
|
+
*/
|
|
28
|
+
showFilterChips?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Should the item picker show filter menus?
|
|
31
|
+
*/
|
|
32
|
+
showFilterMenus?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Should the item picker show the filter panel?
|
|
35
|
+
*/
|
|
36
|
+
showFilterPanel?: boolean;
|
|
25
37
|
}
|
|
@@ -62,13 +62,9 @@ export interface ConfirmOperationArgs extends MessageBoxArgs {
|
|
|
62
62
|
cancelButtonText?: string;
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* Common arguments for the 'ui.prompt' operation.
|
|
66
66
|
*/
|
|
67
|
-
export interface
|
|
68
|
-
/**
|
|
69
|
-
* The default value to display in the input box.
|
|
70
|
-
*/
|
|
71
|
-
defaultInputValue?: string;
|
|
67
|
+
export interface PromptOperationCommonArgs extends MessageBoxArgs {
|
|
72
68
|
/**
|
|
73
69
|
* The text to display on the ok button.
|
|
74
70
|
*/
|
|
@@ -77,7 +73,65 @@ export interface PromptOperationArgs extends MessageBoxArgs {
|
|
|
77
73
|
* The text to display on the cancel button.
|
|
78
74
|
*/
|
|
79
75
|
cancelButtonText?: string;
|
|
76
|
+
/**
|
|
77
|
+
* If specified, the result will be mixed in with the original arguments
|
|
78
|
+
* using the value of this parameter for the name of the property.
|
|
79
|
+
*
|
|
80
|
+
* If unspecified, the value will be returned as the result.
|
|
81
|
+
*/
|
|
82
|
+
argumentName?: string;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Arguments used when prompting for text input.
|
|
86
|
+
*/
|
|
87
|
+
export interface TextPromptOperationArgs {
|
|
88
|
+
/**
|
|
89
|
+
* Optional text type for prompt.
|
|
90
|
+
*/
|
|
91
|
+
type?: "text";
|
|
92
|
+
/**
|
|
93
|
+
* The default value to display in the input box.
|
|
94
|
+
*/
|
|
95
|
+
defaultInputValue?: string;
|
|
80
96
|
}
|
|
97
|
+
/**
|
|
98
|
+
* Arguments used when prompting for a numeric slider value.
|
|
99
|
+
*/
|
|
100
|
+
export interface NumericPromptOperationArgs {
|
|
101
|
+
/**
|
|
102
|
+
* The number type indicating that a number slider should be used in the
|
|
103
|
+
* prompt.
|
|
104
|
+
*/
|
|
105
|
+
type: "number";
|
|
106
|
+
/**
|
|
107
|
+
* Minimum value for the number slider (defaults to 0).
|
|
108
|
+
*/
|
|
109
|
+
min?: number;
|
|
110
|
+
/**
|
|
111
|
+
* Maximum value for the number slider (defaults to 100).
|
|
112
|
+
*/
|
|
113
|
+
max?: number;
|
|
114
|
+
/**
|
|
115
|
+
* Step amount for slider.
|
|
116
|
+
*/
|
|
117
|
+
step?: number;
|
|
118
|
+
/**
|
|
119
|
+
* Marks to use for slider.
|
|
120
|
+
*/
|
|
121
|
+
marks?: {
|
|
122
|
+
label: string;
|
|
123
|
+
value: number;
|
|
124
|
+
}[];
|
|
125
|
+
/**
|
|
126
|
+
* Default value to use for the input (defaults to midpoint between min and
|
|
127
|
+
* max).
|
|
128
|
+
*/
|
|
129
|
+
defaultInputValue?: number;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* Arguments for the 'ui.prompt' operation.
|
|
133
|
+
*/
|
|
134
|
+
export type PromptOperationArgs = PromptOperationCommonArgs & (NumericPromptOperationArgs | TextPromptOperationArgs);
|
|
81
135
|
/**
|
|
82
136
|
* The arguments for the `ui.display-notification` command.
|
|
83
137
|
*/
|
|
@@ -6195,39 +6195,117 @@
|
|
|
6195
6195
|
"type": "object"
|
|
6196
6196
|
},
|
|
6197
6197
|
"PromptOperationArgs": {
|
|
6198
|
-
"
|
|
6199
|
-
|
|
6200
|
-
|
|
6201
|
-
|
|
6202
|
-
|
|
6203
|
-
|
|
6204
|
-
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
|
|
6198
|
+
"anyOf": [
|
|
6199
|
+
{
|
|
6200
|
+
"additionalProperties": false,
|
|
6201
|
+
"properties": {
|
|
6202
|
+
"argumentName": {
|
|
6203
|
+
"description": "If specified, the result will be mixed in with the original arguments using the value of this parameter for the name of the property.\n\nIf unspecified, the value will be returned as the result.",
|
|
6204
|
+
"type": "string"
|
|
6205
|
+
},
|
|
6206
|
+
"cancelButtonText": {
|
|
6207
|
+
"description": "The text to display on the cancel button.",
|
|
6208
|
+
"type": "string"
|
|
6209
|
+
},
|
|
6210
|
+
"defaultInputValue": {
|
|
6211
|
+
"description": "The default value to display in the input box.",
|
|
6212
|
+
"type": "string"
|
|
6213
|
+
},
|
|
6214
|
+
"initialPosition": {
|
|
6215
|
+
"$ref": "MessageBoxPosition",
|
|
6216
|
+
"description": "Where the dialog appears in the app when it is created. Defaults to center position. Web only."
|
|
6217
|
+
},
|
|
6218
|
+
"isDraggable": {
|
|
6219
|
+
"description": "Whether the dialog is draggable or not. Defaults to true. Web only.",
|
|
6220
|
+
"type": "boolean"
|
|
6221
|
+
},
|
|
6222
|
+
"message": {
|
|
6223
|
+
"description": "The message to be displayed in the dialog.",
|
|
6224
|
+
"type": "string"
|
|
6225
|
+
},
|
|
6226
|
+
"okButtonText": {
|
|
6227
|
+
"description": "The text to display on the ok button.",
|
|
6228
|
+
"type": "string"
|
|
6229
|
+
},
|
|
6230
|
+
"title": {
|
|
6231
|
+
"description": "The title of the dialog.",
|
|
6232
|
+
"type": "string"
|
|
6233
|
+
},
|
|
6234
|
+
"type": {
|
|
6235
|
+
"const": "text",
|
|
6236
|
+
"description": "Optional text type for prompt.",
|
|
6237
|
+
"type": "string"
|
|
6238
|
+
}
|
|
6239
|
+
},
|
|
6240
|
+
"type": "object"
|
|
6224
6241
|
},
|
|
6225
|
-
|
|
6226
|
-
"
|
|
6227
|
-
"
|
|
6242
|
+
{
|
|
6243
|
+
"additionalProperties": false,
|
|
6244
|
+
"properties": {
|
|
6245
|
+
"argumentName": {
|
|
6246
|
+
"description": "If specified, the result will be mixed in with the original arguments using the value of this parameter for the name of the property.\n\nIf unspecified, the value will be returned as the result.",
|
|
6247
|
+
"type": "string"
|
|
6248
|
+
},
|
|
6249
|
+
"cancelButtonText": {
|
|
6250
|
+
"description": "The text to display on the cancel button.",
|
|
6251
|
+
"type": "string"
|
|
6252
|
+
},
|
|
6253
|
+
"defaultInputValue": {
|
|
6254
|
+
"description": "Default value to use for the input (defaults to midpoint between min and max).",
|
|
6255
|
+
"type": "number"
|
|
6256
|
+
},
|
|
6257
|
+
"initialPosition": {
|
|
6258
|
+
"$ref": "MessageBoxPosition",
|
|
6259
|
+
"description": "Where the dialog appears in the app when it is created. Defaults to center position. Web only."
|
|
6260
|
+
},
|
|
6261
|
+
"isDraggable": {
|
|
6262
|
+
"description": "Whether the dialog is draggable or not. Defaults to true. Web only.",
|
|
6263
|
+
"type": "boolean"
|
|
6264
|
+
},
|
|
6265
|
+
"marks": {
|
|
6266
|
+
"description": "Marks to use for slider.",
|
|
6267
|
+
"items": {
|
|
6268
|
+
"$ref": "__type"
|
|
6269
|
+
},
|
|
6270
|
+
"type": "array"
|
|
6271
|
+
},
|
|
6272
|
+
"max": {
|
|
6273
|
+
"description": "Maximum value for the number slider (defaults to 100).",
|
|
6274
|
+
"type": "number"
|
|
6275
|
+
},
|
|
6276
|
+
"message": {
|
|
6277
|
+
"description": "The message to be displayed in the dialog.",
|
|
6278
|
+
"type": "string"
|
|
6279
|
+
},
|
|
6280
|
+
"min": {
|
|
6281
|
+
"description": "Minimum value for the number slider (defaults to 0).",
|
|
6282
|
+
"type": "number"
|
|
6283
|
+
},
|
|
6284
|
+
"okButtonText": {
|
|
6285
|
+
"description": "The text to display on the ok button.",
|
|
6286
|
+
"type": "string"
|
|
6287
|
+
},
|
|
6288
|
+
"step": {
|
|
6289
|
+
"description": "Step amount for slider.",
|
|
6290
|
+
"type": "number"
|
|
6291
|
+
},
|
|
6292
|
+
"title": {
|
|
6293
|
+
"description": "The title of the dialog.",
|
|
6294
|
+
"type": "string"
|
|
6295
|
+
},
|
|
6296
|
+
"type": {
|
|
6297
|
+
"const": "number",
|
|
6298
|
+
"description": "The number type indicating that a number slider should be used in the prompt.",
|
|
6299
|
+
"type": "string"
|
|
6300
|
+
}
|
|
6301
|
+
},
|
|
6302
|
+
"required": [
|
|
6303
|
+
"type"
|
|
6304
|
+
],
|
|
6305
|
+
"type": "object"
|
|
6228
6306
|
}
|
|
6229
|
-
|
|
6230
|
-
"
|
|
6307
|
+
],
|
|
6308
|
+
"description": "Arguments for the 'ui.prompt' operation."
|
|
6231
6309
|
},
|
|
6232
6310
|
"Query": {
|
|
6233
6311
|
"additionalProperties": false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vertigis/viewer-spec",
|
|
3
|
-
"version": "59.
|
|
3
|
+
"version": "59.24.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"description": "VertiGIS Viewer Specification",
|
|
6
6
|
"type": "module",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"eslint-plugin-no-autofix": "1.2.3",
|
|
61
61
|
"eslint-plugin-only-warn": "1.1.0",
|
|
62
62
|
"glob": "10.3.10",
|
|
63
|
-
"lint-staged": "15.
|
|
63
|
+
"lint-staged": "15.5.2",
|
|
64
64
|
"path-equal": "1.2.5",
|
|
65
65
|
"prettier": "3.2.5",
|
|
66
66
|
"prettier-plugin-jsdoc": "1.3.0",
|
package/version.d.ts
CHANGED
package/version.js
CHANGED