@vertigis/viewer-spec 61.13.0 → 61.14.1
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/schema/web-app-config.schema.json +1 -1
- package/app-config/web/PrintFormModelProperties.d.ts +20 -0
- package/messaging/registry/edit.d.ts +45 -8
- package/messaging/registry/printing.d.ts +7 -0
- package/messaging/schema/common-action.schema.json +1 -1
- package/messaging/schema/mobile-action.schema.json +1 -1
- package/messaging/schema/web-action.schema.json +1 -1
- package/messaging/schema/web-drawing-operation-definitions.md +7 -1
- package/messaging/schema/web-edit-command-definitions.md +44 -9
- package/messaging/schema/web-event.schema.json +1 -1
- package/messaging/schema/web-geocode-operation-definitions.md +1 -1
- package/messaging/schema/web-results-command-definitions.md +3 -3
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -24,6 +24,10 @@ export interface SpatialReferenceGrid {
|
|
|
24
24
|
*/
|
|
25
25
|
wkt?: string;
|
|
26
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Legend items visibility.
|
|
29
|
+
*/
|
|
30
|
+
export type LegendItemsVisibility = "default" | "visible-all" | "visible-extent";
|
|
27
31
|
/**
|
|
28
32
|
* A map attribution visibility.
|
|
29
33
|
*/
|
|
@@ -60,6 +64,22 @@ export interface PrintFormModelProperties extends ComponentModelProperties {
|
|
|
60
64
|
* Whether the line print type should be enabled.
|
|
61
65
|
*/
|
|
62
66
|
linePrintEnabled?: boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Whether the legend items visibility selection should be enabled.
|
|
69
|
+
*/
|
|
70
|
+
legendItemsVisibilityEnabled?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* The selected legend items visibility.
|
|
73
|
+
*/
|
|
74
|
+
legendItemsVisibility?: LegendItemsVisibility;
|
|
75
|
+
/**
|
|
76
|
+
* Whether the printed legend should be as compact as possible. E.g. If
|
|
77
|
+
* enabled, legend items of composite dynamic layers are not exported to
|
|
78
|
+
* separate legend pages. Export to seperate legend pages groups related
|
|
79
|
+
* features together and provides a better overview, but usually causes
|
|
80
|
+
* additional legend pages to be exported.
|
|
81
|
+
*/
|
|
82
|
+
legendCompactModeEnabled?: boolean;
|
|
63
83
|
/**
|
|
64
84
|
* Whether the map attribution selection should be enabled.
|
|
65
85
|
*/
|
|
@@ -193,15 +193,32 @@ export interface DisplayAddFeatureArgs extends CreateFeatureArgs, HasMaps, EditO
|
|
|
193
193
|
}
|
|
194
194
|
/**
|
|
195
195
|
* Arguments for the "edit.display-add-related-feature" command. A feature and a
|
|
196
|
-
* relationship ID are supplied as inputs instead of a layer.
|
|
196
|
+
* relationship ID are supplied as inputs instead of a layer. Web only.
|
|
197
|
+
*
|
|
198
|
+
* @webOnly
|
|
197
199
|
*/
|
|
198
200
|
export interface DisplayAddRelatedFeatureArgs extends Omit<DisplayAddFeatureArgs, "layers">, HasFeatures {
|
|
199
201
|
/**
|
|
200
202
|
* The ID of the relationship to add a feature to.
|
|
201
203
|
*/
|
|
202
204
|
relationshipId: string;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Arguments for the "edit.display-add-related-feature" command. Mobile only.
|
|
208
|
+
*
|
|
209
|
+
* @mobileOnly
|
|
210
|
+
*/
|
|
211
|
+
export interface DisplayAddRelatedFeatureMobileArgs {
|
|
203
212
|
/**
|
|
204
|
-
* The feature
|
|
213
|
+
* The original feature to add a related feature to.
|
|
214
|
+
*/
|
|
215
|
+
feature: Feature;
|
|
216
|
+
/**
|
|
217
|
+
* The ID of the relationship to add a feature to.
|
|
218
|
+
*/
|
|
219
|
+
relationshipId: string;
|
|
220
|
+
/**
|
|
221
|
+
* The feature source the related feature belongs to.
|
|
205
222
|
*/
|
|
206
223
|
relatedFeatureSource: FeatureSource;
|
|
207
224
|
}
|
|
@@ -391,16 +408,16 @@ export declare class EditCommands extends CommandRegistry {
|
|
|
391
408
|
* The specified feature will be the original feature that the new related
|
|
392
409
|
* feature will be added to in the relationship.
|
|
393
410
|
*
|
|
394
|
-
* **Example:** Create and edit a new record on a related table, with
|
|
395
|
-
* option to add attachments. Make sure the 'COMMENTS' field is included
|
|
396
|
-
* the editable attributes and make it required.
|
|
411
|
+
* **Example (Web):** Create and edit a new record on a related table, with
|
|
412
|
+
* the option to add attachments. Make sure the 'COMMENTS' field is included
|
|
413
|
+
* in the editable attributes and make it required.
|
|
397
414
|
*
|
|
398
415
|
* _Notes:_.
|
|
399
416
|
*
|
|
400
417
|
* 1. The feature used here must come from the running viewer, and cannot be an
|
|
401
418
|
* ad-hoc feature created from a JSON object. For example, you can use
|
|
402
|
-
* the output of `results.get-active-features
|
|
403
|
-
* in a command chain context.
|
|
419
|
+
* the output of `results.get-active-features` (Web only), or the feature
|
|
420
|
+
* provided in a command chain context.
|
|
404
421
|
* 2. `editableExpression` and `requiredExpression` both take an Arcade
|
|
405
422
|
* expression, and here the string "true" is just a simple Arcade
|
|
406
423
|
* expression that always returns true. You can also use a more complex
|
|
@@ -420,8 +437,28 @@ export declare class EditCommands extends CommandRegistry {
|
|
|
420
437
|
* ]
|
|
421
438
|
* }
|
|
422
439
|
* ```
|
|
440
|
+
*
|
|
441
|
+
* **Example (Mobile):** Create and edit a new record on a feature.
|
|
442
|
+
*
|
|
443
|
+
* _Notes:_.
|
|
444
|
+
*
|
|
445
|
+
* 1. The feature used here must come from the running viewer, and cannot be an
|
|
446
|
+
* ad-hoc feature created from a JSON object. For example, the feature
|
|
447
|
+
* provided to a Workflow from a Feature Action context (as in this
|
|
448
|
+
* example), or from a query.
|
|
449
|
+
* 2. The relatedFeatureSource in this example is a table passed in to the
|
|
450
|
+
* Workflow as an input like so: `{ "tableSource":
|
|
451
|
+
* "item://table-extension/your-table-extension-id" }`
|
|
452
|
+
*
|
|
453
|
+
* ```
|
|
454
|
+
* {
|
|
455
|
+
* "feature": $getWorkflowInputs.inputs.context[0]
|
|
456
|
+
* "relationshipId": "1",
|
|
457
|
+
* "relatedFeatureSource": $getWorkflowInputs.inputs.tableSource
|
|
458
|
+
* }
|
|
459
|
+
* ```
|
|
423
460
|
*/
|
|
424
|
-
get displayAddRelatedFeature(): Command<DisplayAddRelatedFeatureArgs>;
|
|
461
|
+
get displayAddRelatedFeature(): Command<DisplayAddRelatedFeatureArgs | DisplayAddRelatedFeatureMobileArgs>;
|
|
425
462
|
/**
|
|
426
463
|
* Begin an interactive feature editing session with an existing feature.
|
|
427
464
|
* `DisplayUpdateFeatureArgs` is not supported on Mobile.
|
|
@@ -160,6 +160,13 @@ export interface LegendOptions {
|
|
|
160
160
|
* Engine.
|
|
161
161
|
*/
|
|
162
162
|
operationalLayersAutoSet?: boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Whether the legend items of visible layers should only be exported if
|
|
165
|
+
* related features are visible in the print extent. If not defined, the
|
|
166
|
+
* value from the layout's default legend item (ArcGIS Pro: 'Only show
|
|
167
|
+
* feature visible in the map extent') is used.
|
|
168
|
+
*/
|
|
169
|
+
itemsAutoVisibility?: boolean;
|
|
163
170
|
/**
|
|
164
171
|
* Specifies the operational layers whose legends will be added to the
|
|
165
172
|
* layout.
|