ts-glitter 13.8.34 → 13.8.35

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
@@ -62,7 +62,7 @@ export class Entry {
62
62
  }
63
63
  window.renderClock = (_a = window.renderClock) !== null && _a !== void 0 ? _a : clockF();
64
64
  console.log(`Entry-time:`, window.renderClock.stop());
65
- glitter.share.editerVersion = "V_13.8.34";
65
+ glitter.share.editerVersion = "V_13.8.35";
66
66
  glitter.share.start = (new Date());
67
67
  const vm = {
68
68
  appConfig: [],
package/lowcode/Entry.ts CHANGED
@@ -62,7 +62,7 @@ export class Entry {
62
62
  }
63
63
  (window as any).renderClock = (window as any).renderClock ?? clockF();
64
64
  console.log(`Entry-time:`, (window as any).renderClock.stop());
65
- glitter.share.editerVersion = "V_13.8.34";
65
+ glitter.share.editerVersion = "V_13.8.35";
66
66
  glitter.share.start = (new Date());
67
67
  const vm: {
68
68
  appConfig: any;
@@ -399,7 +399,7 @@ ${dd.title}</a></li>`;
399
399
  view: () => {
400
400
  const size = document.body.clientWidth > 768 ? 24 : 18;
401
401
  return [
402
- html `
402
+ (document.body.clientWidth < 800) ? `` : html `
403
403
  <div
404
404
  class="ms-auto me-2 bt_orange_lin_mb d-md-flex"
405
405
  style=""
@@ -415,26 +415,27 @@ ${dd.title}</a></li>`
415
415
  // class="me-2" style="width:${size}px;height: ${size}px;">
416
416
  // <span class="fw-500" style="font-size: 10px;">AI</span>
417
417
  // </div>`,
418
- html`
418
+ (document.body.clientWidth<800) ? ``: html`
419
419
  <div
420
420
  class="ms-auto me-2 bt_orange_lin_mb d-md-flex"
421
421
  style=""
422
422
  onclick="${gvc.event(() => {
423
- AiMessage.setDrawer(gvc, [
424
- {
425
- key: 'writer',
426
- label: '文案寫手',
427
- },
428
- {
429
- key: 'design',
430
- label: '圖片生成',
431
- }
432
- ]);
433
- })}"
423
+ AiMessage.setDrawer(gvc, [
424
+ {
425
+ key: 'writer',
426
+ label: '文案寫手',
427
+ },
428
+ {
429
+ key: 'design',
430
+ label: '圖片生成',
431
+ }
432
+ ]);
433
+ })}"
434
434
  >
435
435
  <img src="https://d3jnmi1tfjgtti.cloudfront.net/file/234285319/size1440_s*px$_sas0s9s0s1sesas0_1697354801736-Glitterlogo.png"
436
436
  class="me-2" style="width:25px;height:25px;">AI助手
437
- </div>`,
437
+ </div>`
438
+ ,
438
439
  // html`
439
440
  // <div class="indexGuideBTN d-none d-sm-block"
440
441
  // style="padding: 10px;cursor: pointer;" data-bs-toggle="tooltip"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "13.8.34",
3
+ "version": "13.8.35",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {