@openfin/core 41.100.112 → 41.100.113

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.
@@ -72,6 +72,10 @@ declare type AddViewToStackOptions = {
72
72
  * Optional index within the stack to insert the view. Defaults to 0
73
73
  */
74
74
  index?: number;
75
+ /**
76
+ * How the view should be displayed in the stack. Defaults to 'focused'
77
+ */
78
+ displayState?: 'focused' | 'background';
75
79
  };
76
80
 
77
81
  /**
@@ -4256,8 +4260,7 @@ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4256
4260
  */
4257
4261
  location?: {
4258
4262
  id: string;
4259
- index?: number;
4260
- };
4263
+ } & AddViewToStackOptions;
4261
4264
  };
4262
4265
 
4263
4266
  /**
@@ -8119,9 +8122,7 @@ declare type LayoutEntitiesController = {
8119
8122
  getParent: (id: string) => OpenFin_2.LayoutEntityDefinition | undefined;
8120
8123
  isRoot: (id: string) => boolean;
8121
8124
  exists: (entityId: string) => boolean;
8122
- addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: {
8123
- index?: number;
8124
- }) => Promise<OpenFin_2.Identity>;
8125
+ addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: OpenFin_2.AddViewToStackOptions) => Promise<OpenFin_2.Identity>;
8125
8126
  removeViewFromStack: (stackEntityId: string, view: OpenFin_2.Identity) => Promise<void>;
8126
8127
  createAdjacentStack: (targetId: string, views: ViewCreationOrReference[], stackCreationOptions?: {
8127
8128
  position?: OpenFin_2.LayoutPosition;
@@ -72,6 +72,10 @@ declare type AddViewToStackOptions = {
72
72
  * Optional index within the stack to insert the view. Defaults to 0
73
73
  */
74
74
  index?: number;
75
+ /**
76
+ * How the view should be displayed in the stack. Defaults to 'focused'
77
+ */
78
+ displayState?: 'focused' | 'background';
75
79
  };
76
80
 
77
81
  /**
@@ -4256,8 +4260,7 @@ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4256
4260
  */
4257
4261
  location?: {
4258
4262
  id: string;
4259
- index?: number;
4260
- };
4263
+ } & AddViewToStackOptions;
4261
4264
  };
4262
4265
 
4263
4266
  /**
@@ -8119,9 +8122,7 @@ declare type LayoutEntitiesController = {
8119
8122
  getParent: (id: string) => OpenFin_2.LayoutEntityDefinition | undefined;
8120
8123
  isRoot: (id: string) => boolean;
8121
8124
  exists: (entityId: string) => boolean;
8122
- addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: {
8123
- index?: number;
8124
- }) => Promise<OpenFin_2.Identity>;
8125
+ addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: OpenFin_2.AddViewToStackOptions) => Promise<OpenFin_2.Identity>;
8125
8126
  removeViewFromStack: (stackEntityId: string, view: OpenFin_2.Identity) => Promise<void>;
8126
8127
  createAdjacentStack: (targetId: string, views: ViewCreationOrReference[], stackCreationOptions?: {
8127
8128
  position?: OpenFin_2.LayoutPosition;
@@ -72,6 +72,10 @@ declare type AddViewToStackOptions = {
72
72
  * Optional index within the stack to insert the view. Defaults to 0
73
73
  */
74
74
  index?: number;
75
+ /**
76
+ * How the view should be displayed in the stack. Defaults to 'focused'
77
+ */
78
+ displayState?: 'focused' | 'background';
75
79
  };
76
80
 
77
81
  /**
@@ -4256,8 +4260,7 @@ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4256
4260
  */
4257
4261
  location?: {
4258
4262
  id: string;
4259
- index?: number;
4260
- };
4263
+ } & AddViewToStackOptions;
4261
4264
  };
4262
4265
 
4263
4266
  /**
@@ -8119,9 +8122,7 @@ declare type LayoutEntitiesController = {
8119
8122
  getParent: (id: string) => OpenFin_2.LayoutEntityDefinition | undefined;
8120
8123
  isRoot: (id: string) => boolean;
8121
8124
  exists: (entityId: string) => boolean;
8122
- addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: {
8123
- index?: number;
8124
- }) => Promise<OpenFin_2.Identity>;
8125
+ addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: OpenFin_2.AddViewToStackOptions) => Promise<OpenFin_2.Identity>;
8125
8126
  removeViewFromStack: (stackEntityId: string, view: OpenFin_2.Identity) => Promise<void>;
8126
8127
  createAdjacentStack: (targetId: string, views: ViewCreationOrReference[], stackCreationOptions?: {
8127
8128
  position?: OpenFin_2.LayoutPosition;
package/out/stub.d.ts CHANGED
@@ -72,6 +72,10 @@ declare type AddViewToStackOptions = {
72
72
  * Optional index within the stack to insert the view. Defaults to 0
73
73
  */
74
74
  index?: number;
75
+ /**
76
+ * How the view should be displayed in the stack. Defaults to 'focused'
77
+ */
78
+ displayState?: 'focused' | 'background';
75
79
  };
76
80
 
77
81
  /**
@@ -4315,8 +4319,7 @@ declare type CreateViewTarget = (Identity_4 | LayoutIdentity) & {
4315
4319
  */
4316
4320
  location?: {
4317
4321
  id: string;
4318
- index?: number;
4319
- };
4322
+ } & AddViewToStackOptions;
4320
4323
  };
4321
4324
 
4322
4325
  /**
@@ -8245,9 +8248,7 @@ declare type LayoutEntitiesController = {
8245
8248
  getParent: (id: string) => OpenFin_2.LayoutEntityDefinition | undefined;
8246
8249
  isRoot: (id: string) => boolean;
8247
8250
  exists: (entityId: string) => boolean;
8248
- addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: {
8249
- index?: number;
8250
- }) => Promise<OpenFin_2.Identity>;
8251
+ addViewToStack: (stackEntityId: string, viewCreationOrReference: ViewCreationOrReference, viewInsertionOptions?: OpenFin_2.AddViewToStackOptions) => Promise<OpenFin_2.Identity>;
8251
8252
  removeViewFromStack: (stackEntityId: string, view: OpenFin_2.Identity) => Promise<void>;
8252
8253
  createAdjacentStack: (targetId: string, views: ViewCreationOrReference[], stackCreationOptions?: {
8253
8254
  position?: OpenFin_2.LayoutPosition;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openfin/core",
3
- "version": "41.100.112",
3
+ "version": "41.100.113",
4
4
  "description": "The core renderer entry point of OpenFin",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "out/stub.js",