spitfirepm 23.8940.4 → 23.8940.5

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,43 @@ declare global {
142
142
  expire: number;
143
143
  id: string;
144
144
  }
145
+ export interface iWebixApp {
146
+ attachEvent: {
147
+ (eventName: string, handler: Function): void;
148
+ };
149
+ blockEvent: {
150
+ (): void;
151
+ };
152
+ callEvent: {
153
+ eventName: string;
154
+ args: any[];
155
+ };
156
+ config: NVPair;
157
+ detachEvent: {
158
+ (eventName: string): void;
159
+ };
160
+ hasEvent: {
161
+ (eventName: string): boolean;
162
+ };
163
+ unblockEvent: {
164
+ (): void;
165
+ };
166
+ webixJet: boolean;
167
+ [key: string]: any;
168
+ }
145
169
  export interface iRouteHelperService {
146
- _appContext: object;
170
+ _appContext: iWebixApp;
147
171
  helpers: {
148
172
  OpenEmail: {
149
173
  (to: string, subject: string, cc?: string, body?: string): void;
150
174
  };
151
175
  GenerateMessage(what: string, type: iWebixMessageType): iWebixMessage;
176
+ isEmptyValue(value: any): boolean;
152
177
  };
153
178
  }
154
179
  export interface iPowerUXDocumentUI {
155
180
  ReallyReady: Promise<boolean>;
156
- app: object;
181
+ app: iWebixApp;
157
182
  docDesc: string;
158
183
  documentId: GUID;
159
184
  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.5";
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.5",
4
4
  "description": "Client API Tools for Spitfire Project Management",
5
5
  "main": "",
6
6
  "keywords": [