@vertigis/viewer-spec 59.25.0 → 59.26.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.
@@ -23,6 +23,7 @@ import { MessagingOperations } from "./messaging.js";
23
23
  import { NetworkOperations } from "./network.js";
24
24
  import { OfflineOperations } from "./offline.js";
25
25
  import { PortalOperations } from "./portal.js";
26
+ import { PrintOperations } from "./printing.js";
26
27
  import { ProjectOperations } from "./project.js";
27
28
  import { QueryBuilderOperations } from "./query-builder.js";
28
29
  import { ResultsOperations } from "./results.js";
@@ -57,6 +58,7 @@ export declare class Operations extends OperationRegistry {
57
58
  readonly network: NetworkOperations;
58
59
  readonly offline: OfflineOperations;
59
60
  readonly portal: PortalOperations;
61
+ readonly printing: PrintOperations;
60
62
  readonly project: ProjectOperations;
61
63
  readonly queryBuilder: QueryBuilderOperations;
62
64
  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 w}from"./geocode.js";import{GeolocationOperations as f}from"./geolocation.js";import{GeometryOperations as h}from"./geometry.js";import{HighlightsOperations as j}from"./highlights.js";import{KpiOperations as _}from"./kpi.js";import{LayersOperations as l}from"./layers.js";import{LicensingOperations as u}from"./licensing.js";import{LogViewerOperations as c}from"./logViewer.js";import{MapOperations as d}from"./map.js";import{MeasurementOperations as k}from"./measurement.js";import{MessagingOperations as y}from"./messaging.js";import{NetworkOperations as b}from"./network.js";import{OfflineOperations as x}from"./offline.js";import{PortalOperations as q}from"./portal.js";import{ProjectOperations as v}from"./project.js";import{QueryBuilderOperations as B}from"./query-builder.js";import{ResultsOperations as C}from"./results.js";import{SketchingOperations as O}from"./sketching.js";import{SystemOperations as V}from"./system.js";import{TasksOperations as N}from"./tasks.js";import{UIOperations as R}from"./ui.js";import{UtilityNetworkOperations as z}from"./utility-network.js";import{ViewerOperations as A}from"./viewer.js";import{WorkflowOperations as D}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 w(this._messages);geolocation=new f(this._messages);geometry=new h(this._messages);highlights=new j(this._messages);kpi=new _(this._messages);layers=new l(this._messages);licensing=new u(this._messages);logViewer=new c(this._messages);map=new d(this._messages);measurement=new k(this._messages);messaging=new y(this._messages);network=new b(this._messages);offline=new x(this._messages);portal=new q(this._messages);project=new v(this._messages);queryBuilder=new B(this._messages);sketching=new O(this._messages);system=new V(this._messages);results=new C(this._messages);tasks=new N(this._messages);ui=new R(this._messages);utilityNetwork=new z(this._messages);viewer=new A(this._messages);workflow=new D(this._messages);debugConsole=new o(this._messages);_prefix=""}
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 n}from"./edit.js";import{FileOperations as g}from"./file.js";import{FilterBuilderOperations as p}from"./filter-builder.js";import{GeocodeOperations as w}from"./geocode.js";import{GeolocationOperations as f}from"./geolocation.js";import{GeometryOperations as h}from"./geometry.js";import{HighlightsOperations as j}from"./highlights.js";import{KpiOperations as _}from"./kpi.js";import{LayersOperations as l}from"./layers.js";import{LicensingOperations as u}from"./licensing.js";import{LogViewerOperations as c}from"./logViewer.js";import{MapOperations as d}from"./map.js";import{MeasurementOperations as k}from"./measurement.js";import{MessagingOperations as y}from"./messaging.js";import{NetworkOperations as b}from"./network.js";import{OfflineOperations as x}from"./offline.js";import{PortalOperations as q}from"./portal.js";import{PrintOperations as v}from"./printing.js";import{ProjectOperations as B}from"./project.js";import{QueryBuilderOperations as C}from"./query-builder.js";import{ResultsOperations as O}from"./results.js";import{SketchingOperations as V}from"./sketching.js";import{SystemOperations as N}from"./system.js";import{TasksOperations as R}from"./tasks.js";import{UIOperations as z}from"./ui.js";import{UtilityNetworkOperations as A}from"./utility-network.js";import{ViewerOperations as D}from"./viewer.js";import{WorkflowOperations as E}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 n(this._messages);drawing=new a(this._messages);file=new g(this._messages);filterBuilder=new p(this._messages);geocode=new w(this._messages);geolocation=new f(this._messages);geometry=new h(this._messages);highlights=new j(this._messages);kpi=new _(this._messages);layers=new l(this._messages);licensing=new u(this._messages);logViewer=new c(this._messages);map=new d(this._messages);measurement=new k(this._messages);messaging=new y(this._messages);network=new b(this._messages);offline=new x(this._messages);portal=new q(this._messages);printing=new v(this._messages);project=new B(this._messages);queryBuilder=new C(this._messages);sketching=new V(this._messages);system=new N(this._messages);results=new O(this._messages);tasks=new R(this._messages);ui=new z(this._messages);utilityNetwork=new A(this._messages);viewer=new D(this._messages);workflow=new E(this._messages);debugConsole=new o(this._messages);_prefix=""}
@@ -9,6 +9,8 @@ import type { Command } from "../Command.js";
9
9
  import { CommandRegistry } from "../CommandRegistry.js";
10
10
  import type { Event } from "../Event.js";
11
11
  import { EventRegistry } from "../EventRegistry.js";
12
+ import type { Operation } from "../Operation.js";
13
+ import { OperationRegistry } from "../OperationRegistry.js";
12
14
  import type { MapsLike } from "../common.js";
13
15
  /**
14
16
  * A set of parameters used to run a job.
@@ -747,9 +749,9 @@ export interface AdditionalSettings {
747
749
  dynamicElements?: DynamicElement[];
748
750
  }
749
751
  /**
750
- * Prepared print job arguments (printing gen2).
752
+ * Print job arguments (printing gen2).
751
753
  */
752
- export interface PreparedPrintJobArgs {
754
+ export interface PrintJobArgs {
753
755
  /**
754
756
  * Export web map.
755
757
  */
@@ -763,6 +765,10 @@ export interface PreparedPrintJobArgs {
763
765
  */
764
766
  additionalWebMaps?: AdditionalExportWebMap[];
765
767
  }
768
+ /**
769
+ * Prepared print job arguments (printing gen2).
770
+ */
771
+ export type PreparedPrintJobArgs = PrintJobArgs;
766
772
  /**
767
773
  * The arguments required by the printing.run command when printing with
768
774
  * VertiGIS Studio ArcGIS Pro layouts, -layout packages or MAP ONLY (printing
@@ -935,10 +941,23 @@ export interface PrintPreparingEventArgs extends PrintEventArgsBase {
935
941
  */
936
942
  export interface PrintPreparedEventArgs extends PrintEventArgsBase {
937
943
  /**
938
- * The print job arguments.
944
+ * The prepared print job arguments.
939
945
  */
940
946
  printJobArgs?: PreparedPrintJobArgs;
941
947
  }
948
+ /**
949
+ * Prepared print job update arguments for the printing.update-args operation.
950
+ */
951
+ export interface PreparedPrintJobUpdateArgs {
952
+ /**
953
+ * The prepared print job arguments.
954
+ */
955
+ printJobArgs: PreparedPrintJobArgs;
956
+ /**
957
+ * The print job update arguments.
958
+ */
959
+ update?: PrintJobArgs;
960
+ }
942
961
  /**
943
962
  * Arguments for the printing.print-started event.
944
963
  */
@@ -955,6 +974,16 @@ export declare class PrintCommands extends CommandRegistry {
955
974
  */
956
975
  get run(): Command<RunPrintArgs | RunLayoutPrintArgs>;
957
976
  }
977
+ export declare class PrintOperations extends OperationRegistry {
978
+ protected readonly _prefix = "printing";
979
+ /**
980
+ * Allows the user to update the intercepted prepared print request
981
+ * arguments.
982
+ *
983
+ * @webOnly
984
+ */
985
+ get updateArgs(): Operation<PreparedPrintJobUpdateArgs, PreparedPrintJobArgs>;
986
+ }
958
987
  export declare class PrintEvents extends EventRegistry {
959
988
  protected readonly _prefix = "printing";
960
989
  /**
@@ -1 +1 @@
1
- import{CommandRegistry as r}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.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 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")}}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")}}