@eva/plugin-renderer-graphics 1.1.1-fix.0 → 1.1.1-fix.1
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@eva/eva.js"),t=require("pixi.js"),n=require("@eva/plugin-renderer"),r=function(e,t){return
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@eva/eva.js"),t=require("pixi.js"),n=require("@eva/plugin-renderer"),r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function i(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=c.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(t.Graphics),a=c,u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.graphics=null,t}return o(t,e),t.prototype.init=function(){this.graphics=new a},t.componentName="Graphics",t}(e.Component),s=u,p=function(t){function r(){var e=null!==t&&t.apply(this,arguments)||this;return e.name="Graphics",e}return o(r,t),r.prototype.init=function(){this.renderSystem=this.game.getSystem(n.RendererSystem),this.renderSystem.rendererManager.register(this)},r.prototype.componentChanged=function(t){return n=this,r=void 0,c=function(){return i(this,(function(n){return t.type===e.OBSERVER_TYPE.ADD?this.containerManager.getContainer(t.gameObject.id).addChildAt(t.component.graphics,0):t.type===e.OBSERVER_TYPE.REMOVE&&(this.containerManager.getContainer(t.gameObject.id).removeChild(t.component.graphics),t.component.graphics.destroy({children:!0})),[2]}))},new((o=void 0)||(o=Promise))((function(e,t){function i(e){try{u(c.next(e))}catch(e){t(e)}}function a(e){try{u(c.throw(e))}catch(e){t(e)}}function u(t){t.done?e(t.value):new o((function(e){e(t.value)})).then(i,a)}u((c=c.apply(n,r||[])).next())}));var n,r,o,c},r.systemName="Graphics",r=function(e,t,n,r){var o,i=arguments.length,c=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(c=(i<3?o(c):i>3?o(t,n,c):o(t,n))||c);return i>3&&c&&Object.defineProperty(t,n,c),c}([e.decorators.componentObserver({Graphics:["graphics"]})],r),r}(n.Renderer);exports.Graphics=s,exports.GraphicsSystem=p;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eva/plugin-renderer-graphics",
|
|
3
|
-
"version": "1.1.1-fix.
|
|
3
|
+
"version": "1.1.1-fix.1",
|
|
4
4
|
"description": "@eva/plugin-renderer-graphics",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/plugin-renderer-graphics.esm.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"homepage": "https://eva.js.org",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@eva/plugin-renderer": "1.1.1-fix.
|
|
22
|
-
"@eva/eva.js": "1.1.1-fix.
|
|
21
|
+
"@eva/plugin-renderer": "1.1.1-fix.1",
|
|
22
|
+
"@eva/eva.js": "1.1.1-fix.1"
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@eva/eva.js'), require('pixi.js'), require('@eva/plugin-renderer')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['exports', '@eva/eva.js', 'pixi.js', '@eva/plugin-renderer'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.EVA = global.EVA || {}, global.EVA.plugin = global.EVA.plugin || {}, global.EVA.plugin.renderer = global.EVA.plugin.renderer || {}, global.EVA.plugin.renderer.graphics = {}), global.EVA, global.PIXI, global.EVA.plugin.renderer));
|
|
5
|
-
}(this, (function (exports, eva_js, pixi_js, pluginRenderer) { 'use strict';
|
|
6
|
-
|
|
7
|
-
/*! *****************************************************************************
|
|
8
|
-
Copyright (c) Microsoft Corporation.
|
|
9
|
-
|
|
10
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
11
|
-
purpose with or without fee is hereby granted.
|
|
12
|
-
|
|
13
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
14
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
15
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
16
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
17
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
18
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
19
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
20
|
-
***************************************************************************** */
|
|
21
|
-
/* global Reflect, Promise */
|
|
22
|
-
|
|
23
|
-
var extendStatics = function(d, b) {
|
|
24
|
-
extendStatics = Object.setPrototypeOf ||
|
|
25
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
26
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
27
|
-
return extendStatics(d, b);
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
function __extends(d, b) {
|
|
31
|
-
extendStatics(d, b);
|
|
32
|
-
function __() { this.constructor = d; }
|
|
33
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
function __decorate(decorators, target, key, desc) {
|
|
37
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
38
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
39
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
40
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
function __awaiter(thisArg, _arguments, P, generator) {
|
|
44
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
45
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
46
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
47
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
48
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
49
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
function __generator(thisArg, body) {
|
|
54
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
55
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
56
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
57
|
-
function step(op) {
|
|
58
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
59
|
-
while (_) try {
|
|
60
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
61
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
62
|
-
switch (op[0]) {
|
|
63
|
-
case 0: case 1: t = op; break;
|
|
64
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
65
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
66
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
67
|
-
default:
|
|
68
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
69
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
70
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
71
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
72
|
-
if (t[2]) _.ops.pop();
|
|
73
|
-
_.trys.pop(); continue;
|
|
74
|
-
}
|
|
75
|
-
op = body.call(thisArg, _);
|
|
76
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
77
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
var Graphics$4 = (function (_super) {
|
|
82
|
-
__extends(Graphics, _super);
|
|
83
|
-
function Graphics() {
|
|
84
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
85
|
-
}
|
|
86
|
-
return Graphics;
|
|
87
|
-
}(pixi_js.Graphics));
|
|
88
|
-
var GraphicsEngine = Graphics$4;
|
|
89
|
-
|
|
90
|
-
var Graphics$2 = (function (_super) {
|
|
91
|
-
__extends(Graphics, _super);
|
|
92
|
-
function Graphics() {
|
|
93
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
94
|
-
_this.graphics = null;
|
|
95
|
-
return _this;
|
|
96
|
-
}
|
|
97
|
-
Graphics.prototype.init = function () {
|
|
98
|
-
this.graphics = new GraphicsEngine();
|
|
99
|
-
};
|
|
100
|
-
Graphics.componentName = 'Graphics';
|
|
101
|
-
return Graphics;
|
|
102
|
-
}(eva_js.Component));
|
|
103
|
-
var Graphics$3 = Graphics$2;
|
|
104
|
-
|
|
105
|
-
var Graphics = (function (_super) {
|
|
106
|
-
__extends(Graphics, _super);
|
|
107
|
-
function Graphics() {
|
|
108
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
109
|
-
_this.name = 'Graphics';
|
|
110
|
-
return _this;
|
|
111
|
-
}
|
|
112
|
-
Graphics.prototype.init = function () {
|
|
113
|
-
this.renderSystem = this.game.getSystem(pluginRenderer.RendererSystem);
|
|
114
|
-
this.renderSystem.rendererManager.register(this);
|
|
115
|
-
};
|
|
116
|
-
Graphics.prototype.componentChanged = function (changed) {
|
|
117
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
118
|
-
return __generator(this, function (_a) {
|
|
119
|
-
if (changed.type === eva_js.OBSERVER_TYPE.ADD) {
|
|
120
|
-
this.containerManager
|
|
121
|
-
.getContainer(changed.gameObject.id)
|
|
122
|
-
.addChildAt(changed.component.graphics, 0);
|
|
123
|
-
}
|
|
124
|
-
else if (changed.type === eva_js.OBSERVER_TYPE.REMOVE) {
|
|
125
|
-
this.containerManager
|
|
126
|
-
.getContainer(changed.gameObject.id)
|
|
127
|
-
.removeChild(changed.component.graphics);
|
|
128
|
-
changed.component.graphics.destroy({ children: true });
|
|
129
|
-
}
|
|
130
|
-
return [2];
|
|
131
|
-
});
|
|
132
|
-
});
|
|
133
|
-
};
|
|
134
|
-
Graphics.systemName = 'Graphics';
|
|
135
|
-
Graphics = __decorate([
|
|
136
|
-
eva_js.decorators.componentObserver({
|
|
137
|
-
Graphics: ['graphics'],
|
|
138
|
-
})
|
|
139
|
-
], Graphics);
|
|
140
|
-
return Graphics;
|
|
141
|
-
}(pluginRenderer.Renderer));
|
|
142
|
-
var Graphics$1 = Graphics;
|
|
143
|
-
|
|
144
|
-
exports.Graphics = Graphics$3;
|
|
145
|
-
exports.GraphicsSystem = Graphics$1;
|
|
146
|
-
|
|
147
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
148
|
-
|
|
149
|
-
})));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e,t;e=this,t=function(e,t,n,r){"use strict";var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function a(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}u((r=r.apply(e,t||[])).next())}))}function c(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}var u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(n.Graphics),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.graphics=null,t}return i(t,e),t.prototype.init=function(){this.graphics=new u},t.componentName="Graphics",t}(t.Component),s=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.name="Graphics",t}return i(n,e),n.prototype.init=function(){this.renderSystem=this.game.getSystem(r.RendererSystem),this.renderSystem.rendererManager.register(this)},n.prototype.componentChanged=function(e){return a(this,void 0,void 0,(function(){return c(this,(function(n){return e.type===t.OBSERVER_TYPE.ADD?this.containerManager.getContainer(e.gameObject.id).addChildAt(e.component.graphics,0):e.type===t.OBSERVER_TYPE.REMOVE&&(this.containerManager.getContainer(e.gameObject.id).removeChild(e.component.graphics),e.component.graphics.destroy({children:!0})),[2]}))}))},n.systemName="Graphics",n=function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}([t.decorators.componentObserver({Graphics:["graphics"]})],n)}(r.Renderer);e.Graphics=p,e.GraphicsSystem=s,Object.defineProperty(e,"__esModule",{value:!0})},"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@eva/eva.js"),require("pixi.js"),require("@eva/plugin-renderer")):"function"==typeof define&&define.amd?define(["exports","@eva/eva.js","pixi.js","@eva/plugin-renderer"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).EVA=e.EVA||{},e.EVA.plugin=e.EVA.plugin||{},e.EVA.plugin.renderer=e.EVA.plugin.renderer||{},e.EVA.plugin.renderer.graphics={}),e.EVA,e.PIXI,e.EVA.plugin.renderer);
|
package/dist/miniprogram.js
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { __extends, __awaiter, __generator, __decorate } from 'tslib';
|
|
2
|
-
import { Component, OBSERVER_TYPE, decorators } from '@eva/eva.js/dist/miniprogram';
|
|
3
|
-
import { Graphics as Graphics$4 } from '@eva/renderer-adapter/dist/miniprogram';
|
|
4
|
-
import { RendererSystem, Renderer } from '@eva/plugin-renderer/dist/miniprogram';
|
|
5
|
-
|
|
6
|
-
var Graphics$2 = (function (_super) {
|
|
7
|
-
__extends(Graphics, _super);
|
|
8
|
-
function Graphics() {
|
|
9
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
10
|
-
_this.graphics = null;
|
|
11
|
-
return _this;
|
|
12
|
-
}
|
|
13
|
-
Graphics.prototype.init = function () {
|
|
14
|
-
this.graphics = new Graphics$4();
|
|
15
|
-
};
|
|
16
|
-
Graphics.componentName = 'Graphics';
|
|
17
|
-
return Graphics;
|
|
18
|
-
}(Component));
|
|
19
|
-
var Graphics$3 = Graphics$2;
|
|
20
|
-
|
|
21
|
-
var Graphics = (function (_super) {
|
|
22
|
-
__extends(Graphics, _super);
|
|
23
|
-
function Graphics() {
|
|
24
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
25
|
-
_this.name = 'Graphics';
|
|
26
|
-
return _this;
|
|
27
|
-
}
|
|
28
|
-
Graphics.prototype.init = function () {
|
|
29
|
-
this.renderSystem = this.game.getSystem(RendererSystem);
|
|
30
|
-
this.renderSystem.rendererManager.register(this);
|
|
31
|
-
};
|
|
32
|
-
Graphics.prototype.componentChanged = function (changed) {
|
|
33
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
34
|
-
return __generator(this, function (_a) {
|
|
35
|
-
if (changed.type === OBSERVER_TYPE.ADD) {
|
|
36
|
-
this.containerManager
|
|
37
|
-
.getContainer(changed.gameObject.id)
|
|
38
|
-
.addChildAt(changed.component.graphics, 0);
|
|
39
|
-
}
|
|
40
|
-
else if (changed.type === OBSERVER_TYPE.REMOVE) {
|
|
41
|
-
this.containerManager
|
|
42
|
-
.getContainer(changed.gameObject.id)
|
|
43
|
-
.removeChild(changed.component.graphics);
|
|
44
|
-
changed.component.graphics.destroy({ children: true });
|
|
45
|
-
}
|
|
46
|
-
return [2];
|
|
47
|
-
});
|
|
48
|
-
});
|
|
49
|
-
};
|
|
50
|
-
Graphics.systemName = 'Graphics';
|
|
51
|
-
Graphics = __decorate([
|
|
52
|
-
decorators.componentObserver({
|
|
53
|
-
Graphics: ['graphics'],
|
|
54
|
-
})
|
|
55
|
-
], Graphics);
|
|
56
|
-
return Graphics;
|
|
57
|
-
}(Renderer));
|
|
58
|
-
var Graphics$1 = Graphics;
|
|
59
|
-
|
|
60
|
-
export { Graphics$3 as Graphics, Graphics$1 as GraphicsSystem };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Component } from '@eva/eva.js';
|
|
2
|
-
import { ComponentChanged } from '@eva/eva.js';
|
|
3
|
-
import { ContainerManager } from '@eva/plugin-renderer';
|
|
4
|
-
import { Graphics as Graphics_2 } from '@eva/renderer-adapter';
|
|
5
|
-
import { Renderer } from '@eva/plugin-renderer';
|
|
6
|
-
import { RendererManager } from '@eva/plugin-renderer';
|
|
7
|
-
import { RendererSystem } from '@eva/plugin-renderer';
|
|
8
|
-
|
|
9
|
-
export declare class Graphics extends Component {
|
|
10
|
-
static componentName: string;
|
|
11
|
-
graphics: Graphics_2;
|
|
12
|
-
init(): void;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
export declare class GraphicsSystem extends Renderer {
|
|
16
|
-
static systemName: string;
|
|
17
|
-
name: string;
|
|
18
|
-
renderSystem: RendererSystem;
|
|
19
|
-
rendererManager: RendererManager;
|
|
20
|
-
containerManager: ContainerManager;
|
|
21
|
-
init(): void;
|
|
22
|
-
componentChanged(changed: ComponentChanged): Promise<void>;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export { }
|