@interopio/workspaces-api 4.2.4 → 4.2.8-next.0
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/changelog.md +187 -181
- package/dist/workspaces.es.js +3 -2
- package/dist/workspaces.es.js.map +1 -1
- package/dist/workspaces.umd.js +3 -2
- package/dist/workspaces.umd.js.map +1 -1
- package/dist/workspaces.umd.min.js +1 -1
- package/package.json +3 -4
- package/readme.md +78 -4
- package/workspaces.d.ts +8 -5
- package/LICENSE +0 -21
package/workspaces.d.ts
CHANGED
|
@@ -105,6 +105,8 @@ export namespace IOConnectWorkspaces {
|
|
|
105
105
|
title?: string;
|
|
106
106
|
/** The context of the window used when restoring the window */
|
|
107
107
|
context?: any;
|
|
108
|
+
/** Id used for correlating window instances to layout objects */
|
|
109
|
+
instanceId?: string;
|
|
108
110
|
}
|
|
109
111
|
|
|
110
112
|
/** An object describing a window definition in a workspace layout. */
|
|
@@ -304,11 +306,11 @@ export namespace IOConnectWorkspaces {
|
|
|
304
306
|
}
|
|
305
307
|
|
|
306
308
|
/**
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
309
|
+
* The loading strategy for opening new Workspaces.
|
|
310
|
+
* Use `"direct"` to make all windows participating in the Workspace to start loading at the same time as soon as the Workspace loads.
|
|
311
|
+
* Use `"delayed"` to make only the visible, active, and selected windows to start loading when the Workspace loads. The rest of the windows will be loaded gradually after that.
|
|
312
|
+
* Use `"lazy"` to make only the visible, active, and selected windows to start loading when the Workspace loads. The rest of the windows will start loading only when the user selects them.
|
|
313
|
+
*/
|
|
312
314
|
export type LoadingStrategy = "direct" | "delayed" | "lazy";
|
|
313
315
|
|
|
314
316
|
/** An object which represent a workspace element. This is an element can be a box or a workspace window. */
|
|
@@ -2555,3 +2557,4 @@ export namespace IOConnectWorkspaces {
|
|
|
2555
2557
|
|
|
2556
2558
|
|
|
2557
2559
|
|
|
2560
|
+
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020 Tick42
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|