@byteluck-fe/model-driven-controls 7.0.0-props.32 → 7.0.0-props.33
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/Link/designer.js +0 -8
- package/dist/esm/baseControls/Link/property.js +9 -10
- package/dist/esm/baseControls/Text/designer.js +1 -1
- package/dist/esm/formControls/Department2/designer.js +0 -4
- package/dist/esm/formControls/Department2/property.js +14 -15
- package/dist/esm/formControls/Employee2/designer.js +0 -4
- package/dist/esm/formControls/Employee2/property.js +12 -13
- package/dist/esm/formControls/RichText/designer.js +2 -8
- package/dist/esm/formControls/RichText/property.js +23 -49
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/Link/property.d.ts +0 -21
- package/dist/types/formControls/Department2/property.d.ts +0 -7
- package/dist/types/formControls/Employee2/property.d.ts +0 -7
- package/dist/types/formControls/RichText/property.d.ts +0 -14
- package/package.json +2 -2
|
@@ -10,12 +10,6 @@ interface LinkPropertyInterface extends PropertyInterface {
|
|
|
10
10
|
* @public
|
|
11
11
|
*/
|
|
12
12
|
content: string;
|
|
13
|
-
/**
|
|
14
|
-
* 描述
|
|
15
|
-
* @defaultValue ''
|
|
16
|
-
* @public
|
|
17
|
-
*/
|
|
18
|
-
description: string;
|
|
19
13
|
/**
|
|
20
14
|
* 链接地址
|
|
21
15
|
* @defaultValue ''
|
|
@@ -34,18 +28,6 @@ interface LinkPropertyInterface extends PropertyInterface {
|
|
|
34
28
|
* @public
|
|
35
29
|
*/
|
|
36
30
|
color: 'primary' | 'danger' | 'warning' | 'success' | 'info' | 'blue';
|
|
37
|
-
/**
|
|
38
|
-
* 脚本类型;取值:dynamic:动态脚本;js:JavaScript;
|
|
39
|
-
* @defaultValue 'js'
|
|
40
|
-
* @public
|
|
41
|
-
*/
|
|
42
|
-
scriptType: 'dynamic' | 'js';
|
|
43
|
-
/**
|
|
44
|
-
* 脚本内容
|
|
45
|
-
* @defaultValue ''
|
|
46
|
-
* @public
|
|
47
|
-
*/
|
|
48
|
-
scriptContent: string;
|
|
49
31
|
/**
|
|
50
32
|
* 打开方式;取值:new:新页面;current:当前;
|
|
51
33
|
* @defaultValue 'new'
|
|
@@ -62,11 +44,8 @@ interface LinkPropertyInterface extends PropertyInterface {
|
|
|
62
44
|
declare class LinkProperty extends Property implements LinkPropertyInterface {
|
|
63
45
|
content: string;
|
|
64
46
|
url: string;
|
|
65
|
-
description: string;
|
|
66
47
|
position: 'left' | 'center' | 'right';
|
|
67
48
|
color: 'primary' | 'danger' | 'warning' | 'success' | 'info' | 'blue';
|
|
68
|
-
scriptType: 'dynamic' | 'js';
|
|
69
|
-
scriptContent: string;
|
|
70
49
|
openMode: 'new' | 'current';
|
|
71
50
|
icon: string;
|
|
72
51
|
constructor(props?: Partial<LinkProperty>);
|
|
@@ -45,12 +45,6 @@ interface Department2PropertyInterface extends BaseControlPropertyInterface {
|
|
|
45
45
|
* @public
|
|
46
46
|
*/
|
|
47
47
|
defaultValue: string[];
|
|
48
|
-
/**
|
|
49
|
-
* 存储值格式;取值:id:仅存储 id;json:存储完整 JSON;
|
|
50
|
-
* @defaultValue 'id'
|
|
51
|
-
* @public
|
|
52
|
-
*/
|
|
53
|
-
valueFormat: 'id' | 'json';
|
|
54
48
|
/**
|
|
55
49
|
* 部门显示层级
|
|
56
50
|
* @defaultValue 1
|
|
@@ -121,7 +115,6 @@ declare class Department2Property extends BaseControlProperty implements Departm
|
|
|
121
115
|
multiple: boolean;
|
|
122
116
|
rangeOptions: string[];
|
|
123
117
|
defaultValue: string[];
|
|
124
|
-
valueFormat: 'id' | 'json';
|
|
125
118
|
displayLevel: number;
|
|
126
119
|
showSubDept: boolean;
|
|
127
120
|
multistageFilling?: MultistageFillingItem[];
|
|
@@ -45,12 +45,6 @@ interface Employee2PropertyInterface extends BaseControlPropertyInterface {
|
|
|
45
45
|
* @public
|
|
46
46
|
*/
|
|
47
47
|
defaultValue: string[];
|
|
48
|
-
/**
|
|
49
|
-
* 存储值格式;取值:id:仅存储 id;json:存储完整 JSON;
|
|
50
|
-
* @defaultValue 'id'
|
|
51
|
-
* @public
|
|
52
|
-
*/
|
|
53
|
-
valueFormat: 'id' | 'json';
|
|
54
48
|
/**
|
|
55
49
|
* 多级填充
|
|
56
50
|
* @defaultValue []
|
|
@@ -115,7 +109,6 @@ declare class Employee2Property extends BaseControlProperty implements Employee2
|
|
|
115
109
|
multiple: boolean;
|
|
116
110
|
defaultValueType: 'none' | 'current' | 'assigned';
|
|
117
111
|
defaultValue: string[];
|
|
118
|
-
valueFormat: 'id' | 'json';
|
|
119
112
|
multistageFilling?: MultistageFillingItem[];
|
|
120
113
|
datasourceBind: SuperDataSourceBind;
|
|
121
114
|
datasourceType: string;
|
|
@@ -26,18 +26,6 @@ interface RichTextPropertyInterface extends BaseControlPropertyInterface {
|
|
|
26
26
|
* @public
|
|
27
27
|
*/
|
|
28
28
|
minLength: number;
|
|
29
|
-
/**
|
|
30
|
-
* 高度
|
|
31
|
-
* @defaultValue 400
|
|
32
|
-
* @public
|
|
33
|
-
*/
|
|
34
|
-
height: number;
|
|
35
|
-
/**
|
|
36
|
-
* 工具栏选项
|
|
37
|
-
* @defaultValue ['undo', 'redo', '|', 'forecolor', 'backcolor', 'bold', 'italic', 'underline', 'strikethrough', 'link', '|', 'alignleft', 'aligncenter', 'alignright', 'alignjustify', 'outdent', 'indent', '|', 'styles', 'fontfamily', 'fontsize', '|', 'bullist', 'numlist', '|', 'blockquote', 'subscript', 'superscript', 'removeformat', '|', 'table', 'image', 'hr', 'preview', '|', 'fullscreen']
|
|
38
|
-
* @public
|
|
39
|
-
*/
|
|
40
|
-
toolbarOptions: Array<string>;
|
|
41
29
|
/**
|
|
42
30
|
* 默认值
|
|
43
31
|
* @defaultValue ''
|
|
@@ -80,8 +68,6 @@ declare class RichTextProperty extends BaseControlProperty implements RichTextPr
|
|
|
80
68
|
static readonly RuntimeRules: typeof RichTextControlPropertyRuntimeRules;
|
|
81
69
|
maxLength: number;
|
|
82
70
|
minLength: number;
|
|
83
|
-
height: number;
|
|
84
|
-
toolbarOptions: Array<string>;
|
|
85
71
|
defaultValue: string;
|
|
86
72
|
aiContentSearch: boolean;
|
|
87
73
|
aiGeneration: boolean;
|
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.33",
|
|
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.32",
|
|
32
32
|
"async-validator": "3.5.1"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "a85d43441ad3ea723eedb55c892df8585c47ad72"
|
|
35
35
|
}
|