@byteluck-fe/model-driven-controls 7.0.0-props.52 → 7.0.0-props.54

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.
@@ -87,7 +87,6 @@ function _is_native_reflect_construct() {
87
87
  import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
88
88
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
89
  import BarcodeProperty from './property';
90
- import { getLocaleText } from '@byteluck-fe/locale-message';
91
90
  var BarcodeControl = /*#__PURE__*/ function(DesignerFormControl) {
92
91
  "use strict";
93
92
  _inherits(BarcodeControl, DesignerFormControl);
@@ -104,7 +103,7 @@ var BarcodeControl = /*#__PURE__*/ function(DesignerFormControl) {
104
103
  {
105
104
  key: "controlName",
106
105
  get: function get() {
107
- return getLocaleText('CMD.barcode', null, '条形码');
106
+ return '条形码';
108
107
  }
109
108
  },
110
109
  {
@@ -132,10 +131,6 @@ _define_property(BarcodeControl, "setting", [
132
131
  key: 'data-bind',
133
132
  visible: true
134
133
  },
135
- {
136
- key: 'field-type',
137
- visible: true
138
- },
139
134
  {
140
135
  key: 'caption',
141
136
  showItems: [
@@ -169,75 +164,68 @@ _define_property(BarcodeControl, "setting", [
169
164
  {
170
165
  key: 'common-group',
171
166
  visible: true,
172
- label: getLocaleText('CMD.propsSetting', null, '属性设置'),
167
+ label: '属性设置',
173
168
  children: [
174
- {
175
- key: 'common-input',
176
- visible: true,
177
- name: 'codeContent',
178
- layout: 'horizontal',
179
- label: getLocaleText('CMD.barcodeContent', null, '条码内容')
180
- },
181
169
  {
182
170
  key: 'common-input-number',
183
171
  visible: true,
184
172
  name: 'codeHeight',
185
173
  layout: 'horizontal',
186
- label: getLocaleText('CMD.barcodeHeightPx', null, '条码高度(px)')
174
+ label: '条码高度(px)'
187
175
  },
188
176
  {
189
177
  key: 'common-input-number',
190
178
  visible: true,
191
179
  name: 'codeWidth',
192
180
  layout: 'horizontal',
193
- label: getLocaleText('CMD.barcodeWidthPx', null, '条码宽度(px)')
181
+ label: '条码宽度(px)'
194
182
  },
195
183
  {
196
184
  key: 'common-input-number',
197
185
  visible: true,
198
186
  name: 'codeMargin',
199
187
  layout: 'horizontal',
200
- label: getLocaleText('CMD.barcodeMarginPx', null, '边距(px)')
188
+ label: '边距(px)'
201
189
  }
202
190
  ]
203
191
  },
204
192
  {
205
193
  key: 'common-group',
206
194
  visible: true,
207
- label: getLocaleText('CMD.styleSetting', null, '样式设置'),
195
+ label: '样式设置',
208
196
  children: [
209
197
  {
210
198
  key: 'color',
211
199
  visible: true,
212
200
  name: 'backgroundColor',
213
201
  layout: 'horizontal',
214
- label: getLocaleText('CMD.backgroundColor', null, '背景色')
202
+ label: '背景色'
215
203
  },
216
204
  {
217
205
  key: 'color',
218
206
  visible: true,
219
207
  name: 'barcodeColor',
220
208
  layout: 'horizontal',
221
- label: getLocaleText('CMD.barcodeColor', null, '条码颜色')
209
+ label: '条码颜色'
222
210
  },
223
211
  {
224
212
  key: 'common-button-radio',
225
213
  visible: true,
226
214
  name: 'align',
227
- label: getLocaleText('CMD.align', null, '对齐'),
215
+ label: '对齐',
228
216
  default: 'left',
229
217
  options: [
230
218
  {
231
219
  value: 'left',
232
- label: getLocaleText('CMD.left', null, '左对齐')
220
+ label: '左对齐'
233
221
  },
234
222
  {
235
223
  value: 'center',
236
- label: getLocaleText('CMD.center', null, '居中')
224
+ label: '居中'
237
225
  },
238
226
  {
239
227
  value: 'right',
240
- label: getLocaleText('CMD.right', null, '右对齐')
228
+ label: '右对齐'
241
229
  }
242
230
  ]
243
231
  }
@@ -75,7 +75,6 @@ function _is_native_reflect_construct() {
75
75
  * description: 条形码组件,用于展示或绑定一维条码内容。支持条码尺寸、边距、前景/背景色与对齐方式配置,适合物料编码、单据号等场景。
76
76
  */ import BarcodeControl from './designer';
77
77
  import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
78
- import { getLocaleText } from '@byteluck-fe/locale-message';
79
78
  var BarcodePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
80
79
  "use strict";
81
80
  _inherits(BarcodePropertyRules, BaseControlPropertyRules);
@@ -109,20 +108,19 @@ var BarcodeProperty = /*#__PURE__*/ function(BaseControlProperty) {
109
108
  function BarcodeProperty(props) {
110
109
  _class_call_check(this, BarcodeProperty);
111
110
  var _this;
112
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
111
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
113
112
  _this = _call_super(this, BarcodeProperty, [
114
113
  props
115
- ]), _define_property(_this, "defaultValue", void 0), _define_property(_this, "codeContent", void 0), _define_property(_this, "codeHeight", void 0), _define_property(_this, "codeWidth", void 0), _define_property(_this, "codeMargin", void 0), _define_property(_this, "backgroundColor", void 0), _define_property(_this, "barcodeColor", void 0), _define_property(_this, "align", void 0);
114
+ ]), _define_property(_this, "defaultValue", void 0), _define_property(_this, "codeHeight", void 0), _define_property(_this, "codeWidth", void 0), _define_property(_this, "codeMargin", void 0), _define_property(_this, "backgroundColor", void 0), _define_property(_this, "barcodeColor", void 0), _define_property(_this, "align", void 0);
116
115
  _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : BarcodeControl.controlName;
117
- _this.placeholder = (_ref1 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.pleaseEnter', null, '请输入');
116
+ _this.placeholder = (_ref1 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref1 !== void 0 ? _ref1 : '请输入';
118
117
  _this.defaultValue = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
119
- _this.codeContent = (_ref3 = props === null || props === void 0 ? void 0 : props.codeContent) !== null && _ref3 !== void 0 ? _ref3 : '';
120
- _this.codeHeight = (_ref4 = props === null || props === void 0 ? void 0 : props.codeHeight) !== null && _ref4 !== void 0 ? _ref4 : 40;
121
- _this.codeWidth = (_ref5 = props === null || props === void 0 ? void 0 : props.codeWidth) !== null && _ref5 !== void 0 ? _ref5 : 200;
122
- _this.codeMargin = (_ref6 = props === null || props === void 0 ? void 0 : props.codeMargin) !== null && _ref6 !== void 0 ? _ref6 : 0;
123
- _this.backgroundColor = (_ref7 = props === null || props === void 0 ? void 0 : props.backgroundColor) !== null && _ref7 !== void 0 ? _ref7 : '#ffffff';
124
- _this.barcodeColor = (_ref8 = props === null || props === void 0 ? void 0 : props.barcodeColor) !== null && _ref8 !== void 0 ? _ref8 : '#000000';
125
- _this.align = (_ref9 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref9 !== void 0 ? _ref9 : 'left';
118
+ _this.codeHeight = (_ref3 = props === null || props === void 0 ? void 0 : props.codeHeight) !== null && _ref3 !== void 0 ? _ref3 : 40;
119
+ _this.codeWidth = (_ref4 = props === null || props === void 0 ? void 0 : props.codeWidth) !== null && _ref4 !== void 0 ? _ref4 : 200;
120
+ _this.codeMargin = (_ref5 = props === null || props === void 0 ? void 0 : props.codeMargin) !== null && _ref5 !== void 0 ? _ref5 : 0;
121
+ _this.backgroundColor = (_ref6 = props === null || props === void 0 ? void 0 : props.backgroundColor) !== null && _ref6 !== void 0 ? _ref6 : '#ffffff';
122
+ _this.barcodeColor = (_ref7 = props === null || props === void 0 ? void 0 : props.barcodeColor) !== null && _ref7 !== void 0 ? _ref7 : '#000000';
123
+ _this.align = (_ref8 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref8 !== void 0 ? _ref8 : 'left';
126
124
  return _this;
127
125
  }
128
126
  return BarcodeProperty;
@@ -87,7 +87,6 @@ function _is_native_reflect_construct() {
87
87
  import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
88
88
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
89
  import QrCodeProperty from './property';
90
- import { getLocaleText } from '@byteluck-fe/locale-message';
91
90
  var QrCodeControl = /*#__PURE__*/ function(DesignerFormControl) {
92
91
  "use strict";
93
92
  _inherits(QrCodeControl, DesignerFormControl);
@@ -104,7 +103,7 @@ var QrCodeControl = /*#__PURE__*/ function(DesignerFormControl) {
104
103
  {
105
104
  key: "controlName",
106
105
  get: function get() {
107
- return getLocaleText('CMD.qrCode', null, '二维码');
106
+ return '二维码';
108
107
  }
109
108
  },
110
109
  {
@@ -132,10 +131,6 @@ _define_property(QrCodeControl, "setting", [
132
131
  key: 'data-bind',
133
132
  visible: true
134
133
  },
135
- {
136
- key: 'field-type',
137
- visible: true
138
- },
139
134
  {
140
135
  key: 'caption',
141
136
  showItems: [
@@ -169,18 +164,18 @@ _define_property(QrCodeControl, "setting", [
169
164
  {
170
165
  key: 'common-group',
171
166
  visible: true,
172
- label: getLocaleText('CMD.propsSetting', null, '属性设置'),
167
+ label: '属性设置',
173
168
  children: [
174
169
  {
175
170
  key: 'common-select',
176
171
  visible: true,
177
172
  name: 'qrVersion',
178
- label: getLocaleText('CMD.qrVersion', null, '二维码版本'),
173
+ label: '二维码版本',
179
174
  default: 'auto',
180
175
  options: [
181
176
  {
182
177
  value: 'auto',
183
- label: getLocaleText('CMD.auto', null, '自动')
178
+ label: '自动'
184
179
  },
185
180
  {
186
181
  value: '1',
@@ -228,7 +223,7 @@ _define_property(QrCodeControl, "setting", [
228
223
  key: 'common-select',
229
224
  visible: true,
230
225
  name: 'errorCorrectionLevel',
231
- label: getLocaleText('CMD.errorCorrectionLevel', null, '容错级别'),
226
+ label: '容错级别',
232
227
  default: 'M',
233
228
  options: [
234
229
  {
@@ -253,20 +248,20 @@ _define_property(QrCodeControl, "setting", [
253
248
  key: 'common-button-radio',
254
249
  visible: true,
255
250
  name: 'codeMode',
256
- label: getLocaleText('CMD.codeMode', null, '码制'),
251
+ label: '码制',
257
252
  default: 'byte',
258
253
  options: [
259
254
  {
260
255
  value: 'byte',
261
- label: getLocaleText('CMD.byte', null, '字节')
256
+ label: '字节'
262
257
  },
263
258
  {
264
259
  value: 'numeric',
265
- label: getLocaleText('CMD.numeric', null, '数字')
260
+ label: '数字'
266
261
  },
267
262
  {
268
263
  value: 'alphanumeric',
269
- label: getLocaleText('CMD.alphanumeric', null, '字母数字')
264
+ label: '字母数字'
270
265
  }
271
266
  ]
272
267
  },
@@ -275,54 +270,54 @@ _define_property(QrCodeControl, "setting", [
275
270
  visible: true,
276
271
  name: 'size',
277
272
  layout: 'horizontal',
278
- label: getLocaleText('CMD.sizePx', null, '尺寸(px)')
273
+ label: '尺寸(px)'
279
274
  },
280
275
  {
281
276
  key: 'common-input-number',
282
277
  visible: true,
283
278
  name: 'codeMargin',
284
279
  layout: 'horizontal',
285
- label: getLocaleText('CMD.qrCodeMarginPx', null, '边距(px)')
280
+ label: '边距(px)'
286
281
  }
287
282
  ]
288
283
  },
289
284
  {
290
285
  key: 'common-group',
291
286
  visible: true,
292
- label: getLocaleText('CMD.styleSetting', null, '样式设置'),
287
+ label: '样式设置',
293
288
  children: [
294
289
  {
295
290
  key: 'color',
296
291
  visible: true,
297
292
  name: 'backgroundColor',
298
293
  layout: 'horizontal',
299
- label: getLocaleText('CMD.backgroundColor', null, '背景色')
294
+ label: '背景色'
300
295
  },
301
296
  {
302
297
  key: 'color',
303
298
  visible: true,
304
- name: 'barcodeColor',
299
+ name: 'qrcodeColor',
305
300
  layout: 'horizontal',
306
- label: getLocaleText('CMD.qrCodeColor', null, '条码颜色')
301
+ label: '二维码颜色'
307
302
  },
308
303
  {
309
304
  key: 'common-button-radio',
310
305
  visible: true,
311
306
  name: 'align',
312
- label: getLocaleText('CMD.align', null, '对齐'),
307
+ label: '对齐',
313
308
  default: 'left',
314
309
  options: [
315
310
  {
316
311
  value: 'left',
317
- label: getLocaleText('CMD.left', null, '左对齐')
312
+ label: '左对齐'
318
313
  },
319
314
  {
320
315
  value: 'center',
321
- label: getLocaleText('CMD.center', null, '居中')
316
+ label: '居中'
322
317
  },
323
318
  {
324
319
  value: 'right',
325
- label: getLocaleText('CMD.right', null, '右对齐')
320
+ label: '右对齐'
326
321
  }
327
322
  ]
328
323
  }
@@ -75,7 +75,6 @@ function _is_native_reflect_construct() {
75
75
  * description: 二维码组件,用于展示或绑定二维码内容。支持尺寸、边距、前景/背景色与对齐方式配置,适合链接、单据追溯等场景。
76
76
  */ import QrCodeControl from './designer';
77
77
  import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
78
- import { getLocaleText } from '@byteluck-fe/locale-message';
79
78
  var QrCodePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
80
79
  "use strict";
81
80
  _inherits(QrCodePropertyRules, BaseControlPropertyRules);
@@ -112,9 +111,9 @@ var QrCodeProperty = /*#__PURE__*/ function(BaseControlProperty) {
112
111
  var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
113
112
  _this = _call_super(this, QrCodeProperty, [
114
113
  props
115
- ]), _define_property(_this, "defaultValue", void 0), _define_property(_this, "qrVersion", void 0), _define_property(_this, "errorCorrectionLevel", void 0), _define_property(_this, "codeMode", void 0), _define_property(_this, "size", void 0), _define_property(_this, "codeMargin", void 0), _define_property(_this, "backgroundColor", void 0), _define_property(_this, "barcodeColor", void 0), _define_property(_this, "align", void 0);
114
+ ]), _define_property(_this, "defaultValue", void 0), _define_property(_this, "qrVersion", void 0), _define_property(_this, "errorCorrectionLevel", void 0), _define_property(_this, "codeMode", void 0), _define_property(_this, "size", void 0), _define_property(_this, "codeMargin", void 0), _define_property(_this, "backgroundColor", void 0), _define_property(_this, "qrColor", void 0), _define_property(_this, "align", void 0);
116
115
  _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : QrCodeControl.controlName;
117
- _this.placeholder = (_ref1 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.pleaseEnter', null, '请输入');
116
+ _this.placeholder = (_ref1 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref1 !== void 0 ? _ref1 : '请输入';
118
117
  _this.defaultValue = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
119
118
  _this.qrVersion = (_ref3 = props === null || props === void 0 ? void 0 : props.qrVersion) !== null && _ref3 !== void 0 ? _ref3 : 'auto';
120
119
  _this.errorCorrectionLevel = (_ref4 = props === null || props === void 0 ? void 0 : props.errorCorrectionLevel) !== null && _ref4 !== void 0 ? _ref4 : 'M';
@@ -122,7 +121,7 @@ var QrCodeProperty = /*#__PURE__*/ function(BaseControlProperty) {
122
121
  _this.size = (_ref6 = props === null || props === void 0 ? void 0 : props.size) !== null && _ref6 !== void 0 ? _ref6 : 160;
123
122
  _this.codeMargin = (_ref7 = props === null || props === void 0 ? void 0 : props.codeMargin) !== null && _ref7 !== void 0 ? _ref7 : 0;
124
123
  _this.backgroundColor = (_ref8 = props === null || props === void 0 ? void 0 : props.backgroundColor) !== null && _ref8 !== void 0 ? _ref8 : '#ffffff';
125
- _this.barcodeColor = (_ref9 = props === null || props === void 0 ? void 0 : props.barcodeColor) !== null && _ref9 !== void 0 ? _ref9 : '#000000';
124
+ _this.qrColor = (_ref9 = props === null || props === void 0 ? void 0 : props.qrColor) !== null && _ref9 !== void 0 ? _ref9 : '#000000';
126
125
  _this.align = (_ref10 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref10 !== void 0 ? _ref10 : 'left';
127
126
  return _this;
128
127
  }
@@ -87,7 +87,6 @@ function _is_native_reflect_construct() {
87
87
  import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
88
88
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
89
  import SliderProperty from './property';
90
- import { getLocaleText } from '@byteluck-fe/locale-message';
91
90
  var SliderControl = /*#__PURE__*/ function(DesignerFormControl) {
92
91
  "use strict";
93
92
  _inherits(SliderControl, DesignerFormControl);
@@ -104,7 +103,7 @@ var SliderControl = /*#__PURE__*/ function(DesignerFormControl) {
104
103
  {
105
104
  key: "controlName",
106
105
  get: function get() {
107
- return getLocaleText('CMD.slider', null, '滑块');
106
+ return '滑块';
108
107
  }
109
108
  },
110
109
  {
@@ -116,7 +115,7 @@ var SliderControl = /*#__PURE__*/ function(DesignerFormControl) {
116
115
  {
117
116
  key: "controlIcon",
118
117
  get: function get() {
119
- return 'iconjishuqi';
118
+ return 'iconhuakuai';
120
119
  }
121
120
  }
122
121
  ]);
@@ -75,7 +75,6 @@ function _is_native_reflect_construct() {
75
75
  }
76
76
  import SliderControl from './designer';
77
77
  import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, initOptions } from '@byteluck-fe/model-driven-core';
78
- import { getLocaleText } from '@byteluck-fe/locale-message';
79
78
  var SliderPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
80
79
  "use strict";
81
80
  _inherits(SliderPropertyRules, BaseControlPropertyRules);
@@ -89,7 +88,7 @@ var SliderPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
89
88
  type: 'number',
90
89
  min: 0,
91
90
  max: 100,
92
- message: getLocaleText('CMD.pleaseEnterNumberRange', null, '请输入大于等于{min}且小于等于{max}的数值')
91
+ message: '请输入大于等于{min}且小于等于{max}的数值'
93
92
  }
94
93
  ]), _define_property(_this, "max", {
95
94
  type: 'any'
@@ -98,15 +97,12 @@ var SliderPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
98
97
  var valueMin = props.min === '' ? undefined : props.min;
99
98
  _this.defaultValue[0].max = valueMax;
100
99
  _this.defaultValue[0].min = valueMin;
101
- _this.defaultValue[0].message = getLocaleText('CMD.pleaseEnterNumberRange', {
102
- max: valueMax,
103
- min: valueMin
104
- }, '请输入大于等于{min}且小于等于{max}的数值');
100
+ _this.defaultValue[0].message = '请输入大于等于{min}且小于等于{max}的数值';
105
101
  if (valueMin !== undefined && valueMax !== undefined) {
106
102
  _this.max = {
107
103
  type: 'number',
108
104
  min: valueMin,
109
- message: getLocaleText('CMD.numberRangeSetError', null, '数值范围设置有误')
105
+ message: '数值范围设置有误'
110
106
  };
111
107
  }
112
108
  return _this;
@@ -131,10 +127,7 @@ var SliderPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRunti
131
127
  type: 'number',
132
128
  min: valueMin,
133
129
  max: valueMax,
134
- message: getLocaleText(valueMax === undefined ? 'CMD.pleaseEnterAValueGreaterThanMin' : valueMin === undefined ? 'CMD.pleaseEnterAValueLessThanMax' : 'CMD.pleaseEnterNumberRange', {
135
- max: valueMax,
136
- min: valueMin
137
- }, valueMax === undefined ? getLocaleText('CMD.pleaseEnterAValueGreaterThanMin', null, '请输入大于等于{min}的数值') : valueMin === undefined ? getLocaleText('CMD.pleaseEnterAValueLessThanMax', null, '请输入小于等于{max}的数值') : getLocaleText('CMD.pleaseEnterNumberRange', null, '请输入大于等于{min}且小于等于{max}的数值'))
130
+ message: valueMax === undefined ? '请输入大于等于{min}的数值' : valueMin === undefined ? '请输入小于等于{max}的数值' : '请输入大于等于{min}且小于等于{max}的数值'
138
131
  });
139
132
  return _this;
140
133
  }
@@ -87,7 +87,6 @@ function _is_native_reflect_construct() {
87
87
  import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
88
88
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
89
  import SwitchProperty from './property';
90
- import { getLocaleText } from '@byteluck-fe/locale-message';
91
90
  var SwitchControl = /*#__PURE__*/ function(DesignerFormControl) {
92
91
  "use strict";
93
92
  _inherits(SwitchControl, DesignerFormControl);
@@ -104,13 +103,13 @@ var SwitchControl = /*#__PURE__*/ function(DesignerFormControl) {
104
103
  {
105
104
  key: "controlName",
106
105
  get: function get() {
107
- return getLocaleText('CMD.switch', null, '开关');
106
+ return '开关';
108
107
  }
109
108
  },
110
109
  {
111
110
  key: "controlIcon",
112
111
  get: function get() {
113
- return 'iconkaiguan';
112
+ return 'iconkaiguanguan';
114
113
  }
115
114
  },
116
115
  {
@@ -162,16 +161,16 @@ _define_property(SwitchControl, "setting", [
162
161
  key: 'common-button-radio',
163
162
  visible: true,
164
163
  name: 'defaultValue',
165
- label: getLocaleText('CMD.defaultStatus', null, '开关状态'),
164
+ label: '开关状态',
166
165
  default: 0,
167
166
  options: [
168
167
  {
169
168
  value: 1,
170
- label: getLocaleText('CMD.on', null, '开启')
169
+ label: '开启'
171
170
  },
172
171
  {
173
172
  value: 0,
174
- label: getLocaleText('CMD.off', null, '关闭')
173
+ label: '关闭'
175
174
  }
176
175
  ]
177
176
  },
@@ -179,65 +178,65 @@ _define_property(SwitchControl, "setting", [
179
178
  key: 'common-button-radio',
180
179
  visible: true,
181
180
  name: 'textDisplayStyle',
182
- label: getLocaleText('CMD.switchTextDisplayStyle', null, '文字展示样式'),
181
+ label: '文字展示样式',
183
182
  default: 'inside',
184
183
  options: [
185
184
  {
186
185
  value: 'inside',
187
- label: getLocaleText('CMD.insideSwitch', null, '开关内')
186
+ label: '开关内'
188
187
  },
189
188
  {
190
189
  value: 'outside',
191
- label: getLocaleText('CMD.outsideSwitch', null, '开关外')
190
+ label: '开关外'
192
191
  }
193
192
  ]
194
193
  },
195
194
  {
196
195
  key: 'common-group',
197
196
  visible: true,
198
- label: getLocaleText('CMD.propsSetting', null, '属性设置'),
197
+ label: '属性设置',
199
198
  children: [
200
199
  {
201
200
  key: 'common-input',
202
201
  visible: true,
203
202
  name: 'checkedText',
204
203
  layout: 'horizontal',
205
- label: getLocaleText('CMD.checkedText', null, '开启文字')
204
+ label: '开启文字'
206
205
  },
207
206
  {
208
207
  key: 'color',
209
208
  visible: true,
210
209
  name: 'checkedTextColor',
211
210
  layout: 'horizontal',
212
- label: getLocaleText('CMD.checkedTextColor', null, '开启文字颜色')
211
+ label: '开启文字颜色'
213
212
  },
214
213
  {
215
214
  key: 'color',
216
215
  visible: true,
217
216
  name: 'checkedBackgroundColor',
218
217
  layout: 'horizontal',
219
- label: getLocaleText('CMD.checkedBgColor', null, '开启背景颜色')
218
+ label: '开启背景颜色'
220
219
  },
221
220
  {
222
221
  key: 'common-input',
223
222
  visible: true,
224
223
  name: 'uncheckedText',
225
224
  layout: 'horizontal',
226
- label: getLocaleText('CMD.checkedText', null, '关闭文字')
225
+ label: '关闭文字'
227
226
  },
228
227
  {
229
228
  key: 'color',
230
229
  visible: true,
231
230
  name: 'uncheckedTextColor',
232
231
  layout: 'horizontal',
233
- label: getLocaleText('CMD.uncheckedTextColor', null, '关闭文字颜色')
232
+ label: '关闭文字颜色'
234
233
  },
235
234
  {
236
235
  key: 'color',
237
236
  visible: true,
238
237
  name: 'uncheckedBackgroundColor',
239
238
  layout: 'horizontal',
240
- label: getLocaleText('CMD.uncheckedBackgroundColor', null, '关闭背景颜色')
239
+ label: '关闭背景颜色'
241
240
  }
242
241
  ]
243
242
  },