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 +1 -1
- package/lowcode/Entry.ts +1 -1
- package/lowcode/official_view_component/form-widget/input-custom.js +1 -0
- package/lowcode/official_view_component/form-widget/input-custom.ts +1 -0
- package/lowcode/public-components/user-manager/um-login.js +5 -7
- package/lowcode/public-components/user-manager/um-login.ts +5 -8
- package/package.json +1 -1
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.
|
|
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.
|
|
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 = {
|
|
@@ -656,13 +656,11 @@ export class UMLogin {
|
|
|
656
656
|
const FB = window.FB;
|
|
657
657
|
if (FB) {
|
|
658
658
|
clearInterval(intervalId);
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
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
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
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
|
|