ts-glitter 14.4.9 → 14.5.0
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 +1 -1
- package/lowcode/Entry.ts +1 -1
- package/lowcode/editor/add-component.js +11 -1
- package/lowcode/editor/add-component.ts +10 -1
- package/lowcode/editor/basic-component.js +1887 -25
- package/lowcode/editor/basic-component.ts +1892 -31
- package/lowcode/glitterBundle/html-component/widget.js +46 -0
- package/lowcode/glitterBundle/html-component/widget.ts +47 -0
- package/package.json +1 -1
package/lowcode/Entry.js
CHANGED
|
@@ -70,7 +70,7 @@ export class Entry {
|
|
|
70
70
|
}
|
|
71
71
|
window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
|
|
72
72
|
console.log(`Entry-time:`, window.renderClock.stop());
|
|
73
|
-
glitter.share.editerVersion = 'V_14.
|
|
73
|
+
glitter.share.editerVersion = 'V_14.5.0';
|
|
74
74
|
glitter.share.start = new Date();
|
|
75
75
|
const vm = {
|
|
76
76
|
appConfig: [],
|
package/lowcode/Entry.ts
CHANGED
|
@@ -73,7 +73,7 @@ export class Entry {
|
|
|
73
73
|
}
|
|
74
74
|
(window as any).renderClock = (window as any).renderClock ?? clockF();
|
|
75
75
|
console.log(`Entry-time:`, (window as any).renderClock.stop());
|
|
76
|
-
glitter.share.editerVersion = 'V_14.
|
|
76
|
+
glitter.share.editerVersion = 'V_14.5.0';
|
|
77
77
|
glitter.share.start = new Date();
|
|
78
78
|
const vm: {
|
|
79
79
|
appConfig: any;
|
|
@@ -5987,4 +5987,14 @@ AddComponent.refresh = () => {
|
|
|
5987
5987
|
};
|
|
5988
5988
|
AddComponent.closeEvent = () => {
|
|
5989
5989
|
};
|
|
5990
|
-
|
|
5990
|
+
function loop() {
|
|
5991
|
+
if (!window.glitter) {
|
|
5992
|
+
setTimeout(() => {
|
|
5993
|
+
loop();
|
|
5994
|
+
}, 100);
|
|
5995
|
+
}
|
|
5996
|
+
else {
|
|
5997
|
+
window.glitter.setModule(import.meta.url, AddComponent);
|
|
5998
|
+
}
|
|
5999
|
+
}
|
|
6000
|
+
loop();
|
|
@@ -6199,4 +6199,13 @@ ${[
|
|
|
6199
6199
|
};
|
|
6200
6200
|
}
|
|
6201
6201
|
|
|
6202
|
-
|
|
6202
|
+
function loop(){
|
|
6203
|
+
if(!(window as any).glitter){
|
|
6204
|
+
setTimeout(()=>{
|
|
6205
|
+
loop()
|
|
6206
|
+
},100)
|
|
6207
|
+
}else{
|
|
6208
|
+
(window as any).glitter.setModule(import.meta.url, AddComponent);
|
|
6209
|
+
}
|
|
6210
|
+
}
|
|
6211
|
+
loop()
|