@byteluck-fe/model-driven-controls 7.0.0-props.26 → 7.0.0-props.28

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.
Files changed (27) hide show
  1. package/dist/esm/baseControls/Divider/designer.js +8 -8
  2. package/dist/esm/baseControls/Link/designer.js +6 -6
  3. package/dist/esm/formControls/Cascader/designer.js +1 -1
  4. package/dist/esm/formControls/Checkbox/designer.js +0 -17
  5. package/dist/esm/formControls/Checkbox/property.js +5 -5
  6. package/dist/esm/formControls/Counter/designer.js +2 -1
  7. package/dist/esm/formControls/Image/designer.js +1 -1
  8. package/dist/esm/formControls/Radio/designer.js +3 -3
  9. package/dist/esm/formControls/Score/designer.js +2 -2
  10. package/dist/esm/formControls/Select/designer.js +3 -3
  11. package/dist/esm/formControls/SelectMultiple/designer.js +3 -3
  12. package/dist/esm/formControls/TimePicker/designer.js +2 -1
  13. package/dist/esm/formControls/TimePicker/property.js +2 -1
  14. package/dist/esm/formControls/TimeRange/designer.js +4 -3
  15. package/dist/esm/formControls/TimeRange/property.js +3 -2
  16. package/dist/esm/layoutControls/CardGroup/designer.js +42 -41
  17. package/dist/esm/layoutControls/Collapse/designer.js +5 -4
  18. package/dist/esm/layoutControls/CollapsePane/designer.js +2 -1
  19. package/dist/esm/layoutControls/CollapsePane/property.js +2 -1
  20. package/dist/esm/layoutControls/Step/designer.js +13 -13
  21. package/dist/esm/layoutControls/Tab/designer.js +10 -10
  22. package/dist/esm/listControls/SubTable/designer.js +3 -3
  23. package/dist/index.umd.js +1 -1
  24. package/dist/types/formControls/Checkbox/property.d.ts +0 -7
  25. package/dist/types/formControls/TimeRange/property.d.ts +2 -2
  26. package/dist/types/layoutControls/CollapsePane/property.d.ts +1 -1
  27. package/package.json +4 -4
@@ -148,20 +148,20 @@ _define_property(DividerControl, "setting", [
148
148
  key: 'common-button-radio',
149
149
  visible: true,
150
150
  name: 'position',
151
- label: '文字位置',
151
+ label: getLocaleText('CMD.30971774578990996'),
152
152
  default: 'left',
153
153
  options: [
154
154
  {
155
155
  value: 'left',
156
- label: '左对齐'
156
+ label: getLocaleText('CMD.77f61774579023852')
157
157
  },
158
158
  {
159
159
  value: 'center',
160
- label: '居中'
160
+ label: getLocaleText('CMD.c2061774579037651')
161
161
  },
162
162
  {
163
163
  value: 'right',
164
- label: '右对齐'
164
+ label: getLocaleText('CMD.92fa1774579025725')
165
165
  }
166
166
  ]
167
167
  },
@@ -169,20 +169,20 @@ _define_property(DividerControl, "setting", [
169
169
  key: 'common-button-radio',
170
170
  visible: true,
171
171
  name: 'verticalPosition',
172
- label: '文字垂直位置',
172
+ label: getLocaleText('CMD.e9f61774578968941'),
173
173
  default: 'middle',
174
174
  options: [
175
175
  {
176
176
  value: 'top',
177
- label: '线上'
177
+ label: getLocaleText('CMD.2bfb1774579038746')
178
178
  },
179
179
  {
180
180
  value: 'middle',
181
- label: '线中'
181
+ label: getLocaleText('CMD.9e231774579040279')
182
182
  },
183
183
  {
184
184
  value: 'bottom',
185
- label: '线下'
185
+ label: getLocaleText('CMD.36d71774579041637')
186
186
  }
187
187
  ]
188
188
  },
@@ -141,20 +141,20 @@ _define_property(LinkControl, "setting", [
141
141
  key: 'common-button-radio',
142
142
  visible: true,
143
143
  name: 'position',
144
- label: '文本位置',
144
+ label: getLocaleText('CMD.90741774578992730'),
145
145
  default: 'left',
146
146
  options: [
147
147
  {
148
148
  value: 'left',
149
- label: '左对齐'
149
+ label: getLocaleText('CMD.79471774579023855')
150
150
  },
151
151
  {
152
152
  value: 'center',
153
- label: '居中'
153
+ label: getLocaleText('CMD.3c361774579037653')
154
154
  },
155
155
  {
156
156
  value: 'right',
157
- label: '右对齐'
157
+ label: getLocaleText('CMD.9e811774579025727')
158
158
  }
159
159
  ]
160
160
  },
@@ -162,13 +162,13 @@ _define_property(LinkControl, "setting", [
162
162
  key: 'common-color-type',
163
163
  visible: true,
164
164
  name: 'color',
165
- label: '颜色'
165
+ label: getLocaleText('CMD.d1ed1774579042905')
166
166
  },
167
167
  {
168
168
  key: 'common-icon',
169
169
  visible: true,
170
170
  name: 'icon',
171
- label: '图标'
171
+ label: getLocaleText('CMD.1a781774579044216')
172
172
  },
173
173
  {
174
174
  key: 'script-setting',
@@ -104,7 +104,7 @@ var CascaderControl = /*#__PURE__*/ function(DesignerFormControl) {
104
104
  {
105
105
  key: "controlName",
106
106
  get: function get() {
107
- return '级联选择';
107
+ return getLocaleText('CMD.c8ad1774578994488');
108
108
  }
109
109
  },
110
110
  {
@@ -179,23 +179,6 @@ _define_property(CheckboxControl, "setting", [
179
179
  key: 'ai-content-search',
180
180
  visible: true
181
181
  },
182
- {
183
- key: 'common-button-radio',
184
- visible: true,
185
- name: 'type',
186
- label: '选项类型',
187
- default: 'default',
188
- options: [
189
- {
190
- value: 'default',
191
- label: '默认'
192
- },
193
- {
194
- value: 'button',
195
- label: '按钮'
196
- }
197
- ]
198
- },
199
182
  {
200
183
  key: 'options-setting',
201
184
  visible: true
@@ -128,7 +128,7 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
128
128
  function CheckboxProperty(props) {
129
129
  _class_call_check(this, CheckboxProperty);
130
130
  var _this;
131
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15;
131
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14;
132
132
  _this = _call_super(this, CheckboxProperty, [
133
133
  props
134
134
  ]), _define_property(_this, "checkboxMode", void 0), _define_property(_this, "options", void 0), _define_property(_this, "optionsOrder", void 0), _define_property(_this, "limitMax", void 0), _define_property(_this, "limitMin", void 0), _define_property(_this, "otherOption", void 0), _define_property(_this, "optionConfig", void 0), _define_property(_this, "optionsFormat", void 0), _define_property(_this, "defaultShowOptions", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "interreaction", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "openMultistageFilling", void 0), /**
@@ -138,7 +138,8 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
138
138
  */ _define_property(_this, "aiContentSearch", void 0), /**
139
139
  * 选项类型;default:默认;button:按钮;
140
140
  * @defaultValue default
141
- */ _define_property(_this, "type", void 0), /**
141
+ */ // public type: 'default' | 'button'
142
+ /**
142
143
  * 是否开启设置选项自定义颜色;仅当选项设置为自定义时该设置生效;
143
144
  * @defaultValue false
144
145
  */ _define_property(_this, "isUseCustomColor", void 0);
@@ -169,8 +170,7 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
169
170
  _this.optionsFormat = (_ref10 = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _ref10 !== void 0 ? _ref10 : 'horizontal';
170
171
  _this.defaultShowOptions = (_ref11 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref11 !== void 0 ? _ref11 : true;
171
172
  _this.openMultistageFilling = (_ref12 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref12 !== void 0 ? _ref12 : false;
172
- _this.type = (_ref13 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref13 !== void 0 ? _ref13 : 'default';
173
- _this.isUseCustomColor = (_ref14 = props === null || props === void 0 ? void 0 : props.isUseCustomColor) !== null && _ref14 !== void 0 ? _ref14 : false;
173
+ _this.isUseCustomColor = (_ref13 = props === null || props === void 0 ? void 0 : props.isUseCustomColor) !== null && _ref13 !== void 0 ? _ref13 : false;
174
174
  _this.multistageFilling = [];
175
175
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
176
176
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -178,7 +178,7 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
178
178
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
179
179
  });
180
180
  }
181
- _this.aiContentSearch = (_ref15 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref15 !== void 0 ? _ref15 : false;
181
+ _this.aiContentSearch = (_ref14 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref14 !== void 0 ? _ref14 : false;
182
182
  return _this;
183
183
  }
184
184
  return CheckboxProperty;
@@ -84,6 +84,7 @@ function _is_native_reflect_construct() {
84
84
  return !!result;
85
85
  })();
86
86
  }
87
+ import { getLocaleText } from '@byteluck-fe/locale-message';
87
88
  import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
88
89
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
89
90
  import CounterProperty from './property';
@@ -103,7 +104,7 @@ var CounterControl = /*#__PURE__*/ function(DesignerFormControl) {
103
104
  {
104
105
  key: "controlName",
105
106
  get: function get() {
106
- return '计数器';
107
+ return getLocaleText('CMD.78aa1774579027114');
107
108
  }
108
109
  },
109
110
  {
@@ -156,7 +156,7 @@ _define_property(ImageControl, "setting", [
156
156
  key: 'common-input',
157
157
  visible: true,
158
158
  name: 'describe',
159
- label: '描述信息'
159
+ label: getLocaleText('CMD.84591774578995829')
160
160
  },
161
161
  {
162
162
  key: 'label-position',
@@ -183,16 +183,16 @@ _define_property(RadioControl, "setting", [
183
183
  key: 'common-button-radio',
184
184
  visible: true,
185
185
  name: 'type',
186
- label: '选项类型',
186
+ label: getLocaleText('CMD.79a61774578997632'),
187
187
  default: 'default',
188
188
  options: [
189
189
  {
190
190
  value: 'default',
191
- label: '默认'
191
+ label: getLocaleText('CMD.a1171774579045618')
192
192
  },
193
193
  {
194
194
  value: 'button',
195
- label: '按钮'
195
+ label: getLocaleText('CMD.a4b41774579046938')
196
196
  }
197
197
  ]
198
198
  },
@@ -247,7 +247,7 @@ _define_property(ScoreControl, "setting", [
247
247
  key: 'common-color-type',
248
248
  visible: true,
249
249
  name: 'explainColor',
250
- label: '辅助文字颜色'
250
+ label: getLocaleText('CMD.71be1774578971263')
251
251
  },
252
252
  {
253
253
  key: 'score-type',
@@ -261,7 +261,7 @@ _define_property(ScoreControl, "setting", [
261
261
  key: 'common-switch',
262
262
  visible: true,
263
263
  name: 'isShowCurrentScore',
264
- label: '是否显示当前分数',
264
+ label: getLocaleText('CMD.ded61774578956109'),
265
265
  default: false
266
266
  },
267
267
  {
@@ -181,16 +181,16 @@ _define_property(SelectControl, "setting", [
181
181
  key: 'common-button-radio',
182
182
  visible: true,
183
183
  name: 'type',
184
- label: '选项类型',
184
+ label: getLocaleText('CMD.de501774578997633'),
185
185
  default: 'default',
186
186
  options: [
187
187
  {
188
188
  value: 'default',
189
- label: '默认'
189
+ label: getLocaleText('CMD.10a31774579045620')
190
190
  },
191
191
  {
192
192
  value: 'button',
193
- label: '按钮'
193
+ label: getLocaleText('CMD.db4d1774579046939')
194
194
  }
195
195
  ]
196
196
  },
@@ -180,16 +180,16 @@ _define_property(SelectMultipleControl, "setting", [
180
180
  key: 'common-button-radio',
181
181
  visible: true,
182
182
  name: 'type',
183
- label: '选项类型',
183
+ label: getLocaleText('CMD.6e421774578997634'),
184
184
  default: 'default',
185
185
  options: [
186
186
  {
187
187
  value: 'default',
188
- label: '默认'
188
+ label: getLocaleText('CMD.6e971774579045621')
189
189
  },
190
190
  {
191
191
  value: 'button',
192
- label: '按钮'
192
+ label: getLocaleText('CMD.2b401774579046940')
193
193
  }
194
194
  ]
195
195
  },
@@ -87,6 +87,7 @@ 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 TimePickerProperty from './property';
90
+ import { getLocaleText } from '@byteluck-fe/locale-message';
90
91
  var TimePickerControl = /*#__PURE__*/ function(DesignerFormControl) {
91
92
  "use strict";
92
93
  _inherits(TimePickerControl, DesignerFormControl);
@@ -103,7 +104,7 @@ var TimePickerControl = /*#__PURE__*/ function(DesignerFormControl) {
103
104
  {
104
105
  key: "controlName",
105
106
  get: function get() {
106
- return '时间';
107
+ return getLocaleText('CMD.9e0e1774579048265');
107
108
  }
108
109
  },
109
110
  {
@@ -76,6 +76,7 @@ function _is_native_reflect_construct() {
76
76
  */ import TimePickerControl from './designer';
77
77
  import { BaseControlProperty } from '@byteluck-fe/model-driven-core';
78
78
  import { LimitTime } from '../../framework';
79
+ import { getLocaleText } from '@byteluck-fe/locale-message';
79
80
  import { TimeType } from '@byteluck-fe/model-driven-shared';
80
81
  var TimePickerProperty = /*#__PURE__*/ function(BaseControlProperty) {
81
82
  "use strict";
@@ -91,7 +92,7 @@ var TimePickerProperty = /*#__PURE__*/ function(BaseControlProperty) {
91
92
  _this.timeType = (_ref = props === null || props === void 0 ? void 0 : props.timeType) !== null && _ref !== void 0 ? _ref : TimeType.HOURSEC;
92
93
  _this.format = (_ref1 = props === null || props === void 0 ? void 0 : props.format) !== null && _ref1 !== void 0 ? _ref1 : '';
93
94
  _this.caption = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : TimePickerControl.controlName;
94
- _this.placeholder = (_ref3 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref3 !== void 0 ? _ref3 : '请输入时间';
95
+ _this.placeholder = (_ref3 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref3 !== void 0 ? _ref3 : getLocaleText('CMD.c9dc1774578987545');
95
96
  _this.defaultValue = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref4 !== void 0 ? _ref4 : '';
96
97
  _this.limitTimeList = (_ref5 = props === null || props === void 0 ? void 0 : (_props_limitTimeList = props.limitTimeList) === null || _props_limitTimeList === void 0 ? void 0 : _props_limitTimeList.map(function(item) {
97
98
  return new LimitTime(item);
@@ -87,6 +87,7 @@ 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 TimeRangeProperty from './property';
90
+ import { getLocaleText } from '@byteluck-fe/locale-message';
90
91
  var TimeRangeControl = /*#__PURE__*/ function(DesignerFormControl) {
91
92
  "use strict";
92
93
  _inherits(TimeRangeControl, DesignerFormControl);
@@ -103,7 +104,7 @@ var TimeRangeControl = /*#__PURE__*/ function(DesignerFormControl) {
103
104
  {
104
105
  key: "controlName",
105
106
  get: function get() {
106
- return '时间区间';
107
+ return getLocaleText('CMD.103e1774578999219');
107
108
  }
108
109
  },
109
110
  {
@@ -156,13 +157,13 @@ _define_property(TimeRangeControl, "setting", [
156
157
  key: 'common-input',
157
158
  visible: true,
158
159
  name: 'placeholderStart',
159
- label: '开始时间提示文字'
160
+ label: getLocaleText('CMD.b54f1774578958298')
160
161
  },
161
162
  {
162
163
  key: 'common-input',
163
164
  visible: true,
164
165
  name: 'placeholderEnd',
165
- label: '结束时间提示文字'
166
+ label: getLocaleText('CMD.680d1774578960613')
166
167
  },
167
168
  {
168
169
  key: 'time-type',
@@ -76,6 +76,7 @@ function _is_native_reflect_construct() {
76
76
  */ import { BaseControlProperty, BaseControlPropertyRuntimeRules, RangeDataBind, RangeDateValue } from '@byteluck-fe/model-driven-core';
77
77
  import TimeRangeControl from './designer';
78
78
  import { LimitTime } from '../../framework';
79
+ import { getLocaleText } from '@byteluck-fe/locale-message';
79
80
  import { TimeType } from '@byteluck-fe/model-driven-shared';
80
81
  var TimeRangePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRuntimeRules) {
81
82
  "use strict";
@@ -127,8 +128,8 @@ var TimeRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
127
128
  _this.format = (_ref1 = props === null || props === void 0 ? void 0 : props.format) !== null && _ref1 !== void 0 ? _ref1 : '';
128
129
  _this.rangeMin = (_ref2 = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref2 !== void 0 ? _ref2 : '';
129
130
  _this.rangeMax = (_ref3 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref3 !== void 0 ? _ref3 : '';
130
- _this.placeholderStart = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _ref4 !== void 0 ? _ref4 : '开始时间';
131
- _this.placeholderEnd = (_ref5 = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _ref5 !== void 0 ? _ref5 : '结束时间';
131
+ _this.placeholderStart = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _ref4 !== void 0 ? _ref4 : getLocaleText('CMD.be931774579000687');
132
+ _this.placeholderEnd = (_ref5 = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _ref5 !== void 0 ? _ref5 : getLocaleText('CMD.0a501774579002398');
132
133
  _this.caption = (_ref6 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref6 !== void 0 ? _ref6 : TimeRangeControl.controlName;
133
134
  _this.limitTimeList = (_ref7 = props === null || props === void 0 ? void 0 : (_props_limitTimeList = props.limitTimeList) === null || _props_limitTimeList === void 0 ? void 0 : _props_limitTimeList.map(function(item) {
134
135
  return new LimitTime(item);
@@ -135,7 +135,29 @@ _define_property(CardGroupControl, "setting", [
135
135
  key: 'common-input',
136
136
  visible: true,
137
137
  name: 'describe',
138
- label: '描述信息'
138
+ label: getLocaleText('CMD.c9451774578995831')
139
+ },
140
+ {
141
+ key: 'common-button-radio',
142
+ visible: true,
143
+ name: 'divider',
144
+ label: getLocaleText('CMD.6bdd1774579030243'),
145
+ default: 'solid',
146
+ options: [
147
+ {
148
+ value: 'none',
149
+ label: getLocaleText('CMD.6a321774579067900')
150
+ },
151
+ {
152
+ value: 'dotted',
153
+ label: getLocaleText('CMD.6bf61774579053844')
154
+ },
155
+ {
156
+ value: 'solid',
157
+ label: getLocaleText('CMD.1d291774579055379')
158
+ }
159
+ ],
160
+ tip: getLocaleText('CMD.de3f1774580653034')
139
161
  },
140
162
  {
141
163
  key: 'common-setting',
@@ -152,16 +174,16 @@ _define_property(CardGroupControl, "setting", [
152
174
  key: 'common-button-radio',
153
175
  visible: true,
154
176
  name: 'type',
155
- label: '展示风格',
177
+ label: getLocaleText('CMD.93ae1774579004149'),
156
178
  default: 'default',
157
179
  options: [
158
180
  {
159
181
  value: 'default',
160
- label: '默认'
182
+ label: getLocaleText('CMD.1ef01774579045622')
161
183
  },
162
184
  {
163
185
  value: 'card',
164
- label: '卡片'
186
+ label: getLocaleText('CMD.9d551774579049605')
165
187
  }
166
188
  ]
167
189
  },
@@ -169,20 +191,20 @@ _define_property(CardGroupControl, "setting", [
169
191
  key: 'common-button-radio',
170
192
  visible: true,
171
193
  name: 'position',
172
- label: '标签位置',
194
+ label: getLocaleText('CMD.b1761774579005863'),
173
195
  default: 'left',
174
196
  options: [
175
197
  {
176
198
  value: 'left',
177
- label: '左对齐'
199
+ label: getLocaleText('CMD.23f71774579023855')
178
200
  },
179
201
  {
180
202
  value: 'center',
181
- label: '居中'
203
+ label: getLocaleText('CMD.ecb71774579037654')
182
204
  },
183
205
  {
184
206
  value: 'right',
185
- label: '右对齐'
207
+ label: getLocaleText('CMD.5e991774579025728')
186
208
  }
187
209
  ]
188
210
  },
@@ -190,20 +212,20 @@ _define_property(CardGroupControl, "setting", [
190
212
  key: 'common-select',
191
213
  visible: true,
192
214
  name: 'captionType',
193
- label: '标签类型',
215
+ label: getLocaleText('CMD.87c01774579007616'),
194
216
  default: 'default',
195
217
  options: [
196
218
  {
197
219
  value: 'default',
198
- label: '默认'
220
+ label: getLocaleText('CMD.1ef01774579045622')
199
221
  },
200
222
  {
201
223
  value: 'warning',
202
- label: '警告'
224
+ label: getLocaleText('CMD.80581774579050943')
203
225
  },
204
226
  {
205
227
  value: 'success',
206
- label: '成功'
228
+ label: getLocaleText('CMD.98331774579052281')
207
229
  }
208
230
  ]
209
231
  },
@@ -211,20 +233,20 @@ _define_property(CardGroupControl, "setting", [
211
233
  key: 'common-select',
212
234
  visible: true,
213
235
  name: 'borderType',
214
- label: '边框类型',
236
+ label: getLocaleText('CMD.852f1774579009314'),
215
237
  default: 'none',
216
238
  options: [
217
239
  {
218
240
  value: 'none',
219
- label: '无边框'
241
+ label: getLocaleText('CMD.83e11774579028684')
220
242
  },
221
243
  {
222
244
  value: 'dotted',
223
- label: '虚线'
245
+ label: getLocaleText('CMD.6bf61774579053844')
224
246
  },
225
247
  {
226
248
  value: 'solid',
227
- label: '实线'
249
+ label: getLocaleText('CMD.1d291774579055379')
228
250
  }
229
251
  ]
230
252
  },
@@ -232,41 +254,20 @@ _define_property(CardGroupControl, "setting", [
232
254
  key: 'common-select',
233
255
  visible: true,
234
256
  name: 'triggerShadow',
235
- label: '显示阴影时机',
257
+ label: getLocaleText('CMD.1a941774578973189'),
236
258
  default: 'never',
237
259
  options: [
238
260
  {
239
261
  value: 'never',
240
- label: '从不显示'
262
+ label: getLocaleText('CMD.16b21774579011405')
241
263
  },
242
264
  {
243
265
  value: 'hover',
244
- label: '鼠标悬浮时显示'
266
+ label: getLocaleText('CMD.cef21774578966959')
245
267
  },
246
268
  {
247
269
  value: 'always',
248
- label: '总是显示'
249
- }
250
- ]
251
- },
252
- {
253
- key: 'common-button-radio',
254
- visible: true,
255
- name: 'divider',
256
- label: '分割线',
257
- default: 'solid',
258
- options: [
259
- {
260
- value: 'none',
261
- label: '无'
262
- },
263
- {
264
- value: 'dotted',
265
- label: '虚线'
266
- },
267
- {
268
- value: 'solid',
269
- label: '实线'
270
+ label: getLocaleText('CMD.74351774579013248')
270
271
  }
271
272
  ]
272
273
  },
@@ -87,6 +87,7 @@ function _is_native_reflect_construct() {
87
87
  import { DesignerLayoutControl } from '@byteluck-fe/model-driven-core';
88
88
  import CollapseControlProperty from './property';
89
89
  import { DesignerCollapsePaneControl } from '../CollapsePane';
90
+ import { getLocaleText } from '@byteluck-fe/locale-message';
90
91
  var CollapseControl = /*#__PURE__*/ function(DesignerLayoutControl) {
91
92
  "use strict";
92
93
  _inherits(CollapseControl, DesignerLayoutControl);
@@ -108,7 +109,7 @@ var CollapseControl = /*#__PURE__*/ function(DesignerLayoutControl) {
108
109
  {
109
110
  key: "controlName",
110
111
  get: function get() {
111
- return '折叠面板';
112
+ return getLocaleText('CMD.0c811774579014810');
112
113
  }
113
114
  },
114
115
  {
@@ -135,21 +136,21 @@ _define_property(CollapseControl, "setting", [
135
136
  key: 'common-switch',
136
137
  visible: true,
137
138
  name: 'accordion',
138
- label: '手风琴模式',
139
+ label: getLocaleText('CMD.48f31774578989481'),
139
140
  default: false
140
141
  },
141
142
  {
142
143
  key: 'common-switch',
143
144
  visible: true,
144
145
  name: 'bordered',
145
- label: '边框风格',
146
+ label: getLocaleText('CMD.02b21774579016858'),
146
147
  default: true
147
148
  },
148
149
  {
149
150
  key: 'common-switch',
150
151
  visible: true,
151
152
  name: 'isShowHighlightBar',
152
- label: '标题左侧显示高亮条',
153
+ label: getLocaleText('CMD.41b81774578953649'),
153
154
  default: false
154
155
  },
155
156
  {
@@ -87,6 +87,7 @@ function _is_native_reflect_construct() {
87
87
  import { CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
88
88
  import { DesignerLayoutControl } from '@byteluck-fe/model-driven-core';
89
89
  import CollapsePaneControlProperty from './property';
90
+ import { getLocaleText } from '@byteluck-fe/locale-message';
90
91
  var CollapsePaneControl = /*#__PURE__*/ function(DesignerLayoutControl) {
91
92
  "use strict";
92
93
  _inherits(CollapsePaneControl, DesignerLayoutControl);
@@ -103,7 +104,7 @@ var CollapsePaneControl = /*#__PURE__*/ function(DesignerLayoutControl) {
103
104
  {
104
105
  key: "controlName",
105
106
  get: function get() {
106
- return '折叠面板节点';
107
+ return getLocaleText('CMD.e2b61774578975402');
107
108
  }
108
109
  },
109
110
  {
@@ -74,6 +74,7 @@ function _is_native_reflect_construct() {
74
74
  * name: rok_collapse_pane
75
75
  * description: 折叠面板子项组件。用于在折叠容器中承载单个可展开区块内容。支持配置面板头标题,适合分组信息按需展开查看。
76
76
  */ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
77
+ import { getLocaleText } from '@byteluck-fe/locale-message';
77
78
  var CollapsePaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
78
79
  "use strict";
79
80
  _inherits(CollapsePaneControlProperty, LayoutControlProperty);
@@ -84,7 +85,7 @@ var CollapsePaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty)
84
85
  _this = _call_super(this, CollapsePaneControlProperty, [
85
86
  props
86
87
  ]), _define_property(_this, "header", void 0);
87
- _this.header = (_ref = props === null || props === void 0 ? void 0 : props.header) !== null && _ref !== void 0 ? _ref : '分组';
88
+ _this.header = (_ref = props === null || props === void 0 ? void 0 : props.header) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.08411774579056771');
88
89
  return _this;
89
90
  }
90
91
  return CollapsePaneControlProperty;