@chamn/engine 0.0.17 → 0.0.19
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/component/CSSPropertiesEditor/index.d.ts +4 -2
- package/dist/component/CSSPropertiesVariableBindEditor/index.d.ts +4 -1
- package/dist/component/CustomSchemaForm/components/Setters/index.d.ts +1 -0
- package/dist/component/CustomSchemaForm/index.d.ts +2 -0
- package/dist/component/MonacoEditor/index.d.ts +7 -8
- package/dist/index.d.ts +5 -0
- package/dist/index.js +45 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11665 -11124
- package/dist/index.mjs.map +1 -1
- package/dist/plugins/History/index.d.ts +2 -2
- package/dist/plugins/History/type.d.ts +12 -0
- package/dist/utils/index.d.ts +3 -0
- package/package.json +10 -10
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const HistoryPlugin:
|
|
1
|
+
import { HistoryPluginType } from './type';
|
|
2
|
+
export declare const HistoryPlugin: HistoryPluginType;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CPlugin, PluginInstance } from '../../core/pluginManager';
|
|
2
|
+
export type HistoryExport = {
|
|
3
|
+
addStep: () => void;
|
|
4
|
+
reset: () => Promise<void>;
|
|
5
|
+
preStep: () => void;
|
|
6
|
+
nextStep: () => Promise<void> | undefined;
|
|
7
|
+
canGoPreStep: () => boolean;
|
|
8
|
+
canGoNextStep: () => boolean;
|
|
9
|
+
};
|
|
10
|
+
export type DesignerPluginConfig = any;
|
|
11
|
+
export type HistoryPluginType = CPlugin<DesignerPluginConfig, HistoryExport>;
|
|
12
|
+
export type HistoryPluginInstance = PluginInstance<DesignerPluginConfig, HistoryExport>;
|
package/dist/utils/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chamn/engine",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.19",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -38,27 +38,28 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@ant-design/icons": "^4.8.0",
|
|
41
|
-
"@chamn/layout": "^0.0.
|
|
42
|
-
"@chamn/model": "^0.0.
|
|
43
|
-
"@chamn/render": "^0.0.
|
|
41
|
+
"@chamn/layout": "^0.0.19",
|
|
42
|
+
"@chamn/model": "^0.0.19",
|
|
43
|
+
"@chamn/render": "^0.0.19",
|
|
44
44
|
"@dnd-kit/core": "^6.0.7",
|
|
45
45
|
"@dnd-kit/modifiers": "^6.0.1",
|
|
46
46
|
"@dnd-kit/sortable": "^7.0.2",
|
|
47
47
|
"@dnd-kit/utilities": "^3.2.1",
|
|
48
|
+
"@monaco-editor/react": "^4.5.1",
|
|
48
49
|
"ahooks": "^3.7.4",
|
|
49
50
|
"antd": "^5.6.3",
|
|
50
51
|
"consola": "^2.15.3",
|
|
51
52
|
"i18next": "^22.1.5",
|
|
52
53
|
"lodash-es": "^4.17.21",
|
|
53
54
|
"mitt": "^3.0.0",
|
|
54
|
-
"monaco-editor": "^0.
|
|
55
|
+
"monaco-editor": "^0.41.0",
|
|
55
56
|
"re-resizable": "^6.9.9",
|
|
56
57
|
"vite-plugin-static-copy": "^0.17.0"
|
|
57
58
|
},
|
|
58
59
|
"devDependencies": {
|
|
59
60
|
"@babel/core": "^7.21.0",
|
|
60
|
-
"@chamn/build-script": "^0.0.
|
|
61
|
-
"@chamn/demo-page": "^0.0.
|
|
61
|
+
"@chamn/build-script": "^0.0.19",
|
|
62
|
+
"@chamn/demo-page": "^0.0.19",
|
|
62
63
|
"@storybook/addon-actions": "^6.5.16",
|
|
63
64
|
"@storybook/addon-essentials": "^6.5.16",
|
|
64
65
|
"@storybook/addon-interactions": "^6.5.16",
|
|
@@ -79,9 +80,8 @@
|
|
|
79
80
|
"react-i18next": "^12.1.1",
|
|
80
81
|
"react-router-dom": "^6.7.0",
|
|
81
82
|
"rollup-plugin-visualizer": "^5.8.3",
|
|
82
|
-
"sass": "^1.54.0"
|
|
83
|
-
"vite-plugin-monaco-editor": "^1.1.0"
|
|
83
|
+
"sass": "^1.54.0"
|
|
84
84
|
},
|
|
85
85
|
"config": {},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "ed2f3548a57f8a1a5c9ec8591fadb12ae9c3b9e8"
|
|
87
87
|
}
|