@openfin/core 34.78.45 → 34.78.48
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 +32 -10
- package/out/mock-beta.d.ts +32 -10
- package/out/mock-public.d.ts +32 -10
- package/out/mock.d.ts +32 -10
- 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,23 +9910,23 @@ 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();
|
|
9893
9921
|
private client;
|
|
9894
9922
|
private container;
|
|
9895
9923
|
private containerResizeObserver;
|
|
9896
9924
|
private viewsResizeObserver;
|
|
9897
9925
|
private dragProxy;
|
|
9898
|
-
private isDragging;
|
|
9899
|
-
private resizing;
|
|
9900
9926
|
layout: GoldenLayout.GoldenLayout;
|
|
9901
9927
|
private layoutConfigToRestore?;
|
|
9902
9928
|
readonly ofWindow: OpenFin_2.Window;
|
|
9903
9929
|
readonly platform: Platform_2;
|
|
9904
|
-
private showBackgroundImages;
|
|
9905
|
-
private showFavicons;
|
|
9906
|
-
private defaultFaviconUrl;
|
|
9907
|
-
private showViewsOnWindowResize?;
|
|
9908
|
-
private showViewsOnSplitterDrag?;
|
|
9909
|
-
private showViewsOnTabDrag?;
|
|
9910
9930
|
private dropzonePreview?;
|
|
9911
9931
|
private lastItemDestroyed?;
|
|
9912
9932
|
private viewsSubscribedTo;
|
|
@@ -15922,7 +15942,7 @@ declare type ViewDetachedEvent = BaseWindowEvent & {
|
|
|
15922
15942
|
*/
|
|
15923
15943
|
declare type ViewEvent = (WebContentsEvent<'view'> & {
|
|
15924
15944
|
target: OpenFin_2.Identity;
|
|
15925
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
15945
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
15926
15946
|
|
|
15927
15947
|
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
|
15928
15948
|
|
|
@@ -15936,6 +15956,7 @@ declare namespace ViewEvents {
|
|
|
15936
15956
|
HiddenEvent,
|
|
15937
15957
|
HotkeyEvent,
|
|
15938
15958
|
ShownEvent,
|
|
15959
|
+
HostContextChangedEvent,
|
|
15939
15960
|
ViewEvent,
|
|
15940
15961
|
WillPropagateViewEvent,
|
|
15941
15962
|
ViewEventType,
|
|
@@ -18920,6 +18941,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
18920
18941
|
BoundsChangedEvent,
|
|
18921
18942
|
BoundsChangingEvent,
|
|
18922
18943
|
WindowCloseRequestedEvent,
|
|
18944
|
+
ContextChangedEvent,
|
|
18923
18945
|
WindowClosedEvent,
|
|
18924
18946
|
WindowClosingEvent,
|
|
18925
18947
|
DisabledMovementBoundsChangedEvent,
|
|
@@ -19159,7 +19181,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
19159
19181
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
|
19160
19182
|
* from {@link OpenFin.ViewEvents}.
|
|
19161
19183
|
*/
|
|
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;
|
|
19184
|
+
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
19185
|
|
|
19164
19186
|
/**
|
|
19165
19187
|
* 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,23 +9910,23 @@ 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();
|
|
9893
9921
|
private client;
|
|
9894
9922
|
private container;
|
|
9895
9923
|
private containerResizeObserver;
|
|
9896
9924
|
private viewsResizeObserver;
|
|
9897
9925
|
private dragProxy;
|
|
9898
|
-
private isDragging;
|
|
9899
|
-
private resizing;
|
|
9900
9926
|
layout: GoldenLayout.GoldenLayout;
|
|
9901
9927
|
private layoutConfigToRestore?;
|
|
9902
9928
|
readonly ofWindow: OpenFin_2.Window;
|
|
9903
9929
|
readonly platform: Platform_2;
|
|
9904
|
-
private showBackgroundImages;
|
|
9905
|
-
private showFavicons;
|
|
9906
|
-
private defaultFaviconUrl;
|
|
9907
|
-
private showViewsOnWindowResize?;
|
|
9908
|
-
private showViewsOnSplitterDrag?;
|
|
9909
|
-
private showViewsOnTabDrag?;
|
|
9910
9930
|
private dropzonePreview?;
|
|
9911
9931
|
private lastItemDestroyed?;
|
|
9912
9932
|
private viewsSubscribedTo;
|
|
@@ -15922,7 +15942,7 @@ declare type ViewDetachedEvent = BaseWindowEvent & {
|
|
|
15922
15942
|
*/
|
|
15923
15943
|
declare type ViewEvent = (WebContentsEvent<'view'> & {
|
|
15924
15944
|
target: OpenFin_2.Identity;
|
|
15925
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
15945
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
15926
15946
|
|
|
15927
15947
|
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
|
15928
15948
|
|
|
@@ -15936,6 +15956,7 @@ declare namespace ViewEvents {
|
|
|
15936
15956
|
HiddenEvent,
|
|
15937
15957
|
HotkeyEvent,
|
|
15938
15958
|
ShownEvent,
|
|
15959
|
+
HostContextChangedEvent,
|
|
15939
15960
|
ViewEvent,
|
|
15940
15961
|
WillPropagateViewEvent,
|
|
15941
15962
|
ViewEventType,
|
|
@@ -18920,6 +18941,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
18920
18941
|
BoundsChangedEvent,
|
|
18921
18942
|
BoundsChangingEvent,
|
|
18922
18943
|
WindowCloseRequestedEvent,
|
|
18944
|
+
ContextChangedEvent,
|
|
18923
18945
|
WindowClosedEvent,
|
|
18924
18946
|
WindowClosingEvent,
|
|
18925
18947
|
DisabledMovementBoundsChangedEvent,
|
|
@@ -19159,7 +19181,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
19159
19181
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
|
19160
19182
|
* from {@link OpenFin.ViewEvents}.
|
|
19161
19183
|
*/
|
|
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;
|
|
19184
|
+
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
19185
|
|
|
19164
19186
|
/**
|
|
19165
19187
|
* 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,23 +9910,23 @@ 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();
|
|
9893
9921
|
private client;
|
|
9894
9922
|
private container;
|
|
9895
9923
|
private containerResizeObserver;
|
|
9896
9924
|
private viewsResizeObserver;
|
|
9897
9925
|
private dragProxy;
|
|
9898
|
-
private isDragging;
|
|
9899
|
-
private resizing;
|
|
9900
9926
|
layout: GoldenLayout.GoldenLayout;
|
|
9901
9927
|
private layoutConfigToRestore?;
|
|
9902
9928
|
readonly ofWindow: OpenFin_2.Window;
|
|
9903
9929
|
readonly platform: Platform_2;
|
|
9904
|
-
private showBackgroundImages;
|
|
9905
|
-
private showFavicons;
|
|
9906
|
-
private defaultFaviconUrl;
|
|
9907
|
-
private showViewsOnWindowResize?;
|
|
9908
|
-
private showViewsOnSplitterDrag?;
|
|
9909
|
-
private showViewsOnTabDrag?;
|
|
9910
9930
|
private dropzonePreview?;
|
|
9911
9931
|
private lastItemDestroyed?;
|
|
9912
9932
|
private viewsSubscribedTo;
|
|
@@ -15922,7 +15942,7 @@ declare type ViewDetachedEvent = BaseWindowEvent & {
|
|
|
15922
15942
|
*/
|
|
15923
15943
|
declare type ViewEvent = (WebContentsEvent<'view'> & {
|
|
15924
15944
|
target: OpenFin_2.Identity;
|
|
15925
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
15945
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
15926
15946
|
|
|
15927
15947
|
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
|
15928
15948
|
|
|
@@ -15936,6 +15956,7 @@ declare namespace ViewEvents {
|
|
|
15936
15956
|
HiddenEvent,
|
|
15937
15957
|
HotkeyEvent,
|
|
15938
15958
|
ShownEvent,
|
|
15959
|
+
HostContextChangedEvent,
|
|
15939
15960
|
ViewEvent,
|
|
15940
15961
|
WillPropagateViewEvent,
|
|
15941
15962
|
ViewEventType,
|
|
@@ -18920,6 +18941,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
18920
18941
|
BoundsChangedEvent,
|
|
18921
18942
|
BoundsChangingEvent,
|
|
18922
18943
|
WindowCloseRequestedEvent,
|
|
18944
|
+
ContextChangedEvent,
|
|
18923
18945
|
WindowClosedEvent,
|
|
18924
18946
|
WindowClosingEvent,
|
|
18925
18947
|
DisabledMovementBoundsChangedEvent,
|
|
@@ -19159,7 +19181,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
19159
19181
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
|
19160
19182
|
* from {@link OpenFin.ViewEvents}.
|
|
19161
19183
|
*/
|
|
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;
|
|
19184
|
+
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
19185
|
|
|
19164
19186
|
/**
|
|
19165
19187
|
* 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,23 +10343,23 @@ 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();
|
|
10326
10354
|
private client;
|
|
10327
10355
|
private container;
|
|
10328
10356
|
private containerResizeObserver;
|
|
10329
10357
|
private viewsResizeObserver;
|
|
10330
10358
|
private dragProxy;
|
|
10331
|
-
private isDragging;
|
|
10332
|
-
private resizing;
|
|
10333
10359
|
layout: GoldenLayout.GoldenLayout;
|
|
10334
10360
|
private layoutConfigToRestore?;
|
|
10335
10361
|
readonly ofWindow: OpenFin_2.Window;
|
|
10336
10362
|
readonly platform: Platform_2;
|
|
10337
|
-
private showBackgroundImages;
|
|
10338
|
-
private showFavicons;
|
|
10339
|
-
private defaultFaviconUrl;
|
|
10340
|
-
private showViewsOnWindowResize?;
|
|
10341
|
-
private showViewsOnSplitterDrag?;
|
|
10342
|
-
private showViewsOnTabDrag?;
|
|
10343
10363
|
private dropzonePreview?;
|
|
10344
10364
|
private lastItemDestroyed?;
|
|
10345
10365
|
private viewsSubscribedTo;
|
|
@@ -16528,7 +16548,7 @@ declare type ViewDetachedEvent = BaseWindowEvent & {
|
|
|
16528
16548
|
*/
|
|
16529
16549
|
declare type ViewEvent = (WebContentsEvent<'view'> & {
|
|
16530
16550
|
target: OpenFin_2.Identity;
|
|
16531
|
-
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent;
|
|
16551
|
+
}) | CreatedEvent | DestroyedEvent | HiddenEvent | HotkeyEvent | ShownEvent | TargetChangedEvent | HostContextChangedEvent;
|
|
16532
16552
|
|
|
16533
16553
|
declare type ViewEvent_2 = Events.ViewEvents.ViewEvent;
|
|
16534
16554
|
|
|
@@ -16542,6 +16562,7 @@ declare namespace ViewEvents {
|
|
|
16542
16562
|
HiddenEvent,
|
|
16543
16563
|
HotkeyEvent,
|
|
16544
16564
|
ShownEvent,
|
|
16565
|
+
HostContextChangedEvent,
|
|
16545
16566
|
ViewEvent,
|
|
16546
16567
|
WillPropagateViewEvent,
|
|
16547
16568
|
ViewEventType,
|
|
@@ -19610,6 +19631,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
19610
19631
|
BoundsChangedEvent,
|
|
19611
19632
|
BoundsChangingEvent,
|
|
19612
19633
|
WindowCloseRequestedEvent,
|
|
19634
|
+
ContextChangedEvent,
|
|
19613
19635
|
WindowClosedEvent,
|
|
19614
19636
|
WindowClosingEvent,
|
|
19615
19637
|
DisabledMovementBoundsChangedEvent,
|
|
@@ -19849,7 +19871,7 @@ declare class _Window extends WebContents<OpenFin_2.WindowEvent> {
|
|
|
19849
19871
|
* A union of all events that emit natively on the `Window` topic, i.e. excluding those that propagate
|
|
19850
19872
|
* from {@link OpenFin.ViewEvents}.
|
|
19851
19873
|
*/
|
|
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;
|
|
19874
|
+
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
19875
|
|
|
19854
19876
|
/**
|
|
19855
19877
|
* Generated when a child window starts loading.
|