@kep-platform/basic-component 0.0.52 → 0.0.53
Sign up to get free protection for your applications and to get access to all the features.
@@ -15,15 +15,6 @@ export declare class ViewPortWindowStore extends WindowStore {
|
|
15
15
|
transform: string;
|
16
16
|
transformOrigin: string;
|
17
17
|
transition: string;
|
18
|
-
} | {
|
19
|
-
left: string;
|
20
|
-
top: string;
|
21
|
-
width: string;
|
22
|
-
height: string;
|
23
|
-
zIndex: number;
|
24
|
-
transformOrigin: string;
|
25
|
-
transition: string;
|
26
|
-
transform?: undefined;
|
27
18
|
} | {
|
28
19
|
left: string;
|
29
20
|
top: string;
|
@@ -70,9 +70,9 @@ export var ViewPortWindowStore = /*#__PURE__*/function (_WindowStore) {
|
|
70
70
|
return {
|
71
71
|
left: this.fullscreenPos.left + 'px',
|
72
72
|
top: this.fullscreenPos.top + 'px',
|
73
|
-
width: this.fullscreenPos.width + 'px',
|
74
|
-
height: this.fullscreenPos.height + 'px',
|
75
|
-
|
73
|
+
width: this.fullscreenPos.width * this.viewPortStore.scale + 'px',
|
74
|
+
height: this.fullscreenPos.height * this.viewPortStore.scale + 'px',
|
75
|
+
transform: "scale(".concat(1 / this.viewPortStore.scale, ")"),
|
76
76
|
zIndex: this.zIndex,
|
77
77
|
transformOrigin: 'left top',
|
78
78
|
transition: 'width height 0.5s ease-out'
|
@@ -157,7 +157,6 @@ export var ViewPortWindowStore = /*#__PURE__*/function (_WindowStore) {
|
|
157
157
|
value: function fullscreenWindow(func) {
|
158
158
|
this.resetState();
|
159
159
|
this.fullscreen = true;
|
160
|
-
this.viewPortStore.scale = 1;
|
161
160
|
func === null || func === void 0 || func();
|
162
161
|
this.fullscreenPos = this.viewPortStore.viewPortRect;
|
163
162
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kep-platform/basic-component",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.53",
|
4
4
|
"description": "A react library developed with dumi",
|
5
5
|
"license": "MIT",
|
6
6
|
"module": "dist/index.js",
|
@@ -47,7 +47,7 @@
|
|
47
47
|
},
|
48
48
|
"dependencies": {
|
49
49
|
"@ant-design/icons": "^5.3.7",
|
50
|
-
"@kep-platform/hooks": "^0.0.
|
50
|
+
"@kep-platform/hooks": "^0.0.53",
|
51
51
|
"color": "^4.2.3",
|
52
52
|
"rc-pagination": "^4.1.0"
|
53
53
|
},
|
@@ -87,5 +87,5 @@
|
|
87
87
|
"authors": [
|
88
88
|
"less-step-jss 1599925910@qq.com"
|
89
89
|
],
|
90
|
-
"gitHead": "
|
90
|
+
"gitHead": "3d5f6e11df52330a069fc1f4d5198084980af3bb"
|
91
91
|
}
|