@boldreports/javascript-reporting-extensions 8.1.8 → 9.1.8
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 +48 -47
- package/document.reportitem.css +28 -0
- package/extension.config.js +15 -2
- package/htmldocument.reportitem.js +481 -0
- package/images/html_design_panel_icon.svg +6 -0
- package/images/html_widget_icon.svg +5 -0
- package/images/pdf_design_panel_icon.svg +8 -0
- package/images/pdf_widget_icon.svg +7 -0
- package/images/shapes.svg +8 -0
- package/package.json +1 -1
- package/pdf.signature.reportitem.js +29 -28
- package/pdfdocument.reportitem.js +348 -0
- package/qrbarcode.reportitem.js +84 -83
- package/shape.reportitem.css +6 -0
- package/shape.reportitem.js +1358 -0
- package/signature.reportitem.js +29 -28
package/barcode.reportitem.js
CHANGED
|
@@ -17,10 +17,12 @@ var EJBarcode = (function () {
|
|
|
17
17
|
args.renderCallback = $.proxy(this.renderData, this);
|
|
18
18
|
args.loadingCallback = $.proxy(this.showIndicator, this);
|
|
19
19
|
};
|
|
20
|
-
EJBarcode.prototype.renderItem = function (customJson, target) {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
EJBarcode.prototype.renderItem = function (customJson, target, eventData) {
|
|
21
|
+
if (eventData.eventName === 'begin') {
|
|
22
|
+
this.customJSON = customJson;
|
|
23
|
+
this.rootElement = target;
|
|
24
|
+
this.renderBarcode();
|
|
25
|
+
}
|
|
24
26
|
};
|
|
25
27
|
EJBarcode.prototype.renderBarcode = function () {
|
|
26
28
|
this.customItemDiv = ej.buildTag('div.customitem', '', {
|
|
@@ -106,50 +108,49 @@ var EJBarcode = (function () {
|
|
|
106
108
|
});
|
|
107
109
|
}
|
|
108
110
|
};
|
|
109
|
-
EJBarcode.prototype.getPropertyGridItems = function () {
|
|
111
|
+
EJBarcode.prototype.getPropertyGridItems = function (baseProperties) {
|
|
110
112
|
var barCodeType = this.getPropertyVal('BarcodeType');
|
|
111
|
-
var
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
'
|
|
125
|
-
'
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
return propertyItems;
|
|
113
|
+
var itemProperties = [{
|
|
114
|
+
'CategoryId': 'basicsettings',
|
|
115
|
+
'DisplayName': 'categoryBasicSettings',
|
|
116
|
+
'IsExpand': true,
|
|
117
|
+
'Items': [
|
|
118
|
+
{
|
|
119
|
+
'ItemId': 'barcodetype',
|
|
120
|
+
'Name': 'BarcodeType',
|
|
121
|
+
'DisplayName': 'BarcodeType',
|
|
122
|
+
'Value': barCodeType,
|
|
123
|
+
'ItemType': 'DropDown',
|
|
124
|
+
'EnableExpression': false,
|
|
125
|
+
'ValueList': ['Code39', 'Code39Extended', 'Code11', 'Codabar', 'Code93', 'Code128A', 'Code128B',
|
|
126
|
+
'Code128C', 'GS1-128', 'UpcBarcode', 'EAN-13', 'EAN-8', 'Code39 Mod 43', 'Interleaved 2 of 5',
|
|
127
|
+
'Standard 2 of 5', 'Pharmacode']
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
'ItemId': 'barcodevalue',
|
|
131
|
+
'Name': 'BarcodeValue',
|
|
132
|
+
'DisplayName': 'barcodeValue',
|
|
133
|
+
'EnableExpression': true,
|
|
134
|
+
'Value': this.getPropertyVal('BarcodeValue'),
|
|
135
|
+
'ItemType': 'TextBox'
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
'ItemId': 'displaybarcodetext',
|
|
139
|
+
'Name': 'DisplayBarcodeText',
|
|
140
|
+
'DisplayName': 'displayText',
|
|
141
|
+
'Value': this.isDisplayText() ? true : false,
|
|
142
|
+
'ItemType': 'Bool',
|
|
143
|
+
'EnableExpression': false
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
];
|
|
148
|
+
baseProperties.HeaderText = this.customJSON.Name;
|
|
149
|
+
baseProperties.PropertyType = 'barcode';
|
|
150
|
+
baseProperties.SubType = 'barcode';
|
|
151
|
+
baseProperties.IsEditHeader = true;
|
|
152
|
+
baseProperties.Items = $.merge(itemProperties, baseProperties.Items);
|
|
153
|
+
return baseProperties;
|
|
153
154
|
};
|
|
154
155
|
EJBarcode.prototype.getPropertyVal = function (name) {
|
|
155
156
|
if (this.customJSON.CustomProperties && this.customJSON.CustomProperties.length > 0) {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
.e-rptdesigner-designarea:not(.e-waitingpopup) .customitem-pdfdocument {
|
|
2
|
+
background-image: url('images/pdf_widget_icon.svg');
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.e-rptdesigner-designarea:not(.e-waitingpopup) .customitem-htmldocument {
|
|
6
|
+
background-image: url('images/html_widget_icon.svg');
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.e-rptdesigner-designarea:not(.e-waitingpopup) .customitem-htmldocument,
|
|
10
|
+
.e-rptdesigner-designarea:not(.e-waitingpopup) .customitem-pdfdocument {
|
|
11
|
+
background-repeat: no-repeat;
|
|
12
|
+
height: 42px;
|
|
13
|
+
background-position: center;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.e-rptdesigner-htmldocument {
|
|
17
|
+
background-image: url('images/html_design_panel_icon.svg');
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.e-rptdesigner-pdfdocument {
|
|
21
|
+
background-image: url('images/pdf_design_panel_icon.svg');
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.e-rptdesigner-pdfdocument,
|
|
25
|
+
.e-rptdesigner-htmldocument {
|
|
26
|
+
height: 100%;
|
|
27
|
+
background-size: 100% 100%;
|
|
28
|
+
}
|
package/extension.config.js
CHANGED
|
@@ -11,7 +11,8 @@ var itemExtensions = [{
|
|
|
11
11
|
description: 'Display the barcode lines as report item.',
|
|
12
12
|
title: 'Barcode'
|
|
13
13
|
}
|
|
14
|
-
},
|
|
14
|
+
},
|
|
15
|
+
{
|
|
15
16
|
name: 'matrixbarcode',
|
|
16
17
|
className: 'EJQRBarcode',
|
|
17
18
|
imageClass: 'customitem-qrbarcode',
|
|
@@ -33,5 +34,17 @@ var itemExtensions = [{
|
|
|
33
34
|
requirements: 'Add a report item to the designer area.',
|
|
34
35
|
description: 'This report item is used to add a graphic signature.',
|
|
35
36
|
title: 'Signature'
|
|
36
|
-
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: 'Shape',
|
|
41
|
+
className: 'EJShape',
|
|
42
|
+
imageClass: 'customitem-shape',
|
|
43
|
+
displayName: 'Shape',
|
|
44
|
+
category: 'Shapes',
|
|
45
|
+
toolTip: {
|
|
46
|
+
requirements: 'Add a report item to the designer area',
|
|
47
|
+
description: 'Display the different types of shapes as report item',
|
|
48
|
+
title: 'Shapes'
|
|
49
|
+
}
|
|
37
50
|
}];
|
|
@@ -0,0 +1,481 @@
|
|
|
1
|
+
var EJHtmlDocument = (function () {
|
|
2
|
+
function EJHtmlDocument(rptDesigner) {
|
|
3
|
+
this.customJSON = null;
|
|
4
|
+
this.propertyPanel = null;
|
|
5
|
+
this.rootElement = null;
|
|
6
|
+
this.customItemDiv = null;
|
|
7
|
+
this.reportDesigner = null;
|
|
8
|
+
this.reportDesigner = rptDesigner;
|
|
9
|
+
this.propertyPanel = this.reportDesigner.getInstance('PropertyPanel');
|
|
10
|
+
}
|
|
11
|
+
EJHtmlDocument.prototype.initializeItem = function (args) {
|
|
12
|
+
args.isBuildInService = false;
|
|
13
|
+
args.defaultHeight = 160;
|
|
14
|
+
args.defaultWidth = 160;
|
|
15
|
+
args.minimumHeight = 15;
|
|
16
|
+
args.minimumWidth = 90;
|
|
17
|
+
};
|
|
18
|
+
EJHtmlDocument.prototype.renderItem = function (customJson, target, eventData) {
|
|
19
|
+
if (eventData.eventName === 'begin') {
|
|
20
|
+
this.customJSON = customJson;
|
|
21
|
+
this.rootElement = target;
|
|
22
|
+
this.renderHtmlItem();
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
EJHtmlDocument.prototype.renderHtmlItem = function () {
|
|
26
|
+
this.customItemDiv = ej.buildTag('div.customitem', '', {
|
|
27
|
+
'width': '100%', 'height': '100%', 'border': '1pt dotted gray', 'box-sizing': 'border-box',
|
|
28
|
+
'-moz-box-sizing': 'border-box', '-webkit-box-sizing': 'border-box', 'overflow': 'hidden', 'position': 'absolute'
|
|
29
|
+
}, {
|
|
30
|
+
'id': this.customJSON.Name + '_customItem'
|
|
31
|
+
});
|
|
32
|
+
var htmlItem = ej.buildTag('div.e-rptdesigner-htmldocument', '');
|
|
33
|
+
this.customItemDiv.append(htmlItem);
|
|
34
|
+
this.rootElement.append(this.customItemDiv);
|
|
35
|
+
};
|
|
36
|
+
EJHtmlDocument.prototype.onPropertyChange = function (name, oldValue, newValue) {
|
|
37
|
+
var args = [];
|
|
38
|
+
for (var _i = 3; _i < arguments.length; _i++) {
|
|
39
|
+
args[_i - 3] = arguments[_i];
|
|
40
|
+
}
|
|
41
|
+
switch (name) {
|
|
42
|
+
case 'DocumentValue':
|
|
43
|
+
this.updatePropertyVal(name, newValue);
|
|
44
|
+
break;
|
|
45
|
+
case 'Sizing':
|
|
46
|
+
this.updatePropertyVal(name, newValue);
|
|
47
|
+
break;
|
|
48
|
+
case 'Source':
|
|
49
|
+
this.updatePropertyVal(name, newValue);
|
|
50
|
+
this.updatePropertyVal('DocumentValue', '');
|
|
51
|
+
this.updatePropertyUIValue('DocumentValue', '');
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
EJHtmlDocument.prototype.updatePropertyUIValue = function (name, value) {
|
|
56
|
+
var customId = this.customJSON.UniqueId;
|
|
57
|
+
switch (name) {
|
|
58
|
+
case 'DocumentValue':
|
|
59
|
+
if (this.getPropertyVal('Source') === 'URL') {
|
|
60
|
+
this.propertyPanel.updatePropertyUIValue('htmlurl', value, customId);
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
this.propertyPanel.updatePropertyUIValue('htmlcontent', value, customId);
|
|
64
|
+
}
|
|
65
|
+
break;
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
EJHtmlDocument.prototype.onPositionChanged = function (top, left) {
|
|
69
|
+
};
|
|
70
|
+
EJHtmlDocument.prototype.onSizeChanged = function (height, width) {
|
|
71
|
+
if (!ej.isNullOrUndefined(height) && !ej.isNullOrUndefined(width)) {
|
|
72
|
+
this.customItemDiv.css({
|
|
73
|
+
width: width,
|
|
74
|
+
height: height
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
else if (!ej.isNullOrUndefined(height) && ej.isNullOrUndefined(width)) {
|
|
78
|
+
this.customItemDiv.css({
|
|
79
|
+
height: height
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
else if (ej.isNullOrUndefined(height) && !ej.isNullOrUndefined(width)) {
|
|
83
|
+
this.customItemDiv.css({
|
|
84
|
+
width: width
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
EJHtmlDocument.prototype.getPropertyGridItems = function (baseProperties) {
|
|
89
|
+
var itemProperties = [{
|
|
90
|
+
'CategoryId': 'basicsettings',
|
|
91
|
+
'DisplayName': 'categoryBasicSettings',
|
|
92
|
+
'IsExpand': true,
|
|
93
|
+
'Items': [{
|
|
94
|
+
'ItemId': 'htmlsource',
|
|
95
|
+
'Name': 'Source',
|
|
96
|
+
'DisplayName': 'source',
|
|
97
|
+
'EnableExpression': false,
|
|
98
|
+
'Value': this.getPropertyVal('Source'),
|
|
99
|
+
'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
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
'ItemId': 'htmlcontent',
|
|
108
|
+
'Name': 'DocumentValue',
|
|
109
|
+
'ParentId': 'basicsettings_htmlsource',
|
|
110
|
+
'DisplayName': 'content',
|
|
111
|
+
'Value': this.getPropertyVal('DocumentValue'),
|
|
112
|
+
'ItemType': 'TextArea'
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
'ItemId': 'htmlurl',
|
|
116
|
+
'Name': 'DocumentValue',
|
|
117
|
+
'ParentId': 'basicsettings_htmlsource',
|
|
118
|
+
'DisplayName': 'url',
|
|
119
|
+
'Value': this.getPropertyVal('DocumentValue'),
|
|
120
|
+
'ItemType': 'TextBox'
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
'ItemId': 'htmlsizing',
|
|
124
|
+
'Name': 'Sizing',
|
|
125
|
+
'DisplayName': 'sizing',
|
|
126
|
+
'Value': this.getPropertyVal('Sizing'),
|
|
127
|
+
'ItemType': 'DropDown',
|
|
128
|
+
'EnableExpression': false,
|
|
129
|
+
'ValueList': [
|
|
130
|
+
{ text: 'auto', value: 'AutoSize' },
|
|
131
|
+
{ text: 'fit', value: 'Fit' },
|
|
132
|
+
{ text: 'proportional', value: 'FitProportional' },
|
|
133
|
+
{ text: 'clip', value: 'Clip' }
|
|
134
|
+
]
|
|
135
|
+
}]
|
|
136
|
+
}];
|
|
137
|
+
baseProperties.HeaderText = this.customJSON.Name;
|
|
138
|
+
baseProperties.PropertyType = 'htmldocument';
|
|
139
|
+
baseProperties.SubType = 'htmldocument';
|
|
140
|
+
baseProperties.IsEditHeader = true;
|
|
141
|
+
this.updateItemVisibility(baseProperties.Items, ['backgroundcolor'], false);
|
|
142
|
+
baseProperties.Items = $.merge(itemProperties, baseProperties.Items);
|
|
143
|
+
return baseProperties;
|
|
144
|
+
};
|
|
145
|
+
EJHtmlDocument.prototype.updateItemVisibility = function (categories, itemId, newValue) {
|
|
146
|
+
for (var index = 0; index < categories.length; index++) {
|
|
147
|
+
for (var itemIndex = 0; itemIndex < categories[index].Items.length; itemIndex++) {
|
|
148
|
+
if (itemId.indexOf(categories[index].Items[itemIndex].ItemId) !== -1) {
|
|
149
|
+
categories[index].Items[itemIndex].IsVisible = newValue;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
EJHtmlDocument.prototype.getPropertyVal = function (name) {
|
|
155
|
+
if (this.customJSON.CustomProperties && this.customJSON.CustomProperties.length > 0) {
|
|
156
|
+
for (var index = 0; index < this.customJSON.CustomProperties.length; index++) {
|
|
157
|
+
if (this.customJSON.CustomProperties[index].Name === name) {
|
|
158
|
+
return this.customJSON.CustomProperties[index].Value;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
return null;
|
|
163
|
+
};
|
|
164
|
+
EJHtmlDocument.prototype.setPropertyVal = function (name, val) {
|
|
165
|
+
if (this.customJSON.CustomProperties === null) {
|
|
166
|
+
this.customJSON.CustomProperties = [];
|
|
167
|
+
}
|
|
168
|
+
this.customJSON.CustomProperties.push(new ej.ReportModel.CustomProperty(name, val));
|
|
169
|
+
};
|
|
170
|
+
EJHtmlDocument.prototype.updatePropertyVal = function (propertyName, value) {
|
|
171
|
+
if (this.customJSON.CustomProperties && this.customJSON.CustomProperties.length > 0) {
|
|
172
|
+
for (var index = 0; index < this.customJSON.CustomProperties.length; index++) {
|
|
173
|
+
if (this.customJSON.CustomProperties[index].Name === propertyName) {
|
|
174
|
+
this.customJSON.CustomProperties[index].Value = value;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
EJHtmlDocument.prototype.getReportItemJson = function () {
|
|
180
|
+
if (this.customJSON === null) {
|
|
181
|
+
this.customJSON = new ej.ReportModel.CustomReportItem().getModel();
|
|
182
|
+
this.setPropertyVal('Source', 'Content');
|
|
183
|
+
this.setPropertyVal('Sizing', 'AutoSize');
|
|
184
|
+
this.setPropertyVal('DocumentValue', '');
|
|
185
|
+
}
|
|
186
|
+
return this.customJSON;
|
|
187
|
+
};
|
|
188
|
+
EJHtmlDocument.prototype.setReportItemJson = function (reportItem) {
|
|
189
|
+
this.customJSON = reportItem;
|
|
190
|
+
};
|
|
191
|
+
EJHtmlDocument.prototype.dispose = function () {
|
|
192
|
+
this.customJSON = null;
|
|
193
|
+
this.propertyPanel = null;
|
|
194
|
+
this.rootElement = null;
|
|
195
|
+
this.customItemDiv = null;
|
|
196
|
+
this.reportDesigner = null;
|
|
197
|
+
};
|
|
198
|
+
EJHtmlDocument.prototype.undoRedoAction = function (args) {
|
|
199
|
+
};
|
|
200
|
+
EJHtmlDocument.prototype.getLocale = function (text) {
|
|
201
|
+
var htmlLocale;
|
|
202
|
+
var defaultLocale = EJHtmlDocument.Locale['en-US'];
|
|
203
|
+
if (this.reportDesigner && !ej.isNullOrUndefined(this.reportDesigner.model) &&
|
|
204
|
+
!ej.isNullOrUndefined(EJHtmlDocument.Locale[this.reportDesigner.model.locale])) {
|
|
205
|
+
htmlLocale = EJHtmlDocument.Locale[this.reportDesigner.model.locale];
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
htmlLocale = defaultLocale;
|
|
209
|
+
}
|
|
210
|
+
switch (text.toLowerCase()) {
|
|
211
|
+
case 'categorybasicsettings':
|
|
212
|
+
if (htmlLocale && htmlLocale.categoryBasicSettings) {
|
|
213
|
+
return htmlLocale.categoryBasicSettings;
|
|
214
|
+
}
|
|
215
|
+
return defaultLocale.categoryBasicSettings;
|
|
216
|
+
case 'sizing':
|
|
217
|
+
if (htmlLocale && htmlLocale.sizing) {
|
|
218
|
+
return htmlLocale.sizing;
|
|
219
|
+
}
|
|
220
|
+
return defaultLocale.sizing;
|
|
221
|
+
case 'source':
|
|
222
|
+
if (htmlLocale && htmlLocale.source) {
|
|
223
|
+
return htmlLocale.source;
|
|
224
|
+
}
|
|
225
|
+
return defaultLocale.source;
|
|
226
|
+
case 'content':
|
|
227
|
+
if (htmlLocale && htmlLocale.sourceTypes.content) {
|
|
228
|
+
return htmlLocale.sourceTypes.content;
|
|
229
|
+
}
|
|
230
|
+
return defaultLocale.sourceTypes.content;
|
|
231
|
+
case 'url':
|
|
232
|
+
if (htmlLocale && htmlLocale.sourceTypes.url) {
|
|
233
|
+
return htmlLocale.sourceTypes.url;
|
|
234
|
+
}
|
|
235
|
+
return defaultLocale.sourceTypes.url;
|
|
236
|
+
case 'auto':
|
|
237
|
+
if (htmlLocale && htmlLocale.sizeTypes.auto) {
|
|
238
|
+
return htmlLocale.sizeTypes.auto;
|
|
239
|
+
}
|
|
240
|
+
return defaultLocale.sizeTypes.auto;
|
|
241
|
+
case 'fit':
|
|
242
|
+
if (htmlLocale && htmlLocale.sizeTypes.fit) {
|
|
243
|
+
return htmlLocale.sizeTypes.fit;
|
|
244
|
+
}
|
|
245
|
+
return defaultLocale.sizeTypes.fit;
|
|
246
|
+
case 'proportional':
|
|
247
|
+
if (htmlLocale && htmlLocale.sizeTypes.proportional) {
|
|
248
|
+
return htmlLocale.sizeTypes.proportional;
|
|
249
|
+
}
|
|
250
|
+
return defaultLocale.sizeTypes.proportional;
|
|
251
|
+
case 'clip':
|
|
252
|
+
if (htmlLocale && htmlLocale.sizeTypes.clip) {
|
|
253
|
+
return htmlLocale.sizeTypes.clip;
|
|
254
|
+
}
|
|
255
|
+
return defaultLocale.sizeTypes.clip;
|
|
256
|
+
}
|
|
257
|
+
return text;
|
|
258
|
+
};
|
|
259
|
+
return EJHtmlDocument;
|
|
260
|
+
}());
|
|
261
|
+
EJHtmlDocument.Locale = {};
|
|
262
|
+
EJHtmlDocument.Locale['en-US'] = {
|
|
263
|
+
source: 'Source',
|
|
264
|
+
sourceTypes: {
|
|
265
|
+
content: 'Content',
|
|
266
|
+
url: 'URL',
|
|
267
|
+
},
|
|
268
|
+
categoryBasicSettings: 'Basic Settings',
|
|
269
|
+
sizing: 'Sizing',
|
|
270
|
+
sizeTypes: {
|
|
271
|
+
auto: 'AutoSize',
|
|
272
|
+
fit: 'Fit',
|
|
273
|
+
proportional: 'FitProportional',
|
|
274
|
+
clip: 'Clip'
|
|
275
|
+
},
|
|
276
|
+
toolTip: {
|
|
277
|
+
requirements: 'Display any Html markup (or) url',
|
|
278
|
+
description: 'This report item used to process the html markup text and url',
|
|
279
|
+
title: 'Html'
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
EJHtmlDocument.Locale['ar-AE'] = {
|
|
283
|
+
source: 'مصدر',
|
|
284
|
+
sourceTypes: {
|
|
285
|
+
content: 'محتوى',
|
|
286
|
+
url: 'رابط'
|
|
287
|
+
},
|
|
288
|
+
categoryBasicSettings: 'الإعدادات الأساسية',
|
|
289
|
+
sizing: 'تغيير الحجم',
|
|
290
|
+
sizeTypes: {
|
|
291
|
+
auto: 'حجم تلقائي',
|
|
292
|
+
fit: 'لياقة',
|
|
293
|
+
proportional: 'ملاءمة متناسبة',
|
|
294
|
+
clip: 'قص'
|
|
295
|
+
},
|
|
296
|
+
toolTip: {
|
|
297
|
+
requirements: 'عرض أي ترميز HTML (أو) رابط',
|
|
298
|
+
description: 'يستخدم عنصر التقرير هذا لمعالجة نص ترميز HTML والرابط',
|
|
299
|
+
title: 'HTML'
|
|
300
|
+
}
|
|
301
|
+
};
|
|
302
|
+
EJHtmlDocument.Locale['fr-FR'] = {
|
|
303
|
+
source: 'Source',
|
|
304
|
+
sourceTypes: {
|
|
305
|
+
content: 'Contenu',
|
|
306
|
+
url: 'URL'
|
|
307
|
+
},
|
|
308
|
+
categoryBasicSettings: 'Paramètres de base',
|
|
309
|
+
sizing: 'Dimensionnement',
|
|
310
|
+
sizeTypes: {
|
|
311
|
+
auto: 'Taille automatique',
|
|
312
|
+
fit: 'Ajustement',
|
|
313
|
+
proportional: 'Ajustement proportionnel',
|
|
314
|
+
clip: 'Couper'
|
|
315
|
+
},
|
|
316
|
+
toolTip: {
|
|
317
|
+
requirements: 'Afficher n\'importe quel balisage HTML (ou) URL',
|
|
318
|
+
description: 'Cet élément de rapport est utilisé pour traiter le texte de balisage HTML et l\'URL',
|
|
319
|
+
title: 'Html'
|
|
320
|
+
}
|
|
321
|
+
};
|
|
322
|
+
EJHtmlDocument.Locale['de-DE'] = {
|
|
323
|
+
source: 'Quelle',
|
|
324
|
+
sourceTypes: {
|
|
325
|
+
content: 'Inhalt',
|
|
326
|
+
url: 'URL'
|
|
327
|
+
},
|
|
328
|
+
categoryBasicSettings: 'Grundeinstellungen',
|
|
329
|
+
sizing: 'Größenanpassung',
|
|
330
|
+
sizeTypes: {
|
|
331
|
+
auto: 'Automatische Größe',
|
|
332
|
+
fit: 'Anpassen',
|
|
333
|
+
proportional: 'Proportional anpassen',
|
|
334
|
+
clip: 'Schneiden'
|
|
335
|
+
},
|
|
336
|
+
toolTip: {
|
|
337
|
+
requirements: 'Beliebiges HTML-Markup (oder) URL anzeigen',
|
|
338
|
+
description: 'Dieses Berichtsobjekt wird verwendet, um HTML-Markup-Text und URL zu verarbeiten',
|
|
339
|
+
title: 'Html'
|
|
340
|
+
}
|
|
341
|
+
};
|
|
342
|
+
EJHtmlDocument.Locale['en-AU'] = {
|
|
343
|
+
source: 'Source',
|
|
344
|
+
sourceTypes: {
|
|
345
|
+
content: 'Content',
|
|
346
|
+
url: 'URL'
|
|
347
|
+
},
|
|
348
|
+
categoryBasicSettings: 'Basic Settings',
|
|
349
|
+
sizing: 'Sizing',
|
|
350
|
+
sizeTypes: {
|
|
351
|
+
auto: 'AutoSize',
|
|
352
|
+
fit: 'Fit',
|
|
353
|
+
proportional: 'FitProportional',
|
|
354
|
+
clip: 'Clip'
|
|
355
|
+
},
|
|
356
|
+
toolTip: {
|
|
357
|
+
requirements: 'Display any Html markup (or) url',
|
|
358
|
+
description: 'This report item used to process the html markup text and url',
|
|
359
|
+
title: 'Html'
|
|
360
|
+
}
|
|
361
|
+
};
|
|
362
|
+
EJHtmlDocument.Locale['en-CA'] = {
|
|
363
|
+
source: 'Source',
|
|
364
|
+
sourceTypes: {
|
|
365
|
+
content: 'Content',
|
|
366
|
+
url: 'URL'
|
|
367
|
+
},
|
|
368
|
+
categoryBasicSettings: 'Basic Settings',
|
|
369
|
+
sizing: 'Sizing',
|
|
370
|
+
sizeTypes: {
|
|
371
|
+
auto: 'AutoSize',
|
|
372
|
+
fit: 'Fit',
|
|
373
|
+
proportional: 'FitProportional',
|
|
374
|
+
clip: 'Clip'
|
|
375
|
+
},
|
|
376
|
+
toolTip: {
|
|
377
|
+
requirements: 'Display any Html markup (or) url',
|
|
378
|
+
description: 'This report item used to process the html markup text and url',
|
|
379
|
+
title: 'Html'
|
|
380
|
+
}
|
|
381
|
+
};
|
|
382
|
+
EJHtmlDocument.Locale['es-ES'] = {
|
|
383
|
+
source: 'Fuente',
|
|
384
|
+
sourceTypes: {
|
|
385
|
+
content: 'Contenido',
|
|
386
|
+
url: 'URL'
|
|
387
|
+
},
|
|
388
|
+
categoryBasicSettings: 'Configuración básica',
|
|
389
|
+
sizing: 'Tamaño',
|
|
390
|
+
sizeTypes: {
|
|
391
|
+
auto: 'Tamaño automático',
|
|
392
|
+
fit: 'Ajustar',
|
|
393
|
+
proportional: 'Ajuste proporcional',
|
|
394
|
+
clip: 'Recortar'
|
|
395
|
+
},
|
|
396
|
+
toolTip: {
|
|
397
|
+
requirements: 'Mostrar cualquier marcado HTML (o) URL',
|
|
398
|
+
description: 'Este elemento de informe se utiliza para procesar el texto de marcado HTML y la URL',
|
|
399
|
+
title: 'Html'
|
|
400
|
+
}
|
|
401
|
+
};
|
|
402
|
+
EJHtmlDocument.Locale['it-IT'] = {
|
|
403
|
+
source: 'Fonte',
|
|
404
|
+
sourceTypes: {
|
|
405
|
+
content: 'Contenuto',
|
|
406
|
+
url: 'URL'
|
|
407
|
+
},
|
|
408
|
+
categoryBasicSettings: 'Impostazioni di base',
|
|
409
|
+
sizing: 'Ridimensionamento',
|
|
410
|
+
sizeTypes: {
|
|
411
|
+
auto: 'Dimensione automatica',
|
|
412
|
+
fit: 'Adatta',
|
|
413
|
+
proportional: 'Adatta proporzionalmente',
|
|
414
|
+
clip: 'Taglia'
|
|
415
|
+
},
|
|
416
|
+
toolTip: {
|
|
417
|
+
requirements: 'Visualizza qualsiasi markup HTML (o) URL',
|
|
418
|
+
description: 'Questo elemento del rapporto viene utilizzato per elaborare il testo di markup HTML e l\'URL',
|
|
419
|
+
title: 'Html'
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
EJHtmlDocument.Locale['fr-CA'] = {
|
|
423
|
+
source: 'Source',
|
|
424
|
+
sourceTypes: {
|
|
425
|
+
content: 'Contenu',
|
|
426
|
+
url: 'URL'
|
|
427
|
+
},
|
|
428
|
+
categoryBasicSettings: 'Paramètres de base',
|
|
429
|
+
sizing: 'Dimensionnement',
|
|
430
|
+
sizeTypes: {
|
|
431
|
+
auto: 'Taille automatique',
|
|
432
|
+
fit: 'Ajustement',
|
|
433
|
+
proportional: 'Ajustement proportionnel',
|
|
434
|
+
clip: 'Couper'
|
|
435
|
+
},
|
|
436
|
+
toolTip: {
|
|
437
|
+
requirements: 'Afficher n\'importe quel balisage HTML (ou) URL',
|
|
438
|
+
description: 'Cet élément de rapport est utilisé pour traiter le texte de balisage HTML et l\'URL',
|
|
439
|
+
title: 'Html'
|
|
440
|
+
}
|
|
441
|
+
};
|
|
442
|
+
EJHtmlDocument.Locale['tr-TR'] = {
|
|
443
|
+
source: 'Kaynak',
|
|
444
|
+
sourceTypes: {
|
|
445
|
+
content: 'İçerik',
|
|
446
|
+
url: 'URL'
|
|
447
|
+
},
|
|
448
|
+
categoryBasicSettings: 'Temel Ayarlar',
|
|
449
|
+
sizing: 'Boyutlandırma',
|
|
450
|
+
sizeTypes: {
|
|
451
|
+
auto: 'Otomatik Boyut',
|
|
452
|
+
fit: 'Sığdır',
|
|
453
|
+
proportional: 'Orantılı Sığdır',
|
|
454
|
+
clip: 'Kes'
|
|
455
|
+
},
|
|
456
|
+
toolTip: {
|
|
457
|
+
requirements: 'Herhangi bir HTML işaretlemesi (veya) URL görüntüle',
|
|
458
|
+
description: 'Bu rapor öğesi HTML işaretleme metnini ve URL\'yi işlemek için kullanılır',
|
|
459
|
+
title: 'Html'
|
|
460
|
+
}
|
|
461
|
+
};
|
|
462
|
+
EJHtmlDocument.Locale['zh-CN'] = {
|
|
463
|
+
source: '来源',
|
|
464
|
+
sourceTypes: {
|
|
465
|
+
content: '内容',
|
|
466
|
+
url: 'URL'
|
|
467
|
+
},
|
|
468
|
+
categoryBasicSettings: '基本设置',
|
|
469
|
+
sizing: '调整大小',
|
|
470
|
+
sizeTypes: {
|
|
471
|
+
auto: '自动大小',
|
|
472
|
+
fit: '适合',
|
|
473
|
+
proportional: '比例适合',
|
|
474
|
+
clip: '剪辑'
|
|
475
|
+
},
|
|
476
|
+
toolTip: {
|
|
477
|
+
requirements: '显示任何 HTML 标记(或)URL',
|
|
478
|
+
description: '此报告项目用于处理 HTML 标记文本和 URL',
|
|
479
|
+
title: 'Html'
|
|
480
|
+
}
|
|
481
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M36 33L36 39C36 40.1046 35.1046 41 34 41H10C8.89543 41 8 40.1046 8 39V5C8 3.89543 8.89543 3 10 3H25.4882M36 20.8125V13.6875M36 13.6875L25.4882 3M36 13.6875H27.4882C26.3836 13.6875 25.4882 12.7921 25.4882 11.6875V3" stroke="#0787FF" stroke-width="2"/>
|
|
3
|
+
<rect x="13" y="20.3438" width="25.4375" height="12.7188" rx="2.3125" stroke="#EC7838"/>
|
|
4
|
+
<path d="M27.5 5H39C40.1046 5 41 5.89543 41 7V43C41 44.1046 40.1046 45 39 45H15C13.8954 45 13 44.1046 13 43V41" stroke="#0787FF" stroke-width="2"/>
|
|
5
|
+
<path d="M17.2812 29V24.6364H18.4659V26.3409H20.0341V24.6364H21.2188V29H20.0341V27.2955H18.4659V29H17.2812ZM21.6619 25.5909V24.6364H25.4545V25.5909H24.142V29H22.9744V25.5909H21.6619ZM25.9004 24.6364H27.3748L28.389 27.108H28.4402L29.4544 24.6364H30.9288V29H29.7697V26.4773H29.7356L28.764 28.9659H28.0652L27.0936 26.4602H27.0595V29H25.9004V24.6364ZM31.4902 29V24.6364H32.6749V28.0455H34.4391V29H31.4902Z" fill="#0787FF"/>
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M35 35.5V38C35 39.1046 34.1046 40 33 40H10C8.89543 40 8 39.1046 8 38V10C8 8.89543 8.89543 8 10 8H33C34.1046 8 35 8.89543 35 10V21.5" stroke="#0787FF" stroke-width="2"/>
|
|
3
|
+
<rect x="18" y="22" width="22" height="13" rx="2" stroke="#EC7838"/>
|
|
4
|
+
<path d="M20.2812 31V26.6364H21.4659V28.3409H23.0341V26.6364H24.2188V31H23.0341V29.2955H21.4659V31H20.2812ZM24.6619 27.5909V26.6364H28.4545V27.5909H27.142V31H25.9744V27.5909H24.6619ZM28.9004 26.6364H30.3748L31.389 29.108H31.4402L32.4544 26.6364H33.9288V31H32.7697V28.4773H32.7356L31.764 30.9659H31.0652L30.0936 28.4602H30.0595V31H28.9004V26.6364ZM34.4902 31V26.6364H35.6749V30.0455H37.4391V31H34.4902Z" fill="#0787FF"/>
|
|
5
|
+
</svg>
|