@byteluck-fe/model-driven-controls 2.22.2-beta.12 → 2.22.2-beta.14

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.
@@ -83,6 +83,7 @@ function _create_super(Derived) {
83
83
  };
84
84
  }
85
85
  import { Property, OptObject } from '@byteluck-fe/model-driven-core';
86
+ import { RulesMessage } from '@byteluck-fe/model-driven-shared';
86
87
  var ButtonProperty = /*#__PURE__*/ function(Property) {
87
88
  "use strict";
88
89
  _inherits(ButtonProperty, Property);
@@ -91,50 +92,50 @@ var ButtonProperty = /*#__PURE__*/ function(Property) {
91
92
  _class_call_check(this, ButtonProperty);
92
93
  var _this;
93
94
  _this = _super.call(this, props);
94
- /**
95
- * 按钮标题
96
- * @public
97
- * @defaultValue ''
95
+ /**
96
+ * 按钮标题
97
+ * @public
98
+ * @defaultValue ''
98
99
  */ _define_property(_assert_this_initialized(_this), "content", void 0);
99
100
  // public buttonType: 'primary' | 'secondary' | 'default' | 'danger'
100
- /**
101
- * 按钮类型
102
- * @public
103
- * @defaultValue 'primary'
101
+ /**
102
+ * 按钮类型
103
+ * @public
104
+ * @defaultValue 'primary'
104
105
  */ _define_property(_assert_this_initialized(_this), "buttonType", void 0);
105
- /**
106
- * 显示形式
107
- * @public
108
- * @defaultValue 'text'
106
+ /**
107
+ * 显示形式
108
+ * @public
109
+ * @defaultValue 'text'
109
110
  */ _define_property(_assert_this_initialized(_this), "showType", void 0);
110
- /**
111
- * 颜色
112
- * @public
113
- * @defaultValue 'primary'
111
+ /**
112
+ * 颜色
113
+ * @public
114
+ * @defaultValue 'primary'
114
115
  */ _define_property(_assert_this_initialized(_this), "color", void 0);
115
- /**
116
- * 图标
117
- * @public
118
- * @defaultValue ''
116
+ /**
117
+ * 图标
118
+ * @public
119
+ * @defaultValue ''
119
120
  */ _define_property(_assert_this_initialized(_this), "icon", void 0);
120
121
  _define_property(_assert_this_initialized(_this), "defaultState", void 0);
121
- /**
122
- * 按钮命令
123
- * @public
124
- * @defaultValue ''
122
+ /**
123
+ * 按钮命令
124
+ * @public
125
+ * @defaultValue ''
125
126
  */ _define_property(_assert_this_initialized(_this), "command", void 0);
126
- /**
127
- * 加载中
128
- * @public
129
- * @defaultValue ''
127
+ /**
128
+ * 加载中
129
+ * @public
130
+ * @defaultValue ''
130
131
  */ _define_property(_assert_this_initialized(_this), "isLoading", void 0);
131
- /**
132
- * 操作项
133
- * @public
134
- * @defaultValue ''
132
+ /**
133
+ * 操作项
134
+ * @public
135
+ * @defaultValue ''
135
136
  */ _define_property(_assert_this_initialized(_this), "optObj", void 0);
136
137
  var _props_content;
137
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '按钮';
138
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : RulesMessage.getMessage('button');
138
139
  var _props_buttonType;
139
140
  _this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : 'primary';
140
141
  var _props_showType;
@@ -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 LinkProperty = /*#__PURE__*/ function(Property) {
87
88
  "use strict";
88
89
  _inherits(LinkProperty, Property);
@@ -95,7 +96,7 @@ var LinkProperty = /*#__PURE__*/ function(Property) {
95
96
  _define_property(_assert_this_initialized(_this), "url", void 0);
96
97
  _define_property(_assert_this_initialized(_this), "openMode", void 0);
97
98
  var _props_content;
98
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '我是一个链接';
99
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : RulesMessage.getMessage('linkContent');
99
100
  var _props_url;
100
101
  _this.url = (_props_url = props === null || props === void 0 ? void 0 : props.url) !== null && _props_url !== void 0 ? _props_url : '';
101
102
  var _props_openMode;
@@ -129,7 +129,7 @@ var OperationButtonProperty = /*#__PURE__*/ function(Property) {
129
129
  _define_property(_assert_this_initialized(_this), "priorityProcess", void 0);
130
130
  _define_property(_assert_this_initialized(_this), "isLoading", void 0);
131
131
  var _props_content;
132
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '按钮';
132
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : RulesMessage.getMessage('button');
133
133
  _this.code = props === null || props === void 0 ? void 0 : props.code;
134
134
  var _props_command;
135
135
  _this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : 'custom';
@@ -1,9 +1,9 @@
1
- /*
2
- * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
- * @Date: 2023-09-14 18:31:51
4
- * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
- * @LastEditTime: 2023-09-19 15:49:31
6
- * @FilePath: /model-driven/packages/controls/src/formControls/Attachment/property.ts
1
+ /*
2
+ * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
+ * @Date: 2023-09-14 18:31:51
4
+ * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
+ * @LastEditTime: 2023-09-19 15:49:31
6
+ * @FilePath: /model-driven/packages/controls/src/formControls/Attachment/property.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");
@@ -154,8 +154,8 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
154
154
  _define_property(_assert_this_initialized(_this), "isShowWatermark", void 0 // 是否开启水印
155
155
  );
156
156
  _define_property(_assert_this_initialized(_this), "watermarkFx", void 0);
157
- /**
158
- * maxSize 存储大小,单位为Byte,默认值为100MB
157
+ /**
158
+ * maxSize 存储大小,单位为Byte,默认值为100MB
159
159
  * */ _define_property(_assert_this_initialized(_this), "maxSize", void 0);
160
160
  var _props_defaultValue;
161
161
  _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
@@ -174,7 +174,7 @@ var AttachmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
174
174
  var _props_caption;
175
175
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : AttachmentControl.controlName;
176
176
  var _props_placeholder;
177
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : '上传附件';
177
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : RulesMessage.getMessage('uploadFile');
178
178
  var _props_isShowWatermark;
179
179
  _this.isShowWatermark = (_props_isShowWatermark = props === null || props === void 0 ? void 0 : props.isShowWatermark) !== null && _props_isShowWatermark !== void 0 ? _props_isShowWatermark : false;
180
180
  var _props_watermarkFx;
@@ -195,7 +195,7 @@ var ElectronicSignatureProperty = /*#__PURE__*/ function(BaseControlProperty) {
195
195
  var _props_caption;
196
196
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ElectronicSignatureControl.controlName;
197
197
  var _props_content;
198
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '发起签署';
198
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : RulesMessage.getMessage('signature');
199
199
  var _props_buttonType;
200
200
  _this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : 'primary';
201
201
  var _props_showType;
@@ -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");
@@ -118,7 +118,7 @@ var ImageControl = /*#__PURE__*/ function(DesignerAttachmentControl) {
118
118
  var _props_props_caption;
119
119
  _this.props.caption = (_props_props_caption = props === null || props === void 0 ? void 0 : (_props_props = props.props) === null || _props_props === void 0 ? void 0 : _props_props.caption) !== null && _props_props_caption !== void 0 ? _props_props_caption : ImageControl.controlName;
120
120
  var _props_props_placeholder;
121
- _this.props.placeholder = (_props_props_placeholder = props === null || props === void 0 ? void 0 : (_props_props1 = props.props) === null || _props_props1 === void 0 ? void 0 : _props_props1.placeholder) !== null && _props_props_placeholder !== void 0 ? _props_props_placeholder : '上传图片';
121
+ _this.props.placeholder = (_props_props_placeholder = props === null || props === void 0 ? void 0 : (_props_props1 = props.props) === null || _props_props1 === void 0 ? void 0 : _props_props1.placeholder) !== null && _props_props_placeholder !== void 0 ? _props_props_placeholder : RulesMessage.getMessage('uploadImg');
122
122
  return _this;
123
123
  }
124
124
  _create_class(ImageControl, null, [
@@ -83,6 +83,7 @@ function _create_super(Derived) {
83
83
  return _possible_constructor_return(this, result);
84
84
  };
85
85
  }
86
+ import { RulesMessage } from '@byteluck-fe/model-driven-shared';
86
87
  import { RuntimeAttachmentControl } from '../Attachment';
87
88
  var ImageControl = /*#__PURE__*/ function(RuntimeAttachmentControl) {
88
89
  "use strict";
@@ -97,9 +98,9 @@ var ImageControl = /*#__PURE__*/ function(RuntimeAttachmentControl) {
97
98
  var _props_props_maxLimit;
98
99
  _this.props.maxLimit = (_props_props_maxLimit = props === null || props === void 0 ? void 0 : (_props_props = props.props) === null || _props_props === void 0 ? void 0 : _props_props.maxLimit) !== null && _props_props_maxLimit !== void 0 ? _props_props_maxLimit : 9;
99
100
  var _props_props_caption;
100
- _this.props.caption = (_props_props_caption = props === null || props === void 0 ? void 0 : (_props_props1 = props.props) === null || _props_props1 === void 0 ? void 0 : _props_props1.caption) !== null && _props_props_caption !== void 0 ? _props_props_caption : '图片';
101
+ _this.props.caption = (_props_props_caption = props === null || props === void 0 ? void 0 : (_props_props1 = props.props) === null || _props_props1 === void 0 ? void 0 : _props_props1.caption) !== null && _props_props_caption !== void 0 ? _props_props_caption : RulesMessage.getMessage('image');
101
102
  var _props_props_placeholder;
102
- _this.props.placeholder = (_props_props_placeholder = props === null || props === void 0 ? void 0 : (_props_props2 = props.props) === null || _props_props2 === void 0 ? void 0 : _props_props2.placeholder) !== null && _props_props_placeholder !== void 0 ? _props_props_placeholder : '上传图片';
103
+ _this.props.placeholder = (_props_props_placeholder = props === null || props === void 0 ? void 0 : (_props_props2 = props.props) === null || _props_props2 === void 0 ? void 0 : _props_props2.placeholder) !== null && _props_props_placeholder !== void 0 ? _props_props_placeholder : RulesMessage.getMessage('uploadImg');
103
104
  return _this;
104
105
  }
105
106
  _create_class(ImageControl, null, [
@@ -178,7 +178,7 @@ var WPSProperty = /*#__PURE__*/ function(BaseControlProperty) {
178
178
  var _props_caption;
179
179
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : WPSControl.controlName;
180
180
  var _props_content;
181
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '新建文档';
181
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : RulesMessage.getMessage('createWPS');
182
182
  var _props_canAdd;
183
183
  _this.canAdd = (_props_canAdd = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _props_canAdd !== void 0 ? _props_canAdd : true;
184
184
  var _props_addLocal;
@@ -109,16 +109,16 @@ var CardGroupControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
109
109
  _class_call_check(this, CardGroupControlProperty);
110
110
  var _this;
111
111
  _this = _super.call(this, props);
112
- /*
113
- * 标题信息
112
+ /*
113
+ * 标题信息
114
114
  * */ _define_property(_assert_this_initialized(_this), "caption", void 0);
115
115
  _define_property(_assert_this_initialized(_this), "isHideCaption", void 0);
116
- /*
117
- * 卡片分组是否支持展开收起
118
- * 可选项: none 不允许 | open 默认展开 | close 默认关闭
116
+ /*
117
+ * 卡片分组是否支持展开收起
118
+ * 可选项: none 不允许 | open 默认展开 | close 默认关闭
119
119
  * */ _define_property(_assert_this_initialized(_this), "collapse", void 0);
120
120
  var _props_caption;
121
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : '分组';
121
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : RulesMessage.getMessage('cardGroup');
122
122
  var _props_isHideCaption;
123
123
  _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
124
124
  var _props_collapse;
@@ -83,6 +83,7 @@ function _create_super(Derived) {
83
83
  };
84
84
  }
85
85
  import { LayoutControlProperty, PropertyRuntimeRules, DataSourceBind, OperationItem } from '@byteluck-fe/model-driven-core';
86
+ import { RulesMessage } from '@byteluck-fe/model-driven-shared';
86
87
  var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
87
88
  "use strict";
88
89
  _inherits(DataViewControlPropertyRuntimeRules, PropertyRuntimeRules);
@@ -99,9 +100,9 @@ var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntime
99
100
  }
100
101
  return DataViewControlPropertyRuntimeRules;
101
102
  }(PropertyRuntimeRules);
102
- /**
103
- * DataView 表单页
104
- * @public
103
+ /**
104
+ * DataView 表单页
105
+ * @public
105
106
  */ var DataViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
106
107
  "use strict";
107
108
  _inherits(DataViewControlProperty, LayoutControlProperty);
@@ -115,36 +116,36 @@ var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntime
115
116
  _define_property(_assert_this_initialized(_this), "saveAs", void 0);
116
117
  _define_property(_assert_this_initialized(_this), "print", void 0);
117
118
  _define_property(_assert_this_initialized(_this), "custom", void 0);
118
- /**
119
- * 加载中
120
- * @defaultValue false
121
- * @public
119
+ /**
120
+ * 加载中
121
+ * @defaultValue false
122
+ * @public
122
123
  */ _define_property(_assert_this_initialized(_this), "isLoading", void 0);
123
- /**
124
- * 绑定业务模型
125
- * @public
124
+ /**
125
+ * 绑定业务模型
126
+ * @public
126
127
  */ _define_property(_assert_this_initialized(_this), "datasourceBind", void 0);
127
128
  var _props_save;
128
129
  _this.save = new OperationItem((_props_save = props === null || props === void 0 ? void 0 : props.save) !== null && _props_save !== void 0 ? _props_save : {
129
- content: '保存',
130
+ content: RulesMessage.getMessage('save'),
130
131
  type: 'save',
131
132
  isShow: false
132
133
  });
133
134
  var _props_cancel;
134
135
  _this.cancel = new OperationItem((_props_cancel = props === null || props === void 0 ? void 0 : props.cancel) !== null && _props_cancel !== void 0 ? _props_cancel : {
135
- content: '取消',
136
+ content: RulesMessage.getMessage('cancel'),
136
137
  type: 'cancel',
137
138
  isShow: false
138
139
  });
139
140
  var _props_saveAs;
140
141
  _this.saveAs = new OperationItem((_props_saveAs = props === null || props === void 0 ? void 0 : props.saveAs) !== null && _props_saveAs !== void 0 ? _props_saveAs : {
141
- content: '保存草稿',
142
+ content: RulesMessage.getMessage('draft'),
142
143
  type: 'saveAs',
143
144
  isShow: false
144
145
  });
145
146
  var _props_print;
146
147
  _this.print = new OperationItem((_props_print = props === null || props === void 0 ? void 0 : props.print) !== null && _props_print !== void 0 ? _props_print : {
147
- content: '打印',
148
+ content: RulesMessage.getMessage('print'),
148
149
  type: 'print',
149
150
  isShow: false
150
151
  });
@@ -159,8 +160,8 @@ var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntime
159
160
  }
160
161
  return DataViewControlProperty;
161
162
  }(LayoutControlProperty);
162
- /**
163
- * @internal
163
+ /**
164
+ * @internal
164
165
  */ _define_property(DataViewControlProperty, "RuntimeRules", DataViewControlPropertyRuntimeRules);
165
166
  export default DataViewControlProperty;
166
167
  export { DataViewControlProperty, DataViewControlPropertyRuntimeRules };
@@ -179,9 +179,9 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
179
179
  }
180
180
  return SubtableControlRuntimeRules;
181
181
  }(PropertyRuntimeRules);
182
- /**
183
- * SubTable 明细表
184
- * @public
182
+ /**
183
+ * SubTable 明细表
184
+ * @public
185
185
  */ var SubTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
186
186
  "use strict";
187
187
  _inherits(SubTableControlProperty, ListControlProperty);
@@ -190,149 +190,149 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
190
190
  _class_call_check(this, SubTableControlProperty);
191
191
  var _this;
192
192
  _this = _super.call(this, parent, props, SubTableControlProperty.mode);
193
- /**
194
- * 标题
193
+ /**
194
+ * 标题
195
195
  * */ _define_property(_assert_this_initialized(_this), "caption", void 0);
196
- /**
197
- * 标题布局
198
- * @defaultValue 'top'
199
- * @public
196
+ /**
197
+ * 标题布局
198
+ * @defaultValue 'top'
199
+ * @public
200
200
  * */ _define_property(_assert_this_initialized(_this), "labelPosition", void 0);
201
- /**
202
- * 隐藏标题
203
- * @defaultValue false
204
- * @public
201
+ /**
202
+ * 隐藏标题
203
+ * @defaultValue false
204
+ * @public
205
205
  * */ _define_property(_assert_this_initialized(_this), "isHideCaption", void 0);
206
- /**
207
- * 开启气泡提示
208
- * @defaultValue false
209
- * @public
206
+ /**
207
+ * 开启气泡提示
208
+ * @defaultValue false
209
+ * @public
210
210
  * */ _define_property(_assert_this_initialized(_this), "isShowCaptionTip", void 0);
211
- /**
212
- * 气泡提示语
213
- * @defaultValue ''
214
- * @public
211
+ /**
212
+ * 气泡提示语
213
+ * @defaultValue ''
214
+ * @public
215
215
  * */ _define_property(_assert_this_initialized(_this), "captionTip", void 0);
216
- /**
217
- * 默认状态 default=普通 readonly=只读
218
- * @defaultValue 'default'
219
- * @public
216
+ /**
217
+ * 默认状态 default=普通 readonly=只读
218
+ * @defaultValue 'default'
219
+ * @public
220
220
  * */ _define_property(_assert_this_initialized(_this), "defaultState", void 0);
221
- /**
222
- * 最小填写行数,并且是默认行数
223
- * @defaultValue 1
224
- * @public
221
+ /**
222
+ * 最小填写行数,并且是默认行数
223
+ * @defaultValue 1
224
+ * @public
225
225
  * */ _define_property(_assert_this_initialized(_this), "limitRows", void 0);
226
- /**
227
- * 最多填写行数
228
- * @defaultValue
229
- * @public
226
+ /**
227
+ * 最多填写行数
228
+ * @defaultValue
229
+ * @public
230
230
  * */ _define_property(_assert_this_initialized(_this), "maxRows", void 0);
231
- /**
232
- * 默认填写行数
233
- * @defaultValue 1
234
- * @public
231
+ /**
232
+ * 默认填写行数
233
+ * @defaultValue 1
234
+ * @public
235
235
  * */ _define_property(_assert_this_initialized(_this), "defaultRows", void 0);
236
- /**
237
- * 绑定数据源
238
- * @public
236
+ /**
237
+ * 绑定数据源
238
+ * @public
239
239
  * */ _define_property(_assert_this_initialized(_this), "datasourceBind", void 0);
240
- /**
241
- * 打印配置 col=纵向打印|row=横向打印
242
- * @defaultValue 'row'
243
- * @public
240
+ /**
241
+ * 打印配置 col=纵向打印|row=横向打印
242
+ * @defaultValue 'row'
243
+ * @public
244
244
  * */ _define_property(_assert_this_initialized(_this), "printMode", void 0);
245
- /**
246
- * 打开方式(查看,编辑,创建)
247
- * default列表模式|modal表单模式
248
- * @defaultValue 'default'
249
- * @public
245
+ /**
246
+ * 打开方式(查看,编辑,创建)
247
+ * default列表模式|modal表单模式
248
+ * @defaultValue 'default'
249
+ * @public
250
250
  * */ _define_property(_assert_this_initialized(_this), "openType", void 0);
251
- /**
252
- * openType=modal表单模式,formKey为绑定的表单
253
- * @defaultValue ''
254
- * @public
251
+ /**
252
+ * openType=modal表单模式,formKey为绑定的表单
253
+ * @defaultValue ''
254
+ * @public
255
255
  * */ _define_property(_assert_this_initialized(_this), "formKey", void 0);
256
- /**
257
- * 使用自定义高度
258
- * @defaultValue false
259
- * @public
256
+ /**
257
+ * 使用自定义高度
258
+ * @defaultValue false
259
+ * @public
260
260
  * */ _define_property(_assert_this_initialized(_this), "useCustomHeight", void 0);
261
- /**
262
- * 用户自定义最大高度,默认480
263
- * @defaultValue 480
264
- * @public
261
+ /**
262
+ * 用户自定义最大高度,默认480
263
+ * @defaultValue 480
264
+ * @public
265
265
  * */ _define_property(_assert_this_initialized(_this), "maxHeight", void 0);
266
- /**
267
- * 可以新增
266
+ /**
267
+ * 可以新增
268
268
  * */ _define_property(_assert_this_initialized(_this), "canAdd", void 0);
269
- /**
270
- * 可以删除
269
+ /**
270
+ * 可以删除
271
271
  * */ _define_property(_assert_this_initialized(_this), "canDelete", void 0);
272
- /**
273
- * 可以查看
272
+ /**
273
+ * 可以查看
274
274
  * */ _define_property(_assert_this_initialized(_this), "canCheck", void 0);
275
- /**
276
- * 可以编辑
275
+ /**
276
+ * 可以编辑
277
277
  * */ _define_property(_assert_this_initialized(_this), "canEdit", void 0);
278
- /**
279
- * 可以导入
278
+ /**
279
+ * 可以导入
280
280
  * */ _define_property(_assert_this_initialized(_this), "canImport", void 0);
281
- /**
282
- * 导入配置
281
+ /**
282
+ * 导入配置
283
283
  * */ _define_property(_assert_this_initialized(_this), "importConfig", void 0);
284
- /**
285
- * 可以导出
284
+ /**
285
+ * 可以导出
286
286
  * */ _define_property(_assert_this_initialized(_this), "canExport", void 0);
287
- /**
288
- * 导出配置
287
+ /**
288
+ * 导出配置
289
289
  * */ _define_property(_assert_this_initialized(_this), "exportConfig", void 0);
290
- /**
291
- * 可以清除
290
+ /**
291
+ * 可以清除
292
292
  * */ _define_property(_assert_this_initialized(_this), "canClear", void 0);
293
- /**
294
- * 是否展示粘贴按钮
293
+ /**
294
+ * 是否展示粘贴按钮
295
295
  * */ _define_property(_assert_this_initialized(_this), "isPaste", void 0);
296
- /**
297
- * 移动端展现形式 tile=平铺|list=列表
298
- * @defaultValue 'list'
299
- * @public
296
+ /**
297
+ * 移动端展现形式 tile=平铺|list=列表
298
+ * @defaultValue 'list'
299
+ * @public
300
300
  * */ _define_property(_assert_this_initialized(_this), "mobileShowType", void 0);
301
- /**
302
- * 移动端默认展示条数
303
- * @defaultValue tile 5 | list 10
304
- * @public
301
+ /**
302
+ * 移动端默认展示条数
303
+ * @defaultValue tile 5 | list 10
304
+ * @public
305
305
  * */ _define_property(_assert_this_initialized(_this), "mobileDefaultNum", void 0);
306
- /**
307
- * 数据收起简述
308
- * @defaultValue
309
- * @public
306
+ /**
307
+ * 数据收起简述
308
+ * @defaultValue
309
+ * @public
310
310
  * */ _define_property(_assert_this_initialized(_this), "dataStorageDoc", void 0);
311
- /**
312
- * 开启后端分页
311
+ /**
312
+ * 开启后端分页
313
313
  * */ _define_property(_assert_this_initialized(_this), "serverPagination", void 0);
314
- /**
315
- * 固定列 字段
316
- * @defaultValue []
317
- * @public
314
+ /**
315
+ * 固定列 字段
316
+ * @defaultValue []
317
+ * @public
318
318
  * */ _define_property(_assert_this_initialized(_this), "fixedColumn", void 0);
319
- /**
320
- * 移动端平铺行展示标题
321
- * @defaultValue '明细'
322
- * @public
319
+ /**
320
+ * 移动端平铺行展示标题
321
+ * @defaultValue '明细'
322
+ * @public
323
323
  * */ _define_property(_assert_this_initialized(_this), "mobileRowCaption", void 0);
324
- /**
325
- * 移动端平铺数据流开关
326
- * @defaultValue false
327
- * @public
324
+ /**
325
+ * 移动端平铺数据流开关
326
+ * @defaultValue false
327
+ * @public
328
328
  * */ _define_property(_assert_this_initialized(_this), "mobileIsTile", void 0);
329
- /**
330
- * 是否开启数据排序
331
- * @defaultValue false
332
- * @public
329
+ /**
330
+ * 是否开启数据排序
331
+ * @defaultValue false
332
+ * @public
333
333
  * */ _define_property(_assert_this_initialized(_this), "sortable", void 0);
334
- /**
335
- * 排序or筛选字段
334
+ /**
335
+ * 排序or筛选字段
336
336
  * */ _define_property(_assert_this_initialized(_this), "sortKey", void 0);
337
337
  var _props_caption;
338
338
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SubTableControl.controlName;
@@ -388,7 +388,7 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
388
388
  var _props_fixedColumn;
389
389
  _this.fixedColumn = (_props_fixedColumn = props === null || props === void 0 ? void 0 : props.fixedColumn) !== null && _props_fixedColumn !== void 0 ? _props_fixedColumn : [];
390
390
  var _props_mobileRowCaption;
391
- _this.mobileRowCaption = (_props_mobileRowCaption = props === null || props === void 0 ? void 0 : props.mobileRowCaption) !== null && _props_mobileRowCaption !== void 0 ? _props_mobileRowCaption : '明细';
391
+ _this.mobileRowCaption = (_props_mobileRowCaption = props === null || props === void 0 ? void 0 : props.mobileRowCaption) !== null && _props_mobileRowCaption !== void 0 ? _props_mobileRowCaption : RulesMessage.getMessage('detailed');
392
392
  var _props_mobileIsTile;
393
393
  _this.mobileIsTile = (_props_mobileIsTile = props === null || props === void 0 ? void 0 : props.mobileIsTile) !== null && _props_mobileIsTile !== void 0 ? _props_mobileIsTile : false;
394
394
  var _props_isPaste;