@byteluck-fe/model-driven-controls 7.0.0-props.112 → 7.0.0-props.114
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/baseControls/LineChart/designer.js +1 -1
- package/dist/esm/formControls/Barcode/designer.js +29 -10
- package/dist/esm/formControls/Barcode/property.js +6 -7
- package/dist/esm/formControls/Barcode/schema.json +19 -8
- package/dist/esm/formControls/QrCode/designer.js +29 -10
- package/dist/esm/formControls/QrCode/property.js +5 -6
- package/dist/esm/formControls/QrCode/schema.json +20 -9
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Barcode/property.d.ts +5 -10
- package/dist/types/formControls/QrCode/property.d.ts +5 -10
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseControlProperty, BaseControlPropertyInterface, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
type BarcodeColor = '#000000' | '#001F3F' | '#004225' | '#4A0404' | '#2F2F2F' | '#1A237E';
|
|
2
3
|
declare class BarcodePropertyRules extends BaseControlPropertyRules {
|
|
3
4
|
constructor(props: BarcodeProperty);
|
|
4
5
|
}
|
|
@@ -31,17 +32,11 @@ interface BarcodePropertyInterface extends BaseControlPropertyInterface {
|
|
|
31
32
|
*/
|
|
32
33
|
codeMargin: number;
|
|
33
34
|
/**
|
|
34
|
-
*
|
|
35
|
-
* @defaultValue '#ffffff'
|
|
36
|
-
* @public
|
|
37
|
-
*/
|
|
38
|
-
backgroundColor: string;
|
|
39
|
-
/**
|
|
40
|
-
* 条码颜色
|
|
35
|
+
* 条码颜色;取值:#000000:纯黑;#001F3F:深海军蓝;#004225:深森林绿;#4A0404:深酒红;#2F2F2F:深炭灰;#1A237E:深靛青;
|
|
41
36
|
* @defaultValue '#000000'
|
|
42
37
|
* @public
|
|
43
38
|
*/
|
|
44
|
-
barcodeColor:
|
|
39
|
+
barcodeColor: BarcodeColor;
|
|
45
40
|
/**
|
|
46
41
|
* 对齐;取值:left:左对齐;center:居中;right:右对齐;
|
|
47
42
|
* @defaultValue 'left'
|
|
@@ -62,11 +57,11 @@ declare class BarcodeProperty extends BaseControlProperty implements BarcodeProp
|
|
|
62
57
|
codeHeight: number;
|
|
63
58
|
codeWidth: number;
|
|
64
59
|
codeMargin: number;
|
|
65
|
-
|
|
66
|
-
barcodeColor: string;
|
|
60
|
+
barcodeColor: BarcodeColor;
|
|
67
61
|
align: 'left' | 'center' | 'right';
|
|
68
62
|
displayValue: boolean;
|
|
69
63
|
constructor(props?: Partial<BarcodeProperty>);
|
|
70
64
|
}
|
|
71
65
|
export default BarcodeProperty;
|
|
66
|
+
export type { BarcodeColor };
|
|
72
67
|
export { BarcodeProperty, BarcodePropertyInterface, BarcodePropertyRules, BarcodePropertyRuntimeRules, };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BaseControlProperty, BaseControlPropertyInterface, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
|
|
2
|
+
type QrColor = '#000000' | '#001F3F' | '#004225' | '#4A0404' | '#2F2F2F' | '#1A237E';
|
|
2
3
|
declare class QrCodePropertyRules extends BaseControlPropertyRules {
|
|
3
4
|
constructor(props: QrCodeProperty);
|
|
4
5
|
}
|
|
@@ -43,17 +44,11 @@ interface QrCodePropertyInterface extends BaseControlPropertyInterface {
|
|
|
43
44
|
*/
|
|
44
45
|
codeMargin: number | '';
|
|
45
46
|
/**
|
|
46
|
-
*
|
|
47
|
-
* @defaultValue '#ffffff'
|
|
48
|
-
* @public
|
|
49
|
-
*/
|
|
50
|
-
backgroundColor: string;
|
|
51
|
-
/**
|
|
52
|
-
* 码点颜色
|
|
47
|
+
* 二维码颜色;取值:#000000:纯黑;#001F3F:深海军蓝;#004225:深森林绿;#4A0404:深酒红;#2F2F2F:深炭灰;#1A237E:深靛青;
|
|
53
48
|
* @defaultValue '#000000'
|
|
54
49
|
* @public
|
|
55
50
|
*/
|
|
56
|
-
qrColor:
|
|
51
|
+
qrColor: QrColor;
|
|
57
52
|
/**
|
|
58
53
|
* 对齐;取值:left:左对齐;center:居中;right:右对齐;
|
|
59
54
|
* @defaultValue 'left'
|
|
@@ -70,10 +65,10 @@ declare class QrCodeProperty extends BaseControlProperty implements QrCodeProper
|
|
|
70
65
|
codeMode: 'qrCode';
|
|
71
66
|
size: number | '';
|
|
72
67
|
codeMargin: number | '';
|
|
73
|
-
|
|
74
|
-
qrColor: string;
|
|
68
|
+
qrColor: QrColor;
|
|
75
69
|
align: 'left' | 'center' | 'right';
|
|
76
70
|
constructor(props?: Partial<QrCodeProperty>);
|
|
77
71
|
}
|
|
78
72
|
export default QrCodeProperty;
|
|
73
|
+
export type { QrColor };
|
|
79
74
|
export { QrCodeProperty, QrCodePropertyInterface, QrCodePropertyRules, QrCodePropertyRuntimeRules, };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-controls",
|
|
3
|
-
"version": "7.0.0-props.
|
|
3
|
+
"version": "7.0.0-props.114",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"@byteluck-fe/model-driven-shared": "7.0.0-props.101",
|
|
32
32
|
"async-validator": "3.5.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "e6c241170b6504d9451021ef75b42dbf92163e2e"
|
|
35
35
|
}
|