amis-editor-core 6.14.0-beta.1 → 6.14.0-beta.11
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/Panel/AMisCodeEditor.d.ts +0 -1
- package/esm/component/Panel/AvailableRenderersPanel.d.ts +3 -1
- package/esm/component/RegionWrapper.d.ts +46 -350
- package/esm/component/VRenderer.d.ts +40 -344
- package/esm/component/base/SchemaForm.d.ts +15 -768
- package/esm/index.js +2 -2
- package/esm/layout/flex.d.ts +17 -3788
- package/esm/manager.d.ts +43 -349
- package/esm/store/editor.d.ts +389 -2207
- package/esm/store/node.d.ts +4 -3
- package/esm/tpl.d.ts +1 -2
- package/esm/util.d.ts +2 -2
- package/lib/component/Panel/AMisCodeEditor.d.ts +0 -1
- package/lib/component/Panel/AvailableRenderersPanel.d.ts +3 -1
- package/lib/component/RegionWrapper.d.ts +46 -350
- package/lib/component/VRenderer.d.ts +40 -344
- package/lib/component/base/SchemaForm.d.ts +15 -768
- package/lib/dnd/default.d.ts +1 -1
- package/lib/dnd/flex.d.ts +1 -1
- package/lib/editor.js +1 -1
- package/lib/index.js +2 -2
- package/lib/layout/flex.d.ts +17 -3788
- package/lib/manager.d.ts +43 -349
- package/lib/store/editor.d.ts +389 -2207
- package/lib/store/node.d.ts +4 -3
- package/lib/style.css +1 -1
- package/lib/tpl.d.ts +1 -2
- package/lib/util.d.ts +2 -2
- package/package.json +3 -3
package/lib/tpl.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { SchemaObject } from 'amis';
|
|
3
2
|
export declare function getSchemaTpl(name: string, patch?: object, options?: object): any;
|
|
4
3
|
export declare function setSchemaTpl(name: string, value: any): void;
|
|
@@ -389,7 +388,7 @@ export declare function tipedLabel(body: string | Array<SchemaObject>, tip: stri
|
|
|
389
388
|
writingMode?: import("csstype").Property.WritingMode | undefined;
|
|
390
389
|
zIndex?: import("csstype").Property.ZIndex | undefined;
|
|
391
390
|
zoom?: import("csstype").Property.Zoom | undefined;
|
|
392
|
-
all?: import("csstype").
|
|
391
|
+
all?: import("csstype").Property.All | undefined;
|
|
393
392
|
animation?: import("csstype").Property.Animation<string & {}> | undefined;
|
|
394
393
|
animationRange?: import("csstype").Property.AnimationRange<string | number> | undefined;
|
|
395
394
|
background?: import("csstype").Property.Background<string | number> | undefined;
|
package/lib/util.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="lodash" />
|
|
2
1
|
import type { Schema } from 'amis';
|
|
3
2
|
import type { VariableItem } from 'amis-ui';
|
|
4
3
|
import { Diff } from 'deep-diff';
|
|
@@ -76,7 +75,7 @@ export declare const autobind: any;
|
|
|
76
75
|
export declare function addDragingClass(el: HTMLElement): void;
|
|
77
76
|
export declare function removeDragingClass(el: HTMLElement): void;
|
|
78
77
|
export declare function camelize(str: string): string;
|
|
79
|
-
export declare const reactionWithOldValue: <T>(expression: () => T, effect: (newValue: T, oldValue?: T
|
|
78
|
+
export declare const reactionWithOldValue: <T>(expression: () => T, effect: (newValue: T, oldValue?: T) => void) => import("mobx").IReactionDisposer;
|
|
80
79
|
export declare function repeatArray<T>(child: T, count?: number): Array<T>;
|
|
81
80
|
export type DiffChange = Diff<any, any>;
|
|
82
81
|
export declare function diff(left: any, right: any, prefilter?: (currentPath: Array<string>, key: string) => boolean): Array<DiffChange> | undefined;
|
|
@@ -199,6 +198,7 @@ export declare function modalsToDefinitions(modals: Array<EditorModalBody>, defi
|
|
|
199
198
|
export declare function mergeDefinitions(originSchema: any, definitions: any, modal: any): any;
|
|
200
199
|
export declare function setDefaultColSize(regionList: any[], row: number, preRow?: number): any[];
|
|
201
200
|
export declare function getModals(schema: any): (DialogSchema | DrawerSchema)[];
|
|
201
|
+
export declare function collectRefs(schema: any): string[];
|
|
202
202
|
/**
|
|
203
203
|
* 深度 splice 数组,同时返回新的对象,按需拷贝,没有副作用
|
|
204
204
|
* @param target
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "amis-editor-core",
|
|
3
|
-
"version": "6.14.0-beta.
|
|
3
|
+
"version": "6.14.0-beta.11",
|
|
4
4
|
"description": "amis 可视化编辑器",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "esm/index.js",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"stylelint": "^14.11.0",
|
|
110
110
|
"ts-loader": "^9.2.5",
|
|
111
111
|
"tslib": "^2.3.1",
|
|
112
|
-
"typescript": "^
|
|
112
|
+
"typescript": "^5.8.3"
|
|
113
113
|
},
|
|
114
114
|
"peerDependencies": {
|
|
115
115
|
"amis": "*",
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"amis-formula": "*",
|
|
118
118
|
"amis-theme-editor-helper": "*",
|
|
119
119
|
"amis-ui": "*",
|
|
120
|
-
"i18n-runtime": "
|
|
120
|
+
"i18n-runtime": "1.0.10",
|
|
121
121
|
"react": ">=16.8.6",
|
|
122
122
|
"react-dom": ">=16.8.6"
|
|
123
123
|
}
|