ts-glitter 19.8.3 → 19.8.5

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
@@ -141,7 +141,7 @@ export class Entry {
141
141
  }
142
142
  window.renderClock = (_b = window.renderClock) !== null && _b !== void 0 ? _b : createClock();
143
143
  console.log(`Entry-time:`, window.renderClock.stop());
144
- glitter.share.editerVersion = 'V_19.8.3';
144
+ glitter.share.editerVersion = 'V_19.8.5';
145
145
  glitter.share.start = new Date();
146
146
  const vm = { appConfig: [] };
147
147
  window.saasConfig = {
package/lowcode/Entry.ts CHANGED
@@ -140,7 +140,7 @@ export class Entry {
140
140
  }
141
141
  (window as any).renderClock = (window as any).renderClock ?? createClock();
142
142
  console.log(`Entry-time:`, (window as any).renderClock.stop());
143
- glitter.share.editerVersion = 'V_19.8.3';
143
+ glitter.share.editerVersion = 'V_19.8.5';
144
144
  glitter.share.start = new Date();
145
145
  const vm = { appConfig: [] };
146
146
  (window as any).saasConfig = {
@@ -131,6 +131,7 @@ white-space: normal;`;
131
131
  ], () => {
132
132
  const cf = {
133
133
  locale: 'zh',
134
+ disableMobile: "true"
134
135
  };
135
136
  if (min) {
136
137
  cf.minDate = new Date(`${min} 00:00:00`);
@@ -137,6 +137,7 @@ white-space: normal;`;
137
137
  () => {
138
138
  const cf: any = {
139
139
  locale: 'zh', // locale for this instance only,
140
+ disableMobile: "true"
140
141
  };
141
142
  if (min) {
142
143
  cf.minDate = new Date(`${min} 00:00:00`);
@@ -656,13 +656,11 @@ export class UMLogin {
656
656
  const FB = window.FB;
657
657
  if (FB) {
658
658
  clearInterval(intervalId);
659
- window.fbAsyncInit = () => {
660
- FB.init({
661
- appId: widget.share.fb.id,
662
- xfbml: true,
663
- version: 'v19.0',
664
- });
665
- };
659
+ FB.init({
660
+ appId: widget.share.fb.id,
661
+ xfbml: true,
662
+ version: 'v22.0'
663
+ });
666
664
  return;
667
665
  }
668
666
  const sdkId = 'facebook-jssdk';
@@ -679,20 +679,17 @@ export class UMLogin {
679
679
  created: () => {
680
680
  ApiUser.getPublicConfig('login_fb_setting', 'manager').then((dd) => {
681
681
  widget.share.fb = dd.response.value || {};
682
-
683
682
  const loadFacebookSDK = () => {
684
683
  const intervalId = setInterval(() => {
685
684
  // 檢查 SDK 是否已載入
686
685
  const FB = (window as any).FB;
687
686
  if (FB) {
688
687
  clearInterval(intervalId); // 清除間隔
689
- (window as any).fbAsyncInit = () => {
690
- FB.init({
691
- appId: widget.share.fb.id,
692
- xfbml: true,
693
- version: 'v19.0',
694
- });
695
- };
688
+ FB.init({
689
+ appId: widget.share.fb.id,
690
+ xfbml : true,
691
+ version : 'v22.0'
692
+ });
696
693
  return;
697
694
  }
698
695
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-glitter",
3
- "version": "19.8.3",
3
+ "version": "19.8.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {