@byteluck-fe/model-driven-controls 6.1.0-3-beta.1 → 6.1.0-3-beta.3

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.
@@ -139,16 +139,16 @@ _define_property(BarcodeControl, "setting", [
139
139
  ],
140
140
  visible: true
141
141
  },
142
- {
143
- key: 'caption-style',
144
- showItems: [
145
- COMMON_SETTING_TYPE.CAPTION_SIZE,
146
- COMMON_SETTING_TYPE.CAPTION_COLOR,
147
- COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
148
- COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT
149
- ],
150
- visible: true
151
- },
142
+ // {
143
+ // key: 'caption-style',
144
+ // showItems: [
145
+ // COMMON_SETTING_TYPE.CAPTION_SIZE,
146
+ // COMMON_SETTING_TYPE.CAPTION_COLOR,
147
+ // COMMON_SETTING_TYPE.IS_CAPTION_ITALIC,
148
+ // COMMON_SETTING_TYPE.CAPTION_FONT_WEIGHT,
149
+ // ],
150
+ // visible: true,
151
+ // },
152
152
  {
153
153
  key: 'label-position',
154
154
  visible: true
@@ -270,30 +270,32 @@ _define_property(BarcodeControl, "setting", [
270
270
  {
271
271
  key: 'common-group',
272
272
  visible: true,
273
- label: getLocaleText('CMD.6e021777541706716'),
273
+ label: getLocaleText('CMD.6e021777541706716', null, '授权设置'),
274
+ tip: getLocaleText('CMD.6e021777541706718', null, '用于控制是否展示授权,当有业务场景需要扫描条码验证授权时则可以使用授权按钮给当前条码组件生成一个临时访问权限,用户可以调用平台的接口对这个条码进行授权校验;授权的条码要保证条码的唯一性,建议使用条码组件的默认值作为授权的唯一标识'),
274
275
  children: [
275
276
  {
276
277
  key: 'common-switch',
277
278
  visible: true,
278
279
  name: 'displayAuth',
279
280
  layout: 'horizontal',
280
- label: getLocaleText('CMD.6c311777541737079')
281
+ label: getLocaleText('CMD.6c3117775417370791', null, '展示授权按钮')
281
282
  }
282
283
  ]
283
284
  },
284
285
  {
285
286
  key: 'common-group',
286
287
  visible: true,
287
- label: getLocaleText('CMD.6e021777541706716'),
288
+ label: getLocaleText('CMD.6e021777541706717', null, '有效期设置'),
288
289
  children: [
289
290
  {
290
291
  key: 'common-input-number',
291
292
  visible: true,
292
293
  name: 'expiration',
293
294
  layout: 'horizontal',
294
- label: getLocaleText('CMD.6c311777541737079'),
295
295
  min: 1,
296
- max: 60
296
+ max: 60,
297
+ precision: 0,
298
+ label: getLocaleText('CMD.6e021777541706719', null, '有效期(分钟)')
297
299
  }
298
300
  ]
299
301
  },