canvas-editor-engine 1.0.52 → 1.0.54
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -3
- package/dist/services/draw.service.js +1 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -4,7 +4,6 @@ import CanvasComponent from "./components/canvas.component";
|
|
4
4
|
import PipetteComponent from "./components/pipette.component";
|
5
5
|
import ExcretionComponent from "./components/excretions.component";
|
6
6
|
import SlotComponent from "./components/slot.component";
|
7
|
-
import LoadingComponent from "./components/loading.component";
|
8
7
|
import DrawService from "./services/draw.service";
|
9
8
|
import ToolService from "./services/tool.service";
|
10
9
|
import LoggerService from "./services/logger.service";
|
@@ -27,4 +26,4 @@ declare class VueCanvasEditorEngine extends CanvasEditorEngine {
|
|
27
26
|
getContext2D(): CanvasRenderingContext2D;
|
28
27
|
getCanvas(): HTMLCanvasElement;
|
29
28
|
}
|
30
|
-
export { AppConfig, PipetteComponent, CanvasComponent, ExcretionComponent, SlotComponent,
|
29
|
+
export { AppConfig, PipetteComponent, CanvasComponent, ExcretionComponent, SlotComponent, ToolService, DrawService, LoggerService, CropService, DownloadService, ToolLayerService, StaticCanvasEditorEngine, VueCanvasEditorEngine, };
|
package/dist/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.VueCanvasEditorEngine = exports.StaticCanvasEditorEngine = exports.ToolLayerService = exports.DownloadService = exports.CropService = exports.LoggerService = exports.DrawService = exports.ToolService = exports.
|
3
|
+
exports.VueCanvasEditorEngine = exports.StaticCanvasEditorEngine = exports.ToolLayerService = exports.DownloadService = exports.CropService = exports.LoggerService = exports.DrawService = exports.ToolService = exports.SlotComponent = exports.ExcretionComponent = exports.CanvasComponent = exports.PipetteComponent = exports.AppConfig = void 0;
|
4
4
|
const config_1 = require("./config");
|
5
5
|
exports.AppConfig = config_1.default;
|
6
6
|
const web_component_1 = require("./web-component");
|
@@ -12,8 +12,6 @@ const excretions_component_1 = require("./components/excretions.component");
|
|
12
12
|
exports.ExcretionComponent = excretions_component_1.default;
|
13
13
|
const slot_component_1 = require("./components/slot.component");
|
14
14
|
exports.SlotComponent = slot_component_1.default;
|
15
|
-
const loading_component_1 = require("./components/loading.component");
|
16
|
-
exports.LoadingComponent = loading_component_1.default;
|
17
15
|
const draw_service_1 = require("./services/draw.service");
|
18
16
|
exports.DrawService = draw_service_1.default;
|
19
17
|
const tool_service_1 = require("./services/tool.service");
|
@@ -4,7 +4,6 @@ exports.SCImage = void 0;
|
|
4
4
|
const config_1 = require("../config");
|
5
5
|
const filters_1 = require("../filters");
|
6
6
|
const store_1 = require("../store/store");
|
7
|
-
const event_service_1 = require("./event.service");
|
8
7
|
class DrawService {
|
9
8
|
static scImage;
|
10
9
|
static drawImage(ctx, src, options) {
|
@@ -13,7 +12,7 @@ class DrawService {
|
|
13
12
|
}
|
14
13
|
static drawSmoothImage(useStore, options, filterOptions) {
|
15
14
|
const filterArgs = DrawService.getFilterArgs(useStore, options);
|
16
|
-
|
15
|
+
// EventService.dispatch('loading-start');
|
17
16
|
this.scImage.vague(filterArgs, filterOptions);
|
18
17
|
}
|
19
18
|
static getFilterArgs(useStore, options) {
|