@byteluck-fe/model-driven-controls 7.0.0-props.113 → 7.0.0-props.115
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/baseControls/BarChart/designer.js +10 -10
- package/dist/esm/baseControls/Iframe/designer.js +3 -3
- package/dist/esm/baseControls/Iframe/property.js +4 -3
- package/dist/esm/baseControls/LineChart/designer.js +6 -6
- package/dist/esm/baseControls/PieChart/designer.js +7 -7
- package/dist/esm/baseControls/PieChart/property.js +5 -5
- package/dist/esm/baseControls/Text/designer.js +1 -1
- package/dist/esm/formControls/Barcode/designer.js +41 -21
- package/dist/esm/formControls/Barcode/property.js +8 -8
- package/dist/esm/formControls/Barcode/schema.json +19 -8
- package/dist/esm/formControls/QrCode/designer.js +47 -27
- package/dist/esm/formControls/QrCode/property.js +5 -6
- package/dist/esm/formControls/QrCode/schema.json +20 -9
- package/dist/esm/formControls/RichText/designer.js +1 -1
- package/dist/esm/formControls/Slider/designer.js +2 -1
- package/dist/esm/formControls/Slider/property.js +6 -8
- package/dist/esm/formControls/Switch/designer.js +15 -14
- package/dist/esm/formControls/Switch/property.js +3 -2
- package/dist/esm/formControls/Tag/designer.js +14 -14
- package/dist/esm/layoutControls/BlankContainer/designer.js +8 -7
- package/dist/esm/layoutControls/BlankContainer/property.js +4 -6
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Barcode/property.d.ts +5 -10
- package/dist/types/formControls/QrCode/property.d.ts +5 -10
- package/dist/types/layoutControls/BlankContainer/property.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rok_qr_code",
|
|
3
|
-
"description": "
|
|
3
|
+
"description": "二维码组件,用于展示或绑定二维码内容。支持尺寸、边距、码点颜色与对齐方式配置,适合链接、单据追溯等场景。",
|
|
4
4
|
"parameters": {
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
@@ -287,15 +287,26 @@
|
|
|
287
287
|
"description": "边距;单位 px",
|
|
288
288
|
"default": 0
|
|
289
289
|
},
|
|
290
|
-
"
|
|
290
|
+
"qrColor": {
|
|
291
291
|
"type": "string",
|
|
292
|
-
"
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
292
|
+
"enum": [
|
|
293
|
+
"#000000",
|
|
294
|
+
"#001F3F",
|
|
295
|
+
"#004225",
|
|
296
|
+
"#4A0404",
|
|
297
|
+
"#2F2F2F",
|
|
298
|
+
"#1A237E"
|
|
299
|
+
],
|
|
300
|
+
"description": "二维码颜色;",
|
|
301
|
+
"default": "#000000",
|
|
302
|
+
"enumDescription": [
|
|
303
|
+
"纯黑",
|
|
304
|
+
"深海军蓝",
|
|
305
|
+
"深森林绿",
|
|
306
|
+
"深酒红",
|
|
307
|
+
"深炭灰",
|
|
308
|
+
"深靛青"
|
|
309
|
+
]
|
|
299
310
|
},
|
|
300
311
|
"align": {
|
|
301
312
|
"type": "string",
|
|
@@ -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 SliderProperty from './property';
|
|
@@ -103,7 +104,7 @@ var SliderControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
103
104
|
{
|
|
104
105
|
key: "controlName",
|
|
105
106
|
get: function get() {
|
|
106
|
-
return '
|
|
107
|
+
return getLocaleText('CMD.7fa81777541762879');
|
|
107
108
|
}
|
|
108
109
|
},
|
|
109
110
|
{
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_slider
|
|
3
|
-
* description: 滑块组件,用于在连续范围内快速选择数值。适合进度、权重、阈值等场景,支持默认值、最小值、最大值、步长、提示标签和控制按钮配置。
|
|
4
|
-
*/ function _assert_this_initialized(self) {
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
5
2
|
if (self === void 0) {
|
|
6
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
7
4
|
}
|
|
@@ -73,6 +70,7 @@ function _is_native_reflect_construct() {
|
|
|
73
70
|
return !!result;
|
|
74
71
|
})();
|
|
75
72
|
}
|
|
73
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
76
74
|
import SliderControl from './designer';
|
|
77
75
|
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, initOptions } from '@byteluck-fe/model-driven-core';
|
|
78
76
|
var SliderPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
@@ -88,7 +86,7 @@ var SliderPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
|
88
86
|
type: 'number',
|
|
89
87
|
min: 0,
|
|
90
88
|
max: 100,
|
|
91
|
-
message: '
|
|
89
|
+
message: getLocaleText('CMD.5d051777541586591')
|
|
92
90
|
}
|
|
93
91
|
]), _define_property(_this, "max", {
|
|
94
92
|
type: 'any'
|
|
@@ -97,12 +95,12 @@ var SliderPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
|
97
95
|
var valueMin = props.min === '' ? undefined : props.min;
|
|
98
96
|
_this.defaultValue[0].max = valueMax;
|
|
99
97
|
_this.defaultValue[0].min = valueMin;
|
|
100
|
-
_this.defaultValue[0].message = '
|
|
98
|
+
_this.defaultValue[0].message = getLocaleText('CMD.5d051777541586591');
|
|
101
99
|
if (valueMin !== undefined && valueMax !== undefined) {
|
|
102
100
|
_this.max = {
|
|
103
101
|
type: 'number',
|
|
104
102
|
min: valueMin,
|
|
105
|
-
message: '
|
|
103
|
+
message: getLocaleText('CMD.03c61777541622820')
|
|
106
104
|
};
|
|
107
105
|
}
|
|
108
106
|
return _this;
|
|
@@ -127,7 +125,7 @@ var SliderPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRunti
|
|
|
127
125
|
type: 'number',
|
|
128
126
|
min: valueMin,
|
|
129
127
|
max: valueMax,
|
|
130
|
-
message: valueMax === undefined ? '
|
|
128
|
+
message: valueMax === undefined ? getLocaleText('CMD.0ea31777541589957') : valueMin === undefined ? getLocaleText('CMD.61eb1777541593375') : getLocaleText('CMD.5d051777541586591')
|
|
131
129
|
});
|
|
132
130
|
return _this;
|
|
133
131
|
}
|
|
@@ -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 SwitchProperty from './property';
|
|
@@ -103,7 +104,7 @@ var SwitchControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
103
104
|
{
|
|
104
105
|
key: "controlName",
|
|
105
106
|
get: function get() {
|
|
106
|
-
return '
|
|
107
|
+
return getLocaleText('CMD.e11c1777541764390');
|
|
107
108
|
}
|
|
108
109
|
},
|
|
109
110
|
{
|
|
@@ -170,16 +171,16 @@ _define_property(SwitchControl, "setting", [
|
|
|
170
171
|
key: 'common-button-radio',
|
|
171
172
|
visible: true,
|
|
172
173
|
name: 'defaultValue',
|
|
173
|
-
label: '
|
|
174
|
+
label: getLocaleText('CMD.760c1777541720778'),
|
|
174
175
|
default: 0,
|
|
175
176
|
options: [
|
|
176
177
|
{
|
|
177
178
|
value: 1,
|
|
178
|
-
label: '
|
|
179
|
+
label: getLocaleText('CMD.f48b1777541765472')
|
|
179
180
|
},
|
|
180
181
|
{
|
|
181
182
|
value: 0,
|
|
182
|
-
label: '
|
|
183
|
+
label: getLocaleText('CMD.4a541777541766791')
|
|
183
184
|
}
|
|
184
185
|
]
|
|
185
186
|
},
|
|
@@ -187,65 +188,65 @@ _define_property(SwitchControl, "setting", [
|
|
|
187
188
|
key: 'common-button-radio',
|
|
188
189
|
visible: true,
|
|
189
190
|
name: 'textDisplayStyle',
|
|
190
|
-
label: '
|
|
191
|
+
label: getLocaleText('CMD.478a1777541651375'),
|
|
191
192
|
default: 'inside',
|
|
192
193
|
options: [
|
|
193
194
|
{
|
|
194
195
|
value: 'inside',
|
|
195
|
-
label: '
|
|
196
|
+
label: getLocaleText('CMD.e7ef1777541748888')
|
|
196
197
|
},
|
|
197
198
|
{
|
|
198
199
|
value: 'outside',
|
|
199
|
-
label: '
|
|
200
|
+
label: getLocaleText('CMD.38711777541750404')
|
|
200
201
|
}
|
|
201
202
|
]
|
|
202
203
|
},
|
|
203
204
|
{
|
|
204
205
|
key: 'common-group',
|
|
205
206
|
visible: true,
|
|
206
|
-
label: '
|
|
207
|
+
label: getLocaleText('CMD.35f21777541706717'),
|
|
207
208
|
children: [
|
|
208
209
|
{
|
|
209
210
|
key: 'common-input',
|
|
210
211
|
visible: true,
|
|
211
212
|
name: 'checkedText',
|
|
212
213
|
layout: 'horizontal',
|
|
213
|
-
label: '
|
|
214
|
+
label: getLocaleText('CMD.9a801777541722584')
|
|
214
215
|
},
|
|
215
216
|
{
|
|
216
217
|
key: 'color',
|
|
217
218
|
visible: true,
|
|
218
219
|
name: 'checkedTextColor',
|
|
219
220
|
layout: 'horizontal',
|
|
220
|
-
label: '
|
|
221
|
+
label: getLocaleText('CMD.d1da1777541653501')
|
|
221
222
|
},
|
|
222
223
|
{
|
|
223
224
|
key: 'color',
|
|
224
225
|
visible: true,
|
|
225
226
|
name: 'checkedBackgroundColor',
|
|
226
227
|
layout: 'horizontal',
|
|
227
|
-
label: '
|
|
228
|
+
label: getLocaleText('CMD.4e821777541655793')
|
|
228
229
|
},
|
|
229
230
|
{
|
|
230
231
|
key: 'common-input',
|
|
231
232
|
visible: true,
|
|
232
233
|
name: 'uncheckedText',
|
|
233
234
|
layout: 'horizontal',
|
|
234
|
-
label: '
|
|
235
|
+
label: getLocaleText('CMD.886f1777541724447')
|
|
235
236
|
},
|
|
236
237
|
{
|
|
237
238
|
key: 'color',
|
|
238
239
|
visible: true,
|
|
239
240
|
name: 'uncheckedTextColor',
|
|
240
241
|
layout: 'horizontal',
|
|
241
|
-
label: '
|
|
242
|
+
label: getLocaleText('CMD.93231777541658161')
|
|
242
243
|
},
|
|
243
244
|
{
|
|
244
245
|
key: 'color',
|
|
245
246
|
visible: true,
|
|
246
247
|
name: 'uncheckedBackgroundColor',
|
|
247
248
|
layout: 'horizontal',
|
|
248
|
-
label: '
|
|
249
|
+
label: getLocaleText('CMD.04e91777541660486')
|
|
249
250
|
}
|
|
250
251
|
]
|
|
251
252
|
},
|
|
@@ -70,6 +70,7 @@ function _is_native_reflect_construct() {
|
|
|
70
70
|
return !!result;
|
|
71
71
|
})();
|
|
72
72
|
}
|
|
73
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
73
74
|
/**
|
|
74
75
|
* name: rok_switch
|
|
75
76
|
* description: 开关组件,用于快速切换数值状态(0/1)。支持开关内外文字展示、默认状态、开启/关闭文案与颜色配置,适合状态控制与流程开关场景。
|
|
@@ -117,10 +118,10 @@ var SwitchProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
117
118
|
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : SwitchControl.controlName;
|
|
118
119
|
_this.defaultValue = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref1 !== void 0 ? _ref1 : 1;
|
|
119
120
|
_this.textDisplayStyle = (_ref2 = props === null || props === void 0 ? void 0 : props.textDisplayStyle) !== null && _ref2 !== void 0 ? _ref2 : 'inside';
|
|
120
|
-
_this.checkedText = (_ref3 = props === null || props === void 0 ? void 0 : props.checkedText) !== null && _ref3 !== void 0 ? _ref3 : '
|
|
121
|
+
_this.checkedText = (_ref3 = props === null || props === void 0 ? void 0 : props.checkedText) !== null && _ref3 !== void 0 ? _ref3 : getLocaleText('CMD.f0301777541765473');
|
|
121
122
|
_this.checkedTextColor = (_ref4 = props === null || props === void 0 ? void 0 : props.checkedTextColor) !== null && _ref4 !== void 0 ? _ref4 : '#ffffff';
|
|
122
123
|
_this.checkedBackgroundColor = (_ref5 = props === null || props === void 0 ? void 0 : props.checkedBackgroundColor) !== null && _ref5 !== void 0 ? _ref5 : '#4C78FC';
|
|
123
|
-
_this.uncheckedText = (_ref6 = props === null || props === void 0 ? void 0 : props.uncheckedText) !== null && _ref6 !== void 0 ? _ref6 : '
|
|
124
|
+
_this.uncheckedText = (_ref6 = props === null || props === void 0 ? void 0 : props.uncheckedText) !== null && _ref6 !== void 0 ? _ref6 : getLocaleText('CMD.106d1777541766792');
|
|
124
125
|
_this.uncheckedTextColor = (_ref7 = props === null || props === void 0 ? void 0 : props.uncheckedTextColor) !== null && _ref7 !== void 0 ? _ref7 : '#ffffff';
|
|
125
126
|
_this.uncheckedBackgroundColor = (_ref8 = props === null || props === void 0 ? void 0 : props.uncheckedBackgroundColor) !== null && _ref8 !== void 0 ? _ref8 : '#BFBFBF';
|
|
126
127
|
return _this;
|
|
@@ -177,15 +177,15 @@ _define_property(TagControl, "setting", [
|
|
|
177
177
|
options: [
|
|
178
178
|
{
|
|
179
179
|
value: 'large',
|
|
180
|
-
label: '
|
|
180
|
+
label: getLocaleText('CMD.88fc1777541775429')
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
183
|
value: 'medium',
|
|
184
|
-
label: '
|
|
184
|
+
label: getLocaleText('CMD.f7b51777541776645')
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
187
|
value: 'small',
|
|
188
|
-
label: '
|
|
188
|
+
label: getLocaleText('CMD.6b7d1777541777847')
|
|
189
189
|
}
|
|
190
190
|
]
|
|
191
191
|
},
|
|
@@ -193,21 +193,21 @@ _define_property(TagControl, "setting", [
|
|
|
193
193
|
key: 'common-button-radio',
|
|
194
194
|
visible: true,
|
|
195
195
|
name: 'align',
|
|
196
|
-
label: '
|
|
196
|
+
label: getLocaleText('CMD.dc011777541726235'),
|
|
197
197
|
default: 'left',
|
|
198
|
-
tip: '
|
|
198
|
+
tip: getLocaleText('CMD.1e6c1777541596761'),
|
|
199
199
|
options: [
|
|
200
200
|
{
|
|
201
201
|
value: 'left',
|
|
202
|
-
label: '
|
|
202
|
+
label: getLocaleText('CMD.e29a1777541743101')
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
value: 'center',
|
|
206
|
-
label: '
|
|
206
|
+
label: getLocaleText('CMD.f0c51777541758749')
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
value: 'right',
|
|
210
|
-
label: '
|
|
210
|
+
label: getLocaleText('CMD.b69e1777541744540')
|
|
211
211
|
}
|
|
212
212
|
]
|
|
213
213
|
},
|
|
@@ -215,28 +215,28 @@ _define_property(TagControl, "setting", [
|
|
|
215
215
|
key: 'common-select',
|
|
216
216
|
visible: true,
|
|
217
217
|
name: 'color',
|
|
218
|
-
label: '
|
|
218
|
+
label: getLocaleText('CMD.8fc41777541768092'),
|
|
219
219
|
default: 'default',
|
|
220
220
|
options: [
|
|
221
221
|
{
|
|
222
222
|
value: 'default',
|
|
223
|
-
label: '
|
|
223
|
+
label: getLocaleText('CMD.8fc41777541768092')
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
value: 'success',
|
|
227
|
-
label: '
|
|
227
|
+
label: getLocaleText('CMD.4ad61777541769394')
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
value: 'processing',
|
|
231
|
-
label: '
|
|
231
|
+
label: getLocaleText('CMD.d74b1777541751881')
|
|
232
232
|
},
|
|
233
233
|
{
|
|
234
234
|
value: 'error',
|
|
235
|
-
label: '
|
|
235
|
+
label: getLocaleText('CMD.64911777541770890')
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
value: 'warning',
|
|
239
|
-
label: '
|
|
239
|
+
label: getLocaleText('CMD.b6eb1777541772158')
|
|
240
240
|
}
|
|
241
241
|
]
|
|
242
242
|
},
|
|
@@ -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 { DesignerLayoutControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
89
|
import BlankContainerProperty from './property';
|
|
89
90
|
var BlankContainerControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
@@ -102,7 +103,7 @@ var BlankContainerControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
102
103
|
{
|
|
103
104
|
key: "controlName",
|
|
104
105
|
get: function get() {
|
|
105
|
-
return '
|
|
106
|
+
return getLocaleText('CMD.48611777541728194');
|
|
106
107
|
}
|
|
107
108
|
},
|
|
108
109
|
{
|
|
@@ -144,20 +145,20 @@ _define_property(BlankContainerControl, "setting", [
|
|
|
144
145
|
key: 'common-button-radio',
|
|
145
146
|
visible: true,
|
|
146
147
|
name: 'position',
|
|
147
|
-
label: '
|
|
148
|
+
label: getLocaleText('CMD.4b761777541729796'),
|
|
148
149
|
default: 'left',
|
|
149
150
|
options: [
|
|
150
151
|
{
|
|
151
152
|
value: 'left',
|
|
152
|
-
label: '
|
|
153
|
+
label: getLocaleText('CMD.321d1777541743102')
|
|
153
154
|
},
|
|
154
155
|
{
|
|
155
156
|
value: 'center',
|
|
156
|
-
label: '
|
|
157
|
+
label: getLocaleText('CMD.00281777541758750')
|
|
157
158
|
},
|
|
158
159
|
{
|
|
159
160
|
value: 'right',
|
|
160
|
-
label: '
|
|
161
|
+
label: getLocaleText('CMD.534c1777541744540')
|
|
161
162
|
}
|
|
162
163
|
]
|
|
163
164
|
},
|
|
@@ -166,13 +167,13 @@ _define_property(BlankContainerControl, "setting", [
|
|
|
166
167
|
visible: true,
|
|
167
168
|
name: 'backgroundColor',
|
|
168
169
|
layout: 'horizontal',
|
|
169
|
-
label: '
|
|
170
|
+
label: getLocaleText('CMD.22b11777541753145')
|
|
170
171
|
},
|
|
171
172
|
{
|
|
172
173
|
key: 'common-switch',
|
|
173
174
|
visible: true,
|
|
174
175
|
name: 'showShadow',
|
|
175
|
-
label: '
|
|
176
|
+
label: getLocaleText('CMD.238b1777541731433'),
|
|
176
177
|
default: false
|
|
177
178
|
},
|
|
178
179
|
{
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* name: rok_blank_container
|
|
3
|
-
* description: 空白容器布局组件。用于作为自由编排内容的占位容器。支持标题字体样式、标题居中方式、背景色和阴影开关设置,适合页面分区与内容承载场景。
|
|
4
|
-
*/ function _assert_this_initialized(self) {
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
5
2
|
if (self === void 0) {
|
|
6
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
7
4
|
}
|
|
@@ -73,6 +70,7 @@ function _is_native_reflect_construct() {
|
|
|
73
70
|
return !!result;
|
|
74
71
|
})();
|
|
75
72
|
}
|
|
73
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
76
74
|
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
77
75
|
import { FONT_WEIGHT } from '../../framework';
|
|
78
76
|
var BlankContainerPropertyRules = /*#__PURE__*/ function(_LayoutControlProperty_Rules) {
|
|
@@ -84,7 +82,7 @@ var BlankContainerPropertyRules = /*#__PURE__*/ function(_LayoutControlProperty_
|
|
|
84
82
|
_this = _call_super(this, BlankContainerPropertyRules, arguments), _define_property(_this, "caption", {
|
|
85
83
|
type: 'string',
|
|
86
84
|
required: true,
|
|
87
|
-
message: '
|
|
85
|
+
message: getLocaleText('CMD.c7ee1777541686092')
|
|
88
86
|
});
|
|
89
87
|
return _this;
|
|
90
88
|
}
|
|
@@ -100,7 +98,7 @@ var BlankContainerProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
100
98
|
_this = _call_super(this, BlankContainerProperty, [
|
|
101
99
|
props
|
|
102
100
|
]), _define_property(_this, "caption", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "captionSize", void 0), _define_property(_this, "captionColor", void 0), _define_property(_this, "isCaptionItalic", void 0), _define_property(_this, "captionFontWeight", void 0), _define_property(_this, "position", void 0), _define_property(_this, "backgroundColor", void 0), _define_property(_this, "showShadow", void 0);
|
|
103
|
-
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : '
|
|
101
|
+
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.fbd81777541728197');
|
|
104
102
|
_this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
105
103
|
_this.captionColor = (props === null || props === void 0 ? void 0 : props.captionColor) || '';
|
|
106
104
|
_this.captionSize = (props === null || props === void 0 ? void 0 : props.captionSize) || '';
|