ts-glitter 13.8.59 → 13.8.62

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.
Files changed (94) hide show
  1. package/lowcode/Entry.js +2 -2
  2. package/lowcode/Entry.ts +11 -2
  3. package/lowcode/api/pageConfig.js +2 -2
  4. package/lowcode/api/pageConfig.ts +2 -2
  5. package/lowcode/backend-manager/bg-guide.js +60 -2
  6. package/lowcode/backend-manager/bg-guide.ts +66 -2
  7. package/lowcode/backend-manager/bg-widget.js +2 -1
  8. package/lowcode/backend-manager/bg-widget.ts +2 -1
  9. package/lowcode/cms-plugin/POS-setting.js +52 -29
  10. package/lowcode/cms-plugin/POS-setting.ts +163 -135
  11. package/lowcode/cms-plugin/ai-generator/product-ai.js +39 -11
  12. package/lowcode/cms-plugin/ai-generator/product-ai.ts +41 -11
  13. package/lowcode/cms-plugin/ai-message.js +7 -7
  14. package/lowcode/cms-plugin/ai-message.ts +7 -7
  15. package/lowcode/cms-plugin/filter-options.js +64 -0
  16. package/lowcode/cms-plugin/filter-options.ts +67 -0
  17. package/lowcode/cms-plugin/pos-pages/payment-page.js +21 -21
  18. package/lowcode/cms-plugin/pos-pages/payment-page.ts +186 -166
  19. package/lowcode/cms-plugin/shopping-invoice-manager.js +1413 -0
  20. package/lowcode/cms-plugin/shopping-invoice-manager.ts +1678 -0
  21. package/lowcode/cms-plugin/shopping-order-manager.js +8 -2
  22. package/lowcode/cms-plugin/shopping-order-manager.ts +9 -3
  23. package/lowcode/cms-plugin/shopping-order-return.js +2 -1
  24. package/lowcode/cms-plugin/shopping-order-return.ts +2 -1
  25. package/lowcode/cms-plugin/shopping-product-setting.js +3 -31
  26. package/lowcode/cms-plugin/shopping-product-setting.ts +40 -37
  27. package/lowcode/cms-plugin/shopping-product-text.js +9 -9
  28. package/lowcode/cms-plugin/shopping-product-text.ts +9 -9
  29. package/lowcode/editor/ai-editor.js +2 -1
  30. package/lowcode/editor/ai-editor.ts +2 -1
  31. package/lowcode/glitter-base/route/ai-chat.js +11 -0
  32. package/lowcode/glitter-base/route/ai-chat.ts +14 -0
  33. package/lowcode/glitter-base/route/api-cart.js +19 -12
  34. package/lowcode/glitter-base/route/api-cart.ts +78 -64
  35. package/lowcode/glitter-base/route/shopping.js +41 -0
  36. package/lowcode/glitter-base/route/shopping.ts +51 -0
  37. package/lowcode/jspage/function-page/setting_editor.js +8 -0
  38. package/lowcode/jspage/function-page/setting_editor.ts +8 -0
  39. package/lowcode/official_event/e-commerce/add-to-cart.js +1 -1
  40. package/lowcode/official_event/e-commerce/add-to-cart.ts +9 -5
  41. package/lowcode/public-components/ai/ai-search.js +188 -0
  42. package/lowcode/public-components/ai/ai-search.ts +284 -0
  43. package/lowcode/public-components/headers/sy-02.js +234 -129
  44. package/lowcode/public-components/headers/sy-02.ts +364 -254
  45. package/lowcode/public-components/headers/sy-03.js +233 -136
  46. package/lowcode/public-components/headers/sy-03.ts +345 -246
  47. package/lowcode/public-components/headers/sy-04.js +237 -138
  48. package/lowcode/public-components/headers/sy-04.ts +339 -238
  49. package/lowcode/public-components/product/pd-card-01.js +289 -0
  50. package/lowcode/public-components/product/pd-card-01.ts +297 -0
  51. package/lowcode/public-components/product/pd-card-02.js +286 -0
  52. package/lowcode/public-components/product/pd-card-02.ts +294 -0
  53. package/lowcode/public-components/product/pd-card-03.js +292 -0
  54. package/lowcode/public-components/product/pd-card-03.ts +300 -0
  55. package/lowcode/public-components/product/pd-class.js +356 -0
  56. package/lowcode/public-components/product/pd-class.ts +500 -0
  57. package/lowcode/public-components/product/product-detail.js +251 -0
  58. package/lowcode/public-components/product/product-detail.ts +280 -0
  59. package/lowcode/public-components/product/product-list.js +41 -16
  60. package/lowcode/public-components/product/product-list.ts +39 -17
  61. package/package.json +1 -1
  62. package/src/api-public/controllers/ai-chat.js +24 -1
  63. package/src/api-public/controllers/ai-chat.js.map +5 -1
  64. package/src/api-public/controllers/ai-chat.ts +24 -1
  65. package/src/api-public/controllers/fb-message.js.map +1 -1
  66. package/src/api-public/controllers/index.js +2 -1
  67. package/src/api-public/controllers/index.js.map +1 -1
  68. package/src/api-public/controllers/index.ts +3 -1
  69. package/src/api-public/controllers/invoice.js +22 -0
  70. package/src/api-public/controllers/invoice.js.map +1 -1
  71. package/src/api-public/controllers/invoice.ts +24 -0
  72. package/src/api-public/services/EcInvoice.js +5 -2
  73. package/src/api-public/services/EcInvoice.js.map +1 -1
  74. package/src/api-public/services/EcInvoice.ts +5 -3
  75. package/src/api-public/services/ai-robot.d.ts +8 -1
  76. package/src/api-public/services/ai-robot.js +88 -3
  77. package/src/api-public/services/ai-robot.js.map +5 -1
  78. package/src/api-public/services/ai-robot.ts +82 -3
  79. package/src/api-public/services/auto-send-email.js.map +1 -1
  80. package/src/api-public/services/fb-message.js.map +1 -1
  81. package/src/api-public/services/invoice.d.ts +21 -0
  82. package/src/api-public/services/invoice.js +85 -0
  83. package/src/api-public/services/invoice.js.map +1 -1
  84. package/src/api-public/services/invoice.ts +117 -0
  85. package/src/api-public/services/notify.js.map +1 -1
  86. package/src/api-public/services/public-table-check.js +3 -1
  87. package/src/api-public/services/public-table-check.js.map +1 -1
  88. package/src/api-public/services/public-table-check.ts +20 -1
  89. package/src/api-public/services/shopping.js +2 -0
  90. package/src/api-public/services/shopping.js.map +5 -1
  91. package/src/api-public/services/shopping.ts +3 -0
  92. package/src/index.js.map +5 -1
  93. package/src/services/app.js.map +1 -1
  94. package/usk99virc5.csv +178 -0
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.59';
67
+ glitter.share.editerVersion = 'V_13.8.62';
68
68
  glitter.share.start = new Date();
69
69
  const vm = {
70
70
  appConfig: [],
@@ -234,7 +234,7 @@ export class Entry {
234
234
  'assets/vendor/swiper/swiper-bundle.min.js',
235
235
  'assets/js/theme.min.js',
236
236
  'https://kit.fontawesome.com/cccedec0f8.js',
237
- 'https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js',
237
+ 'https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js'
238
238
  ], () => {
239
239
  resolve(true);
240
240
  }, () => {
package/lowcode/Entry.ts CHANGED
@@ -9,6 +9,7 @@ import { ShareDialog } from './glitterBundle/dialog/ShareDialog.js';
9
9
 
10
10
  export class Entry {
11
11
  public static onCreate(glitter: Glitter) {
12
+
12
13
  glitter.share.top_inset = 0;
13
14
  glitter.share.bottom_inset = 0;
14
15
  glitter.share.reload_code_hash = function () {
@@ -64,7 +65,7 @@ export class Entry {
64
65
  }
65
66
  (window as any).renderClock = (window as any).renderClock ?? clockF();
66
67
  console.log(`Entry-time:`, (window as any).renderClock.stop());
67
- glitter.share.editerVersion = 'V_13.8.59';
68
+ glitter.share.editerVersion = 'V_13.8.62';
68
69
  glitter.share.start = new Date();
69
70
  const vm: {
70
71
  appConfig: any;
@@ -239,7 +240,15 @@ export class Entry {
239
240
  'https://cdn.jsdelivr.net/npm/@simonwep/pickr/dist/themes/monolith.min.css',
240
241
  'https://cdn.jsdelivr.net/npm/@simonwep/pickr/dist/themes/nano.min.css',
241
242
  ]);
243
+ // <script src="https://cdnjs.cloudflare.com/ajax/libs/mui/3.7.1/js/mui.min.js"
244
+ // integrity="sha512-5LSZkoyayM01bXhnlp2T6+RLFc+dE4SIZofQMxy/ydOs3D35mgQYf6THIQrwIMmgoyjI+bqjuuj4fQcGLyJFYg=="
245
+ // crossorigin="anonymous" referrerpolicy="no-referrer"></script>
246
+ // <script type="text/javascript" src="https://oss-sg.imin.sg/web/iMinPartner/js/imin-printer.min.js"></script>
247
+ // <script src="//oss-sg.imin.sg/web/iMinPartner2/js/jquery.min.js"></script>
248
+ // <script src="https://cdn.bootcdn.net/ajax/libs/vConsole/3.9.1/vconsole.min.js"></script>
242
249
  await new Promise((resolve, reject) => {
250
+
251
+
243
252
  glitter.addMtScript(
244
253
  [
245
254
  'jslib/pickr.min.js',
@@ -248,7 +257,7 @@ export class Entry {
248
257
  'assets/vendor/swiper/swiper-bundle.min.js',
249
258
  'assets/js/theme.min.js',
250
259
  'https://kit.fontawesome.com/cccedec0f8.js',
251
- 'https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js',
260
+ 'https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js'
252
261
  ],
253
262
  () => {
254
263
  resolve(true);
@@ -334,7 +334,7 @@ export class ApiPageConfig {
334
334
  else {
335
335
  return `png`;
336
336
  }
337
- })()}`).replace(/ /g, '');
337
+ })()}`).replace(/ /g, '').replace(/'/g, '').replace(/"/g, '');
338
338
  if (file.type.startsWith('image')) {
339
339
  file_name = `${size ? `size${size}_` : ``}s*px$_${file_id}_${file_name}`;
340
340
  }
@@ -415,7 +415,7 @@ export class ApiPageConfig {
415
415
  }
416
416
  }
417
417
  else {
418
- const s3res = (yield ApiPageConfig.uploadFile(file.name)).response;
418
+ const s3res = (yield ApiPageConfig.uploadFile(file.name.replace(/ /g, '').replace(/'/g, '').replace(/"/g, ''))).response;
419
419
  const res = yield BaseApi.create({
420
420
  url: s3res.url,
421
421
  type: 'put',
@@ -403,7 +403,7 @@ export class ApiPageConfig {
403
403
  return `png`;
404
404
  }
405
405
  })()}`
406
- ).replace(/ /g, '')
406
+ ).replace(/ /g, '').replace(/'/g,'').replace(/"/g,'')
407
407
 
408
408
  if(file.type.startsWith('image')){
409
409
  file_name=`${size ?`size${size}_`:``}s*px$_${file_id}_${file_name}`
@@ -484,7 +484,7 @@ export class ApiPageConfig {
484
484
  }
485
485
  }
486
486
  }else{
487
- const s3res= (await ApiPageConfig.uploadFile(file.name)).response;
487
+ const s3res= (await ApiPageConfig.uploadFile(file.name.replace(/ /g, '').replace(/'/g,'').replace(/"/g,''))).response;
488
488
  const res= await BaseApi.create({
489
489
  url: s3res.url,
490
490
  type: 'put',
@@ -882,6 +882,7 @@ export class BgGuide {
882
882
  step: this.step,
883
883
  };
884
884
  const that = this;
885
+ let layer2Delay = true;
885
886
  let totalStep = 4;
886
887
  return gvc.bindView({
887
888
  bind: 'layoutInit',
@@ -924,6 +925,14 @@ export class BgGuide {
924
925
  `);
925
926
  switch (vm.step) {
926
927
  case 2: {
928
+ if (layer2Delay) {
929
+ const timer = setInterval(() => {
930
+ layer2Delay = false;
931
+ clearInterval(timer);
932
+ gvc.notifyDataChange('layoutInit');
933
+ }, 500);
934
+ return ``;
935
+ }
927
936
  return this.drawSecondRowBG(BG, vm, `.guide7-2`, viewID, '佈景主題', totalStep);
928
937
  }
929
938
  case 3: {
@@ -1440,6 +1449,7 @@ export class BgGuide {
1440
1449
  step: this.step,
1441
1450
  };
1442
1451
  const that = this;
1452
+ let layer2Delay = true;
1443
1453
  return gvc.bindView({
1444
1454
  bind: 'messageInit',
1445
1455
  dataList: [],
@@ -1481,6 +1491,14 @@ export class BgGuide {
1481
1491
  `);
1482
1492
  switch (vm.step) {
1483
1493
  case 2: {
1494
+ if (layer2Delay) {
1495
+ const timer = setInterval(() => {
1496
+ layer2Delay = false;
1497
+ clearInterval(timer);
1498
+ gvc.notifyDataChange('messageInit');
1499
+ }, 500);
1500
+ return ``;
1501
+ }
1484
1502
  return this.drawSecondRowBG(BG, vm, `.guide6-2`, viewID, '商店訊息', 5);
1485
1503
  }
1486
1504
  case 3: {
@@ -1549,6 +1567,7 @@ export class BgGuide {
1549
1567
  step: this.step,
1550
1568
  };
1551
1569
  const that = this;
1570
+ let layer2Delay = true;
1552
1571
  return gvc.bindView({
1553
1572
  bind: 'productInit',
1554
1573
  dataList: [],
@@ -1589,6 +1608,14 @@ export class BgGuide {
1589
1608
  `);
1590
1609
  switch (vm.step) {
1591
1610
  case 2: {
1611
+ if (layer2Delay) {
1612
+ const timer = setInterval(() => {
1613
+ layer2Delay = false;
1614
+ clearInterval(timer);
1615
+ gvc.notifyDataChange('productInit');
1616
+ }, 500);
1617
+ return ``;
1618
+ }
1592
1619
  return this.drawSecondRowBG(BG, vm, `.guide5-2`, 'productInit', '商品列表', 8);
1593
1620
  }
1594
1621
  case 3: {
@@ -1761,6 +1788,7 @@ export class BgGuide {
1761
1788
  step: this.step,
1762
1789
  };
1763
1790
  const that = this;
1791
+ let layer2Delay = true;
1764
1792
  return gvc.bindView({
1765
1793
  bind: 'logisticsInit',
1766
1794
  dataList: [],
@@ -1801,6 +1829,14 @@ export class BgGuide {
1801
1829
  `);
1802
1830
  switch (vm.step) {
1803
1831
  case 2: {
1832
+ if (layer2Delay) {
1833
+ const timer = setInterval(() => {
1834
+ layer2Delay = false;
1835
+ clearInterval(timer);
1836
+ gvc.notifyDataChange('logisticsInit');
1837
+ }, 500);
1838
+ return ``;
1839
+ }
1804
1840
  return this.drawSecondRowBG(BG, vm, `.guide4-2`, 'logisticsInit', '運費設定', 8);
1805
1841
  }
1806
1842
  case 3: {
@@ -1999,6 +2035,7 @@ export class BgGuide {
1999
2035
  step: this.step,
2000
2036
  };
2001
2037
  const that = this;
2038
+ let layer2Delay = true;
2002
2039
  return gvc.bindView({
2003
2040
  bind: 'shipInit',
2004
2041
  dataList: [],
@@ -2039,6 +2076,14 @@ export class BgGuide {
2039
2076
  `);
2040
2077
  switch (vm.step) {
2041
2078
  case 2: {
2079
+ if (layer2Delay) {
2080
+ const timer = setInterval(() => {
2081
+ layer2Delay = false;
2082
+ clearInterval(timer);
2083
+ gvc.notifyDataChange('shipInit');
2084
+ }, 500);
2085
+ return ``;
2086
+ }
2042
2087
  return this.drawSecondRowBG(BG, vm, `.guide3-2`, 'shipInit', '配送設定', 5);
2043
2088
  }
2044
2089
  case 3: {
@@ -2281,6 +2326,7 @@ export class BgGuide {
2281
2326
  };
2282
2327
  let viewID = 'financeInit';
2283
2328
  let tempHTML = ``;
2329
+ let layer2Delay = true;
2284
2330
  return gvc.bindView({
2285
2331
  bind: viewID,
2286
2332
  dataList: [],
@@ -2321,6 +2367,14 @@ export class BgGuide {
2321
2367
  `);
2322
2368
  switch (vm.step) {
2323
2369
  case 2: {
2370
+ if (layer2Delay) {
2371
+ const timer = setInterval(() => {
2372
+ layer2Delay = false;
2373
+ clearInterval(timer);
2374
+ gvc.notifyDataChange(viewID);
2375
+ }, 500);
2376
+ return ``;
2377
+ }
2324
2378
  return this.drawSecondRowBG(BG, vm, `.guide2-2`, 'financeInit', '金流設定', 6);
2325
2379
  }
2326
2380
  case 3: {
@@ -2844,9 +2898,13 @@ export class BgGuide {
2844
2898
  bind: 'guideDirect',
2845
2899
  view: () => {
2846
2900
  let dialog = new ShareDialog(gvc.glitter);
2847
- dialog.dataLoading({ visible: true });
2848
- setTimeout(() => {
2901
+ if (vm.progress.length == 0) {
2902
+ dialog.dataLoading({ visible: true });
2903
+ }
2904
+ else {
2849
2905
  dialog.dataLoading({ visible: false });
2906
+ }
2907
+ setTimeout(() => {
2850
2908
  }, 300);
2851
2909
  return vm.progress
2852
2910
  .map((data, index) => {
@@ -1034,6 +1034,7 @@ export class BgGuide {
1034
1034
  step: this.step,
1035
1035
  };
1036
1036
  const that = this;
1037
+ let layer2Delay = true;
1037
1038
  let totalStep = 4;
1038
1039
  return gvc.bindView({
1039
1040
  bind: 'layoutInit',
@@ -1078,6 +1079,15 @@ export class BgGuide {
1078
1079
  `);
1079
1080
  switch (vm.step) {
1080
1081
  case 2: {
1082
+ if (layer2Delay) {
1083
+ const timer = setInterval(() => {
1084
+ layer2Delay = false;
1085
+ clearInterval(timer);
1086
+ gvc.notifyDataChange('layoutInit');
1087
+
1088
+ }, 500);
1089
+ return ``
1090
+ }
1081
1091
  return this.drawSecondRowBG(BG, vm, `.guide7-2`, viewID, '佈景主題', totalStep);
1082
1092
  }
1083
1093
  case 3: {
@@ -1654,6 +1664,7 @@ export class BgGuide {
1654
1664
  step: this.step,
1655
1665
  };
1656
1666
  const that = this;
1667
+ let layer2Delay = true;
1657
1668
  return gvc.bindView({
1658
1669
  bind: 'messageInit',
1659
1670
  dataList: [],
@@ -1695,6 +1706,15 @@ export class BgGuide {
1695
1706
  `);
1696
1707
  switch (vm.step) {
1697
1708
  case 2: {
1709
+ if (layer2Delay) {
1710
+ const timer = setInterval(() => {
1711
+ layer2Delay = false;
1712
+ clearInterval(timer);
1713
+ gvc.notifyDataChange('messageInit');
1714
+
1715
+ }, 500);
1716
+ return ``
1717
+ }
1698
1718
  return this.drawSecondRowBG(BG, vm, `.guide6-2`, viewID, '商店訊息', 5);
1699
1719
  }
1700
1720
  case 3: {
@@ -1786,6 +1806,7 @@ export class BgGuide {
1786
1806
  step: this.step,
1787
1807
  };
1788
1808
  const that = this;
1809
+ let layer2Delay = true;
1789
1810
  return gvc.bindView({
1790
1811
  bind: 'productInit',
1791
1812
  dataList: [],
@@ -1826,6 +1847,15 @@ export class BgGuide {
1826
1847
  `);
1827
1848
  switch (vm.step) {
1828
1849
  case 2: {
1850
+ if (layer2Delay) {
1851
+ const timer = setInterval(() => {
1852
+ layer2Delay = false;
1853
+ clearInterval(timer);
1854
+ gvc.notifyDataChange('productInit');
1855
+
1856
+ }, 500);
1857
+ return ``
1858
+ }
1829
1859
  return this.drawSecondRowBG(BG, vm, `.guide5-2`, 'productInit', '商品列表', 8);
1830
1860
  }
1831
1861
  case 3: {
@@ -2022,6 +2052,7 @@ export class BgGuide {
2022
2052
  step: this.step,
2023
2053
  };
2024
2054
  const that = this;
2055
+ let layer2Delay = true;
2025
2056
  return gvc.bindView({
2026
2057
  bind: 'logisticsInit',
2027
2058
  dataList: [],
@@ -2062,6 +2093,15 @@ export class BgGuide {
2062
2093
  `);
2063
2094
  switch (vm.step) {
2064
2095
  case 2: {
2096
+ if (layer2Delay) {
2097
+ const timer = setInterval(() => {
2098
+ layer2Delay = false;
2099
+ clearInterval(timer);
2100
+ gvc.notifyDataChange('logisticsInit');
2101
+
2102
+ }, 500);
2103
+ return ``
2104
+ }
2065
2105
  return this.drawSecondRowBG(BG, vm, `.guide4-2`, 'logisticsInit', '運費設定', 8);
2066
2106
  }
2067
2107
  case 3: {
@@ -2278,6 +2318,7 @@ export class BgGuide {
2278
2318
  step: this.step,
2279
2319
  };
2280
2320
  const that = this;
2321
+ let layer2Delay = true;
2281
2322
  return gvc.bindView({
2282
2323
  bind: 'shipInit',
2283
2324
  dataList: [],
@@ -2318,6 +2359,14 @@ export class BgGuide {
2318
2359
  `);
2319
2360
  switch (vm.step) {
2320
2361
  case 2: {
2362
+ if (layer2Delay) {
2363
+ const timer = setInterval(() => {
2364
+ layer2Delay = false;
2365
+ clearInterval(timer);
2366
+ gvc.notifyDataChange('shipInit');
2367
+ }, 500);
2368
+ return ``
2369
+ }
2321
2370
  return this.drawSecondRowBG(BG, vm, `.guide3-2`, 'shipInit', '配送設定', 5);
2322
2371
  }
2323
2372
  case 3: {
@@ -2577,11 +2626,13 @@ export class BgGuide {
2577
2626
  };
2578
2627
  let viewID = 'financeInit';
2579
2628
  let tempHTML = ``;
2629
+ let layer2Delay = true;
2580
2630
  return gvc.bindView({
2581
2631
  bind: viewID,
2582
2632
  dataList: [],
2583
2633
  view: () => {
2584
2634
  const that = this;
2635
+
2585
2636
  const BG = document.querySelector(`.guide-BG`) as HTMLElement;
2586
2637
  gvc.addStyle(`
2587
2638
  .breathing-light {
@@ -2617,6 +2668,14 @@ export class BgGuide {
2617
2668
  `);
2618
2669
  switch (vm.step) {
2619
2670
  case 2: {
2671
+ if (layer2Delay) {
2672
+ const timer = setInterval(() => {
2673
+ layer2Delay = false;
2674
+ clearInterval(timer);
2675
+ gvc.notifyDataChange(viewID);
2676
+ }, 500);
2677
+ return ``
2678
+ }
2620
2679
  return this.drawSecondRowBG(BG, vm, `.guide2-2`, 'financeInit', '金流設定', 6);
2621
2680
  }
2622
2681
  case 3: {
@@ -3166,10 +3225,15 @@ export class BgGuide {
3166
3225
  bind: 'guideDirect',
3167
3226
  view: () => {
3168
3227
  let dialog = new ShareDialog(gvc.glitter);
3169
- dialog.dataLoading({visible: true});
3228
+ if (vm.progress.length == 0){
3229
+ dialog.dataLoading({visible: true});
3230
+ }else {
3231
+ dialog.dataLoading({visible: false});
3232
+ }
3233
+
3170
3234
 
3171
3235
  setTimeout(()=>{
3172
- dialog.dataLoading({visible: false});
3236
+
3173
3237
  },300)
3174
3238
 
3175
3239
  return vm.progress
@@ -246,7 +246,7 @@ export class BgWidget {
246
246
  const text = (_a = obj.title) !== null && _a !== void 0 ? _a : (() => {
247
247
  switch (obj.select) {
248
248
  case 'writer':
249
- return '使用AI文案寫手';
249
+ return 'AI助手';
250
250
  case 'order_analysis':
251
251
  return '使用AI分析工具';
252
252
  case 'operation_guide':
@@ -1433,6 +1433,7 @@ ${(_c = obj.default) !== null && _c !== void 0 ? _c : ''}</textarea
1433
1433
  vm.tableData = [];
1434
1434
  vm.page = page;
1435
1435
  vm.loading = true;
1436
+ created.checkbox = false;
1436
1437
  gvc.notifyDataChange(ids.container);
1437
1438
  }, false)}
1438
1439
  </div>`;
@@ -344,7 +344,7 @@ export class BgWidget {
344
344
  (() => {
345
345
  switch (obj.select) {
346
346
  case 'writer':
347
- return '使用AI文案寫手';
347
+ return 'AI助手';
348
348
  case 'order_analysis':
349
349
  return '使用AI分析工具';
350
350
  case 'operation_guide':
@@ -1716,6 +1716,7 @@ ${obj.default ?? ''}</textarea
1716
1716
  vm.tableData = [];
1717
1717
  vm.page = page;
1718
1718
  vm.loading = true;
1719
+ created.checkbox=false
1719
1720
  gvc.notifyDataChange(ids.container);
1720
1721
  },
1721
1722
  false
@@ -38,7 +38,9 @@ export class POSSetting {
38
38
  view: () => {
39
39
  return html `
40
40
  <section class="vw-100 vh-100"
41
- style=" box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding-top: 120px; padding-bottom: 130px;">
41
+ style=" box-sizing: border-box; display: flex; align-items: center; justify-content: center; padding-top: 120px; padding-bottom: 130px;
42
+ background: linear-gradient(143deg, #FFB400 -22.7%, #FF6C02 114.57%);;
43
+ ">
42
44
  <div class=""
43
45
  style="border-radius: 30px; background: #FFF; box-shadow: 5px 5px 20px 0px rgba(0, 0, 0, 0.15); display: flex; width: 576px;max-width: calc(100% - 30px); padding: 40px; flex-direction: column; justify-content: center; align-items: center;"
44
46
  >
@@ -153,6 +155,25 @@ height: 51px;
153
155
  });
154
156
  }
155
157
  static main(gvc) {
158
+ const glitter = gvc.glitter;
159
+ if (glitter.deviceType === glitter.deviceTypeEnum.Android) {
160
+ const script = document.createElement('script');
161
+ script.type = 'text/javascript';
162
+ script.src = 'https://cdnjs.cloudflare.com/ajax/libs/mui/3.7.1/js/mui.min.js';
163
+ script.integrity = 'sha512-5LSZkoyayM01bXhnlp2T6+RLFc+dE4SIZofQMxy/ydOs3D35mgQYf6THIQrwIMmgoyjI+bqjuuj4fQcGLyJFYg==';
164
+ script.referrerPolicy = 'no-referrer';
165
+ script.crossOrigin = 'anonymous';
166
+ document.head.appendChild(script);
167
+ }
168
+ glitter.addMtScript([
169
+ 'https://oss-sg.imin.sg/web/iMinPartner/js/imin-printer.min.js'
170
+ ], () => {
171
+ }, () => {
172
+ });
173
+ setTimeout(() => {
174
+ window.IminPrintInstance = new IminPrinter();
175
+ window.IminPrintInstance.connect();
176
+ }, 3000);
156
177
  gvc.glitter.runJsInterFace("pos-device", {}, (res) => {
157
178
  PayConfig.deviceType = res.deviceType || 'web';
158
179
  });
@@ -225,7 +246,8 @@ height: 51px;
225
246
  return POSSetting.posView(gvc);
226
247
  }
227
248
  else {
228
- return POSSetting.loginManager(gvc, 'first', () => { });
249
+ return POSSetting.loginManager(gvc, 'first', () => {
250
+ });
229
251
  }
230
252
  }),
231
253
  divCreate: {},
@@ -712,33 +734,33 @@ cursor: pointer;
712
734
  if (POSSetting.config.who === 'manager') {
713
735
  return [{
714
736
  selectIcon: html `
715
- <svg xmlns="http://www.w3.org/2000/svg" width="29" height="29"
716
- viewBox="0 0 29 29" fill="none">
717
- <g clip-path="url(#clip0_13485_10484)">
718
- <path d="M14.0998 0.5C15.0295 0.5 15.9373 0.592969 16.8233 0.7625C17.2553 0.844531 18.0155 1.09609 18.4311 1.86172C18.5405 2.06406 18.628 2.27734 18.6826 2.50703L19.1912 4.6125C19.2678 4.92969 19.8037 5.24141 20.1155 5.14844L22.1936 4.53594C22.4123 4.47031 22.6365 4.4375 22.8608 4.43203C23.7412 4.40469 24.3373 4.94609 24.6272 5.27422C25.8358 6.64688 26.7655 8.26016 27.3561 9.99375C27.4983 10.4094 27.6623 11.1859 27.2084 11.9297C27.0881 12.1266 26.9405 12.3125 26.7709 12.4766L25.2014 13.9695C24.9717 14.1883 24.9717 14.8172 25.2014 15.0359L26.7709 16.5289C26.9405 16.693 27.0881 16.8789 27.2084 17.0758C27.6569 17.8195 27.4928 18.5961 27.3561 19.0117C26.7655 20.7453 25.8358 22.3531 24.6272 23.7312C24.3373 24.0594 23.7358 24.6008 22.8608 24.5734C22.6365 24.568 22.4123 24.5297 22.1936 24.4695L20.1155 23.8516C19.8037 23.7586 19.2678 24.0703 19.1912 24.3875L18.6826 26.493C18.628 26.7227 18.5405 26.9414 18.4311 27.1383C18.01 27.9039 17.2498 28.15 16.8233 28.2375C15.9373 28.407 15.0295 28.5 14.0998 28.5C13.1701 28.5 12.2623 28.407 11.3764 28.2375C10.9444 28.1555 10.1842 27.9039 9.76858 27.1383C9.65921 26.9359 9.57171 26.7227 9.51702 26.493L9.00842 24.3875C8.93186 24.0703 8.39592 23.7586 8.08421 23.8516L6.00608 24.4641C5.78733 24.5297 5.56311 24.5625 5.33889 24.568C4.45843 24.5953 3.86233 24.0539 3.57249 23.7258C2.36936 22.3531 1.43421 20.7398 0.843581 19.0063C0.701394 18.5906 0.537331 17.8141 0.991237 17.0703C1.11155 16.8734 1.25921 16.6875 1.42874 16.5234L2.99827 15.0305C3.22796 14.8117 3.22796 14.1828 2.99827 13.9641L1.42327 12.4711C1.25374 12.307 1.10608 12.1211 0.985769 11.9242C0.537331 11.1805 0.701394 10.4039 0.843581 9.99375C1.43421 8.26016 2.36389 6.65234 3.57249 5.27422C3.86233 4.94609 4.46389 4.40469 5.33889 4.43203C5.56311 4.4375 5.78733 4.47578 6.00608 4.53594L8.08421 5.14844C8.39592 5.24141 8.93186 4.92969 9.00842 4.6125L9.51702 2.50703C9.57171 2.27734 9.65921 2.05859 9.76858 1.86172C10.1897 1.09609 10.9498 0.85 11.3764 0.7625C12.2623 0.592969 13.1701 0.5 14.0998 0.5ZM12.0272 3.31094L11.5623 5.23047C11.1358 6.99687 9.08499 8.17813 7.34046 7.66953L5.45374 7.11172C4.55139 8.16719 3.84046 9.39219 3.37561 10.7047L4.80842 12.0664C6.12092 13.3133 6.12092 15.6867 4.80842 16.9336L3.37561 18.2953C3.84046 19.6078 4.55139 20.8328 5.45374 21.8883L7.34592 21.3305C9.08499 20.8164 11.1412 22.0031 11.5678 23.7695L12.0326 25.6891C13.378 25.9352 14.8381 25.9352 16.1834 25.6891L16.6483 23.7695C17.0748 22.0031 19.1256 20.8219 20.8701 21.3305L22.7623 21.8883C23.6647 20.8328 24.3756 19.6078 24.8405 18.2953L23.4076 16.9336C22.0951 15.6867 22.0951 13.3133 23.4076 12.0664L24.8405 10.7047C24.3756 9.39219 23.6647 8.16719 22.7623 7.11172L20.8701 7.66953C19.1311 8.18359 17.0748 6.99687 16.6483 5.23047L16.1834 3.31094C14.8381 3.06484 13.378 3.06484 12.0326 3.31094H12.0272ZM11.4748 14.5C11.4748 15.1962 11.7514 15.8639 12.2437 16.3562C12.736 16.8484 13.4036 17.125 14.0998 17.125C14.796 17.125 15.4637 16.8484 15.956 16.3562C16.4483 15.8639 16.7248 15.1962 16.7248 14.5C16.7248 13.8038 16.4483 13.1361 15.956 12.6438C15.4637 12.1516 14.796 11.875 14.0998 11.875C13.4036 11.875 12.736 12.1516 12.2437 12.6438C11.7514 13.1361 11.4748 13.8038 11.4748 14.5ZM14.0998 19.75C12.7074 19.75 11.3721 19.1969 10.3875 18.2123C9.40295 17.2277 8.84983 15.8924 8.84983 14.5C8.84983 13.1076 9.40295 11.7723 10.3875 10.7877C11.3721 9.80312 12.7074 9.25 14.0998 9.25C15.4922 9.25 16.8276 9.80312 17.8121 10.7877C18.7967 11.7723 19.3498 13.1076 19.3498 14.5C19.3498 15.8924 18.7967 17.2277 17.8121 18.2123C16.8276 19.1969 15.4922 19.75 14.0998 19.75Z"
719
- fill="#393939"/>
720
- </g>
721
- <defs>
722
- <clipPath id="clip0_13485_10484">
723
- <rect width="28" height="28" fill="white"
724
- transform="translate(0.0998535 0.5)"/>
725
- </clipPath>
726
- </defs>
727
- </svg>`,
737
+ <svg xmlns="http://www.w3.org/2000/svg" width="29" height="29"
738
+ viewBox="0 0 29 29" fill="none">
739
+ <g clip-path="url(#clip0_13485_10484)">
740
+ <path d="M14.0998 0.5C15.0295 0.5 15.9373 0.592969 16.8233 0.7625C17.2553 0.844531 18.0155 1.09609 18.4311 1.86172C18.5405 2.06406 18.628 2.27734 18.6826 2.50703L19.1912 4.6125C19.2678 4.92969 19.8037 5.24141 20.1155 5.14844L22.1936 4.53594C22.4123 4.47031 22.6365 4.4375 22.8608 4.43203C23.7412 4.40469 24.3373 4.94609 24.6272 5.27422C25.8358 6.64688 26.7655 8.26016 27.3561 9.99375C27.4983 10.4094 27.6623 11.1859 27.2084 11.9297C27.0881 12.1266 26.9405 12.3125 26.7709 12.4766L25.2014 13.9695C24.9717 14.1883 24.9717 14.8172 25.2014 15.0359L26.7709 16.5289C26.9405 16.693 27.0881 16.8789 27.2084 17.0758C27.6569 17.8195 27.4928 18.5961 27.3561 19.0117C26.7655 20.7453 25.8358 22.3531 24.6272 23.7312C24.3373 24.0594 23.7358 24.6008 22.8608 24.5734C22.6365 24.568 22.4123 24.5297 22.1936 24.4695L20.1155 23.8516C19.8037 23.7586 19.2678 24.0703 19.1912 24.3875L18.6826 26.493C18.628 26.7227 18.5405 26.9414 18.4311 27.1383C18.01 27.9039 17.2498 28.15 16.8233 28.2375C15.9373 28.407 15.0295 28.5 14.0998 28.5C13.1701 28.5 12.2623 28.407 11.3764 28.2375C10.9444 28.1555 10.1842 27.9039 9.76858 27.1383C9.65921 26.9359 9.57171 26.7227 9.51702 26.493L9.00842 24.3875C8.93186 24.0703 8.39592 23.7586 8.08421 23.8516L6.00608 24.4641C5.78733 24.5297 5.56311 24.5625 5.33889 24.568C4.45843 24.5953 3.86233 24.0539 3.57249 23.7258C2.36936 22.3531 1.43421 20.7398 0.843581 19.0063C0.701394 18.5906 0.537331 17.8141 0.991237 17.0703C1.11155 16.8734 1.25921 16.6875 1.42874 16.5234L2.99827 15.0305C3.22796 14.8117 3.22796 14.1828 2.99827 13.9641L1.42327 12.4711C1.25374 12.307 1.10608 12.1211 0.985769 11.9242C0.537331 11.1805 0.701394 10.4039 0.843581 9.99375C1.43421 8.26016 2.36389 6.65234 3.57249 5.27422C3.86233 4.94609 4.46389 4.40469 5.33889 4.43203C5.56311 4.4375 5.78733 4.47578 6.00608 4.53594L8.08421 5.14844C8.39592 5.24141 8.93186 4.92969 9.00842 4.6125L9.51702 2.50703C9.57171 2.27734 9.65921 2.05859 9.76858 1.86172C10.1897 1.09609 10.9498 0.85 11.3764 0.7625C12.2623 0.592969 13.1701 0.5 14.0998 0.5ZM12.0272 3.31094L11.5623 5.23047C11.1358 6.99687 9.08499 8.17813 7.34046 7.66953L5.45374 7.11172C4.55139 8.16719 3.84046 9.39219 3.37561 10.7047L4.80842 12.0664C6.12092 13.3133 6.12092 15.6867 4.80842 16.9336L3.37561 18.2953C3.84046 19.6078 4.55139 20.8328 5.45374 21.8883L7.34592 21.3305C9.08499 20.8164 11.1412 22.0031 11.5678 23.7695L12.0326 25.6891C13.378 25.9352 14.8381 25.9352 16.1834 25.6891L16.6483 23.7695C17.0748 22.0031 19.1256 20.8219 20.8701 21.3305L22.7623 21.8883C23.6647 20.8328 24.3756 19.6078 24.8405 18.2953L23.4076 16.9336C22.0951 15.6867 22.0951 13.3133 23.4076 12.0664L24.8405 10.7047C24.3756 9.39219 23.6647 8.16719 22.7623 7.11172L20.8701 7.66953C19.1311 8.18359 17.0748 6.99687 16.6483 5.23047L16.1834 3.31094C14.8381 3.06484 13.378 3.06484 12.0326 3.31094H12.0272ZM11.4748 14.5C11.4748 15.1962 11.7514 15.8639 12.2437 16.3562C12.736 16.8484 13.4036 17.125 14.0998 17.125C14.796 17.125 15.4637 16.8484 15.956 16.3562C16.4483 15.8639 16.7248 15.1962 16.7248 14.5C16.7248 13.8038 16.4483 13.1361 15.956 12.6438C15.4637 12.1516 14.796 11.875 14.0998 11.875C13.4036 11.875 12.736 12.1516 12.2437 12.6438C11.7514 13.1361 11.4748 13.8038 11.4748 14.5ZM14.0998 19.75C12.7074 19.75 11.3721 19.1969 10.3875 18.2123C9.40295 17.2277 8.84983 15.8924 8.84983 14.5C8.84983 13.1076 9.40295 11.7723 10.3875 10.7877C11.3721 9.80312 12.7074 9.25 14.0998 9.25C15.4922 9.25 16.8276 9.80312 17.8121 10.7877C18.7967 11.7723 19.3498 13.1076 19.3498 14.5C19.3498 15.8924 18.7967 17.2277 17.8121 18.2123C16.8276 19.1969 15.4922 19.75 14.0998 19.75Z"
741
+ fill="#393939"/>
742
+ </g>
743
+ <defs>
744
+ <clipPath id="clip0_13485_10484">
745
+ <rect width="28" height="28" fill="white"
746
+ transform="translate(0.0998535 0.5)"/>
747
+ </clipPath>
748
+ </defs>
749
+ </svg>`,
728
750
  unselectIcon: html `
729
- <svg xmlns="http://www.w3.org/2000/svg" width="29" height="29"
730
- viewBox="0 0 29 29" fill="none">
731
- <g clip-path="url(#clip0_13485_10484)">
732
- <path d="M14.0998 0.5C15.0295 0.5 15.9373 0.592969 16.8233 0.7625C17.2553 0.844531 18.0155 1.09609 18.4311 1.86172C18.5405 2.06406 18.628 2.27734 18.6826 2.50703L19.1912 4.6125C19.2678 4.92969 19.8037 5.24141 20.1155 5.14844L22.1936 4.53594C22.4123 4.47031 22.6365 4.4375 22.8608 4.43203C23.7412 4.40469 24.3373 4.94609 24.6272 5.27422C25.8358 6.64688 26.7655 8.26016 27.3561 9.99375C27.4983 10.4094 27.6623 11.1859 27.2084 11.9297C27.0881 12.1266 26.9405 12.3125 26.7709 12.4766L25.2014 13.9695C24.9717 14.1883 24.9717 14.8172 25.2014 15.0359L26.7709 16.5289C26.9405 16.693 27.0881 16.8789 27.2084 17.0758C27.6569 17.8195 27.4928 18.5961 27.3561 19.0117C26.7655 20.7453 25.8358 22.3531 24.6272 23.7312C24.3373 24.0594 23.7358 24.6008 22.8608 24.5734C22.6365 24.568 22.4123 24.5297 22.1936 24.4695L20.1155 23.8516C19.8037 23.7586 19.2678 24.0703 19.1912 24.3875L18.6826 26.493C18.628 26.7227 18.5405 26.9414 18.4311 27.1383C18.01 27.9039 17.2498 28.15 16.8233 28.2375C15.9373 28.407 15.0295 28.5 14.0998 28.5C13.1701 28.5 12.2623 28.407 11.3764 28.2375C10.9444 28.1555 10.1842 27.9039 9.76858 27.1383C9.65921 26.9359 9.57171 26.7227 9.51702 26.493L9.00842 24.3875C8.93186 24.0703 8.39592 23.7586 8.08421 23.8516L6.00608 24.4641C5.78733 24.5297 5.56311 24.5625 5.33889 24.568C4.45843 24.5953 3.86233 24.0539 3.57249 23.7258C2.36936 22.3531 1.43421 20.7398 0.843581 19.0063C0.701394 18.5906 0.537331 17.8141 0.991237 17.0703C1.11155 16.8734 1.25921 16.6875 1.42874 16.5234L2.99827 15.0305C3.22796 14.8117 3.22796 14.1828 2.99827 13.9641L1.42327 12.4711C1.25374 12.307 1.10608 12.1211 0.985769 11.9242C0.537331 11.1805 0.701394 10.4039 0.843581 9.99375C1.43421 8.26016 2.36389 6.65234 3.57249 5.27422C3.86233 4.94609 4.46389 4.40469 5.33889 4.43203C5.56311 4.4375 5.78733 4.47578 6.00608 4.53594L8.08421 5.14844C8.39592 5.24141 8.93186 4.92969 9.00842 4.6125L9.51702 2.50703C9.57171 2.27734 9.65921 2.05859 9.76858 1.86172C10.1897 1.09609 10.9498 0.85 11.3764 0.7625C12.2623 0.592969 13.1701 0.5 14.0998 0.5ZM12.0272 3.31094L11.5623 5.23047C11.1358 6.99687 9.08499 8.17813 7.34046 7.66953L5.45374 7.11172C4.55139 8.16719 3.84046 9.39219 3.37561 10.7047L4.80842 12.0664C6.12092 13.3133 6.12092 15.6867 4.80842 16.9336L3.37561 18.2953C3.84046 19.6078 4.55139 20.8328 5.45374 21.8883L7.34592 21.3305C9.08499 20.8164 11.1412 22.0031 11.5678 23.7695L12.0326 25.6891C13.378 25.9352 14.8381 25.9352 16.1834 25.6891L16.6483 23.7695C17.0748 22.0031 19.1256 20.8219 20.8701 21.3305L22.7623 21.8883C23.6647 20.8328 24.3756 19.6078 24.8405 18.2953L23.4076 16.9336C22.0951 15.6867 22.0951 13.3133 23.4076 12.0664L24.8405 10.7047C24.3756 9.39219 23.6647 8.16719 22.7623 7.11172L20.8701 7.66953C19.1311 8.18359 17.0748 6.99687 16.6483 5.23047L16.1834 3.31094C14.8381 3.06484 13.378 3.06484 12.0326 3.31094H12.0272ZM11.4748 14.5C11.4748 15.1962 11.7514 15.8639 12.2437 16.3562C12.736 16.8484 13.4036 17.125 14.0998 17.125C14.796 17.125 15.4637 16.8484 15.956 16.3562C16.4483 15.8639 16.7248 15.1962 16.7248 14.5C16.7248 13.8038 16.4483 13.1361 15.956 12.6438C15.4637 12.1516 14.796 11.875 14.0998 11.875C13.4036 11.875 12.736 12.1516 12.2437 12.6438C11.7514 13.1361 11.4748 13.8038 11.4748 14.5ZM14.0998 19.75C12.7074 19.75 11.3721 19.1969 10.3875 18.2123C9.40295 17.2277 8.84983 15.8924 8.84983 14.5C8.84983 13.1076 9.40295 11.7723 10.3875 10.7877C11.3721 9.80312 12.7074 9.25 14.0998 9.25C15.4922 9.25 16.8276 9.80312 17.8121 10.7877C18.7967 11.7723 19.3498 13.1076 19.3498 14.5C19.3498 15.8924 18.7967 17.2277 17.8121 18.2123C16.8276 19.1969 15.4922 19.75 14.0998 19.75Z"
733
- fill="#949494"/>
734
- </g>
735
- <defs>
736
- <clipPath id="clip0_13485_10484">
737
- <rect width="28" height="28" fill="white"
738
- transform="translate(0.0998535 0.5)"/>
739
- </clipPath>
740
- </defs>
741
- </svg>`,
751
+ <svg xmlns="http://www.w3.org/2000/svg" width="29" height="29"
752
+ viewBox="0 0 29 29" fill="none">
753
+ <g clip-path="url(#clip0_13485_10484)">
754
+ <path d="M14.0998 0.5C15.0295 0.5 15.9373 0.592969 16.8233 0.7625C17.2553 0.844531 18.0155 1.09609 18.4311 1.86172C18.5405 2.06406 18.628 2.27734 18.6826 2.50703L19.1912 4.6125C19.2678 4.92969 19.8037 5.24141 20.1155 5.14844L22.1936 4.53594C22.4123 4.47031 22.6365 4.4375 22.8608 4.43203C23.7412 4.40469 24.3373 4.94609 24.6272 5.27422C25.8358 6.64688 26.7655 8.26016 27.3561 9.99375C27.4983 10.4094 27.6623 11.1859 27.2084 11.9297C27.0881 12.1266 26.9405 12.3125 26.7709 12.4766L25.2014 13.9695C24.9717 14.1883 24.9717 14.8172 25.2014 15.0359L26.7709 16.5289C26.9405 16.693 27.0881 16.8789 27.2084 17.0758C27.6569 17.8195 27.4928 18.5961 27.3561 19.0117C26.7655 20.7453 25.8358 22.3531 24.6272 23.7312C24.3373 24.0594 23.7358 24.6008 22.8608 24.5734C22.6365 24.568 22.4123 24.5297 22.1936 24.4695L20.1155 23.8516C19.8037 23.7586 19.2678 24.0703 19.1912 24.3875L18.6826 26.493C18.628 26.7227 18.5405 26.9414 18.4311 27.1383C18.01 27.9039 17.2498 28.15 16.8233 28.2375C15.9373 28.407 15.0295 28.5 14.0998 28.5C13.1701 28.5 12.2623 28.407 11.3764 28.2375C10.9444 28.1555 10.1842 27.9039 9.76858 27.1383C9.65921 26.9359 9.57171 26.7227 9.51702 26.493L9.00842 24.3875C8.93186 24.0703 8.39592 23.7586 8.08421 23.8516L6.00608 24.4641C5.78733 24.5297 5.56311 24.5625 5.33889 24.568C4.45843 24.5953 3.86233 24.0539 3.57249 23.7258C2.36936 22.3531 1.43421 20.7398 0.843581 19.0063C0.701394 18.5906 0.537331 17.8141 0.991237 17.0703C1.11155 16.8734 1.25921 16.6875 1.42874 16.5234L2.99827 15.0305C3.22796 14.8117 3.22796 14.1828 2.99827 13.9641L1.42327 12.4711C1.25374 12.307 1.10608 12.1211 0.985769 11.9242C0.537331 11.1805 0.701394 10.4039 0.843581 9.99375C1.43421 8.26016 2.36389 6.65234 3.57249 5.27422C3.86233 4.94609 4.46389 4.40469 5.33889 4.43203C5.56311 4.4375 5.78733 4.47578 6.00608 4.53594L8.08421 5.14844C8.39592 5.24141 8.93186 4.92969 9.00842 4.6125L9.51702 2.50703C9.57171 2.27734 9.65921 2.05859 9.76858 1.86172C10.1897 1.09609 10.9498 0.85 11.3764 0.7625C12.2623 0.592969 13.1701 0.5 14.0998 0.5ZM12.0272 3.31094L11.5623 5.23047C11.1358 6.99687 9.08499 8.17813 7.34046 7.66953L5.45374 7.11172C4.55139 8.16719 3.84046 9.39219 3.37561 10.7047L4.80842 12.0664C6.12092 13.3133 6.12092 15.6867 4.80842 16.9336L3.37561 18.2953C3.84046 19.6078 4.55139 20.8328 5.45374 21.8883L7.34592 21.3305C9.08499 20.8164 11.1412 22.0031 11.5678 23.7695L12.0326 25.6891C13.378 25.9352 14.8381 25.9352 16.1834 25.6891L16.6483 23.7695C17.0748 22.0031 19.1256 20.8219 20.8701 21.3305L22.7623 21.8883C23.6647 20.8328 24.3756 19.6078 24.8405 18.2953L23.4076 16.9336C22.0951 15.6867 22.0951 13.3133 23.4076 12.0664L24.8405 10.7047C24.3756 9.39219 23.6647 8.16719 22.7623 7.11172L20.8701 7.66953C19.1311 8.18359 17.0748 6.99687 16.6483 5.23047L16.1834 3.31094C14.8381 3.06484 13.378 3.06484 12.0326 3.31094H12.0272ZM11.4748 14.5C11.4748 15.1962 11.7514 15.8639 12.2437 16.3562C12.736 16.8484 13.4036 17.125 14.0998 17.125C14.796 17.125 15.4637 16.8484 15.956 16.3562C16.4483 15.8639 16.7248 15.1962 16.7248 14.5C16.7248 13.8038 16.4483 13.1361 15.956 12.6438C15.4637 12.1516 14.796 11.875 14.0998 11.875C13.4036 11.875 12.736 12.1516 12.2437 12.6438C11.7514 13.1361 11.4748 13.8038 11.4748 14.5ZM14.0998 19.75C12.7074 19.75 11.3721 19.1969 10.3875 18.2123C9.40295 17.2277 8.84983 15.8924 8.84983 14.5C8.84983 13.1076 9.40295 11.7723 10.3875 10.7877C11.3721 9.80312 12.7074 9.25 14.0998 9.25C15.4922 9.25 16.8276 9.80312 17.8121 10.7877C18.7967 11.7723 19.3498 13.1076 19.3498 14.5C19.3498 15.8924 18.7967 17.2277 17.8121 18.2123C16.8276 19.1969 15.4922 19.75 14.0998 19.75Z"
755
+ fill="#949494"/>
756
+ </g>
757
+ <defs>
758
+ <clipPath id="clip0_13485_10484">
759
+ <rect width="28" height="28" fill="white"
760
+ transform="translate(0.0998535 0.5)"/>
761
+ </clipPath>
762
+ </defs>
763
+ </svg>`,
742
764
  title: `設定`,
743
765
  type: `setting`,
744
766
  }];
@@ -896,7 +918,8 @@ POSSetting.config = {
896
918
  set who(value) {
897
919
  localStorage.setItem('pos_use_member', value);
898
920
  },
899
- recreate: () => { },
921
+ recreate: () => {
922
+ },
900
923
  get pickup_number() {
901
924
  if (parseInt(localStorage.getItem('orderGetNumber') || '1', 10) > 1000) {
902
925
  POSSetting.config.pickup_number = 1;