ts-glitter 13.5.0 → 13.5.1

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.5.0";
62
+ glitter.share.editerVersion = "V_13.5.1";
63
63
  glitter.share.start = (new Date());
64
64
  const vm = {
65
65
  appConfig: [],
package/lowcode/Entry.ts CHANGED
@@ -58,7 +58,7 @@ export class Entry {
58
58
  }
59
59
  (window as any).renderClock = (window as any).renderClock ?? clockF();
60
60
  console.log(`Entry-time:`, (window as any).renderClock.stop());
61
- glitter.share.editerVersion = "V_13.5.0";
61
+ glitter.share.editerVersion = "V_13.5.1";
62
62
  glitter.share.start = (new Date());
63
63
  const vm: {
64
64
  appConfig: any;
@@ -640,8 +640,7 @@ ${Storage.page_setting_item === `${da.index}` ? `background:${EditorConfig.edito
640
640
  }
641
641
  })();
642
642
  if (document.body.offsetWidth < 800) {
643
- glitter.setDrawer(`<div class="bg-white vh-120 overflow-auto">${view}</div>`, () => {
644
- });
643
+ glitter.setDrawer(`<div class="bg-white vh-120 overflow-auto">${view}</div>`, () => { });
645
644
  return ``;
646
645
  }
647
646
  else {
@@ -725,6 +724,9 @@ ${Storage.page_setting_item === `${da.index}` ? `background:${EditorConfig.edito
725
724
  },
726
725
  onCreate: () => {
727
726
  },
727
+ onResume: () => {
728
+ gvc.notifyDataChange('MainEditorLeft');
729
+ }
728
730
  };
729
731
  });
730
732
  function initialEditor(gvc, viewModel) {
@@ -701,8 +701,7 @@ ${Storage.page_setting_item === `${da.index}` ? `background:${EditorConfig.edito
701
701
  }
702
702
  })();
703
703
  if (document.body.offsetWidth < 800) {
704
- glitter.setDrawer(`<div class="bg-white vh-120 overflow-auto">${view}</div>`, () => {
705
- });
704
+ glitter.setDrawer(`<div class="bg-white vh-120 overflow-auto">${view}</div>`, () => {});
706
705
  return ``;
707
706
  } else {
708
707
  return view;
@@ -800,6 +799,9 @@ ${Storage.page_setting_item === `${da.index}` ? `background:${EditorConfig.edito
800
799
  onCreate: () => {
801
800
 
802
801
  },
802
+ onResume:()=>{
803
+ gvc.notifyDataChange('MainEditorLeft')
804
+ }
803
805
  };
804
806
  });
805
807
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "13.5.0",
3
+ "version": "13.5.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {