ts-glitter 13.8.741 → 13.8.744
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.744';
|
|
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.744';
|
|
72
72
|
glitter.share.start = new Date();
|
|
73
73
|
const vm: {
|
|
74
74
|
appConfig: any;
|
package/lowcode/jspage/editor.js
CHANGED
|
@@ -326,7 +326,7 @@ color: transparent;"
|
|
|
326
326
|
gvc.glitter.share.editorViewModel.waitCopy = undefined;
|
|
327
327
|
gvc.glitter.share.editorViewModel.selectItem = undefined;
|
|
328
328
|
Storage.page_setting_item = dd.index;
|
|
329
|
-
if (document.body.clientWidth <
|
|
329
|
+
if (document.body.clientWidth < 992) {
|
|
330
330
|
glitter.share.toggle_left_bar();
|
|
331
331
|
}
|
|
332
332
|
Storage.lastSelect = '';
|
|
@@ -400,7 +400,7 @@ ${dd.title}</a></li>`;
|
|
|
400
400
|
view: () => {
|
|
401
401
|
const size = document.body.clientWidth > 768 ? 24 : 18;
|
|
402
402
|
return [
|
|
403
|
-
(document.body.clientWidth <
|
|
403
|
+
(document.body.clientWidth < 992) ? `` : html `
|
|
404
404
|
<div
|
|
405
405
|
class="ms-auto me-2 bt_orange_lin_mb d-md-flex"
|
|
406
406
|
style=""
|
package/lowcode/jspage/editor.ts
CHANGED
|
@@ -325,7 +325,7 @@ color: transparent;"
|
|
|
325
325
|
gvc.glitter.share.editorViewModel.waitCopy = undefined;
|
|
326
326
|
gvc.glitter.share.editorViewModel.selectItem = undefined;
|
|
327
327
|
Storage.page_setting_item = dd.index as any;
|
|
328
|
-
if (document.body.clientWidth <
|
|
328
|
+
if (document.body.clientWidth < 992) {
|
|
329
329
|
glitter.share.toggle_left_bar()
|
|
330
330
|
}
|
|
331
331
|
Storage.lastSelect = '';
|
|
@@ -416,7 +416,7 @@ ${dd.title}</a></li>`
|
|
|
416
416
|
// class="me-2" style="width:${size}px;height: ${size}px;">
|
|
417
417
|
// <span class="fw-500" style="font-size: 10px;">AI</span>
|
|
418
418
|
// </div>`,
|
|
419
|
-
(document.body.clientWidth<
|
|
419
|
+
(document.body.clientWidth<992) ? ``: html`
|
|
420
420
|
<div
|
|
421
421
|
class="ms-auto me-2 bt_orange_lin_mb d-md-flex"
|
|
422
422
|
style=""
|
|
@@ -1044,11 +1044,11 @@ export class Main_editor {
|
|
|
1044
1044
|
return (document.body.clientWidth > 800) ? 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 {
|
|
@@ -1076,7 +1076,7 @@ export class Main_editor {
|
|
|
1076
1076
|
frame.style.width = `${frame_width}px`;
|
|
1077
1077
|
frame.style.height = `${frame_height}px`;
|
|
1078
1078
|
frame.style.transform = `scale(${(container_width / frame_width).toFixed(2)})`;
|
|
1079
|
-
if (document.body.clientWidth >
|
|
1079
|
+
if (document.body.clientWidth > 800 && Storage.view_type === ViewType.mobile) {
|
|
1080
1080
|
frame.style.left = `25%`;
|
|
1081
1081
|
}
|
|
1082
1082
|
else {
|
|
@@ -1217,7 +1217,7 @@ export class Main_editor {
|
|
|
1217
1217
|
<div class="rounded-1 border bg-white p-1 px-2 fw-500"
|
|
1218
1218
|
style="font-size: 14px;color:black;"
|
|
1219
1219
|
onclick="${gvc.event(() => {
|
|
1220
|
-
gvc.glitter.
|
|
1220
|
+
gvc.glitter.share.toggle_left_bar();
|
|
1221
1221
|
})}">編輯
|
|
1222
1222
|
</div>
|
|
1223
1223
|
<div class="rounded-1 border bg-white p-1 px-2 fw-500 ${(gvc.glitter.share.editorViewModel.selectItem.deletable === 'false') ? `d-none` : ``}"
|
|
@@ -1125,11 +1125,11 @@ export class Main_editor {
|
|
|
1125
1125
|
if (Storage.view_type === ViewType.mobile) {
|
|
1126
1126
|
return (document.body.clientWidth > 800) ? 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
|
|
@@ -1154,7 +1154,7 @@ export class Main_editor {
|
|
|
1154
1154
|
frame.style.width = `${frame_width}px`;
|
|
1155
1155
|
frame.style.height = `${frame_height}px`;
|
|
1156
1156
|
frame.style.transform = `scale(${(container_width / frame_width).toFixed(2)})`
|
|
1157
|
-
if (document.body.clientWidth >
|
|
1157
|
+
if (document.body.clientWidth > 800 && Storage.view_type === ViewType.mobile) {
|
|
1158
1158
|
frame.style.left = `25%`;
|
|
1159
1159
|
} else {
|
|
1160
1160
|
frame.style.left = `0`;
|
|
@@ -1291,7 +1291,7 @@ export class Main_editor {
|
|
|
1291
1291
|
<div class="rounded-1 border bg-white p-1 px-2 fw-500"
|
|
1292
1292
|
style="font-size: 14px;color:black;"
|
|
1293
1293
|
onclick="${gvc.event(() => {
|
|
1294
|
-
gvc.glitter.
|
|
1294
|
+
gvc.glitter.share.toggle_left_bar()
|
|
1295
1295
|
})}">編輯
|
|
1296
1296
|
</div>
|
|
1297
1297
|
<div class="rounded-1 border bg-white p-1 px-2 fw-500 ${(gvc.glitter.share.editorViewModel.selectItem.deletable === 'false') ? `d-none` : ``}"
|