@byteluck-fe/model-driven-driven 2.7.0-alpha.17 → 2.7.0-alpha.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/esm/Builder.js +5 -18
- package/dist/esm/Designer.js +37 -141
- package/dist/esm/Driven.js +64 -80
- package/dist/esm/EventLogic.js +1 -1
- package/dist/esm/Store.js +23 -57
- package/dist/esm/constants.js +8 -8
- package/dist/esm/designerUtils.js +7 -6
- package/dist/esm/index.js +6 -6
- package/dist/esm/utils.js +75 -176
- package/dist/index.umd.js +3 -3
- package/dist/types/Driven.d.ts +2 -2
- package/dist/types/Store.d.ts +1 -1
- package/package.json +5 -5
package/dist/types/Driven.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ import { Plugin } from './Plugin';
|
|
|
6
6
|
import { DesignerControl, ControlDesignerInstance, ControlsKeys, Schema, DeepPartial, Messages, BeforeCreateInstance } from '@byteluck-fe/model-driven-core';
|
|
7
7
|
import { generatePermissions, getModelBindInfoList, toSchema } from './utils';
|
|
8
8
|
import { Settings } from '@byteluck-fe/model-driven-settings';
|
|
9
|
-
type EventKeys = 'before-validate' | 'validated' | 'updated' | 'joined' | 'moved' | 'removed' | 'select' | 'field-changed';
|
|
10
|
-
type SchemaBaseType = Schema<ControlsKeys>;
|
|
9
|
+
declare type EventKeys = 'before-validate' | 'validated' | 'updated' | 'joined' | 'moved' | 'removed' | 'select' | 'field-changed';
|
|
10
|
+
declare type SchemaBaseType = Schema<ControlsKeys>;
|
|
11
11
|
interface DrivenOptions {
|
|
12
12
|
autoMount?: boolean;
|
|
13
13
|
plugins?: Plugin[];
|
package/dist/types/Store.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export interface StoreOptions {
|
|
|
5
5
|
instance: DesignerControl[];
|
|
6
6
|
getParentBeforeInstanceMove?: (instance: DesignerControl) => DesignerControl | null;
|
|
7
7
|
}
|
|
8
|
-
type DataScopeControl = ControlDesignerInstance<'data-view' | 'subtable' | 'list-view'> | null;
|
|
8
|
+
declare type DataScopeControl = ControlDesignerInstance<'data-view' | 'subtable' | 'list-view'> | null;
|
|
9
9
|
export declare class Store {
|
|
10
10
|
/**
|
|
11
11
|
* 页面控件实例树
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-driven",
|
|
3
|
-
"version": "2.7.0-alpha.
|
|
3
|
+
"version": "2.7.0-alpha.19",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"postpublish": "node ../../scripts/postpublish.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@byteluck-fe/model-driven-controls": "2.7.0-alpha.
|
|
30
|
-
"@byteluck-fe/model-driven-core": "2.7.0-alpha.
|
|
31
|
-
"@byteluck-fe/model-driven-settings": "2.7.0-alpha.
|
|
29
|
+
"@byteluck-fe/model-driven-controls": "2.7.0-alpha.19",
|
|
30
|
+
"@byteluck-fe/model-driven-core": "2.7.0-alpha.18",
|
|
31
|
+
"@byteluck-fe/model-driven-settings": "2.7.0-alpha.18",
|
|
32
32
|
"@byteluck-fe/model-driven-shared": "2.7.0-alpha.17"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "e0d267a310da16dba5481d162b45c6b7e0534e2a"
|
|
35
35
|
}
|