@byteluck-fe/model-driven-core 3.0.0-beta.5 → 4.34.0-lx2

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.
@@ -37,18 +37,6 @@ export declare class AutoWidth {
37
37
  flex: number;
38
38
  constructor(props?: Partial<AutoWidth>);
39
39
  }
40
- export declare class RowHeight {
41
- rowHeightType: 'auto' | 'fixed';
42
- minRows: number;
43
- maxRows?: number;
44
- fiexdRow: number;
45
- constructor(props?: Partial<RowHeight>);
46
- }
47
- export declare class MetaRowHeight {
48
- pc: RowHeight;
49
- mobile: RowHeight;
50
- constructor(props?: Partial<MetaRowHeight>);
51
- }
52
40
  export declare class MetaWidth extends AutoWidth {
53
41
  width: number;
54
42
  widthType: 'px' | 'auto';
@@ -111,7 +99,7 @@ export declare class ListBind {
111
99
  export declare class FieldBindItem {
112
100
  fieldName: string;
113
101
  fieldCode: string;
114
- fieldType: string;
102
+ fieldType: FieldTypes;
115
103
  constructor(props?: Partial<FieldBindItem>);
116
104
  }
117
105
  export declare class SubListItem extends FormBind {
@@ -271,20 +259,9 @@ export declare class DisplayBoListItem {
271
259
  /**
272
260
  * 字段数据类型
273
261
  */
274
- fieldType?: string;
262
+ fieldType?: FieldTypes;
275
263
  constructor(props?: Partial<DisplayBoListItem>);
276
264
  }
277
- export declare class OptionDisplayConfigItem {
278
- /**
279
- * 标题
280
- */
281
- title: string;
282
- /**
283
- * 字段数据类型
284
- */
285
- displayBoList: DisplayBoListItem[];
286
- constructor(props?: Partial<OptionDisplayConfigItem>);
287
- }
288
265
  /**
289
266
  * 数据源排序项
290
267
  * @public
@@ -390,18 +367,6 @@ export declare class DataSourceBind {
390
367
  * @public
391
368
  */
392
369
  showOrder?: boolean;
393
- /**
394
- * 部门或者人员指定部门配置
395
- * @defaultValue {}
396
- * @public
397
- */
398
- assignDepartment?: RightVariable;
399
- /**
400
- * 部门或者人员指定部门配置是否开启
401
- * @defaultValue {}
402
- * @public
403
- */
404
- openAssignDepartment?: boolean;
405
370
  constructor(props?: Partial<DataSourceBind>);
406
371
  }
407
372
  export declare class SelectedContentConfig {
@@ -576,14 +541,8 @@ export declare class ImageOptionSetting extends OptionSetting {
576
541
  type: 'attachment' | 'src';
577
542
  constructor(props?: Partial<ImageOptionSetting>);
578
543
  }
579
- export declare class AiOptionSetting extends OptionSetting {
580
- cueWord: string;
581
- checked: boolean;
582
- constructor(props?: Partial<AiOptionSetting>);
583
- }
584
544
  export declare function initOptions(options?: Partial<OptionSetting>[]): OptionSetting[];
585
545
  export declare function initImageOptions(options?: Partial<ImageOptionSetting>[]): ImageOptionSetting[];
586
- export declare function initAiOptions(options?: Partial<AiOptionSetting>[]): AiOptionSetting[];
587
546
  /**
588
547
  * 对象类型数据绑定配置
589
548
  * @public
@@ -797,10 +756,12 @@ export declare enum COMMON_SETTING_TYPE {
797
756
  REVISIONS_MODE = "revisionsMode",
798
757
  ALLOW_COPY_OPTIONS = "allowCopyOptions",
799
758
  IS_PASTE = "isPaste",
800
- SORTABLE = "sortable",
801
- IS_SHOW_SIMPLE_SEARCH = "isShowSimpleSearch",
802
- IS_SHOW_TOOL_BAE = "isShowToolbar",
803
- MAIN_DEPT_FLAG = "mainDeptFlag"
759
+ CAPTION_SIZE = "captionSize",
760
+ CAPTION_COLOR = "captionColor",
761
+ IS_CAPTION_ITALIC = "isCaptionItalic",
762
+ ONLY_ALLOW_TAKE_PHOTO = "onlyAllowTakePhoto",
763
+ FORBID_DOWNLOAD = "forbidDownload",
764
+ ACCESS_CONTROL = "accessControl"
804
765
  }
805
766
  export declare enum PAGE_STATUS {
806
767
  UNKNOWN = 0,
@@ -903,17 +864,6 @@ export declare class RowStyleRule {
903
864
  * @public
904
865
  */
905
866
  name: string;
906
- settings: RowStyleSettings[];
907
- /**
908
- * 过滤条件
909
- * @defaultValue []
910
- * @public
911
- */
912
- filters?: Array<FieldFilterCondition | FieldFilterConditions>;
913
- script?: string;
914
- constructor(props?: Partial<RowStyleRule>);
915
- }
916
- export declare class RowStyleSettings {
917
867
  /**
918
868
  * 颜色值。theme:跟随主题色;#4c78fc:具体颜色值
919
869
  * @defaultValue 'theme'
@@ -921,24 +871,16 @@ export declare class RowStyleSettings {
921
871
  */
922
872
  color: string;
923
873
  /**
924
- * 生效列字段
925
- */
926
- fieldCodes: string[];
927
- /**
928
- * 样式类型,background单元格背景色,fontColor单元格字体色
929
- */
930
- type: 'background' | 'fontColor';
931
- /**
932
- * 作用范围,row整行,col整列
874
+ * 过滤条件
875
+ * @defaultValue []
876
+ * @public
933
877
  */
934
- scope: 'row' | 'col';
935
- constructor(props: Partial<RowStyleSettings>);
878
+ filters?: Array<FieldFilterCondition | FieldFilterConditions>;
879
+ constructor(props?: Partial<RowStyleRule>);
936
880
  }
937
- export declare class RowStyle {
938
- type: 'none' | 'interval' | 'rules';
939
- interval: {
940
- color?: string;
941
- };
942
- rules: RowStyleRule[];
943
- constructor(props?: Partial<RowStyle>);
881
+ export declare class RowStyleRuleScript {
882
+ id: string;
883
+ script: string;
884
+ color: string;
885
+ constructor(props: Partial<RowStyleRuleScript>);
944
886
  }
@@ -1,2 +1,2 @@
1
- import { DataBind, ObjectDataBind } from 'framework';
1
+ import { DataBind, ObjectDataBind } from "framework";
2
2
  export declare function isDataBind(dataBind: DataBind | ObjectDataBind): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-core",
3
- "version": "3.0.0-beta.5",
3
+ "version": "4.34.0-lx2",
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": "3.0.0-beta.5",
29
+ "@byteluck-fe/model-driven-shared": "2.9.1-beta.1",
30
30
  "async-validator": "3.5.1",
31
31
  "tslib": "^2.1.0"
32
32
  },
33
- "gitHead": "dc66087ea6236693a8b08e81c417184fa60a2f90"
33
+ "gitHead": "bf17e674d3b4fb23082dd6b8522666ca8759d000"
34
34
  }