ts-glitter 13.8.741 → 13.8.742
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/lowcode/Entry.js
CHANGED
|
@@ -68,7 +68,7 @@ export class Entry {
|
|
|
68
68
|
}
|
|
69
69
|
window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
|
|
70
70
|
console.log(`Entry-time:`, window.renderClock.stop());
|
|
71
|
-
glitter.share.editerVersion = 'V_13.8.
|
|
71
|
+
glitter.share.editerVersion = 'V_13.8.742';
|
|
72
72
|
glitter.share.start = new Date();
|
|
73
73
|
const vm = {
|
|
74
74
|
appConfig: [],
|
package/lowcode/Entry.ts
CHANGED
|
@@ -68,7 +68,7 @@ export class Entry {
|
|
|
68
68
|
}
|
|
69
69
|
(window as any).renderClock = (window as any).renderClock ?? clockF();
|
|
70
70
|
console.log(`Entry-time:`, (window as any).renderClock.stop());
|
|
71
|
-
glitter.share.editerVersion = 'V_13.8.
|
|
71
|
+
glitter.share.editerVersion = 'V_13.8.742';
|
|
72
72
|
glitter.share.start = new Date();
|
|
73
73
|
const vm: {
|
|
74
74
|
appConfig: any;
|
|
@@ -1041,14 +1041,14 @@ export class Main_editor {
|
|
|
1041
1041
|
gvc.glitter.share.resetCenterFrame = (scale) => {
|
|
1042
1042
|
const container_width = (() => {
|
|
1043
1043
|
if (Storage.view_type === ViewType.mobile) {
|
|
1044
|
-
return (document.body.clientWidth >
|
|
1044
|
+
return (document.body.clientWidth > 992) ? 414 : document.body.clientWidth;
|
|
1045
1045
|
}
|
|
1046
1046
|
else {
|
|
1047
|
-
return (document.body.clientWidth <
|
|
1047
|
+
return (document.body.clientWidth < 992) ? document.body.clientWidth : document.body.clientWidth - 365;
|
|
1048
1048
|
}
|
|
1049
1049
|
})() * (scale || 1);
|
|
1050
1050
|
const tool_box = (() => {
|
|
1051
|
-
if (document.body.clientWidth <
|
|
1051
|
+
if (document.body.clientWidth < 992) {
|
|
1052
1052
|
return 40;
|
|
1053
1053
|
}
|
|
1054
1054
|
else {
|
|
@@ -1123,13 +1123,13 @@ export class Main_editor {
|
|
|
1123
1123
|
gvc.glitter.share.resetCenterFrame = (scale?: number) => {
|
|
1124
1124
|
const container_width = (() => {
|
|
1125
1125
|
if (Storage.view_type === ViewType.mobile) {
|
|
1126
|
-
return (document.body.clientWidth >
|
|
1126
|
+
return (document.body.clientWidth > 992) ? 414 : document.body.clientWidth;
|
|
1127
1127
|
} else {
|
|
1128
|
-
return (document.body.clientWidth <
|
|
1128
|
+
return (document.body.clientWidth < 992) ? document.body.clientWidth : document.body.clientWidth - 365;
|
|
1129
1129
|
}
|
|
1130
1130
|
})() * (scale || 1)
|
|
1131
1131
|
const tool_box = (() => {
|
|
1132
|
-
if (document.body.clientWidth <
|
|
1132
|
+
if (document.body.clientWidth < 992) {
|
|
1133
1133
|
return 40
|
|
1134
1134
|
} else {
|
|
1135
1135
|
return 0
|