@openfin/core 38.81.34 → 38.81.37
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/fdc3.d.ts +1964 -0
- package/out/mock-alpha.d.ts +22 -107
- package/out/mock-beta.d.ts +22 -107
- package/out/mock-public.d.ts +22 -107
- package/out/mock.d.ts +22 -107
- package/out/mock.js +10 -7
- package/package.json +7 -3
package/out/mock-alpha.d.ts
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
|
3
3
|
import { EventEmitter } from 'events';
|
4
|
+
import { v1_2 } from '@openfin/fdc3';
|
5
|
+
import { v2_0 } from '@openfin/fdc3';
|
6
|
+
import { Version } from '@openfin/fdc3';
|
4
7
|
|
5
8
|
/**
|
6
9
|
* Enable keyboard shortcuts for devtools, zoom, reload, and reload ignoring cache.
|
@@ -5616,6 +5619,13 @@ declare type GpuInfo = {
|
|
5616
5619
|
|
5617
5620
|
/**
|
5618
5621
|
* Generated when a View is hidden.
|
5622
|
+
*
|
5623
|
+
* @remarks
|
5624
|
+
* An OpenFin View's `hidden` event is only emitted when a specific View API is called.
|
5625
|
+
* This event can fire when calling:
|
5626
|
+
*
|
5627
|
+
* * `view.hide()` - If a View is previously shown, a `hidden` event will be fired.
|
5628
|
+
*
|
5619
5629
|
* @interface
|
5620
5630
|
*/
|
5621
5631
|
declare type HiddenEvent = BaseEvent_4 & {
|
@@ -12222,7 +12232,18 @@ declare type ShowAllDownloadsEvent = BaseEvent_5 & {
|
|
12222
12232
|
};
|
12223
12233
|
|
12224
12234
|
/**
|
12225
|
-
* Generated when a View is shown.
|
12235
|
+
* Generated when a View is shown.
|
12236
|
+
*
|
12237
|
+
* @remarks
|
12238
|
+
* An OpenFin View's `shown` event is only emitted when specific View APIs are called.
|
12239
|
+
* This event can fire when calling:
|
12240
|
+
*
|
12241
|
+
* * `view.show()` or `view.showAt()` - If a View is previously hidden, a `shown` event will be fired.
|
12242
|
+
*
|
12243
|
+
* * `view.attach()` - If a View is hidden and attached to a new Window, it will be shown and the `shown` event will be fired.
|
12244
|
+
*
|
12245
|
+
* * `view.create()` - A View `shown` event will be fired. (Internally the `attach` method is called when calling the `create` method, which fires the `shown` event.)
|
12246
|
+
*
|
12226
12247
|
* @interface
|
12227
12248
|
*/
|
12228
12249
|
declare type ShownEvent = BaseEvent_4 & {
|
@@ -14440,117 +14461,11 @@ declare type UserMovementEnabledEvent = BaseEvent_5 & {
|
|
14440
14461
|
type: 'user-movement-enabled';
|
14441
14462
|
};
|
14442
14463
|
|
14443
|
-
declare namespace v1_2 {
|
14444
|
-
{
|
14445
|
-
AppIntent,
|
14446
|
-
AppMetadata,
|
14447
|
-
DisplayMetadata,
|
14448
|
-
OpenError,
|
14449
|
-
ResolveError,
|
14450
|
-
ChannelError,
|
14451
|
-
ImplementationMetadata,
|
14452
|
-
IntentMetadata,
|
14453
|
-
Listener,
|
14454
|
-
ContextTypes,
|
14455
|
-
ContextType,
|
14456
|
-
Context,
|
14457
|
-
ContactList,
|
14458
|
-
Contact,
|
14459
|
-
ContactID,
|
14460
|
-
InstrumentList,
|
14461
|
-
Instrument,
|
14462
|
-
InstrumentID,
|
14463
|
-
Country,
|
14464
|
-
CountryID,
|
14465
|
-
Organization,
|
14466
|
-
OrganizationID,
|
14467
|
-
Portfolio,
|
14468
|
-
Position,
|
14469
|
-
Convert,
|
14470
|
-
Intents,
|
14471
|
-
Channel,
|
14472
|
-
DesktopAgent,
|
14473
|
-
IntentResolution,
|
14474
|
-
TargetApp,
|
14475
|
-
ContextHandler
|
14476
|
-
}
|
14477
|
-
}
|
14478
|
-
|
14479
|
-
declare namespace v2_0 {
|
14480
|
-
{
|
14481
|
-
AppIdentifier,
|
14482
|
-
AppIntent_2 as AppIntent,
|
14483
|
-
AppMetadata_2 as AppMetadata,
|
14484
|
-
ContextMetadata,
|
14485
|
-
DisplayMetadata_2 as DisplayMetadata,
|
14486
|
-
OpenError_2 as OpenError,
|
14487
|
-
ResolveError_2 as ResolveError,
|
14488
|
-
ResultError,
|
14489
|
-
ChannelError_2 as ChannelError,
|
14490
|
-
Icon,
|
14491
|
-
Image_2 as Image,
|
14492
|
-
ImplementationMetadata_2 as ImplementationMetadata,
|
14493
|
-
IntentMetadata_2 as IntentMetadata,
|
14494
|
-
Listener_2 as Listener,
|
14495
|
-
ContextTypes_2 as ContextTypes,
|
14496
|
-
ContextType_2 as ContextType,
|
14497
|
-
Chart,
|
14498
|
-
InstrumentElement,
|
14499
|
-
PurpleID,
|
14500
|
-
PurpleMarket,
|
14501
|
-
TimeRangeObject,
|
14502
|
-
Style,
|
14503
|
-
ChatInitSettings,
|
14504
|
-
ContactListObject,
|
14505
|
-
ContactElement,
|
14506
|
-
FluffyID,
|
14507
|
-
Contact_2 as Contact,
|
14508
|
-
TentacledID,
|
14509
|
-
ContactList_2 as ContactList,
|
14510
|
-
Context_2 as Context,
|
14511
|
-
Country_2 as Country,
|
14512
|
-
CountryID_2 as CountryID,
|
14513
|
-
Currency,
|
14514
|
-
CurrencyID,
|
14515
|
-
Email,
|
14516
|
-
RecipientsObject,
|
14517
|
-
RecipientsID,
|
14518
|
-
Instrument_2 as Instrument,
|
14519
|
-
StickyID,
|
14520
|
-
FluffyMarket,
|
14521
|
-
InstrumentList_2 as InstrumentList,
|
14522
|
-
Nothing,
|
14523
|
-
Organization_2 as Organization,
|
14524
|
-
OrganizationID_2 as OrganizationID,
|
14525
|
-
Portfolio_2 as Portfolio,
|
14526
|
-
PositionElement,
|
14527
|
-
Position_2 as Position,
|
14528
|
-
TimeRange,
|
14529
|
-
Valuation,
|
14530
|
-
Convert_2 as Convert,
|
14531
|
-
Intents_2 as Intents,
|
14532
|
-
Channel_2 as Channel,
|
14533
|
-
DesktopAgent_2 as DesktopAgent,
|
14534
|
-
IntentResolution_2 as IntentResolution,
|
14535
|
-
PrivateChannel,
|
14536
|
-
ContextHandler_2 as ContextHandler,
|
14537
|
-
IntentResult,
|
14538
|
-
IntentHandler
|
14539
|
-
}
|
14540
|
-
}
|
14541
|
-
|
14542
14464
|
declare type VerboseWebPermission = {
|
14543
14465
|
api: string;
|
14544
14466
|
enabled: boolean;
|
14545
14467
|
};
|
14546
14468
|
|
14547
|
-
declare type Version = (typeof versions)[keyof typeof versions];
|
14548
|
-
|
14549
|
-
declare const versions: {
|
14550
|
-
readonly v1_2: "1.2";
|
14551
|
-
readonly v2_0: "2.0";
|
14552
|
-
};
|
14553
|
-
|
14554
14469
|
declare type View = OpenFin_2.View;
|
14555
14470
|
|
14556
14471
|
/**
|
package/out/mock-beta.d.ts
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
|
3
3
|
import { EventEmitter } from 'events';
|
4
|
+
import { v1_2 } from '@openfin/fdc3';
|
5
|
+
import { v2_0 } from '@openfin/fdc3';
|
6
|
+
import { Version } from '@openfin/fdc3';
|
4
7
|
|
5
8
|
/**
|
6
9
|
* Enable keyboard shortcuts for devtools, zoom, reload, and reload ignoring cache.
|
@@ -5616,6 +5619,13 @@ declare type GpuInfo = {
|
|
5616
5619
|
|
5617
5620
|
/**
|
5618
5621
|
* Generated when a View is hidden.
|
5622
|
+
*
|
5623
|
+
* @remarks
|
5624
|
+
* An OpenFin View's `hidden` event is only emitted when a specific View API is called.
|
5625
|
+
* This event can fire when calling:
|
5626
|
+
*
|
5627
|
+
* * `view.hide()` - If a View is previously shown, a `hidden` event will be fired.
|
5628
|
+
*
|
5619
5629
|
* @interface
|
5620
5630
|
*/
|
5621
5631
|
declare type HiddenEvent = BaseEvent_4 & {
|
@@ -12222,7 +12232,18 @@ declare type ShowAllDownloadsEvent = BaseEvent_5 & {
|
|
12222
12232
|
};
|
12223
12233
|
|
12224
12234
|
/**
|
12225
|
-
* Generated when a View is shown.
|
12235
|
+
* Generated when a View is shown.
|
12236
|
+
*
|
12237
|
+
* @remarks
|
12238
|
+
* An OpenFin View's `shown` event is only emitted when specific View APIs are called.
|
12239
|
+
* This event can fire when calling:
|
12240
|
+
*
|
12241
|
+
* * `view.show()` or `view.showAt()` - If a View is previously hidden, a `shown` event will be fired.
|
12242
|
+
*
|
12243
|
+
* * `view.attach()` - If a View is hidden and attached to a new Window, it will be shown and the `shown` event will be fired.
|
12244
|
+
*
|
12245
|
+
* * `view.create()` - A View `shown` event will be fired. (Internally the `attach` method is called when calling the `create` method, which fires the `shown` event.)
|
12246
|
+
*
|
12226
12247
|
* @interface
|
12227
12248
|
*/
|
12228
12249
|
declare type ShownEvent = BaseEvent_4 & {
|
@@ -14440,117 +14461,11 @@ declare type UserMovementEnabledEvent = BaseEvent_5 & {
|
|
14440
14461
|
type: 'user-movement-enabled';
|
14441
14462
|
};
|
14442
14463
|
|
14443
|
-
declare namespace v1_2 {
|
14444
|
-
{
|
14445
|
-
AppIntent,
|
14446
|
-
AppMetadata,
|
14447
|
-
DisplayMetadata,
|
14448
|
-
OpenError,
|
14449
|
-
ResolveError,
|
14450
|
-
ChannelError,
|
14451
|
-
ImplementationMetadata,
|
14452
|
-
IntentMetadata,
|
14453
|
-
Listener,
|
14454
|
-
ContextTypes,
|
14455
|
-
ContextType,
|
14456
|
-
Context,
|
14457
|
-
ContactList,
|
14458
|
-
Contact,
|
14459
|
-
ContactID,
|
14460
|
-
InstrumentList,
|
14461
|
-
Instrument,
|
14462
|
-
InstrumentID,
|
14463
|
-
Country,
|
14464
|
-
CountryID,
|
14465
|
-
Organization,
|
14466
|
-
OrganizationID,
|
14467
|
-
Portfolio,
|
14468
|
-
Position,
|
14469
|
-
Convert,
|
14470
|
-
Intents,
|
14471
|
-
Channel,
|
14472
|
-
DesktopAgent,
|
14473
|
-
IntentResolution,
|
14474
|
-
TargetApp,
|
14475
|
-
ContextHandler
|
14476
|
-
}
|
14477
|
-
}
|
14478
|
-
|
14479
|
-
declare namespace v2_0 {
|
14480
|
-
{
|
14481
|
-
AppIdentifier,
|
14482
|
-
AppIntent_2 as AppIntent,
|
14483
|
-
AppMetadata_2 as AppMetadata,
|
14484
|
-
ContextMetadata,
|
14485
|
-
DisplayMetadata_2 as DisplayMetadata,
|
14486
|
-
OpenError_2 as OpenError,
|
14487
|
-
ResolveError_2 as ResolveError,
|
14488
|
-
ResultError,
|
14489
|
-
ChannelError_2 as ChannelError,
|
14490
|
-
Icon,
|
14491
|
-
Image_2 as Image,
|
14492
|
-
ImplementationMetadata_2 as ImplementationMetadata,
|
14493
|
-
IntentMetadata_2 as IntentMetadata,
|
14494
|
-
Listener_2 as Listener,
|
14495
|
-
ContextTypes_2 as ContextTypes,
|
14496
|
-
ContextType_2 as ContextType,
|
14497
|
-
Chart,
|
14498
|
-
InstrumentElement,
|
14499
|
-
PurpleID,
|
14500
|
-
PurpleMarket,
|
14501
|
-
TimeRangeObject,
|
14502
|
-
Style,
|
14503
|
-
ChatInitSettings,
|
14504
|
-
ContactListObject,
|
14505
|
-
ContactElement,
|
14506
|
-
FluffyID,
|
14507
|
-
Contact_2 as Contact,
|
14508
|
-
TentacledID,
|
14509
|
-
ContactList_2 as ContactList,
|
14510
|
-
Context_2 as Context,
|
14511
|
-
Country_2 as Country,
|
14512
|
-
CountryID_2 as CountryID,
|
14513
|
-
Currency,
|
14514
|
-
CurrencyID,
|
14515
|
-
Email,
|
14516
|
-
RecipientsObject,
|
14517
|
-
RecipientsID,
|
14518
|
-
Instrument_2 as Instrument,
|
14519
|
-
StickyID,
|
14520
|
-
FluffyMarket,
|
14521
|
-
InstrumentList_2 as InstrumentList,
|
14522
|
-
Nothing,
|
14523
|
-
Organization_2 as Organization,
|
14524
|
-
OrganizationID_2 as OrganizationID,
|
14525
|
-
Portfolio_2 as Portfolio,
|
14526
|
-
PositionElement,
|
14527
|
-
Position_2 as Position,
|
14528
|
-
TimeRange,
|
14529
|
-
Valuation,
|
14530
|
-
Convert_2 as Convert,
|
14531
|
-
Intents_2 as Intents,
|
14532
|
-
Channel_2 as Channel,
|
14533
|
-
DesktopAgent_2 as DesktopAgent,
|
14534
|
-
IntentResolution_2 as IntentResolution,
|
14535
|
-
PrivateChannel,
|
14536
|
-
ContextHandler_2 as ContextHandler,
|
14537
|
-
IntentResult,
|
14538
|
-
IntentHandler
|
14539
|
-
}
|
14540
|
-
}
|
14541
|
-
|
14542
14464
|
declare type VerboseWebPermission = {
|
14543
14465
|
api: string;
|
14544
14466
|
enabled: boolean;
|
14545
14467
|
};
|
14546
14468
|
|
14547
|
-
declare type Version = (typeof versions)[keyof typeof versions];
|
14548
|
-
|
14549
|
-
declare const versions: {
|
14550
|
-
readonly v1_2: "1.2";
|
14551
|
-
readonly v2_0: "2.0";
|
14552
|
-
};
|
14553
|
-
|
14554
14469
|
declare type View = OpenFin_2.View;
|
14555
14470
|
|
14556
14471
|
/**
|
package/out/mock-public.d.ts
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
|
3
3
|
import { EventEmitter } from 'events';
|
4
|
+
import { v1_2 } from '@openfin/fdc3';
|
5
|
+
import { v2_0 } from '@openfin/fdc3';
|
6
|
+
import { Version } from '@openfin/fdc3';
|
4
7
|
|
5
8
|
/**
|
6
9
|
* Enable keyboard shortcuts for devtools, zoom, reload, and reload ignoring cache.
|
@@ -5616,6 +5619,13 @@ declare type GpuInfo = {
|
|
5616
5619
|
|
5617
5620
|
/**
|
5618
5621
|
* Generated when a View is hidden.
|
5622
|
+
*
|
5623
|
+
* @remarks
|
5624
|
+
* An OpenFin View's `hidden` event is only emitted when a specific View API is called.
|
5625
|
+
* This event can fire when calling:
|
5626
|
+
*
|
5627
|
+
* * `view.hide()` - If a View is previously shown, a `hidden` event will be fired.
|
5628
|
+
*
|
5619
5629
|
* @interface
|
5620
5630
|
*/
|
5621
5631
|
declare type HiddenEvent = BaseEvent_4 & {
|
@@ -12222,7 +12232,18 @@ declare type ShowAllDownloadsEvent = BaseEvent_5 & {
|
|
12222
12232
|
};
|
12223
12233
|
|
12224
12234
|
/**
|
12225
|
-
* Generated when a View is shown.
|
12235
|
+
* Generated when a View is shown.
|
12236
|
+
*
|
12237
|
+
* @remarks
|
12238
|
+
* An OpenFin View's `shown` event is only emitted when specific View APIs are called.
|
12239
|
+
* This event can fire when calling:
|
12240
|
+
*
|
12241
|
+
* * `view.show()` or `view.showAt()` - If a View is previously hidden, a `shown` event will be fired.
|
12242
|
+
*
|
12243
|
+
* * `view.attach()` - If a View is hidden and attached to a new Window, it will be shown and the `shown` event will be fired.
|
12244
|
+
*
|
12245
|
+
* * `view.create()` - A View `shown` event will be fired. (Internally the `attach` method is called when calling the `create` method, which fires the `shown` event.)
|
12246
|
+
*
|
12226
12247
|
* @interface
|
12227
12248
|
*/
|
12228
12249
|
declare type ShownEvent = BaseEvent_4 & {
|
@@ -14440,117 +14461,11 @@ declare type UserMovementEnabledEvent = BaseEvent_5 & {
|
|
14440
14461
|
type: 'user-movement-enabled';
|
14441
14462
|
};
|
14442
14463
|
|
14443
|
-
declare namespace v1_2 {
|
14444
|
-
{
|
14445
|
-
AppIntent,
|
14446
|
-
AppMetadata,
|
14447
|
-
DisplayMetadata,
|
14448
|
-
OpenError,
|
14449
|
-
ResolveError,
|
14450
|
-
ChannelError,
|
14451
|
-
ImplementationMetadata,
|
14452
|
-
IntentMetadata,
|
14453
|
-
Listener,
|
14454
|
-
ContextTypes,
|
14455
|
-
ContextType,
|
14456
|
-
Context,
|
14457
|
-
ContactList,
|
14458
|
-
Contact,
|
14459
|
-
ContactID,
|
14460
|
-
InstrumentList,
|
14461
|
-
Instrument,
|
14462
|
-
InstrumentID,
|
14463
|
-
Country,
|
14464
|
-
CountryID,
|
14465
|
-
Organization,
|
14466
|
-
OrganizationID,
|
14467
|
-
Portfolio,
|
14468
|
-
Position,
|
14469
|
-
Convert,
|
14470
|
-
Intents,
|
14471
|
-
Channel,
|
14472
|
-
DesktopAgent,
|
14473
|
-
IntentResolution,
|
14474
|
-
TargetApp,
|
14475
|
-
ContextHandler
|
14476
|
-
}
|
14477
|
-
}
|
14478
|
-
|
14479
|
-
declare namespace v2_0 {
|
14480
|
-
{
|
14481
|
-
AppIdentifier,
|
14482
|
-
AppIntent_2 as AppIntent,
|
14483
|
-
AppMetadata_2 as AppMetadata,
|
14484
|
-
ContextMetadata,
|
14485
|
-
DisplayMetadata_2 as DisplayMetadata,
|
14486
|
-
OpenError_2 as OpenError,
|
14487
|
-
ResolveError_2 as ResolveError,
|
14488
|
-
ResultError,
|
14489
|
-
ChannelError_2 as ChannelError,
|
14490
|
-
Icon,
|
14491
|
-
Image_2 as Image,
|
14492
|
-
ImplementationMetadata_2 as ImplementationMetadata,
|
14493
|
-
IntentMetadata_2 as IntentMetadata,
|
14494
|
-
Listener_2 as Listener,
|
14495
|
-
ContextTypes_2 as ContextTypes,
|
14496
|
-
ContextType_2 as ContextType,
|
14497
|
-
Chart,
|
14498
|
-
InstrumentElement,
|
14499
|
-
PurpleID,
|
14500
|
-
PurpleMarket,
|
14501
|
-
TimeRangeObject,
|
14502
|
-
Style,
|
14503
|
-
ChatInitSettings,
|
14504
|
-
ContactListObject,
|
14505
|
-
ContactElement,
|
14506
|
-
FluffyID,
|
14507
|
-
Contact_2 as Contact,
|
14508
|
-
TentacledID,
|
14509
|
-
ContactList_2 as ContactList,
|
14510
|
-
Context_2 as Context,
|
14511
|
-
Country_2 as Country,
|
14512
|
-
CountryID_2 as CountryID,
|
14513
|
-
Currency,
|
14514
|
-
CurrencyID,
|
14515
|
-
Email,
|
14516
|
-
RecipientsObject,
|
14517
|
-
RecipientsID,
|
14518
|
-
Instrument_2 as Instrument,
|
14519
|
-
StickyID,
|
14520
|
-
FluffyMarket,
|
14521
|
-
InstrumentList_2 as InstrumentList,
|
14522
|
-
Nothing,
|
14523
|
-
Organization_2 as Organization,
|
14524
|
-
OrganizationID_2 as OrganizationID,
|
14525
|
-
Portfolio_2 as Portfolio,
|
14526
|
-
PositionElement,
|
14527
|
-
Position_2 as Position,
|
14528
|
-
TimeRange,
|
14529
|
-
Valuation,
|
14530
|
-
Convert_2 as Convert,
|
14531
|
-
Intents_2 as Intents,
|
14532
|
-
Channel_2 as Channel,
|
14533
|
-
DesktopAgent_2 as DesktopAgent,
|
14534
|
-
IntentResolution_2 as IntentResolution,
|
14535
|
-
PrivateChannel,
|
14536
|
-
ContextHandler_2 as ContextHandler,
|
14537
|
-
IntentResult,
|
14538
|
-
IntentHandler
|
14539
|
-
}
|
14540
|
-
}
|
14541
|
-
|
14542
14464
|
declare type VerboseWebPermission = {
|
14543
14465
|
api: string;
|
14544
14466
|
enabled: boolean;
|
14545
14467
|
};
|
14546
14468
|
|
14547
|
-
declare type Version = (typeof versions)[keyof typeof versions];
|
14548
|
-
|
14549
|
-
declare const versions: {
|
14550
|
-
readonly v1_2: "1.2";
|
14551
|
-
readonly v2_0: "2.0";
|
14552
|
-
};
|
14553
|
-
|
14554
14469
|
declare type View = OpenFin_2.View;
|
14555
14470
|
|
14556
14471
|
/**
|
package/out/mock.d.ts
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
/// <reference types="node" />
|
2
2
|
|
3
3
|
import { EventEmitter } from 'events';
|
4
|
+
import { v1_2 } from './fdc3';
|
5
|
+
import { v2_0 } from './fdc3';
|
6
|
+
import { Version } from './fdc3';
|
4
7
|
|
5
8
|
/**
|
6
9
|
* Enable keyboard shortcuts for devtools, zoom, reload, and reload ignoring cache.
|
@@ -5707,6 +5710,13 @@ declare type GpuInfo = {
|
|
5707
5710
|
|
5708
5711
|
/**
|
5709
5712
|
* Generated when a View is hidden.
|
5713
|
+
*
|
5714
|
+
* @remarks
|
5715
|
+
* An OpenFin View's `hidden` event is only emitted when a specific View API is called.
|
5716
|
+
* This event can fire when calling:
|
5717
|
+
*
|
5718
|
+
* * `view.hide()` - If a View is previously shown, a `hidden` event will be fired.
|
5719
|
+
*
|
5710
5720
|
* @interface
|
5711
5721
|
*/
|
5712
5722
|
declare type HiddenEvent = BaseEvent_4 & {
|
@@ -12615,7 +12625,18 @@ declare type ShowAllDownloadsEvent = BaseEvent_5 & {
|
|
12615
12625
|
};
|
12616
12626
|
|
12617
12627
|
/**
|
12618
|
-
* Generated when a View is shown.
|
12628
|
+
* Generated when a View is shown.
|
12629
|
+
*
|
12630
|
+
* @remarks
|
12631
|
+
* An OpenFin View's `shown` event is only emitted when specific View APIs are called.
|
12632
|
+
* This event can fire when calling:
|
12633
|
+
*
|
12634
|
+
* * `view.show()` or `view.showAt()` - If a View is previously hidden, a `shown` event will be fired.
|
12635
|
+
*
|
12636
|
+
* * `view.attach()` - If a View is hidden and attached to a new Window, it will be shown and the `shown` event will be fired.
|
12637
|
+
*
|
12638
|
+
* * `view.create()` - A View `shown` event will be fired. (Internally the `attach` method is called when calling the `create` method, which fires the `shown` event.)
|
12639
|
+
*
|
12619
12640
|
* @interface
|
12620
12641
|
*/
|
12621
12642
|
declare type ShownEvent = BaseEvent_4 & {
|
@@ -14846,117 +14867,11 @@ declare type UserMovementEnabledEvent = BaseEvent_5 & {
|
|
14846
14867
|
type: 'user-movement-enabled';
|
14847
14868
|
};
|
14848
14869
|
|
14849
|
-
declare namespace v1_2 {
|
14850
|
-
{
|
14851
|
-
AppIntent,
|
14852
|
-
AppMetadata,
|
14853
|
-
DisplayMetadata,
|
14854
|
-
OpenError,
|
14855
|
-
ResolveError,
|
14856
|
-
ChannelError,
|
14857
|
-
ImplementationMetadata,
|
14858
|
-
IntentMetadata,
|
14859
|
-
Listener,
|
14860
|
-
ContextTypes,
|
14861
|
-
ContextType,
|
14862
|
-
Context,
|
14863
|
-
ContactList,
|
14864
|
-
Contact,
|
14865
|
-
ContactID,
|
14866
|
-
InstrumentList,
|
14867
|
-
Instrument,
|
14868
|
-
InstrumentID,
|
14869
|
-
Country,
|
14870
|
-
CountryID,
|
14871
|
-
Organization,
|
14872
|
-
OrganizationID,
|
14873
|
-
Portfolio,
|
14874
|
-
Position,
|
14875
|
-
Convert,
|
14876
|
-
Intents,
|
14877
|
-
Channel,
|
14878
|
-
DesktopAgent,
|
14879
|
-
IntentResolution,
|
14880
|
-
TargetApp,
|
14881
|
-
ContextHandler
|
14882
|
-
}
|
14883
|
-
}
|
14884
|
-
|
14885
|
-
declare namespace v2_0 {
|
14886
|
-
{
|
14887
|
-
AppIdentifier,
|
14888
|
-
AppIntent_2 as AppIntent,
|
14889
|
-
AppMetadata_2 as AppMetadata,
|
14890
|
-
ContextMetadata,
|
14891
|
-
DisplayMetadata_2 as DisplayMetadata,
|
14892
|
-
OpenError_2 as OpenError,
|
14893
|
-
ResolveError_2 as ResolveError,
|
14894
|
-
ResultError,
|
14895
|
-
ChannelError_2 as ChannelError,
|
14896
|
-
Icon,
|
14897
|
-
Image_2 as Image,
|
14898
|
-
ImplementationMetadata_2 as ImplementationMetadata,
|
14899
|
-
IntentMetadata_2 as IntentMetadata,
|
14900
|
-
Listener_2 as Listener,
|
14901
|
-
ContextTypes_2 as ContextTypes,
|
14902
|
-
ContextType_2 as ContextType,
|
14903
|
-
Chart,
|
14904
|
-
InstrumentElement,
|
14905
|
-
PurpleID,
|
14906
|
-
PurpleMarket,
|
14907
|
-
TimeRangeObject,
|
14908
|
-
Style,
|
14909
|
-
ChatInitSettings,
|
14910
|
-
ContactListObject,
|
14911
|
-
ContactElement,
|
14912
|
-
FluffyID,
|
14913
|
-
Contact_2 as Contact,
|
14914
|
-
TentacledID,
|
14915
|
-
ContactList_2 as ContactList,
|
14916
|
-
Context_2 as Context,
|
14917
|
-
Country_2 as Country,
|
14918
|
-
CountryID_2 as CountryID,
|
14919
|
-
Currency,
|
14920
|
-
CurrencyID,
|
14921
|
-
Email,
|
14922
|
-
RecipientsObject,
|
14923
|
-
RecipientsID,
|
14924
|
-
Instrument_2 as Instrument,
|
14925
|
-
StickyID,
|
14926
|
-
FluffyMarket,
|
14927
|
-
InstrumentList_2 as InstrumentList,
|
14928
|
-
Nothing,
|
14929
|
-
Organization_2 as Organization,
|
14930
|
-
OrganizationID_2 as OrganizationID,
|
14931
|
-
Portfolio_2 as Portfolio,
|
14932
|
-
PositionElement,
|
14933
|
-
Position_2 as Position,
|
14934
|
-
TimeRange,
|
14935
|
-
Valuation,
|
14936
|
-
Convert_2 as Convert,
|
14937
|
-
Intents_2 as Intents,
|
14938
|
-
Channel_2 as Channel,
|
14939
|
-
DesktopAgent_2 as DesktopAgent,
|
14940
|
-
IntentResolution_2 as IntentResolution,
|
14941
|
-
PrivateChannel,
|
14942
|
-
ContextHandler_2 as ContextHandler,
|
14943
|
-
IntentResult,
|
14944
|
-
IntentHandler
|
14945
|
-
}
|
14946
|
-
}
|
14947
|
-
|
14948
14870
|
declare type VerboseWebPermission = {
|
14949
14871
|
api: string;
|
14950
14872
|
enabled: boolean;
|
14951
14873
|
};
|
14952
14874
|
|
14953
|
-
declare type Version = (typeof versions)[keyof typeof versions];
|
14954
|
-
|
14955
|
-
declare const versions: {
|
14956
|
-
readonly v1_2: "1.2";
|
14957
|
-
readonly v2_0: "2.0";
|
14958
|
-
};
|
14959
|
-
|
14960
14875
|
declare type View = OpenFin_2.View;
|
14961
14876
|
|
14962
14877
|
/**
|
package/out/mock.js
CHANGED
@@ -15022,6 +15022,14 @@ function requireFdc3Common () {
|
|
15022
15022
|
throw new Error(errorToThrow);
|
15023
15023
|
}
|
15024
15024
|
}
|
15025
|
+
async _getChannels() {
|
15026
|
+
const channels = await this.client.getContextGroups();
|
15027
|
+
// fdc3 implementation of getSystemChannels returns an array of channels, have to decorate over
|
15028
|
+
// this so people know that these APIs are not supported
|
15029
|
+
return channels.map((channel) => {
|
15030
|
+
return { ...channel, type: 'system', ...(0, utils_1.getUnsupportedChannelApis)() };
|
15031
|
+
});
|
15032
|
+
}
|
15025
15033
|
/**
|
15026
15034
|
* Returns a Channel object for the specified channel, creating it as an App Channel if it does not exist.
|
15027
15035
|
* @param channelId
|
@@ -15032,7 +15040,7 @@ function requireFdc3Common () {
|
|
15032
15040
|
this.wire.sendAction('fdc3-get-or-create-channel').catch((e) => {
|
15033
15041
|
// we do not want to expose this error, just continue if this analytics-only call fails
|
15034
15042
|
});
|
15035
|
-
const systemChannels = await this.
|
15043
|
+
const systemChannels = await this._getChannels();
|
15036
15044
|
const userChannel = systemChannels.find((channel) => channel.id === channelId);
|
15037
15045
|
if (userChannel) {
|
15038
15046
|
return { ...userChannel, type: 'system', ...(0, utils_1.getUnsupportedChannelApis)() };
|
@@ -15056,12 +15064,7 @@ function requireFdc3Common () {
|
|
15056
15064
|
this.wire.sendAction('fdc3-get-system-channels').catch((e) => {
|
15057
15065
|
// we do not want to expose this error, just continue if this analytics-only call fails
|
15058
15066
|
});
|
15059
|
-
|
15060
|
-
// fdc3 implementation of getSystemChannels returns on array of channels, have to decorate over
|
15061
|
-
// this so people know that these APIs are not supported
|
15062
|
-
return channels.map((channel) => {
|
15063
|
-
return { ...channel, type: 'system', ...(0, utils_1.getUnsupportedChannelApis)() };
|
15064
|
-
});
|
15067
|
+
return this._getChannels();
|
15065
15068
|
}
|
15066
15069
|
/**
|
15067
15070
|
* Join all Interop Clients at the given identity to context group `contextGroupId`.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@openfin/core",
|
3
|
-
"version": "38.81.
|
3
|
+
"version": "38.81.37",
|
4
4
|
"description": "The core renderer entry point of OpenFin",
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
6
6
|
"main": "out/mock.js",
|
@@ -10,7 +10,8 @@
|
|
10
10
|
"prebuild": "rimraf ./out",
|
11
11
|
"build:rollup": "rollup --config",
|
12
12
|
"build:copy": "cpy src/GlobalOpenFin.d.ts out --flat",
|
13
|
-
"build": "
|
13
|
+
"build:fdc3": "ts-node scripts/fdc3",
|
14
|
+
"build": "run-s build:*",
|
14
15
|
"dev:rollup": "npm run build:rollup -- --environment MODE:development",
|
15
16
|
"dev:copy": "npm run build:copy",
|
16
17
|
"dev": "run-p dev:*",
|
@@ -19,7 +20,10 @@
|
|
19
20
|
"watch:copy": "npm run dev:copy",
|
20
21
|
"ci:prepublish": "of-npm prepublish",
|
21
22
|
"ci:postpublish": "of-npm postpublish",
|
22
|
-
"ci:publish": "npm publish"
|
23
|
+
"ci:publish": "npm publish",
|
24
|
+
"test": "run-p test:*",
|
25
|
+
"test:sample": "tsc -p test/tsconfig.json",
|
26
|
+
"test:imports": "ts-node scripts/verify-imports"
|
23
27
|
},
|
24
28
|
"files": [
|
25
29
|
"out/*",
|