@vertigis/viewer-spec 60.9.1 → 61.1.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/schema/common-app-config.schema.json +1 -1
- package/app-config/schema/mobile-app-config.schema.json +1 -1
- package/app-config/schema/web-app-config.schema.json +1 -1
- package/messaging/Event.d.ts +2 -1
- package/messaging/registry/geometry.d.ts +2 -3
- package/messaging/registry/map.d.ts +1 -1
- package/messaging/registry/printing.d.ts +36 -4
- package/messaging/registry/printing.js +1 -1
- package/messaging/schema/common-action.schema.json +1834 -575
- package/messaging/schema/common-event.schema.json +1639 -305
- package/messaging/schema/mobile-action.schema.json +1912 -639
- package/messaging/schema/mobile-event.schema.json +1680 -381
- package/messaging/schema/web-action.schema.json +2292 -1081
- package/messaging/schema/web-charts-command-definitions.md +210 -3
- package/messaging/schema/web-drawing-command-definitions.md +18 -57
- package/messaging/schema/web-drawing-operation-definitions.md +114 -63
- package/messaging/schema/web-edit-command-definitions.md +212 -5
- package/messaging/schema/web-event.schema.json +1832 -402
- package/messaging/schema/web-geocode-operation-definitions.md +1 -1
- package/messaging/schema/web-geolocation-operation-definitions.md +1 -1
- package/messaging/schema/web-geometry-operation-definitions.md +77 -16
- package/messaging/schema/web-kpi-command-definitions.md +210 -3
- package/messaging/schema/web-layer-comparison-command-definitions.md +8 -8
- package/messaging/schema/web-layers-command-definitions.md +104 -104
- package/messaging/schema/web-layers-operation-definitions.md +37 -37
- package/messaging/schema/web-location-marker-command-definitions.md +68 -6
- package/messaging/schema/web-map-command-definitions.md +234 -27
- package/messaging/schema/web-map-operation-definitions.md +1 -1
- package/messaging/schema/web-measurement-command-definitions.md +18 -57
- package/messaging/schema/web-measurement-operation-definitions.md +17 -38
- package/messaging/schema/web-portal-operation-definitions.md +1 -1
- package/messaging/schema/web-printing-command-definitions.md +16 -0
- package/messaging/schema/web-results-command-definitions.md +280 -4
- package/messaging/schema/web-results-operation-definitions.md +289 -13
- package/messaging/schema/web-sketching-command-definitions.md +2 -2
- package/messaging/schema/web-sketching-operation-definitions.md +24 -24
- package/package.json +2 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/messaging/Event.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ResourceHandle } from "@arcgis/core/core/Handles";
|
|
1
2
|
import type { Message } from "./Message.js";
|
|
2
3
|
import type { Model } from "./common.js";
|
|
3
4
|
/**
|
|
@@ -22,5 +23,5 @@ export interface Event<T = void> extends Message {
|
|
|
22
23
|
* published.
|
|
23
24
|
* @returns A handle that can be used to unsubscribe.
|
|
24
25
|
*/
|
|
25
|
-
subscribe: (callback: EventCallback<T>) =>
|
|
26
|
+
subscribe: (callback: EventCallback<T>) => ResourceHandle;
|
|
26
27
|
}
|
|
@@ -2,8 +2,7 @@ import type Point from "@arcgis/core/geometry/Point";
|
|
|
2
2
|
import type Polygon from "@arcgis/core/geometry/Polygon";
|
|
3
3
|
import type Polyline from "@arcgis/core/geometry/Polyline";
|
|
4
4
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference";
|
|
5
|
-
import type GeographicTransformation from "@arcgis/core/geometry/operators/support/GeographicTransformation
|
|
6
|
-
import type GeographicTransformationLegacy from "@arcgis/core/geometry/support/GeographicTransformation";
|
|
5
|
+
import type GeographicTransformation from "@arcgis/core/geometry/operators/support/GeographicTransformation";
|
|
7
6
|
import type { GeometryUnion } from "@arcgis/core/unionTypes.js";
|
|
8
7
|
import type { Command } from "../Command.js";
|
|
9
8
|
import { CommandRegistry } from "../CommandRegistry.js";
|
|
@@ -27,7 +26,7 @@ export interface ProjectArgs {
|
|
|
27
26
|
* The geographic transformation which contains the steps to transform the
|
|
28
27
|
* input spatial reference to the output spatial reference.
|
|
29
28
|
*/
|
|
30
|
-
transformation?: GeographicTransformation
|
|
29
|
+
transformation?: GeographicTransformation;
|
|
31
30
|
}
|
|
32
31
|
/**
|
|
33
32
|
* The units for distance buffers supported by ArcGIS.
|
|
@@ -4,7 +4,7 @@ import type Viewpoint from "@arcgis/core/Viewpoint";
|
|
|
4
4
|
import type Extent from "@arcgis/core/geometry/Extent";
|
|
5
5
|
import type Point from "@arcgis/core/geometry/Point";
|
|
6
6
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference";
|
|
7
|
-
import type GeographicTransformation from "@arcgis/core/geometry/support/GeographicTransformation";
|
|
7
|
+
import type GeographicTransformation from "@arcgis/core/geometry/operators/support/GeographicTransformation";
|
|
8
8
|
import type Layer from "@arcgis/core/layers/Layer";
|
|
9
9
|
import type { GeometryUnion } from "@arcgis/core/unionTypes.js";
|
|
10
10
|
import type { GeometryJsonType } from "@vertigis/arcgis-extensions/json/GeometryJson.js";
|
|
@@ -2,6 +2,7 @@ import type Viewpoint from "@arcgis/core/Viewpoint";
|
|
|
2
2
|
import type Extent from "@arcgis/core/geometry/Extent";
|
|
3
3
|
import type Point from "@arcgis/core/geometry/Point.js";
|
|
4
4
|
import type SpatialReference from "@arcgis/core/geometry/SpatialReference";
|
|
5
|
+
import type { Feature } from "@vertigis/arcgis-extensions/data/Feature.js";
|
|
5
6
|
import type { BasemapJson } from "@vertigis/arcgis-extensions/json/BasemapJson.js";
|
|
6
7
|
import type { OperationalLayerJson } from "@vertigis/arcgis-extensions/json/OperationalLayerJson.js";
|
|
7
8
|
import type { PortalItemLike } from "@vertigis/arcgis-extensions/utilities/portal";
|
|
@@ -11,7 +12,7 @@ import type { Event } from "../Event.js";
|
|
|
11
12
|
import { EventRegistry } from "../EventRegistry.js";
|
|
12
13
|
import type { Operation } from "../Operation.js";
|
|
13
14
|
import { OperationRegistry } from "../OperationRegistry.js";
|
|
14
|
-
import type { MapsLike } from "../common.js";
|
|
15
|
+
import type { FeaturesLike, MapsLike } from "../common.js";
|
|
15
16
|
/**
|
|
16
17
|
* A set of parameters used to run a job.
|
|
17
18
|
*/
|
|
@@ -548,10 +549,10 @@ export interface Page {
|
|
|
548
549
|
*/
|
|
549
550
|
dynamicElements?: DynamicElement[];
|
|
550
551
|
/**
|
|
551
|
-
* Layer objects selections of the default Page
|
|
552
|
+
* Layer objects selections of the default Page. Overwrites the Layer
|
|
552
553
|
* objects selections in additionalSettings.
|
|
553
554
|
*/
|
|
554
|
-
selection?: Selection;
|
|
555
|
+
selection?: Selection[];
|
|
555
556
|
}
|
|
556
557
|
/**
|
|
557
558
|
* Represents the seamless page settings.
|
|
@@ -745,7 +746,7 @@ export interface AdditionalSettings {
|
|
|
745
746
|
/**
|
|
746
747
|
* Layer objects selections.
|
|
747
748
|
*/
|
|
748
|
-
selection?: Selection;
|
|
749
|
+
selection?: Selection[];
|
|
749
750
|
/**
|
|
750
751
|
* Series time settings for time-aware layers.
|
|
751
752
|
*/
|
|
@@ -777,6 +778,15 @@ export interface AdditionalSettings {
|
|
|
777
778
|
*/
|
|
778
779
|
dynamicElements?: DynamicElement[];
|
|
779
780
|
}
|
|
781
|
+
/**
|
|
782
|
+
* Arguments for the printing.print-features command.
|
|
783
|
+
*/
|
|
784
|
+
export interface PrintFeaturesArgs {
|
|
785
|
+
/**
|
|
786
|
+
* The feature(s) to print.
|
|
787
|
+
*/
|
|
788
|
+
features: FeaturesLike;
|
|
789
|
+
}
|
|
780
790
|
/**
|
|
781
791
|
* Print job arguments (printing gen2).
|
|
782
792
|
*/
|
|
@@ -960,6 +970,15 @@ export interface PrintFinishedEventArgs extends PrintEventArgsBase {
|
|
|
960
970
|
*/
|
|
961
971
|
export interface PrintProgressEventArgs extends PrintEventArgsBase {
|
|
962
972
|
}
|
|
973
|
+
/**
|
|
974
|
+
* Arguments for the printing.print-features-prepared event.
|
|
975
|
+
*/
|
|
976
|
+
export interface PrintFeaturesPreparedEventArgs {
|
|
977
|
+
/**
|
|
978
|
+
* Features containing geometries to print. Web only.
|
|
979
|
+
*/
|
|
980
|
+
features: Feature[];
|
|
981
|
+
}
|
|
963
982
|
/**
|
|
964
983
|
* Arguments for the printing.print-preparing event.
|
|
965
984
|
*/
|
|
@@ -1002,6 +1021,13 @@ export declare class PrintCommands extends CommandRegistry {
|
|
|
1002
1021
|
* Run a print job with a given map and template/layout.
|
|
1003
1022
|
*/
|
|
1004
1023
|
get run(): Command<RunPrintArgs | RunLayoutPrintArgs>;
|
|
1024
|
+
/**
|
|
1025
|
+
* Opens the print component with the option to print specified features.
|
|
1026
|
+
* Web only.
|
|
1027
|
+
*
|
|
1028
|
+
* @webOnly
|
|
1029
|
+
*/
|
|
1030
|
+
get printFeatures(): Command<PrintFeaturesArgs>;
|
|
1005
1031
|
}
|
|
1006
1032
|
export declare class PrintOperations extends OperationRegistry {
|
|
1007
1033
|
protected readonly _prefix = "printing";
|
|
@@ -1015,6 +1041,12 @@ export declare class PrintOperations extends OperationRegistry {
|
|
|
1015
1041
|
}
|
|
1016
1042
|
export declare class PrintEvents extends EventRegistry {
|
|
1017
1043
|
protected readonly _prefix = "printing";
|
|
1044
|
+
/**
|
|
1045
|
+
* Raised when features are prepared for prints.
|
|
1046
|
+
*
|
|
1047
|
+
* @webOnly
|
|
1048
|
+
*/
|
|
1049
|
+
get printFeaturesPrepared(): Event<PrintFeaturesPreparedEventArgs>;
|
|
1018
1050
|
/**
|
|
1019
1051
|
* Raised before a print gets prepared.
|
|
1020
1052
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CommandRegistry as r}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as e}from"../OperationRegistry.js";export const printOutputFormats=["AIX","BMP","EMF","EPS","GIF","JPG","PDF","PNG","PNG32","SVG","SVGZ","TGA","TIFF"];export class PrintCommands extends r{_prefix="printing";get run(){return this._get("run")}}export class PrintOperations extends e{_prefix="printing";get updateArgs(){return this._get("update-args")}}export class PrintEvents extends t{_prefix="printing";get printPreparing(){return this._get("print-preparing")}get printPrepared(){return this._get("print-prepared")}get printStarted(){return this._get("print-started")}get printProgress(){return this._get("print-progress")}get printFinished(){return this._get("print-finished")}get printError(){return this._get("print-error")}}
|
|
1
|
+
import{CommandRegistry as r}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";import{OperationRegistry as e}from"../OperationRegistry.js";export const printOutputFormats=["AIX","BMP","EMF","EPS","GIF","JPG","PDF","PNG","PNG32","SVG","SVGZ","TGA","TIFF"];export class PrintCommands extends r{_prefix="printing";get run(){return this._get("run")}get printFeatures(){return this._get("print-features")}}export class PrintOperations extends e{_prefix="printing";get updateArgs(){return this._get("update-args")}}export class PrintEvents extends t{_prefix="printing";get printFeaturesPrepared(){return this._get("print-features-prepared")}get printPreparing(){return this._get("print-preparing")}get printPrepared(){return this._get("print-prepared")}get printStarted(){return this._get("print-started")}get printProgress(){return this._get("print-progress")}get printFinished(){return this._get("print-finished")}get printError(){return this._get("print-error")}}
|