@byteluck-fe/model-driven-controls 7.0.0-props.42 → 7.0.0-props.44
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/formControls/Switch/designer.js +4 -4
- package/dist/esm/formControls/Switch/property.js +6 -4
- package/dist/esm/formControls/Switch/runtime.js +1 -1
- package/dist/esm/formControls/Switch/schema.json +12 -14
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Switch/property.d.ts +4 -4
- package/package.json +2 -2
|
@@ -7,11 +7,11 @@ declare class SwitchPropertyRuntimeRules extends BaseControlPropertyRuntimeRules
|
|
|
7
7
|
}
|
|
8
8
|
interface SwitchPropertyInterface extends BaseControlPropertyInterface {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
11
|
-
* @defaultValue
|
|
10
|
+
* 默认值;取值:0:关闭;1:开启;
|
|
11
|
+
* @defaultValue 0
|
|
12
12
|
* @public
|
|
13
13
|
*/
|
|
14
|
-
defaultValue:
|
|
14
|
+
defaultValue: 0 | 1;
|
|
15
15
|
/**
|
|
16
16
|
* 文字展示样式;取值:inside:开关内;outside:开关外;
|
|
17
17
|
* @defaultValue 'inside'
|
|
@@ -58,7 +58,7 @@ interface SwitchPropertyInterface extends BaseControlPropertyInterface {
|
|
|
58
58
|
declare class SwitchProperty extends BaseControlProperty implements SwitchPropertyInterface {
|
|
59
59
|
static readonly Rules: typeof SwitchPropertyRules;
|
|
60
60
|
static readonly RuntimeRules: typeof SwitchPropertyRuntimeRules;
|
|
61
|
-
defaultValue:
|
|
61
|
+
defaultValue: 0 | 1;
|
|
62
62
|
textDisplayStyle: 'inside' | 'outside';
|
|
63
63
|
checkedText: string;
|
|
64
64
|
checkedTextColor: string;
|
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.44",
|
|
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.41",
|
|
32
32
|
"async-validator": "3.5.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "e55936dfa9c6dbf5454f750a4036483853cb5863"
|
|
35
35
|
}
|