@vertigis/viewer-spec 57.2.0 → 57.3.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.
|
@@ -21,6 +21,7 @@ import { MeasurementOperations } from "./measurement.js";
|
|
|
21
21
|
import { MessagingOperations } from "./messaging.js";
|
|
22
22
|
import { NetworkOperations } from "./network.js";
|
|
23
23
|
import { OfflineOperations } from "./offline.js";
|
|
24
|
+
import { PortalOperations } from "./portal.js";
|
|
24
25
|
import { ProjectOperations } from "./project.js";
|
|
25
26
|
import { QueryBuilderOperations } from "./query-builder.js";
|
|
26
27
|
import { ResultsOperations } from "./results.js";
|
|
@@ -52,6 +53,7 @@ export declare class Operations extends OperationRegistry {
|
|
|
52
53
|
readonly messaging: MessagingOperations;
|
|
53
54
|
readonly network: NetworkOperations;
|
|
54
55
|
readonly offline: OfflineOperations;
|
|
56
|
+
readonly portal: PortalOperations;
|
|
55
57
|
readonly project: ProjectOperations;
|
|
56
58
|
readonly queryBuilder: QueryBuilderOperations;
|
|
57
59
|
readonly sketching: SketchingOperations;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{OperationRegistry as s}from"../OperationRegistry.js";import{AppOperations as e}from"./app.js";import{ArcadeOperations as m}from"./arcade.js";import{AuthOperations as i}from"./auth.js";import{BasemapOperations as r}from"./basemap.js";import{ChartOperations as t}from"./charts.js";import{DebugConsoleOperations as o}from"./debugConsole.js";import{DrawingOperations as a}from"./drawing.js";import{EditOperations as g}from"./edit.js";import{FileOperations as n}from"./file.js";import{FilterBuilderOperations as p}from"./filter-builder.js";import{GeocodeOperations as f}from"./geocode.js";import{GeolocationOperations as h}from"./geolocation.js";import{GeometryOperations as w}from"./geometry.js";import{HighlightsOperations as j}from"./highlights.js";import{KpiOperations as _}from"./kpi.js";import{LicensingOperations as l}from"./licensing.js";import{LogViewerOperations as u}from"./logViewer.js";import{MapOperations as c}from"./map.js";import{MeasurementOperations as d}from"./measurement.js";import{MessagingOperations as k}from"./messaging.js";import{NetworkOperations as y}from"./network.js";import{OfflineOperations as b}from"./offline.js";import{
|
|
1
|
+
import{OperationRegistry as s}from"../OperationRegistry.js";import{AppOperations as e}from"./app.js";import{ArcadeOperations as m}from"./arcade.js";import{AuthOperations as i}from"./auth.js";import{BasemapOperations as r}from"./basemap.js";import{ChartOperations as t}from"./charts.js";import{DebugConsoleOperations as o}from"./debugConsole.js";import{DrawingOperations as a}from"./drawing.js";import{EditOperations as g}from"./edit.js";import{FileOperations as n}from"./file.js";import{FilterBuilderOperations as p}from"./filter-builder.js";import{GeocodeOperations as f}from"./geocode.js";import{GeolocationOperations as h}from"./geolocation.js";import{GeometryOperations as w}from"./geometry.js";import{HighlightsOperations as j}from"./highlights.js";import{KpiOperations as _}from"./kpi.js";import{LicensingOperations as l}from"./licensing.js";import{LogViewerOperations as u}from"./logViewer.js";import{MapOperations as c}from"./map.js";import{MeasurementOperations as d}from"./measurement.js";import{MessagingOperations as k}from"./messaging.js";import{NetworkOperations as y}from"./network.js";import{OfflineOperations as b}from"./offline.js";import{PortalOperations as x}from"./portal.js";import{ProjectOperations as q}from"./project.js";import{QueryBuilderOperations as v}from"./query-builder.js";import{ResultsOperations as B}from"./results.js";import{SketchingOperations as C}from"./sketching.js";import{SystemOperations as O}from"./system.js";import{TasksOperations as V}from"./tasks.js";import{UIOperations as R}from"./ui.js";import{ViewerOperations as z}from"./viewer.js";import{WorkflowOperations as A}from"./workflow.js";export class Operations extends s{arcade=new m(this._messages);auth=new i(this._messages);app=new e(this._messages);basemap=new r(this._messages);charts=new t(this._messages);edit=new g(this._messages);drawing=new a(this._messages);file=new n(this._messages);filterBuilder=new p(this._messages);geocode=new f(this._messages);geolocation=new h(this._messages);geometry=new w(this._messages);highlights=new j(this._messages);kpi=new _(this._messages);licensing=new l(this._messages);logViewer=new u(this._messages);map=new c(this._messages);measurement=new d(this._messages);messaging=new k(this._messages);network=new y(this._messages);offline=new b(this._messages);portal=new x(this._messages);project=new q(this._messages);queryBuilder=new v(this._messages);sketching=new C(this._messages);system=new O(this._messages);results=new B(this._messages);tasks=new V(this._messages);ui=new R(this._messages);viewer=new z(this._messages);workflow=new A(this._messages);debugConsole=new o(this._messages);_prefix=""}
|
|
@@ -1473,6 +1473,65 @@
|
|
|
1473
1473
|
],
|
|
1474
1474
|
"type": "string"
|
|
1475
1475
|
},
|
|
1476
|
+
"ChooseLayersOptions": {
|
|
1477
|
+
"additionalProperties": false,
|
|
1478
|
+
"description": "Arguments for the \"portal.choose-layers\" operation.",
|
|
1479
|
+
"properties": {
|
|
1480
|
+
"allowMultiple": {
|
|
1481
|
+
"description": "Whether the user can choose multiple layers, or just one. Default is `false`.",
|
|
1482
|
+
"type": "boolean"
|
|
1483
|
+
},
|
|
1484
|
+
"attributes": {
|
|
1485
|
+
"description": "Optional layout XML attributes to be used for the transient UI container."
|
|
1486
|
+
},
|
|
1487
|
+
"icon": {
|
|
1488
|
+
"description": "Optional icon that may be used by the transient UI container.",
|
|
1489
|
+
"type": "string"
|
|
1490
|
+
},
|
|
1491
|
+
"initialSource": {
|
|
1492
|
+
"$ref": "#/definitions/Source",
|
|
1493
|
+
"description": "Optionally specify the source that will be initially selected. If specified this will overwrite the configured default in the Portal Model."
|
|
1494
|
+
},
|
|
1495
|
+
"layerFilterTags": {
|
|
1496
|
+
"description": "Optionally specify the tags by which the Choose Layer modal will filter out the displayed layers. If specified this will overwrite the configured default in the Portal Model.",
|
|
1497
|
+
"items": {
|
|
1498
|
+
"type": "string"
|
|
1499
|
+
},
|
|
1500
|
+
"type": "array"
|
|
1501
|
+
},
|
|
1502
|
+
"maps": {
|
|
1503
|
+
"$ref": "MapsLike",
|
|
1504
|
+
"description": "Map(s) to use for the command/operation."
|
|
1505
|
+
},
|
|
1506
|
+
"parent": {
|
|
1507
|
+
"description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes.",
|
|
1508
|
+
"type": "string"
|
|
1509
|
+
},
|
|
1510
|
+
"sources": {
|
|
1511
|
+
"description": "Optionally specify the sources that we want to expose. If specified this will overwrite the configured default in the Portal Model.",
|
|
1512
|
+
"items": {
|
|
1513
|
+
"$ref": "#/definitions/Source"
|
|
1514
|
+
},
|
|
1515
|
+
"type": "array"
|
|
1516
|
+
}
|
|
1517
|
+
},
|
|
1518
|
+
"type": "object"
|
|
1519
|
+
},
|
|
1520
|
+
"ChooseLayersResult": {
|
|
1521
|
+
"additionalProperties": false,
|
|
1522
|
+
"description": "Result of the \"portal.choose-layers\" operation.",
|
|
1523
|
+
"properties": {
|
|
1524
|
+
"layers": {
|
|
1525
|
+
"$ref": "#/definitions/LayersLike",
|
|
1526
|
+
"description": "The layer(s) chosen by the user."
|
|
1527
|
+
},
|
|
1528
|
+
"maps": {
|
|
1529
|
+
"$ref": "MapsLike",
|
|
1530
|
+
"description": "Map(s) to use for the command/operation."
|
|
1531
|
+
}
|
|
1532
|
+
},
|
|
1533
|
+
"type": "object"
|
|
1534
|
+
},
|
|
1476
1535
|
"ClearMarkupArgs": {
|
|
1477
1536
|
"additionalProperties": false,
|
|
1478
1537
|
"description": "Arguments for the \"map.clear-markup\" command.",
|
|
@@ -1889,6 +1948,40 @@
|
|
|
1889
1948
|
],
|
|
1890
1949
|
"type": "object"
|
|
1891
1950
|
},
|
|
1951
|
+
"CreateOrUpdateItemArgs": {
|
|
1952
|
+
"additionalProperties": false,
|
|
1953
|
+
"description": "Arguments for the 'portal.create-or-update-item' operation.",
|
|
1954
|
+
"properties": {
|
|
1955
|
+
"data": {
|
|
1956
|
+
"description": "The JSON data associated with the item."
|
|
1957
|
+
},
|
|
1958
|
+
"promptForOverwrite": {
|
|
1959
|
+
"description": "Whether to prompt before overwriting an existing item. This must be set to `false` to allow overwriting if `showUI` is also `false`. Defaults to `true`.",
|
|
1960
|
+
"type": "boolean"
|
|
1961
|
+
},
|
|
1962
|
+
"showUI": {
|
|
1963
|
+
"description": "Whether to show UI elements associated with this operation. Defaults to `true`.",
|
|
1964
|
+
"type": "boolean"
|
|
1965
|
+
},
|
|
1966
|
+
"thumbnail": {
|
|
1967
|
+
"description": "The URL of a thumbnail for the item.",
|
|
1968
|
+
"type": "string"
|
|
1969
|
+
},
|
|
1970
|
+
"title": {
|
|
1971
|
+
"description": "The title of the resulting portal item. Must be provided if `showUI` is `false`.",
|
|
1972
|
+
"type": "string"
|
|
1973
|
+
},
|
|
1974
|
+
"type": {
|
|
1975
|
+
"description": "The portal type of the item.",
|
|
1976
|
+
"type": "string"
|
|
1977
|
+
}
|
|
1978
|
+
},
|
|
1979
|
+
"required": [
|
|
1980
|
+
"data",
|
|
1981
|
+
"type"
|
|
1982
|
+
],
|
|
1983
|
+
"type": "object"
|
|
1984
|
+
},
|
|
1892
1985
|
"DeleteAttachmentArgs": {
|
|
1893
1986
|
"additionalProperties": false,
|
|
1894
1987
|
"description": "Arguments for the \"edit.delete-attachment\" command.",
|
|
@@ -6954,6 +7047,17 @@
|
|
|
6954
7047
|
},
|
|
6955
7048
|
"type": "object"
|
|
6956
7049
|
},
|
|
7050
|
+
"Source": {
|
|
7051
|
+
"description": "Represent sources of portal items.",
|
|
7052
|
+
"enum": [
|
|
7053
|
+
"my-content",
|
|
7054
|
+
"my-favorites",
|
|
7055
|
+
"my-groups",
|
|
7056
|
+
"organization",
|
|
7057
|
+
"public"
|
|
7058
|
+
],
|
|
7059
|
+
"type": "string"
|
|
7060
|
+
},
|
|
6957
7061
|
"StopGeometryEditArgs": {
|
|
6958
7062
|
"additionalProperties": false,
|
|
6959
7063
|
"description": "Arguments for the \"sketching.stop\" operation.",
|
|
@@ -20849,6 +20953,30 @@
|
|
|
20849
20953
|
}
|
|
20850
20954
|
]
|
|
20851
20955
|
},
|
|
20956
|
+
"portal.choose-layers": {
|
|
20957
|
+
"description": "Allows the user to browse/search the application's associated portal for one or more layers. Web only.",
|
|
20958
|
+
"enum": [
|
|
20959
|
+
"portal.choose-layers"
|
|
20960
|
+
]
|
|
20961
|
+
},
|
|
20962
|
+
"portal.choose-layers:input": {
|
|
20963
|
+
"$ref": "#/definitions/ChooseLayersOptions"
|
|
20964
|
+
},
|
|
20965
|
+
"portal.choose-layers:output": {
|
|
20966
|
+
"$ref": "#/definitions/ChooseLayersResult"
|
|
20967
|
+
},
|
|
20968
|
+
"portal.create-or-update-item": {
|
|
20969
|
+
"description": "Creates or updates a portal item from the supplied data. Web only.",
|
|
20970
|
+
"enum": [
|
|
20971
|
+
"portal.create-or-update-item"
|
|
20972
|
+
]
|
|
20973
|
+
},
|
|
20974
|
+
"portal.create-or-update-item:input": {
|
|
20975
|
+
"$ref": "#/definitions/CreateOrUpdateItemArgs"
|
|
20976
|
+
},
|
|
20977
|
+
"portal.create-or-update-item:output": {
|
|
20978
|
+
"$ref": "#/definitions/esri.PortalItem"
|
|
20979
|
+
},
|
|
20852
20980
|
"printing.run": {
|
|
20853
20981
|
"description": "Run a print job with a given map and template/layout.",
|
|
20854
20982
|
"enum": [
|
|
@@ -26325,6 +26453,38 @@
|
|
|
26325
26453
|
],
|
|
26326
26454
|
"type": "object"
|
|
26327
26455
|
},
|
|
26456
|
+
{
|
|
26457
|
+
"additionalProperties": false,
|
|
26458
|
+
"properties": {
|
|
26459
|
+
"arguments": {
|
|
26460
|
+
"$ref": "#/definitions/portal.choose-layers:input"
|
|
26461
|
+
},
|
|
26462
|
+
"name": {
|
|
26463
|
+
"$ref": "#/definitions/portal.choose-layers"
|
|
26464
|
+
}
|
|
26465
|
+
},
|
|
26466
|
+
"required": [
|
|
26467
|
+
"name",
|
|
26468
|
+
"arguments"
|
|
26469
|
+
],
|
|
26470
|
+
"type": "object"
|
|
26471
|
+
},
|
|
26472
|
+
{
|
|
26473
|
+
"additionalProperties": false,
|
|
26474
|
+
"properties": {
|
|
26475
|
+
"arguments": {
|
|
26476
|
+
"$ref": "#/definitions/portal.create-or-update-item:input"
|
|
26477
|
+
},
|
|
26478
|
+
"name": {
|
|
26479
|
+
"$ref": "#/definitions/portal.create-or-update-item"
|
|
26480
|
+
}
|
|
26481
|
+
},
|
|
26482
|
+
"required": [
|
|
26483
|
+
"name",
|
|
26484
|
+
"arguments"
|
|
26485
|
+
],
|
|
26486
|
+
"type": "object"
|
|
26487
|
+
},
|
|
26328
26488
|
{
|
|
26329
26489
|
"additionalProperties": false,
|
|
26330
26490
|
"properties": {
|
|
@@ -27237,6 +27397,12 @@
|
|
|
27237
27397
|
{
|
|
27238
27398
|
"$ref": "#/definitions/messaging.mix-in-args"
|
|
27239
27399
|
},
|
|
27400
|
+
{
|
|
27401
|
+
"$ref": "#/definitions/portal.choose-layers"
|
|
27402
|
+
},
|
|
27403
|
+
{
|
|
27404
|
+
"$ref": "#/definitions/portal.create-or-update-item"
|
|
27405
|
+
},
|
|
27240
27406
|
{
|
|
27241
27407
|
"$ref": "#/definitions/project.create"
|
|
27242
27408
|
},
|
package/package.json
CHANGED
package/version.d.ts
CHANGED
package/version.js
CHANGED