@byteluck-fe/model-driven-controls 7.0.0-props.56 → 7.0.0-props.57

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.
@@ -179,43 +179,163 @@ _define_property(QrCodeControl, "setting", [
179
179
  },
180
180
  {
181
181
  value: '1',
182
- label: 'V1'
182
+ label: '1 (21*21)'
183
183
  },
184
184
  {
185
185
  value: '2',
186
- label: 'V2'
186
+ label: '2 (25*25)'
187
187
  },
188
188
  {
189
189
  value: '3',
190
- label: 'V3'
190
+ label: '3 (29*29)'
191
191
  },
192
192
  {
193
193
  value: '4',
194
- label: 'V4'
194
+ label: '4 (33*33)'
195
195
  },
196
196
  {
197
197
  value: '5',
198
- label: 'V5'
198
+ label: '5 (37*37)'
199
199
  },
200
200
  {
201
201
  value: '6',
202
- label: 'V6'
202
+ label: '6 (41*41)'
203
203
  },
204
204
  {
205
205
  value: '7',
206
- label: 'V7'
206
+ label: '7 (45*45)'
207
207
  },
208
208
  {
209
209
  value: '8',
210
- label: 'V8'
210
+ label: '8 (49*49)'
211
211
  },
212
212
  {
213
213
  value: '9',
214
- label: 'V9'
214
+ label: '9 (53*53)'
215
215
  },
216
216
  {
217
217
  value: '10',
218
- label: 'V10'
218
+ label: '10 (57*57)'
219
+ },
220
+ {
221
+ value: '11',
222
+ label: '11 (61*61)'
223
+ },
224
+ {
225
+ value: '12',
226
+ label: '12 (65*65)'
227
+ },
228
+ {
229
+ value: '13',
230
+ label: '13 (69*69)'
231
+ },
232
+ {
233
+ value: '14',
234
+ label: '14 (73*73)'
235
+ },
236
+ {
237
+ value: '15',
238
+ label: '15 (77*77)'
239
+ },
240
+ {
241
+ value: '16',
242
+ label: '16 (81*81)'
243
+ },
244
+ {
245
+ value: '17',
246
+ label: '17 (85*85)'
247
+ },
248
+ {
249
+ value: '18',
250
+ label: '18 (89*89)'
251
+ },
252
+ {
253
+ value: '19',
254
+ label: '19 (93*93)'
255
+ },
256
+ {
257
+ value: '20',
258
+ label: '20 (97*97)'
259
+ },
260
+ {
261
+ value: '21',
262
+ label: '21 (101*101)'
263
+ },
264
+ {
265
+ value: '22',
266
+ label: '22 (105*105)'
267
+ },
268
+ {
269
+ value: '23',
270
+ label: '23 (109*109)'
271
+ },
272
+ {
273
+ value: '24',
274
+ label: '24 (113*113)'
275
+ },
276
+ {
277
+ value: '25',
278
+ label: '25 (117*117)'
279
+ },
280
+ {
281
+ value: '26',
282
+ label: '26 (121*121)'
283
+ },
284
+ {
285
+ value: '27',
286
+ label: '27 (125*125)'
287
+ },
288
+ {
289
+ value: '28',
290
+ label: '28 (129*129)'
291
+ },
292
+ {
293
+ value: '29',
294
+ label: '29 (133*133)'
295
+ },
296
+ {
297
+ value: '30',
298
+ label: '30 (137*137)'
299
+ },
300
+ {
301
+ value: '31',
302
+ label: '31 (141*141)'
303
+ },
304
+ {
305
+ value: '32',
306
+ label: '32 (145*145)'
307
+ },
308
+ {
309
+ value: '33',
310
+ label: '33 (149*149)'
311
+ },
312
+ {
313
+ value: '34',
314
+ label: '34 (153*153)'
315
+ },
316
+ {
317
+ value: '35',
318
+ label: '35 (157*157)'
319
+ },
320
+ {
321
+ value: '36',
322
+ label: '36 (161*161)'
323
+ },
324
+ {
325
+ value: '37',
326
+ label: '37 (165*165)'
327
+ },
328
+ {
329
+ value: '38',
330
+ label: '38 (169*169)'
331
+ },
332
+ {
333
+ value: '39',
334
+ label: '39 (173*173)'
335
+ },
336
+ {
337
+ value: '40',
338
+ label: '40 (177*177)'
219
339
  }
220
340
  ]
221
341
  },
@@ -228,40 +348,44 @@ _define_property(QrCodeControl, "setting", [
228
348
  options: [
229
349
  {
230
350
  value: 'L',
231
- label: 'L'
351
+ label: 'L(低,7%)'
232
352
  },
233
353
  {
234
354
  value: 'M',
235
- label: 'M'
355
+ label: 'M(中,15%)'
236
356
  },
237
357
  {
238
358
  value: 'Q',
239
- label: 'Q'
359
+ label: 'Q(高,25%)'
240
360
  },
241
361
  {
242
362
  value: 'H',
243
- label: 'H'
363
+ label: 'H(最高,30%)'
244
364
  }
245
365
  ]
246
366
  },
247
367
  {
248
- key: 'common-button-radio',
368
+ key: 'common-select',
249
369
  visible: true,
250
370
  name: 'codeMode',
251
371
  label: '码制',
252
- default: 'byte',
372
+ default: 'qrCode',
253
373
  options: [
254
374
  {
255
- value: 'byte',
256
- label: '字节'
375
+ value: 'qrCode',
376
+ label: 'QR Code'
377
+ },
378
+ {
379
+ value: 'hanxinCode',
380
+ label: '汉信码'
257
381
  },
258
382
  {
259
- value: 'numeric',
260
- label: '数字'
383
+ value: 'pdf417',
384
+ label: 'PDF417'
261
385
  },
262
386
  {
263
- value: 'alphanumeric',
264
- label: '字母数字'
387
+ value: 'dataMatrix',
388
+ label: 'Data Matrix'
265
389
  }
266
390
  ]
267
391
  },
@@ -117,7 +117,7 @@ var QrCodeProperty = /*#__PURE__*/ function(BaseControlProperty) {
117
117
  _this.defaultValue = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
118
118
  _this.qrVersion = (_ref3 = props === null || props === void 0 ? void 0 : props.qrVersion) !== null && _ref3 !== void 0 ? _ref3 : 'auto';
119
119
  _this.errorCorrectionLevel = (_ref4 = props === null || props === void 0 ? void 0 : props.errorCorrectionLevel) !== null && _ref4 !== void 0 ? _ref4 : 'M';
120
- _this.codeMode = (_ref5 = props === null || props === void 0 ? void 0 : props.codeMode) !== null && _ref5 !== void 0 ? _ref5 : 'byte';
120
+ _this.codeMode = (_ref5 = props === null || props === void 0 ? void 0 : props.codeMode) !== null && _ref5 !== void 0 ? _ref5 : 'qrCode';
121
121
  _this.size = (_ref6 = props === null || props === void 0 ? void 0 : props.size) !== null && _ref6 !== void 0 ? _ref6 : 160;
122
122
  _this.codeMargin = (_ref7 = props === null || props === void 0 ? void 0 : props.codeMargin) !== null && _ref7 !== void 0 ? _ref7 : 0;
123
123
  _this.backgroundColor = (_ref8 = props === null || props === void 0 ? void 0 : props.backgroundColor) !== null && _ref8 !== void 0 ? _ref8 : '#ffffff';
@@ -159,22 +159,82 @@
159
159
  "7",
160
160
  "8",
161
161
  "9",
162
- "10"
162
+ "10",
163
+ "11",
164
+ "12",
165
+ "13",
166
+ "14",
167
+ "15",
168
+ "16",
169
+ "17",
170
+ "18",
171
+ "19",
172
+ "20",
173
+ "21",
174
+ "22",
175
+ "23",
176
+ "24",
177
+ "25",
178
+ "26",
179
+ "27",
180
+ "28",
181
+ "29",
182
+ "30",
183
+ "31",
184
+ "32",
185
+ "33",
186
+ "34",
187
+ "35",
188
+ "36",
189
+ "37",
190
+ "38",
191
+ "39",
192
+ "40"
163
193
  ],
164
194
  "description": "二维码版本;",
165
195
  "default": "auto",
166
196
  "enumDescription": [
167
197
  "自动",
168
- "1",
169
- "2",
170
- "3",
171
- "4",
172
- "5",
173
- "6",
174
- "7",
175
- "8",
176
- "9",
177
- "10"
198
+ "1 (21*21)",
199
+ "2 (25*25)",
200
+ "3 (29*29)",
201
+ "4 (33*33)",
202
+ "5 (37*37)",
203
+ "6 (41*41)",
204
+ "7 (45*45)",
205
+ "8 (49*49)",
206
+ "9 (53*53)",
207
+ "10 (57*57)",
208
+ "11 (61*61)",
209
+ "12 (65*65)",
210
+ "13 (69*69)",
211
+ "14 (73*73)",
212
+ "15 (77*77)",
213
+ "16 (81*81)",
214
+ "17 (85*85)",
215
+ "18 (89*89)",
216
+ "19 (93*93)",
217
+ "20 (97*97)",
218
+ "21 (101*101)",
219
+ "22 (105*105)",
220
+ "23 (109*109)",
221
+ "24 (113*113)",
222
+ "25 (117*117)",
223
+ "26 (121*121)",
224
+ "27 (125*125)",
225
+ "28 (129*129)",
226
+ "29 (133*133)",
227
+ "30 (137*137)",
228
+ "31 (141*141)",
229
+ "32 (145*145)",
230
+ "33 (149*149)",
231
+ "34 (153*153)",
232
+ "35 (157*157)",
233
+ "36 (161*161)",
234
+ "37 (165*165)",
235
+ "38 (169*169)",
236
+ "39 (173*173)",
237
+ "40 (177*177)"
178
238
  ]
179
239
  },
180
240
  "errorCorrectionLevel": {
@@ -188,25 +248,27 @@
188
248
  "description": "容错级别;",
189
249
  "default": "M",
190
250
  "enumDescription": [
191
- "",
192
- "",
193
- "较高",
194
- ""
251
+ "低(约7%)",
252
+ "中(约15%)",
253
+ "高(约25%)",
254
+ "最高(约30%)"
195
255
  ]
196
256
  },
197
257
  "codeMode": {
198
258
  "type": "string",
199
259
  "enum": [
200
- "byte",
201
- "numeric",
202
- "alphanumeric"
260
+ "qrCode",
261
+ "hanxinCode",
262
+ "pdf417",
263
+ "dataMatrix"
203
264
  ],
204
265
  "description": "码制;",
205
- "default": "byte",
266
+ "default": "qrCode",
206
267
  "enumDescription": [
207
- "字节",
208
- "数字",
209
- "字母数字"
268
+ "QR Code",
269
+ "汉信码",
270
+ "PDF417",
271
+ "Data Matrix"
210
272
  ]
211
273
  },
212
274
  "size": {