ts-glitter 13.8.745 → 13.8.746

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
@@ -68,7 +68,7 @@ export class Entry {
68
68
  }
69
69
  window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
70
70
  console.log(`Entry-time:`, window.renderClock.stop());
71
- glitter.share.editerVersion = 'V_13.8.745';
71
+ glitter.share.editerVersion = 'V_13.8.746';
72
72
  glitter.share.start = new Date();
73
73
  const vm = {
74
74
  appConfig: [],
package/lowcode/Entry.ts CHANGED
@@ -68,7 +68,7 @@ export class Entry {
68
68
  }
69
69
  (window as any).renderClock = (window as any).renderClock ?? clockF();
70
70
  console.log(`Entry-time:`, (window as any).renderClock.stop());
71
- glitter.share.editerVersion = 'V_13.8.745';
71
+ glitter.share.editerVersion = 'V_13.8.746';
72
72
  glitter.share.start = new Date();
73
73
  const vm: {
74
74
  appConfig: any;
@@ -100,13 +100,6 @@ ${BgWidget.grayNote(`電話是否需要驗證才能進行註冊或修改`)}
100
100
  <span class="" style="color:#8D8D8D;font-size: 12px;">於註冊頁面中設定顧客必須填寫的資料</span>
101
101
  </div>`,
102
102
  },
103
- {
104
- key: 'customer_form_user_setting',
105
- title: html ` <div class="tx_normal fw-bolder mt-2 d-flex flex-column" style="margin-bottom: 12px;">
106
- 設定頁面表單
107
- <span class="" style="color:#8D8D8D;font-size: 12px;">於用戶設定頁面中設定顧客可填寫的額外資料</span>
108
- </div>`,
109
- },
110
103
  ]);
111
104
  return [
112
105
  form.view,
@@ -115,13 +115,13 @@ ${BgWidget.grayNote(`電話是否需要驗證才能進行註冊或修改`)}
115
115
  <span class="" style="color:#8D8D8D;font-size: 12px;">於註冊頁面中設定顧客必須填寫的資料</span>
116
116
  </div>`,
117
117
  },
118
- {
119
- key: 'customer_form_user_setting',
120
- title: html` <div class="tx_normal fw-bolder mt-2 d-flex flex-column" style="margin-bottom: 12px;">
121
- 設定頁面表單
122
- <span class="" style="color:#8D8D8D;font-size: 12px;">於用戶設定頁面中設定顧客可填寫的額外資料</span>
123
- </div>`,
124
- },
118
+ // {
119
+ // key: 'customer_form_user_setting',
120
+ // title: html` <div class="tx_normal fw-bolder mt-2 d-flex flex-column" style="margin-bottom: 12px;">
121
+ // 設定頁面表單
122
+ // <span class="" style="color:#8D8D8D;font-size: 12px;">於用戶設定頁面中設定顧客可填寫的額外資料</span>
123
+ // </div>`,
124
+ // },
125
125
  // {
126
126
  // key: 'custom_form_checkout',
127
127
  // title: html`
@@ -1035,7 +1035,7 @@ color:white;
1035
1035
  style="${size < 800 ? `width: 0px;` : Storage.select_function === 'user-editor' ? `width: 365px;` : `width: 284px;`}z-index:10 !important;"
1036
1036
  >
1037
1037
  <div class="offcanvas-header d-none d-lg-flex justify-content-start border-bottom px-0 ${Storage.select_function === 'user-editor' ? `border-end` : ``}"
1038
- style="height: 56px;">
1038
+ style="height: ${(glitter.share.top_inset ? ((parseInt(glitter.share.top_inset, 10) + 56) + ((Storage.select_function === 'backend-manger') ? 10 : 5)) : 56)}px;">
1039
1039
  <div class="navbar-brand text-dark d-none d-lg-flex py-0 h-100">
1040
1040
  <div class="d-flex align-items-center justify-content-center border-end "
1041
1041
  style="width:50px;height: 56px;">
@@ -1109,7 +1109,7 @@ color:white;
1109
1109
  style="${size < 800 ? `width: 0px;` : Storage.select_function === 'user-editor' ? `width: 365px;` : `width: 284px;`}z-index:10 !important;"
1110
1110
  >
1111
1111
  <div class="offcanvas-header d-none d-lg-flex justify-content-start border-bottom px-0 ${Storage.select_function === 'user-editor' ? `border-end` : ``}"
1112
- style="height: 56px;">
1112
+ style="height: ${(glitter.share.top_inset ? ((parseInt(glitter.share.top_inset,10)+56)+((Storage.select_function === 'backend-manger') ? 10:5)):56)}px;">
1113
1113
  <div class="navbar-brand text-dark d-none d-lg-flex py-0 h-100">
1114
1114
  <div class="d-flex align-items-center justify-content-center border-end "
1115
1115
  style="width:50px;height: 56px;">
@@ -518,7 +518,7 @@ export class Main_editor {
518
518
  },
519
519
  divCreate: {
520
520
  class: `swiper-slide h-100 position-relative design-guide-1`,
521
- style: `${(glitter.share.top_inset) ? `padding-top:${glitter.share.top_inset}px !important;padding-bottom:${glitter.share.bottom_inset}px !important;` : ``}`
521
+ style: `${(glitter.share.top_inset && document.body.clientWidth < 800) ? `padding-top:${glitter.share.top_inset}px !important;padding-bottom:${glitter.share.bottom_inset}px !important;` : ``}`
522
522
  },
523
523
  onCreate: () => {
524
524
  $('.tooltip').remove();
@@ -553,7 +553,7 @@ export class Main_editor {
553
553
  },
554
554
  divCreate: {
555
555
  class: `swiper-slide h-100 position-relative design-guide-1`,
556
- style: `${(glitter.share.top_inset) ? `padding-top:${glitter.share.top_inset}px !important;padding-bottom:${glitter.share.bottom_inset}px !important;` : ``}`
556
+ style: `${(glitter.share.top_inset && document.body.clientWidth<800) ? `padding-top:${glitter.share.top_inset}px !important;padding-bottom:${glitter.share.bottom_inset}px !important;` : ``}`
557
557
  },
558
558
  onCreate: () => {
559
559
  $('.tooltip')!.remove();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "13.8.745",
3
+ "version": "13.8.746",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {