@openfin/core 34.78.47 → 34.78.49
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 +36 -16
- package/out/mock-beta.d.ts +36 -16
- package/out/mock-public.d.ts +36 -16
- package/out/mock.d.ts +36 -16
- package/package.json +1 -1
package/out/mock-alpha.d.ts
CHANGED
|
@@ -4092,6 +4092,15 @@ declare type Context_3 = {
|
|
|
4092
4092
|
type: string;
|
|
4093
4093
|
};
|
|
4094
4094
|
|
|
4095
|
+
/**
|
|
4096
|
+
* Generated when a window's context is updated via {@link Platform#setWindowContext Platform.setWindowContext}. Only available on windows in a Platform.
|
|
4097
|
+
* @interface
|
|
4098
|
+
*/
|
|
4099
|
+
declare type ContextChangedEvent = BaseWindowEvent & {
|
|
4100
|
+
type: 'context-changed';
|
|
4101
|
+
context: any;
|
|
4102
|
+
};
|
|
4103
|
+
|
|
4095
4104
|
/**
|
|
4096
4105
|
* @interface
|
|
4097
4106
|
*/
|
|
@@ -6156,6 +6165,17 @@ declare type HiddenEvent = BaseViewEvent & {
|
|
|
6156
6165
|
type: 'hidden';
|
|
6157
6166
|
};
|
|
6158
6167
|
|
|
6168
|
+
/**
|
|
6169
|
+
* Generated when the context of a View's host window changes, either due to a call to {@link Platform#setWindowContext Platform.setWindowContext},
|
|
6170
|
+
* or because the View has moved to a new window. Only available on Views in a Platform.
|
|
6171
|
+
* @interface
|
|
6172
|
+
*/
|
|
6173
|
+
declare type HostContextChangedEvent = BaseViewEvent & {
|
|
6174
|
+
type: 'host-context-changed';
|
|
6175
|
+
context: any;
|
|
6176
|
+
reason: 'reparented' | 'updated';
|
|
6177
|
+
};
|
|
6178
|
+
|
|
6159
6179
|
/**
|
|
6160
6180
|
* @interface
|
|
6161
6181
|
*/
|
|
@@ -9890,27 +9910,25 @@ declare class OpenFinLayout implements OpenFin_2.LayoutInstance {
|
|
|
9890
9910
|
private readonly splitterController;
|
|
9891
9911
|
private readonly tabDragController;
|
|
9892
9912
|
private readonly layoutContentCache;
|
|
9913
|
+
private get defaultFaviconUrl();
|
|
9914
|
+
private get isDragging();
|
|
9915
|
+
private get resizing();
|
|
9916
|
+
private get showBackgroundImages();
|
|
9917
|
+
private get showFavicons();
|
|
9918
|
+
private get showViewsOnSplitterDrag();
|
|
9919
|
+
private get showViewsOnTabDrag();
|
|
9920
|
+
private get showViewsOnWindowResize();
|
|
9921
|
+
private get container();
|
|
9922
|
+
get layout(): GoldenLayout.GoldenLayout;
|
|
9923
|
+
private get layoutConfigToRestore();
|
|
9893
9924
|
private client;
|
|
9894
|
-
private container;
|
|
9895
9925
|
private containerResizeObserver;
|
|
9896
9926
|
private viewsResizeObserver;
|
|
9897
|
-
private dragProxy;
|
|
9898
|
-
private isDragging;
|
|
9899
|
-
private resizing;
|
|
9900
|
-
layout: GoldenLayout.GoldenLayout;
|
|
9901
|
-
private layoutConfigToRestore?;
|
|
9902
9927
|
readonly ofWindow: OpenFin_2.Window;
|
|
9903
9928
|
readonly platform: Platform_2;
|
|
9904
|
-
private showBackgroundImages;
|
|
9905
|
-
private showFavicons;
|
|
9906
|
-
private defaultFaviconUrl;
|
|
9907
|
-
private showViewsOnWindowResize?;
|
|
9908
|
-
private showViewsOnSplitterDrag?;
|
|
9909
|
-
private showViewsOnTabDrag?;
|
|
9910
|
-
private dropzonePreview?;
|
|
9911
9929
|
private lastItemDestroyed?;
|
|
9912
9930
|
private viewsSubscribedTo;
|
|
9913
|
-
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
|
9931
|
+
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache, container: HTMLElement);
|
|
9914
9932
|
getViews: () => OpenFin_2.LayoutComponent[];
|
|
9915
9933
|
startReplaceLayout: ({ layout }: {
|
|
9916
9934
|
layout: GoldenLayout.Config;
|
|
@@ -15922,7 +15940,7 @@ declare type ViewDetachedEvent = BaseWindowEvent & {
|
|
|
15922
15940
|
*/
|
|
15923
15941
|
declare type ViewEvent = (WebContentsEvent<'view'> & {
|
|
15924
15942
|
target: OpenFin_2.Identity;
|
|
15925
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
15943
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
15926
15944
|
|
|
15927
15945
|
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
|
15928
15946
|
|
|
@@ -15936,6 +15954,7 @@ declare namespace ViewEvents {
|
|
|
15936
15954
|
HiddenEvent,
|
|
15937
15955
|
HotkeyEvent,
|
|
15938
15956
|
ShownEvent,
|
|
15957
|
+
HostContextChangedEvent,
|
|
15939
15958
|
ViewEvent,
|
|
15940
15959
|
WillPropagateViewEvent,
|
|
15941
15960
|
ViewEventType,
|
|
@@ -18920,6 +18939,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
18920
18939
|
BoundsChangedEvent,
|
|
18921
18940
|
BoundsChangingEvent,
|
|
18922
18941
|
WindowCloseRequestedEvent,
|
|
18942
|
+
ContextChangedEvent,
|
|
18923
18943
|
WindowClosedEvent,
|
|
18924
18944
|
WindowClosingEvent,
|
|
18925
18945
|
DisabledMovementBoundsChangedEvent,
|
|
@@ -19159,7 +19179,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
19159
19179
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
|
19160
19180
|
* from {@link OpenFin.ViewEvents}.
|
|
19161
19181
|
*/
|
|
19162
|
-
declare type WindowSourcedEvent = WebContentsEvent<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | WindowCloseRequestedEvent | WindowClosedEvent | WindowClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | WindowHiddenEvent | WindowHotkeyEvent | WindowInitializedEvent | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | WindowOptionsChangedEvent_2 | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | WindowRestoredEvent | WindowShowRequestedEvent | WindowShownEvent | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillRedirectEvent | WillResizeEvent;
|
|
19182
|
+
declare type WindowSourcedEvent = WebContentsEvent<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | WindowCloseRequestedEvent | WindowClosedEvent | WindowClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | WindowHiddenEvent | WindowHotkeyEvent | WindowInitializedEvent | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | WindowOptionsChangedEvent_2 | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | WindowRestoredEvent | WindowShowRequestedEvent | WindowShownEvent | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillRedirectEvent | WillResizeEvent;
|
|
19163
19183
|
|
|
19164
19184
|
/**
|
|
19165
19185
|
* Generated when a child window starts loading.
|
package/out/mock-beta.d.ts
CHANGED
|
@@ -4092,6 +4092,15 @@ declare type Context_3 = {
|
|
|
4092
4092
|
type: string;
|
|
4093
4093
|
};
|
|
4094
4094
|
|
|
4095
|
+
/**
|
|
4096
|
+
* Generated when a window's context is updated via {@link Platform#setWindowContext Platform.setWindowContext}. Only available on windows in a Platform.
|
|
4097
|
+
* @interface
|
|
4098
|
+
*/
|
|
4099
|
+
declare type ContextChangedEvent = BaseWindowEvent & {
|
|
4100
|
+
type: 'context-changed';
|
|
4101
|
+
context: any;
|
|
4102
|
+
};
|
|
4103
|
+
|
|
4095
4104
|
/**
|
|
4096
4105
|
* @interface
|
|
4097
4106
|
*/
|
|
@@ -6156,6 +6165,17 @@ declare type HiddenEvent = BaseViewEvent & {
|
|
|
6156
6165
|
type: 'hidden';
|
|
6157
6166
|
};
|
|
6158
6167
|
|
|
6168
|
+
/**
|
|
6169
|
+
* Generated when the context of a View's host window changes, either due to a call to {@link Platform#setWindowContext Platform.setWindowContext},
|
|
6170
|
+
* or because the View has moved to a new window. Only available on Views in a Platform.
|
|
6171
|
+
* @interface
|
|
6172
|
+
*/
|
|
6173
|
+
declare type HostContextChangedEvent = BaseViewEvent & {
|
|
6174
|
+
type: 'host-context-changed';
|
|
6175
|
+
context: any;
|
|
6176
|
+
reason: 'reparented' | 'updated';
|
|
6177
|
+
};
|
|
6178
|
+
|
|
6159
6179
|
/**
|
|
6160
6180
|
* @interface
|
|
6161
6181
|
*/
|
|
@@ -9890,27 +9910,25 @@ declare class OpenFinLayout implements OpenFin_2.LayoutInstance {
|
|
|
9890
9910
|
private readonly splitterController;
|
|
9891
9911
|
private readonly tabDragController;
|
|
9892
9912
|
private readonly layoutContentCache;
|
|
9913
|
+
private get defaultFaviconUrl();
|
|
9914
|
+
private get isDragging();
|
|
9915
|
+
private get resizing();
|
|
9916
|
+
private get showBackgroundImages();
|
|
9917
|
+
private get showFavicons();
|
|
9918
|
+
private get showViewsOnSplitterDrag();
|
|
9919
|
+
private get showViewsOnTabDrag();
|
|
9920
|
+
private get showViewsOnWindowResize();
|
|
9921
|
+
private get container();
|
|
9922
|
+
get layout(): GoldenLayout.GoldenLayout;
|
|
9923
|
+
private get layoutConfigToRestore();
|
|
9893
9924
|
private client;
|
|
9894
|
-
private container;
|
|
9895
9925
|
private containerResizeObserver;
|
|
9896
9926
|
private viewsResizeObserver;
|
|
9897
|
-
private dragProxy;
|
|
9898
|
-
private isDragging;
|
|
9899
|
-
private resizing;
|
|
9900
|
-
layout: GoldenLayout.GoldenLayout;
|
|
9901
|
-
private layoutConfigToRestore?;
|
|
9902
9927
|
readonly ofWindow: OpenFin_2.Window;
|
|
9903
9928
|
readonly platform: Platform_2;
|
|
9904
|
-
private showBackgroundImages;
|
|
9905
|
-
private showFavicons;
|
|
9906
|
-
private defaultFaviconUrl;
|
|
9907
|
-
private showViewsOnWindowResize?;
|
|
9908
|
-
private showViewsOnSplitterDrag?;
|
|
9909
|
-
private showViewsOnTabDrag?;
|
|
9910
|
-
private dropzonePreview?;
|
|
9911
9929
|
private lastItemDestroyed?;
|
|
9912
9930
|
private viewsSubscribedTo;
|
|
9913
|
-
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
|
9931
|
+
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache, container: HTMLElement);
|
|
9914
9932
|
getViews: () => OpenFin_2.LayoutComponent[];
|
|
9915
9933
|
startReplaceLayout: ({ layout }: {
|
|
9916
9934
|
layout: GoldenLayout.Config;
|
|
@@ -15922,7 +15940,7 @@ declare type ViewDetachedEvent = BaseWindowEvent & {
|
|
|
15922
15940
|
*/
|
|
15923
15941
|
declare type ViewEvent = (WebContentsEvent<'view'> & {
|
|
15924
15942
|
target: OpenFin_2.Identity;
|
|
15925
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
15943
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
15926
15944
|
|
|
15927
15945
|
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
|
15928
15946
|
|
|
@@ -15936,6 +15954,7 @@ declare namespace ViewEvents {
|
|
|
15936
15954
|
HiddenEvent,
|
|
15937
15955
|
HotkeyEvent,
|
|
15938
15956
|
ShownEvent,
|
|
15957
|
+
HostContextChangedEvent,
|
|
15939
15958
|
ViewEvent,
|
|
15940
15959
|
WillPropagateViewEvent,
|
|
15941
15960
|
ViewEventType,
|
|
@@ -18920,6 +18939,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
18920
18939
|
BoundsChangedEvent,
|
|
18921
18940
|
BoundsChangingEvent,
|
|
18922
18941
|
WindowCloseRequestedEvent,
|
|
18942
|
+
ContextChangedEvent,
|
|
18923
18943
|
WindowClosedEvent,
|
|
18924
18944
|
WindowClosingEvent,
|
|
18925
18945
|
DisabledMovementBoundsChangedEvent,
|
|
@@ -19159,7 +19179,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
19159
19179
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
|
19160
19180
|
* from {@link OpenFin.ViewEvents}.
|
|
19161
19181
|
*/
|
|
19162
|
-
declare type WindowSourcedEvent = WebContentsEvent<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | WindowCloseRequestedEvent | WindowClosedEvent | WindowClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | WindowHiddenEvent | WindowHotkeyEvent | WindowInitializedEvent | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | WindowOptionsChangedEvent_2 | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | WindowRestoredEvent | WindowShowRequestedEvent | WindowShownEvent | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillRedirectEvent | WillResizeEvent;
|
|
19182
|
+
declare type WindowSourcedEvent = WebContentsEvent<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | WindowCloseRequestedEvent | WindowClosedEvent | WindowClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | WindowHiddenEvent | WindowHotkeyEvent | WindowInitializedEvent | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | WindowOptionsChangedEvent_2 | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | WindowRestoredEvent | WindowShowRequestedEvent | WindowShownEvent | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillRedirectEvent | WillResizeEvent;
|
|
19163
19183
|
|
|
19164
19184
|
/**
|
|
19165
19185
|
* Generated when a child window starts loading.
|
package/out/mock-public.d.ts
CHANGED
|
@@ -4092,6 +4092,15 @@ declare type Context_3 = {
|
|
|
4092
4092
|
type: string;
|
|
4093
4093
|
};
|
|
4094
4094
|
|
|
4095
|
+
/**
|
|
4096
|
+
* Generated when a window's context is updated via {@link Platform#setWindowContext Platform.setWindowContext}. Only available on windows in a Platform.
|
|
4097
|
+
* @interface
|
|
4098
|
+
*/
|
|
4099
|
+
declare type ContextChangedEvent = BaseWindowEvent & {
|
|
4100
|
+
type: 'context-changed';
|
|
4101
|
+
context: any;
|
|
4102
|
+
};
|
|
4103
|
+
|
|
4095
4104
|
/**
|
|
4096
4105
|
* @interface
|
|
4097
4106
|
*/
|
|
@@ -6156,6 +6165,17 @@ declare type HiddenEvent = BaseViewEvent & {
|
|
|
6156
6165
|
type: 'hidden';
|
|
6157
6166
|
};
|
|
6158
6167
|
|
|
6168
|
+
/**
|
|
6169
|
+
* Generated when the context of a View's host window changes, either due to a call to {@link Platform#setWindowContext Platform.setWindowContext},
|
|
6170
|
+
* or because the View has moved to a new window. Only available on Views in a Platform.
|
|
6171
|
+
* @interface
|
|
6172
|
+
*/
|
|
6173
|
+
declare type HostContextChangedEvent = BaseViewEvent & {
|
|
6174
|
+
type: 'host-context-changed';
|
|
6175
|
+
context: any;
|
|
6176
|
+
reason: 'reparented' | 'updated';
|
|
6177
|
+
};
|
|
6178
|
+
|
|
6159
6179
|
/**
|
|
6160
6180
|
* @interface
|
|
6161
6181
|
*/
|
|
@@ -9890,27 +9910,25 @@ declare class OpenFinLayout implements OpenFin_2.LayoutInstance {
|
|
|
9890
9910
|
private readonly splitterController;
|
|
9891
9911
|
private readonly tabDragController;
|
|
9892
9912
|
private readonly layoutContentCache;
|
|
9913
|
+
private get defaultFaviconUrl();
|
|
9914
|
+
private get isDragging();
|
|
9915
|
+
private get resizing();
|
|
9916
|
+
private get showBackgroundImages();
|
|
9917
|
+
private get showFavicons();
|
|
9918
|
+
private get showViewsOnSplitterDrag();
|
|
9919
|
+
private get showViewsOnTabDrag();
|
|
9920
|
+
private get showViewsOnWindowResize();
|
|
9921
|
+
private get container();
|
|
9922
|
+
get layout(): GoldenLayout.GoldenLayout;
|
|
9923
|
+
private get layoutConfigToRestore();
|
|
9893
9924
|
private client;
|
|
9894
|
-
private container;
|
|
9895
9925
|
private containerResizeObserver;
|
|
9896
9926
|
private viewsResizeObserver;
|
|
9897
|
-
private dragProxy;
|
|
9898
|
-
private isDragging;
|
|
9899
|
-
private resizing;
|
|
9900
|
-
layout: GoldenLayout.GoldenLayout;
|
|
9901
|
-
private layoutConfigToRestore?;
|
|
9902
9927
|
readonly ofWindow: OpenFin_2.Window;
|
|
9903
9928
|
readonly platform: Platform_2;
|
|
9904
|
-
private showBackgroundImages;
|
|
9905
|
-
private showFavicons;
|
|
9906
|
-
private defaultFaviconUrl;
|
|
9907
|
-
private showViewsOnWindowResize?;
|
|
9908
|
-
private showViewsOnSplitterDrag?;
|
|
9909
|
-
private showViewsOnTabDrag?;
|
|
9910
|
-
private dropzonePreview?;
|
|
9911
9929
|
private lastItemDestroyed?;
|
|
9912
9930
|
private viewsSubscribedTo;
|
|
9913
|
-
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
|
9931
|
+
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache, container: HTMLElement);
|
|
9914
9932
|
getViews: () => OpenFin_2.LayoutComponent[];
|
|
9915
9933
|
startReplaceLayout: ({ layout }: {
|
|
9916
9934
|
layout: GoldenLayout.Config;
|
|
@@ -15922,7 +15940,7 @@ declare type ViewDetachedEvent = BaseWindowEvent & {
|
|
|
15922
15940
|
*/
|
|
15923
15941
|
declare type ViewEvent = (WebContentsEvent<'view'> & {
|
|
15924
15942
|
target: OpenFin_2.Identity;
|
|
15925
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
15943
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
15926
15944
|
|
|
15927
15945
|
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
|
15928
15946
|
|
|
@@ -15936,6 +15954,7 @@ declare namespace ViewEvents {
|
|
|
15936
15954
|
HiddenEvent,
|
|
15937
15955
|
HotkeyEvent,
|
|
15938
15956
|
ShownEvent,
|
|
15957
|
+
HostContextChangedEvent,
|
|
15939
15958
|
ViewEvent,
|
|
15940
15959
|
WillPropagateViewEvent,
|
|
15941
15960
|
ViewEventType,
|
|
@@ -18920,6 +18939,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
18920
18939
|
BoundsChangedEvent,
|
|
18921
18940
|
BoundsChangingEvent,
|
|
18922
18941
|
WindowCloseRequestedEvent,
|
|
18942
|
+
ContextChangedEvent,
|
|
18923
18943
|
WindowClosedEvent,
|
|
18924
18944
|
WindowClosingEvent,
|
|
18925
18945
|
DisabledMovementBoundsChangedEvent,
|
|
@@ -19159,7 +19179,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
19159
19179
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
|
19160
19180
|
* from {@link OpenFin.ViewEvents}.
|
|
19161
19181
|
*/
|
|
19162
|
-
declare type WindowSourcedEvent = WebContentsEvent<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | WindowCloseRequestedEvent | WindowClosedEvent | WindowClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | WindowHiddenEvent | WindowHotkeyEvent | WindowInitializedEvent | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | WindowOptionsChangedEvent_2 | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | WindowRestoredEvent | WindowShowRequestedEvent | WindowShownEvent | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillRedirectEvent | WillResizeEvent;
|
|
19182
|
+
declare type WindowSourcedEvent = WebContentsEvent<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | WindowCloseRequestedEvent | WindowClosedEvent | WindowClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | WindowHiddenEvent | WindowHotkeyEvent | WindowInitializedEvent | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | WindowOptionsChangedEvent_2 | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | WindowRestoredEvent | WindowShowRequestedEvent | WindowShownEvent | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillRedirectEvent | WillResizeEvent;
|
|
19163
19183
|
|
|
19164
19184
|
/**
|
|
19165
19185
|
* Generated when a child window starts loading.
|
package/out/mock.d.ts
CHANGED
|
@@ -4186,6 +4186,15 @@ declare type Context_3 = {
|
|
|
4186
4186
|
type: string;
|
|
4187
4187
|
};
|
|
4188
4188
|
|
|
4189
|
+
/**
|
|
4190
|
+
* Generated when a window's context is updated via {@link Platform#setWindowContext Platform.setWindowContext}. Only available on windows in a Platform.
|
|
4191
|
+
* @interface
|
|
4192
|
+
*/
|
|
4193
|
+
declare type ContextChangedEvent = BaseWindowEvent & {
|
|
4194
|
+
type: 'context-changed';
|
|
4195
|
+
context: any;
|
|
4196
|
+
};
|
|
4197
|
+
|
|
4189
4198
|
/**
|
|
4190
4199
|
* @interface
|
|
4191
4200
|
*/
|
|
@@ -6280,6 +6289,17 @@ declare type HiddenEvent = BaseViewEvent & {
|
|
|
6280
6289
|
type: 'hidden';
|
|
6281
6290
|
};
|
|
6282
6291
|
|
|
6292
|
+
/**
|
|
6293
|
+
* Generated when the context of a View's host window changes, either due to a call to {@link Platform#setWindowContext Platform.setWindowContext},
|
|
6294
|
+
* or because the View has moved to a new window. Only available on Views in a Platform.
|
|
6295
|
+
* @interface
|
|
6296
|
+
*/
|
|
6297
|
+
declare type HostContextChangedEvent = BaseViewEvent & {
|
|
6298
|
+
type: 'host-context-changed';
|
|
6299
|
+
context: any;
|
|
6300
|
+
reason: 'reparented' | 'updated';
|
|
6301
|
+
};
|
|
6302
|
+
|
|
6283
6303
|
/**
|
|
6284
6304
|
* @interface
|
|
6285
6305
|
*/
|
|
@@ -10323,27 +10343,25 @@ declare class OpenFinLayout implements OpenFin_2.LayoutInstance {
|
|
|
10323
10343
|
private readonly splitterController;
|
|
10324
10344
|
private readonly tabDragController;
|
|
10325
10345
|
private readonly layoutContentCache;
|
|
10346
|
+
private get defaultFaviconUrl();
|
|
10347
|
+
private get isDragging();
|
|
10348
|
+
private get resizing();
|
|
10349
|
+
private get showBackgroundImages();
|
|
10350
|
+
private get showFavicons();
|
|
10351
|
+
private get showViewsOnSplitterDrag();
|
|
10352
|
+
private get showViewsOnTabDrag();
|
|
10353
|
+
private get showViewsOnWindowResize();
|
|
10354
|
+
private get container();
|
|
10355
|
+
get layout(): GoldenLayout.GoldenLayout;
|
|
10356
|
+
private get layoutConfigToRestore();
|
|
10326
10357
|
private client;
|
|
10327
|
-
private container;
|
|
10328
10358
|
private containerResizeObserver;
|
|
10329
10359
|
private viewsResizeObserver;
|
|
10330
|
-
private dragProxy;
|
|
10331
|
-
private isDragging;
|
|
10332
|
-
private resizing;
|
|
10333
|
-
layout: GoldenLayout.GoldenLayout;
|
|
10334
|
-
private layoutConfigToRestore?;
|
|
10335
10360
|
readonly ofWindow: OpenFin_2.Window;
|
|
10336
10361
|
readonly platform: Platform_2;
|
|
10337
|
-
private showBackgroundImages;
|
|
10338
|
-
private showFavicons;
|
|
10339
|
-
private defaultFaviconUrl;
|
|
10340
|
-
private showViewsOnWindowResize?;
|
|
10341
|
-
private showViewsOnSplitterDrag?;
|
|
10342
|
-
private showViewsOnTabDrag?;
|
|
10343
|
-
private dropzonePreview?;
|
|
10344
10362
|
private lastItemDestroyed?;
|
|
10345
10363
|
private viewsSubscribedTo;
|
|
10346
|
-
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
|
10364
|
+
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache, container: HTMLElement);
|
|
10347
10365
|
getViews: () => OpenFin_2.LayoutComponent[];
|
|
10348
10366
|
startReplaceLayout: ({ layout }: {
|
|
10349
10367
|
layout: GoldenLayout.Config;
|
|
@@ -16528,7 +16546,7 @@ declare type ViewDetachedEvent = BaseWindowEvent & {
|
|
|
16528
16546
|
*/
|
|
16529
16547
|
declare type ViewEvent = (WebContentsEvent<'view'> & {
|
|
16530
16548
|
target: OpenFin_2.Identity;
|
|
16531
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
16549
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
16532
16550
|
|
|
16533
16551
|
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
|
16534
16552
|
|
|
@@ -16542,6 +16560,7 @@ declare namespace ViewEvents {
|
|
|
16542
16560
|
HiddenEvent,
|
|
16543
16561
|
HotkeyEvent,
|
|
16544
16562
|
ShownEvent,
|
|
16563
|
+
HostContextChangedEvent,
|
|
16545
16564
|
ViewEvent,
|
|
16546
16565
|
WillPropagateViewEvent,
|
|
16547
16566
|
ViewEventType,
|
|
@@ -19610,6 +19629,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
19610
19629
|
BoundsChangedEvent,
|
|
19611
19630
|
BoundsChangingEvent,
|
|
19612
19631
|
WindowCloseRequestedEvent,
|
|
19632
|
+
ContextChangedEvent,
|
|
19613
19633
|
WindowClosedEvent,
|
|
19614
19634
|
WindowClosingEvent,
|
|
19615
19635
|
DisabledMovementBoundsChangedEvent,
|
|
@@ -19849,7 +19869,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
19849
19869
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
|
19850
19870
|
* from {@link OpenFin.ViewEvents}.
|
|
19851
19871
|
*/
|
|
19852
|
-
declare type WindowSourcedEvent = WebContentsEvent<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | WindowCloseRequestedEvent | WindowClosedEvent | WindowClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | WindowHiddenEvent | WindowHotkeyEvent | WindowInitializedEvent | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | WindowOptionsChangedEvent_2 | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | WindowRestoredEvent | WindowShowRequestedEvent | WindowShownEvent | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillRedirectEvent | WillResizeEvent;
|
|
19872
|
+
declare type WindowSourcedEvent = WebContentsEvent<'window'> | WindowViewEvent | AuthRequestedEvent | BeginUserBoundsChangingEvent | BoundsChangedEvent | BoundsChangingEvent | ContextChangedEvent | WindowCloseRequestedEvent | WindowClosedEvent | WindowClosingEvent | DisabledMovementBoundsChangedEvent | DisabledMovementBoundsChangingEvent | EmbeddedEvent | EndUserBoundsChangingEvent | ExternalProcessExitedEvent | ExternalProcessStartedEvent | WindowHiddenEvent | WindowHotkeyEvent | WindowInitializedEvent | LayoutInitializedEvent | LayoutReadyEvent | MaximizedEvent | MinimizedEvent | WindowOptionsChangedEvent_2 | PerformanceReportEvent | PreloadScriptsStateChangedEvent | PreloadScriptsStateChangingEvent | ReloadedEvent | WindowRestoredEvent | WindowShowRequestedEvent | WindowShownEvent | UserMovementDisabledEvent | UserMovementEnabledEvent | WillMoveEvent | WillRedirectEvent | WillResizeEvent;
|
|
19853
19873
|
|
|
19854
19874
|
/**
|
|
19855
19875
|
* Generated when a child window starts loading.
|