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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pixuireactcomponents",
3
- "version": "1.3.4",
3
+ "version": "1.3.6",
4
4
  "description": "pixui react components",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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);
@@ -1,4 +1,4 @@
1
- import { h, Component } from '../../../../../lib/preact/src';
1
+ import { h, Component } from 'preact';
2
2
  export declare class Slapface extends Component<any, any> {
3
3
  componentWillMount(): Promise<void>;
4
4
  private loadGroup;
@@ -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 '../../../../../lib/preact/src';
64
- import { platformAPI } from '../../../../common/frame/platform-api';
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';