@boldreports/javascript-reporting-extensions 9.1.15 → 10.1.11

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.
@@ -47,4 +47,29 @@ var itemExtensions = [{
47
47
  description: 'Display the different types of shapes as report item',
48
48
  title: 'Shapes'
49
49
  }
50
+ },
51
+ {
52
+ name: 'pdfdocument',
53
+ className: 'EJPdfDocument',
54
+ imageClass: 'customitem-pdfdocument',
55
+ displayName: 'PDF',
56
+ category: 'Documents',
57
+ toolTip: {
58
+ requirements: 'Add a report item to the designer area.',
59
+ description: 'Display the pdf document content in the report',
60
+ title: 'PDF'
61
+ },
62
+ allowHeaderFooter: false
63
+ },
64
+ {
65
+ name: 'htmldocument',
66
+ className: 'EJHtmlDocument',
67
+ imageClass: 'customitem-htmldocument',
68
+ displayName: 'Html',
69
+ category: 'Documents',
70
+ toolTip: {
71
+ requirements: 'Add a report item to the designer area.',
72
+ description: 'This report item used to process the html markup text and url',
73
+ title: 'Html'
74
+ }
50
75
  }];
@@ -56,12 +56,16 @@ var EJHtmlDocument = (function () {
56
56
  var customId = this.customJSON.UniqueId;
57
57
  switch (name) {
58
58
  case 'DocumentValue':
59
- if (this.getPropertyVal('Source') === 'URL') {
59
+ var source = this.getPropertyVal('Source');
60
+ if (source === 'URL') {
60
61
  this.propertyPanel.updatePropertyUIValue('htmlurl', value, customId);
61
62
  }
62
- else {
63
+ else if (source === 'Content') {
63
64
  this.propertyPanel.updatePropertyUIValue('htmlcontent', value, customId);
64
65
  }
66
+ else {
67
+ this.propertyPanel.updatePropertyUIValue('htmldatabase', value, customId);
68
+ }
65
69
  break;
66
70
  }
67
71
  };
@@ -97,11 +101,24 @@ var EJHtmlDocument = (function () {
97
101
  'EnableExpression': false,
98
102
  'Value': this.getPropertyVal('Source'),
99
103
  'ItemType': 'DropDown',
100
- 'ValueList': [{ text: 'content', value: 'Content' }, { text: 'url', value: 'URL' }],
101
- 'DependentItems': [
102
- { EnableItems: ['basicsettings_htmlcontent'], DisableItems: ['basicsettings_htmlurl'], Value: ['Content'] },
103
- { EnableItems: ['basicsettings_htmlurl'], DisableItems: ['basicsettings_htmlcontent'], Value: ['URL'] }
104
- ]
104
+ 'ValueList': [
105
+ { text: 'content', value: 'Content' },
106
+ { text: 'url', value: 'URL' },
107
+ { text: 'database', value: 'Database' }
108
+ ],
109
+ 'DependentItems': [{
110
+ EnableItems: ['basicsettings_htmlcontent'],
111
+ DisableItems: ['basicsettings_htmlurl', 'basicsettings_htmldatabase'],
112
+ Value: ['Content']
113
+ }, {
114
+ EnableItems: ['basicsettings_htmlurl'],
115
+ DisableItems: ['basicsettings_htmlcontent', 'basicsettings_htmldatabase'],
116
+ Value: ['URL']
117
+ }, {
118
+ EnableItems: ['basicsettings_htmldatabase'],
119
+ DisableItems: ['basicsettings_htmlcontent', 'basicsettings_htmlurl'],
120
+ Value: ['Database']
121
+ }]
105
122
  },
106
123
  {
107
124
  'ItemId': 'htmlcontent',
@@ -109,6 +126,7 @@ var EJHtmlDocument = (function () {
109
126
  'ParentId': 'basicsettings_htmlsource',
110
127
  'DisplayName': 'content',
111
128
  'Value': this.getPropertyVal('DocumentValue'),
129
+ 'EnableExpression': false,
112
130
  'ItemType': 'TextArea'
113
131
  },
114
132
  {
@@ -117,8 +135,19 @@ var EJHtmlDocument = (function () {
117
135
  'ParentId': 'basicsettings_htmlsource',
118
136
  'DisplayName': 'url',
119
137
  'Value': this.getPropertyVal('DocumentValue'),
138
+ 'EnableExpression': false,
120
139
  'ItemType': 'TextBox'
121
140
  },
141
+ {
142
+ 'ItemId': 'htmldatabase',
143
+ 'Name': 'DocumentValue',
144
+ 'ParentId': 'basicsettings_htmlsource',
145
+ 'DisplayName': 'database',
146
+ 'Value': this.getPropertyVal('DocumentValue'),
147
+ 'ItemType': 'ComboBox',
148
+ 'SourceType': 'Fields',
149
+ 'EnableExpression': true
150
+ },
122
151
  {
123
152
  'ItemId': 'htmlsizing',
124
153
  'Name': 'Sizing',
@@ -224,32 +253,37 @@ var EJHtmlDocument = (function () {
224
253
  }
225
254
  return defaultLocale.source;
226
255
  case 'content':
227
- if (htmlLocale && htmlLocale.sourceTypes.content) {
256
+ if (htmlLocale && htmlLocale.sourceTypes && htmlLocale.sourceTypes.content) {
228
257
  return htmlLocale.sourceTypes.content;
229
258
  }
230
259
  return defaultLocale.sourceTypes.content;
231
260
  case 'url':
232
- if (htmlLocale && htmlLocale.sourceTypes.url) {
261
+ if (htmlLocale && htmlLocale.sourceTypes && htmlLocale.sourceTypes.url) {
233
262
  return htmlLocale.sourceTypes.url;
234
263
  }
235
264
  return defaultLocale.sourceTypes.url;
265
+ case 'database':
266
+ if (htmlLocale && htmlLocale.sourceTypes && htmlLocale.sourceTypes.database) {
267
+ return htmlLocale.sourceTypes.database;
268
+ }
269
+ return defaultLocale.sourceTypes.database;
236
270
  case 'auto':
237
- if (htmlLocale && htmlLocale.sizeTypes.auto) {
271
+ if (htmlLocale && htmlLocale.sizeTypes && htmlLocale.sizeTypes.auto) {
238
272
  return htmlLocale.sizeTypes.auto;
239
273
  }
240
274
  return defaultLocale.sizeTypes.auto;
241
275
  case 'fit':
242
- if (htmlLocale && htmlLocale.sizeTypes.fit) {
276
+ if (htmlLocale && htmlLocale.sizeTypes && htmlLocale.sizeTypes.fit) {
243
277
  return htmlLocale.sizeTypes.fit;
244
278
  }
245
279
  return defaultLocale.sizeTypes.fit;
246
280
  case 'proportional':
247
- if (htmlLocale && htmlLocale.sizeTypes.proportional) {
281
+ if (htmlLocale && htmlLocale.sizeTypes && htmlLocale.sizeTypes.proportional) {
248
282
  return htmlLocale.sizeTypes.proportional;
249
283
  }
250
284
  return defaultLocale.sizeTypes.proportional;
251
285
  case 'clip':
252
- if (htmlLocale && htmlLocale.sizeTypes.clip) {
286
+ if (htmlLocale && htmlLocale.sizeTypes && htmlLocale.sizeTypes.clip) {
253
287
  return htmlLocale.sizeTypes.clip;
254
288
  }
255
289
  return defaultLocale.sizeTypes.clip;
@@ -264,6 +298,7 @@ EJHtmlDocument.Locale['en-US'] = {
264
298
  sourceTypes: {
265
299
  content: 'Content',
266
300
  url: 'URL',
301
+ database: 'Database',
267
302
  },
268
303
  categoryBasicSettings: 'Basic Settings',
269
304
  sizing: 'Sizing',
@@ -283,7 +318,8 @@ EJHtmlDocument.Locale['ar-AE'] = {
283
318
  source: 'مصدر',
284
319
  sourceTypes: {
285
320
  content: 'محتوى',
286
- url: 'رابط'
321
+ url: 'رابط',
322
+ database: 'قاعدة البيانات',
287
323
  },
288
324
  categoryBasicSettings: 'الإعدادات الأساسية',
289
325
  sizing: 'تغيير الحجم',
@@ -303,7 +339,8 @@ EJHtmlDocument.Locale['fr-FR'] = {
303
339
  source: 'Source',
304
340
  sourceTypes: {
305
341
  content: 'Contenu',
306
- url: 'URL'
342
+ url: 'URL',
343
+ database: 'Base de données',
307
344
  },
308
345
  categoryBasicSettings: 'Paramètres de base',
309
346
  sizing: 'Dimensionnement',
@@ -323,7 +360,8 @@ EJHtmlDocument.Locale['de-DE'] = {
323
360
  source: 'Quelle',
324
361
  sourceTypes: {
325
362
  content: 'Inhalt',
326
- url: 'URL'
363
+ url: 'URL',
364
+ database: 'Datenbank',
327
365
  },
328
366
  categoryBasicSettings: 'Grundeinstellungen',
329
367
  sizing: 'Größenanpassung',
@@ -343,7 +381,8 @@ EJHtmlDocument.Locale['en-AU'] = {
343
381
  source: 'Source',
344
382
  sourceTypes: {
345
383
  content: 'Content',
346
- url: 'URL'
384
+ url: 'URL',
385
+ database: 'Database',
347
386
  },
348
387
  categoryBasicSettings: 'Basic Settings',
349
388
  sizing: 'Sizing',
@@ -363,7 +402,8 @@ EJHtmlDocument.Locale['en-CA'] = {
363
402
  source: 'Source',
364
403
  sourceTypes: {
365
404
  content: 'Content',
366
- url: 'URL'
405
+ url: 'URL',
406
+ database: 'Database',
367
407
  },
368
408
  categoryBasicSettings: 'Basic Settings',
369
409
  sizing: 'Sizing',
@@ -383,7 +423,8 @@ EJHtmlDocument.Locale['es-ES'] = {
383
423
  source: 'Fuente',
384
424
  sourceTypes: {
385
425
  content: 'Contenido',
386
- url: 'URL'
426
+ url: 'URL',
427
+ database: 'Base de datos',
387
428
  },
388
429
  categoryBasicSettings: 'Configuración básica',
389
430
  sizing: 'Tamaño',
@@ -403,7 +444,8 @@ EJHtmlDocument.Locale['it-IT'] = {
403
444
  source: 'Fonte',
404
445
  sourceTypes: {
405
446
  content: 'Contenuto',
406
- url: 'URL'
447
+ url: 'URL',
448
+ database: 'Database',
407
449
  },
408
450
  categoryBasicSettings: 'Impostazioni di base',
409
451
  sizing: 'Ridimensionamento',
@@ -423,7 +465,8 @@ EJHtmlDocument.Locale['fr-CA'] = {
423
465
  source: 'Source',
424
466
  sourceTypes: {
425
467
  content: 'Contenu',
426
- url: 'URL'
468
+ url: 'URL',
469
+ database: 'Base de données',
427
470
  },
428
471
  categoryBasicSettings: 'Paramètres de base',
429
472
  sizing: 'Dimensionnement',
@@ -443,7 +486,8 @@ EJHtmlDocument.Locale['tr-TR'] = {
443
486
  source: 'Kaynak',
444
487
  sourceTypes: {
445
488
  content: 'İçerik',
446
- url: 'URL'
489
+ url: 'URL',
490
+ database: 'Veritabanı',
447
491
  },
448
492
  categoryBasicSettings: 'Temel Ayarlar',
449
493
  sizing: 'Boyutlandırma',
@@ -463,7 +507,8 @@ EJHtmlDocument.Locale['zh-CN'] = {
463
507
  source: '来源',
464
508
  sourceTypes: {
465
509
  content: '内容',
466
- url: 'URL'
510
+ url: 'URL',
511
+ database: '数据库',
467
512
  },
468
513
  categoryBasicSettings: '基本设置',
469
514
  sizing: '调整大小',
@@ -0,0 +1,3 @@
1
+ <svg width="175" height="111" viewBox="0 0 175 111" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M24.5128 39.6986C23.4161 38.4799 22.7506 34.157 23.0882 35.0685C27.7441 47.6392 31.141 60.6917 34.7524 73.6227C35.923 77.8145 42.4119 109.593 51.4028 94.9032C56.8769 85.9596 57.5467 72.8164 58.7931 62.7599C60.4327 49.5319 62.7716 34.8734 60.8411 21.5344C58.2618 3.71359 44.6658 17.8884 41.1632 27.1884C36.2016 40.3624 38.1072 58.249 51.759 65.0749C65.8748 72.1328 82.0949 62.2119 89.4674 50.1608C94.411 42.0799 97.7606 32.711 95.7001 23.1817C94.3658 17.0103 89.2549 12.1885 83.0119 16.3701C69.0313 25.7346 70.7779 50.7866 74.9984 64.3626C78.5044 75.6401 94.6954 87.0636 103.58 74.0679C106.924 69.1762 108.961 63.7674 110.881 58.2188C111.937 55.1698 111.525 56.5797 111.238 58.486C110.446 63.7334 112.922 72.4922 119.073 66.9002C124.095 62.3344 124.66 65.337 129.98 67.7016C137.556 71.0685 138.049 62.4545 143.47 61.4688C145.096 61.1732 145.63 66.4911 148.768 66.0989C149.932 65.9534 156.248 62.938 152.73 62.938" stroke="#344054" stroke-width="3" stroke-linecap="round"/>
3
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boldreports/javascript-reporting-extensions",
3
- "version": "9.1.15",
3
+ "version": "10.1.11",
4
4
  "description": "The Bold Reports Extensions by Syncfusion contains scripts and themes for barcode report item to be integrated in JavaScript Report Viewer and JavaScript Report Designer for enterprise web development(HTML5)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -5,21 +5,57 @@
5
5
  background-image: url('images/pdfsignature.svg');
6
6
  }
7
7
 
8
- .e-rptdesigner-customItem-pdfsign {
9
- border: 1px dotted gray;
10
- overflow: hidden;
11
- position: absolute;
8
+ .e-pdfsign-config, .e-pdfsign-default {
9
+ width: 100%;
12
10
  height: 100%;
11
+ }
12
+
13
+ .e-pdfsign-default {
14
+ background-color: #D1D1D1;
15
+ }
16
+
17
+ .e-pdfsign-config, .e-pdfsign-default, .e-pdfsign-certTxt {
18
+ align-items: center;
19
+ justify-content: center;
20
+ font-size: 12px;
21
+ overflow: hidden;
22
+ }
23
+
24
+ .e-rptdesigner-pdfsign {
25
+ border: 1px dotted gray;
13
26
  width: 100%;
27
+ height: 100%;
14
28
  }
15
29
 
16
- .e-rptdesigner-sign-editIcon {
17
- float: right;
30
+ .e-pdfsign-dataConfig {
31
+ display: flex;
32
+ flex-direction: column;
33
+ gap: 7px;
34
+ padding: 5px;
35
+ width: 50%;
36
+ }
37
+
38
+ .e-pdfsign-signImg {
39
+ background-repeat: no-repeat;
40
+ background-position: center;
41
+ background-size: contain;
42
+ }
43
+
44
+ .e-pdfsign-signImg-bgImg {
45
+ background-image: url('images/samplesignature.svg') !important;
46
+ }
47
+
48
+ .e-pdfsign-label {
49
+ display: flex;
50
+ gap: 7px;
51
+ }
52
+
53
+ .e-rptdesigner-pdfsign-editIcon {
54
+ position: absolute;
18
55
  height: 17px;
19
56
  width: 24px;
20
57
  padding: 1px;
21
58
  right: 0px;
22
- position: absolute;
23
59
  z-index: 1003;
24
60
  top: 7px;
25
61
  background-image: url('images/editicon.svg');