ts-glitter 13.8.1 → 13.8.31
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 +4 -1
- package/lowcode/Entry.ts +4 -2
- package/lowcode/cms-plugin/ai-message.js +236 -195
- package/lowcode/cms-plugin/ai-message.ts +391 -342
- package/lowcode/css/editor.css +25 -0
- package/lowcode/dialog/image-preview.js +7 -5
- package/lowcode/dialog/image-preview.ts +16 -8
- package/lowcode/glitterBundle/Glitter.js +1 -0
- package/lowcode/glitterBundle/Glitter.ts +1 -0
- package/lowcode/glitterBundle/module/html-generate.js +26 -12
- package/lowcode/glitterBundle/module/html-generate.ts +26 -13
- package/lowcode/jspage/editor.js +30 -40
- package/lowcode/jspage/editor.ts +597 -545
- package/lowcode/jspage/function-page/setting_editor.js +214 -225
- package/lowcode/jspage/function-page/setting_editor.ts +222 -239
- package/lowcode/jspage/main.js +7 -5
- package/lowcode/jspage/main.ts +7 -6
- package/lowcode/official_view_component/official/component.js +2 -2
- package/lowcode/official_view_component/official/component.ts +2 -2
- package/package.json +1 -1
- package/src/api-public/controllers/ai-chat.js +4 -1
- package/src/api-public/controllers/ai-chat.js.map +1 -1
- package/src/api-public/controllers/ai-chat.ts +4 -2
- package/src/api-public/services/ai-robot.d.ts +18 -0
- package/src/api-public/services/ai-robot.js +185 -23
- package/src/api-public/services/ai-robot.js.map +1 -1
- package/src/api-public/services/ai-robot.ts +214 -51
- package/src/api-public/services/chat.js +5 -2
- package/src/api-public/services/chat.js.map +1 -1
- package/src/api-public/services/chat.ts +4 -1
package/lowcode/Entry.js
CHANGED
|
@@ -52,6 +52,9 @@ export class Entry {
|
|
|
52
52
|
.hide-elem {
|
|
53
53
|
display: none !important;
|
|
54
54
|
}
|
|
55
|
+
.hy-drawer-left {
|
|
56
|
+
left:-1000px !important;
|
|
57
|
+
}
|
|
55
58
|
`);
|
|
56
59
|
if (glitter.getUrlParameter('appName')) {
|
|
57
60
|
window.appName = glitter.getUrlParameter('appName');
|
|
@@ -59,7 +62,7 @@ export class Entry {
|
|
|
59
62
|
}
|
|
60
63
|
window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
|
|
61
64
|
console.log(`Entry-time:`, window.renderClock.stop());
|
|
62
|
-
glitter.share.editerVersion = "V_13.8.
|
|
65
|
+
glitter.share.editerVersion = "V_13.8.31";
|
|
63
66
|
glitter.share.start = (new Date());
|
|
64
67
|
const vm = {
|
|
65
68
|
appConfig: [],
|
package/lowcode/Entry.ts
CHANGED
|
@@ -9,7 +9,6 @@ import {ShareDialog} from "./glitterBundle/dialog/ShareDialog.js";
|
|
|
9
9
|
|
|
10
10
|
export class Entry {
|
|
11
11
|
public static onCreate(glitter: Glitter) {
|
|
12
|
-
|
|
13
12
|
glitter.share.top_inset = 0
|
|
14
13
|
glitter.share.bottom_inset = 0
|
|
15
14
|
glitter.share.reload_code_hash = function () {
|
|
@@ -53,6 +52,9 @@ export class Entry {
|
|
|
53
52
|
.hide-elem {
|
|
54
53
|
display: none !important;
|
|
55
54
|
}
|
|
55
|
+
.hy-drawer-left {
|
|
56
|
+
left:-1000px !important;
|
|
57
|
+
}
|
|
56
58
|
`);
|
|
57
59
|
if (glitter.getUrlParameter('appName')) {
|
|
58
60
|
(window as any).appName = glitter.getUrlParameter('appName');
|
|
@@ -60,7 +62,7 @@ export class Entry {
|
|
|
60
62
|
}
|
|
61
63
|
(window as any).renderClock = (window as any).renderClock ?? clockF();
|
|
62
64
|
console.log(`Entry-time:`, (window as any).renderClock.stop());
|
|
63
|
-
glitter.share.editerVersion = "V_13.8.
|
|
65
|
+
glitter.share.editerVersion = "V_13.8.31";
|
|
64
66
|
glitter.share.start = (new Date());
|
|
65
67
|
const vm: {
|
|
66
68
|
appConfig: any;
|