ts-glitter 13.8.745 → 13.8.747

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.747';
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.747';
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`
@@ -1032,10 +1032,10 @@ color:white;
1032
1032
  <aside
1033
1033
  id="componentsNav"
1034
1034
  class="${Storage.view_type === ViewType.fullScreen ? `d-none` : ``} offcanvas offcanvas-start offcanvas-expand-lg position-fixed top-0 start-0 vh-100 bg-light overflow-hidden"
1035
- style="${size < 800 ? `width: 0px;` : Storage.select_function === 'user-editor' ? `width: 365px;` : `width: 284px;`}z-index:10 !important;"
1035
+ style="${size < 800 ? `width: 0px;` : Storage.select_function === 'user-editor' ? `width: 365px;` : `width: ${document.body.clientWidth < 1200 ? 200 : 284}px;`}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;">
@@ -1078,7 +1078,7 @@ color:white;
1078
1078
  elem: 'main',
1079
1079
  class: `docs-container`,
1080
1080
  style: `padding-top: ${EditorConfig.getPaddingTop(gvc) + 56}px;
1081
- padding-left:${size < 992 ? `0px;` : Storage.select_function === 'user-editor' ? `365px;` : `284px;`}
1081
+ padding-left:${size < 992 ? `0px;` : Storage.select_function === 'user-editor' ? `365px;` : `${document.body.clientWidth < 1200 ? 200 : 284}px;`}
1082
1082
  padding-right:0px;
1083
1083
  ${Storage.select_function === 'page-editor' ? `overflow:hidden;` : ``}`
1084
1084
  };
@@ -1106,10 +1106,10 @@ color:white;
1106
1106
  <aside
1107
1107
  id="componentsNav"
1108
1108
  class="${Storage.view_type === ViewType.fullScreen ? `d-none` : ``} offcanvas offcanvas-start offcanvas-expand-lg position-fixed top-0 start-0 vh-100 bg-light overflow-hidden"
1109
- style="${size < 800 ? `width: 0px;` : Storage.select_function === 'user-editor' ? `width: 365px;` : `width: 284px;`}z-index:10 !important;"
1109
+ style="${size < 800 ? `width: 0px;` : Storage.select_function === 'user-editor' ? `width: 365px;` : `width: ${document.body.clientWidth<1200 ? 200:284}px;`}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;">
@@ -1152,7 +1152,7 @@ color:white;
1152
1152
  elem: 'main',
1153
1153
  class: `docs-container`,
1154
1154
  style: `padding-top: ${EditorConfig.getPaddingTop(gvc) + 56}px;
1155
- padding-left:${size < 992 ? `0px;` : Storage.select_function === 'user-editor' ? `365px;` : `284px;`}
1155
+ padding-left:${size < 992 ? `0px;` : Storage.select_function === 'user-editor' ? `365px;` : `${document.body.clientWidth<1200 ? 200:284}px;`}
1156
1156
  padding-right:0px;
1157
1157
  ${Storage.select_function === 'page-editor' ? `overflow:hidden;` : ``}`
1158
1158
  }
@@ -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.747",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {