ts-glitter 13.8.64 → 13.8.66

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 CHANGED
@@ -64,7 +64,7 @@ export class Entry {
64
64
  }
65
65
  window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
66
66
  console.log(`Entry-time:`, window.renderClock.stop());
67
- glitter.share.editerVersion = 'V_13.8.64';
67
+ glitter.share.editerVersion = 'V_13.8.66';
68
68
  glitter.share.start = new Date();
69
69
  const vm = {
70
70
  appConfig: [],
package/lowcode/Entry.ts CHANGED
@@ -64,7 +64,7 @@ export class Entry {
64
64
  }
65
65
  (window as any).renderClock = (window as any).renderClock ?? clockF();
66
66
  console.log(`Entry-time:`, (window as any).renderClock.stop());
67
- glitter.share.editerVersion = 'V_13.8.64';
67
+ glitter.share.editerVersion = 'V_13.8.66';
68
68
  glitter.share.start = new Date();
69
69
  const vm: {
70
70
  appConfig: any;
@@ -1192,11 +1192,7 @@ text-transform: uppercase;" onclick="${gvc.event(() => {
1192
1192
  gvc.glitter.innerDialog((gvc) => {
1193
1193
  gvc.glitter.runJsInterFace('credit_card', {
1194
1194
  amount: `${orderDetail.total}`,
1195
- memo: orderDetail.lineItems
1196
- .map((data) => {
1197
- return `${data.title} * ${data.count}`;
1198
- })
1199
- .join(','),
1195
+ memo: `訂單ID:${orderDetail.id}`,
1200
1196
  }, (res) => {
1201
1197
  if (res.result) {
1202
1198
  gvc.closeDialog();
@@ -1637,7 +1633,7 @@ text-transform: uppercase;" onclick="${gvc.event(() => {
1637
1633
  setTimeout(() => __awaiter(this, void 0, void 0, function* () {
1638
1634
  yield IminPrintInstance.printAndFeedPaper(5);
1639
1635
  yield IminPrintInstance.setQrCodeSize(2);
1640
- yield IminPrintInstance.setDoubleQRSize(3);
1636
+ yield IminPrintInstance.setDoubleQRSize(4);
1641
1637
  yield IminPrintInstance.setDoubleQR1MarginLeft(10);
1642
1638
  yield IminPrintInstance.setDoubleQR2MarginLeft(520);
1643
1639
  const ba = (new Blob([invoice.qrcode_0]).size - (new Blob([invoice.qrcode_1]).size)) * 1.1;
@@ -1238,18 +1238,13 @@ text-transform: uppercase;" onclick="${gvc.event(() => {
1238
1238
  function next() {
1239
1239
  PaymentPage.selectInvoice(gvc, orderDetail, vm, passData);
1240
1240
  }
1241
-
1242
1241
  gvc.glitter.innerDialog(
1243
1242
  (gvc: GVC) => {
1244
1243
  gvc.glitter.runJsInterFace(
1245
1244
  'credit_card',
1246
1245
  {
1247
1246
  amount: `${orderDetail.total}`,
1248
- memo: orderDetail.lineItems
1249
- .map((data: any) => {
1250
- return `${data.title} * ${data.count}`;
1251
- })
1252
- .join(','),
1247
+ memo: `訂單ID:${orderDetail.id}`,
1253
1248
  },
1254
1249
  (res: any) => {
1255
1250
  if (res.result) {
@@ -1735,7 +1730,7 @@ text-transform: uppercase;" onclick="${gvc.event(() => {
1735
1730
  setTimeout(async ()=>{
1736
1731
  await IminPrintInstance.printAndFeedPaper(5)
1737
1732
  await IminPrintInstance.setQrCodeSize(2);
1738
- await IminPrintInstance.setDoubleQRSize(3)
1733
+ await IminPrintInstance.setDoubleQRSize(4)
1739
1734
  await IminPrintInstance.setDoubleQR1MarginLeft(10)
1740
1735
  await IminPrintInstance.setDoubleQR2MarginLeft(520)
1741
1736
  const ba=(new Blob([invoice.qrcode_0]).size - (new Blob([invoice.qrcode_1]).size))*1.1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "13.8.64",
3
+ "version": "13.8.66",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -61,7 +61,7 @@
61
61
  "ssh2": "^1.14.0",
62
62
  "tsconfig-paths": "^3.11.0",
63
63
  "tscpaths": "^0.0.9",
64
- "underscore": "^1.13.6",
64
+ "underscore": "1.13.7",
65
65
  "uuid": "^8.3.2",
66
66
  "winston": "^3.3.3",
67
67
  "winston-daily-rotate-file": "^4.5.5",