ts-glitter 18.3.0 → 18.3.2
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/cms-plugin/cms-router.js +1 -1
- package/lowcode/cms-plugin/cms-router.ts +1 -1
- package/lowcode/cms-plugin/shopping-finance-setting.js +17 -3
- package/lowcode/cms-plugin/shopping-finance-setting.ts +276 -262
- package/lowcode/public-components/checkout/index.js +7 -7
- package/lowcode/public-components/checkout/index.ts +8 -7
- package/lowcode/public-components/product/product-detail.js +1 -1
- package/lowcode/public-components/product/product-detail.ts +1 -1
- package/package.json +1 -1
- package/src/api-public/services/shopping.js +16 -17
- package/src/api-public/services/shopping.js.map +1 -1
- package/src/api-public/services/shopping.ts +27 -25
package/lowcode/Entry.js
CHANGED
|
@@ -132,7 +132,7 @@ export class Entry {
|
|
|
132
132
|
}
|
|
133
133
|
window.renderClock = (_b = window.renderClock) !== null && _b !== void 0 ? _b : clockF();
|
|
134
134
|
console.log(`Entry-time:`, window.renderClock.stop());
|
|
135
|
-
glitter.share.editerVersion = 'V_18.3.
|
|
135
|
+
glitter.share.editerVersion = 'V_18.3.2';
|
|
136
136
|
glitter.share.start = new Date();
|
|
137
137
|
const vm = {
|
|
138
138
|
appConfig: [],
|
package/lowcode/Entry.ts
CHANGED
|
@@ -135,7 +135,7 @@ export class Entry {
|
|
|
135
135
|
}
|
|
136
136
|
(window as any).renderClock = (window as any).renderClock ?? clockF();
|
|
137
137
|
console.log(`Entry-time:`, (window as any).renderClock.stop());
|
|
138
|
-
glitter.share.editerVersion = 'V_18.3.
|
|
138
|
+
glitter.share.editerVersion = 'V_18.3.2';
|
|
139
139
|
glitter.share.start = new Date();
|
|
140
140
|
const vm: {
|
|
141
141
|
appConfig: any;
|
|
@@ -29,7 +29,7 @@ export class CmsRouter {
|
|
|
29
29
|
case 'ig_live':
|
|
30
30
|
case 'line_plus':
|
|
31
31
|
resolve(`<div class="d-flex w-100 align-items-center justify-content-center">
|
|
32
|
-
<div class="insignia insignia-warning">功能優化中,預計於3月
|
|
32
|
+
<div class="insignia insignia-warning">功能優化中,預計於3月7號重新開放!</div>
|
|
33
33
|
</div>`);
|
|
34
34
|
break;
|
|
35
35
|
default:
|
|
@@ -33,7 +33,7 @@ export class CmsRouter{
|
|
|
33
33
|
case 'ig_live':
|
|
34
34
|
case 'line_plus':
|
|
35
35
|
resolve(`<div class="d-flex w-100 align-items-center justify-content-center">
|
|
36
|
-
<div class="insignia insignia-warning">功能優化中,預計於3月
|
|
36
|
+
<div class="insignia insignia-warning">功能優化中,預計於3月7號重新開放!</div>
|
|
37
37
|
</div>`)
|
|
38
38
|
break
|
|
39
39
|
default:
|
|
@@ -293,7 +293,20 @@ export class ShoppingFinanceSetting {
|
|
|
293
293
|
title: '金流設定',
|
|
294
294
|
innerHTML: (gvc) => {
|
|
295
295
|
try {
|
|
296
|
-
return
|
|
296
|
+
return html `
|
|
297
|
+
${BgWidget.editeInput({
|
|
298
|
+
gvc: gvc,
|
|
299
|
+
title: `<div>自訂金流名稱
|
|
300
|
+
${BgWidget.grayNote('未輸入則參照預設')}
|
|
301
|
+
</div>`,
|
|
302
|
+
default: key_d.custome_name,
|
|
303
|
+
callback: (text) => {
|
|
304
|
+
key_d.custome_name = text;
|
|
305
|
+
},
|
|
306
|
+
placeHolder: '請輸入自訂顯示名稱',
|
|
307
|
+
global_language: true
|
|
308
|
+
})}
|
|
309
|
+
<div style="margin-top:-20px;">${(() => {
|
|
297
310
|
switch (payData.key) {
|
|
298
311
|
case 'newWebPay':
|
|
299
312
|
case 'ecPay':
|
|
@@ -555,7 +568,8 @@ export class ShoppingFinanceSetting {
|
|
|
555
568
|
].join('');
|
|
556
569
|
}
|
|
557
570
|
return ``;
|
|
558
|
-
})()}
|
|
571
|
+
})()}
|
|
572
|
+
</div>`;
|
|
559
573
|
}
|
|
560
574
|
catch (e) {
|
|
561
575
|
console.error(e);
|
|
@@ -1981,7 +1995,7 @@ ${BgWidget.greenNote('支援四大超商/黑貓')}
|
|
|
1981
1995
|
title: html `
|
|
1982
1996
|
<div class="d-flex flex-column"
|
|
1983
1997
|
style="gap:5px;">
|
|
1984
|
-
|
|
1998
|
+
物流追蹤通知
|
|
1985
1999
|
${BgWidget.grayNote('點擊複製此連結至PAYNOW後台的貨態回傳網址')}
|
|
1986
2000
|
</div>`,
|
|
1987
2001
|
default: window.parent.saasConfig.config.url + `/api-public/v1/delivery/notify?g-app=${window.parent.appName}`,
|