@byteluck-fe/model-driven-driven 2.7.0-alpha.3 → 2.7.0-alpha.5

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.
@@ -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[];
@@ -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
  * */
@@ -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",
3
+ "version": "2.7.0-alpha.5",
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.3",
30
- "@byteluck-fe/model-driven-core": "2.7.0-alpha.3",
31
- "@byteluck-fe/model-driven-settings": "2.7.0-alpha.3",
32
- "@byteluck-fe/model-driven-shared": "2.7.0-alpha.2"
29
+ "@byteluck-fe/model-driven-controls": "2.7.0-alpha.5",
30
+ "@byteluck-fe/model-driven-core": "2.7.0-alpha.4",
31
+ "@byteluck-fe/model-driven-settings": "2.7.0-alpha.4",
32
+ "@byteluck-fe/model-driven-shared": "2.7.0-alpha.4"
33
33
  },
34
- "gitHead": "1c24a3e5e91041493740fc4f9a047729ca672b48"
34
+ "gitHead": "04fd61a23d253cc8b53d99f28846fe4e96b10d55"
35
35
  }