ts-glitter 16.0.6 → 16.0.7

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
@@ -79,7 +79,7 @@ export class Entry {
79
79
  }
80
80
  window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
81
81
  console.log(`Entry-time:`, window.renderClock.stop());
82
- glitter.share.editerVersion = 'V_16.0.6';
82
+ glitter.share.editerVersion = 'V_16.0.7';
83
83
  glitter.share.start = new Date();
84
84
  const vm = {
85
85
  appConfig: [],
@@ -237,6 +237,7 @@ export class Entry {
237
237
  });
238
238
  }
239
239
  }));
240
+ glitter.share.LanguageApi = Language;
240
241
  }
241
242
  static checkIframe(glitter) {
242
243
  if (glitter.getUrlParameter('isIframe') === 'true') {
package/lowcode/Entry.ts CHANGED
@@ -54,11 +54,9 @@ export class Entry {
54
54
  };
55
55
  glitter.page = (window as any).glitter_page;
56
56
  glitter.share.GlobalUser = GlobalUser;
57
-
58
57
  if (glitter.getUrlParameter('page') !== 'backend_manager') {
59
58
  Entry.checkRedirectPage(glitter);
60
59
  }
61
-
62
60
  glitter.share.logID = glitter.getUUID();
63
61
  glitter.addStyle(`
64
62
  @media (prefers-reduced-motion: no-preference) {
@@ -78,10 +76,9 @@ export class Entry {
78
76
  if (glitter.getUrlParameter('appName')) {
79
77
  (window as any).appName = glitter.getUrlParameter('appName');
80
78
  }
81
-
82
79
  (window as any).renderClock = (window as any).renderClock ?? clockF();
83
80
  console.log(`Entry-time:`, (window as any).renderClock.stop());
84
- glitter.share.editerVersion = 'V_16.0.6';
81
+ glitter.share.editerVersion = 'V_16.0.7';
85
82
  glitter.share.start = new Date();
86
83
  const vm: {
87
84
  appConfig: any;
@@ -245,6 +242,7 @@ export class Entry {
245
242
  });
246
243
  }
247
244
  });
245
+ glitter.share.LanguageApi = Language;
248
246
  }
249
247
 
250
248
  // 判斷是否為Iframe來覆寫Glitter代碼