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 +39 -3
- package/dist/sfRESTClient.d.ts +1 -1
- package/dist/sfRESTClient.js +1 -1
- package/package.json +1 -1
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:
|
|
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:
|
|
192
|
+
app: iWebixApp;
|
|
157
193
|
docDesc: string;
|
|
158
194
|
documentId: GUID;
|
|
159
195
|
documentModel: iDocumentModelBase;
|
package/dist/sfRESTClient.d.ts
CHANGED
|
@@ -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.
|
|
241
|
+
(deltas: _SwaggerClientExports.IDocFieldChange[], isDone: true | iRaiseDocSaveFinished): Promise<NVPair>;
|
|
242
242
|
};
|
|
243
243
|
getExclusivityMode: {
|
|
244
244
|
(): number;
|
package/dist/sfRESTClient.js
CHANGED
|
@@ -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.
|
|
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) {
|