@boldreports/javascript-reporting-extensions 10.1.21 → 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
|
@@ -12,8 +12,8 @@ var EJPDFSignature = (function () {
|
|
|
12
12
|
}
|
|
13
13
|
EJPDFSignature.prototype.initializeItem = function (args) {
|
|
14
14
|
args.isBuildInService = false;
|
|
15
|
-
args.defaultHeight =
|
|
16
|
-
args.defaultWidth =
|
|
15
|
+
args.defaultHeight = 96;
|
|
16
|
+
args.defaultWidth = 192;
|
|
17
17
|
args.minimumHeight = 15;
|
|
18
18
|
args.minimumWidth = 90;
|
|
19
19
|
};
|
|
@@ -26,17 +26,14 @@ var EJPDFSignature = (function () {
|
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
EJPDFSignature.prototype.renderPDFSignature = function () {
|
|
29
|
-
|
|
30
|
-
var bgColor = this.customJSON.Style.BackgroundColor === 'Transparent' ? 'White' : this.customJSON.Style.BackgroundColor;
|
|
31
|
-
this.customItemDiv = this.buildElement('div', 'customitem e-rptdesigner-pdfsign', '', {}, { 'background-color': canDataConfig ? bgColor : 'Transparent' });
|
|
29
|
+
this.customItemDiv = this.buildElement('div', 'customitem e-rptdesigner-pdfsign', '', {}, { 'background-color': this.getBackgroundColor() });
|
|
32
30
|
var isSignedName = this.booleanValue(this.getPropertyValue(this.customJSON.CustomProperties, 'SignedName'));
|
|
33
31
|
var isContactInfo = this.booleanValue(this.getPropertyValue(this.customJSON.CustomProperties, 'ContactInfo'));
|
|
34
32
|
var isReason = this.booleanValue(this.getPropertyValue(this.customJSON.CustomProperties, 'Reason'));
|
|
35
33
|
var isDate = this.booleanValue(this.getPropertyValue(this.customJSON.CustomProperties, 'Date'));
|
|
36
34
|
var isLocation = this.booleanValue(this.getPropertyValue(this.customJSON.CustomProperties, 'Location'));
|
|
37
35
|
var isDataPresent = isSignedName || isContactInfo || isReason || isDate || isLocation;
|
|
38
|
-
var
|
|
39
|
-
var configDiv = this.buildElement('div', 'e-pdfsign-config', '', {}, { 'display': canDataConfig ? 'flex' : 'none' });
|
|
36
|
+
var configDiv = this.buildElement('div', 'e-pdfsign-config', '', {}, { 'display': 'flex' });
|
|
40
37
|
var imgDiv = this.buildElement('div', 'e-pdfsign-signImg', '', {}, { 'display': 'flex', 'width': '50%', 'height': '100%' });
|
|
41
38
|
var dataDiv = this.buildElement('div', 'e-pdfsign-dataConfig', '', {}, { 'display': isDataPresent ? 'flex' : 'none' });
|
|
42
39
|
this.appendElement(dataDiv, 'e-pdfsign-signedName', this.getLocale('signednamelabel') + ': ' + this.getLocale('signednamevalue'), isSignedName);
|
|
@@ -44,7 +41,7 @@ var EJPDFSignature = (function () {
|
|
|
44
41
|
this.appendElement(dataDiv, 'e-pdfsign-reason', this.getLocale('reasonLabel') + ': ' + this.getLocale('reasonvalue'), isReason);
|
|
45
42
|
this.appendElement(dataDiv, 'e-pdfsign-location', this.getLocale('locationLabel') + ': ' + this.getLocale('locationvalue'), isLocation);
|
|
46
43
|
this.appendElement(dataDiv, 'e-pdfsign-date', this.getLocale('dateLabel') + ': ' + this.getFormattedDate(this.instance.model.locale), isDate);
|
|
47
|
-
this.customItemDiv.append(
|
|
44
|
+
this.customItemDiv.append(configDiv);
|
|
48
45
|
configDiv.append(imgDiv, dataDiv);
|
|
49
46
|
this.rootElement.append(this.customItemDiv);
|
|
50
47
|
var base64Prefix = 'data:image/png;base64,';
|
|
@@ -57,8 +54,12 @@ var EJPDFSignature = (function () {
|
|
|
57
54
|
this.clearSign(imgDiv);
|
|
58
55
|
}
|
|
59
56
|
};
|
|
57
|
+
EJPDFSignature.prototype.getBackgroundColor = function () {
|
|
58
|
+
return (this.customJSON && this.customJSON.Style && this.customJSON.Style.BackgroundColor
|
|
59
|
+
&& this.customJSON.Style.BackgroundColor !== 'Transparent' && this.customJSON.Style.BackgroundColor !== '#00ffffff')
|
|
60
|
+
? ej.ReportUtil.convertColorFormat(this.customJSON.Style.BackgroundColor, true) : 'white';
|
|
61
|
+
};
|
|
60
62
|
EJPDFSignature.prototype.getPropertyGridItems = function (baseProperties) {
|
|
61
|
-
var isDataPresent = this.booleanValue(this.getPropertyValue(this.customJSON.CustomProperties, 'DataConfig'));
|
|
62
63
|
var itemProperties = [{
|
|
63
64
|
'CategoryId': 'basicsettings',
|
|
64
65
|
'DisplayName': 'categoryBasicSettings',
|
|
@@ -66,23 +67,12 @@ var EJPDFSignature = (function () {
|
|
|
66
67
|
'IsIgnoreCommon': true,
|
|
67
68
|
'Items': [
|
|
68
69
|
{
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'DependentItems': [
|
|
76
|
-
{
|
|
77
|
-
'DisableItems': ['basicsettings_reason', 'basicsettings_location', 'basicsettings_date', 'basicsettings_signature', 'basicsettings_signedname', 'basicsettings_contactinfo'],
|
|
78
|
-
'Value': [false]
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
'EnableItems': ['basicsettings_reason', 'basicsettings_location', 'basicsettings_date', 'basicsettings_signature', 'basicsettings_signedname', 'basicsettings_contactinfo'],
|
|
82
|
-
'Value': [true]
|
|
83
|
-
}
|
|
84
|
-
],
|
|
85
|
-
IsVisible: true
|
|
70
|
+
ItemId: 'digitalidfile',
|
|
71
|
+
Name: 'digitalidfile',
|
|
72
|
+
DisplayName: 'digitalidfile',
|
|
73
|
+
Value: this.getPropertyValue(this.customJSON.CustomProperties, 'CertificateFileName'),
|
|
74
|
+
ItemType: 'FilePicker',
|
|
75
|
+
FileType: ['.pfx']
|
|
86
76
|
},
|
|
87
77
|
{
|
|
88
78
|
'ItemId': 'signature',
|
|
@@ -90,7 +80,7 @@ var EJPDFSignature = (function () {
|
|
|
90
80
|
'DisplayName': 'signature',
|
|
91
81
|
'ItemType': 'CustomBtn',
|
|
92
82
|
'EnableExpression': false,
|
|
93
|
-
'IsVisible':
|
|
83
|
+
'IsVisible': true
|
|
94
84
|
},
|
|
95
85
|
{
|
|
96
86
|
'ItemId': 'signedname',
|
|
@@ -98,9 +88,8 @@ var EJPDFSignature = (function () {
|
|
|
98
88
|
'DisplayName': 'prptysignedname',
|
|
99
89
|
'ItemType': 'Bool',
|
|
100
90
|
'Value': this.booleanValue(this.getPropertyValue(this.customJSON.CustomProperties, 'SignedName')),
|
|
101
|
-
'ParentId': 'basicsettings_default',
|
|
102
91
|
'EnableExpression': false,
|
|
103
|
-
'IsVisible':
|
|
92
|
+
'IsVisible': true
|
|
104
93
|
},
|
|
105
94
|
{
|
|
106
95
|
'ItemId': 'contactinfo',
|
|
@@ -108,37 +97,51 @@ var EJPDFSignature = (function () {
|
|
|
108
97
|
'DisplayName': 'prptycontactinfo',
|
|
109
98
|
'ItemType': 'Bool',
|
|
110
99
|
'Value': this.booleanValue(this.getPropertyValue(this.customJSON.CustomProperties, 'ContactInfo')),
|
|
111
|
-
'ParentId': 'basicsettings_default',
|
|
112
100
|
'EnableExpression': false,
|
|
113
|
-
'IsVisible':
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
'ItemId': 'reason',
|
|
117
|
-
'Name': 'reason',
|
|
118
|
-
'DisplayName': 'prptyreason',
|
|
119
|
-
'ItemType': 'Bool',
|
|
120
|
-
'Value': this.booleanValue(this.getPropertyValue(this.customJSON.CustomProperties, 'Reason')),
|
|
121
|
-
'ParentId': 'basicsettings_default',
|
|
122
|
-
'EnableExpression': false,
|
|
123
|
-
'IsVisible': isDataPresent
|
|
101
|
+
'IsVisible': true
|
|
124
102
|
}, {
|
|
125
103
|
'ItemId': 'location',
|
|
126
104
|
'Name': 'location',
|
|
127
105
|
'DisplayName': 'prptylocation',
|
|
128
106
|
'ItemType': 'Bool',
|
|
129
107
|
'Value': this.booleanValue(this.getPropertyValue(this.customJSON.CustomProperties, 'Location')),
|
|
130
|
-
'ParentId': 'basicsettings_default',
|
|
131
108
|
'EnableExpression': false,
|
|
132
|
-
'IsVisible':
|
|
109
|
+
'IsVisible': true
|
|
133
110
|
}, {
|
|
134
111
|
'ItemId': 'date',
|
|
135
112
|
'Name': 'date',
|
|
136
113
|
'DisplayName': 'prptydate',
|
|
137
114
|
'ItemType': 'Bool',
|
|
138
115
|
'Value': this.booleanValue(this.getPropertyValue(this.customJSON.CustomProperties, 'Date')),
|
|
139
|
-
'ParentId': 'basicsettings_default',
|
|
140
116
|
'EnableExpression': false,
|
|
141
|
-
'IsVisible':
|
|
117
|
+
'IsVisible': true
|
|
118
|
+
}, {
|
|
119
|
+
'ItemId': 'reasonLabel',
|
|
120
|
+
'Name': 'reasonLabel',
|
|
121
|
+
'DisplayName': 'prptyreason',
|
|
122
|
+
'ItemType': 'Bool',
|
|
123
|
+
'Value': this.booleanValue(this.getPropertyValue(this.customJSON.CustomProperties, 'Reason')),
|
|
124
|
+
'EnableExpression': false,
|
|
125
|
+
'DependentItems': [
|
|
126
|
+
{
|
|
127
|
+
'DisableItems': ['basicsettings_reasonInput'],
|
|
128
|
+
'Value': [false]
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
'EnableItems': ['basicsettings_reasonInput'],
|
|
132
|
+
'Value': [true]
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
'IsVisible': true
|
|
136
|
+
}, {
|
|
137
|
+
'ItemId': 'reasonInput',
|
|
138
|
+
'Name': 'reasonInput',
|
|
139
|
+
'DisplayName': 'prptyReasonInput',
|
|
140
|
+
'ItemType': 'TextBox',
|
|
141
|
+
'Value': this.getPropertyValue(this.customJSON.CustomProperties, 'ReasonText'),
|
|
142
|
+
'ParentId': 'basicsettings_reason',
|
|
143
|
+
'EnableExpression': false,
|
|
144
|
+
'IsVisible': true
|
|
142
145
|
}
|
|
143
146
|
]
|
|
144
147
|
}];
|
|
@@ -156,48 +159,6 @@ var EJPDFSignature = (function () {
|
|
|
156
159
|
var elementDiv = this.buildElement('div', 'e-pdfsign-label' + ' ' + className, text, {}, { 'display': display ? 'flex' : 'none' });
|
|
157
160
|
target.append(elementDiv);
|
|
158
161
|
};
|
|
159
|
-
EJPDFSignature.prototype.isDataConfigured = function () {
|
|
160
|
-
if (this.hasDesignerInstance(this.instance)) {
|
|
161
|
-
var target = this.designPanel.designArea.find('.e-customitem .e-rptdesigner-pdfsign');
|
|
162
|
-
return target.toArray().some(function (targetElement) {
|
|
163
|
-
var itemJSON = ej.ReportUtil.getReportItem($(targetElement.parentElement)).getReportItemJson();
|
|
164
|
-
var customProperties = itemJSON.CustomProperties || [];
|
|
165
|
-
return customProperties.some(function (_a) {
|
|
166
|
-
var Name = _a.Name, Value = _a.Value;
|
|
167
|
-
return Name === 'DataConfig' && Value === 'true';
|
|
168
|
-
});
|
|
169
|
-
});
|
|
170
|
-
}
|
|
171
|
-
};
|
|
172
|
-
EJPDFSignature.prototype.updateDataConfig = function (value) {
|
|
173
|
-
var _this = this;
|
|
174
|
-
var defaultDiv = this.customItemDiv.find('.e-pdfsign-default');
|
|
175
|
-
var configDiv = this.customItemDiv.find('.e-pdfsign-config');
|
|
176
|
-
defaultDiv.css('display', value ? 'none' : 'flex');
|
|
177
|
-
configDiv.css('display', value ? 'flex' : 'none');
|
|
178
|
-
this.updatePropertyVal('DataConfig', value.toString());
|
|
179
|
-
this.customItemDiv.css('background-color', value ? this.customJSON.Style.BackgroundColor === 'Transparent' ? 'white' : this.customJSON.Style.BackgroundColor : 'Transparent');
|
|
180
|
-
if (value && this.hasDesignerInstance(this.instance)) {
|
|
181
|
-
var targets = this.designPanel.designArea.find('.e-customitem .e-rptdesigner-pdfsign');
|
|
182
|
-
targets.toArray().forEach(function (targetElement) {
|
|
183
|
-
var target = $(targetElement.parentElement);
|
|
184
|
-
var itemJSON = ej.ReportUtil.getReportItem(target).getReportItemJson();
|
|
185
|
-
if (itemJSON.Name !== _this.customJSON.Name) {
|
|
186
|
-
var customProperties = itemJSON.CustomProperties || [];
|
|
187
|
-
customProperties.some(function (property) {
|
|
188
|
-
if (property.Name === 'DataConfig' && property.Value === 'true') {
|
|
189
|
-
property.Value = 'false';
|
|
190
|
-
target.find('.e-pdfsign-config').css('display', 'none');
|
|
191
|
-
target.find('.e-pdfsign-default').css('display', 'flex');
|
|
192
|
-
target.find('.e-rptdesigner-pdfsign').css('background-color', 'Transparent');
|
|
193
|
-
return true;
|
|
194
|
-
}
|
|
195
|
-
return false;
|
|
196
|
-
});
|
|
197
|
-
}
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
};
|
|
201
162
|
EJPDFSignature.prototype.undoRedoAction = function (imgInfo) {
|
|
202
163
|
if (imgInfo) {
|
|
203
164
|
if (imgInfo.propertyName && imgInfo.propertyName.toLowerCase() === 'pdfsignature') {
|
|
@@ -211,27 +172,30 @@ var EJPDFSignature = (function () {
|
|
|
211
172
|
args[_i - 3] = arguments[_i];
|
|
212
173
|
}
|
|
213
174
|
switch (name.toLowerCase()) {
|
|
214
|
-
case 'showdata':
|
|
215
|
-
this.updateDataConfig(newValue);
|
|
216
|
-
break;
|
|
217
175
|
case 'signedname':
|
|
218
176
|
this.updateDisplay('e-pdfsign-signedName', newValue, 'SignedName');
|
|
219
177
|
break;
|
|
220
178
|
case 'contactinfo':
|
|
221
179
|
this.updateDisplay('e-pdfsign-contactInfo', newValue, 'ContactInfo');
|
|
222
180
|
break;
|
|
223
|
-
case '
|
|
181
|
+
case 'reasonlabel':
|
|
224
182
|
this.updateDisplay('e-pdfsign-reason', newValue, 'Reason');
|
|
225
183
|
break;
|
|
226
184
|
case 'location':
|
|
227
185
|
this.updateDisplay('e-pdfsign-location', newValue, 'Location');
|
|
228
186
|
break;
|
|
187
|
+
case 'reasoninput':
|
|
188
|
+
this.updatePropertyVal('ReasonText', newValue);
|
|
189
|
+
break;
|
|
229
190
|
case 'date':
|
|
230
191
|
this.updateDisplay('e-pdfsign-date', newValue, 'Date');
|
|
231
192
|
break;
|
|
193
|
+
case 'digitalidfile':
|
|
194
|
+
newValue && newValue.name ? this.updatePropertyVal('CertificateFileName', newValue.name) : this.updatePropertyVal('CertificateFileName', '');
|
|
195
|
+
newValue && newValue.id ? this.updatePropertyVal('CertificateFileID', newValue.id) : this.updatePropertyVal('CertificateFileID', '');
|
|
196
|
+
break;
|
|
232
197
|
case 'backgroundcolor':
|
|
233
|
-
var
|
|
234
|
-
var color = showData ? newValue === 'Transparent' ? 'White' : newValue : 'Transparent';
|
|
198
|
+
var color = (newValue === 'Transparent' || newValue === '#ffffff00') ? 'White' : newValue;
|
|
235
199
|
this.customItemDiv.css('background-color', color);
|
|
236
200
|
break;
|
|
237
201
|
}
|
|
@@ -239,12 +203,13 @@ var EJPDFSignature = (function () {
|
|
|
239
203
|
EJPDFSignature.prototype.updatePropertyUIValue = function (name, value) {
|
|
240
204
|
switch (name.toLowerCase()) {
|
|
241
205
|
case 'backgroundcolor':
|
|
242
|
-
case '
|
|
206
|
+
case 'reasonlabel':
|
|
207
|
+
case 'reasoninput':
|
|
243
208
|
case 'location':
|
|
244
209
|
case 'date':
|
|
245
|
-
case 'showdata':
|
|
246
210
|
case 'signedname':
|
|
247
211
|
case 'contactinfo':
|
|
212
|
+
case 'digitalidfile':
|
|
248
213
|
this.instance.propertyPanel.updatePropertyUIValue(name, value.toString(), this.customJSON.UniqueId);
|
|
249
214
|
break;
|
|
250
215
|
}
|
|
@@ -269,12 +234,20 @@ var EJPDFSignature = (function () {
|
|
|
269
234
|
});
|
|
270
235
|
}
|
|
271
236
|
};
|
|
272
|
-
EJPDFSignature.prototype.updateDisplay = function (className,
|
|
237
|
+
EJPDFSignature.prototype.updateDisplay = function (className, propValue, propertyName) {
|
|
238
|
+
this.updatePropertyVal(propertyName, propValue.toString());
|
|
273
239
|
var elementDiv = this.customItemDiv.find('.' + className);
|
|
274
240
|
var dataConfig = this.customItemDiv.find('.e-pdfsign-dataConfig');
|
|
275
|
-
|
|
276
|
-
this.
|
|
277
|
-
|
|
241
|
+
var imgDiv = this.customItemDiv.find('.e-pdfsign-signImg');
|
|
242
|
+
var isDataPresent = this.isDataConfigured(this.customJSON.CustomProperties);
|
|
243
|
+
elementDiv.css('display', this.booleanValue(propValue) ? 'flex' : 'none');
|
|
244
|
+
dataConfig.css('display', isDataPresent ? 'flex' : 'none');
|
|
245
|
+
imgDiv.css('width', isDataPresent ? '50%' : '100%');
|
|
246
|
+
};
|
|
247
|
+
EJPDFSignature.prototype.isDataConfigured = function (customProperties) {
|
|
248
|
+
var _this = this;
|
|
249
|
+
var properties = ['Reason', 'Location', 'Date', 'ContactInfo', 'SignedName'];
|
|
250
|
+
return properties.some(function (prop) { return _this.booleanValue(_this.getPropertyValue(customProperties, prop)); });
|
|
278
251
|
};
|
|
279
252
|
EJPDFSignature.prototype.customAction = function (paramInfo) {
|
|
280
253
|
var imgData = this.getPropertyValue(this.customJSON.CustomProperties, 'SignatureValue');
|
|
@@ -316,11 +289,6 @@ var EJPDFSignature = (function () {
|
|
|
316
289
|
imgDiv.css('background-image', 'none');
|
|
317
290
|
imgDiv.addClass('e-pdfsign-signImg-bgImg');
|
|
318
291
|
};
|
|
319
|
-
EJPDFSignature.prototype.getDataConfigDisplay = function (customProperties) {
|
|
320
|
-
var _this = this;
|
|
321
|
-
var properties = ['Reason', 'Location', 'Date', 'ContactInfo', 'SignedName'];
|
|
322
|
-
return properties.some(function (prop) { return _this.booleanValue(_this.getPropertyValue(customProperties, prop)); });
|
|
323
|
-
};
|
|
324
292
|
EJPDFSignature.prototype.getFormattedDate = function (locale) {
|
|
325
293
|
var currentDate = new Date();
|
|
326
294
|
var dateOptions = { year: 'numeric', month: '2-digit', day: '2-digit' };
|
|
@@ -334,12 +302,14 @@ var EJPDFSignature = (function () {
|
|
|
334
302
|
this.customJSON = new ej.ReportModel.CustomReportItem().getModel();
|
|
335
303
|
this.setPropertyVal('ContentEditable', 'true');
|
|
336
304
|
this.setPropertyVal('Reason', 'true');
|
|
305
|
+
this.setPropertyVal('ReasonText', this.getLocale('reasonTxt'));
|
|
337
306
|
this.setPropertyVal('Location', 'true');
|
|
338
307
|
this.setPropertyVal('Date', 'true');
|
|
339
308
|
this.setPropertyVal('SignatureValue', '');
|
|
340
309
|
this.setPropertyVal('SignedName', 'true');
|
|
341
310
|
this.setPropertyVal('ContactInfo', 'true');
|
|
342
|
-
this.setPropertyVal('
|
|
311
|
+
this.setPropertyVal('CertificateFileName', '');
|
|
312
|
+
this.setPropertyVal('CertificateFileID', '');
|
|
343
313
|
}
|
|
344
314
|
return this.customJSON;
|
|
345
315
|
};
|
|
@@ -353,7 +323,7 @@ var EJPDFSignature = (function () {
|
|
|
353
323
|
this.customJSON.CustomProperties.push(new ej.ReportModel.CustomProperty(name, val));
|
|
354
324
|
};
|
|
355
325
|
EJPDFSignature.prototype.updatePropertyVal = function (propertyName, value) {
|
|
356
|
-
if (this.customJSON.CustomProperties && this.customJSON.CustomProperties.length > 0) {
|
|
326
|
+
if (this.customJSON && this.customJSON.CustomProperties && this.customJSON.CustomProperties.length > 0) {
|
|
357
327
|
for (var index = 0; index < this.customJSON.CustomProperties.length; index++) {
|
|
358
328
|
if (this.customJSON.CustomProperties[index].Name === propertyName) {
|
|
359
329
|
this.customJSON.CustomProperties[index].Value = value;
|
|
@@ -383,6 +353,10 @@ var EJPDFSignature = (function () {
|
|
|
383
353
|
this.instance = null;
|
|
384
354
|
this.customItemInstance = null;
|
|
385
355
|
this.designPanel = null;
|
|
356
|
+
var signDlgIns = window['SignatureDialog'] ? window['SignatureDialog'].Instance : null;
|
|
357
|
+
if (signDlgIns && signDlgIns.dlgInstance && signDlgIns.dlgInstance.visible) {
|
|
358
|
+
signDlgIns.closeDialog();
|
|
359
|
+
}
|
|
386
360
|
};
|
|
387
361
|
EJPDFSignature.prototype.hasDesignerInstance = function (instance) {
|
|
388
362
|
return instance && instance.pluginName && instance.pluginName.toLowerCase() === 'boldreportdesigner';
|
|
@@ -392,72 +366,62 @@ var EJPDFSignature = (function () {
|
|
|
392
366
|
};
|
|
393
367
|
EJPDFSignature.prototype.renderItemPreview = function (criModel, targetDiv, locale) {
|
|
394
368
|
var customProperties = criModel.CustomProperties;
|
|
395
|
-
var
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
369
|
+
var isReason = this.booleanValue(this.getPropertyValue(customProperties, 'Reason'));
|
|
370
|
+
var isLocation = this.booleanValue(this.getPropertyValue(customProperties, 'Location'));
|
|
371
|
+
var isDate = this.booleanValue(this.getPropertyValue(customProperties, 'Date'));
|
|
372
|
+
var isContactInfo = this.booleanValue(this.getPropertyValue(customProperties, 'ContactInfo'));
|
|
373
|
+
var isSignedName = this.booleanValue(this.getPropertyValue(customProperties, 'SignedName'));
|
|
374
|
+
var isDataPresent = isSignedName || isContactInfo || isReason || isDate || isLocation;
|
|
375
|
+
var imgData = criModel.ImageUrl;
|
|
376
|
+
var configDiv = this.buildElement('div', 'e-pdfsign-config', '', {}, { 'display': 'flex' });
|
|
377
|
+
var imgDiv = this.buildElement('div', 'e-pdfsign-signImg', '', {}, { 'display': 'flex', 'width': isDataPresent ? '50%' : '100%', 'height': '100%' });
|
|
378
|
+
var editIcon = this.buildElement('span', 'e-designer-click e-rptdesigner-sign-editIcon', '', {}, { 'display': 'none' });
|
|
379
|
+
var base64Prefix = 'data:image/png;base64,';
|
|
380
|
+
var signatureData = "" + base64Prefix + imgData;
|
|
381
|
+
var proxy = this;
|
|
382
|
+
imgDiv.attr('imageString', signatureData);
|
|
383
|
+
var callBackFn = function (imageDetails) {
|
|
384
|
+
proxy.updateSignature(imageDetails, ej.isNullOrUndefined(criModel.ItemName) ? criModel.Name : criModel.ItemName);
|
|
385
|
+
proxy.saveViewerSignature(imageDetails);
|
|
386
|
+
};
|
|
387
|
+
var dlgData = {
|
|
388
|
+
callBackFn: $.proxy(callBackFn, this),
|
|
389
|
+
locale: locale,
|
|
390
|
+
imageData: imgDiv.attr('imageString'),
|
|
391
|
+
canvas: imgDiv,
|
|
392
|
+
isViewerDialog: true
|
|
393
|
+
};
|
|
394
|
+
if (imgData) {
|
|
395
|
+
this.setSign(signatureData, imgDiv);
|
|
396
|
+
}
|
|
397
|
+
else {
|
|
398
|
+
this.clearSign(imgDiv);
|
|
399
|
+
}
|
|
400
|
+
configDiv.bind('mouseenter', $.proxy(this.showEditIcon, this, editIcon, customProperties));
|
|
401
|
+
configDiv.bind('mouseleave', $.proxy(this.hideEditIcon, this, editIcon));
|
|
402
|
+
editIcon.bind('click', $.proxy(this.invokeDialog, this, dlgData));
|
|
403
|
+
configDiv.append(imgDiv, editIcon);
|
|
404
|
+
var dataDiv;
|
|
405
|
+
if (isDataPresent) {
|
|
406
|
+
dataDiv = this.buildElement('div', 'e-pdfsign-dataConfig', '', {}, { 'display': 'flex' });
|
|
407
|
+
if (isSignedName) {
|
|
408
|
+
this.appendElement(dataDiv, 'e-pdfsign-signedName', this.getLocale('signednamelabel') + ': ' + this.getLocale('signednamevalue'), isSignedName);
|
|
424
409
|
}
|
|
425
|
-
|
|
426
|
-
this.
|
|
410
|
+
if (isContactInfo) {
|
|
411
|
+
this.appendElement(dataDiv, 'e-pdfsign-contactInfo', this.getLocale('contactinfolabel') + ': ' + this.getLocale('contactinfovalue'), isContactInfo);
|
|
427
412
|
}
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
editIcon.bind('click', $.proxy(this.invokeDialog, this, dlgData));
|
|
431
|
-
configDiv.append(imgDiv, editIcon);
|
|
432
|
-
if (isDataPresent) {
|
|
433
|
-
var dataDiv = this.buildElement('div', 'e-pdfsign-dataConfig', '', {}, { 'display': 'flex' });
|
|
434
|
-
if (isSignedName) {
|
|
435
|
-
this.appendElement(dataDiv, 'e-pdfsign-signedName', this.getLocale('signednamelabel') + ': ' + this.getLocale('signednamevalue'), isSignedName);
|
|
436
|
-
}
|
|
437
|
-
if (isContactInfo) {
|
|
438
|
-
this.appendElement(dataDiv, 'e-pdfsign-contactInfo', this.getLocale('contactinfolabel') + ': ' + this.getLocale('contactinfovalue'), isContactInfo);
|
|
439
|
-
}
|
|
440
|
-
if (isReason) {
|
|
441
|
-
this.appendElement(dataDiv, 'e-pdfsign-reason', this.getLocale('reasonlabel') + ': ' + this.getLocale('reasonvalue'), isReason);
|
|
442
|
-
}
|
|
443
|
-
if (isLocation) {
|
|
444
|
-
this.appendElement(dataDiv, 'e-pdfsign-location', this.getLocale('locationlabel') + ': ' + this.getLocale('designlocation'), isLocation);
|
|
445
|
-
}
|
|
446
|
-
if (isDate) {
|
|
447
|
-
this.appendElement(dataDiv, 'e-pdfsign-date', this.getLocale('datelabel') + ': ' + this.getFormattedDate(this.instance.model.locale), isDate);
|
|
448
|
-
}
|
|
449
|
-
configDiv.append(dataDiv);
|
|
413
|
+
if (isReason) {
|
|
414
|
+
this.appendElement(dataDiv, 'e-pdfsign-reason', this.getLocale('reasonlabel') + ': ' + this.getLocale('reasonvalue'), isReason);
|
|
450
415
|
}
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
'background-color': 'Transparent'
|
|
459
|
-
});
|
|
416
|
+
if (isLocation) {
|
|
417
|
+
this.appendElement(dataDiv, 'e-pdfsign-location', this.getLocale('locationlabel') + ': ' + this.getLocale('locationvalue'), isLocation);
|
|
418
|
+
}
|
|
419
|
+
if (isDate) {
|
|
420
|
+
this.appendElement(dataDiv, 'e-pdfsign-date', this.getLocale('datelabel') + ': ' + this.getFormattedDate(this.instance.model.locale), isDate);
|
|
421
|
+
}
|
|
422
|
+
configDiv.append(dataDiv);
|
|
460
423
|
}
|
|
424
|
+
$(targetDiv).append(configDiv);
|
|
461
425
|
};
|
|
462
426
|
EJPDFSignature.prototype.saveViewerSignature = function (imageDetails) {
|
|
463
427
|
var imgData = imageDetails != null ? imageDetails.imageData : null;
|
|
@@ -498,11 +462,21 @@ var EJPDFSignature = (function () {
|
|
|
498
462
|
return pdfSignatureLocale.categoryBasicSettings;
|
|
499
463
|
}
|
|
500
464
|
return defaultLocale.categoryBasicSettings;
|
|
465
|
+
case 'digitalidfile':
|
|
466
|
+
if (pdfSignatureLocale && pdfSignatureLocale.basicSettingsLabels.digitalIDFile) {
|
|
467
|
+
return pdfSignatureLocale.basicSettingsLabels.digitalIDFile;
|
|
468
|
+
}
|
|
469
|
+
return defaultLocale.basicSettingsLabels.digitalIDFile;
|
|
501
470
|
case 'prptyreason':
|
|
502
471
|
if (pdfSignatureLocale && pdfSignatureLocale.basicSettingsLabels.reason) {
|
|
503
472
|
return pdfSignatureLocale.basicSettingsLabels.reason;
|
|
504
473
|
}
|
|
505
474
|
return defaultLocale.basicSettingsLabels.reason;
|
|
475
|
+
case 'prptyreasoninput':
|
|
476
|
+
if (pdfSignatureLocale && pdfSignatureLocale.basicSettingsLabels.reasonLabel) {
|
|
477
|
+
return pdfSignatureLocale.basicSettingsLabels.reasonLabel;
|
|
478
|
+
}
|
|
479
|
+
return defaultLocale.basicSettingsLabels.reasonLabel;
|
|
506
480
|
case 'prptylocation':
|
|
507
481
|
if (pdfSignatureLocale && pdfSignatureLocale.basicSettingsLabels.location) {
|
|
508
482
|
return pdfSignatureLocale.basicSettingsLabels.location;
|
|
@@ -523,11 +497,6 @@ var EJPDFSignature = (function () {
|
|
|
523
497
|
return pdfSignatureLocale.basicSettingsLabels.contactInfo;
|
|
524
498
|
}
|
|
525
499
|
return defaultLocale.basicSettingsLabels.contactInfo;
|
|
526
|
-
case 'showdata':
|
|
527
|
-
if (pdfSignatureLocale && pdfSignatureLocale.basicSettingsLabels.showdata) {
|
|
528
|
-
return pdfSignatureLocale.basicSettingsLabels.showdata;
|
|
529
|
-
}
|
|
530
|
-
return defaultLocale.basicSettingsLabels.showdata;
|
|
531
500
|
case 'reasonvalue':
|
|
532
501
|
if (pdfSignatureLocale && pdfSignatureLocale.designPanelLabels.reason) {
|
|
533
502
|
return pdfSignatureLocale.designPanelLabels.reason;
|
|
@@ -573,11 +542,6 @@ var EJPDFSignature = (function () {
|
|
|
573
542
|
return pdfSignatureLocale.designPanelLabels.dateLabel;
|
|
574
543
|
}
|
|
575
544
|
return defaultLocale.designPanelLabels.dateLabel;
|
|
576
|
-
case 'defaulttxt':
|
|
577
|
-
if (pdfSignatureLocale && pdfSignatureLocale.designPanelLabels.defaultText) {
|
|
578
|
-
return pdfSignatureLocale.designPanelLabels.defaultText;
|
|
579
|
-
}
|
|
580
|
-
return defaultLocale.designPanelLabels.defaultText;
|
|
581
545
|
case 'btndisplaytext':
|
|
582
546
|
if (pdfSignatureLocale && pdfSignatureLocale.basicSettingsLabels.btnText) {
|
|
583
547
|
return pdfSignatureLocale.basicSettingsLabels.btnText;
|
|
@@ -588,6 +552,11 @@ var EJPDFSignature = (function () {
|
|
|
588
552
|
return pdfSignatureLocale.basicSettingsLabels.signatureLabel;
|
|
589
553
|
}
|
|
590
554
|
return defaultLocale.basicSettingsLabels.signatureLabel;
|
|
555
|
+
case 'reasontxt':
|
|
556
|
+
if (pdfSignatureLocale && pdfSignatureLocale.basicSettingsLabels.reasonTxt) {
|
|
557
|
+
return pdfSignatureLocale.basicSettingsLabels.reasonTxt;
|
|
558
|
+
}
|
|
559
|
+
return defaultLocale.basicSettingsLabels.reasonTxt;
|
|
591
560
|
}
|
|
592
561
|
return text;
|
|
593
562
|
};
|
|
@@ -624,18 +593,19 @@ EJPDFSignature.Locale['en-US'] = {
|
|
|
624
593
|
categoryBasicSettings: 'Basic Settings',
|
|
625
594
|
basicSettingsLabels: {
|
|
626
595
|
reason: 'Show Reason',
|
|
596
|
+
digitalIDFile: 'Digital ID File',
|
|
597
|
+
reasonLabel: 'Reason',
|
|
627
598
|
location: 'Show Location',
|
|
628
599
|
date: 'Show Current Date',
|
|
629
600
|
signatureLabel: 'Signature',
|
|
630
601
|
btnText: 'Draw',
|
|
631
|
-
showdata: 'Show Data',
|
|
632
602
|
contactInfo: 'Show Contact Info',
|
|
633
603
|
signedName: 'Show Signed Name',
|
|
604
|
+
reasonTxt: 'I agree'
|
|
634
605
|
},
|
|
635
606
|
designPanelLabels: {
|
|
636
607
|
reason: 'Your signing reason',
|
|
637
608
|
location: 'Your signing location',
|
|
638
|
-
defaultText: 'Digital PDF Signature',
|
|
639
609
|
contactInfo: 'Your contact info',
|
|
640
610
|
signedName: 'Digitally signed by your common name',
|
|
641
611
|
reasonLabel: 'Reason',
|
|
@@ -654,18 +624,19 @@ EJPDFSignature.Locale['en-AU'] = {
|
|
|
654
624
|
categoryBasicSettings: 'Basic Settings',
|
|
655
625
|
basicSettingsLabels: {
|
|
656
626
|
reason: 'Show Reason',
|
|
627
|
+
digitalIDFile: 'Digital ID File',
|
|
628
|
+
reasonLabel: 'Reason',
|
|
657
629
|
location: 'Show Location',
|
|
658
630
|
date: 'Show Current Date',
|
|
659
631
|
signatureLabel: 'Signature',
|
|
660
632
|
btnText: 'Draw',
|
|
661
|
-
showdata: 'Show Data',
|
|
662
633
|
contactInfo: 'Show Contact Info',
|
|
663
634
|
signedName: 'Show Signed Name',
|
|
635
|
+
reasonTxt: 'I agree'
|
|
664
636
|
},
|
|
665
637
|
designPanelLabels: {
|
|
666
638
|
reason: 'Your signed reason',
|
|
667
639
|
location: 'Your signed location',
|
|
668
|
-
defaultText: 'Digital PDF Signature',
|
|
669
640
|
contactInfo: 'Your contact Info',
|
|
670
641
|
signedName: 'Your signed Name',
|
|
671
642
|
reasonLabel: 'Reason',
|
|
@@ -684,18 +655,19 @@ EJPDFSignature.Locale['en-CA'] = {
|
|
|
684
655
|
categoryBasicSettings: 'Basic Settings',
|
|
685
656
|
basicSettingsLabels: {
|
|
686
657
|
reason: 'Show Reason',
|
|
658
|
+
digitalIDFile: 'Digital ID File',
|
|
659
|
+
reasonLabel: 'Reason',
|
|
687
660
|
location: 'Show Location',
|
|
688
661
|
date: 'Show Current Date',
|
|
689
662
|
signatureLabel: 'Signature',
|
|
690
663
|
btnText: 'Draw',
|
|
691
|
-
showdata: 'Show Data',
|
|
692
664
|
contactInfo: 'Show Contact Info',
|
|
693
665
|
signedName: 'Show Signed Name',
|
|
666
|
+
reasonTxt: 'I agree'
|
|
694
667
|
},
|
|
695
668
|
designPanelLabels: {
|
|
696
669
|
reason: 'Your signed reason',
|
|
697
670
|
location: 'Your signed location',
|
|
698
|
-
defaultText: 'Digital PDF Signature',
|
|
699
671
|
contactInfo: 'Your contact Info',
|
|
700
672
|
signedName: 'Your signed Name',
|
|
701
673
|
reasonLabel: 'Reason',
|
|
@@ -714,18 +686,19 @@ EJPDFSignature.Locale['de-DE'] = {
|
|
|
714
686
|
categoryBasicSettings: 'Grundeinstellungen',
|
|
715
687
|
basicSettingsLabels: {
|
|
716
688
|
reason: 'Grund anzeigen',
|
|
689
|
+
digitalIDFile: 'Digitale ID-Datei',
|
|
690
|
+
reasonLabel: 'Grund',
|
|
717
691
|
location: 'Ort anzeigen',
|
|
718
692
|
date: 'Aktuelles Datum anzeigen',
|
|
719
693
|
signatureLabel: 'Signatur',
|
|
720
694
|
btnText: 'Zeichnen',
|
|
721
|
-
showdata: 'Daten anzeigen',
|
|
722
695
|
contactInfo: 'Kontaktinfo anzeigen',
|
|
723
696
|
signedName: 'Unterschriebenen Namen anzeigen',
|
|
697
|
+
reasonTxt: 'Ich stimme zu'
|
|
724
698
|
},
|
|
725
699
|
designPanelLabels: {
|
|
726
700
|
reason: 'Ihr Signiergrund',
|
|
727
701
|
location: 'Ihr Signierort',
|
|
728
|
-
defaultText: 'Digitale PDF-Signatur',
|
|
729
702
|
contactInfo: 'Ihre Kontaktinformationen',
|
|
730
703
|
signedName: 'Digital signiert von Ihrem allgemeinen Namen',
|
|
731
704
|
reasonLabel: 'Grund',
|
|
@@ -744,18 +717,19 @@ EJPDFSignature.Locale['ar-AE'] = {
|
|
|
744
717
|
categoryBasicSettings: 'الإعدادات الأساسية',
|
|
745
718
|
basicSettingsLabels: {
|
|
746
719
|
reason: 'إظهار السبب',
|
|
720
|
+
digitalIDFile: 'ملف الهوية الرقمية',
|
|
721
|
+
reasonLabel: 'سبب',
|
|
747
722
|
location: 'إظهار الموقع',
|
|
748
723
|
date: 'إظهار التاريخ الحالي',
|
|
749
724
|
signatureLabel: 'التوقيع',
|
|
750
725
|
btnText: 'رسم',
|
|
751
|
-
showdata: 'إظهار البيانات',
|
|
752
726
|
contactInfo: 'إظهار معلومات الاتصال',
|
|
753
727
|
signedName: 'إظهار الاسم الموقع',
|
|
728
|
+
reasonTxt: 'أنا موافق'
|
|
754
729
|
},
|
|
755
730
|
designPanelLabels: {
|
|
756
731
|
reason: 'سبب توقيعك',
|
|
757
732
|
location: 'موقع توقيعك',
|
|
758
|
-
defaultText: 'توقيع PDF رقمي',
|
|
759
733
|
contactInfo: 'معلومات الاتصال الخاصة بك',
|
|
760
734
|
signedName: 'تم التوقيع رقميًا بواسطة اسمك الشائع',
|
|
761
735
|
reasonLabel: 'السبب',
|
|
@@ -774,18 +748,19 @@ EJPDFSignature.Locale['fr-FR'] = {
|
|
|
774
748
|
categoryBasicSettings: 'Paramètres de base',
|
|
775
749
|
basicSettingsLabels: {
|
|
776
750
|
reason: 'Afficher la raison',
|
|
751
|
+
digitalIDFile: 'Fichier d\'identification numérique',
|
|
752
|
+
reasonLabel: 'Raison',
|
|
777
753
|
location: 'Afficher le lieu',
|
|
778
754
|
date: 'Afficher la date actuelle',
|
|
779
755
|
signatureLabel: 'Signature',
|
|
780
756
|
btnText: 'Dessiner',
|
|
781
|
-
showdata: 'Afficher les données',
|
|
782
757
|
contactInfo: 'Afficher les informations de contact',
|
|
783
758
|
signedName: 'Afficher le nom signé',
|
|
759
|
+
reasonTxt: 'Je suis d\'accord'
|
|
784
760
|
},
|
|
785
761
|
designPanelLabels: {
|
|
786
762
|
reason: 'Votre raison de signature',
|
|
787
763
|
location: 'Votre emplacement de signature',
|
|
788
|
-
defaultText: 'Signature numérique PDF',
|
|
789
764
|
contactInfo: 'Vos informations de contact',
|
|
790
765
|
signedName: 'Signé numériquement par votre nom commun',
|
|
791
766
|
reasonLabel: 'Raison',
|
|
@@ -804,18 +779,19 @@ EJPDFSignature.Locale['fr-CA'] = {
|
|
|
804
779
|
categoryBasicSettings: 'Paramètres de base',
|
|
805
780
|
basicSettingsLabels: {
|
|
806
781
|
reason: 'Afficher la raison',
|
|
782
|
+
digitalIDFile: 'Fichier d\'identification numérique',
|
|
783
|
+
reasonLabel: 'Raison',
|
|
807
784
|
location: 'Afficher l’emplacement',
|
|
808
785
|
date: 'Afficher la date actuelle',
|
|
809
786
|
signatureLabel: 'Signature',
|
|
810
787
|
btnText: 'Dessiner',
|
|
811
|
-
showdata: 'Afficher les données',
|
|
812
788
|
contactInfo: 'Afficher les informations de contact',
|
|
813
789
|
signedName: 'Afficher le nom signé',
|
|
790
|
+
reasonTxt: 'Je suis d\'accord'
|
|
814
791
|
},
|
|
815
792
|
designPanelLabels: {
|
|
816
793
|
reason: 'Votre raison de signature',
|
|
817
794
|
location: 'Votre emplacement de signature',
|
|
818
|
-
defaultText: 'Signature numérique PDF',
|
|
819
795
|
contactInfo: 'Vos informations de contact',
|
|
820
796
|
signedName: 'Signé numériquement par votre nom commun',
|
|
821
797
|
reasonLabel: 'Raison',
|
|
@@ -834,18 +810,19 @@ EJPDFSignature.Locale['it-IT'] = {
|
|
|
834
810
|
categoryBasicSettings: 'Impostazioni di base',
|
|
835
811
|
basicSettingsLabels: {
|
|
836
812
|
reason: 'Mostra motivo',
|
|
813
|
+
digitalIDFile: 'File dell\'ID digitale',
|
|
814
|
+
reasonLabel: 'Motivo',
|
|
837
815
|
location: 'Mostra posizione',
|
|
838
816
|
date: 'Mostra data corrente',
|
|
839
817
|
signatureLabel: 'Firma',
|
|
840
818
|
btnText: 'Disegna',
|
|
841
|
-
showdata: 'Mostra dati',
|
|
842
819
|
contactInfo: 'Mostra informazioni di contatto',
|
|
843
820
|
signedName: 'Mostra nome firmato',
|
|
821
|
+
reasonTxt: 'Sono d\'accordo'
|
|
844
822
|
},
|
|
845
823
|
designPanelLabels: {
|
|
846
824
|
reason: 'Il motivo della tua firma',
|
|
847
825
|
location: 'La tua posizione di firma',
|
|
848
|
-
defaultText: 'Firma digitale PDF',
|
|
849
826
|
contactInfo: 'Le tue informazioni di contatto',
|
|
850
827
|
signedName: 'Firmato digitalmente dal tuo nome comune',
|
|
851
828
|
reasonLabel: 'Motivo',
|
|
@@ -864,18 +841,19 @@ EJPDFSignature.Locale['es-ES'] = {
|
|
|
864
841
|
categoryBasicSettings: 'Configuración básica',
|
|
865
842
|
basicSettingsLabels: {
|
|
866
843
|
reason: 'Mostrar motivo',
|
|
844
|
+
digitalIDFile: 'Archivo de identificación digital',
|
|
845
|
+
reasonLabel: 'Motivo',
|
|
867
846
|
location: 'Mostrar ubicación',
|
|
868
847
|
date: 'Mostrar fecha actual',
|
|
869
848
|
signatureLabel: 'Firma',
|
|
870
849
|
btnText: 'Dibujar',
|
|
871
|
-
showdata: 'Mostrar datos',
|
|
872
850
|
contactInfo: 'Mostrar información de contacto',
|
|
873
851
|
signedName: 'Mostrar nombre firmado',
|
|
852
|
+
reasonTxt: 'Estoy de acuerdo'
|
|
874
853
|
},
|
|
875
854
|
designPanelLabels: {
|
|
876
855
|
reason: 'Su motivo de firma',
|
|
877
856
|
location: 'Su ubicación de firma',
|
|
878
|
-
defaultText: 'Firma digital en PDF',
|
|
879
857
|
contactInfo: 'Su información de contacto',
|
|
880
858
|
signedName: 'Firmado digitalmente por su nombre común',
|
|
881
859
|
reasonLabel: 'Motivo',
|
|
@@ -894,18 +872,19 @@ EJPDFSignature.Locale['tr-TR'] = {
|
|
|
894
872
|
categoryBasicSettings: 'Temel Ayarlar',
|
|
895
873
|
basicSettingsLabels: {
|
|
896
874
|
reason: 'Nedeni Göster',
|
|
875
|
+
digitalIDFile: 'Dijital kimlik dosyası',
|
|
876
|
+
reasonLabel: 'Nedeni',
|
|
897
877
|
location: 'Konumu Göster',
|
|
898
878
|
date: 'Geçerli Tarihi Göster',
|
|
899
879
|
signatureLabel: 'İmza',
|
|
900
880
|
btnText: 'Çiz',
|
|
901
|
-
showdata: 'Veriyi Göster',
|
|
902
881
|
contactInfo: 'İletişim Bilgilerini Göster',
|
|
903
882
|
signedName: 'İmzalanmış İsmi Göster',
|
|
883
|
+
reasonTxt: 'Kabul ediyorum'
|
|
904
884
|
},
|
|
905
885
|
designPanelLabels: {
|
|
906
886
|
reason: 'İmza nedeniniz',
|
|
907
887
|
location: 'İmza konumunuz',
|
|
908
|
-
defaultText: 'Dijital PDF İmzası',
|
|
909
888
|
contactInfo: 'İletişim bilgileriniz',
|
|
910
889
|
signedName: 'Genel adınızla dijital olarak imzalandı',
|
|
911
890
|
reasonLabel: 'Neden',
|
|
@@ -920,22 +899,23 @@ EJPDFSignature.Locale['tr-TR'] = {
|
|
|
920
899
|
title: 'PDF İmzası'
|
|
921
900
|
}
|
|
922
901
|
};
|
|
923
|
-
EJPDFSignature.Locale['zh-
|
|
902
|
+
EJPDFSignature.Locale['zh-Hans'] = {
|
|
924
903
|
categoryBasicSettings: '基本设置',
|
|
925
904
|
basicSettingsLabels: {
|
|
926
905
|
reason: '显示原因',
|
|
906
|
+
digitalIDFile: '数字身份证文件',
|
|
907
|
+
reasonLabel: '原因',
|
|
927
908
|
location: '显示位置',
|
|
928
909
|
date: '显示当前日期',
|
|
929
910
|
signatureLabel: '签名',
|
|
930
911
|
btnText: '绘制',
|
|
931
|
-
showdata: '显示数据',
|
|
932
912
|
contactInfo: '显示联系信息',
|
|
933
913
|
signedName: '显示签名名称',
|
|
914
|
+
reasonTxt: '我同意'
|
|
934
915
|
},
|
|
935
916
|
designPanelLabels: {
|
|
936
917
|
reason: '您的签署原因',
|
|
937
918
|
location: '您的签署位置',
|
|
938
|
-
defaultText: '数字 PDF 签名',
|
|
939
919
|
contactInfo: '您的联系信息',
|
|
940
920
|
signedName: '由您的常用名进行数字签名',
|
|
941
921
|
reasonLabel: '原因',
|
|
@@ -950,3 +930,158 @@ EJPDFSignature.Locale['zh-CN'] = {
|
|
|
950
930
|
title: 'PDF 签名'
|
|
951
931
|
}
|
|
952
932
|
};
|
|
933
|
+
EJPDFSignature.Locale['he-IL'] = {
|
|
934
|
+
categoryBasicSettings: 'הגדרות בסיסיות',
|
|
935
|
+
basicSettingsLabels: {
|
|
936
|
+
reason: 'הצג סיבה',
|
|
937
|
+
digitalIDFile: 'קובץ מזהה דיגיטלי',
|
|
938
|
+
reasonLabel: 'לְנַמֵק',
|
|
939
|
+
location: 'הצג מיקום',
|
|
940
|
+
date: 'הצג תאריך נוכחי',
|
|
941
|
+
signatureLabel: 'חתימה',
|
|
942
|
+
btnText: 'צייר',
|
|
943
|
+
contactInfo: 'הצג פרטי קשר',
|
|
944
|
+
signedName: 'הצג שם חתום',
|
|
945
|
+
reasonTxt: 'אני מסכים'
|
|
946
|
+
},
|
|
947
|
+
designPanelLabels: {
|
|
948
|
+
reason: 'סיבת החתימה שלך',
|
|
949
|
+
location: 'מיקום החתימה שלך',
|
|
950
|
+
contactInfo: 'פרטי הקשר שלך',
|
|
951
|
+
signedName: 'נחתם דיגיטלית על ידי שמך הנפוץ',
|
|
952
|
+
reasonLabel: 'סיבה',
|
|
953
|
+
locationLabel: 'מיקום',
|
|
954
|
+
contactInfoLabel: 'פרטי קשר',
|
|
955
|
+
signedNameLabel: 'שם',
|
|
956
|
+
dateLabel: 'תאריך'
|
|
957
|
+
},
|
|
958
|
+
toolTip: {
|
|
959
|
+
requirements: 'הוסף פריט דוח לאזור המעצב.',
|
|
960
|
+
description: 'פריט דוח זה משמש להוספת חתימה על PDF.',
|
|
961
|
+
title: 'חתימה על PDF'
|
|
962
|
+
}
|
|
963
|
+
};
|
|
964
|
+
EJPDFSignature.Locale['ja-JP'] = {
|
|
965
|
+
categoryBasicSettings: '基本設定',
|
|
966
|
+
basicSettingsLabels: {
|
|
967
|
+
reason: '理由を表示',
|
|
968
|
+
digitalIDFile: 'デジタルIDファイル',
|
|
969
|
+
reasonLabel: '理由',
|
|
970
|
+
location: '場所を表示',
|
|
971
|
+
date: '現在の日付を表示',
|
|
972
|
+
signatureLabel: '署名',
|
|
973
|
+
btnText: '描画',
|
|
974
|
+
contactInfo: '連絡先情報を表示',
|
|
975
|
+
signedName: '署名者名を表示',
|
|
976
|
+
reasonTxt: '同意します'
|
|
977
|
+
},
|
|
978
|
+
designPanelLabels: {
|
|
979
|
+
reason: '署名理由',
|
|
980
|
+
location: '署名場所',
|
|
981
|
+
contactInfo: 'あなたの連絡先情報',
|
|
982
|
+
signedName: 'あなたの一般名でデジタル署名',
|
|
983
|
+
reasonLabel: '理由',
|
|
984
|
+
locationLabel: '場所',
|
|
985
|
+
contactInfoLabel: '連絡先',
|
|
986
|
+
signedNameLabel: '名前',
|
|
987
|
+
dateLabel: '日付'
|
|
988
|
+
},
|
|
989
|
+
toolTip: {
|
|
990
|
+
requirements: 'デザイナー領域にレポート項目を追加します。',
|
|
991
|
+
description: 'このレポート項目はPDF署名を追加するために使用されます。',
|
|
992
|
+
title: 'PDF署名'
|
|
993
|
+
}
|
|
994
|
+
};
|
|
995
|
+
EJPDFSignature.Locale['pt-PT'] = {
|
|
996
|
+
categoryBasicSettings: 'Configurações básicas',
|
|
997
|
+
basicSettingsLabels: {
|
|
998
|
+
reason: 'Mostrar motivo',
|
|
999
|
+
digitalIDFile: 'Arquivo de identificação digital',
|
|
1000
|
+
reasonLabel: 'Motivo',
|
|
1001
|
+
location: 'Mostrar localização',
|
|
1002
|
+
date: 'Mostrar data atual',
|
|
1003
|
+
signatureLabel: 'Assinatura',
|
|
1004
|
+
btnText: 'Desenhar',
|
|
1005
|
+
contactInfo: 'Mostrar informações de contacto',
|
|
1006
|
+
signedName: 'Mostrar nome assinado',
|
|
1007
|
+
reasonTxt: 'Concordo'
|
|
1008
|
+
},
|
|
1009
|
+
designPanelLabels: {
|
|
1010
|
+
reason: 'O seu motivo de assinatura',
|
|
1011
|
+
location: 'A sua localização de assinatura',
|
|
1012
|
+
contactInfo: 'As suas informações de contacto',
|
|
1013
|
+
signedName: 'Assinado digitalmente pelo seu nome comum',
|
|
1014
|
+
reasonLabel: 'Motivo',
|
|
1015
|
+
locationLabel: 'Localização',
|
|
1016
|
+
contactInfoLabel: 'Contacto',
|
|
1017
|
+
signedNameLabel: 'Nome',
|
|
1018
|
+
dateLabel: 'Data'
|
|
1019
|
+
},
|
|
1020
|
+
toolTip: {
|
|
1021
|
+
requirements: 'Adicione um item de relatório à área do designer.',
|
|
1022
|
+
description: 'Este item de relatório é usado para adicionar uma assinatura PDF.',
|
|
1023
|
+
title: 'Assinatura PDF'
|
|
1024
|
+
}
|
|
1025
|
+
};
|
|
1026
|
+
EJPDFSignature.Locale['ru-RU'] = {
|
|
1027
|
+
categoryBasicSettings: 'Основные настройки',
|
|
1028
|
+
basicSettingsLabels: {
|
|
1029
|
+
reason: 'Показать причину',
|
|
1030
|
+
digitalIDFile: 'Файл цифрового удостоверения личности',
|
|
1031
|
+
reasonLabel: 'Причина',
|
|
1032
|
+
location: 'Показать местоположение',
|
|
1033
|
+
date: 'Показать текущую дату',
|
|
1034
|
+
signatureLabel: 'Подпись',
|
|
1035
|
+
btnText: 'Рисовать',
|
|
1036
|
+
contactInfo: 'Показать контактную информацию',
|
|
1037
|
+
signedName: 'Показать имя подписавшего',
|
|
1038
|
+
reasonTxt: 'Я согласен'
|
|
1039
|
+
},
|
|
1040
|
+
designPanelLabels: {
|
|
1041
|
+
reason: 'Ваша причина подписи',
|
|
1042
|
+
location: 'Ваше место подписи',
|
|
1043
|
+
contactInfo: 'Ваша контактная информация',
|
|
1044
|
+
signedName: 'Цифровая подпись вашим общим именем',
|
|
1045
|
+
reasonLabel: 'Причина',
|
|
1046
|
+
locationLabel: 'Местоположение',
|
|
1047
|
+
contactInfoLabel: 'Контакт',
|
|
1048
|
+
signedNameLabel: 'Имя',
|
|
1049
|
+
dateLabel: 'Дата'
|
|
1050
|
+
},
|
|
1051
|
+
toolTip: {
|
|
1052
|
+
requirements: 'Добавьте элемент отчета в область конструктора.',
|
|
1053
|
+
description: 'Этот элемент отчета используется для добавления подписи PDF.',
|
|
1054
|
+
title: 'PDF-подпись'
|
|
1055
|
+
}
|
|
1056
|
+
};
|
|
1057
|
+
EJPDFSignature.Locale['zh-Hant'] = {
|
|
1058
|
+
categoryBasicSettings: '基本設定',
|
|
1059
|
+
basicSettingsLabels: {
|
|
1060
|
+
reason: '顯示原因',
|
|
1061
|
+
digitalIDFile: '數位身分證文件',
|
|
1062
|
+
reasonLabel: '原因',
|
|
1063
|
+
location: '顯示位置',
|
|
1064
|
+
date: '顯示目前日期',
|
|
1065
|
+
signatureLabel: '簽名',
|
|
1066
|
+
btnText: '繪製',
|
|
1067
|
+
contactInfo: '顯示聯絡資訊',
|
|
1068
|
+
signedName: '顯示簽名者姓名',
|
|
1069
|
+
reasonTxt: '我同意'
|
|
1070
|
+
},
|
|
1071
|
+
designPanelLabels: {
|
|
1072
|
+
reason: '您的簽署原因',
|
|
1073
|
+
location: '您的簽署位置',
|
|
1074
|
+
contactInfo: '您的聯絡資訊',
|
|
1075
|
+
signedName: '以您的通用名稱進行數位簽名',
|
|
1076
|
+
reasonLabel: '原因',
|
|
1077
|
+
locationLabel: '位置',
|
|
1078
|
+
contactInfoLabel: '聯絡方式',
|
|
1079
|
+
signedNameLabel: '姓名',
|
|
1080
|
+
dateLabel: '日期'
|
|
1081
|
+
},
|
|
1082
|
+
toolTip: {
|
|
1083
|
+
requirements: '將報告項目新增至設計區域。',
|
|
1084
|
+
description: '此報告項目用於新增 PDF 簽名。',
|
|
1085
|
+
title: 'PDF 簽名'
|
|
1086
|
+
}
|
|
1087
|
+
};
|