ts-glitter 13.8.734 → 13.8.736

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.734';
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.734';
71
+ glitter.share.editerVersion = 'V_13.8.736';
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 < 768 ? document.body.clientWidth : 800,
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 < 768 ? document.body.clientWidth : 800,
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 < 768 ? document.body.clientWidth : 800,
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 < 768 ? document.body.clientWidth : 800,
184
+ width: document.body.clientWidth < 992 ? document.body.clientWidth : 800,
185
185
  });
186
186
  }
187
187
  }
@@ -277,7 +277,7 @@ color: transparent;"
277
277
 
278
278
  ${(document.body.clientWidth > 800 || EditorConfig.backend_page() === 'backend-manger') ? `
279
279
  <div
280
- class="border-end d-flex align-items-center justify-content-center ${(document.body.clientWidth > 800 ? `ms-n2` : ``)} fs-3 d-sm-none"
280
+ class="border-end d-flex align-items-center justify-content-center ${(document.body.clientWidth > 800 ? `ms-n2` : ``)} fs-3 d-lg-none"
281
281
  style="width:56px;height: 56px;cursor: pointer;"
282
282
  onclick="${gvc.event(() => {
283
283
  if ((EditorConfig.backend_page() === 'backend-manger')) {
@@ -289,7 +289,6 @@ color: transparent;"
289
289
  })}"
290
290
  >
291
291
  ${((EditorConfig.backend_page() === 'backend-manger')) ? `<i class="fa-solid fa-bars"></i>` : ` <i class="fa-solid fa-arrow-left-from-arc"></i>`}
292
-
293
292
  </div>
294
293
  ` : `
295
294
  <li class="nav-item dropdown">
@@ -360,7 +359,7 @@ ${dd.title}</a></li>`;
360
359
  AI
361
360
  </div>
362
361
  `}
363
- <div class="border-end d-none d-sm-block"
362
+ <div class="border-end d-none d-lg-block"
364
363
  style="width:37px;height: 56px; "></div>
365
364
 
366
365
  ${(() => {
@@ -1079,7 +1078,7 @@ color:white;
1079
1078
  elem: 'main',
1080
1079
  class: `docs-container`,
1081
1080
  style: `padding-top: ${EditorConfig.getPaddingTop(gvc) + 56}px;
1082
- padding-left:${size < 800 ? `0px;` : Storage.select_function === 'user-editor' ? `365px;` : `284px;`}
1081
+ padding-left:${size < 992 ? `0px;` : Storage.select_function === 'user-editor' ? `365px;` : `284px;`}
1083
1082
  padding-right:0px;
1084
1083
  ${Storage.select_function === 'page-editor' ? `overflow:hidden;` : ``}`
1085
1084
  };
@@ -278,7 +278,7 @@ color: transparent;"
278
278
 
279
279
  ${(document.body.clientWidth > 800 || EditorConfig.backend_page() === 'backend-manger') ? `
280
280
  <div
281
- class="border-end d-flex align-items-center justify-content-center ${(document.body.clientWidth>800?`ms-n2`:``)} fs-3 d-sm-none"
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;"
283
283
  onclick="${gvc.event(() => {
284
284
  if ((EditorConfig.backend_page() === 'backend-manger')) {
@@ -289,7 +289,6 @@ color: transparent;"
289
289
  })}"
290
290
  >
291
291
  ${((EditorConfig.backend_page() === 'backend-manger')) ? `<i class="fa-solid fa-bars"></i>` : ` <i class="fa-solid fa-arrow-left-from-arc"></i>`}
292
-
293
292
  </div>
294
293
  ` : `
295
294
  <li class="nav-item dropdown">
@@ -359,7 +358,7 @@ ${dd.title}</a></li>`
359
358
  AI
360
359
  </div>
361
360
  `}
362
- <div class="border-end d-none d-sm-block"
361
+ <div class="border-end d-none d-lg-block"
363
362
  style="width:37px;height: 56px; "></div>
364
363
 
365
364
  ${(() => {
@@ -1153,7 +1152,7 @@ color:white;
1153
1152
  elem: 'main',
1154
1153
  class: `docs-container`,
1155
1154
  style: `padding-top: ${EditorConfig.getPaddingTop(gvc) + 56}px;
1156
- padding-left:${size < 800 ? `0px;` : Storage.select_function === 'user-editor' ? `365px;` : `284px;`}
1155
+ padding-left:${size < 992 ? `0px;` : Storage.select_function === 'user-editor' ? `365px;` : `284px;`}
1157
1156
  padding-right:0px;
1158
1157
  ${Storage.select_function === 'page-editor' ? `overflow:hidden;` : ``}`
1159
1158
  }
@@ -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-sm-none"
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-sm-none"
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" />
@@ -619,7 +619,7 @@ ${Storage.page_setting_item === `${da.index}` ? `background:${EditorConfig.edito
619
619
  return Page_editor.left(gvc, viewModel, editorContainerID, gBundle);
620
620
  }
621
621
  })();
622
- if (document.body.offsetWidth < 800) {
622
+ if (document.body.offsetWidth < 992) {
623
623
  glitter.setDrawer(`<div class="bg-white vh-120 overflow-auto">${view}</div>`, () => { });
624
624
  glitter.share.toggle_left_bar = () => {
625
625
  glitter.setDrawer(`<div class="bg-white vh-120 overflow-auto">${view}</div>`, () => {
@@ -236,8 +236,6 @@ init(import.meta.url, (gvc, glitter, gBundle) => {
236
236
  },
237
237
  async () => {
238
238
  return await new Promise(async (resolve) => {
239
-
240
-
241
239
  viewModel.data = await new Promise((resolve, reject) => {
242
240
  ((window as any).glitterInitialHelper).getPageData({
243
241
  tag: glitter.getUrlParameter('page'),
@@ -533,7 +531,6 @@ init(import.meta.url, (gvc, glitter, gBundle) => {
533
531
  viewModel.selectContainer = undefined;
534
532
  lod();
535
533
  };
536
-
537
534
  });
538
535
 
539
536
  return {
@@ -669,7 +666,7 @@ ${Storage.page_setting_item === `${da.index}` ? `background:${EditorConfig.edito
669
666
  return Page_editor.left(gvc, viewModel, editorContainerID, gBundle);
670
667
  }
671
668
  })();
672
- if (document.body.offsetWidth < 800) {
669
+ if (document.body.offsetWidth < 992) {
673
670
  glitter.setDrawer(`<div class="bg-white vh-120 overflow-auto">${view}</div>`, () => {});
674
671
  glitter.share.toggle_left_bar=()=>{
675
672
  glitter.setDrawer(`<div class="bg-white vh-120 overflow-auto">${view}</div>`, () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "13.8.734",
3
+ "version": "13.8.736",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {