@kep-platform/basic-component 0.0.51 → 0.0.52
Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,7 @@ export declare const Column: import("styled-components/dist/types").IStyledCompo
|
|
14
14
|
title?: React.ReactNode;
|
15
15
|
index?: number | undefined;
|
16
16
|
itemRender?: ListItemRender | undefined;
|
17
|
-
} & Omit<React.HtmlHTMLAttributes<HTMLLIElement>, "title">, Omit<ColumnType, "
|
17
|
+
} & Omit<React.HtmlHTMLAttributes<HTMLLIElement>, "title">, Omit<ColumnType, "render" | "dataIndex"> & {
|
18
18
|
key: React.Key;
|
19
19
|
title?: React.ReactNode;
|
20
20
|
index?: number | undefined;
|
@@ -15,6 +15,15 @@ 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;
|
18
27
|
} | {
|
19
28
|
left: string;
|
20
29
|
top: string;
|
@@ -70,10 +70,10 @@ 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
|
74
|
-
height: this.fullscreenPos.height
|
73
|
+
width: this.fullscreenPos.width + 'px',
|
74
|
+
height: this.fullscreenPos.height + 'px',
|
75
|
+
// transform: `scale(${1 / this.viewPortStore.scale})`,
|
75
76
|
zIndex: this.zIndex,
|
76
|
-
transform: "scale(".concat(1 / this.viewPortStore.scale, ")"),
|
77
77
|
transformOrigin: 'left top',
|
78
78
|
transition: 'width height 0.5s ease-out'
|
79
79
|
};
|
@@ -157,6 +157,7 @@ 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;
|
160
161
|
func === null || func === void 0 || func();
|
161
162
|
this.fullscreenPos = this.viewPortStore.viewPortRect;
|
162
163
|
}
|
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.52",
|
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.52",
|
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": "76a464cda0951e66bccbed12b9374d6358338950"
|
91
91
|
}
|