@easy-editor/core 0.0.3-alpha.0 → 0.0.3-alpha.2
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/cjs/index.development.js +2 -9
- package/dist/cjs/index.development.js.map +1 -1
- package/dist/cjs/index.js +2 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.production.js +2 -9
- package/dist/cjs/index.production.js.map +1 -1
- package/dist/esm/index.development.js +2 -9
- package/dist/esm/index.development.js.map +1 -1
- package/dist/esm/index.js +2 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.production.js +2 -9
- package/dist/esm/index.production.js.map +1 -1
- package/dist/index.js +2 -9
- package/dist/simulator/simulator.d.ts +0 -1
- package/package.json +4 -3
- package/CHANGELOG.md +0 -19
package/dist/index.js
CHANGED
|
@@ -7140,9 +7140,7 @@ let Node$1 = class Node {
|
|
|
7140
7140
|
...extras
|
|
7141
7141
|
} = data;
|
|
7142
7142
|
this.props.import(props, extras);
|
|
7143
|
-
|
|
7144
|
-
this._children?.import(children, checkId);
|
|
7145
|
-
}
|
|
7143
|
+
this._children?.import(children, checkId);
|
|
7146
7144
|
}
|
|
7147
7145
|
export(stage = TRANSFORM_STAGE.SAVE) {
|
|
7148
7146
|
const baseSchema = {
|
|
@@ -7785,8 +7783,6 @@ class Document {
|
|
|
7785
7783
|
if (node.isRoot) return;
|
|
7786
7784
|
this.internalRemoveNode(node, true);
|
|
7787
7785
|
});
|
|
7788
|
-
this.remove();
|
|
7789
|
-
this.id = schema?.docId ?? uniqueId('doc');
|
|
7790
7786
|
if (schema) {
|
|
7791
7787
|
this.rootNode?.import(schema, checkId);
|
|
7792
7788
|
this._blank = false;
|
|
@@ -8446,9 +8442,6 @@ class Simulator {
|
|
|
8446
8442
|
get requestHandlersMap() {
|
|
8447
8443
|
return this.get('requestHandlersMap') || null;
|
|
8448
8444
|
}
|
|
8449
|
-
get thisRequiredInJSE() {
|
|
8450
|
-
return this.editor.get('thisRequiredInJSE') ?? true;
|
|
8451
|
-
}
|
|
8452
8445
|
get enableStrictNotFoundMode() {
|
|
8453
8446
|
return this.editor.get('enableStrictNotFoundMode') ?? false;
|
|
8454
8447
|
}
|
|
@@ -8576,6 +8569,7 @@ class Simulator {
|
|
|
8576
8569
|
}
|
|
8577
8570
|
this._renderer?.run();
|
|
8578
8571
|
this.setupEvents();
|
|
8572
|
+
clipboard.injectCopyPaster(this._contentDocument);
|
|
8579
8573
|
}
|
|
8580
8574
|
getComponent(componentName) {
|
|
8581
8575
|
return this._components[componentName];
|
|
@@ -8592,7 +8586,6 @@ class Simulator {
|
|
|
8592
8586
|
setupEvents() {
|
|
8593
8587
|
this.setupDragAndClick();
|
|
8594
8588
|
this.setupDetecting();
|
|
8595
|
-
clipboard.injectCopyPaster(this._contentDocument);
|
|
8596
8589
|
}
|
|
8597
8590
|
setupDragAndClick() {
|
|
8598
8591
|
const {
|
|
@@ -33,7 +33,6 @@ export declare class Simulator {
|
|
|
33
33
|
get editor(): import("..").Editor;
|
|
34
34
|
get device(): string;
|
|
35
35
|
get requestHandlersMap(): any;
|
|
36
|
-
get thisRequiredInJSE(): boolean;
|
|
37
36
|
get enableStrictNotFoundMode(): any;
|
|
38
37
|
get notFoundComponent(): any;
|
|
39
38
|
get faultComponent(): any;
|
package/package.json
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easy-editor/core",
|
|
3
|
-
"version": "0.0.3-alpha.
|
|
3
|
+
"version": "0.0.3-alpha.2",
|
|
4
4
|
"description": "A cross-framework low-code engine with scale-out design.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist",
|
|
9
9
|
"LICENSE",
|
|
10
|
-
"CHANGELOG.md",
|
|
11
10
|
"README.md"
|
|
12
11
|
],
|
|
13
12
|
"publishConfig": {
|
|
@@ -37,8 +36,10 @@
|
|
|
37
36
|
"bugs": {
|
|
38
37
|
"url": "https://github.com/Easy-Editor/EasyEditor/issues"
|
|
39
38
|
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"mobx": "^6.13.5"
|
|
41
|
+
},
|
|
40
42
|
"dependencies": {
|
|
41
|
-
"mobx": "^6.13.5",
|
|
42
43
|
"nanoid": "^5.0.7"
|
|
43
44
|
},
|
|
44
45
|
"scripts": {
|
package/CHANGELOG.md
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# @easy-editor/core
|
|
2
|
-
|
|
3
|
-
## 0.0.3-alpha.0
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- 3f130ae: test: build alpha
|
|
8
|
-
|
|
9
|
-
## 0.0.2
|
|
10
|
-
|
|
11
|
-
### Patch Changes
|
|
12
|
-
|
|
13
|
-
- 9a2c9ae: feat: all packages publish
|
|
14
|
-
|
|
15
|
-
## 0.0.1
|
|
16
|
-
|
|
17
|
-
### Patch Changes
|
|
18
|
-
|
|
19
|
-
- 096c32d: feat: first publish
|