canvas-editor-engine 2.1.6 → 2.1.7
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/config.d.ts +0 -3
- package/dist/index.mjs +0 -13
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -4,14 +4,11 @@ export interface ILayer {
|
|
|
4
4
|
index: number;
|
|
5
5
|
}
|
|
6
6
|
export declare class ConfigFabric {
|
|
7
|
-
protected _WEB_COMPONENT_TAG_NAME: string;
|
|
8
7
|
protected _CANVAS_SIZE: ICanvasSize;
|
|
9
8
|
protected _LAYERS: ILayer[];
|
|
10
9
|
}
|
|
11
10
|
export default class AppConfig extends ConfigFabric {
|
|
12
11
|
constructor();
|
|
13
|
-
get WEB_COMPONENT_TAG_NAME(): string;
|
|
14
|
-
set WEB_COMPONENT_TAG_NAME(value: string | undefined);
|
|
15
12
|
get CANVAS_SIZE(): ICanvasSize;
|
|
16
13
|
set CANVAS_SIZE(value: ICanvasSize | undefined);
|
|
17
14
|
get LAYERS(): ILayer[];
|
package/dist/index.mjs
CHANGED
|
@@ -73,7 +73,6 @@ var AppConfig = function(_super) {
|
|
|
73
73
|
width: 300,
|
|
74
74
|
height: 150
|
|
75
75
|
};
|
|
76
|
-
_this._WEB_COMPONENT_TAG_NAME = "canvas-editor-engine";
|
|
77
76
|
_this._LAYERS = [ {
|
|
78
77
|
name: "low",
|
|
79
78
|
index: 1
|
|
@@ -86,18 +85,6 @@ var AppConfig = function(_super) {
|
|
|
86
85
|
} ];
|
|
87
86
|
return _this;
|
|
88
87
|
}
|
|
89
|
-
Object.defineProperty(AppConfig.prototype, "WEB_COMPONENT_TAG_NAME", {
|
|
90
|
-
get: function() {
|
|
91
|
-
return this._WEB_COMPONENT_TAG_NAME;
|
|
92
|
-
},
|
|
93
|
-
set: function(value) {
|
|
94
|
-
if (!!value && typeof value === "string") {
|
|
95
|
-
this._WEB_COMPONENT_TAG_NAME = value;
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
enumerable: false,
|
|
99
|
-
configurable: true
|
|
100
|
-
});
|
|
101
88
|
Object.defineProperty(AppConfig.prototype, "CANVAS_SIZE", {
|
|
102
89
|
get: function() {
|
|
103
90
|
return this._CANVAS_SIZE;
|