@byteluck-fe/model-driven-controls 2.22.2-beta.10 → 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 { SearchControlProperty, PropertyRuntimeRules, OperationItem } from '@byteluck-fe/model-driven-core';
86
+ import { RulesMessage } from '@byteluck-fe/model-driven-shared';
86
87
  var SimpleSearchControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
87
88
  "use strict";
88
89
  _inherits(SimpleSearchControlPropertyRuntimeRules, PropertyRuntimeRules);
@@ -99,9 +100,9 @@ var SimpleSearchControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRun
99
100
  }
100
101
  return SimpleSearchControlPropertyRuntimeRules;
101
102
  }(PropertyRuntimeRules);
102
- /**
103
- * SimpleSearch 搜索栏
104
- * @public
103
+ /**
104
+ * SimpleSearch 搜索栏
105
+ * @public
105
106
  */ var SimpleSearchControlProperty = /*#__PURE__*/ function(SearchControlProperty) {
106
107
  "use strict";
107
108
  _inherits(SimpleSearchControlProperty, SearchControlProperty);
@@ -110,59 +111,59 @@ var SimpleSearchControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRun
110
111
  _class_call_check(this, SimpleSearchControlProperty);
111
112
  var _this;
112
113
  _this = _super.call(this, props);
113
- /**
114
- * 查询按钮
115
- * @public
114
+ /**
115
+ * 查询按钮
116
+ * @public
116
117
  */ _define_property(_assert_this_initialized(_this), "search", void 0);
117
- /**
118
- * 取消按钮
119
- * @public
118
+ /**
119
+ * 取消按钮
120
+ * @public
120
121
  */ _define_property(_assert_this_initialized(_this), "cancel", void 0);
121
- /**
122
- * 查询类型
123
- * @defaultValue 'model'
124
- * @public
122
+ /**
123
+ * 查询类型
124
+ * @defaultValue 'model'
125
+ * @public
125
126
  */ _define_property(_assert_this_initialized(_this), "searchType", void 0);
126
- /**
127
- * 标题布局
128
- * @defaultValue 'top'
129
- * @public
127
+ /**
128
+ * 标题布局
129
+ * @defaultValue 'top'
130
+ * @public
130
131
  */ _define_property(_assert_this_initialized(_this), "labelPosition", void 0);
131
- /**
132
- * 默认状态
133
- * @defaultValue 'mini'
134
- * @public
132
+ /**
133
+ * 默认状态
134
+ * @defaultValue 'mini'
135
+ * @public
135
136
  */ _define_property(_assert_this_initialized(_this), "viewType", void 0);
136
- /**
137
- * 加载中
138
- * @defaultValue false
139
- * @public
137
+ /**
138
+ * 加载中
139
+ * @defaultValue false
140
+ * @public
140
141
  */ _define_property(_assert_this_initialized(_this), "isLoading", void 0);
141
142
  _define_property(_assert_this_initialized(_this), "custom", void 0);
142
- /**
143
- * 筛选条件-查询设置
144
- * @defaultValue []
145
- * @public
143
+ /**
144
+ * 筛选条件-查询设置
145
+ * @defaultValue []
146
+ * @public
146
147
  */ _define_property(_assert_this_initialized(_this), "queryTypeMap", void 0);
147
- /**
148
- * 控件宽度最小值
149
- * @defaultValue 230
150
- * @public
148
+ /**
149
+ * 控件宽度最小值
150
+ * @defaultValue 230
151
+ * @public
151
152
  */ _define_property(_assert_this_initialized(_this), "childMinWidth", void 0);
152
- /**
153
- * 控件间距
154
- * @defaultValue 24
155
- * @public
153
+ /**
154
+ * 控件间距
155
+ * @defaultValue 24
156
+ * @public
156
157
  */ _define_property(_assert_this_initialized(_this), "colGap", void 0);
157
- /**
158
- * 查询方案字段
159
- * @defaultValue []
160
- * @public
158
+ /**
159
+ * 查询方案字段
160
+ * @defaultValue []
161
+ * @public
161
162
  */ _define_property(_assert_this_initialized(_this), "viewConfig", void 0);
162
- /**
163
- * 普通筛选项查询字段
164
- * @defaultValue []
165
- * @public
163
+ /**
164
+ * 普通筛选项查询字段
165
+ * @defaultValue []
166
+ * @public
166
167
  */ _define_property(_assert_this_initialized(_this), "simpleConfig", void 0);
167
168
  var _props_searchType;
168
169
  _this.searchType = (_props_searchType = props === null || props === void 0 ? void 0 : props.searchType) !== null && _props_searchType !== void 0 ? _props_searchType : 'model';
@@ -172,12 +173,12 @@ var SimpleSearchControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRun
172
173
  _this.viewType = (_props_viewType = props === null || props === void 0 ? void 0 : props.viewType) !== null && _props_viewType !== void 0 ? _props_viewType : 'mini';
173
174
  var _props_search;
174
175
  _this.search = new OperationItem((_props_search = props === null || props === void 0 ? void 0 : props.search) !== null && _props_search !== void 0 ? _props_search : {
175
- content: '查询',
176
+ content: RulesMessage.getMessage('query'),
176
177
  isShow: true
177
178
  });
178
179
  var _props_cancel;
179
180
  _this.cancel = new OperationItem((_props_cancel = props === null || props === void 0 ? void 0 : props.cancel) !== null && _props_cancel !== void 0 ? _props_cancel : {
180
- content: '重置',
181
+ content: RulesMessage.getMessage('reset'),
181
182
  isShow: true
182
183
  });
183
184
  var _props_isLoading;