@byteluck-fe/model-driven-core 2.7.0-beta.4 → 2.8.0-alpha.1a

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.
@@ -23,6 +23,12 @@ export declare class DataBind {
23
23
  * @public
24
24
  */
25
25
  fieldType: string;
26
+ /**
27
+ * 表别名
28
+ * @defaultValue undefined
29
+ * @public
30
+ */
31
+ aliasCode?: string;
26
32
  constructor(props?: Partial<DataBind>);
27
33
  }
28
34
  export declare class AutoWidth {
@@ -193,6 +199,15 @@ export declare class FieldFilterCondition {
193
199
  rightVariableBo: RightVariable;
194
200
  constructor(props?: Partial<FieldFilterCondition>);
195
201
  }
202
+ export declare class JoinRelation {
203
+ aliasCode: string;
204
+ datasourceBind: DataSourceBind;
205
+ relationFields: {
206
+ main_field_code: string;
207
+ join_field_code: string;
208
+ }[];
209
+ constructor(props?: Partial<JoinRelation>);
210
+ }
196
211
  /**
197
212
  * 数据填充项
198
213
  * @public
@@ -379,6 +394,7 @@ export declare class LinkOperationOption {
379
394
  confirmMessage: undefined;
380
395
  defaultState: string;
381
396
  formKey: undefined | string;
397
+ formType?: string;
382
398
  icon: string;
383
399
  needConfirm: boolean;
384
400
  openType: string;
@@ -580,7 +596,7 @@ export declare class RangeDataBind extends ObjectDataBind {
580
596
  * 结束日期字段绑定项
581
597
  */
582
598
  max: DataBind;
583
- constructor(props?: Partial<AmountDataBind>);
599
+ constructor(props?: Partial<RangeDataBind>);
584
600
  }
585
601
  /**
586
602
  * 日期区间值
@@ -732,7 +748,6 @@ export declare enum COMMON_SETTING_TYPE {
732
748
  VIEW_FORM_MODEL_TYPE = "viewFormModelType",
733
749
  SERVER_PAGINATION = "serverPagination",
734
750
  IS_SHOW_CAPTION_TIP = "isShowCaptionTip",
735
- IS_SHOW_WATERMARK = "isShowWatermark",
736
751
  ENCRYPTED = "encrypted",
737
752
  IS_INLINE_EDIT = "isInlineEdit",
738
753
  REVISIONS_MODE = "revisionsMode",
@@ -812,3 +827,18 @@ export declare class BaseStyle {
812
827
  heightConfig: 'px' | '%' | 'fill' | 'hug';
813
828
  constructor(props?: Partial<BaseStyle>);
814
829
  }
830
+ export declare class OptObject {
831
+ /**
832
+ * 操作项编码
833
+ * @defaultValue ''
834
+ * @public
835
+ */
836
+ optCode: string;
837
+ /**
838
+ * 操作项类型
839
+ * @defaultValue ''
840
+ * @public
841
+ */
842
+ optType: string;
843
+ constructor(props?: Partial<OptObject>);
844
+ }
@@ -0,0 +1,2 @@
1
+ import { DataBind, ObjectDataBind } from "framework";
2
+ export declare function isDataBind(dataBind: DataBind | ObjectDataBind): boolean;
@@ -1,3 +1,4 @@
1
1
  export * from './common';
2
2
  export * from './framework';
3
3
  export * from './type';
4
+ export * from './framework/isDataBind';
@@ -85,7 +85,7 @@ export interface WrapControlSchema<K extends WrapControlsKeys, T extends WrapCon
85
85
  controlType: 'wrap';
86
86
  children: R[];
87
87
  }
88
- export type Schema<K extends ControlsKeys, T extends Property = InstanceType<Controls[K]['Property']>> = K extends FormControlsKeys ? FormControlSchema<K, T extends BaseControlProperty ? T : BaseControlProperty> : K extends LayoutControlsKeys ? LayoutControlSchema<K, T extends LayoutControlProperty ? T : LayoutControlProperty> : K extends ListControlsKeys ? ListControlSchema<K, T extends ListControlProperty<any> ? T : ListControlProperty<any>> : K extends ColumnControlsKeys ? ColumnControlSchema<K, T extends ColumnControlProperty ? T : ColumnControlProperty> : K extends SearchControlsKeys ? SearchControlSchema<K, T extends SearchControlProperty ? T : SearchControlProperty> : K extends BaseControlsKeys ? BaseControlSchema<K, T extends Property ? T : Property> : BaseControlSchema<K, T extends Property ? T : Property>;
88
+ export type Schema<K extends ControlsKeys, T extends Property = InstanceType<Controls[K]['Property']>> = K extends FormControlsKeys ? FormControlSchema<K, T extends BaseControlProperty ? T : BaseControlProperty> : K extends LayoutControlsKeys ? LayoutControlSchema<K, T extends LayoutControlProperty ? T : LayoutControlProperty> : K extends ListControlsKeys ? ListControlSchema<K, T extends ListControlProperty<any> ? T : ListControlProperty<any>> : K extends ColumnControlsKeys ? ColumnControlSchema<K, T extends ColumnControlProperty ? T : ColumnControlProperty> : K extends SearchControlsKeys ? SearchControlSchema<K, T extends SearchControlProperty ? T : SearchControlProperty> : K extends WrapControlsKeys ? WrapControlSchema<K, T extends WrapControlProperty ? T : WrapControlProperty> : K extends BaseControlsKeys ? BaseControlSchema<K, T extends Property ? T : Property> : BaseControlSchema<K, T extends Property ? T : Property>;
89
89
  export type DeepPartial<T> = {
90
90
  [P in keyof T]?: DeepPartial<T[P]>;
91
91
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-core",
3
- "version": "2.7.0-beta.4",
3
+ "version": "2.8.0-alpha.1a",
4
4
  "description": "model engine core",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -26,9 +26,9 @@
26
26
  "postpublish": "node ../../scripts/postpublish.js"
27
27
  },
28
28
  "dependencies": {
29
- "@byteluck-fe/model-driven-shared": "2.7.0-beta.4",
29
+ "@byteluck-fe/model-driven-shared": "2.7.0-alpha.38a",
30
30
  "async-validator": "3.5.1",
31
31
  "tslib": "^2.1.0"
32
32
  },
33
- "gitHead": "1bf9f693724f41f144a37e4f81f2c06dfe2069de"
33
+ "gitHead": "94f33265fbf14e4859f865af60018c9ec820550d"
34
34
  }