ts-glitter 13.8.735 → 13.8.737
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 +1 -1
- package/lowcode/Entry.ts +1 -1
- package/lowcode/editor/search-idea.js +2 -2
- package/lowcode/editor/search-idea.ts +2 -2
- package/lowcode/jspage/editor.ts +1 -1
- package/lowcode/jspage/function-page/main_editor.ts +4 -4
- package/lowcode/jspage/function-page/setting_editor.js +1 -1
- package/lowcode/jspage/function-page/setting_editor.ts +1 -1
- package/package.json +1 -1
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.736';
|
|
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.737';
|
|
72
72
|
glitter.share.start = new Date();
|
|
73
73
|
const vm: {
|
|
74
74
|
appConfig: any;
|
|
@@ -156,7 +156,7 @@ transform: scale(0.4) translateX(-75%) translateY(-75%);
|
|
|
156
156
|
gvc: gvc,
|
|
157
157
|
type: 'idea'
|
|
158
158
|
}),
|
|
159
|
-
width: document.body.clientWidth <
|
|
159
|
+
width: document.body.clientWidth < 992 ? document.body.clientWidth : 800,
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
162
|
static findTemplate(gvc, def, callback) {
|
|
@@ -169,7 +169,7 @@ transform: scale(0.4) translateX(-75%) translateY(-75%);
|
|
|
169
169
|
def: def,
|
|
170
170
|
selectCallback: callback
|
|
171
171
|
}),
|
|
172
|
-
width: document.body.clientWidth <
|
|
172
|
+
width: document.body.clientWidth < 992 ? document.body.clientWidth : 800,
|
|
173
173
|
});
|
|
174
174
|
}
|
|
175
175
|
}
|
|
@@ -167,7 +167,7 @@ transform: scale(0.4) translateX(-75%) translateY(-75%);
|
|
|
167
167
|
gvc: gvc,
|
|
168
168
|
type:'idea'
|
|
169
169
|
}),
|
|
170
|
-
width: document.body.clientWidth <
|
|
170
|
+
width: document.body.clientWidth < 992 ? document.body.clientWidth : 800,
|
|
171
171
|
});
|
|
172
172
|
}
|
|
173
173
|
|
|
@@ -181,7 +181,7 @@ transform: scale(0.4) translateX(-75%) translateY(-75%);
|
|
|
181
181
|
def:def,
|
|
182
182
|
selectCallback:callback
|
|
183
183
|
}),
|
|
184
|
-
width: document.body.clientWidth <
|
|
184
|
+
width: document.body.clientWidth < 992 ? document.body.clientWidth : 800,
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
187
|
}
|
package/lowcode/jspage/editor.ts
CHANGED
|
@@ -276,7 +276,7 @@ color: transparent;"
|
|
|
276
276
|
>
|
|
277
277
|
</div>
|
|
278
278
|
|
|
279
|
-
${(document.body.clientWidth >
|
|
279
|
+
${(document.body.clientWidth > 922 || EditorConfig.backend_page() === 'backend-manger') ? `
|
|
280
280
|
<div
|
|
281
281
|
class="border-end d-flex align-items-center justify-content-center ${(document.body.clientWidth>800?`ms-n2`:``)} fs-3 d-lg-none"
|
|
282
282
|
style="width:56px;height: 56px;cursor: pointer;"
|
|
@@ -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 > 992 && Storage.view_type === ViewType.mobile) {
|
|
1158
1158
|
frame.style.left = `25%`;
|
|
1159
1159
|
} else {
|
|
1160
1160
|
frame.style.left = `0`;
|
|
@@ -1184,7 +1184,7 @@ export class Main_editor {
|
|
|
1184
1184
|
<div class="position-relative w-100 h-100"
|
|
1185
1185
|
style="${(parseInt(gvc.glitter.share.top_inset, 10)) ? `padding-top:${parseInt(gvc.glitter.share.top_inset, 10) + 10}px;` : ``}"
|
|
1186
1186
|
id="editerCenter">
|
|
1187
|
-
${(document.body.clientWidth <
|
|
1187
|
+
${(document.body.clientWidth < 992) ? gvc.bindView(() => {
|
|
1188
1188
|
let last_selected = '';
|
|
1189
1189
|
return {
|
|
1190
1190
|
bind: `item-editor-select`,
|
|
@@ -1362,7 +1362,7 @@ export class Main_editor {
|
|
|
1362
1362
|
? `d-flex align-items-center justify-content-center flex-column mx-auto` : `d-flex align-items-center justify-content-center flex-column `,
|
|
1363
1363
|
style: (Storage.select_function === 'page-editor' || Storage.select_function === 'user-editor')
|
|
1364
1364
|
? ``
|
|
1365
|
-
: `width: calc(${(document.body.clientWidth <
|
|
1365
|
+
: `width: calc(${(document.body.clientWidth < 992) ? `${document.body.clientWidth}px` : `100%`});height: ${window.innerHeight - EditorConfig.getPaddingTop(gvc) - 56}px;overflow:hidden;`
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
@@ -1397,7 +1397,7 @@ export class Main_editor {
|
|
|
1397
1397
|
class: Storage.view_type === ViewType.mobile && (Storage.select_function === 'page-editor' || Storage.select_function === 'user-editor')
|
|
1398
1398
|
? `d-flex align-items-center justify-content-center flex-column mx-auto` : `d-flex align-items-center justify-content-center flex-column`,
|
|
1399
1399
|
style: Storage.view_type === ViewType.mobile && (Storage.select_function === 'page-editor' || Storage.select_function === 'user-editor')
|
|
1400
|
-
? `width: calc(${(document.body.clientWidth <
|
|
1400
|
+
? `width: calc(${(document.body.clientWidth < 992) ? `${document.body.clientWidth}px` : `414px`});height: ${window.innerHeight - EditorConfig.getPaddingTop(gvc) - 56}px;` : `width: calc(${(document.body.clientWidth < 800) ? `${document.body.clientWidth}px` : `100%`});height: ${window.innerHeight - EditorConfig.getPaddingTop(gvc) - 56}px;overflow:hidden;`
|
|
1401
1401
|
}
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
@@ -69,7 +69,7 @@ export class Setting_editor {
|
|
|
69
69
|
Storage.select_bg_btn = 'custom';
|
|
70
70
|
return html `
|
|
71
71
|
<div
|
|
72
|
-
class="d-flex p-3 bg-white border-bottom align-items-end d-
|
|
72
|
+
class="d-flex p-3 bg-white border-bottom align-items-end d-lg-none"
|
|
73
73
|
style="${parseInt(glitter.share.top_inset, 10) ? `padding-top:${glitter.share.top_inset}px !important;` : ``}"
|
|
74
74
|
>
|
|
75
75
|
<img src="https://d3jnmi1tfjgtti.cloudfront.net/file/252530754/1718986163099-logo.svg" />
|
|
@@ -701,7 +701,7 @@ export class Setting_editor {
|
|
|
701
701
|
Storage.select_bg_btn = 'custom';
|
|
702
702
|
return html`
|
|
703
703
|
<div
|
|
704
|
-
class="d-flex p-3 bg-white border-bottom align-items-end d-
|
|
704
|
+
class="d-flex p-3 bg-white border-bottom align-items-end d-lg-none"
|
|
705
705
|
style="${parseInt(glitter.share.top_inset, 10) ? `padding-top:${glitter.share.top_inset}px !important;` : ``}"
|
|
706
706
|
>
|
|
707
707
|
<img src="https://d3jnmi1tfjgtti.cloudfront.net/file/252530754/1718986163099-logo.svg" />
|