ts-glitter 16.1.2 → 16.1.4

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 (64) hide show
  1. package/lowcode/Entry.js +2 -2
  2. package/lowcode/Entry.ts +2 -2
  3. package/lowcode/backend-manager/bg-widget.js +1156 -1161
  4. package/lowcode/backend-manager/bg-widget.ts +2117 -2164
  5. package/lowcode/cms-plugin/POS-setting.js +5 -5
  6. package/lowcode/cms-plugin/POS-setting.ts +7 -7
  7. package/lowcode/cms-plugin/data-analyze-module.js +1 -1
  8. package/lowcode/cms-plugin/data-analyze-module.ts +1 -1
  9. package/lowcode/cms-plugin/filter-options.js +7 -0
  10. package/lowcode/cms-plugin/filter-options.ts +11 -0
  11. package/lowcode/cms-plugin/module/product-setting.js +42 -4
  12. package/lowcode/cms-plugin/module/product-setting.ts +62 -18
  13. package/lowcode/cms-plugin/shopping-order-manager.js +30 -0
  14. package/lowcode/cms-plugin/shopping-order-manager.ts +55 -0
  15. package/lowcode/cms-plugin/shopping-product-setting.js +35 -16
  16. package/lowcode/cms-plugin/shopping-product-setting.ts +41 -19
  17. package/lowcode/cms-plugin/stock-history.js +883 -0
  18. package/lowcode/cms-plugin/stock-history.ts +1002 -0
  19. package/lowcode/cms-plugin/stock-stores.js +116 -53
  20. package/lowcode/cms-plugin/stock-stores.ts +137 -68
  21. package/lowcode/cms-plugin/stock-vendors.js +56 -51
  22. package/lowcode/cms-plugin/stock-vendors.ts +65 -59
  23. package/lowcode/css/editor.css +5 -5
  24. package/lowcode/glitter-base/route/shopping.js +12 -0
  25. package/lowcode/glitter-base/route/shopping.ts +12 -0
  26. package/lowcode/glitter-base/route/stock.js +40 -0
  27. package/lowcode/glitter-base/route/stock.ts +78 -0
  28. package/lowcode/jspage/function-page/setting_editor.js +5 -5
  29. package/lowcode/jspage/function-page/setting_editor.ts +19 -10
  30. package/lowcode/public-components/checkout/index.js +505 -608
  31. package/lowcode/public-components/checkout/index.ts +1801 -1902
  32. package/lowcode/public-components/product/pd-class.js +164 -149
  33. package/lowcode/public-components/product/pd-class.ts +346 -339
  34. package/lowcode/public-components/product/product-detail.js +169 -168
  35. package/lowcode/public-components/product/product-detail.ts +297 -298
  36. package/lowcode/public-components/user-manager/um-info.js +447 -441
  37. package/lowcode/public-components/user-manager/um-info.ts +464 -459
  38. package/package.json +1 -1
  39. package/src/api-public/controllers/shop.js +14 -0
  40. package/src/api-public/controllers/shop.js.map +1 -1
  41. package/src/api-public/controllers/shop.ts +12 -0
  42. package/src/api-public/controllers/stock.js +44 -0
  43. package/src/api-public/controllers/stock.js.map +1 -1
  44. package/src/api-public/controllers/stock.ts +45 -1
  45. package/src/api-public/services/auto-send-email.js.map +1 -1
  46. package/src/api-public/services/chat.js.map +1 -1
  47. package/src/api-public/services/public-table-check.js +24 -11
  48. package/src/api-public/services/public-table-check.js.map +1 -1
  49. package/src/api-public/services/public-table-check.ts +75 -54
  50. package/src/api-public/services/shopping.d.ts +3 -0
  51. package/src/api-public/services/shopping.js +21 -4
  52. package/src/api-public/services/shopping.js.map +1 -1
  53. package/src/api-public/services/shopping.ts +33 -9
  54. package/src/api-public/services/stock.d.ts +47 -0
  55. package/src/api-public/services/stock.js +149 -34
  56. package/src/api-public/services/stock.js.map +1 -1
  57. package/src/api-public/services/stock.ts +222 -37
  58. package/src/services/app.js +1 -1
  59. package/src/services/app.js.map +1 -1
  60. package/src/services/app.ts +1 -1
  61. package/src/services/saas-table-check.js +2 -2
  62. package/src/services/saas-table-check.js.map +1 -1
  63. package/lowcode/cms-plugin/shopping-product-v2.js +0 -4555
  64. package/lowcode/cms-plugin/shopping-product-v2.ts +0 -5056
package/lowcode/Entry.js CHANGED
@@ -79,7 +79,7 @@ export class Entry {
79
79
  }
80
80
  window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
81
81
  console.log(`Entry-time:`, window.renderClock.stop());
82
- glitter.share.editerVersion = 'V_16.1.2';
82
+ glitter.share.editerVersion = 'V_16.1.4';
83
83
  glitter.share.start = new Date();
84
84
  const vm = {
85
85
  appConfig: [],
@@ -267,7 +267,7 @@ export class Entry {
267
267
  const css = String.raw;
268
268
  if (localStorage.getItem('on-pos') === 'true' && glitter.getUrlParameter('page') !== 'pos') {
269
269
  localStorage.removeItem('on-pos');
270
- location.href = glitter.root_path + 'pos?app-id=t_1725992531001';
270
+ location.href = glitter.root_path + 'pos?app-id=' + window.appName;
271
271
  }
272
272
  glitter.addStyle(css `
273
273
  @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
package/lowcode/Entry.ts CHANGED
@@ -78,7 +78,7 @@ export class Entry {
78
78
  }
79
79
  (window as any).renderClock = (window as any).renderClock ?? clockF();
80
80
  console.log(`Entry-time:`, (window as any).renderClock.stop());
81
- glitter.share.editerVersion = 'V_16.1.2';
81
+ glitter.share.editerVersion = 'V_16.1.4';
82
82
  glitter.share.start = new Date();
83
83
  const vm: {
84
84
  appConfig: any;
@@ -275,7 +275,7 @@ export class Entry {
275
275
  const css = String.raw
276
276
  if (localStorage.getItem('on-pos') === 'true' && glitter.getUrlParameter('page') !== 'pos') {
277
277
  localStorage.removeItem('on-pos');
278
- location.href = glitter.root_path + 'pos?app-id=t_1725992531001';
278
+ location.href = glitter.root_path + 'pos?app-id='+(window as any).appName;
279
279
  }
280
280
  glitter.addStyle(css`
281
281
  @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');