@netless/window-manager 1.0.7-beta.6 → 1.0.7-beta.7
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/dist/index.d.ts +15 -0
- package/dist/index.js +14 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +157 -24
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/App/AppProxy.ts +22 -3
- package/src/AppManager.ts +3 -0
- package/src/AttributesDelegate.ts +8 -1
- package/src/BoxManager.ts +9 -0
- package/src/index.ts +24 -0
package/dist/index.d.ts
CHANGED
|
@@ -505,6 +505,9 @@ type CreateBoxParams = {
|
|
|
505
505
|
canOperate?: boolean;
|
|
506
506
|
smartPosition?: boolean;
|
|
507
507
|
boxStatus?: TeleBoxState;
|
|
508
|
+
forceTop?: boolean;
|
|
509
|
+
forceNormal?: boolean;
|
|
510
|
+
isDragContent?: boolean;
|
|
508
511
|
};
|
|
509
512
|
type AppId = {
|
|
510
513
|
appId: string;
|
|
@@ -1180,6 +1183,9 @@ type AddAppParams<TAttributes = any> = {
|
|
|
1180
1183
|
src?: string;
|
|
1181
1184
|
options?: AddAppOptions;
|
|
1182
1185
|
attributes?: TAttributes;
|
|
1186
|
+
forceTop?: boolean;
|
|
1187
|
+
forceNormal?: boolean;
|
|
1188
|
+
isDragContent?: boolean;
|
|
1183
1189
|
};
|
|
1184
1190
|
type BaseInsertParams = {
|
|
1185
1191
|
kind: string;
|
|
@@ -1187,6 +1193,9 @@ type BaseInsertParams = {
|
|
|
1187
1193
|
options?: AddAppOptions;
|
|
1188
1194
|
attributes?: any;
|
|
1189
1195
|
isDynamicPPT?: boolean;
|
|
1196
|
+
forceTop?: boolean;
|
|
1197
|
+
forceNormal?: boolean;
|
|
1198
|
+
isDragContent?: boolean;
|
|
1190
1199
|
};
|
|
1191
1200
|
type AppSyncAttributes = {
|
|
1192
1201
|
kind: string;
|
|
@@ -1196,6 +1205,9 @@ type AppSyncAttributes = {
|
|
|
1196
1205
|
isDynamicPPT?: boolean;
|
|
1197
1206
|
fullPath?: string;
|
|
1198
1207
|
createdAt?: number;
|
|
1208
|
+
forceTop?: boolean;
|
|
1209
|
+
forceNormal?: boolean;
|
|
1210
|
+
isDragContent?: boolean;
|
|
1199
1211
|
};
|
|
1200
1212
|
type AppInitState = {
|
|
1201
1213
|
id: string;
|
|
@@ -1214,6 +1226,9 @@ type AppInitState = {
|
|
|
1214
1226
|
boxStatus?: TeleBoxState;
|
|
1215
1227
|
/** 上次非最小化窗口状态 */
|
|
1216
1228
|
lastNotMinimizedBoxStatus?: NotMinimizedBoxState;
|
|
1229
|
+
forceTop?: boolean;
|
|
1230
|
+
forceNormal?: boolean;
|
|
1231
|
+
isDragContent?: boolean;
|
|
1217
1232
|
};
|
|
1218
1233
|
type CursorMovePayload = {
|
|
1219
1234
|
uid: string;
|