ts-glitter 13.3.5 → 13.3.8
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/backend-manager/bg-blog.js +2 -7
- package/lowcode/backend-manager/bg-blog.ts +8 -13
- package/lowcode/backend-manager/bg-graph-api.js +6 -11
- package/lowcode/backend-manager/bg-graph-api.ts +14 -20
- package/lowcode/backend-manager/bg-line.js +526 -1002
- package/lowcode/backend-manager/bg-line.ts +1815 -2354
- package/lowcode/backend-manager/bg-notify.js +392 -746
- package/lowcode/backend-manager/bg-notify.ts +436 -835
- package/lowcode/backend-manager/bg-project.js +176 -293
- package/lowcode/backend-manager/bg-project.ts +214 -344
- package/lowcode/backend-manager/bg-recommend.js +39 -148
- package/lowcode/backend-manager/bg-recommend.ts +43 -162
- package/lowcode/backend-manager/bg-sns.js +489 -814
- package/lowcode/backend-manager/bg-sns.ts +1876 -2238
- package/lowcode/backend-manager/bg-widget.js +301 -171
- package/lowcode/backend-manager/bg-widget.ts +324 -193
- package/lowcode/cms-plugin/ai-points.js +84 -67
- package/lowcode/cms-plugin/ai-points.ts +280 -247
- package/lowcode/cms-plugin/auto-reply.js +6 -7
- package/lowcode/cms-plugin/auto-reply.ts +6 -7
- package/lowcode/cms-plugin/data-analyze.js +5 -6
- package/lowcode/cms-plugin/data-analyze.ts +5 -6
- package/lowcode/cms-plugin/form-setting.js +122 -220
- package/lowcode/cms-plugin/form-setting.ts +124 -240
- package/lowcode/cms-plugin/line-auto-reply.js +17 -18
- package/lowcode/cms-plugin/line-auto-reply.ts +29 -36
- package/lowcode/cms-plugin/member-group-list.js +5 -2
- package/lowcode/cms-plugin/member-group-list.ts +5 -2
- package/lowcode/cms-plugin/member-type-list.js +36 -84
- package/lowcode/cms-plugin/member-type-list.ts +39 -92
- package/lowcode/cms-plugin/menus-setting.js +8 -73
- package/lowcode/cms-plugin/menus-setting.ts +8 -78
- package/lowcode/cms-plugin/permission-setting.js +73 -106
- package/lowcode/cms-plugin/permission-setting.ts +236 -278
- package/lowcode/cms-plugin/shopping-collections.js +95 -137
- package/lowcode/cms-plugin/shopping-collections.ts +103 -147
- package/lowcode/cms-plugin/shopping-discount-setting.js +310 -416
- package/lowcode/cms-plugin/shopping-discount-setting.ts +1269 -1386
- package/lowcode/cms-plugin/shopping-finance-setting.js +1 -0
- package/lowcode/cms-plugin/shopping-finance-setting.ts +1 -0
- package/lowcode/cms-plugin/shopping-order-manager.js +742 -973
- package/lowcode/cms-plugin/shopping-order-manager.ts +1928 -2164
- package/lowcode/cms-plugin/shopping-order-return.js +147 -267
- package/lowcode/cms-plugin/shopping-order-return.ts +154 -292
- package/lowcode/cms-plugin/shopping-product-setting.js +6 -2
- package/lowcode/cms-plugin/shopping-product-setting.ts +8 -4
- package/lowcode/cms-plugin/shopping-product-stock.js +12 -92
- package/lowcode/cms-plugin/shopping-product-stock.ts +14 -94
- package/lowcode/cms-plugin/shopping-product-text.js +0 -3
- package/lowcode/cms-plugin/shopping-product-text.ts +0 -3
- package/lowcode/cms-plugin/shopping-rebate.js +95 -151
- package/lowcode/cms-plugin/shopping-rebate.ts +101 -159
- package/lowcode/cms-plugin/sms-points.js +83 -67
- package/lowcode/cms-plugin/sms-points.ts +281 -241
- package/lowcode/cms-plugin/sns-auto-reply.js +18 -18
- package/lowcode/cms-plugin/sns-auto-reply.ts +34 -40
- package/lowcode/cms-plugin/user-list.js +71 -90
- package/lowcode/cms-plugin/user-list.ts +76 -95
- package/lowcode/cms-plugin/web-config-setting.js +61 -111
- package/lowcode/cms-plugin/web-config-setting.ts +65 -124
- package/lowcode/css/editor.css +5 -2
- package/lowcode/glitter-base/route/shopping.js +1 -1
- package/lowcode/glitter-base/route/shopping.ts +19 -19
- package/lowcode/jspage/editor.js +1 -1
- package/lowcode/jspage/editor.ts +1 -1
- package/lowcode/jspage/main.js +4 -0
- package/lowcode/jspage/main.ts +4 -0
- package/package.json +1 -2
- package/src/api-public/controllers/ai-chat.js.map +5 -1
- package/src/api-public/controllers/article.js.map +1 -1
- package/src/api-public/controllers/chat.js.map +1 -1
- package/src/api-public/controllers/fb-message.js.map +1 -1
- package/src/api-public/controllers/index.js.map +1 -1
- package/src/api-public/controllers/line-message.js.map +1 -1
- package/src/api-public/controllers/rebate.js.map +1 -1
- package/src/api-public/controllers/shop.js.map +1 -1
- package/src/api-public/controllers/user.js.map +1 -1
- package/src/api-public/services/auto-send-email.js.map +1 -1
- package/src/api-public/services/chat.js +3 -3
- package/src/api-public/services/chat.js.map +1 -1
- package/src/api-public/services/chat.ts +2 -3
- package/src/api-public/services/fb-message.js.map +5 -1
- package/src/api-public/services/filter-protect-data.js.map +1 -1
- package/src/api-public/services/line-message.js.map +1 -1
- package/src/api-public/services/monitor.js.map +1 -1
- package/src/api-public/services/notify.js.map +1 -1
- package/src/api-public/services/rebate.js.map +1 -1
- package/src/api-public/services/schedule.js.map +1 -1
- package/src/api-public/services/share-permission.js.map +1 -1
- package/src/api-public/services/shopping.js.map +1 -1
- package/src/api-public/services/user.js +67 -66
- package/src/api-public/services/user.js.map +1 -1
- package/src/api-public/services/user.ts +212 -182
- package/src/helper/glitter-util.js.map +1 -1
- package/src/modules/firebase.d.ts +1 -0
- package/src/modules/firebase.js +1 -1
- package/src/modules/firebase.js.map +1 -1
package/lowcode/Entry.js
CHANGED
|
@@ -56,7 +56,7 @@ export class Entry {
|
|
|
56
56
|
}
|
|
57
57
|
window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
|
|
58
58
|
console.log(`Entry-time:`, window.renderClock.stop());
|
|
59
|
-
glitter.share.editerVersion = "V_13.3.
|
|
59
|
+
glitter.share.editerVersion = "V_13.3.8";
|
|
60
60
|
glitter.share.start = (new Date());
|
|
61
61
|
const vm = {
|
|
62
62
|
appConfig: [],
|
package/lowcode/Entry.ts
CHANGED
|
@@ -56,7 +56,7 @@ export class Entry {
|
|
|
56
56
|
}
|
|
57
57
|
(window as any).renderClock = (window as any).renderClock ?? clockF();
|
|
58
58
|
console.log(`Entry-time:`, (window as any).renderClock.stop());
|
|
59
|
-
glitter.share.editerVersion = "V_13.3.
|
|
59
|
+
glitter.share.editerVersion = "V_13.3.8";
|
|
60
60
|
glitter.share.start = (new Date());
|
|
61
61
|
const vm: {
|
|
62
62
|
appConfig: any;
|
|
@@ -40,7 +40,6 @@ export class BgBlog {
|
|
|
40
40
|
{
|
|
41
41
|
key: `${is_page ? `頁面` : `網誌`}標題`,
|
|
42
42
|
value: html `<span class="fs-7">${((_a = dd.content.name) !== null && _a !== void 0 ? _a : '尚未設定標題').substring(0, 15)}</span>`,
|
|
43
|
-
width: 40,
|
|
44
43
|
},
|
|
45
44
|
{
|
|
46
45
|
key: '發布時間',
|
|
@@ -74,7 +73,6 @@ export class BgBlog {
|
|
|
74
73
|
<i class="fa-regular fa-eye" aria-hidden="true"></i>
|
|
75
74
|
</div>
|
|
76
75
|
`,
|
|
77
|
-
width: 10,
|
|
78
76
|
},
|
|
79
77
|
];
|
|
80
78
|
});
|
|
@@ -129,12 +127,10 @@ export class BgBlog {
|
|
|
129
127
|
</div>
|
|
130
128
|
</div>
|
|
131
129
|
${BgWidget.mainCard([
|
|
132
|
-
|
|
133
|
-
${BgWidget.searchPlace(gvc.event((e) => {
|
|
130
|
+
BgWidget.searchPlace(gvc.event((e) => {
|
|
134
131
|
vm.query = e.value;
|
|
135
132
|
gvc.notifyDataChange(id);
|
|
136
|
-
}), vm.query || '', '搜尋所有文章')
|
|
137
|
-
</div>`,
|
|
133
|
+
}), vm.query || '', '搜尋所有文章'),
|
|
138
134
|
BgWidget.tableV3({
|
|
139
135
|
gvc: gvc,
|
|
140
136
|
getData: (vd) => {
|
|
@@ -200,7 +196,6 @@ export class BgBlog {
|
|
|
200
196
|
},
|
|
201
197
|
});
|
|
202
198
|
},
|
|
203
|
-
option: false,
|
|
204
199
|
},
|
|
205
200
|
],
|
|
206
201
|
}),
|
|
@@ -52,7 +52,6 @@ export class BgBlog {
|
|
|
52
52
|
{
|
|
53
53
|
key: `${is_page ? `頁面` : `網誌`}標題`,
|
|
54
54
|
value: html`<span class="fs-7">${(dd.content.name ?? '尚未設定標題').substring(0, 15)}</span>`,
|
|
55
|
-
width: 40,
|
|
56
55
|
},
|
|
57
56
|
{
|
|
58
57
|
key: '發布時間',
|
|
@@ -88,7 +87,6 @@ export class BgBlog {
|
|
|
88
87
|
<i class="fa-regular fa-eye" aria-hidden="true"></i>
|
|
89
88
|
</div>
|
|
90
89
|
`,
|
|
91
|
-
width: 10,
|
|
92
90
|
},
|
|
93
91
|
];
|
|
94
92
|
});
|
|
@@ -156,16 +154,14 @@ export class BgBlog {
|
|
|
156
154
|
</div>
|
|
157
155
|
${BgWidget.mainCard(
|
|
158
156
|
[
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
)}
|
|
168
|
-
</div>`,
|
|
157
|
+
BgWidget.searchPlace(
|
|
158
|
+
gvc.event((e) => {
|
|
159
|
+
vm.query = e.value;
|
|
160
|
+
gvc.notifyDataChange(id);
|
|
161
|
+
}),
|
|
162
|
+
vm.query || '',
|
|
163
|
+
'搜尋所有文章'
|
|
164
|
+
),
|
|
169
165
|
BgWidget.tableV3({
|
|
170
166
|
gvc: gvc,
|
|
171
167
|
getData: (vd) => {
|
|
@@ -231,7 +227,6 @@ export class BgBlog {
|
|
|
231
227
|
},
|
|
232
228
|
});
|
|
233
229
|
},
|
|
234
|
-
option: false,
|
|
235
230
|
},
|
|
236
231
|
],
|
|
237
232
|
}),
|
|
@@ -41,12 +41,12 @@ export class BgGraphApi {
|
|
|
41
41
|
vm.status = 'add';
|
|
42
42
|
}))}
|
|
43
43
|
</div>
|
|
44
|
-
${BgWidget.container([
|
|
45
|
-
BgWidget.searchPlace(gvc.event((e
|
|
44
|
+
${BgWidget.container(BgWidget.mainCard([
|
|
45
|
+
BgWidget.searchPlace(gvc.event((e) => {
|
|
46
46
|
vm.query = e.value;
|
|
47
47
|
gvc.notifyDataChange(id);
|
|
48
48
|
}), vm.query || '', '搜尋所有訂單'),
|
|
49
|
-
BgWidget.
|
|
49
|
+
BgWidget.tableV3({
|
|
50
50
|
gvc: gvc,
|
|
51
51
|
getData: (vmi) => {
|
|
52
52
|
const limit = 20;
|
|
@@ -103,11 +103,7 @@ export class BgGraphApi {
|
|
|
103
103
|
if (response) {
|
|
104
104
|
dialog.dataLoading({ visible: true });
|
|
105
105
|
GraphApi.delete({
|
|
106
|
-
id: checkedData
|
|
107
|
-
.map((dd) => {
|
|
108
|
-
return dd.id;
|
|
109
|
-
})
|
|
110
|
-
.join(`,`),
|
|
106
|
+
id: checkedData.map((dd) => dd.id).join(`,`),
|
|
111
107
|
}).then((res) => {
|
|
112
108
|
dialog.dataLoading({ visible: false });
|
|
113
109
|
if (res.result) {
|
|
@@ -122,11 +118,10 @@ export class BgGraphApi {
|
|
|
122
118
|
},
|
|
123
119
|
});
|
|
124
120
|
},
|
|
125
|
-
option: false,
|
|
126
121
|
},
|
|
127
122
|
],
|
|
128
|
-
})
|
|
129
|
-
].join(''))}
|
|
123
|
+
}),
|
|
124
|
+
].join('')))}
|
|
130
125
|
`, BgWidget.getContainerWidth());
|
|
131
126
|
case 'replace':
|
|
132
127
|
return BgGraphApi.editor({
|
|
@@ -54,16 +54,16 @@ export class BgGraphApi {
|
|
|
54
54
|
)}
|
|
55
55
|
</div>
|
|
56
56
|
${BgWidget.container(
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
57
|
+
BgWidget.mainCard(
|
|
58
|
+
[
|
|
59
|
+
BgWidget.searchPlace(
|
|
60
|
+
gvc.event((e) => {
|
|
61
|
+
vm.query = e.value;
|
|
62
|
+
gvc.notifyDataChange(id);
|
|
63
|
+
}),
|
|
64
|
+
vm.query || '',
|
|
65
|
+
'搜尋所有訂單'
|
|
66
|
+
),
|
|
67
67
|
BgWidget.tableV3({
|
|
68
68
|
gvc: gvc,
|
|
69
69
|
getData: (vmi) => {
|
|
@@ -98,7 +98,6 @@ export class BgGraphApi {
|
|
|
98
98
|
});
|
|
99
99
|
});
|
|
100
100
|
}
|
|
101
|
-
|
|
102
101
|
vm.dataList = data.response.data;
|
|
103
102
|
vmi.pageSize = Math.ceil(data.response.total / limit);
|
|
104
103
|
vmi.originalData = vm.dataList;
|
|
@@ -122,11 +121,7 @@ export class BgGraphApi {
|
|
|
122
121
|
if (response) {
|
|
123
122
|
dialog.dataLoading({ visible: true });
|
|
124
123
|
GraphApi.delete({
|
|
125
|
-
id: checkedData
|
|
126
|
-
.map((dd: any) => {
|
|
127
|
-
return dd.id;
|
|
128
|
-
})
|
|
129
|
-
.join(`,`),
|
|
124
|
+
id: checkedData.map((dd: any) => dd.id).join(`,`),
|
|
130
125
|
}).then((res) => {
|
|
131
126
|
dialog.dataLoading({ visible: false });
|
|
132
127
|
if (res.result) {
|
|
@@ -140,12 +135,11 @@ export class BgGraphApi {
|
|
|
140
135
|
},
|
|
141
136
|
});
|
|
142
137
|
},
|
|
143
|
-
option: false,
|
|
144
138
|
},
|
|
145
139
|
],
|
|
146
|
-
})
|
|
147
|
-
)
|
|
148
|
-
|
|
140
|
+
}),
|
|
141
|
+
].join('')
|
|
142
|
+
)
|
|
149
143
|
)}
|
|
150
144
|
`,
|
|
151
145
|
BgWidget.getContainerWidth()
|