@boldreports/javascript-reporting-extensions 10.1.22 → 11.1.10
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/barcode.reportitem.js +193 -0
- package/extension.config.js +14 -2
- package/htmldocument.reportitem.js +160 -8
- package/package.json +1 -1
- package/pdf.signature.reportitem.css +5 -11
- package/pdf.signature.reportitem.js +336 -201
- package/pdfdocument.reportitem.js +141 -7
- package/qrbarcode.reportitem.js +309 -0
- package/shape.reportitem.css +4 -0
- package/shape.reportitem.js +206 -7
- package/signature.dialog.css +4 -0
- package/signature.dialog.js +96 -8
- package/signature.reportitem.js +62 -7
|
@@ -40,7 +40,13 @@ var EJPdfDocument = (function () {
|
|
|
40
40
|
}
|
|
41
41
|
switch (name) {
|
|
42
42
|
case 'DocumentValue':
|
|
43
|
-
|
|
43
|
+
if (typeof newValue === 'string') {
|
|
44
|
+
this.updatePropertyVal(name, newValue);
|
|
45
|
+
}
|
|
46
|
+
else if (newValue) {
|
|
47
|
+
newValue.id ? this.updatePropertyVal(name, newValue.id) : this.updatePropertyVal(name, '');
|
|
48
|
+
newValue.name ? this.updatePropertyVal('DocumentName', newValue.name) : this.updatePropertyVal('DocumentName', '');
|
|
49
|
+
}
|
|
44
50
|
break;
|
|
45
51
|
case 'Sizing':
|
|
46
52
|
this.updatePropertyVal(name, newValue);
|
|
@@ -48,6 +54,7 @@ var EJPdfDocument = (function () {
|
|
|
48
54
|
case 'Source':
|
|
49
55
|
this.updatePropertyVal(name, newValue);
|
|
50
56
|
this.updatePropertyVal('DocumentValue', '');
|
|
57
|
+
this.updatePropertyVal('DocumentName', '');
|
|
51
58
|
this.updatePropertyUIValue('DocumentValue', '');
|
|
52
59
|
break;
|
|
53
60
|
}
|
|
@@ -60,9 +67,12 @@ var EJPdfDocument = (function () {
|
|
|
60
67
|
if (source === 'URL') {
|
|
61
68
|
this.propertyPanel.updatePropertyUIValue('pdfurl', value, customId);
|
|
62
69
|
}
|
|
63
|
-
else {
|
|
70
|
+
else if (source === 'Database') {
|
|
64
71
|
this.propertyPanel.updatePropertyUIValue('pdfdatabase', value, customId);
|
|
65
72
|
}
|
|
73
|
+
else {
|
|
74
|
+
this.propertyPanel.updatePropertyUIValue('pdfserver', value, customId);
|
|
75
|
+
}
|
|
66
76
|
break;
|
|
67
77
|
}
|
|
68
78
|
};
|
|
@@ -100,11 +110,13 @@ var EJPdfDocument = (function () {
|
|
|
100
110
|
'ItemType': 'DropDown',
|
|
101
111
|
'ValueList': [
|
|
102
112
|
{ text: 'url', value: 'URL' },
|
|
103
|
-
{ text: 'database', value: 'Database' }
|
|
113
|
+
{ text: 'database', value: 'Database' },
|
|
114
|
+
{ text: 'server', value: 'Server' }
|
|
104
115
|
],
|
|
105
116
|
'DependentItems': [
|
|
106
|
-
{ EnableItems: ['basicsettings_pdfurl'], DisableItems: ['basicsettings_pdfdatabase'], Value: ['URL'] },
|
|
107
|
-
{ EnableItems: ['basicsettings_pdfdatabase'], DisableItems: ['basicsettings_pdfurl'], Value: ['Database'] }
|
|
117
|
+
{ EnableItems: ['basicsettings_pdfurl'], DisableItems: ['basicsettings_pdfdatabase', 'basicsettings_pdfserver'], Value: ['URL'] },
|
|
118
|
+
{ EnableItems: ['basicsettings_pdfdatabase'], DisableItems: ['basicsettings_pdfurl', 'basicsettings_pdfserver'], Value: ['Database'] },
|
|
119
|
+
{ EnableItems: ['basicsettings_pdfserver'], DisableItems: ['basicsettings_pdfurl', 'basicsettings_pdfdatabase'], Value: ['Server'] }
|
|
108
120
|
]
|
|
109
121
|
},
|
|
110
122
|
{
|
|
@@ -124,7 +136,17 @@ var EJPdfDocument = (function () {
|
|
|
124
136
|
'Value': this.getPropertyVal('DocumentValue'),
|
|
125
137
|
'ItemType': 'ComboBox',
|
|
126
138
|
'SourceType': 'Fields',
|
|
127
|
-
'EnableExpression': true
|
|
139
|
+
'EnableExpression': true,
|
|
140
|
+
'EnableSearch': true
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
'ItemId': 'pdfserver',
|
|
144
|
+
'Name': 'DocumentValue',
|
|
145
|
+
'ParentId': 'basicsettings_pdfsource',
|
|
146
|
+
'DisplayName': 'server',
|
|
147
|
+
'Value': this.getPropertyVal('DocumentName'),
|
|
148
|
+
'ItemType': 'FilePicker',
|
|
149
|
+
'FileType': ['.pdf']
|
|
128
150
|
},
|
|
129
151
|
{
|
|
130
152
|
'ItemId': 'pdfsizing',
|
|
@@ -182,6 +204,7 @@ var EJPdfDocument = (function () {
|
|
|
182
204
|
if (this.customJSON === null) {
|
|
183
205
|
this.customJSON = new ej.ReportModel.CustomReportItem().getModel();
|
|
184
206
|
this.setPropertyVal('DocumentValue', '');
|
|
207
|
+
this.setPropertyVal('DocumentName', '');
|
|
185
208
|
this.setPropertyVal('Sizing', 'AutoSize');
|
|
186
209
|
this.setPropertyVal('Source', 'URL');
|
|
187
210
|
}
|
|
@@ -235,6 +258,11 @@ var EJPdfDocument = (function () {
|
|
|
235
258
|
return pdfLocale.sourceTypes.database;
|
|
236
259
|
}
|
|
237
260
|
return defaultLocale.sourceTypes.database;
|
|
261
|
+
case 'server':
|
|
262
|
+
if (pdfLocale && pdfLocale.sourceTypes && pdfLocale.sourceTypes.server) {
|
|
263
|
+
return pdfLocale.sourceTypes.server;
|
|
264
|
+
}
|
|
265
|
+
return defaultLocale.sourceTypes.server;
|
|
238
266
|
case 'auto':
|
|
239
267
|
if (pdfLocale && pdfLocale.sizeTypes && pdfLocale.sizeTypes.auto) {
|
|
240
268
|
return pdfLocale.sizeTypes.auto;
|
|
@@ -256,6 +284,7 @@ EJPdfDocument.Locale['en-US'] = {
|
|
|
256
284
|
sourceTypes: {
|
|
257
285
|
url: 'URL',
|
|
258
286
|
database: 'Database',
|
|
287
|
+
server: 'Server'
|
|
259
288
|
},
|
|
260
289
|
categoryBasicSettings: 'Basic Settings',
|
|
261
290
|
sizing: 'Sizing',
|
|
@@ -274,6 +303,7 @@ EJPdfDocument.Locale['ar-AE'] = {
|
|
|
274
303
|
sourceTypes: {
|
|
275
304
|
url: 'URL',
|
|
276
305
|
database: 'قاعدة البيانات',
|
|
306
|
+
server: 'الخادم'
|
|
277
307
|
},
|
|
278
308
|
categoryBasicSettings: 'الإعدادات الأساسية',
|
|
279
309
|
sizing: 'تغيير الحجم',
|
|
@@ -292,6 +322,7 @@ EJPdfDocument.Locale['fr-FR'] = {
|
|
|
292
322
|
sourceTypes: {
|
|
293
323
|
url: 'URL',
|
|
294
324
|
database: 'Base de données',
|
|
325
|
+
server: 'Serveur'
|
|
295
326
|
},
|
|
296
327
|
categoryBasicSettings: 'Paramètres de base',
|
|
297
328
|
sizing: 'Dimensionnement',
|
|
@@ -310,6 +341,7 @@ EJPdfDocument.Locale['de-DE'] = {
|
|
|
310
341
|
sourceTypes: {
|
|
311
342
|
url: 'URL',
|
|
312
343
|
database: 'Datenbank',
|
|
344
|
+
server: 'Server'
|
|
313
345
|
},
|
|
314
346
|
categoryBasicSettings: 'Grundeinstellungen',
|
|
315
347
|
sizing: 'Größenanpassung',
|
|
@@ -328,6 +360,7 @@ EJPdfDocument.Locale['en-AU'] = {
|
|
|
328
360
|
sourceTypes: {
|
|
329
361
|
url: 'URL',
|
|
330
362
|
database: 'Database',
|
|
363
|
+
server: 'Server'
|
|
331
364
|
},
|
|
332
365
|
categoryBasicSettings: 'Basic Settings',
|
|
333
366
|
sizing: 'Sizing',
|
|
@@ -346,6 +379,7 @@ EJPdfDocument.Locale['en-CA'] = {
|
|
|
346
379
|
sourceTypes: {
|
|
347
380
|
url: 'URL',
|
|
348
381
|
database: 'Database',
|
|
382
|
+
server: 'Server'
|
|
349
383
|
},
|
|
350
384
|
categoryBasicSettings: 'Basic Settings',
|
|
351
385
|
sizing: 'Sizing',
|
|
@@ -364,6 +398,7 @@ EJPdfDocument.Locale['es-ES'] = {
|
|
|
364
398
|
sourceTypes: {
|
|
365
399
|
url: 'URL',
|
|
366
400
|
database: 'Base de datos',
|
|
401
|
+
server: 'Servidor'
|
|
367
402
|
},
|
|
368
403
|
categoryBasicSettings: 'Configuración básica',
|
|
369
404
|
sizing: 'Tamaño',
|
|
@@ -382,6 +417,7 @@ EJPdfDocument.Locale['it-IT'] = {
|
|
|
382
417
|
sourceTypes: {
|
|
383
418
|
url: 'URL',
|
|
384
419
|
database: 'Database',
|
|
420
|
+
server: 'Server'
|
|
385
421
|
},
|
|
386
422
|
categoryBasicSettings: 'Impostazioni di base',
|
|
387
423
|
sizing: 'Ridimensionamento',
|
|
@@ -400,6 +436,7 @@ EJPdfDocument.Locale['fr-CA'] = {
|
|
|
400
436
|
sourceTypes: {
|
|
401
437
|
url: 'URL',
|
|
402
438
|
database: 'Base de données',
|
|
439
|
+
server: 'Serveur'
|
|
403
440
|
},
|
|
404
441
|
categoryBasicSettings: 'Paramètres de base',
|
|
405
442
|
sizing: 'Dimensionnement',
|
|
@@ -418,6 +455,7 @@ EJPdfDocument.Locale['tr-TR'] = {
|
|
|
418
455
|
sourceTypes: {
|
|
419
456
|
url: 'URL',
|
|
420
457
|
database: 'Veritabanı',
|
|
458
|
+
server: 'Sunucu'
|
|
421
459
|
},
|
|
422
460
|
categoryBasicSettings: 'Temel Ayarlar',
|
|
423
461
|
sizing: 'Boyutlandırma',
|
|
@@ -431,11 +469,12 @@ EJPdfDocument.Locale['tr-TR'] = {
|
|
|
431
469
|
title: 'PDF'
|
|
432
470
|
}
|
|
433
471
|
};
|
|
434
|
-
EJPdfDocument.Locale['zh-
|
|
472
|
+
EJPdfDocument.Locale['zh-Hans'] = {
|
|
435
473
|
source: '来源',
|
|
436
474
|
sourceTypes: {
|
|
437
475
|
url: 'URL',
|
|
438
476
|
database: '数据库',
|
|
477
|
+
server: '服务器'
|
|
439
478
|
},
|
|
440
479
|
categoryBasicSettings: '基本设置',
|
|
441
480
|
sizing: '调整大小',
|
|
@@ -449,3 +488,98 @@ EJPdfDocument.Locale['zh-CN'] = {
|
|
|
449
488
|
title: 'PDF'
|
|
450
489
|
}
|
|
451
490
|
};
|
|
491
|
+
EJPdfDocument.Locale['he-IL'] = {
|
|
492
|
+
source: 'מקור',
|
|
493
|
+
sourceTypes: {
|
|
494
|
+
url: 'כתובת URL',
|
|
495
|
+
database: 'מסד נתונים',
|
|
496
|
+
server: 'שרת'
|
|
497
|
+
},
|
|
498
|
+
categoryBasicSettings: 'הגדרות בסיסיות',
|
|
499
|
+
sizing: 'גודל',
|
|
500
|
+
sizeTypes: {
|
|
501
|
+
auto: 'גודל אוטומטי',
|
|
502
|
+
fitPage: 'התאם לגודל הדף'
|
|
503
|
+
},
|
|
504
|
+
toolTip: {
|
|
505
|
+
requirements: 'הצגת קובץ PDF כלשהו',
|
|
506
|
+
description: 'הצגת תוכן מסמך ה-PDF בדוח',
|
|
507
|
+
title: 'PDF'
|
|
508
|
+
}
|
|
509
|
+
};
|
|
510
|
+
EJPdfDocument.Locale['ja-JP'] = {
|
|
511
|
+
source: 'ソース',
|
|
512
|
+
sourceTypes: {
|
|
513
|
+
url: 'URL',
|
|
514
|
+
database: 'データベース',
|
|
515
|
+
server: 'サーバ'
|
|
516
|
+
},
|
|
517
|
+
categoryBasicSettings: '基本設定',
|
|
518
|
+
sizing: 'サイズ設定',
|
|
519
|
+
sizeTypes: {
|
|
520
|
+
auto: '自動サイズ',
|
|
521
|
+
fitPage: 'ページサイズに合わせる'
|
|
522
|
+
},
|
|
523
|
+
toolTip: {
|
|
524
|
+
requirements: '任意のPDFファイルを表示',
|
|
525
|
+
description: 'レポートでPDFドキュメントの内容を表示します',
|
|
526
|
+
title: 'PDF'
|
|
527
|
+
}
|
|
528
|
+
};
|
|
529
|
+
EJPdfDocument.Locale['pt-PT'] = {
|
|
530
|
+
source: 'Fonte',
|
|
531
|
+
sourceTypes: {
|
|
532
|
+
url: 'URL',
|
|
533
|
+
database: 'Base de dados',
|
|
534
|
+
server: 'Servidor'
|
|
535
|
+
},
|
|
536
|
+
categoryBasicSettings: 'Configurações básicas',
|
|
537
|
+
sizing: 'Dimensionamento',
|
|
538
|
+
sizeTypes: {
|
|
539
|
+
auto: 'Tamanho automático',
|
|
540
|
+
fitPage: 'Ajustar ao tamanho da página'
|
|
541
|
+
},
|
|
542
|
+
toolTip: {
|
|
543
|
+
requirements: 'Exibir qualquer ficheiro PDF',
|
|
544
|
+
description: 'Exibir o conteúdo do documento PDF no relatório',
|
|
545
|
+
title: 'PDF'
|
|
546
|
+
}
|
|
547
|
+
};
|
|
548
|
+
EJPdfDocument.Locale['ru-RU'] = {
|
|
549
|
+
source: 'Источник',
|
|
550
|
+
sourceTypes: {
|
|
551
|
+
url: 'URL',
|
|
552
|
+
database: 'База данных',
|
|
553
|
+
server: 'Сервер'
|
|
554
|
+
},
|
|
555
|
+
categoryBasicSettings: 'Основные настройки',
|
|
556
|
+
sizing: 'Размер',
|
|
557
|
+
sizeTypes: {
|
|
558
|
+
auto: 'Автоматический размер',
|
|
559
|
+
fitPage: 'Подогнать под размер страницы'
|
|
560
|
+
},
|
|
561
|
+
toolTip: {
|
|
562
|
+
requirements: 'Показать любой PDF-файл',
|
|
563
|
+
description: 'Показать содержимое PDF-документа в отчете',
|
|
564
|
+
title: 'PDF'
|
|
565
|
+
}
|
|
566
|
+
};
|
|
567
|
+
EJPdfDocument.Locale['zh-Hant'] = {
|
|
568
|
+
source: '來源',
|
|
569
|
+
sourceTypes: {
|
|
570
|
+
url: 'URL',
|
|
571
|
+
database: '資料庫',
|
|
572
|
+
server: '伺服器'
|
|
573
|
+
},
|
|
574
|
+
categoryBasicSettings: '基本設定',
|
|
575
|
+
sizing: '調整大小',
|
|
576
|
+
sizeTypes: {
|
|
577
|
+
auto: '自動大小',
|
|
578
|
+
fitPage: '符合頁面大小'
|
|
579
|
+
},
|
|
580
|
+
toolTip: {
|
|
581
|
+
requirements: '顯示任何 PDF 檔案',
|
|
582
|
+
description: '在報告中顯示 PDF 文件內容',
|
|
583
|
+
title: 'PDF'
|
|
584
|
+
}
|
|
585
|
+
};
|
package/qrbarcode.reportitem.js
CHANGED
|
@@ -107,6 +107,9 @@ var EJQRBarcode = (function () {
|
|
|
107
107
|
newValue = this.getPdfErrCorrLevel(newValue);
|
|
108
108
|
this.updatePropertyVal('CorrectionLevel', newValue);
|
|
109
109
|
break;
|
|
110
|
+
case 'BarcodeRotation':
|
|
111
|
+
this.updatePropertyVal(name, newValue ? newValue : 'None');
|
|
112
|
+
break;
|
|
110
113
|
}
|
|
111
114
|
};
|
|
112
115
|
EJQRBarcode.prototype.updatePropertyUIValue = function (name, value) {
|
|
@@ -126,6 +129,10 @@ var EJQRBarcode = (function () {
|
|
|
126
129
|
break;
|
|
127
130
|
case 'Pdf417CorrectionLevel':
|
|
128
131
|
this.propertyPanel.updatePropertyUIValue('pdferrcorrlevel', value, customId);
|
|
132
|
+
break;
|
|
133
|
+
case 'BarcodeRotation':
|
|
134
|
+
this.propertyPanel.updatePropertyUIValue('barcoderotation', value, customId);
|
|
135
|
+
break;
|
|
129
136
|
}
|
|
130
137
|
};
|
|
131
138
|
EJQRBarcode.prototype.onPositionChanged = function (top, left) {
|
|
@@ -216,6 +223,15 @@ var EJQRBarcode = (function () {
|
|
|
216
223
|
'ItemType': 'DropDown',
|
|
217
224
|
'EnableExpression': false,
|
|
218
225
|
'ValueList': this.getPDF417CorrectionLevel()
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
'ItemId': 'barcoderotation',
|
|
229
|
+
'Name': 'BarcodeRotation',
|
|
230
|
+
'DisplayName': 'barcodeRotationLabel',
|
|
231
|
+
'Value': this.getBarcodeRotation(this.getPropertyVal('BarcodeRotation')),
|
|
232
|
+
'ItemType': 'DropDown',
|
|
233
|
+
'EnableExpression': false,
|
|
234
|
+
'ValueList': this.getRotationLevel()
|
|
219
235
|
}
|
|
220
236
|
]
|
|
221
237
|
}
|
|
@@ -287,6 +303,32 @@ var EJQRBarcode = (function () {
|
|
|
287
303
|
}
|
|
288
304
|
];
|
|
289
305
|
};
|
|
306
|
+
EJQRBarcode.prototype.getRotationLevel = function () {
|
|
307
|
+
return [
|
|
308
|
+
{
|
|
309
|
+
text: 'rotationnone', value: 'None'
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
text: 'rotate90degrees', value: 'Rotate90Degrees'
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
text: 'rotate180degrees', value: 'Rotate180Degrees'
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
text: 'rotate270degrees', value: 'Rotate270Degrees'
|
|
319
|
+
}
|
|
320
|
+
];
|
|
321
|
+
};
|
|
322
|
+
EJQRBarcode.prototype.getBarcodeRotation = function (rotation) {
|
|
323
|
+
var rotationVal = rotation ? rotation.toLowerCase() : '';
|
|
324
|
+
switch (rotationVal) {
|
|
325
|
+
case 'none': return 'None';
|
|
326
|
+
case 'rotate90degrees': return 'Rotate90Degrees';
|
|
327
|
+
case 'rotate180degrees': return 'Rotate180Degrees';
|
|
328
|
+
case 'rotate270degrees': return 'Rotate270Degrees';
|
|
329
|
+
}
|
|
330
|
+
return 'None';
|
|
331
|
+
};
|
|
290
332
|
EJQRBarcode.prototype.getBarcodeType = function (type) {
|
|
291
333
|
switch (type.toLowerCase()) {
|
|
292
334
|
case 'qrbarcode': return 'QR Barcode';
|
|
@@ -353,14 +395,19 @@ var EJQRBarcode = (function () {
|
|
|
353
395
|
this.customJSON.CustomProperties.push(new ej.ReportModel.CustomProperty(name, val));
|
|
354
396
|
};
|
|
355
397
|
EJQRBarcode.prototype.updatePropertyVal = function (propertyName, value) {
|
|
398
|
+
var isUpdated = false;
|
|
356
399
|
if (this.customJSON.CustomProperties && this.customJSON.CustomProperties.length > 0) {
|
|
357
400
|
for (var index = 0; index < this.customJSON.CustomProperties.length; index++) {
|
|
358
401
|
if (this.customJSON.CustomProperties[index].Name === propertyName) {
|
|
359
402
|
this.customJSON.CustomProperties[index].Value = value;
|
|
403
|
+
isUpdated = true;
|
|
360
404
|
break;
|
|
361
405
|
}
|
|
362
406
|
}
|
|
363
407
|
}
|
|
408
|
+
if (!isUpdated) {
|
|
409
|
+
this.setPropertyVal(propertyName, value);
|
|
410
|
+
}
|
|
364
411
|
};
|
|
365
412
|
EJQRBarcode.prototype.getReportItemJson = function () {
|
|
366
413
|
if (this.customJSON === null) {
|
|
@@ -369,6 +416,7 @@ var EJQRBarcode = (function () {
|
|
|
369
416
|
this.setPropertyVal('BarcodeType', 'QRBarcode');
|
|
370
417
|
this.setPropertyVal('DisplayBarcodeText', 'true');
|
|
371
418
|
this.setPropertyVal('CorrectionLevel', 'Low');
|
|
419
|
+
this.setPropertyVal('BarcodeRotation', 'None');
|
|
372
420
|
}
|
|
373
421
|
return this.customJSON;
|
|
374
422
|
};
|
|
@@ -488,6 +536,31 @@ var EJQRBarcode = (function () {
|
|
|
488
536
|
return barcodeLocale.pdf417CorrectionLevel.auto;
|
|
489
537
|
}
|
|
490
538
|
return defaultLocale.pdf417CorrectionLevel.auto;
|
|
539
|
+
case 'barcoderotationlabel':
|
|
540
|
+
if (barcodeLocale && barcodeLocale.barcodeRotationLabel) {
|
|
541
|
+
return barcodeLocale.barcodeRotationLabel;
|
|
542
|
+
}
|
|
543
|
+
return defaultLocale.barcodeRotationLabel;
|
|
544
|
+
case 'rotationnone':
|
|
545
|
+
if (barcodeLocale && barcodeLocale.barcodeRotation.rotationNone) {
|
|
546
|
+
return barcodeLocale.barcodeRotation.rotationNone;
|
|
547
|
+
}
|
|
548
|
+
return defaultLocale.barcodeRotation.rotationNone;
|
|
549
|
+
case 'rotate90degrees':
|
|
550
|
+
if (barcodeLocale && barcodeLocale.barcodeRotation.rotate90degrees) {
|
|
551
|
+
return barcodeLocale.barcodeRotation.rotate90degrees;
|
|
552
|
+
}
|
|
553
|
+
return defaultLocale.barcodeRotation.rotate90degrees;
|
|
554
|
+
case 'rotate180degrees':
|
|
555
|
+
if (barcodeLocale && barcodeLocale.barcodeRotation.rotate180degrees) {
|
|
556
|
+
return barcodeLocale.barcodeRotation.rotate180degrees;
|
|
557
|
+
}
|
|
558
|
+
return defaultLocale.barcodeRotation.rotate180degrees;
|
|
559
|
+
case 'rotate270degrees':
|
|
560
|
+
if (barcodeLocale && barcodeLocale.barcodeRotation.rotate270degrees) {
|
|
561
|
+
return barcodeLocale.barcodeRotation.rotate270degrees;
|
|
562
|
+
}
|
|
563
|
+
return defaultLocale.barcodeRotation.rotate270degrees;
|
|
491
564
|
}
|
|
492
565
|
return text;
|
|
493
566
|
};
|
|
@@ -545,6 +618,13 @@ EJQRBarcode.Locale['en-US'] = {
|
|
|
545
618
|
level6: 'Level6',
|
|
546
619
|
level7: 'Level7',
|
|
547
620
|
level8: 'Level8',
|
|
621
|
+
},
|
|
622
|
+
barcodeRotationLabel: 'Rotation',
|
|
623
|
+
barcodeRotation: {
|
|
624
|
+
rotationNone: 'None',
|
|
625
|
+
rotate90degrees: '90',
|
|
626
|
+
rotate180degrees: '180',
|
|
627
|
+
rotate270degrees: '270'
|
|
548
628
|
}
|
|
549
629
|
};
|
|
550
630
|
EJQRBarcode.Locale['fr-FR'] = {
|
|
@@ -575,5 +655,234 @@ EJQRBarcode.Locale['fr-FR'] = {
|
|
|
575
655
|
level6: 'Niveau6',
|
|
576
656
|
level7: 'Niveau7',
|
|
577
657
|
level8: 'Niveau8',
|
|
658
|
+
},
|
|
659
|
+
barcodeRotationLabel: 'Rotation',
|
|
660
|
+
barcodeRotation: {
|
|
661
|
+
rotationNone: 'Aucun',
|
|
662
|
+
rotate90degrees: '90',
|
|
663
|
+
rotate180degrees: '180',
|
|
664
|
+
rotate270degrees: '270'
|
|
665
|
+
}
|
|
666
|
+
};
|
|
667
|
+
EJQRBarcode.Locale['he-IL'] = {
|
|
668
|
+
barcodeType: 'סוג סימנים',
|
|
669
|
+
barcodeValue: 'טקסט',
|
|
670
|
+
textVisibility: 'הצגת טקסט',
|
|
671
|
+
categoryBasicSettings: 'הגדרות בסיסיות',
|
|
672
|
+
toolTip: {
|
|
673
|
+
requirements: 'הצג כל סוג של ברקוד.',
|
|
674
|
+
description: 'מציג ברקודים.',
|
|
675
|
+
title: 'ברקוד QR'
|
|
676
|
+
},
|
|
677
|
+
correctionLabel: 'רמת תיקון',
|
|
678
|
+
qrcodeCorrectionLevel: {
|
|
679
|
+
low: 'נמוכה',
|
|
680
|
+
medium: 'בינונית',
|
|
681
|
+
quartile: 'רמה רבעית',
|
|
682
|
+
high: 'גבוהה'
|
|
683
|
+
},
|
|
684
|
+
pdf417CorrectionLevel: {
|
|
685
|
+
auto: 'אוטומטית',
|
|
686
|
+
level0: 'רמה 0',
|
|
687
|
+
level1: 'רמה 1',
|
|
688
|
+
level2: 'רמה 2',
|
|
689
|
+
level3: 'רמה 3',
|
|
690
|
+
level4: 'רמה 4',
|
|
691
|
+
level5: 'רמה 5',
|
|
692
|
+
level6: 'רמה 6',
|
|
693
|
+
level7: 'רמה 7',
|
|
694
|
+
level8: 'רמה 8',
|
|
695
|
+
},
|
|
696
|
+
barcodeRotationLabel: 'סיבוב',
|
|
697
|
+
barcodeRotation: {
|
|
698
|
+
rotationNone: 'ללא',
|
|
699
|
+
rotate90degrees: '90',
|
|
700
|
+
rotate180degrees: '180',
|
|
701
|
+
rotate270degrees: '270'
|
|
702
|
+
}
|
|
703
|
+
};
|
|
704
|
+
EJQRBarcode.Locale['ja-JP'] = {
|
|
705
|
+
barcodeType: 'シンボロジータイプ',
|
|
706
|
+
barcodeValue: 'テキスト',
|
|
707
|
+
textVisibility: 'テキストの表示',
|
|
708
|
+
categoryBasicSettings: '基本設定',
|
|
709
|
+
toolTip: {
|
|
710
|
+
requirements: 'すべてのバーコードタイプを表示します。',
|
|
711
|
+
description: 'バーコードを表示します。',
|
|
712
|
+
title: 'QRバーコード'
|
|
713
|
+
},
|
|
714
|
+
correctionLabel: '訂正レベル',
|
|
715
|
+
qrcodeCorrectionLevel: {
|
|
716
|
+
low: '低',
|
|
717
|
+
medium: '中',
|
|
718
|
+
quartile: '四分位',
|
|
719
|
+
high: '高'
|
|
720
|
+
},
|
|
721
|
+
pdf417CorrectionLevel: {
|
|
722
|
+
auto: '自動',
|
|
723
|
+
level0: 'レベル0',
|
|
724
|
+
level1: 'レベル1',
|
|
725
|
+
level2: 'レベル2',
|
|
726
|
+
level3: 'レベル3',
|
|
727
|
+
level4: 'レベル4',
|
|
728
|
+
level5: 'レベル5',
|
|
729
|
+
level6: 'レベル6',
|
|
730
|
+
level7: 'レベル7',
|
|
731
|
+
level8: 'レベル8',
|
|
732
|
+
},
|
|
733
|
+
barcodeRotationLabel: '回転',
|
|
734
|
+
barcodeRotation: {
|
|
735
|
+
rotationNone: 'なし',
|
|
736
|
+
rotate90degrees: '90',
|
|
737
|
+
rotate180degrees: '180',
|
|
738
|
+
rotate270degrees: '270'
|
|
739
|
+
}
|
|
740
|
+
};
|
|
741
|
+
EJQRBarcode.Locale['pt-PT'] = {
|
|
742
|
+
barcodeType: 'Tipo de simbologia',
|
|
743
|
+
barcodeValue: 'Texto',
|
|
744
|
+
textVisibility: 'Visibilidade do texto',
|
|
745
|
+
categoryBasicSettings: 'Configurações básicas',
|
|
746
|
+
toolTip: {
|
|
747
|
+
requirements: 'Exibe qualquer tipo de código de barras.',
|
|
748
|
+
description: 'Exibe os códigos de barras.',
|
|
749
|
+
title: 'Código QR'
|
|
750
|
+
},
|
|
751
|
+
correctionLabel: 'Nível de correção',
|
|
752
|
+
qrcodeCorrectionLevel: {
|
|
753
|
+
low: 'Baixo',
|
|
754
|
+
medium: 'Médio',
|
|
755
|
+
quartile: 'Quartil',
|
|
756
|
+
high: 'Alto'
|
|
757
|
+
},
|
|
758
|
+
pdf417CorrectionLevel: {
|
|
759
|
+
auto: 'Automático',
|
|
760
|
+
level0: 'Nível0',
|
|
761
|
+
level1: 'Nível1',
|
|
762
|
+
level2: 'Nível2',
|
|
763
|
+
level3: 'Nível3',
|
|
764
|
+
level4: 'Nível4',
|
|
765
|
+
level5: 'Nível5',
|
|
766
|
+
level6: 'Nível6',
|
|
767
|
+
level7: 'Nível7',
|
|
768
|
+
level8: 'Nível8',
|
|
769
|
+
},
|
|
770
|
+
barcodeRotationLabel: 'Rotação',
|
|
771
|
+
barcodeRotation: {
|
|
772
|
+
rotationNone: 'Nenhuma',
|
|
773
|
+
rotate90degrees: '90',
|
|
774
|
+
rotate180degrees: '180',
|
|
775
|
+
rotate270degrees: '270'
|
|
776
|
+
}
|
|
777
|
+
};
|
|
778
|
+
EJQRBarcode.Locale['ru-RU'] = {
|
|
779
|
+
barcodeType: 'Тип символики',
|
|
780
|
+
barcodeValue: 'Текст',
|
|
781
|
+
textVisibility: 'Отображение текста',
|
|
782
|
+
categoryBasicSettings: 'Основные настройки',
|
|
783
|
+
toolTip: {
|
|
784
|
+
requirements: 'Отображает любой тип штрихкода.',
|
|
785
|
+
description: 'Отображает штрихкоды.',
|
|
786
|
+
title: 'QR-код'
|
|
787
|
+
},
|
|
788
|
+
correctionLabel: 'Уровень коррекции',
|
|
789
|
+
qrcodeCorrectionLevel: {
|
|
790
|
+
low: 'Низкий',
|
|
791
|
+
medium: 'Средний',
|
|
792
|
+
quartile: 'Квартиль',
|
|
793
|
+
high: 'Высокий'
|
|
794
|
+
},
|
|
795
|
+
pdf417CorrectionLevel: {
|
|
796
|
+
auto: 'Авто',
|
|
797
|
+
level0: 'Уровень0',
|
|
798
|
+
level1: 'Уровень1',
|
|
799
|
+
level2: 'Уровень2',
|
|
800
|
+
level3: 'Уровень3',
|
|
801
|
+
level4: 'Уровень4',
|
|
802
|
+
level5: 'Уровень5',
|
|
803
|
+
level6: 'Уровень6',
|
|
804
|
+
level7: 'Уровень7',
|
|
805
|
+
level8: 'Уровень8',
|
|
806
|
+
},
|
|
807
|
+
barcodeRotationLabel: 'Вращение',
|
|
808
|
+
barcodeRotation: {
|
|
809
|
+
rotationNone: 'Нет',
|
|
810
|
+
rotate90degrees: '90',
|
|
811
|
+
rotate180degrees: '180',
|
|
812
|
+
rotate270degrees: '270'
|
|
813
|
+
}
|
|
814
|
+
};
|
|
815
|
+
EJQRBarcode.Locale['zh-Hans'] = {
|
|
816
|
+
barcodeType: '符号类型',
|
|
817
|
+
barcodeValue: '文本',
|
|
818
|
+
textVisibility: '文本可见性',
|
|
819
|
+
categoryBasicSettings: '基本设置',
|
|
820
|
+
toolTip: {
|
|
821
|
+
requirements: '显示任何条码类型。',
|
|
822
|
+
description: '显示条码。',
|
|
823
|
+
title: '二维码'
|
|
824
|
+
},
|
|
825
|
+
correctionLabel: '纠错级别',
|
|
826
|
+
qrcodeCorrectionLevel: {
|
|
827
|
+
low: '低',
|
|
828
|
+
medium: '中',
|
|
829
|
+
quartile: '四分位',
|
|
830
|
+
high: '高'
|
|
831
|
+
},
|
|
832
|
+
pdf417CorrectionLevel: {
|
|
833
|
+
auto: '自动',
|
|
834
|
+
level0: '级别0',
|
|
835
|
+
level1: '级别1',
|
|
836
|
+
level2: '级别2',
|
|
837
|
+
level3: '级别3',
|
|
838
|
+
level4: '级别4',
|
|
839
|
+
level5: '级别5',
|
|
840
|
+
level6: '级别6',
|
|
841
|
+
level7: '级别7',
|
|
842
|
+
level8: '级别8',
|
|
843
|
+
},
|
|
844
|
+
barcodeRotationLabel: '旋转',
|
|
845
|
+
barcodeRotation: {
|
|
846
|
+
rotationNone: '无',
|
|
847
|
+
rotate90degrees: '90',
|
|
848
|
+
rotate180degrees: '180',
|
|
849
|
+
rotate270degrees: '270'
|
|
850
|
+
}
|
|
851
|
+
};
|
|
852
|
+
EJQRBarcode.Locale['zh-Hant'] = {
|
|
853
|
+
barcodeType: '符號類型',
|
|
854
|
+
barcodeValue: '文字',
|
|
855
|
+
textVisibility: '文字可見性',
|
|
856
|
+
categoryBasicSettings: '基本設定',
|
|
857
|
+
toolTip: {
|
|
858
|
+
requirements: '顯示任何條碼類型。',
|
|
859
|
+
description: '顯示條碼。',
|
|
860
|
+
title: '二維碼'
|
|
861
|
+
},
|
|
862
|
+
correctionLabel: '糾錯等級',
|
|
863
|
+
qrcodeCorrectionLevel: {
|
|
864
|
+
low: '低',
|
|
865
|
+
medium: '中',
|
|
866
|
+
quartile: '四分位',
|
|
867
|
+
high: '高'
|
|
868
|
+
},
|
|
869
|
+
pdf417CorrectionLevel: {
|
|
870
|
+
auto: '自動',
|
|
871
|
+
level0: '等級0',
|
|
872
|
+
level1: '等級1',
|
|
873
|
+
level2: '等級2',
|
|
874
|
+
level3: '等級3',
|
|
875
|
+
level4: '等級4',
|
|
876
|
+
level5: '等級5',
|
|
877
|
+
level6: '等級6',
|
|
878
|
+
level7: '等級7',
|
|
879
|
+
level8: '等級8'
|
|
880
|
+
},
|
|
881
|
+
barcodeRotationLabel: '旋轉',
|
|
882
|
+
barcodeRotation: {
|
|
883
|
+
rotationNone: '無',
|
|
884
|
+
rotate90degrees: '90',
|
|
885
|
+
rotate180degrees: '180',
|
|
886
|
+
rotate270degrees: '270'
|
|
578
887
|
}
|
|
579
888
|
};
|