@vertigis/viewer-spec 58.11.0 → 58.12.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.
@@ -131,6 +131,16 @@ export interface PrintFinishedEventArgs extends PrintEventArgsBase {
131
131
  */
132
132
  export interface PrintProgressEventArgs extends PrintEventArgsBase {
133
133
  }
134
+ /**
135
+ * Arguments for the printing.print-preparing event.
136
+ */
137
+ export interface PrintPreparingEventArgs extends PrintEventArgsBase {
138
+ }
139
+ /**
140
+ * Arguments for the printing.print-prepared event.
141
+ */
142
+ export interface PrintPreparedEventArgs extends PrintEventArgsBase {
143
+ }
134
144
  /**
135
145
  * Arguments for the printing.print-started event.
136
146
  */
@@ -145,6 +155,18 @@ export declare class PrintCommands extends CommandRegistry {
145
155
  }
146
156
  export declare class PrintEvents extends EventRegistry {
147
157
  protected readonly _prefix = "printing";
158
+ /**
159
+ * Raised before a print gets prepared.
160
+ *
161
+ * @webOnly
162
+ */
163
+ get printPreparing(): Event<PrintPreparingEventArgs>;
164
+ /**
165
+ * Raised when a print was prepared, but not yet started printing.
166
+ *
167
+ * @webOnly
168
+ */
169
+ get printPrepared(): Event<PrintPreparedEventArgs>;
148
170
  /**
149
171
  * Raised when a print has started running.
150
172
  */
@@ -1 +1 @@
1
- import{CommandRegistry as r}from"../CommandRegistry.js";import{EventRegistry as t}from"../EventRegistry.js";export class PrintCommands extends r{_prefix="printing";get run(){return this._get("run")}}export class PrintEvents extends t{_prefix="printing";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";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")}}
@@ -1088,6 +1088,44 @@
1088
1088
  ],
1089
1089
  "type": "object"
1090
1090
  },
1091
+ "PrintPreparedEventArgs": {
1092
+ "additionalProperties": false,
1093
+ "description": "Arguments for the printing.print-prepared event.",
1094
+ "properties": {
1095
+ "instanceId": {
1096
+ "description": "A unique ID to track the running of this print.",
1097
+ "type": "string"
1098
+ },
1099
+ "printTemplateId": {
1100
+ "description": "The ID of the print template being used.",
1101
+ "type": "string"
1102
+ }
1103
+ },
1104
+ "required": [
1105
+ "instanceId",
1106
+ "printTemplateId"
1107
+ ],
1108
+ "type": "object"
1109
+ },
1110
+ "PrintPreparingEventArgs": {
1111
+ "additionalProperties": false,
1112
+ "description": "Arguments for the printing.print-preparing event.",
1113
+ "properties": {
1114
+ "instanceId": {
1115
+ "description": "A unique ID to track the running of this print.",
1116
+ "type": "string"
1117
+ },
1118
+ "printTemplateId": {
1119
+ "description": "The ID of the print template being used.",
1120
+ "type": "string"
1121
+ }
1122
+ },
1123
+ "required": [
1124
+ "instanceId",
1125
+ "printTemplateId"
1126
+ ],
1127
+ "type": "object"
1128
+ },
1091
1129
  "PrintProgressEventArgs": {
1092
1130
  "additionalProperties": false,
1093
1131
  "description": "Arguments for the printing.print-progress event.",
@@ -10899,6 +10937,24 @@
10899
10937
  "printing.print-finished:input": {
10900
10938
  "$ref": "#/definitions/PrintFinishedEventArgs"
10901
10939
  },
10940
+ "printing.print-prepared": {
10941
+ "description": "Raised when a print was prepared, but not yet started printing.",
10942
+ "enum": [
10943
+ "printing.print-prepared"
10944
+ ]
10945
+ },
10946
+ "printing.print-prepared:input": {
10947
+ "$ref": "#/definitions/PrintPreparedEventArgs"
10948
+ },
10949
+ "printing.print-preparing": {
10950
+ "description": "Raised before a print gets prepared.",
10951
+ "enum": [
10952
+ "printing.print-preparing"
10953
+ ]
10954
+ },
10955
+ "printing.print-preparing:input": {
10956
+ "$ref": "#/definitions/PrintPreparingEventArgs"
10957
+ },
10902
10958
  "printing.print-progress": {
10903
10959
  "description": "Raised while a print is running to provide updates on its status.",
10904
10960
  "enum": [
@@ -11204,6 +11260,12 @@
11204
11260
  {
11205
11261
  "$ref": "#/definitions/printing.print-finished"
11206
11262
  },
11263
+ {
11264
+ "$ref": "#/definitions/printing.print-prepared"
11265
+ },
11266
+ {
11267
+ "$ref": "#/definitions/printing.print-preparing"
11268
+ },
11207
11269
  {
11208
11270
  "$ref": "#/definitions/printing.print-progress"
11209
11271
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertigis/viewer-spec",
3
- "version": "58.11.0",
3
+ "version": "58.12.0",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "description": "VertiGIS Viewer Specification",
6
6
  "type": "module",
package/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export declare const version = "58.11.0";
4
+ export declare const version = "58.12.0";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * The current version of the VertiGIS Studio Viewer Specification.
3
3
  */
4
- export const version = "58.11.0";
4
+ export const version = "58.12.0";