ts-glitter 13.7.1 → 13.7.2

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
@@ -59,7 +59,7 @@ export class Entry {
59
59
  }
60
60
  window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
61
61
  console.log(`Entry-time:`, window.renderClock.stop());
62
- glitter.share.editerVersion = "V_13.7.1";
62
+ glitter.share.editerVersion = "V_13.7.2";
63
63
  glitter.share.start = (new Date());
64
64
  const vm = {
65
65
  appConfig: [],
package/lowcode/Entry.ts CHANGED
@@ -60,7 +60,7 @@ export class Entry {
60
60
  }
61
61
  (window as any).renderClock = (window as any).renderClock ?? clockF();
62
62
  console.log(`Entry-time:`, (window as any).renderClock.stop());
63
- glitter.share.editerVersion = "V_13.7.1";
63
+ glitter.share.editerVersion = "V_13.7.2";
64
64
  glitter.share.start = (new Date());
65
65
  const vm: {
66
66
  appConfig: any;
@@ -14,7 +14,6 @@ export class Sy02 {
14
14
  <nav class="navbar navbar-expand-lg vw-100 header header-place shadow position-fixed top-0 left-0 py-0"
15
15
  style="background: ${(_a = widget.formData.theme_color['background']) !== null && _a !== void 0 ? _a : '#000'} !important;height: 76px;z-index:9999;">
16
16
  <div class="container header-place h-100">
17
-
18
17
  <!--LOGO顯示區塊-->
19
18
  <div class="d-flex align-items-center justify-content-center h-100"
20
19
  style="gap: 8px;cursor: pointer;">
@@ -278,7 +277,9 @@ background: ${(_a = widget.formData.theme_color['background']) !== null && _a !=
278
277
  bind: vm.id,
279
278
  view: () => {
280
279
  var _a;
281
- return html `<span class="position-relative">
280
+ return html `<span class="position-relative" onclick="${gvc.event(() => {
281
+ gvc.glitter.href = '/checkout';
282
+ })}">
282
283
  <i class="fa-duotone fa-cart-shopping"
283
284
  style="color: ${(_a = widget.formData.theme_color['title']) !== null && _a !== void 0 ? _a : '#000'} !important;cursor: pointer;font-size:20px;"></i>
284
285
  ${(vm.count) ? `<div class="position-absolute"
@@ -18,7 +18,6 @@ export class Sy02 {
18
18
  <nav class="navbar navbar-expand-lg vw-100 header header-place shadow position-fixed top-0 left-0 py-0"
19
19
  style="background: ${widget.formData.theme_color['background'] ?? '#000'} !important;height: 76px;z-index:9999;">
20
20
  <div class="container header-place h-100">
21
-
22
21
  <!--LOGO顯示區塊-->
23
22
  <div class="d-flex align-items-center justify-content-center h-100"
24
23
  style="gap: 8px;cursor: pointer;">
@@ -276,7 +275,9 @@ background: ${widget.formData.theme_color['background'] ?? '#000'};overflow-x: h
276
275
  return {
277
276
  bind: vm.id,
278
277
  view: () => {
279
- return html`<span class="position-relative">
278
+ return html`<span class="position-relative" onclick="${gvc.event(()=>{
279
+ gvc.glitter.href='/checkout'
280
+ })}">
280
281
  <i class="fa-duotone fa-cart-shopping"
281
282
  style="color: ${widget.formData.theme_color['title'] ?? '#000'} !important;cursor: pointer;font-size:20px;"></i>
282
283
  ${(vm.count) ? `<div class="position-absolute"
@@ -266,7 +266,9 @@ background: ${(_a = widget.formData.theme_color['background']) !== null && _a !=
266
266
  bind: vm.id,
267
267
  view: () => {
268
268
  var _a;
269
- return html `<span class="position-relative">
269
+ return html `<span class="position-relative" onclick="${gvc.event(() => {
270
+ gvc.glitter.href = '/checkout';
271
+ })}">
270
272
  <i class="fa-duotone fa-cart-shopping"
271
273
  style="color: ${(_a = widget.formData.theme_color['title']) !== null && _a !== void 0 ? _a : '#000'} !important;cursor: pointer;font-size:20px;"></i>
272
274
  ${(vm.count) ? `<div class="position-absolute"
@@ -264,7 +264,9 @@ background: ${widget.formData.theme_color['background'] ?? '#000'};overflow-x: h
264
264
  return {
265
265
  bind: vm.id,
266
266
  view: () => {
267
- return html`<span class="position-relative">
267
+ return html`<span class="position-relative" onclick="${gvc.event(()=>{
268
+ gvc.glitter.href='/checkout'
269
+ })}">
268
270
  <i class="fa-duotone fa-cart-shopping"
269
271
  style="color: ${widget.formData.theme_color['title'] ?? '#000'} !important;cursor: pointer;font-size:20px;"></i>
270
272
  ${(vm.count) ? `<div class="position-absolute"
@@ -277,8 +277,10 @@ background: ${(_a = widget.formData.theme_color['background']) !== null && _a !=
277
277
  bind: vm.id,
278
278
  view: () => {
279
279
  var _a;
280
- return html `<span class="position-relative">
281
- <i class="fa-duotone fa-cart-shopping"
280
+ return html `<span class="position-relative" onclick="${gvc.event(() => {
281
+ gvc.glitter.href = '/checkout';
282
+ })}">
283
+ <i class="fa-duotone fa-cart-shopping"
282
284
  style="color: ${(_a = widget.formData.theme_color['title']) !== null && _a !== void 0 ? _a : '#000'} !important;cursor: pointer;font-size:20px;"></i>
283
285
  ${(vm.count) ? `<div class="position-absolute"
284
286
  style="font-size: 10px;right: -10px;top: -6px;">
@@ -274,8 +274,10 @@ background: ${widget.formData.theme_color['background'] ?? '#000'};overflow-x: h
274
274
  return {
275
275
  bind: vm.id,
276
276
  view: () => {
277
- return html`<span class="position-relative">
278
- <i class="fa-duotone fa-cart-shopping"
277
+ return html`<span class="position-relative" onclick="${gvc.event(()=>{
278
+ gvc.glitter.href='/checkout'
279
+ })}">
280
+ <i class="fa-duotone fa-cart-shopping"
279
281
  style="color: ${widget.formData.theme_color['title'] ?? '#000'} !important;cursor: pointer;font-size:20px;"></i>
280
282
  ${(vm.count) ? `<div class="position-absolute"
281
283
  style="font-size: 10px;right: -10px;top: -6px;">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "13.7.1",
3
+ "version": "13.7.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {