@openfin/core 38.82.54 → 38.82.56
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/out/mock-alpha.d.ts +7 -0
- package/out/mock-beta.d.ts +7 -0
- package/out/mock-public.d.ts +7 -0
- package/out/mock.d.ts +7 -0
- package/out/mock.js +4 -0
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
@@ -1279,6 +1279,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1279
1279
|
* When set to `true`, any `beforeunload` handler set on the app will fire.
|
1280
1280
|
*/
|
1281
1281
|
enableBeforeUnload: boolean;
|
1282
|
+
/**
|
1283
|
+
* Set the timezone for the app logs. When setting this value the timestamp will be in ISO 8601 format. By default, if no value is set, it will show the local time in this format: 'y-MM-dd HH:mm:ss.SSS'
|
1284
|
+
*/
|
1285
|
+
appLogsTimezone: TimeZones;
|
1282
1286
|
};
|
1283
1287
|
|
1284
1288
|
/**
|
@@ -8997,6 +9001,7 @@ declare namespace OpenFin_2 {
|
|
8997
9001
|
WindowBounds,
|
8998
9002
|
Rectangle,
|
8999
9003
|
ApplicationCreationOptions,
|
9004
|
+
TimeZones,
|
9000
9005
|
ApplicationOptions,
|
9001
9006
|
CustomProtocolMissingState,
|
9002
9007
|
CustomProtocolMalformedState,
|
@@ -14298,6 +14303,8 @@ declare type Time = {
|
|
14298
14303
|
irq: number;
|
14299
14304
|
};
|
14300
14305
|
|
14306
|
+
declare type TimeZones = 'utc' | 'local';
|
14307
|
+
|
14301
14308
|
/**
|
14302
14309
|
* @interface
|
14303
14310
|
*/
|
package/out/mock-beta.d.ts
CHANGED
@@ -1279,6 +1279,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1279
1279
|
* When set to `true`, any `beforeunload` handler set on the app will fire.
|
1280
1280
|
*/
|
1281
1281
|
enableBeforeUnload: boolean;
|
1282
|
+
/**
|
1283
|
+
* Set the timezone for the app logs. When setting this value the timestamp will be in ISO 8601 format. By default, if no value is set, it will show the local time in this format: 'y-MM-dd HH:mm:ss.SSS'
|
1284
|
+
*/
|
1285
|
+
appLogsTimezone: TimeZones;
|
1282
1286
|
};
|
1283
1287
|
|
1284
1288
|
/**
|
@@ -8997,6 +9001,7 @@ declare namespace OpenFin_2 {
|
|
8997
9001
|
WindowBounds,
|
8998
9002
|
Rectangle,
|
8999
9003
|
ApplicationCreationOptions,
|
9004
|
+
TimeZones,
|
9000
9005
|
ApplicationOptions,
|
9001
9006
|
CustomProtocolMissingState,
|
9002
9007
|
CustomProtocolMalformedState,
|
@@ -14298,6 +14303,8 @@ declare type Time = {
|
|
14298
14303
|
irq: number;
|
14299
14304
|
};
|
14300
14305
|
|
14306
|
+
declare type TimeZones = 'utc' | 'local';
|
14307
|
+
|
14301
14308
|
/**
|
14302
14309
|
* @interface
|
14303
14310
|
*/
|
package/out/mock-public.d.ts
CHANGED
@@ -1279,6 +1279,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1279
1279
|
* When set to `true`, any `beforeunload` handler set on the app will fire.
|
1280
1280
|
*/
|
1281
1281
|
enableBeforeUnload: boolean;
|
1282
|
+
/**
|
1283
|
+
* Set the timezone for the app logs. When setting this value the timestamp will be in ISO 8601 format. By default, if no value is set, it will show the local time in this format: 'y-MM-dd HH:mm:ss.SSS'
|
1284
|
+
*/
|
1285
|
+
appLogsTimezone: TimeZones;
|
1282
1286
|
};
|
1283
1287
|
|
1284
1288
|
/**
|
@@ -8997,6 +9001,7 @@ declare namespace OpenFin_2 {
|
|
8997
9001
|
WindowBounds,
|
8998
9002
|
Rectangle,
|
8999
9003
|
ApplicationCreationOptions,
|
9004
|
+
TimeZones,
|
9000
9005
|
ApplicationOptions,
|
9001
9006
|
CustomProtocolMissingState,
|
9002
9007
|
CustomProtocolMalformedState,
|
@@ -14298,6 +14303,8 @@ declare type Time = {
|
|
14298
14303
|
irq: number;
|
14299
14304
|
};
|
14300
14305
|
|
14306
|
+
declare type TimeZones = 'utc' | 'local';
|
14307
|
+
|
14301
14308
|
/**
|
14302
14309
|
* @interface
|
14303
14310
|
*/
|
package/out/mock.d.ts
CHANGED
@@ -1285,6 +1285,10 @@ declare type ApplicationOptions = LegacyWinOptionsInAppOptions & {
|
|
1285
1285
|
* When set to `true`, any `beforeunload` handler set on the app will fire.
|
1286
1286
|
*/
|
1287
1287
|
enableBeforeUnload: boolean;
|
1288
|
+
/**
|
1289
|
+
* Set the timezone for the app logs. When setting this value the timestamp will be in ISO 8601 format. By default, if no value is set, it will show the local time in this format: 'y-MM-dd HH:mm:ss.SSS'
|
1290
|
+
*/
|
1291
|
+
appLogsTimezone: TimeZones;
|
1288
1292
|
};
|
1289
1293
|
|
1290
1294
|
/**
|
@@ -9312,6 +9316,7 @@ declare namespace OpenFin_2 {
|
|
9312
9316
|
WindowBounds,
|
9313
9317
|
Rectangle,
|
9314
9318
|
ApplicationCreationOptions,
|
9319
|
+
TimeZones,
|
9315
9320
|
ApplicationOptions,
|
9316
9321
|
CustomProtocolMissingState,
|
9317
9322
|
CustomProtocolMalformedState,
|
@@ -14704,6 +14709,8 @@ declare type Time = {
|
|
14704
14709
|
irq: number;
|
14705
14710
|
};
|
14706
14711
|
|
14712
|
+
declare type TimeZones = 'utc' | 'local';
|
14713
|
+
|
14707
14714
|
/**
|
14708
14715
|
* @interface
|
14709
14716
|
*/
|
package/out/mock.js
CHANGED
@@ -12154,6 +12154,10 @@ class LayoutModule extends base_1$4.Base {
|
|
12154
12154
|
if (__classPrivateFieldGet$3(this, _LayoutModule_layoutInitializationAttempted, "f")) {
|
12155
12155
|
throw new Error('Layout.init was already called, please use Layout.create to add additional layouts.');
|
12156
12156
|
}
|
12157
|
+
if (this.wire.environment.type === 'openfin') {
|
12158
|
+
// preload the client
|
12159
|
+
await this.fin.Platform.getCurrentSync().getClient();
|
12160
|
+
}
|
12157
12161
|
__classPrivateFieldSet$3(this, _LayoutModule_layoutInitializationAttempted, true, "f");
|
12158
12162
|
// TODO: rename to createLayoutManager
|
12159
12163
|
__classPrivateFieldSet$3(this, _LayoutModule_layoutManager, await this.wire.environment.initLayoutManager(this.fin, this.wire, options), "f");
|