amis-editor-core 6.4.1 → 6.6.0
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/esm/component/Editor.d.ts +4 -0
- package/esm/component/Panel/AMisCodeEditor.d.ts +1 -1
- package/esm/component/Panel/CodeEditorPanel.d.ts +1 -1
- package/esm/dnd/flex.d.ts +50 -0
- package/esm/dnd/interface.d.ts +2 -0
- package/esm/index.d.ts +6 -1
- package/esm/index.js +2 -2
- package/esm/layout/default.d.ts +3 -0
- package/esm/layout/flex.d.ts +3711 -0
- package/esm/layout/index.d.ts +3 -0
- package/esm/layout/interface.d.ts +16 -0
- package/esm/manager.d.ts +16 -11
- package/esm/plugin/Unknown.d.ts +1 -1
- package/esm/plugin.d.ts +10 -3
- package/esm/store/editor.d.ts +141 -49
- package/esm/util.d.ts +5 -0
- package/lib/component/Editor.d.ts +4 -0
- package/lib/component/Panel/AMisCodeEditor.d.ts +1 -1
- package/lib/component/Panel/CodeEditorPanel.d.ts +1 -1
- package/lib/dnd/flex.d.ts +50 -0
- package/lib/dnd/interface.d.ts +2 -0
- package/lib/editor.js +1 -1
- package/lib/index.d.ts +6 -1
- package/lib/index.js +2 -2
- package/lib/layout/default.d.ts +3 -0
- package/lib/layout/flex.d.ts +3711 -0
- package/lib/layout/index.d.ts +3 -0
- package/lib/layout/interface.d.ts +16 -0
- package/lib/manager.d.ts +16 -11
- package/lib/plugin/Unknown.d.ts +1 -1
- package/lib/plugin.d.ts +10 -3
- package/lib/store/editor.d.ts +141 -49
- package/lib/style.css +1 -1
- package/lib/util.d.ts +5 -0
- package/package.json +3 -3
package/lib/util.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="lodash" />
|
|
2
2
|
import type { Schema } from 'amis';
|
|
3
|
+
import type { VariableItem } from 'amis-ui';
|
|
3
4
|
import { Diff } from 'deep-diff';
|
|
4
5
|
import { EditorModalBody } from './store/editor';
|
|
5
6
|
declare const guid: any, omitControls: any, isObjectShallowModified: any, cloneObject: any, anyChanged: any, noop: any, makeHorizontalDeeper: any, isEmpty: any, eachTree: any, createObject: any;
|
|
@@ -149,6 +150,9 @@ export declare function resolveVariablesFromScope(node: any, manager: any): Prom
|
|
|
149
150
|
* @param that 为组件的实例 this
|
|
150
151
|
**/
|
|
151
152
|
export declare function getVariables(that: any): Promise<any>;
|
|
153
|
+
export declare function getQuickVariables(that: any, filter?: Function): Promise<any[]>;
|
|
154
|
+
export declare function getConditionVariables(that: any, filter?: Function): Promise<any[]>;
|
|
155
|
+
export declare function resolveQuickVariables(options: any, quickVars?: VariableItem[], selfName?: string, filter?: Function): any[];
|
|
152
156
|
/**
|
|
153
157
|
* 更新组件上下文中label为带层级说明
|
|
154
158
|
* @param variables 变量列表
|
|
@@ -180,3 +184,4 @@ export declare function modalsToDefinitions(modals: Array<EditorModalBody>, defi
|
|
|
180
184
|
* @returns
|
|
181
185
|
*/
|
|
182
186
|
export declare function mergeDefinitions(originSchema: any, definitions: any, modal: any): any;
|
|
187
|
+
export declare function setDefaultColSize(regionList: any[], row: number, preRow?: number): any[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amis-editor-core",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.0",
|
|
4
4
|
"description": "amis 可视化编辑器",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -95,8 +95,8 @@
|
|
|
95
95
|
"react": "^18.2.0",
|
|
96
96
|
"react-dom": "^18.2.0",
|
|
97
97
|
"react-overlays": "5.1.1",
|
|
98
|
-
"react-router": "5.2.
|
|
99
|
-
"react-router-dom": "5.
|
|
98
|
+
"react-router": "5.2.1",
|
|
99
|
+
"react-router-dom": "5.3.0",
|
|
100
100
|
"rimraf": "^3.0.2",
|
|
101
101
|
"rollup": "^2.73.0",
|
|
102
102
|
"rollup-plugin-auto-external": "^2.0.0",
|