@byteluck-fe/model-driven-driven 2.7.0-alpha.2 → 2.7.0-alpha.20
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 +125 -85
- package/dist/esm/Designer.js +125 -70
- package/dist/esm/Driven.js +578 -399
- package/dist/esm/Store.js +155 -99
- package/dist/esm/designerUtils.js +3 -0
- package/dist/esm/utils.js +3 -1
- package/dist/index.umd.js +3 -3
- package/dist/types/Driven.d.ts +4 -4
- package/dist/types/designerUtils.d.ts +1 -0
- package/package.json +6 -6
package/dist/types/Driven.d.ts
CHANGED
|
@@ -93,10 +93,10 @@ declare class Driven extends Watcher<EventKeys> {
|
|
|
93
93
|
generatePermissions: typeof generatePermissions;
|
|
94
94
|
getCustomControlsInUse(): string[];
|
|
95
95
|
assertInstanceIsCustomControl(instance: DesignerControl | string): boolean;
|
|
96
|
-
static register(...arg: Parameters<typeof Designer['register']>): typeof Driven;
|
|
97
|
-
static judgeControlIsRegistered(control: Parameters<typeof Designer['register']>[0]): boolean;
|
|
98
|
-
judgeControlIsRegistered(control: Parameters<typeof Designer['register']>[0]): boolean;
|
|
99
|
-
register(...arg: Parameters<typeof Designer['register']>): this;
|
|
96
|
+
static register(...arg: Parameters<(typeof Designer)['register']>): typeof Driven;
|
|
97
|
+
static judgeControlIsRegistered(control: Parameters<(typeof Designer)['register']>[0]): boolean;
|
|
98
|
+
judgeControlIsRegistered(control: Parameters<(typeof Designer)['register']>[0]): boolean;
|
|
99
|
+
register(...arg: Parameters<(typeof Designer)['register']>): this;
|
|
100
100
|
/**
|
|
101
101
|
* 判断控件的类型,返回当前控件的正确类型
|
|
102
102
|
* */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ControlsKeys, ControlDesignerInstance, DesignerFormControl, DesignerLayoutControl, DesignerControl, DesignerListControl, DesignerSearchControl, DesignerWrapControl } from '@byteluck-fe/model-driven-core';
|
|
2
2
|
export declare function hasChildrenControl(instance: DesignerControl): instance is DesignerLayoutControl | DesignerSearchControl | DesignerWrapControl;
|
|
3
3
|
export declare function hasHeaderControl(instance: DesignerControl): instance is DesignerListControl;
|
|
4
|
+
export declare function hasFooterControl(instance: DesignerControl): instance is DesignerListControl;
|
|
4
5
|
export declare function loopFormControl(control: ControlDesignerInstance<ControlsKeys>[], callback: (item: DesignerFormControl | ControlDesignerInstance<'subtable'>, children?: DesignerFormControl[]) => any): void;
|
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.20",
|
|
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.
|
|
32
|
-
"@byteluck-fe/model-driven-shared": "2.7.0-alpha.
|
|
29
|
+
"@byteluck-fe/model-driven-controls": "2.7.0-alpha.20",
|
|
30
|
+
"@byteluck-fe/model-driven-core": "2.7.0-alpha.20",
|
|
31
|
+
"@byteluck-fe/model-driven-settings": "2.7.0-alpha.20",
|
|
32
|
+
"@byteluck-fe/model-driven-shared": "2.7.0-alpha.17"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "b049f441725f9c0d44e76d427bcf93f3c2653099"
|
|
35
35
|
}
|