@byteluck-fe/model-driven-controls 2.22.2-beta.7 → 2.22.2-beta.8
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/Text/property.js +2 -1
- package/dist/esm/columnControls/FileColumn/designer.js +6 -6
- package/dist/esm/formControls/Address/property.js +11 -11
- package/dist/esm/formControls/DateRange/property.js +45 -45
- package/dist/esm/formControls/Department/property.js +18 -18
- package/dist/esm/formControls/Department2/property.js +22 -22
- package/dist/esm/formControls/Employee/property.js +2 -2
- package/dist/esm/formControls/Employee2/property.js +2 -2
- package/dist/esm/formControls/Image/designer.js +6 -6
- package/dist/esm/formControls/OrganizationSelection/property.js +25 -25
- package/dist/esm/formControls/Select/property.js +12 -12
- package/dist/esm/formControls/SelectMultiple/property.js +12 -12
- package/dist/esm/formControls/SelectRelation/property.js +41 -41
- package/dist/esm/formControls/WPS/designer.js +7 -7
- package/dist/esm/framework.js +24 -24
- package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +6 -6
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +6 -6
- package/dist/index.umd.js +22 -22
- package/package.json +5 -5
|
@@ -83,6 +83,7 @@ function _create_super(Derived) {
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
import { Property } from '@byteluck-fe/model-driven-core';
|
|
86
|
+
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
86
87
|
var TextProperty = /*#__PURE__*/ function(Property) {
|
|
87
88
|
"use strict";
|
|
88
89
|
_inherits(TextProperty, Property);
|
|
@@ -108,7 +109,7 @@ var TextProperty = /*#__PURE__*/ function(Property) {
|
|
|
108
109
|
var _props_showState;
|
|
109
110
|
_this.showState = (_props_showState = props === null || props === void 0 ? void 0 : props.showState) !== null && _props_showState !== void 0 ? _props_showState : 'text';
|
|
110
111
|
var _props_content;
|
|
111
|
-
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '
|
|
112
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : RulesMessage.getMessage('text');
|
|
112
113
|
var _props_align;
|
|
113
114
|
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
|
|
114
115
|
return _this;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Description:
|
|
3
|
-
* @Autor: SuperLucky-Q
|
|
4
|
-
* @Date: 2022-12-15 10:48:27
|
|
5
|
-
* @LastEditors: SuperLucky-Q
|
|
6
|
-
* @LastEditTime: 2022-12-15 15:08:08
|
|
1
|
+
/*
|
|
2
|
+
* @Description:
|
|
3
|
+
* @Autor: SuperLucky-Q
|
|
4
|
+
* @Date: 2022-12-15 10:48:27
|
|
5
|
+
* @LastEditors: SuperLucky-Q
|
|
6
|
+
* @LastEditTime: 2022-12-15 15:08:08
|
|
7
7
|
*/ function _assert_this_initialized(self) {
|
|
8
8
|
if (self === void 0) {
|
|
9
9
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -127,9 +127,9 @@ var AddressControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPrope
|
|
|
127
127
|
}
|
|
128
128
|
return AddressControlPropertyRuntimeRules;
|
|
129
129
|
}(BaseControlPropertyRuntimeRules);
|
|
130
|
-
/**
|
|
131
|
-
* Address 地址
|
|
132
|
-
* @public
|
|
130
|
+
/**
|
|
131
|
+
* Address 地址
|
|
132
|
+
* @public
|
|
133
133
|
*/ var AddressProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
134
134
|
"use strict";
|
|
135
135
|
_inherits(AddressProperty, BaseControlProperty);
|
|
@@ -138,16 +138,16 @@ var AddressControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPrope
|
|
|
138
138
|
_class_call_check(this, AddressProperty);
|
|
139
139
|
var _this;
|
|
140
140
|
_this = _super.call(this, props);
|
|
141
|
-
/**
|
|
142
|
-
* 默认值类型 default固定地址 current当前定位
|
|
143
|
-
* @defaultValue 'default'
|
|
141
|
+
/**
|
|
142
|
+
* 默认值类型 default固定地址 current当前定位
|
|
143
|
+
* @defaultValue 'default'
|
|
144
144
|
*/ _define_property(_assert_this_initialized(_this), "defaultValueType", void 0);
|
|
145
|
-
/**
|
|
146
|
-
* 默认值
|
|
145
|
+
/**
|
|
146
|
+
* 默认值
|
|
147
147
|
*/ _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
|
|
148
|
-
/**
|
|
149
|
-
* 地址类型
|
|
150
|
-
* @defaultValue ['province', 'city', 'district']
|
|
148
|
+
/**
|
|
149
|
+
* 地址类型
|
|
150
|
+
* @defaultValue ['province', 'city', 'district']
|
|
151
151
|
*/ _define_property(_assert_this_initialized(_this), "addressType", void 0);
|
|
152
152
|
var _props_caption;
|
|
153
153
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AddressControl.controlName;
|
|
@@ -118,9 +118,9 @@ var DateRangePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRu
|
|
|
118
118
|
}
|
|
119
119
|
return DateRangePropertyRuntimeRules;
|
|
120
120
|
}(BaseControlPropertyRuntimeRules);
|
|
121
|
-
/**
|
|
122
|
-
* DateRange 日期区间
|
|
123
|
-
* @public
|
|
121
|
+
/**
|
|
122
|
+
* DateRange 日期区间
|
|
123
|
+
* @public
|
|
124
124
|
*/ var DateRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
125
125
|
"use strict";
|
|
126
126
|
_inherits(DateRangeProperty, BaseControlProperty);
|
|
@@ -130,58 +130,58 @@ var DateRangePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRu
|
|
|
130
130
|
var _this;
|
|
131
131
|
var _props_limitDateList;
|
|
132
132
|
_this = _super.call(this, props);
|
|
133
|
-
/**
|
|
134
|
-
* 数据绑定项
|
|
133
|
+
/**
|
|
134
|
+
* 数据绑定项
|
|
135
135
|
*/ _define_property(_assert_this_initialized(_this), "dataBind", void 0);
|
|
136
|
-
/**
|
|
137
|
-
* 开始日期
|
|
138
|
-
* @public
|
|
139
|
-
* @defaultValue ''
|
|
136
|
+
/**
|
|
137
|
+
* 开始日期
|
|
138
|
+
* @public
|
|
139
|
+
* @defaultValue ''
|
|
140
140
|
*/ _define_property(_assert_this_initialized(_this), "rangeMin", void 0);
|
|
141
|
-
/**
|
|
142
|
-
* 结束日期
|
|
143
|
-
* @public
|
|
144
|
-
* @defaultValue ''
|
|
141
|
+
/**
|
|
142
|
+
* 结束日期
|
|
143
|
+
* @public
|
|
144
|
+
* @defaultValue ''
|
|
145
145
|
*/ _define_property(_assert_this_initialized(_this), "rangeMax", void 0);
|
|
146
|
-
/**
|
|
147
|
-
* 日期区间开始的提示文字
|
|
148
|
-
* @defaultValue ''
|
|
149
|
-
* @public
|
|
146
|
+
/**
|
|
147
|
+
* 日期区间开始的提示文字
|
|
148
|
+
* @defaultValue ''
|
|
149
|
+
* @public
|
|
150
150
|
*/ _define_property(_assert_this_initialized(_this), "placeholderStart", void 0);
|
|
151
|
-
/**
|
|
152
|
-
* 日期区结束的提示文字
|
|
153
|
-
* @defaultValue ''
|
|
154
|
-
* @public
|
|
151
|
+
/**
|
|
152
|
+
* 日期区结束的提示文字
|
|
153
|
+
* @defaultValue ''
|
|
154
|
+
* @public
|
|
155
155
|
*/ _define_property(_assert_this_initialized(_this), "placeholderEnd", void 0);
|
|
156
|
-
/**
|
|
157
|
-
* 日期格式化字符串
|
|
158
|
-
* @defaultValue ''
|
|
159
|
-
* @public
|
|
156
|
+
/**
|
|
157
|
+
* 日期格式化字符串
|
|
158
|
+
* @defaultValue ''
|
|
159
|
+
* @public
|
|
160
160
|
*/ _define_property(_assert_this_initialized(_this), "dateFormat", void 0);
|
|
161
|
-
/**
|
|
162
|
-
* 常用时间配置
|
|
163
|
-
* @defaultValue ''
|
|
164
|
-
* @public
|
|
161
|
+
/**
|
|
162
|
+
* 常用时间配置
|
|
163
|
+
* @defaultValue ''
|
|
164
|
+
* @public
|
|
165
165
|
*/ _define_property(_assert_this_initialized(_this), "commonTimeSetting", void 0);
|
|
166
|
-
/**
|
|
167
|
-
* 日期格式 date,datetime
|
|
168
|
-
* @defaultValue 'date'
|
|
169
|
-
* @public
|
|
166
|
+
/**
|
|
167
|
+
* 日期格式 date,datetime
|
|
168
|
+
* @defaultValue 'date'
|
|
169
|
+
* @public
|
|
170
170
|
*/ _define_property(_assert_this_initialized(_this), "dateType", void 0);
|
|
171
|
-
/**
|
|
172
|
-
* 日期默认值设置方式custom,now
|
|
173
|
-
* @defaultValue 'custom'
|
|
174
|
-
* @public
|
|
171
|
+
/**
|
|
172
|
+
* 日期默认值设置方式custom,now
|
|
173
|
+
* @defaultValue 'custom'
|
|
174
|
+
* @public
|
|
175
175
|
*/ _define_property(_assert_this_initialized(_this), "setValueType", void 0);
|
|
176
|
-
/**
|
|
177
|
-
* 默认值
|
|
178
|
-
* @defaultValue ''
|
|
179
|
-
* @public
|
|
176
|
+
/**
|
|
177
|
+
* 默认值
|
|
178
|
+
* @defaultValue ''
|
|
179
|
+
* @public
|
|
180
180
|
*/ _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
|
|
181
|
-
/**
|
|
182
|
-
* 日期限制范围
|
|
183
|
-
* @defaultValue []
|
|
184
|
-
* @public
|
|
181
|
+
/**
|
|
182
|
+
* 日期限制范围
|
|
183
|
+
* @defaultValue []
|
|
184
|
+
* @public
|
|
185
185
|
*/ _define_property(_assert_this_initialized(_this), "limitDateList", void 0);
|
|
186
186
|
_this.dataBind = new RangeDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
|
|
187
187
|
_this.defaultValue = new RangeDateValue(props === null || props === void 0 ? void 0 : props.defaultValue);
|
|
@@ -108,32 +108,32 @@ var DepartmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
108
108
|
_class_call_check(this, DepartmentProperty);
|
|
109
109
|
var _this;
|
|
110
110
|
_this = _super.call(this, props);
|
|
111
|
-
/**
|
|
112
|
-
* 展示类型: 默认形式 / 树状部门
|
|
111
|
+
/**
|
|
112
|
+
* 展示类型: 默认形式 / 树状部门
|
|
113
113
|
* */ _define_property(_assert_this_initialized(_this), "showType", void 0);
|
|
114
|
-
/**
|
|
115
|
-
* 部门范围: 所有部门 / 指定部门
|
|
114
|
+
/**
|
|
115
|
+
* 部门范围: 所有部门 / 指定部门
|
|
116
116
|
* */ _define_property(_assert_this_initialized(_this), "range", void 0);
|
|
117
|
-
/**
|
|
118
|
-
* 默认值类型:发起人部门/ 指定部门 /无
|
|
117
|
+
/**
|
|
118
|
+
* 默认值类型:发起人部门/ 指定部门 /无
|
|
119
119
|
*/ _define_property(_assert_this_initialized(_this), "defaultValueType", void 0);
|
|
120
|
-
/**
|
|
121
|
-
* 部门多选
|
|
120
|
+
/**
|
|
121
|
+
* 部门多选
|
|
122
122
|
* */ _define_property(_assert_this_initialized(_this), "multiple", void 0);
|
|
123
|
-
/**
|
|
124
|
-
* 指定部门范围
|
|
123
|
+
/**
|
|
124
|
+
* 指定部门范围
|
|
125
125
|
* */ _define_property(_assert_this_initialized(_this), "rangeOptions", void 0);
|
|
126
|
-
/**
|
|
127
|
-
* 默认值
|
|
126
|
+
/**
|
|
127
|
+
* 默认值
|
|
128
128
|
* */ _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
|
|
129
|
-
/**
|
|
130
|
-
* 部门显示层级
|
|
129
|
+
/**
|
|
130
|
+
* 部门显示层级
|
|
131
131
|
* */ _define_property(_assert_this_initialized(_this), "displayLevel", void 0);
|
|
132
|
-
/**
|
|
133
|
-
* 是否展示子部门
|
|
132
|
+
/**
|
|
133
|
+
* 是否展示子部门
|
|
134
134
|
* */ _define_property(_assert_this_initialized(_this), "showSubDept", void 0);
|
|
135
|
-
/**
|
|
136
|
-
* 多级填充
|
|
135
|
+
/**
|
|
136
|
+
* 多级填充
|
|
137
137
|
* */ _define_property(_assert_this_initialized(_this), "multistageFilling", void 0);
|
|
138
138
|
_define_property(_assert_this_initialized(_this), "openMultistageFilling", void 0 //是否开启填充
|
|
139
139
|
);
|
|
@@ -138,38 +138,38 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
138
138
|
_class_call_check(this, Department2Property);
|
|
139
139
|
var _this;
|
|
140
140
|
_this = _super.call(this, props);
|
|
141
|
-
/**
|
|
142
|
-
* 展示类型: 默认形式 / 树状部门
|
|
141
|
+
/**
|
|
142
|
+
* 展示类型: 默认形式 / 树状部门
|
|
143
143
|
* */ _define_property(_assert_this_initialized(_this), "showType", void 0);
|
|
144
|
-
/**
|
|
145
|
-
* 部门范围: 所有部门 / 指定部门
|
|
144
|
+
/**
|
|
145
|
+
* 部门范围: 所有部门 / 指定部门
|
|
146
146
|
* */ _define_property(_assert_this_initialized(_this), "range", void 0);
|
|
147
|
-
/**
|
|
148
|
-
* 默认值类型:发起人部门/ 指定部门 /无
|
|
147
|
+
/**
|
|
148
|
+
* 默认值类型:发起人部门/ 指定部门 /无
|
|
149
149
|
*/ _define_property(_assert_this_initialized(_this), "defaultValueType", void 0);
|
|
150
|
-
/**
|
|
151
|
-
* 部门多选
|
|
150
|
+
/**
|
|
151
|
+
* 部门多选
|
|
152
152
|
* */ _define_property(_assert_this_initialized(_this), "multiple", void 0);
|
|
153
|
-
/**
|
|
154
|
-
* 指定部门范围
|
|
153
|
+
/**
|
|
154
|
+
* 指定部门范围
|
|
155
155
|
* */ _define_property(_assert_this_initialized(_this), "rangeOptions", void 0);
|
|
156
|
-
/**
|
|
157
|
-
* 默认值
|
|
156
|
+
/**
|
|
157
|
+
* 默认值
|
|
158
158
|
* */ _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
|
|
159
|
-
/**
|
|
160
|
-
* 部门显示层级
|
|
159
|
+
/**
|
|
160
|
+
* 部门显示层级
|
|
161
161
|
* */ _define_property(_assert_this_initialized(_this), "displayLevel", void 0);
|
|
162
|
-
/**
|
|
163
|
-
* 是否展示子部门
|
|
162
|
+
/**
|
|
163
|
+
* 是否展示子部门
|
|
164
164
|
* */ _define_property(_assert_this_initialized(_this), "showSubDept", void 0);
|
|
165
|
-
/**
|
|
166
|
-
* 多级填充
|
|
165
|
+
/**
|
|
166
|
+
* 多级填充
|
|
167
167
|
* */ _define_property(_assert_this_initialized(_this), "multistageFilling", void 0);
|
|
168
|
-
/**
|
|
169
|
-
* 数据设置
|
|
168
|
+
/**
|
|
169
|
+
* 数据设置
|
|
170
170
|
* */ _define_property(_assert_this_initialized(_this), "datasourceBind", void 0);
|
|
171
|
-
/**
|
|
172
|
-
* 数据类型 行政 or 业务
|
|
171
|
+
/**
|
|
172
|
+
* 数据类型 行政 or 业务
|
|
173
173
|
* */ _define_property(_assert_this_initialized(_this), "datasourceType", void 0 //数据类型 行政 'administration'| 业务 'business'
|
|
174
174
|
);
|
|
175
175
|
_define_property(_assert_this_initialized(_this), "businessType", void 0 //业务部门类型 'all' | 'assign'
|
|
@@ -108,8 +108,8 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
108
108
|
_class_call_check(this, EmployeeProperty);
|
|
109
109
|
var _this;
|
|
110
110
|
_this = _super.call(this, props);
|
|
111
|
-
/**
|
|
112
|
-
* 展示类型: 默认形式 / 树状人员
|
|
111
|
+
/**
|
|
112
|
+
* 展示类型: 默认形式 / 树状人员
|
|
113
113
|
* */ _define_property(_assert_this_initialized(_this), "showType", void 0);
|
|
114
114
|
_define_property(_assert_this_initialized(_this), "range", void 0 // 人员范围: 公司全员 / 指定人员
|
|
115
115
|
);
|
|
@@ -138,8 +138,8 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
138
138
|
_class_call_check(this, Employee2Property);
|
|
139
139
|
var _this;
|
|
140
140
|
_this = _super.call(this, props);
|
|
141
|
-
/**
|
|
142
|
-
* 展示类型: 默认形式 / 树状人员
|
|
141
|
+
/**
|
|
142
|
+
* 展示类型: 默认形式 / 树状人员
|
|
143
143
|
* */ _define_property(_assert_this_initialized(_this), "showType", void 0);
|
|
144
144
|
_define_property(_assert_this_initialized(_this), "range", void 0 // 人员范围: 公司全员 / 指定人员
|
|
145
145
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
3
|
-
* @Date: 2022-12-01 14:40:30
|
|
4
|
-
* @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
5
|
-
* @LastEditTime: 2023-09-19 15:50:38
|
|
6
|
-
* @FilePath: /model-driven/packages/controls/src/formControls/Image/designer.ts
|
|
1
|
+
/*
|
|
2
|
+
* @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
3
|
+
* @Date: 2022-12-01 14:40:30
|
|
4
|
+
* @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
5
|
+
* @LastEditTime: 2023-09-19 15:50:38
|
|
6
|
+
* @FilePath: /model-driven/packages/controls/src/formControls/Image/designer.ts
|
|
7
7
|
*/ function _assert_this_initialized(self) {
|
|
8
8
|
if (self === void 0) {
|
|
9
9
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -138,42 +138,42 @@ var OrganizationSelectionProperty = /*#__PURE__*/ function(BaseControlProperty)
|
|
|
138
138
|
_class_call_check(this, OrganizationSelectionProperty);
|
|
139
139
|
var _this;
|
|
140
140
|
_this = _super.call(this, props);
|
|
141
|
-
/**
|
|
142
|
-
* 展示类型: 默认形式 / 树状部门
|
|
141
|
+
/**
|
|
142
|
+
* 展示类型: 默认形式 / 树状部门
|
|
143
143
|
* */ _define_property(_assert_this_initialized(_this), "showType", void 0);
|
|
144
|
-
/**
|
|
145
|
-
* 部门范围: 所有部门 / 指定部门
|
|
144
|
+
/**
|
|
145
|
+
* 部门范围: 所有部门 / 指定部门
|
|
146
146
|
* */ _define_property(_assert_this_initialized(_this), "range", void 0);
|
|
147
|
-
/**
|
|
148
|
-
* 默认值类型:发起人部门/ 指定部门 /无
|
|
147
|
+
/**
|
|
148
|
+
* 默认值类型:发起人部门/ 指定部门 /无
|
|
149
149
|
*/ _define_property(_assert_this_initialized(_this), "defaultValueType", void 0);
|
|
150
|
-
/**
|
|
151
|
-
* 部门多选
|
|
150
|
+
/**
|
|
151
|
+
* 部门多选
|
|
152
152
|
* */ _define_property(_assert_this_initialized(_this), "multiple", void 0);
|
|
153
|
-
/**
|
|
154
|
-
* 指定部门范围
|
|
153
|
+
/**
|
|
154
|
+
* 指定部门范围
|
|
155
155
|
* */ _define_property(_assert_this_initialized(_this), "rangeOptions", void 0);
|
|
156
|
-
/**
|
|
157
|
-
* 默认值
|
|
156
|
+
/**
|
|
157
|
+
* 默认值
|
|
158
158
|
* */ _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
|
|
159
|
-
/**
|
|
160
|
-
* 部门显示层级
|
|
159
|
+
/**
|
|
160
|
+
* 部门显示层级
|
|
161
161
|
* */ _define_property(_assert_this_initialized(_this), "displayLevel", void 0);
|
|
162
|
-
/**
|
|
163
|
-
* 是否展示子部门
|
|
162
|
+
/**
|
|
163
|
+
* 是否展示子部门
|
|
164
164
|
* */ _define_property(_assert_this_initialized(_this), "showSubDept", void 0);
|
|
165
|
-
/**
|
|
166
|
-
* 多级填充
|
|
165
|
+
/**
|
|
166
|
+
* 多级填充
|
|
167
167
|
* */ _define_property(_assert_this_initialized(_this), "multistageFilling", void 0);
|
|
168
|
-
/**
|
|
169
|
-
* 数据设置
|
|
168
|
+
/**
|
|
169
|
+
* 数据设置
|
|
170
170
|
* */ _define_property(_assert_this_initialized(_this), "datasourceBind", void 0);
|
|
171
|
-
/**
|
|
172
|
-
* 绑定列表页
|
|
173
|
-
* @public
|
|
171
|
+
/**
|
|
172
|
+
* 绑定列表页
|
|
173
|
+
* @public
|
|
174
174
|
*/ _define_property(_assert_this_initialized(_this), "listPageBind", void 0);
|
|
175
|
-
/**
|
|
176
|
-
* 数据类型 行政 or 业务
|
|
175
|
+
/**
|
|
176
|
+
* 数据类型 行政 or 业务
|
|
177
177
|
* */ _define_property(_assert_this_initialized(_this), "datasourceType", void 0 //数据类型 行政 'administration'| 业务 'business'
|
|
178
178
|
);
|
|
179
179
|
_define_property(_assert_this_initialized(_this), "businessType", void 0 //业务部门类型 'all' | 'assign'
|
|
@@ -128,21 +128,21 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
128
128
|
);
|
|
129
129
|
_define_property(_assert_this_initialized(_this), "openMultistageFilling", void 0 //是否开启填充
|
|
130
130
|
);
|
|
131
|
-
/**
|
|
132
|
-
* 表单打开方式
|
|
133
|
-
* @defaultValue []
|
|
134
|
-
* @public
|
|
131
|
+
/**
|
|
132
|
+
* 表单打开方式
|
|
133
|
+
* @defaultValue []
|
|
134
|
+
* @public
|
|
135
135
|
*/ _define_property(_assert_this_initialized(_this), "viewFormModelType", void 0);
|
|
136
|
-
/**
|
|
137
|
-
* 查看详情
|
|
138
|
-
* @defaultValue false
|
|
139
|
-
* @public
|
|
136
|
+
/**
|
|
137
|
+
* 查看详情
|
|
138
|
+
* @defaultValue false
|
|
139
|
+
* @public
|
|
140
140
|
*/ _define_property(_assert_this_initialized(_this), "canViewForm", void 0 //https://www.tapd.cn/49877295/prong/stories/view/1149877295001003559
|
|
141
141
|
);
|
|
142
|
-
/**
|
|
143
|
-
* 选择表单
|
|
144
|
-
* @defaultValue 空
|
|
145
|
-
* @public
|
|
142
|
+
/**
|
|
143
|
+
* 选择表单
|
|
144
|
+
* @defaultValue 空
|
|
145
|
+
* @public
|
|
146
146
|
*/ _define_property(_assert_this_initialized(_this), "formBind", void 0);
|
|
147
147
|
var _props_options;
|
|
148
148
|
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
|
|
@@ -141,21 +141,21 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
141
141
|
_define_property(_assert_this_initialized(_this), "multistageFilling", void 0);
|
|
142
142
|
_define_property(_assert_this_initialized(_this), "openMultistageFilling", void 0 //是否开启填充
|
|
143
143
|
);
|
|
144
|
-
/**
|
|
145
|
-
* 表单打开方式
|
|
146
|
-
* @defaultValue []
|
|
147
|
-
* @public
|
|
144
|
+
/**
|
|
145
|
+
* 表单打开方式
|
|
146
|
+
* @defaultValue []
|
|
147
|
+
* @public
|
|
148
148
|
*/ _define_property(_assert_this_initialized(_this), "viewFormModelType", void 0);
|
|
149
|
-
/**
|
|
150
|
-
* 查看详情
|
|
151
|
-
* @defaultValue false
|
|
152
|
-
* @public
|
|
149
|
+
/**
|
|
150
|
+
* 查看详情
|
|
151
|
+
* @defaultValue false
|
|
152
|
+
* @public
|
|
153
153
|
*/ _define_property(_assert_this_initialized(_this), "canViewForm", void 0 //https://www.tapd.cn/49877295/prong/stories/view/1149877295001003559
|
|
154
154
|
);
|
|
155
|
-
/**
|
|
156
|
-
* 选择表单
|
|
157
|
-
* @defaultValue 空
|
|
158
|
-
* @public
|
|
155
|
+
/**
|
|
156
|
+
* 选择表单
|
|
157
|
+
* @defaultValue 空
|
|
158
|
+
* @public
|
|
159
159
|
*/ _define_property(_assert_this_initialized(_this), "formBind", void 0);
|
|
160
160
|
var _props_options;
|
|
161
161
|
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
|
|
@@ -132,9 +132,9 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
|
|
|
132
132
|
}
|
|
133
133
|
return SelectRelationControlPropertyRules;
|
|
134
134
|
}(OptionAndDataSourcePropertyRules);
|
|
135
|
-
/**
|
|
136
|
-
* SelectRelation 关联单选
|
|
137
|
-
* @public
|
|
135
|
+
/**
|
|
136
|
+
* SelectRelation 关联单选
|
|
137
|
+
* @public
|
|
138
138
|
*/ var SelectRelationProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
139
139
|
"use strict";
|
|
140
140
|
_inherits(SelectRelationProperty, BaseControlProperty);
|
|
@@ -143,55 +143,55 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
|
|
|
143
143
|
_class_call_check(this, SelectRelationProperty);
|
|
144
144
|
var _this;
|
|
145
145
|
_this = _super.call(this, props);
|
|
146
|
-
/**
|
|
147
|
-
* 自定义选项
|
|
148
|
-
* @defaultValue []
|
|
149
|
-
* @public
|
|
146
|
+
/**
|
|
147
|
+
* 自定义选项
|
|
148
|
+
* @defaultValue []
|
|
149
|
+
* @public
|
|
150
150
|
*/ _define_property(_assert_this_initialized(_this), "options", void 0);
|
|
151
|
-
/**
|
|
152
|
-
* 选项配置
|
|
153
|
-
* @defaultValue 'datasource'
|
|
154
|
-
* @public
|
|
151
|
+
/**
|
|
152
|
+
* 选项配置
|
|
153
|
+
* @defaultValue 'datasource'
|
|
154
|
+
* @public
|
|
155
155
|
* */ _define_property(_assert_this_initialized(_this), "optionConfig", void 0 // 选项配置 custom datasource
|
|
156
156
|
);
|
|
157
|
-
/**
|
|
158
|
-
* 默认值
|
|
159
|
-
* @defaultValue ''
|
|
160
|
-
* @public
|
|
157
|
+
/**
|
|
158
|
+
* 默认值
|
|
159
|
+
* @defaultValue ''
|
|
160
|
+
* @public
|
|
161
161
|
*/ _define_property(_assert_this_initialized(_this), "defaultValue", void 0);
|
|
162
|
-
/**
|
|
163
|
-
* 绑定列表页
|
|
164
|
-
* @public
|
|
162
|
+
/**
|
|
163
|
+
* 绑定列表页
|
|
164
|
+
* @public
|
|
165
165
|
*/ _define_property(_assert_this_initialized(_this), "listPageBind", void 0);
|
|
166
|
-
/**
|
|
167
|
-
* 关联数据源
|
|
168
|
-
* @public
|
|
166
|
+
/**
|
|
167
|
+
* 关联数据源
|
|
168
|
+
* @public
|
|
169
169
|
*/ _define_property(_assert_this_initialized(_this), "datasourceBind", void 0);
|
|
170
|
-
/**
|
|
171
|
-
* 数据填充
|
|
172
|
-
* @defaultValue []
|
|
173
|
-
* @public
|
|
170
|
+
/**
|
|
171
|
+
* 数据填充
|
|
172
|
+
* @defaultValue []
|
|
173
|
+
* @public
|
|
174
174
|
*/ _define_property(_assert_this_initialized(_this), "multistageFilling", void 0);
|
|
175
|
-
/**
|
|
176
|
-
* 表单打开方式
|
|
177
|
-
* @defaultValue []
|
|
178
|
-
* @public
|
|
175
|
+
/**
|
|
176
|
+
* 表单打开方式
|
|
177
|
+
* @defaultValue []
|
|
178
|
+
* @public
|
|
179
179
|
*/ _define_property(_assert_this_initialized(_this), "viewFormModelType", void 0);
|
|
180
|
-
/**
|
|
181
|
-
* 查看详情
|
|
182
|
-
* @defaultValue false
|
|
183
|
-
* @public
|
|
180
|
+
/**
|
|
181
|
+
* 查看详情
|
|
182
|
+
* @defaultValue false
|
|
183
|
+
* @public
|
|
184
184
|
*/ _define_property(_assert_this_initialized(_this), "canViewForm", void 0 //https://www.tapd.cn/49877295/prong/stories/view/1149877295001003559
|
|
185
185
|
);
|
|
186
|
-
/**
|
|
187
|
-
* 选择表单
|
|
188
|
-
* @defaultValue 空
|
|
189
|
-
* @public
|
|
186
|
+
/**
|
|
187
|
+
* 选择表单
|
|
188
|
+
* @defaultValue 空
|
|
189
|
+
* @public
|
|
190
190
|
*/ _define_property(_assert_this_initialized(_this), "formBind", void 0);
|
|
191
|
-
/**
|
|
192
|
-
* 数据填充-查看/编辑页面生效
|
|
193
|
-
* @defaultValue false
|
|
194
|
-
* @public
|
|
191
|
+
/**
|
|
192
|
+
* 数据填充-查看/编辑页面生效
|
|
193
|
+
* @defaultValue false
|
|
194
|
+
* @public
|
|
195
195
|
*/ _define_property(_assert_this_initialized(_this), "openMultistageFilling", void 0 //是否开启填充
|
|
196
196
|
);
|
|
197
197
|
// 展示已选明细
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: Elvis shuaiqy@hotmail.com
|
|
3
|
-
* @Date: 2022-07-07 00:12:37
|
|
4
|
-
* @LastEditors: Elvis shuaiqy@hotmail.com
|
|
5
|
-
* @LastEditTime: 2022-07-25 17:51:51
|
|
6
|
-
* @FilePath: /model-driven/packages/controls/src/formControls/WPS/designer.ts
|
|
7
|
-
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
1
|
+
/*
|
|
2
|
+
* @Author: Elvis shuaiqy@hotmail.com
|
|
3
|
+
* @Date: 2022-07-07 00:12:37
|
|
4
|
+
* @LastEditors: Elvis shuaiqy@hotmail.com
|
|
5
|
+
* @LastEditTime: 2022-07-25 17:51:51
|
|
6
|
+
* @FilePath: /model-driven/packages/controls/src/formControls/WPS/designer.ts
|
|
7
|
+
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
8
|
*/ function _assert_this_initialized(self) {
|
|
9
9
|
if (self === void 0) {
|
|
10
10
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|