canvas-editor-engine 1.0.24 → 1.0.25
Sign up to get free protection for your applications and to get access to all the features.
package/dist/config.d.ts
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
import { ICanvasSize } from "./types/canvas";
|
2
|
-
export
|
3
|
-
|
4
|
-
|
2
|
+
export interface IConfigStore {
|
3
|
+
_WEB_COMPONENT_TAG_NAME: string;
|
4
|
+
_CANVAS_SIZE: ICanvasSize;
|
5
|
+
}
|
6
|
+
export declare class ConfigFabric {
|
7
|
+
protected static _WEB_COMPONENT_TAG_NAME: string;
|
8
|
+
protected static _CANVAS_SIZE: ICanvasSize;
|
9
|
+
}
|
10
|
+
export default class AppConfig extends ConfigFabric {
|
5
11
|
static get WEB_COMPONENT_TAG_NAME(): string;
|
6
12
|
static set WEB_COMPONENT_TAG_NAME(value: string | undefined);
|
7
13
|
static get CANVAS_SIZE(): ICanvasSize;
|
package/dist/config.js
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
|
3
|
+
exports.ConfigFabric = void 0;
|
4
|
+
class ConfigFabric {
|
5
|
+
}
|
6
|
+
exports.ConfigFabric = ConfigFabric;
|
7
|
+
class AppConfig extends ConfigFabric {
|
4
8
|
static get WEB_COMPONENT_TAG_NAME() {
|
5
9
|
return AppConfig._WEB_COMPONENT_TAG_NAME;
|
6
10
|
}
|
@@ -21,9 +25,11 @@ class AppConfig {
|
|
21
25
|
}
|
22
26
|
}
|
23
27
|
}
|
24
|
-
|
25
|
-
AppConfig._CANVAS_SIZE = {
|
26
|
-
|
27
|
-
|
28
|
-
};
|
28
|
+
(() => {
|
29
|
+
AppConfig._CANVAS_SIZE = {
|
30
|
+
width: 300,
|
31
|
+
height: 150,
|
32
|
+
};
|
33
|
+
AppConfig._WEB_COMPONENT_TAG_NAME = 'canvas-editor-engine';
|
34
|
+
})();
|
29
35
|
exports.default = AppConfig;
|
File without changes
|
File without changes
|