pixuireactcomponents 1.3.4 → 1.3.6
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/package.json
CHANGED
|
@@ -52,7 +52,6 @@ export var OutlineText = /** @class */ (function (_super) {
|
|
|
52
52
|
function OutlineText(props) {
|
|
53
53
|
var _this = _super.call(this, props) || this;
|
|
54
54
|
_this.OnLoad = function (e) {
|
|
55
|
-
console.log('!!!!!!!!!!!!!!');
|
|
56
55
|
if (!window.require) {
|
|
57
56
|
console.error('need puerts env');
|
|
58
57
|
}
|
|
@@ -62,7 +61,6 @@ export var OutlineText = /** @class */ (function (_super) {
|
|
|
62
61
|
return;
|
|
63
62
|
}
|
|
64
63
|
var puerts = window.require('puerts');
|
|
65
|
-
console.log('?????');
|
|
66
64
|
var windowId = window.external.id;
|
|
67
65
|
var handle = e.target.attachment.handle;
|
|
68
66
|
var attachment = CS.com.tencent.pandora.CSharpInterface.GetSlotAttachmentByHandle(windowId, handle);
|
|
@@ -60,8 +60,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
60
60
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
|
-
import { h, Component } from '
|
|
64
|
-
|
|
63
|
+
import { h, Component } from 'preact';
|
|
64
|
+
//@ts-ignore
|
|
65
|
+
import { platformAPI } from 'src/common/frame/platform-api';
|
|
65
66
|
//@ts-ignore
|
|
66
67
|
import SlapfaceLess from './Slapface.less';
|
|
67
68
|
import { Images } from '../../sample/Images';
|