ts-glitter 21.4.3 → 21.4.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
@@ -163,7 +163,7 @@ export class Entry {
163
163
  }
164
164
  window.renderClock = (_b = window.renderClock) !== null && _b !== void 0 ? _b : createClock();
165
165
  console.log(`Entry-time:`, window.renderClock.stop());
166
- glitter.share.editerVersion = 'V_21.4.3';
166
+ glitter.share.editerVersion = 'V_21.4.4';
167
167
  glitter.share.start = new Date();
168
168
  const vm = { appConfig: [] };
169
169
  window.saasConfig = {
package/lowcode/Entry.ts CHANGED
@@ -168,7 +168,7 @@ export class Entry {
168
168
  }
169
169
  (window as any).renderClock = (window as any).renderClock ?? createClock();
170
170
  console.log(`Entry-time:`, (window as any).renderClock.stop());
171
- glitter.share.editerVersion = 'V_21.4.3';
171
+ glitter.share.editerVersion = 'V_21.4.4';
172
172
  glitter.share.start = new Date();
173
173
  const vm = { appConfig: [] };
174
174
  (window as any).saasConfig = {
@@ -0,0 +1,8 @@
1
+ export class SocialLinks01 {
2
+ static main(obj) {
3
+ console.log(obj);
4
+ console.log(`formData=>`, obj.widget.formData);
5
+ return `<div>hello</div>`;
6
+ }
7
+ }
8
+ window.glitter.setModule(import.meta.url, SocialLinks01);
@@ -0,0 +1,15 @@
1
+ import { GVC } from '../../glitterBundle/GVController.js';
2
+
3
+ export class SocialLinks01{
4
+ public static main(obj:{
5
+ gvc:GVC,
6
+ widget:any,
7
+ subData:any
8
+ }){
9
+ console.log(obj)
10
+ console.log(`formData=>`,obj.widget.formData)
11
+ return `<div>hello</div>`
12
+ }
13
+ }
14
+
15
+ (window as any).glitter.setModule(import.meta.url,SocialLinks01)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "21.4.3",
3
+ "version": "21.4.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {