@openfin/node-adapter 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/node-adapter-alpha.d.ts +36 -16
- package/out/node-adapter-beta.d.ts +36 -16
- package/out/node-adapter-public.d.ts +36 -16
- package/out/node-adapter.d.ts +36 -16
- package/package.json +1 -1
@@ -4096,6 +4096,15 @@ declare type Context_3 = {
|
|
4096
4096
|
type: string;
|
4097
4097
|
};
|
4098
4098
|
|
4099
|
+
/**
|
4100
|
+
* Generated when a window's context is updated via {@link Platform#setWindowContext Platform.setWindowContext}. Only available on windows in a Platform.
|
4101
|
+
* @interface
|
4102
|
+
*/
|
4103
|
+
declare type ContextChangedEvent = BaseWindowEvent & {
|
4104
|
+
type: 'context-changed';
|
4105
|
+
context: any;
|
4106
|
+
};
|
4107
|
+
|
4099
4108
|
/**
|
4100
4109
|
* @interface
|
4101
4110
|
*/
|
@@ -6164,6 +6173,17 @@ declare type HiddenEvent = BaseViewEvent & {
|
|
6164
6173
|
type: 'hidden';
|
6165
6174
|
};
|
6166
6175
|
|
6176
|
+
/**
|
6177
|
+
* Generated when the context of a View's host window changes, either due to a call to {@link Platform#setWindowContext Platform.setWindowContext},
|
6178
|
+
* or because the View has moved to a new window. Only available on Views in a Platform.
|
6179
|
+
* @interface
|
6180
|
+
*/
|
6181
|
+
declare type HostContextChangedEvent = BaseViewEvent & {
|
6182
|
+
type: 'host-context-changed';
|
6183
|
+
context: any;
|
6184
|
+
reason: 'reparented' | 'updated';
|
6185
|
+
};
|
6186
|
+
|
6167
6187
|
/**
|
6168
6188
|
* @interface
|
6169
6189
|
*/
|
@@ -9900,27 +9920,25 @@ declare class OpenFinLayout implements OpenFin.LayoutInstance {
|
|
9900
9920
|
private readonly splitterController;
|
9901
9921
|
private readonly tabDragController;
|
9902
9922
|
private readonly layoutContentCache;
|
9923
|
+
private get defaultFaviconUrl();
|
9924
|
+
private get isDragging();
|
9925
|
+
private get resizing();
|
9926
|
+
private get showBackgroundImages();
|
9927
|
+
private get showFavicons();
|
9928
|
+
private get showViewsOnSplitterDrag();
|
9929
|
+
private get showViewsOnTabDrag();
|
9930
|
+
private get showViewsOnWindowResize();
|
9931
|
+
private get container();
|
9932
|
+
get layout(): GoldenLayout.GoldenLayout;
|
9933
|
+
private get layoutConfigToRestore();
|
9903
9934
|
private client;
|
9904
|
-
private container;
|
9905
9935
|
private containerResizeObserver;
|
9906
9936
|
private viewsResizeObserver;
|
9907
|
-
private dragProxy;
|
9908
|
-
private isDragging;
|
9909
|
-
private resizing;
|
9910
|
-
layout: GoldenLayout.GoldenLayout;
|
9911
|
-
private layoutConfigToRestore?;
|
9912
9937
|
readonly ofWindow: OpenFin.Window;
|
9913
9938
|
readonly platform: Platform_2;
|
9914
|
-
private showBackgroundImages;
|
9915
|
-
private showFavicons;
|
9916
|
-
private defaultFaviconUrl;
|
9917
|
-
private showViewsOnWindowResize?;
|
9918
|
-
private showViewsOnSplitterDrag?;
|
9919
|
-
private showViewsOnTabDrag?;
|
9920
|
-
private dropzonePreview?;
|
9921
9939
|
private lastItemDestroyed?;
|
9922
9940
|
private viewsSubscribedTo;
|
9923
|
-
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
9941
|
+
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache, container: HTMLElement);
|
9924
9942
|
getViews: () => OpenFin.LayoutComponent[];
|
9925
9943
|
startReplaceLayout: ({ layout }: {
|
9926
9944
|
layout: GoldenLayout.Config;
|
@@ -15932,7 +15950,7 @@ declare type ViewDetachedEvent = BaseWindowEvent & {
|
|
15932
15950
|
*/
|
15933
15951
|
declare type ViewEvent = (WebContentsEvent<'view'> & {
|
15934
15952
|
target: OpenFin.Identity;
|
15935
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
15953
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
15936
15954
|
|
15937
15955
|
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
15938
15956
|
|
@@ -15946,6 +15964,7 @@ declare namespace ViewEvents {
|
|
15946
15964
|
HiddenEvent,
|
15947
15965
|
HotkeyEvent,
|
15948
15966
|
ShownEvent,
|
15967
|
+
HostContextChangedEvent,
|
15949
15968
|
ViewEvent,
|
15950
15969
|
WillPropagateViewEvent,
|
15951
15970
|
ViewEventType,
|
@@ -18930,6 +18949,7 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
18930
18949
|
BoundsChangedEvent,
|
18931
18950
|
BoundsChangingEvent,
|
18932
18951
|
WindowCloseRequestedEvent,
|
18952
|
+
ContextChangedEvent,
|
18933
18953
|
WindowClosedEvent,
|
18934
18954
|
WindowClosingEvent,
|
18935
18955
|
DisabledMovementBoundsChangedEvent,
|
@@ -19169,7 +19189,7 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
19169
19189
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
19170
19190
|
* from {@link OpenFin.ViewEvents}.
|
19171
19191
|
*/
|
19172
|
-
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;
|
19192
|
+
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;
|
19173
19193
|
|
19174
19194
|
/**
|
19175
19195
|
* Generated when a child window starts loading.
|
@@ -4096,6 +4096,15 @@ declare type Context_3 = {
|
|
4096
4096
|
type: string;
|
4097
4097
|
};
|
4098
4098
|
|
4099
|
+
/**
|
4100
|
+
* Generated when a window's context is updated via {@link Platform#setWindowContext Platform.setWindowContext}. Only available on windows in a Platform.
|
4101
|
+
* @interface
|
4102
|
+
*/
|
4103
|
+
declare type ContextChangedEvent = BaseWindowEvent & {
|
4104
|
+
type: 'context-changed';
|
4105
|
+
context: any;
|
4106
|
+
};
|
4107
|
+
|
4099
4108
|
/**
|
4100
4109
|
* @interface
|
4101
4110
|
*/
|
@@ -6164,6 +6173,17 @@ declare type HiddenEvent = BaseViewEvent & {
|
|
6164
6173
|
type: 'hidden';
|
6165
6174
|
};
|
6166
6175
|
|
6176
|
+
/**
|
6177
|
+
* Generated when the context of a View's host window changes, either due to a call to {@link Platform#setWindowContext Platform.setWindowContext},
|
6178
|
+
* or because the View has moved to a new window. Only available on Views in a Platform.
|
6179
|
+
* @interface
|
6180
|
+
*/
|
6181
|
+
declare type HostContextChangedEvent = BaseViewEvent & {
|
6182
|
+
type: 'host-context-changed';
|
6183
|
+
context: any;
|
6184
|
+
reason: 'reparented' | 'updated';
|
6185
|
+
};
|
6186
|
+
|
6167
6187
|
/**
|
6168
6188
|
* @interface
|
6169
6189
|
*/
|
@@ -9900,27 +9920,25 @@ declare class OpenFinLayout implements OpenFin.LayoutInstance {
|
|
9900
9920
|
private readonly splitterController;
|
9901
9921
|
private readonly tabDragController;
|
9902
9922
|
private readonly layoutContentCache;
|
9923
|
+
private get defaultFaviconUrl();
|
9924
|
+
private get isDragging();
|
9925
|
+
private get resizing();
|
9926
|
+
private get showBackgroundImages();
|
9927
|
+
private get showFavicons();
|
9928
|
+
private get showViewsOnSplitterDrag();
|
9929
|
+
private get showViewsOnTabDrag();
|
9930
|
+
private get showViewsOnWindowResize();
|
9931
|
+
private get container();
|
9932
|
+
get layout(): GoldenLayout.GoldenLayout;
|
9933
|
+
private get layoutConfigToRestore();
|
9903
9934
|
private client;
|
9904
|
-
private container;
|
9905
9935
|
private containerResizeObserver;
|
9906
9936
|
private viewsResizeObserver;
|
9907
|
-
private dragProxy;
|
9908
|
-
private isDragging;
|
9909
|
-
private resizing;
|
9910
|
-
layout: GoldenLayout.GoldenLayout;
|
9911
|
-
private layoutConfigToRestore?;
|
9912
9937
|
readonly ofWindow: OpenFin.Window;
|
9913
9938
|
readonly platform: Platform_2;
|
9914
|
-
private showBackgroundImages;
|
9915
|
-
private showFavicons;
|
9916
|
-
private defaultFaviconUrl;
|
9917
|
-
private showViewsOnWindowResize?;
|
9918
|
-
private showViewsOnSplitterDrag?;
|
9919
|
-
private showViewsOnTabDrag?;
|
9920
|
-
private dropzonePreview?;
|
9921
9939
|
private lastItemDestroyed?;
|
9922
9940
|
private viewsSubscribedTo;
|
9923
|
-
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
9941
|
+
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache, container: HTMLElement);
|
9924
9942
|
getViews: () => OpenFin.LayoutComponent[];
|
9925
9943
|
startReplaceLayout: ({ layout }: {
|
9926
9944
|
layout: GoldenLayout.Config;
|
@@ -15932,7 +15950,7 @@ declare type ViewDetachedEvent = BaseWindowEvent & {
|
|
15932
15950
|
*/
|
15933
15951
|
declare type ViewEvent = (WebContentsEvent<'view'> & {
|
15934
15952
|
target: OpenFin.Identity;
|
15935
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
15953
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
15936
15954
|
|
15937
15955
|
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
15938
15956
|
|
@@ -15946,6 +15964,7 @@ declare namespace ViewEvents {
|
|
15946
15964
|
HiddenEvent,
|
15947
15965
|
HotkeyEvent,
|
15948
15966
|
ShownEvent,
|
15967
|
+
HostContextChangedEvent,
|
15949
15968
|
ViewEvent,
|
15950
15969
|
WillPropagateViewEvent,
|
15951
15970
|
ViewEventType,
|
@@ -18930,6 +18949,7 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
18930
18949
|
BoundsChangedEvent,
|
18931
18950
|
BoundsChangingEvent,
|
18932
18951
|
WindowCloseRequestedEvent,
|
18952
|
+
ContextChangedEvent,
|
18933
18953
|
WindowClosedEvent,
|
18934
18954
|
WindowClosingEvent,
|
18935
18955
|
DisabledMovementBoundsChangedEvent,
|
@@ -19169,7 +19189,7 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
19169
19189
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
19170
19190
|
* from {@link OpenFin.ViewEvents}.
|
19171
19191
|
*/
|
19172
|
-
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;
|
19192
|
+
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;
|
19173
19193
|
|
19174
19194
|
/**
|
19175
19195
|
* Generated when a child window starts loading.
|
@@ -4096,6 +4096,15 @@ declare type Context_3 = {
|
|
4096
4096
|
type: string;
|
4097
4097
|
};
|
4098
4098
|
|
4099
|
+
/**
|
4100
|
+
* Generated when a window's context is updated via {@link Platform#setWindowContext Platform.setWindowContext}. Only available on windows in a Platform.
|
4101
|
+
* @interface
|
4102
|
+
*/
|
4103
|
+
declare type ContextChangedEvent = BaseWindowEvent & {
|
4104
|
+
type: 'context-changed';
|
4105
|
+
context: any;
|
4106
|
+
};
|
4107
|
+
|
4099
4108
|
/**
|
4100
4109
|
* @interface
|
4101
4110
|
*/
|
@@ -6164,6 +6173,17 @@ declare type HiddenEvent = BaseViewEvent & {
|
|
6164
6173
|
type: 'hidden';
|
6165
6174
|
};
|
6166
6175
|
|
6176
|
+
/**
|
6177
|
+
* Generated when the context of a View's host window changes, either due to a call to {@link Platform#setWindowContext Platform.setWindowContext},
|
6178
|
+
* or because the View has moved to a new window. Only available on Views in a Platform.
|
6179
|
+
* @interface
|
6180
|
+
*/
|
6181
|
+
declare type HostContextChangedEvent = BaseViewEvent & {
|
6182
|
+
type: 'host-context-changed';
|
6183
|
+
context: any;
|
6184
|
+
reason: 'reparented' | 'updated';
|
6185
|
+
};
|
6186
|
+
|
6167
6187
|
/**
|
6168
6188
|
* @interface
|
6169
6189
|
*/
|
@@ -9900,27 +9920,25 @@ declare class OpenFinLayout implements OpenFin.LayoutInstance {
|
|
9900
9920
|
private readonly splitterController;
|
9901
9921
|
private readonly tabDragController;
|
9902
9922
|
private readonly layoutContentCache;
|
9923
|
+
private get defaultFaviconUrl();
|
9924
|
+
private get isDragging();
|
9925
|
+
private get resizing();
|
9926
|
+
private get showBackgroundImages();
|
9927
|
+
private get showFavicons();
|
9928
|
+
private get showViewsOnSplitterDrag();
|
9929
|
+
private get showViewsOnTabDrag();
|
9930
|
+
private get showViewsOnWindowResize();
|
9931
|
+
private get container();
|
9932
|
+
get layout(): GoldenLayout.GoldenLayout;
|
9933
|
+
private get layoutConfigToRestore();
|
9903
9934
|
private client;
|
9904
|
-
private container;
|
9905
9935
|
private containerResizeObserver;
|
9906
9936
|
private viewsResizeObserver;
|
9907
|
-
private dragProxy;
|
9908
|
-
private isDragging;
|
9909
|
-
private resizing;
|
9910
|
-
layout: GoldenLayout.GoldenLayout;
|
9911
|
-
private layoutConfigToRestore?;
|
9912
9937
|
readonly ofWindow: OpenFin.Window;
|
9913
9938
|
readonly platform: Platform_2;
|
9914
|
-
private showBackgroundImages;
|
9915
|
-
private showFavicons;
|
9916
|
-
private defaultFaviconUrl;
|
9917
|
-
private showViewsOnWindowResize?;
|
9918
|
-
private showViewsOnSplitterDrag?;
|
9919
|
-
private showViewsOnTabDrag?;
|
9920
|
-
private dropzonePreview?;
|
9921
9939
|
private lastItemDestroyed?;
|
9922
9940
|
private viewsSubscribedTo;
|
9923
|
-
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
9941
|
+
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache, container: HTMLElement);
|
9924
9942
|
getViews: () => OpenFin.LayoutComponent[];
|
9925
9943
|
startReplaceLayout: ({ layout }: {
|
9926
9944
|
layout: GoldenLayout.Config;
|
@@ -15932,7 +15950,7 @@ declare type ViewDetachedEvent = BaseWindowEvent & {
|
|
15932
15950
|
*/
|
15933
15951
|
declare type ViewEvent = (WebContentsEvent<'view'> & {
|
15934
15952
|
target: OpenFin.Identity;
|
15935
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
15953
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
15936
15954
|
|
15937
15955
|
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
15938
15956
|
|
@@ -15946,6 +15964,7 @@ declare namespace ViewEvents {
|
|
15946
15964
|
HiddenEvent,
|
15947
15965
|
HotkeyEvent,
|
15948
15966
|
ShownEvent,
|
15967
|
+
HostContextChangedEvent,
|
15949
15968
|
ViewEvent,
|
15950
15969
|
WillPropagateViewEvent,
|
15951
15970
|
ViewEventType,
|
@@ -18930,6 +18949,7 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
18930
18949
|
BoundsChangedEvent,
|
18931
18950
|
BoundsChangingEvent,
|
18932
18951
|
WindowCloseRequestedEvent,
|
18952
|
+
ContextChangedEvent,
|
18933
18953
|
WindowClosedEvent,
|
18934
18954
|
WindowClosingEvent,
|
18935
18955
|
DisabledMovementBoundsChangedEvent,
|
@@ -19169,7 +19189,7 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
19169
19189
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
19170
19190
|
* from {@link OpenFin.ViewEvents}.
|
19171
19191
|
*/
|
19172
|
-
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;
|
19192
|
+
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;
|
19173
19193
|
|
19174
19194
|
/**
|
19175
19195
|
* Generated when a child window starts loading.
|
package/out/node-adapter.d.ts
CHANGED
@@ -4190,6 +4190,15 @@ declare type Context_3 = {
|
|
4190
4190
|
type: string;
|
4191
4191
|
};
|
4192
4192
|
|
4193
|
+
/**
|
4194
|
+
* Generated when a window's context is updated via {@link Platform#setWindowContext Platform.setWindowContext}. Only available on windows in a Platform.
|
4195
|
+
* @interface
|
4196
|
+
*/
|
4197
|
+
declare type ContextChangedEvent = BaseWindowEvent & {
|
4198
|
+
type: 'context-changed';
|
4199
|
+
context: any;
|
4200
|
+
};
|
4201
|
+
|
4193
4202
|
/**
|
4194
4203
|
* @interface
|
4195
4204
|
*/
|
@@ -6310,6 +6319,17 @@ declare type HiddenEvent = BaseViewEvent & {
|
|
6310
6319
|
type: 'hidden';
|
6311
6320
|
};
|
6312
6321
|
|
6322
|
+
/**
|
6323
|
+
* Generated when the context of a View's host window changes, either due to a call to {@link Platform#setWindowContext Platform.setWindowContext},
|
6324
|
+
* or because the View has moved to a new window. Only available on Views in a Platform.
|
6325
|
+
* @interface
|
6326
|
+
*/
|
6327
|
+
declare type HostContextChangedEvent = BaseViewEvent & {
|
6328
|
+
type: 'host-context-changed';
|
6329
|
+
context: any;
|
6330
|
+
reason: 'reparented' | 'updated';
|
6331
|
+
};
|
6332
|
+
|
6313
6333
|
/**
|
6314
6334
|
* @interface
|
6315
6335
|
*/
|
@@ -10355,27 +10375,25 @@ declare class OpenFinLayout implements OpenFin.LayoutInstance {
|
|
10355
10375
|
private readonly splitterController;
|
10356
10376
|
private readonly tabDragController;
|
10357
10377
|
private readonly layoutContentCache;
|
10378
|
+
private get defaultFaviconUrl();
|
10379
|
+
private get isDragging();
|
10380
|
+
private get resizing();
|
10381
|
+
private get showBackgroundImages();
|
10382
|
+
private get showFavicons();
|
10383
|
+
private get showViewsOnSplitterDrag();
|
10384
|
+
private get showViewsOnTabDrag();
|
10385
|
+
private get showViewsOnWindowResize();
|
10386
|
+
private get container();
|
10387
|
+
get layout(): GoldenLayout.GoldenLayout;
|
10388
|
+
private get layoutConfigToRestore();
|
10358
10389
|
private client;
|
10359
|
-
private container;
|
10360
10390
|
private containerResizeObserver;
|
10361
10391
|
private viewsResizeObserver;
|
10362
|
-
private dragProxy;
|
10363
|
-
private isDragging;
|
10364
|
-
private resizing;
|
10365
|
-
layout: GoldenLayout.GoldenLayout;
|
10366
|
-
private layoutConfigToRestore?;
|
10367
10392
|
readonly ofWindow: OpenFin.Window;
|
10368
10393
|
readonly platform: Platform_2;
|
10369
|
-
private showBackgroundImages;
|
10370
|
-
private showFavicons;
|
10371
|
-
private defaultFaviconUrl;
|
10372
|
-
private showViewsOnWindowResize?;
|
10373
|
-
private showViewsOnSplitterDrag?;
|
10374
|
-
private showViewsOnTabDrag?;
|
10375
|
-
private dropzonePreview?;
|
10376
10394
|
private lastItemDestroyed?;
|
10377
10395
|
private viewsSubscribedTo;
|
10378
|
-
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache);
|
10396
|
+
constructor(splitterController: SplitterController, tabDragController: TabDragController, layoutContentCache: LayoutContentCache, container: HTMLElement);
|
10379
10397
|
getViews: () => OpenFin.LayoutComponent[];
|
10380
10398
|
startReplaceLayout: ({ layout }: {
|
10381
10399
|
layout: GoldenLayout.Config;
|
@@ -16560,7 +16578,7 @@ declare type ViewDetachedEvent = BaseWindowEvent & {
|
|
16560
16578
|
*/
|
16561
16579
|
declare type ViewEvent = (WebContentsEvent<'view'> & {
|
16562
16580
|
target: OpenFin.Identity;
|
16563
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
16581
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
16564
16582
|
|
16565
16583
|
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
16566
16584
|
|
@@ -16574,6 +16592,7 @@ declare namespace ViewEvents {
|
|
16574
16592
|
HiddenEvent,
|
16575
16593
|
HotkeyEvent,
|
16576
16594
|
ShownEvent,
|
16595
|
+
HostContextChangedEvent,
|
16577
16596
|
ViewEvent,
|
16578
16597
|
WillPropagateViewEvent,
|
16579
16598
|
ViewEventType,
|
@@ -19642,6 +19661,7 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
19642
19661
|
BoundsChangedEvent,
|
19643
19662
|
BoundsChangingEvent,
|
19644
19663
|
WindowCloseRequestedEvent,
|
19664
|
+
ContextChangedEvent,
|
19645
19665
|
WindowClosedEvent,
|
19646
19666
|
WindowClosingEvent,
|
19647
19667
|
DisabledMovementBoundsChangedEvent,
|
@@ -19881,7 +19901,7 @@ declare class _Window extends WebContents<OpenFin.WindowEvent> {
|
|
19881
19901
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
19882
19902
|
* from {@link OpenFin.ViewEvents}.
|
19883
19903
|
*/
|
19884
|
-
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;
|
19904
|
+
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;
|
19885
19905
|
|
19886
19906
|
/**
|
19887
19907
|
* Generated when a child window starts loading.
|