ts-glitter 21.5.2 → 21.5.3

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
@@ -146,7 +146,7 @@ export class Entry {
146
146
  }
147
147
  window.renderClock = (_b = window.renderClock) !== null && _b !== void 0 ? _b : createClock();
148
148
  console.log(`Entry-time:`, window.renderClock.stop());
149
- glitter.share.editerVersion = 'V_21.5.2';
149
+ glitter.share.editerVersion = 'V_21.5.3';
150
150
  glitter.share.start = new Date();
151
151
  const vm = { appConfig: [] };
152
152
  window.saasConfig = {
package/lowcode/Entry.ts CHANGED
@@ -150,7 +150,7 @@ export class Entry {
150
150
  }
151
151
  (window as any).renderClock = (window as any).renderClock ?? createClock();
152
152
  console.log(`Entry-time:`, (window as any).renderClock.stop());
153
- glitter.share.editerVersion = 'V_21.5.2';
153
+ glitter.share.editerVersion = 'V_21.5.3';
154
154
  glitter.share.start = new Date();
155
155
  const vm = { appConfig: [] };
156
156
  (window as any).saasConfig = {
@@ -38,7 +38,7 @@ export class Sy02 {
38
38
  <div class="d-flex align-items-center justify-content-center h-100 w-100 gap-2">
39
39
  <!--手機版選單-->
40
40
  <div
41
- class="${PdClass.isShoppingPage() ? `d-none` : `d-flex d-lg-none`} align-items-center justify-content-center"
41
+ class="d-flex d-lg-none align-items-center justify-content-center"
42
42
  style="width:40px !important;height:40px !important;"
43
43
  onclick="${gvc.event(() => {
44
44
  gvc.glitter.setDrawer(gvc.bindView(() => {
@@ -42,7 +42,7 @@ export class Sy02 {
42
42
  <div class="d-flex align-items-center justify-content-center h-100 w-100 gap-2">
43
43
  <!--手機版選單-->
44
44
  <div
45
- class="${PdClass.isShoppingPage() ? `d-none`:`d-flex d-lg-none`} align-items-center justify-content-center"
45
+ class="d-flex d-lg-none align-items-center justify-content-center"
46
46
  style="width:40px !important;height:40px !important;"
47
47
  onclick="${gvc.event(() => {
48
48
  gvc.glitter.setDrawer(
@@ -38,7 +38,7 @@ export class Sy03 {
38
38
  >
39
39
  <!--手機版選單-->
40
40
  <div
41
- class=" align-items-center justify-content-center ${PdClass.isShoppingPage() ? `d-none` : `d-flex d-lg-none`} "
41
+ class=" align-items-center justify-content-center d-flex d-lg-none "
42
42
  style="width:45px !important;height:40px !important;"
43
43
  onclick="${gvc.event(() => {
44
44
  gvc.glitter.setDrawer(gvc.bindView(() => {
@@ -41,7 +41,7 @@ export class Sy03 {
41
41
  >
42
42
  <!--手機版選單-->
43
43
  <div
44
- class=" align-items-center justify-content-center ${PdClass.isShoppingPage() ? `d-none`:`d-flex d-lg-none`} "
44
+ class=" align-items-center justify-content-center d-flex d-lg-none "
45
45
  style="width:45px !important;height:40px !important;"
46
46
  onclick="${gvc.event(() => {
47
47
  gvc.glitter.setDrawer(
@@ -31,7 +31,7 @@ export class Sy04 {
31
31
  <div class="d-flex align-items-center justify-content-center h-100 gap-2">
32
32
  <!--手機版選單-->
33
33
  <div
34
- class="${PdClass.isShoppingPage() ? `d-none` : `d-flex d-lg-none`} align-items-center justify-content-center"
34
+ class="d-flex d-lg-none align-items-center justify-content-center"
35
35
  style="width:40px !important;height:40px !important;"
36
36
  onclick="${gvc.event(() => {
37
37
  gvc.glitter.setDrawer(gvc.bindView(() => {
@@ -34,7 +34,7 @@ export class Sy04 {
34
34
  <div class="d-flex align-items-center justify-content-center h-100 gap-2">
35
35
  <!--手機版選單-->
36
36
  <div
37
- class="${PdClass.isShoppingPage() ? `d-none`:`d-flex d-lg-none`} align-items-center justify-content-center"
37
+ class="d-flex d-lg-none align-items-center justify-content-center"
38
38
  style="width:40px !important;height:40px !important;"
39
39
  onclick="${gvc.event(() => {
40
40
  gvc.glitter.setDrawer(
@@ -4,7 +4,6 @@ import { LanguageView } from "../public/language-view.js";
4
4
  import { Color } from "../public/color.js";
5
5
  import { HeadInitial } from './head-initial.js';
6
6
  import { HeaderMobile } from './header-mobile.js';
7
- import { PdClass } from '../product/pd-class.js';
8
7
  const html = String.raw;
9
8
  export class Sy05 {
10
9
  static main(gvc, widget, subData) {
@@ -28,7 +27,7 @@ export class Sy05 {
28
27
  <div class="d-flex align-items-center justify-content-center h-100 w-100 gap-2">
29
28
  <!--手機版選單-->
30
29
  <div
31
- class="${PdClass.isShoppingPage() ? `d-none` : `d-flex d-lg-none`} align-items-center justify-content-center"
30
+ class="d-flex d-lg-none align-items-center justify-content-center"
32
31
  style="width:40px !important;height:40px !important;"
33
32
  onclick="${gvc.event(() => {
34
33
  gvc.glitter.setDrawer(gvc.bindView(() => {
@@ -35,7 +35,7 @@ export class Sy05 {
35
35
  <div class="d-flex align-items-center justify-content-center h-100 w-100 gap-2">
36
36
  <!--手機版選單-->
37
37
  <div
38
- class="${PdClass.isShoppingPage() ? `d-none`:`d-flex d-lg-none`} align-items-center justify-content-center"
38
+ class="d-flex d-lg-none align-items-center justify-content-center"
39
39
  style="width:40px !important;height:40px !important;"
40
40
  onclick="${gvc.event(() => {
41
41
  gvc.glitter.setDrawer(
@@ -414,7 +414,7 @@ export class PdClass {
414
414
  const glitter = window.glitter;
415
415
  return ['hidden/', 'shop/'].find((dd) => {
416
416
  return (glitter.getUrlParameter('page') || '').startsWith(dd) || ((glitter.getUrlParameter('page_refer') || '').startsWith(dd));
417
- }) || glitter.share.is_shop;
417
+ });
418
418
  }
419
419
  static changePage(prod, gvc) {
420
420
  const glitter = gvc.glitter;
@@ -579,7 +579,7 @@ export class PdClass {
579
579
  const glitter = (window as any).glitter;
580
580
  return ['hidden/','shop/'].find((dd)=>{
581
581
  return (glitter.getUrlParameter('page') || '').startsWith(dd) || ((glitter.getUrlParameter('page_refer') || '').startsWith(dd))
582
- }) || glitter.share.is_shop;
582
+ });
583
583
  }
584
584
  // document.querySelector('.check_out_cart_data').scrollIntoView()
585
585
  static changePage(prod: any, gvc: GVC) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "21.5.2",
3
+ "version": "21.5.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {