@leafer-ui/app 1.1.2 → 1.2.1
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/package.json +6 -6
- package/src/App.ts +2 -2
- package/types/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leafer-ui/app",
|
|
3
|
-
"version": "1.1
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "@leafer-ui/app",
|
|
5
5
|
"author": "Chao (Leafer) Wan",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"leaferjs"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@leafer/core": "1.1
|
|
26
|
-
"@leafer-ui/display": "1.1
|
|
27
|
-
"@leafer-ui/data": "1.1
|
|
25
|
+
"@leafer/core": "1.2.1",
|
|
26
|
+
"@leafer-ui/display": "1.2.1",
|
|
27
|
+
"@leafer-ui/data": "1.2.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@leafer/interface": "1.1
|
|
31
|
-
"@leafer-ui/interface": "1.1
|
|
30
|
+
"@leafer/interface": "1.2.1",
|
|
31
|
+
"@leafer-ui/interface": "1.2.1"
|
|
32
32
|
}
|
|
33
33
|
}
|
package/src/App.ts
CHANGED
|
@@ -69,8 +69,8 @@ export class App extends Leafer implements IApp {
|
|
|
69
69
|
this.children.forEach(leafer => leafer.lockLayout())
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
override forceRender(bounds?: IBoundsData): void {
|
|
73
|
-
this.children.forEach(leafer => leafer.forceRender(bounds))
|
|
72
|
+
override forceRender(bounds?: IBoundsData, sync?: boolean): void {
|
|
73
|
+
this.children.forEach(leafer => leafer.forceRender(bounds, sync))
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
public addLeafer(merge?: ILeaferConfig): Leafer {
|
package/types/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ declare class App extends Leafer implements IApp {
|
|
|
18
18
|
stop(): void;
|
|
19
19
|
unlockLayout(): void;
|
|
20
20
|
lockLayout(): void;
|
|
21
|
-
forceRender(bounds?: IBoundsData): void;
|
|
21
|
+
forceRender(bounds?: IBoundsData, sync?: boolean): void;
|
|
22
22
|
addLeafer(merge?: ILeaferConfig): Leafer;
|
|
23
23
|
add(leafer: ILeafer, index?: number): void;
|
|
24
24
|
protected __onPropertyChange(): void;
|