ts-glitter 13.6.3 → 13.6.4

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
@@ -59,7 +59,7 @@ export class Entry {
59
59
  }
60
60
  window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
61
61
  console.log(`Entry-time:`, window.renderClock.stop());
62
- glitter.share.editerVersion = "V_13.6.3";
62
+ glitter.share.editerVersion = "V_13.6.4";
63
63
  glitter.share.start = (new Date());
64
64
  const vm = {
65
65
  appConfig: [],
package/lowcode/Entry.ts CHANGED
@@ -60,7 +60,7 @@ export class Entry {
60
60
  }
61
61
  (window as any).renderClock = (window as any).renderClock ?? clockF();
62
62
  console.log(`Entry-time:`, (window as any).renderClock.stop());
63
- glitter.share.editerVersion = "V_13.6.3";
63
+ glitter.share.editerVersion = "V_13.6.4";
64
64
  glitter.share.start = (new Date());
65
65
  const vm: {
66
66
  appConfig: any;
@@ -1703,7 +1703,6 @@ ${obj.gvc.bindView({
1703
1703
  event: event,
1704
1704
  glitter: window.parent.glitter,
1705
1705
  });
1706
- return;
1707
1706
  }
1708
1707
  ;
1709
1708
  $(e).children('.editorChild').children('.copy-btn').show();
@@ -1842,7 +1841,7 @@ ${obj.gvc.bindView({
1842
1841
  try {
1843
1842
  glitter.share.editorViewModel.selectItem = dd;
1844
1843
  Storage.page_setting_item = 'layout';
1845
- glitter.pageConfig[gvc.glitter.pageConfig.length - 1].gvc.notifyDataChange(['top_sm_bar', 'left_sm_bar', 'item-editor-select']);
1844
+ glitter.pageConfig[glitter.pageConfig.length - 1].gvc.notifyDataChange(['top_sm_bar', 'left_sm_bar', 'item-editor-select']);
1846
1845
  gvc.glitter.$('.editorItemActive').removeClass('editorItemActive');
1847
1846
  gvc.glitter.$(`.editor_it_${widgetComponentID}`).addClass('editorItemActive');
1848
1847
  Storage.lastSelect = dd.id;
@@ -2189,7 +2189,6 @@ ${e.line}
2189
2189
  event: event,
2190
2190
  glitter: (window.parent as any).glitter,
2191
2191
  });
2192
- return
2193
2192
  };
2194
2193
  ($(e).children('.editorChild').children('.copy-btn') as any).show();
2195
2194
  ($(e).children('.editorChild').children('.plus_bt') as any).show();
@@ -2346,7 +2345,7 @@ ${e.line}
2346
2345
  try {
2347
2346
  glitter.share.editorViewModel.selectItem = dd;
2348
2347
  Storage.page_setting_item = 'layout';
2349
- (glitter.pageConfig[gvc.glitter.pageConfig.length - 1] as any).gvc.notifyDataChange(['top_sm_bar','left_sm_bar','item-editor-select']);
2348
+ (glitter.pageConfig[glitter.pageConfig.length - 1] as any).gvc.notifyDataChange(['top_sm_bar','left_sm_bar','item-editor-select']);
2350
2349
  gvc.glitter.$('.editorItemActive').removeClass('editorItemActive');
2351
2350
  gvc.glitter.$(`.editor_it_${widgetComponentID}`).addClass('editorItemActive');
2352
2351
  Storage.lastSelect = dd.id;
@@ -1033,7 +1033,7 @@ export class Main_editor {
1033
1033
  })();
1034
1034
  const container_height = (() => {
1035
1035
  if (gvc.glitter.share.top_inset) {
1036
- return document.body.clientHeight - 56 - (parseInt(gvc.glitter.share.top_inset, 10));
1036
+ return document.body.clientHeight - 56 - (parseInt(gvc.glitter.share.top_inset, 10) + 10);
1037
1037
  }
1038
1038
  else {
1039
1039
  return document.body.clientHeight - 56;
@@ -1059,7 +1059,7 @@ export class Main_editor {
1059
1059
  frame.style.left = `0`;
1060
1060
  }
1061
1061
  if (gvc.glitter.share.top_inset) {
1062
- frame.style.top = `${parseInt(gvc.glitter.share.top_inset, 10) + tool_box}px`;
1062
+ frame.style.top = `${parseInt(gvc.glitter.share.top_inset, 10) + tool_box + 10}px`;
1063
1063
  }
1064
1064
  else {
1065
1065
  frame.style.top = `${tool_box}px`;
@@ -1082,7 +1082,7 @@ export class Main_editor {
1082
1082
  }, 50);
1083
1083
  return html `
1084
1084
  <div class="position-relative w-100 h-100"
1085
- style="${(parseInt(gvc.glitter.share.top_inset, 10)) ? `padding-top:${parseInt(gvc.glitter.share.top_inset, 10)}px;` : ``}"
1085
+ style="${(parseInt(gvc.glitter.share.top_inset, 10)) ? `padding-top:${parseInt(gvc.glitter.share.top_inset, 10) + 10}px;` : ``}"
1086
1086
  id="editerCenter">
1087
1087
  ${(document.body.clientWidth < 800) ? gvc.bindView(() => {
1088
1088
  return {
@@ -1111,7 +1111,7 @@ export class Main_editor {
1111
1111
  })()
1112
1112
  const container_height = (() => {
1113
1113
  if (gvc.glitter.share.top_inset) {
1114
- return document.body.clientHeight - 56 - (parseInt(gvc.glitter.share.top_inset, 10));
1114
+ return document.body.clientHeight - 56 - (parseInt(gvc.glitter.share.top_inset, 10) + 10);
1115
1115
  } else {
1116
1116
  return document.body.clientHeight - 56;
1117
1117
  }
@@ -1135,7 +1135,7 @@ export class Main_editor {
1135
1135
  frame.style.left = `0`;
1136
1136
  }
1137
1137
  if (gvc.glitter.share.top_inset) {
1138
- frame.style.top = `${parseInt(gvc.glitter.share.top_inset, 10) + tool_box}px`;
1138
+ frame.style.top = `${parseInt(gvc.glitter.share.top_inset, 10) + tool_box + 10}px`;
1139
1139
  } else {
1140
1140
  frame.style.top = `${tool_box}px`;
1141
1141
  }
@@ -1157,7 +1157,7 @@ export class Main_editor {
1157
1157
  }, 50)
1158
1158
  return html`
1159
1159
  <div class="position-relative w-100 h-100"
1160
- style="${(parseInt(gvc.glitter.share.top_inset, 10)) ? `padding-top:${parseInt(gvc.glitter.share.top_inset, 10)}px;` : ``}"
1160
+ style="${(parseInt(gvc.glitter.share.top_inset, 10)) ? `padding-top:${parseInt(gvc.glitter.share.top_inset, 10) + 10}px;` : ``}"
1161
1161
  id="editerCenter">
1162
1162
  ${(document.body.clientWidth < 800) ? gvc.bindView(() => {
1163
1163
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "13.6.3",
3
+ "version": "13.6.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {