ts-glitter 17.1.6 → 17.1.7
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/POS-setting.js +1 -1
- package/lowcode/cms-plugin/POS-setting.ts +1 -1
- package/lowcode/cms-plugin/pos-pages/pos-function.js +2 -0
- package/lowcode/cms-plugin/pos-pages/pos-function.ts +3 -0
- package/package.json +1 -1
package/lowcode/Entry.js
CHANGED
|
@@ -89,7 +89,7 @@ export class Entry {
|
|
|
89
89
|
}
|
|
90
90
|
window.renderClock = (_b = window.renderClock) !== null && _b !== void 0 ? _b : clockF();
|
|
91
91
|
console.log(`Entry-time:`, window.renderClock.stop());
|
|
92
|
-
glitter.share.editerVersion = 'V_17.1.
|
|
92
|
+
glitter.share.editerVersion = 'V_17.1.7';
|
|
93
93
|
glitter.share.start = new Date();
|
|
94
94
|
const vm = {
|
|
95
95
|
appConfig: [],
|
package/lowcode/Entry.ts
CHANGED
|
@@ -90,7 +90,7 @@ export class Entry {
|
|
|
90
90
|
}
|
|
91
91
|
(window as any).renderClock = (window as any).renderClock ?? clockF();
|
|
92
92
|
console.log(`Entry-time:`, (window as any).renderClock.stop());
|
|
93
|
-
glitter.share.editerVersion = 'V_17.1.
|
|
93
|
+
glitter.share.editerVersion = 'V_17.1.7';
|
|
94
94
|
glitter.share.start = new Date();
|
|
95
95
|
const vm: {
|
|
96
96
|
appConfig: any;
|
|
@@ -668,7 +668,7 @@ cursor: pointer;
|
|
|
668
668
|
style="z-index:20;padding-top:${glitter.share.top_inset}px;width: 100%;background: #FFF;box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.10);position: fixed;left: 0;top: 0;"
|
|
669
669
|
>
|
|
670
670
|
<div
|
|
671
|
-
class="POS-logo d-flex align-items-center ${document.body.offsetWidth < 800 ? `justify-content-center` :
|
|
671
|
+
class="POS-logo d-flex align-items-center ${document.body.offsetWidth < 800 ? `justify-content-center` : `w-100`} mx-2 "
|
|
672
672
|
style="${document.body.offsetWidth < 800 ? `gap: 0px;` : `gap: 10px;padding-left: 24px;`}height: ${(() => {
|
|
673
673
|
if (document.body.offsetWidth > 800) {
|
|
674
674
|
return `86px`;
|
|
@@ -798,7 +798,7 @@ cursor: pointer;
|
|
|
798
798
|
style="z-index:20;padding-top:${glitter.share.top_inset}px;width: 100%;background: #FFF;box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.10);position: fixed;left: 0;top: 0;"
|
|
799
799
|
>
|
|
800
800
|
<div
|
|
801
|
-
class="POS-logo d-flex align-items-center ${document.body.offsetWidth < 800 ? `justify-content-center` :
|
|
801
|
+
class="POS-logo d-flex align-items-center ${document.body.offsetWidth < 800 ? `justify-content-center` : `w-100`} mx-2 "
|
|
802
802
|
style="${document.body.offsetWidth < 800 ? `gap: 0px;` : `gap: 10px;padding-left: 24px;`}height: ${(() => {
|
|
803
803
|
if (document.body.offsetWidth > 800) {
|
|
804
804
|
return `86px`
|
|
@@ -701,6 +701,8 @@ ${PosWidget.fontBold('總金額')}
|
|
|
701
701
|
</div>
|
|
702
702
|
</div>`
|
|
703
703
|
}catch (e) {
|
|
704
|
+
TempOrder.removeTempOrders(dd.orderID!!)
|
|
705
|
+
gvc.recreateView()
|
|
704
706
|
console.log(e)
|
|
705
707
|
return ``
|
|
706
708
|
}
|
|
@@ -711,6 +713,7 @@ ${PosWidget.fontBold('總金額')}
|
|
|
711
713
|
})}"></i>`
|
|
712
714
|
].join('')
|
|
713
715
|
} catch (e) {
|
|
716
|
+
|
|
714
717
|
console.log(e)
|
|
715
718
|
return `${e}`
|
|
716
719
|
}
|