spitfirepm 23.8940.4 → 23.8940.6

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/dist/globals.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { BrowserExtensionChecker } from "./BrowserExtensionChecker";
2
- import { sfRestClient } from "./sfRESTClient";
2
+ import { NVPair, sfRestClient } from "./sfRESTClient";
3
3
  declare global {
4
4
  interface AfterDocumentSaved {
5
5
  (dtk: string, project: string): void;
@@ -142,18 +142,54 @@ declare global {
142
142
  expire: number;
143
143
  id: string;
144
144
  }
145
+ export interface iWebixConfirm {
146
+ title: string;
147
+ text: string;
148
+ type: "confirm-warning" | "confirm-error";
149
+ expire: number;
150
+ id: string;
151
+ ok: string;
152
+ cancel: string;
153
+ css: string;
154
+ }
155
+ export interface iWebixApp {
156
+ attachEvent: {
157
+ (eventName: string, handler: Function): void;
158
+ };
159
+ blockEvent: {
160
+ (): void;
161
+ };
162
+ callEvent: {
163
+ eventName: string;
164
+ args: any[];
165
+ };
166
+ config: NVPair;
167
+ detachEvent: {
168
+ (eventName: string): void;
169
+ };
170
+ hasEvent: {
171
+ (eventName: string): boolean;
172
+ };
173
+ unblockEvent: {
174
+ (): void;
175
+ };
176
+ webixJet: boolean;
177
+ [key: string]: any;
178
+ }
145
179
  export interface iRouteHelperService {
146
- _appContext: object;
180
+ _appContext: iWebixApp;
181
+ openDocument(dmk: GUID): Promise<Window>;
147
182
  helpers: {
148
183
  OpenEmail: {
149
184
  (to: string, subject: string, cc?: string, body?: string): void;
150
185
  };
151
186
  GenerateMessage(what: string, type: iWebixMessageType): iWebixMessage;
187
+ isEmptyValue(value: any): boolean;
152
188
  };
153
189
  }
154
190
  export interface iPowerUXDocumentUI {
155
191
  ReallyReady: Promise<boolean>;
156
- app: object;
192
+ app: iWebixApp;
157
193
  docDesc: string;
158
194
  documentId: GUID;
159
195
  documentModel: iDocumentModelBase;
@@ -238,7 +238,7 @@ export interface iDocumentModel extends iDocumentModelBase {
238
238
  CurrentRouteRow: _SwaggerClientExports.DocRoute;
239
239
  CurrentAttachments: _SwaggerClientExports.DocAttachment[];
240
240
  SaveDocumentPatch: {
241
- (deltas: _SwaggerClientExports.DocFieldChange[], isDone: true | iRaiseDocSaveFinished): Promise<NVPair>;
241
+ (deltas: _SwaggerClientExports.IDocFieldChange[], isDone: true | iRaiseDocSaveFinished): Promise<NVPair>;
242
242
  };
243
243
  getExclusivityMode: {
244
244
  (): number;
@@ -8,7 +8,7 @@ const BrowserExtensionChecker_1 = require("./BrowserExtensionChecker");
8
8
  const RESTClientBase = require("./APIClientBase"); // avoid conflict with same in SwaggerClient when loaded by classic UI
9
9
  const string_extensions_1 = require("./string.extensions");
10
10
  //import {dialog} from "jquery-ui";
11
- const ClientPackageVersion = "23.8940.4";
11
+ const ClientPackageVersion = "23.8940.6";
12
12
  // originally modified for typescript and linter requirements by Uladzislau Kumakou of XB Software
13
13
  var LoggingLevels;
14
14
  (function (LoggingLevels) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spitfirepm",
3
- "version": "23.8940.4",
3
+ "version": "23.8940.6",
4
4
  "description": "Client API Tools for Spitfire Project Management",
5
5
  "main": "",
6
6
  "keywords": [