@byteluck-fe/model-driven-controls 2.22.4-beta.10 → 2.22.4-beta.12

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.
@@ -25,6 +25,7 @@ declare class TimescopeColumnControlProperty extends ColumnControlProperty {
25
25
  * @public
26
26
  */
27
27
  linkOperationOption: LinkOperationOption;
28
+ isInternational: boolean;
28
29
  constructor(props?: Partial<TimescopeColumnControlProperty>);
29
30
  }
30
31
  export default TimescopeColumnControlProperty;
@@ -25,6 +25,7 @@ declare class TimestampColumnControlProperty extends ColumnControlProperty {
25
25
  * @public
26
26
  */
27
27
  linkOperationOption: LinkOperationOption;
28
+ isInternational: boolean;
28
29
  constructor(props?: Partial<TimestampColumnControlProperty>);
29
30
  }
30
31
  export default TimestampColumnControlProperty;
@@ -10,6 +10,7 @@ declare class DatePickerProperty extends BaseControlProperty {
10
10
  limitDateList: Array<LimitDate>;
11
11
  allowDateRange: string[];
12
12
  filterWeekend: boolean;
13
+ isInternational: boolean;
13
14
  constructor(props?: Partial<DatePickerProperty>);
14
15
  }
15
16
  export default DatePickerProperty;
@@ -74,6 +74,7 @@ declare class DateRangeProperty extends BaseControlProperty {
74
74
  * @public
75
75
  */
76
76
  limitDateList: Array<LimitDate>;
77
+ isInternational: boolean;
77
78
  constructor(props?: Partial<DateRangeProperty>);
78
79
  }
79
80
  export default DateRangeProperty;
@@ -1,4 +1,5 @@
1
1
  import { DesignerAttachmentControl } from '../Attachment';
2
+ import { ImageProperty } from './property';
2
3
  import { Schema, SettingOption } from '@byteluck-fe/model-driven-core';
3
4
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
4
5
  declare class ImageControl extends DesignerAttachmentControl {
@@ -7,6 +8,7 @@ declare class ImageControl extends DesignerAttachmentControl {
7
8
  static get controlType(): string;
8
9
  static controlFieldType: FieldTypes;
9
10
  static readonly setting: SettingOption[];
11
+ props: ImageProperty;
10
12
  constructor(props?: Partial<Schema<'image'>>);
11
13
  }
12
14
  export default ImageControl;
@@ -1,5 +1,8 @@
1
1
  import { AttachmentProperty } from '../Attachment';
2
2
  declare class ImageProperty extends AttachmentProperty {
3
+ compressTypeCode: string;
4
+ compressRatio: number;
5
+ maxPixel: number;
3
6
  constructor(props?: Partial<ImageProperty>);
4
7
  }
5
8
  export default ImageProperty;
@@ -1,7 +1,9 @@
1
1
  import { RuntimeAttachmentControl } from '../Attachment';
2
2
  import { Schema } from '@byteluck-fe/model-driven-core';
3
+ import { ImageProperty } from './property';
3
4
  declare class ImageControl extends RuntimeAttachmentControl {
4
5
  static get controlType(): string;
6
+ props: ImageProperty;
5
7
  constructor(props?: Partial<Schema<'attachment'>>);
6
8
  }
7
9
  export default ImageControl;
@@ -219,3 +219,11 @@ export declare enum InternalType {
219
219
  ALL = "all",
220
220
  ADMIN = "admin"
221
221
  }
222
+ /**
223
+ * 图片压缩类型
224
+ */
225
+ export declare enum ImageCompressType {
226
+ NO_COMPRESS = "0",
227
+ AUTO_COMPRESS = "1",
228
+ CUSTOM_COMPRESS = "2"
229
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-controls",
3
- "version": "2.22.4-beta.10",
3
+ "version": "2.22.4-beta.12",
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-core": "2.22.4-beta.8",
30
- "@byteluck-fe/model-driven-settings": "2.22.4-beta.8",
29
+ "@byteluck-fe/model-driven-core": "2.22.4-beta.12",
30
+ "@byteluck-fe/model-driven-settings": "2.22.4-beta.12",
31
31
  "@byteluck-fe/model-driven-shared": "2.22.4-beta.8",
32
32
  "async-validator": "3.5.1"
33
33
  },
34
- "gitHead": "bc6febffd2fb11d0e4f6d57c610b8744004367ee"
34
+ "gitHead": "58d81789105991712ea3ed8d92d161f5db52f547"
35
35
  }