@byteluck-fe/model-driven-controls 2.22.4-beta.10 → 2.22.4-beta.13
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/columnControls/TimescopeColumn/property.js +4 -1
- package/dist/esm/columnControls/TimestampColumn/property.js +4 -1
- package/dist/esm/formControls/DatePicker/designer.js +2 -1
- package/dist/esm/formControls/DatePicker/property.js +3 -0
- package/dist/esm/formControls/DateRange/designer.js +2 -1
- package/dist/esm/formControls/DateRange/property.js +4 -1
- package/dist/esm/formControls/Image/designer.js +7 -7
- package/dist/esm/formControls/Image/property.js +36 -2
- package/dist/esm/formControls/Image/runtime.js +16 -10
- package/dist/esm/framework.js +8 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +1 -0
- package/dist/types/columnControls/TimestampColumn/property.d.ts +1 -0
- package/dist/types/formControls/DatePicker/property.d.ts +1 -0
- package/dist/types/formControls/DateRange/property.d.ts +1 -0
- package/dist/types/formControls/Image/designer.d.ts +2 -0
- package/dist/types/formControls/Image/property.d.ts +3 -0
- package/dist/types/formControls/Image/runtime.d.ts +2 -0
- package/dist/types/framework.d.ts +8 -0
- package/package.json +4 -4
|
@@ -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;
|
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-controls",
|
|
3
|
-
"version": "2.22.4-beta.
|
|
3
|
+
"version": "2.22.4-beta.13",
|
|
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.
|
|
30
|
-
"@byteluck-fe/model-driven-settings": "2.22.4-beta.
|
|
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": "
|
|
34
|
+
"gitHead": "fc464ead689844e379892ece94afb32f3df05f2f"
|
|
35
35
|
}
|