@easy-editor/plugin-dashboard 1.0.1 → 1.0.3

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/type.d.ts CHANGED
@@ -1,11 +1,21 @@
1
1
  import type { ComponentInstance } from '@easy-editor/core';
2
2
  import type { GuideLine } from './designer/guideline';
3
+ import type { Alignment } from './designer/alignment';
4
+ import type { MarqueeSelection } from './designer/marquee-selection';
3
5
  declare module '@easy-editor/core' {
4
6
  interface Designer {
5
7
  /**
6
8
  * 辅助线
7
9
  */
8
10
  guideline: GuideLine;
11
+ /**
12
+ * 对齐功能
13
+ */
14
+ alignment: Alignment;
15
+ /**
16
+ * 框选功能
17
+ */
18
+ marqueeSelection: MarqueeSelection;
9
19
  }
10
20
  interface Document {
11
21
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easy-editor/plugin-dashboard",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Dashboard plugin for EasyEditor",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "peerDependencies": {
43
43
  "mobx": "^6.13.5",
44
- "@easy-editor/core": "^1.0.1"
44
+ "@easy-editor/core": "^1.0.3"
45
45
  },
46
46
  "scripts": {
47
47
  "dev": "deno run --watch ./src/index.ts",