@byteluck-fe/model-driven-controls 2.22.2-beta.4 → 2.22.2-beta.7
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/Address/property.js +12 -12
- package/dist/esm/formControls/Amount/property.js +1 -1
- package/dist/esm/formControls/AutoNumber/property.js +2 -1
- package/dist/esm/formControls/Calc/property.js +1 -1
- package/dist/esm/formControls/DatePicker/property.js +2 -2
- package/dist/esm/formControls/DateRange/property.js +48 -48
- package/dist/esm/formControls/Department/property.js +20 -19
- package/dist/esm/formControls/Department2/property.js +23 -23
- package/dist/esm/formControls/ElectronicSignature/property.js +7 -7
- package/dist/esm/formControls/Employee/property.js +4 -3
- package/dist/esm/formControls/Employee2/property.js +3 -3
- package/dist/esm/formControls/Input/property.js +2 -2
- package/dist/esm/formControls/Number/property.js +1 -1
- package/dist/esm/formControls/OrganizationSelection/designer.js +6 -1
- package/dist/esm/formControls/OrganizationSelection/property.js +26 -26
- package/dist/esm/formControls/RichText/property.js +1 -1
- package/dist/esm/formControls/SearchDateRange/property.js +3 -3
- package/dist/esm/formControls/Select/property.js +13 -13
- package/dist/esm/formControls/SelectMultiple/property.js +13 -13
- package/dist/esm/formControls/SelectRelation/property.js +42 -42
- package/dist/esm/formControls/Textarea/property.js +1 -1
- package/dist/esm/formControls/Tree/property.js +1 -1
- package/dist/esm/framework.js +26 -26
- package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +8 -7
- package/dist/index.umd.js +18 -18
- package/dist/types/formControls/OrganizationSelection/designer.d.ts +1 -1
- package/package.json +5 -5
|
@@ -84,7 +84,7 @@ function _create_super(Derived) {
|
|
|
84
84
|
}
|
|
85
85
|
import { BaseControlProperty, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
|
|
86
86
|
import SearchDateRangeControl from './designer';
|
|
87
|
-
import { DateType } from '@byteluck-fe/model-driven-shared';
|
|
87
|
+
import { DateType, RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
88
88
|
import { LimitDate } from '../../framework';
|
|
89
89
|
var SearchDateRangePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRuntimeRules) {
|
|
90
90
|
"use strict";
|
|
@@ -161,9 +161,9 @@ var SearchDateRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
161
161
|
var _props_rangeMax;
|
|
162
162
|
_this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : '';
|
|
163
163
|
var _props_placeholderStart;
|
|
164
|
-
_this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : '
|
|
164
|
+
_this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : RulesMessage.getMessage('startDate');
|
|
165
165
|
var _props_placeholderEnd;
|
|
166
|
-
_this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : '
|
|
166
|
+
_this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : RulesMessage.getMessage('endDate');
|
|
167
167
|
var _props_caption;
|
|
168
168
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SearchDateRangeControl.controlName;
|
|
169
169
|
var _props_limitDateList_map;
|
|
@@ -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 : [
|
|
@@ -167,7 +167,7 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
167
167
|
var _props_caption;
|
|
168
168
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectControl.controlName;
|
|
169
169
|
var _props_placeholder;
|
|
170
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : '
|
|
170
|
+
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : RulesMessage.getMessage('pleaseSelect');
|
|
171
171
|
var _props_defaultValue;
|
|
172
172
|
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
|
|
173
173
|
var _props_allowCopyOptions;
|
|
@@ -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 : [
|
|
@@ -180,7 +180,7 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
180
180
|
var _props_caption;
|
|
181
181
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectMultipleControl.controlName;
|
|
182
182
|
var _props_placeholder;
|
|
183
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : '
|
|
183
|
+
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : RulesMessage.getMessage('pleaseSelect');
|
|
184
184
|
var _props_defaultValue;
|
|
185
185
|
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
|
|
186
186
|
var _props_openMultistageFilling;
|
|
@@ -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
|
// 展示已选明细
|
|
@@ -209,7 +209,7 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
|
|
|
209
209
|
var _props_caption;
|
|
210
210
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectRelationControl.controlName;
|
|
211
211
|
var _props_placeholder;
|
|
212
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : '
|
|
212
|
+
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : RulesMessage.getMessage('pleaseSelect');
|
|
213
213
|
var _props_defaultValue;
|
|
214
214
|
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
|
|
215
215
|
var _props_openMultistageFilling;
|
|
@@ -188,7 +188,7 @@ var TextareaControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProp
|
|
|
188
188
|
var _props_caption;
|
|
189
189
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TextareaControl.controlName;
|
|
190
190
|
var _props_placeholder;
|
|
191
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : '
|
|
191
|
+
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : RulesMessage.getMessage('pleaseEnter');
|
|
192
192
|
// this.lineEllipsis = props?.lineEllipsis ?? 4
|
|
193
193
|
// this.autoSize = props?.autoSize ?? false
|
|
194
194
|
// this.maxRows = props?.maxRows
|
|
@@ -185,7 +185,7 @@ var TreeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
185
185
|
var _props_caption;
|
|
186
186
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TreeControl.controlName;
|
|
187
187
|
var _props_placeholder;
|
|
188
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : '
|
|
188
|
+
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : RulesMessage.getMessage('pleaseSelect');
|
|
189
189
|
var _props_multiple;
|
|
190
190
|
_this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
|
|
191
191
|
var _props_canSearch;
|
package/dist/esm/framework.js
CHANGED
|
@@ -16,7 +16,7 @@ function _define_property(obj, key, value) {
|
|
|
16
16
|
}
|
|
17
17
|
return obj;
|
|
18
18
|
}
|
|
19
|
-
import { genNonDuplicateId } from '@byteluck-fe/model-driven-shared';
|
|
19
|
+
import { genNonDuplicateId, RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
20
20
|
import { RightVariable } from '@byteluck-fe/model-driven-core';
|
|
21
21
|
export var TitleConfigEnum;
|
|
22
22
|
(function(TitleConfigEnum) {
|
|
@@ -40,8 +40,8 @@ export var DATE_LIMIT_TYPE;
|
|
|
40
40
|
DATE_LIMIT_TYPE["AFTER_TIME"] = "afterTime";
|
|
41
41
|
DATE_LIMIT_TYPE["TIME_SPECIFIED"] = "timeSpecified";
|
|
42
42
|
})(DATE_LIMIT_TYPE || (DATE_LIMIT_TYPE = {}));
|
|
43
|
-
/**
|
|
44
|
-
* 时间限制范围
|
|
43
|
+
/**
|
|
44
|
+
* 时间限制范围
|
|
45
45
|
*/ export var LimitDate = function LimitDate() {
|
|
46
46
|
"use strict";
|
|
47
47
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
@@ -97,23 +97,23 @@ export var LINE_STYLE;
|
|
|
97
97
|
export var UndersignedPerson = function UndersignedPerson(props) {
|
|
98
98
|
"use strict";
|
|
99
99
|
_class_call_check(this, UndersignedPerson);
|
|
100
|
-
/**
|
|
101
|
-
* 签署人类型
|
|
100
|
+
/**
|
|
101
|
+
* 签署人类型
|
|
102
102
|
* */ _define_property(this, "type", void 0);
|
|
103
|
-
/**
|
|
104
|
-
* 签署人
|
|
103
|
+
/**
|
|
104
|
+
* 签署人
|
|
105
105
|
* */ _define_property(this, "person", void 0);
|
|
106
|
-
/**
|
|
107
|
-
* 签章类型
|
|
106
|
+
/**
|
|
107
|
+
* 签章类型
|
|
108
108
|
* */ _define_property(this, "signatureType", void 0);
|
|
109
|
-
/**
|
|
110
|
-
* 手机号
|
|
109
|
+
/**
|
|
110
|
+
* 手机号
|
|
111
111
|
* */ _define_property(this, "telephone", void 0);
|
|
112
|
-
/**
|
|
113
|
-
* 公司名称
|
|
112
|
+
/**
|
|
113
|
+
* 公司名称
|
|
114
114
|
* */ _define_property(this, "company", void 0);
|
|
115
|
-
/**
|
|
116
|
-
* 备注
|
|
115
|
+
/**
|
|
116
|
+
* 备注
|
|
117
117
|
* */ _define_property(this, "remark", void 0);
|
|
118
118
|
var _props_type;
|
|
119
119
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'private';
|
|
@@ -138,20 +138,20 @@ export var ElectronicSignatureConfig = function ElectronicSignatureConfig(props)
|
|
|
138
138
|
"use strict";
|
|
139
139
|
_class_call_check(this, ElectronicSignatureConfig);
|
|
140
140
|
var _props_undersignedList;
|
|
141
|
-
/**
|
|
142
|
-
* 签署文件
|
|
141
|
+
/**
|
|
142
|
+
* 签署文件
|
|
143
143
|
* */ _define_property(this, "fileControl", void 0);
|
|
144
|
-
/**
|
|
145
|
-
* 签署人
|
|
144
|
+
/**
|
|
145
|
+
* 签署人
|
|
146
146
|
* */ _define_property(this, "undersignedList", void 0);
|
|
147
|
-
/**
|
|
148
|
-
* 签署状态
|
|
147
|
+
/**
|
|
148
|
+
* 签署状态
|
|
149
149
|
* */ _define_property(this, "statusControl", void 0);
|
|
150
|
-
/**
|
|
151
|
-
* 签署完成文件
|
|
150
|
+
/**
|
|
151
|
+
* 签署完成文件
|
|
152
152
|
* */ _define_property(this, "completeControl", void 0);
|
|
153
|
-
/**
|
|
154
|
-
* 签署完成时间
|
|
153
|
+
/**
|
|
154
|
+
* 签署完成时间
|
|
155
155
|
* */ _define_property(this, "completeTimeControl", void 0);
|
|
156
156
|
var _props_fileControl;
|
|
157
157
|
this.fileControl = (_props_fileControl = props === null || props === void 0 ? void 0 : props.fileControl) !== null && _props_fileControl !== void 0 ? _props_fileControl : '';
|
|
@@ -260,7 +260,7 @@ export var ExportConfig = function ExportConfig(props) {
|
|
|
260
260
|
})) !== null && _props_templateList_map !== void 0 ? _props_templateList_map : [
|
|
261
261
|
new ExportTemplate({
|
|
262
262
|
id: 'default',
|
|
263
|
-
name: '
|
|
263
|
+
name: RulesMessage.getMessage('defaultTemplate'),
|
|
264
264
|
appId: 'default',
|
|
265
265
|
dataCode: 'default',
|
|
266
266
|
svcCode: 'default',
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
3
|
-
* @Date: 2023-08-08 11:13:49
|
|
4
|
-
* @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
5
|
-
* @LastEditTime: 2023-08-09 14:06:17
|
|
6
|
-
* @FilePath: /model-driven/packages/controls/src/wrapControls/gridLayoutWrap/Setting.ts
|
|
1
|
+
/*
|
|
2
|
+
* @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
3
|
+
* @Date: 2023-08-08 11:13:49
|
|
4
|
+
* @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
|
|
5
|
+
* @LastEditTime: 2023-08-09 14:06:17
|
|
6
|
+
* @FilePath: /model-driven/packages/controls/src/wrapControls/gridLayoutWrap/Setting.ts
|
|
7
7
|
*/ import { defineInstance } from '@byteluck-fe/model-driven-settings';
|
|
8
|
+
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
8
9
|
export default defineInstance({
|
|
9
10
|
fields: [
|
|
10
11
|
{
|
|
11
12
|
key: 'wholeRow',
|
|
12
13
|
type: 'boolean',
|
|
13
14
|
component: 'switch',
|
|
14
|
-
label: '
|
|
15
|
+
label: RulesMessage.getMessage('fullLine'),
|
|
15
16
|
props: {
|
|
16
17
|
updateParent: true
|
|
17
18
|
}
|