spitfirepm 1.20.91 → 1.20.95
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/SwaggerClients.d.ts +3259 -3231
- package/dist/SwaggerClients.js +6437 -6148
- package/dist/SwaggerClients.js.map +1 -1
- package/dist/globals.d.ts +5 -0
- package/dist/sfRESTClient.d.ts +30 -9
- package/dist/sfRESTClient.js +276 -55
- package/dist/sfRESTClient.js.map +1 -1
- package/dist/string.extensions.d.ts +2 -0
- package/dist/string.extensions.js +9 -2
- package/dist/string.extensions.js.map +1 -1
- package/package.json +1 -1
package/dist/globals.d.ts
CHANGED
|
@@ -31,6 +31,9 @@ declare global {
|
|
|
31
31
|
interface RefreshPageParts {
|
|
32
32
|
(eventTarget: string, eventArg: string): void;
|
|
33
33
|
}
|
|
34
|
+
interface StringThenBooleanPromise {
|
|
35
|
+
(stringValue: string): Promise<boolean>;
|
|
36
|
+
}
|
|
34
37
|
interface SimpleBooleanPromise {
|
|
35
38
|
(): Promise<boolean>;
|
|
36
39
|
}
|
|
@@ -61,6 +64,7 @@ declare global {
|
|
|
61
64
|
};
|
|
62
65
|
};
|
|
63
66
|
server: {
|
|
67
|
+
activateExchangeToken: StringThenBooleanPromise;
|
|
64
68
|
dashboardHeartbeat: HeartbeatMonitor;
|
|
65
69
|
dashboardOpenLink: DashboardOpenLink;
|
|
66
70
|
sessionAlive: SimpleBooleanPromise;
|
|
@@ -76,6 +80,7 @@ declare global {
|
|
|
76
80
|
WindowHasFocus: boolean;
|
|
77
81
|
clearHomeTabCount: any;
|
|
78
82
|
DocumentChangedByAnotherUser: DocumentChangedByAnotherUser;
|
|
83
|
+
PostbackRefresh: RefreshPageParts;
|
|
79
84
|
refreshPartbyName: RefreshPartbyName;
|
|
80
85
|
refreshPageParts: RefreshPageParts;
|
|
81
86
|
}
|
package/dist/sfRESTClient.d.ts
CHANGED
|
@@ -101,6 +101,10 @@ export declare class WCCData {
|
|
|
101
101
|
export declare class DataModelRow {
|
|
102
102
|
[key: string]: any;
|
|
103
103
|
}
|
|
104
|
+
export declare class InvokeOptions {
|
|
105
|
+
ByTask: boolean | undefined;
|
|
106
|
+
ByAcct: boolean | undefined;
|
|
107
|
+
}
|
|
104
108
|
export declare class DataModelCollection {
|
|
105
109
|
[key: string]: any;
|
|
106
110
|
}
|
|
@@ -255,12 +259,19 @@ export declare class sfRestClient {
|
|
|
255
259
|
*
|
|
256
260
|
*/
|
|
257
261
|
PopQAInfo(forElement: JQuery<HTMLElement>, queryOptions?: QAInfoOptions, resolveKey?: (forElement: JQuery<HTMLElement>) => string, resolveValue?: (forElement: JQuery<HTMLElement>, queryOptions: QAInfoOptions) => string, onPostback?: (eventTarget: string, eventArgs: string) => void): JQuery<HTMLElement>;
|
|
262
|
+
private AdjustFluidDialog;
|
|
263
|
+
UpdateFluidDialogs(): void;
|
|
264
|
+
AutoSizeDialog($D: JQuery<HTMLElement>): JQuery<HTMLElement>;
|
|
258
265
|
/** checks with server up to 5 times a second. promise resolves when task has ended or callback returns true;
|
|
259
266
|
* @param taskKey guid key for task
|
|
260
267
|
* @param sessionClient optional existing SessionClient
|
|
261
268
|
* @param progressCallback optional callback for when task status is not 200; if this callback returns true, promise is resolved
|
|
262
269
|
*/
|
|
263
270
|
WaitForTask(taskKey: GUID, sessionClient?: SessionClient, progressCallback?: (state: _SwaggerClientExports.HttpResponseJsonContent) => boolean): Promise<_SwaggerClientExports.HttpResponseJsonContent>;
|
|
271
|
+
ExportCompetitiveBidData(): void;
|
|
272
|
+
static $CurrentPleaseWaitDialog: JQuery<HTMLDivElement> | null;
|
|
273
|
+
HeyPleaseWait(): JQuery<HTMLDivElement>;
|
|
274
|
+
ClearPleaseWaitDialog(): void;
|
|
264
275
|
/**
|
|
265
276
|
* Maps .NET placeholders (dn) to webix placeholders (dx)
|
|
266
277
|
* Important: order matters (eg: dd must be remapped before d, or the d map would be used)
|
|
@@ -437,21 +448,29 @@ export declare class sfRestClient {
|
|
|
437
448
|
*
|
|
438
449
|
* Actions Supported
|
|
439
450
|
* - vPgPopup(...)
|
|
440
|
-
* - PopDoc(...)
|
|
441
|
-
* - PopTXHistory(...)
|
|
451
|
+
* - PopDoc(...) and PopNewDoc
|
|
452
|
+
* - PopTXHistory(...) and PopBFAHistory()
|
|
442
453
|
* - Nav To (dcmodules and admin tools)
|
|
443
454
|
*/
|
|
444
|
-
InvokeAction(actionString: string | _SwaggerClientExports.MenuAction, rowData?: DataModelRow): void;
|
|
455
|
+
InvokeAction(actionString: string | _SwaggerClientExports.MenuAction, rowData?: DataModelRow, options?: InvokeOptions): void;
|
|
456
|
+
/** Creates an exchange token and calls OpenWindowsLinkHelper() */
|
|
445
457
|
FollowLinkViaSFLink(targetURL: string, afterOpenArg?: boolean | string | [string, string] | Function, autoCloseDoc?: boolean): void;
|
|
446
458
|
/**
|
|
447
459
|
*
|
|
448
460
|
* @param et token passed to sfLink
|
|
449
|
-
* @param afterOpenArg boolean/true: closes document page; false/0: posts back default refresh; ['e','a']: posts back e with a;
|
|
461
|
+
* @param afterOpenArg boolean/true: closes document page; false/0: posts back default refresh; ['e','a']: posts back e with a; callback function is passed et
|
|
450
462
|
* @param autoCloseDoc
|
|
451
463
|
*/
|
|
452
464
|
OpenWindowsLinkHelper(et: string, afterOpenArg?: boolean | string | [string, string] | Function, autoCloseDoc?: boolean): void;
|
|
453
|
-
/** Finds $$ and other replacable values
|
|
465
|
+
/** Finds $$ markers and other replacable values.
|
|
466
|
+
* Markers are case sensative
|
|
467
|
+
*/
|
|
454
468
|
protected ExpandActionMarkers(rawAction: string, rowData?: DataModelRow): string;
|
|
469
|
+
/** given a mark name, returns the replacement value
|
|
470
|
+
* @see ExpandActionMarkers()
|
|
471
|
+
* @argument markerName such as $$Project or $$PDSKEY
|
|
472
|
+
* @argument rowData object containing row data - first source for value to replace the marker
|
|
473
|
+
*/
|
|
455
474
|
protected GetActionMarkerReplacement(markerName: string, rowData?: DataModelRow): string;
|
|
456
475
|
protected getCookie(cname: string): string;
|
|
457
476
|
/**
|
|
@@ -485,13 +504,15 @@ export declare class sfRestClient {
|
|
|
485
504
|
* @param defaultResponse
|
|
486
505
|
*/
|
|
487
506
|
VModalPage(vpg: string, opts: string, w: number, h: number, defaultResponse: string | undefined): void;
|
|
488
|
-
static
|
|
507
|
+
private static GALastPageHitSent;
|
|
489
508
|
static GAMonitorSendFailed: boolean;
|
|
490
509
|
private GAMonitorPageHit;
|
|
491
510
|
private GAMonitorSend;
|
|
492
511
|
GAMonitorEvent(propertyID: string, clientID: string, category: string, action: string, label: string, value: number): JQuery.Promise<any, any, any>;
|
|
493
|
-
|
|
494
|
-
|
|
512
|
+
/** Google Analytics Event */
|
|
513
|
+
GAEvent(category: string, action: string, label: string, value: number): void;
|
|
514
|
+
/** Shortcut that calls GAEvent("dialog",action, dialogName,1) */
|
|
515
|
+
GADialogEvent(action: string, dialogName: string): void;
|
|
495
516
|
private ValueHasWildcard;
|
|
496
517
|
private sfClearACHeighLimit;
|
|
497
518
|
/**
|
|
@@ -515,7 +536,7 @@ export declare class sfRestClient {
|
|
|
515
536
|
* @argument title optional title
|
|
516
537
|
* @argument uiAlertIcon if specified, and not false, ui-icon class name (see https://api.jqueryui.com/theming/icons/)
|
|
517
538
|
*/
|
|
518
|
-
jqAlert(msg: string, title?: string, uiAlertIcon?: string): JQuery<
|
|
539
|
+
jqAlert(msg: string, title?: string, uiAlertIcon?: string): JQuery<HTMLDivElement>;
|
|
519
540
|
/** Opens a jquery ui dialog with an iframe to display the requested url
|
|
520
541
|
* @param url a same-site url
|
|
521
542
|
* @param eventId optional - used when dialog is closed
|