@eva/plugin-renderer-dragonbone 1.2.7-editor.9 → 1.2.7-fix.4
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/dist/EVA.plugin.renderer.dragonbone.js +1 -1
- package/dist/EVA.plugin.renderer.dragonbone.min.js +1 -1
- package/dist/miniprogram.js +1 -0
- package/dist/plugin-renderer-dragonbone.cjs.js +7 -12
- package/dist/plugin-renderer-dragonbone.cjs.prod.js +1 -1
- package/dist/plugin-renderer-dragonbone.d.ts +1 -0
- package/dist/plugin-renderer-dragonbone.esm.js +8 -13
- package/package.json +4 -4
|
@@ -43,10 +43,6 @@ function __decorate(decorators, target, key, desc) {
|
|
|
43
43
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
function __metadata(metadataKey, metadataValue) {
|
|
47
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
46
|
function __awaiter(thisArg, _arguments, P, generator) {
|
|
51
47
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
52
48
|
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
@@ -153,20 +149,16 @@ var DragonBone$3 = (function (_super) {
|
|
|
153
149
|
};
|
|
154
150
|
DragonBone.componentName = 'DragonBone';
|
|
155
151
|
__decorate([
|
|
156
|
-
inspectorDecorator.
|
|
157
|
-
__metadata("design:type", String)
|
|
152
|
+
inspectorDecorator.type('string')
|
|
158
153
|
], DragonBone.prototype, "resource", void 0);
|
|
159
154
|
__decorate([
|
|
160
|
-
inspectorDecorator.
|
|
161
|
-
__metadata("design:type", String)
|
|
155
|
+
inspectorDecorator.type('string')
|
|
162
156
|
], DragonBone.prototype, "armatureName", void 0);
|
|
163
157
|
__decorate([
|
|
164
|
-
inspectorDecorator.
|
|
165
|
-
__metadata("design:type", String)
|
|
158
|
+
inspectorDecorator.type('string')
|
|
166
159
|
], DragonBone.prototype, "animationName", void 0);
|
|
167
160
|
__decorate([
|
|
168
|
-
inspectorDecorator.
|
|
169
|
-
__metadata("design:type", Boolean)
|
|
161
|
+
inspectorDecorator.type('boolean')
|
|
170
162
|
], DragonBone.prototype, "autoPlay", void 0);
|
|
171
163
|
return DragonBone;
|
|
172
164
|
}(eva_js.Component));
|
|
@@ -17017,6 +17009,9 @@ var DragonBone = (function (_super) {
|
|
|
17017
17009
|
this.renderSystem.rendererManager.register(this);
|
|
17018
17010
|
this.renderSystem.application.ticker.add(dragonBones$1.PixiFactory._clockHandler, dragonBones$1.PixiFactory);
|
|
17019
17011
|
};
|
|
17012
|
+
DragonBone.prototype.onDestroy = function () {
|
|
17013
|
+
this.renderSystem.application.ticker.remove(dragonBones$1.PixiFactory._clockHandler, dragonBones$1.PixiFactory);
|
|
17014
|
+
};
|
|
17020
17015
|
DragonBone.prototype.componentChanged = function (changed) {
|
|
17021
17016
|
return __awaiter(this, void 0, void 0, function () {
|
|
17022
17017
|
return __generator(this, function (_a) {
|