@boldreports/angular-reporting-components 5.1.28 → 5.2.27

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.
Files changed (32) hide show
  1. package/README.md +1 -2
  2. package/boldreports-angular-reporting-components.d.ts +5 -0
  3. package/core.d.ts +9 -1
  4. package/esm2020/boldreports-angular-reporting-components.mjs +5 -0
  5. package/esm2020/core.mjs +380 -0
  6. package/esm2020/index.mjs +7 -0
  7. package/esm2020/reportdesigner.component.mjs +305 -0
  8. package/esm2020/reportdesigner.module.mjs +26 -0
  9. package/esm2020/reports.module.mjs +34 -0
  10. package/esm2020/reportviewer.component.mjs +307 -0
  11. package/esm2020/reportviewer.module.mjs +26 -0
  12. package/fesm2015/boldreports-angular-reporting-components.mjs +1065 -0
  13. package/fesm2015/boldreports-angular-reporting-components.mjs.map +1 -0
  14. package/fesm2020/boldreports-angular-reporting-components.mjs +1065 -0
  15. package/fesm2020/boldreports-angular-reporting-components.mjs.map +1 -0
  16. package/index.d.ts +2 -0
  17. package/package.json +22 -30
  18. package/reportdesigner.component.d.ts +3 -1
  19. package/reportdesigner.module.d.ts +6 -0
  20. package/reports.module.d.ts +7 -0
  21. package/reportviewer.component.d.ts +4 -0
  22. package/reportviewer.module.d.ts +6 -0
  23. package/@boldreports/angular-reporting-components.es5.js +0 -821
  24. package/@boldreports/angular-reporting-components.es5.js.map +0 -1
  25. package/@boldreports/angular-reporting-components.js +0 -796
  26. package/@boldreports/angular-reporting-components.js.map +0 -1
  27. package/angular-reporting-components.d.ts +0 -6
  28. package/angular-reporting-components.metadata.json +0 -1
  29. package/bundles/angular-reporting-components.umd.js +0 -836
  30. package/bundles/angular-reporting-components.umd.js.map +0 -1
  31. package/bundles/angular-reporting-components.umd.min.js +0 -2
  32. package/bundles/angular-reporting-components.umd.min.js.map +0 -1
@@ -1,821 +0,0 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = Object.setPrototypeOf ||
3
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5
- return function (d, b) {
6
- extendStatics(d, b);
7
- function __() { this.constructor = d; }
8
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9
- };
10
- })();
11
- import { ChangeDetectorRef, Component, ElementRef, EventEmitter, Input, IterableDiffers, KeyValueDiffers, NgModule, Output } from '@angular/core';
12
- import { CommonModule } from '@angular/common';
13
- var currentTemplateElement;
14
- var firstVal = {};
15
- /**
16
- * Internal Helpers
17
- */
18
- var Utils = /** @class */ (function () {
19
- function Utils() {
20
- }
21
- /**
22
- * @param {?} obj
23
- * @return {?}
24
- */
25
- Utils.IterateAndGetChanges = function (obj) {
26
- if (ej.isNullOrUndefined(obj.tags) || obj.tags.length === 0) {
27
- return null;
28
- }
29
- var /** @type {?} */ res = {};
30
- for (var /** @type {?} */ i = 0, /** @type {?} */ tags = obj.tags; i < tags.length; i++) {
31
- var /** @type {?} */ tag = tags[i], /** @type {?} */ tagElement = ( /** @type {?} */(obj))['tag_' + tag.replace(/\./g, '_')];
32
- if (!ej.isNullOrUndefined(tagElement) && tagElement.hasChanges) {
33
- res[tag] = tagElement.getChangesAndReset();
34
- }
35
- }
36
- return res;
37
- };
38
- return Utils;
39
- }());
40
- var BoldReportComponents = /** @class */ (function () {
41
- /**
42
- * @param {?} controlName
43
- * @param {?} el
44
- * @param {?} cdRef
45
- * @param {?} tags
46
- * @param {?} ejIterableDiffers
47
- * @param {?} _ejKeyValueDiffers
48
- */
49
- function BoldReportComponents(controlName, el, cdRef, tags, ejIterableDiffers, _ejKeyValueDiffers) {
50
- this.controlName = controlName;
51
- this.el = el;
52
- this.cdRef = cdRef;
53
- this.tags = tags;
54
- this.ejIterableDiffers = ejIterableDiffers;
55
- this._ejKeyValueDiffers = _ejKeyValueDiffers;
56
- this.model = ({});
57
- this.outputs = [];
58
- this.inputs = [];
59
- this.twoways = [];
60
- // this.__shadow = this.dom.getShadowRoot(this.el.nativeElement);
61
- this.firstCheck = true;
62
- this.ejIterable = this.ejIterableDiffers.find([]).create(null);
63
- this.ejKeyValueDif = _ejKeyValueDiffers.find([]).create();
64
- }
65
- /**
66
- * @param {?} instance
67
- * @param {?} model
68
- * @param {?} event
69
- * @return {?}
70
- */
71
- BoldReportComponents.bindAndRaiseEvent = function (instance, model, event) {
72
- if (!event.startsWith('model.')) { // && instance[event]['observers'].length > 1) {
73
- var /** @type {?} */ originalEvt = event.startsWith('bold') ? event.substr(4) : event;
74
- model[originalEvt] = function (params) {
75
- instance[event + '_output']['emit'](params);
76
- };
77
- }
78
- };
79
- /**
80
- * @param {?} twoways
81
- * @return {?}
82
- */
83
- BoldReportComponents.prototype.createTwoways = function (twoways) {
84
- if (!twoways) {
85
- return;
86
- }
87
- var /** @type {?} */ model = this.model;
88
- for (var /** @type {?} */ i = 0; i < twoways.length; i++) {
89
- var /** @type {?} */ element = twoways[i].replace(/\_/g, '.');
90
- ej.createObject(element + 'Change', ( /** @type {?} */(this))[twoways[i] + '_twoChange'], model);
91
- ej.createObject(element, this.addTwoways(element), model);
92
- }
93
- };
94
- /**
95
- * @param {?} prop
96
- * @return {?}
97
- */
98
- BoldReportComponents.prototype.addTwoways = function (prop) {
99
- var /** @type {?} */ model = this.model, /** @type {?} */ value = firstVal; // , originalProp = prop.replace(/-/g, '.');
100
- return function (newVal, isApp) {
101
- if (value === firstVal) {
102
- value = ej.getObject(prop + '_two', model);
103
- if (value === undefined) {
104
- value = ej.getObject(prop, this === undefined || this.defaults === undefined ? {} : this.defaults);
105
- }
106
- }
107
- if (newVal === undefined) {
108
- return value;
109
- }
110
- if (value === newVal) {
111
- return;
112
- }
113
- value = newVal;
114
- if (!isApp) {
115
- ej.createObject(prop + '_two', newVal, model);
116
- ej.getObject(prop + 'Change', model).emit(newVal);
117
- }
118
- };
119
- };
120
- /**
121
- * @return {?}
122
- */
123
- BoldReportComponents.prototype.ngOnInit = function () {
124
- for (var /** @type {?} */ key in this) {
125
- if (key.indexOf('_input') != -1)
126
- this.inputs.push(key);
127
- if (key.indexOf('_output') != -1)
128
- this.outputs.push(key);
129
- if (key.indexOf('_two') != -1 && key.indexOf('_twoChange') == -1)
130
- this.twoways.push(key.replace('_two', ''));
131
- }
132
- if (ej.isNullOrUndefined(( /** @type {?} */(this))['options'])) {
133
- this.createTwoways(this.twoways);
134
- }
135
- };
136
- /**
137
- * @return {?}
138
- */
139
- BoldReportComponents.prototype.ngAfterContentInit = function () {
140
- this.firstCheck = false;
141
- var /** @type {?} */ model = this.model, /** @type {?} */ events = this.outputs;
142
- if (events) {
143
- for (var /** @type {?} */ i = 0; i < events.length; i++) {
144
- var /** @type {?} */ event = events[i].replace('_output', '');
145
- BoldReportComponents.bindAndRaiseEvent(this, model, event);
146
- }
147
- }
148
- if (ej.isNullOrUndefined(( /** @type {?} */(this))['options'])) {
149
- for (var /** @type {?} */ i = 0; i < this.tags.length; i++) {
150
- var /** @type {?} */ element = this.tags[i], /** @type {?} */ item = ( /** @type {?} */(this))['tag_' + element.replace(/\./g, '_')];
151
- if (!ej.isNullOrUndefined(item)) {
152
- ej.createObject(element, item.getList(), this.model);
153
- }
154
- }
155
- for (var /** @type {?} */ i = 0; i < this.inputs.length; i++) {
156
- var /** @type {?} */ property = this.inputs[i];
157
- var /** @type {?} */ modelProperty = this.inputs[i].replace('_input', '');
158
- if (( /** @type {?} */(this))[property] != null) {
159
- if (modelProperty.indexOf('_') == -1) {
160
- if (( /** @type {?} */(this.model))[modelProperty]) {
161
- $.extend(true, ( /** @type {?} */(this.model))[modelProperty], ( /** @type {?} */(this))[property]);
162
- }
163
- else {
164
- ( /** @type {?} */(this.model))[modelProperty] = ( /** @type {?} */(this))[property];
165
- }
166
- }
167
- else if (modelProperty.indexOf('_two') == -1) {
168
- var /** @type {?} */ tempObj = {};
169
- var /** @type {?} */ key = modelProperty.replace(/\_/g, '.');
170
- ej.createObject(key, ( /** @type {?} */(this))[property], tempObj);
171
- var /** @type {?} */ rootProp = key.split('.')[0];
172
- if (( /** @type {?} */(this.model))[rootProp] == undefined)
173
- ( /** @type {?} */(this.model))[rootProp] = {};
174
- $.extend(true, ( /** @type {?} */(this.model))[rootProp], tempObj[rootProp]);
175
- }
176
- }
177
- }
178
- for (var /** @type {?} */ i = 0; i < this.twoways.length; i++) {
179
- var /** @type {?} */ twoway = this.twoways[i];
180
- var /** @type {?} */ twowayProperty = twoway + '_two';
181
- if (( /** @type {?} */(this))[twowayProperty] != null) {
182
- if (twoway.indexOf('_') == -1) {
183
- ( /** @type {?} */(this.model))[twowayProperty] = ( /** @type {?} */(this))[twowayProperty];
184
- }
185
- else {
186
- var /** @type {?} */ tempObj = {};
187
- var /** @type {?} */ key = twoway.replace(/\_/g, '.') + '_two';
188
- ej.createObject(key, ( /** @type {?} */(this))[twowayProperty], tempObj);
189
- var /** @type {?} */ rootProp = twowayProperty.split('_')[0];
190
- $.extend(true, ( /** @type {?} */(this.model))[rootProp], tempObj[rootProp]);
191
- }
192
- }
193
- }
194
- }
195
- else
196
- this.model = jQuery.extend(this.model, ( /** @type {?} */(this))['options']);
197
- };
198
- /**
199
- * @return {?}
200
- */
201
- BoldReportComponents.prototype.ngDoCheck = function () {
202
- var _this = this;
203
- if (ej.isNullOrUndefined(( /** @type {?} */(this))['options'])) {
204
- this.twoways.forEach(function (element) {
205
- if (( /** @type {?} */(_this))[element + '_two'] instanceof Array) {
206
- var /** @type {?} */ changes = _this.ejIterable.diff(( /** @type {?} */(_this))[element + '_two']);
207
- if (changes) {
208
- var /** @type {?} */ ngChanges = {};
209
- if (_this.widget != undefined) {
210
- ngChanges = _this.getTwowayChanges(changes.collection, ngChanges, element.replace(/\_/g, '.'));
211
- ej.createObject(element.replace(/\_/g, '.') + '.two', changes.collection, ngChanges);
212
- ( /** @type {?} */(_this.widget))['setModel'](ngChanges, $.isPlainObject(ngChanges));
213
- }
214
- }
215
- }
216
- });
217
- }
218
- else {
219
- var /** @type {?} */ changes = this.ejKeyValueDif.diff(( /** @type {?} */(this))['options']);
220
- if (changes) {
221
- if (this.widget != undefined) {
222
- var /** @type {?} */ ngchanges = {};
223
- changes.forEachChangedItem(function (changedprop) {
224
- ej.createObject(changedprop.key, changedprop.currentValue, ngchanges);
225
- });
226
- ( /** @type {?} */(this.widget))['setModel'](ngchanges, $.isPlainObject(ngchanges));
227
- }
228
- }
229
- }
230
- };
231
- /**
232
- * @return {?}
233
- */
234
- BoldReportComponents.prototype.ngAfterViewInit = function () {
235
- var /** @type {?} */ nativeElement = this.isEditor ? $(this.el.nativeElement.children) : $(this.el.nativeElement);
236
- var /** @type {?} */ controlName = this.lowerCaseFirstLetter(this.controlName);
237
- this.widget = ( /** @type {?} */($(nativeElement)))[controlName](this.model)[controlName]('instance');
238
- };
239
- /**
240
- * @param {?} string
241
- * @return {?}
242
- */
243
- BoldReportComponents.prototype.lowerCaseFirstLetter = function (string) {
244
- return string[0].toLowerCase() + string.slice(1);
245
- };
246
- /**
247
- * @param {?} changes
248
- * @return {?}
249
- */
250
- BoldReportComponents.prototype.ngOnChanges = function (changes) {
251
- if (this.firstCheck) {
252
- return;
253
- }
254
- var /** @type {?} */ ngChanges = {};
255
- if (ej.isNullOrUndefined(( /** @type {?} */(this))['options'])) {
256
- for (var /** @type {?} */ key in changes) {
257
- var /** @type {?} */ element = changes[key];
258
- if (element.previousValue === element.currentValue) {
259
- break;
260
- }
261
- key = key.replace('_input', '').replace(/\_/g, '.');
262
- if (key.endsWith('.two')) {
263
- var /** @type {?} */ oKey = key.replace('.two', '');
264
- ngChanges = this.getTwowayChanges(element.currentValue, ngChanges, oKey);
265
- }
266
- ej.createObject(key, element.currentValue, ngChanges);
267
- }
268
- ( /** @type {?} */(this.widget))['setModel'](ngChanges, $.isPlainObject(ngChanges));
269
- }
270
- };
271
- /**
272
- * @param {?} value
273
- * @param {?} ngChanges
274
- * @param {?} prop
275
- * @return {?}
276
- */
277
- BoldReportComponents.prototype.getTwowayChanges = function (value, ngChanges, prop) {
278
- var /** @type {?} */ valFn = ej.getObject(prop, ( /** @type {?} */(this.widget))['model']);
279
- valFn(value, true);
280
- ej.createObject(prop, valFn, ngChanges);
281
- return ngChanges;
282
- };
283
- /**
284
- * @return {?}
285
- */
286
- BoldReportComponents.prototype.ngAfterContentChecked = function () {
287
- // TODO: ChangeDetection Third/Multi level
288
- var /** @type {?} */ changes = Utils.IterateAndGetChanges(this);
289
- for (var /** @type {?} */ key in changes) {
290
- if (changes.hasOwnProperty(key)) {
291
- var /** @type {?} */ element = changes[key];
292
- ( /** @type {?} */(this.widget))['_' + key](element);
293
- }
294
- }
295
- };
296
- /**
297
- * @return {?}
298
- */
299
- BoldReportComponents.prototype.ngOnDestroy = function () {
300
- ( /** @type {?} */(this.widget))['destroy']();
301
- };
302
- return BoldReportComponents;
303
- }());
304
- var ComplexTagElement = /** @class */ (function () {
305
- /**
306
- * @param {?} tags
307
- */
308
- function ComplexTagElement(tags) {
309
- this.tags = tags;
310
- this.valueChange = new EventEmitter();
311
- this.complexes = [];
312
- this.hasChanges = false;
313
- this.firstChange = true;
314
- Object.defineProperty(this, 'parent', {
315
- enumerable: false,
316
- writable: true,
317
- value: null
318
- });
319
- currentTemplateElement = this;
320
- }
321
- /**
322
- * @return {?}
323
- */
324
- ComplexTagElement.prototype.ngOnInit = function () {
325
- this.firstChange = false;
326
- for (var /** @type {?} */ key in this) {
327
- if (key.indexOf('_') != -1 && key.indexOf('tag_') == -1)
328
- this.complexes.push(key);
329
- }
330
- for (var /** @type {?} */ i = 0; i < this.complexes.length; i++) {
331
- var /** @type {?} */ property = this.complexes[i];
332
- if (property.indexOf('_') != -1) {
333
- var /** @type {?} */ tempObj = {};
334
- var /** @type {?} */ key = property.replace(/\_/g, '.');
335
- ej.createObject(key, ( /** @type {?} */(this))[property], tempObj);
336
- var /** @type {?} */ rootProp = key.split('.')[0];
337
- if (( /** @type {?} */(this))[rootProp] == undefined)
338
- ( /** @type {?} */(this))[rootProp] = {};
339
- $.extend(true, ( /** @type {?} */(this))[rootProp], tempObj[rootProp]);
340
- }
341
- }
342
- };
343
- /**
344
- * @return {?}
345
- */
346
- ComplexTagElement.prototype.ensureCleanObject = function () {
347
- var /** @type {?} */ tags = this.tags;
348
- for (var /** @type {?} */ i = 0; i < tags.length; i++) {
349
- var /** @type {?} */ element = tags[i], /** @type {?} */ tagElement = ( /** @type {?} */(this))['tag_' + element.replace(/\./g, '_')];
350
- if (i === 0 && ( /** @type {?} */(this))[element]) {
351
- return;
352
- }
353
- if (ej.isNullOrUndefined(tagElement)) {
354
- continue;
355
- }
356
- ej.createObject(element, tagElement.getList(), this);
357
- }
358
- };
359
- /**
360
- * @param {?} changes
361
- * @return {?}
362
- */
363
- ComplexTagElement.prototype.ngOnChanges = function (changes) {
364
- if (this.firstChange) {
365
- return;
366
- }
367
- this.recentChanges = changes;
368
- this.hasChanges = true;
369
- };
370
- /**
371
- * @return {?}
372
- */
373
- ComplexTagElement.prototype.getChangesAndReset = function () {
374
- if (this.hasChanges === false) {
375
- return;
376
- }
377
- var /** @type {?} */ changes = this.recentChanges || {};
378
- var /** @type {?} */ contentChanges = Utils.IterateAndGetChanges(this);
379
- if (!$.isEmptyObject(contentChanges)) {
380
- for (var /** @type {?} */ key in contentChanges) {
381
- if (contentChanges.hasOwnProperty(key)) {
382
- var /** @type {?} */ element = contentChanges[key];
383
- // this.el.nativeElement.
384
- if (!ej.isNullOrUndefined(this.parent.widget['_' + this.property.replace(/\./g, '_') + '_' + key]))
385
- this.parent.widget['_' + this.property.replace(/\./g, '_') + '_' + key](element);
386
- }
387
- }
388
- }
389
- this.hasChanges = false;
390
- return changes;
391
- };
392
- /**
393
- * @return {?}
394
- */
395
- ComplexTagElement.prototype.ngAfterContentChecked = function () {
396
- var /** @type {?} */ tags = this.tags;
397
- for (var /** @type {?} */ i = 0, /** @type {?} */ len = tags.length; i < len; i++) {
398
- var /** @type {?} */ element = tags[i], /** @type {?} */ tagElement = ( /** @type {?} */(this))['tag_' + element.replace(/\./g, '_')];
399
- if (tagElement && tagElement.hasChanges) {
400
- this.hasChanges = true;
401
- }
402
- }
403
- };
404
- return ComplexTagElement;
405
- }());
406
- var ArrayTagElement = /** @class */ (function () {
407
- /**
408
- * @param {?} propertyName
409
- */
410
- function ArrayTagElement(propertyName) {
411
- this.propertyName = propertyName;
412
- this.hasChanges = false;
413
- }
414
- /**
415
- * @return {?}
416
- */
417
- ArrayTagElement.prototype.ngAfterContentInit = function () {
418
- var _this = this;
419
- var /** @type {?} */ index = 0;
420
- this.list = this.children.map(function (child) {
421
- child.index = index++;
422
- child.property = _this.propertyName;
423
- return child;
424
- });
425
- };
426
- /**
427
- * @return {?}
428
- */
429
- ArrayTagElement.prototype.getList = function () {
430
- var /** @type {?} */ list = this.list;
431
- for (var /** @type {?} */ i = 0; i < list.length; i++) {
432
- list[i].ensureCleanObject();
433
- }
434
- return list;
435
- };
436
- /**
437
- * @return {?}
438
- */
439
- ArrayTagElement.prototype.getChangesAndReset = function () {
440
- this.hasChanges = false;
441
- return this.recentChanges;
442
- };
443
- /**
444
- * @return {?}
445
- */
446
- ArrayTagElement.prototype.ngAfterContentChecked = function () {
447
- var /** @type {?} */ changes = {}, /** @type {?} */ res = ( /** @type {?} */(changes))[this.propertyName] = [], /** @type {?} */ childChange;
448
- for (var /** @type {?} */ i = 0, /** @type {?} */ list = this.list; i < list.length; i++) {
449
- var /** @type {?} */ child = list[i];
450
- if (child.hasChanges) {
451
- childChange = child.getChangesAndReset();
452
- if (!ej.isNullOrUndefined(childChange)) {
453
- res.push(/** @type {?} */ ({
454
- index: child.index,
455
- change: childChange
456
- }));
457
- }
458
- }
459
- }
460
- if (res.length > 0) {
461
- this.recentChanges = res;
462
- this.hasChanges = true;
463
- }
464
- };
465
- return ArrayTagElement;
466
- }());
467
- // tslint:disable-next-line:max-line-length
468
- var BoldReportViewerComponent = /** @class */ (function (_super) {
469
- __extends(BoldReportViewerComponent, _super);
470
- /**
471
- * @param {?} el
472
- * @param {?} cdRef
473
- * @param {?} _ejIterableDiffers
474
- * @param {?} _ejkeyvaluediffers
475
- */
476
- function BoldReportViewerComponent(el, cdRef, _ejIterableDiffers, _ejkeyvaluediffers) {
477
- var _this = _super.call(this, 'BoldReportViewer', el, cdRef, [], _ejIterableDiffers, _ejkeyvaluediffers) || this;
478
- _this.el = el;
479
- _this.cdRef = cdRef;
480
- _this._ejIterableDiffers = _ejIterableDiffers;
481
- _this._ejkeyvaluediffers = _ejkeyvaluediffers;
482
- _this.drillThrough_output = new EventEmitter();
483
- _this.renderingBegin_output = new EventEmitter();
484
- _this.renderingComplete_output = new EventEmitter();
485
- _this.reportError_output = new EventEmitter();
486
- _this.reportExport_output = new EventEmitter();
487
- _this.reportLoaded_output = new EventEmitter();
488
- _this.showError_output = new EventEmitter();
489
- _this.viewReportClick_output = new EventEmitter();
490
- _this.ajaxBeforeLoad_output = new EventEmitter();
491
- _this.ajaxSuccess_output = new EventEmitter();
492
- _this.ajaxError_output = new EventEmitter();
493
- _this.toolbarRendering_output = new EventEmitter();
494
- _this.exportProgressChanged_output = new EventEmitter();
495
- _this.printProgressChanged_output = new EventEmitter();
496
- _this.exportItemClick_output = new EventEmitter();
497
- _this.toolBarItemClick_output = new EventEmitter();
498
- _this.hyperlink_output = new EventEmitter();
499
- _this.reportPrint_output = new EventEmitter();
500
- _this.beforeParameterAdd_output = new EventEmitter();
501
- return _this;
502
- }
503
- return BoldReportViewerComponent;
504
- }(BoldReportComponents));
505
- BoldReportViewerComponent.decorators = [
506
- { type: Component, args: [{
507
- selector: 'bold-reportviewer',
508
- template: ''
509
- },] },
510
- ];
511
- /**
512
- * @nocollapse
513
- */
514
- BoldReportViewerComponent.ctorParameters = function () { return [
515
- { type: ElementRef, },
516
- { type: ChangeDetectorRef, },
517
- { type: IterableDiffers, },
518
- { type: KeyValueDiffers, },
519
- ]; };
520
- BoldReportViewerComponent.propDecorators = {
521
- 'dataSources_input': [{ type: Input, args: ['dataSources',] },],
522
- 'exportSettings_input': [{ type: Input, args: ['exportSettings',] },],
523
- 'isResponsive_input': [{ type: Input, args: ['isResponsive',] },],
524
- 'locale_input': [{ type: Input, args: ['locale',] },],
525
- 'pageSettings_input': [{ type: Input, args: ['pageSettings',] },],
526
- 'parameters_input': [{ type: Input, args: ['parameters',] },],
527
- 'toolbarSettings_input': [{ type: Input, args: ['toolbarSettings',] },],
528
- 'parameterSettings_input': [{ type: Input, args: ['parameterSettings',] },],
529
- 'printMode_input': [{ type: Input, args: ['printMode',] },],
530
- 'printOption_input': [{ type: Input, args: ['printOption',] },],
531
- 'processingMode_input': [{ type: Input, args: ['processingMode',] },],
532
- 'renderMode_input': [{ type: Input, args: ['renderMode',] },],
533
- 'reportPath_input': [{ type: Input, args: ['reportPath',] },],
534
- 'reportServerUrl_input': [{ type: Input, args: ['reportServerUrl',] },],
535
- 'reportServiceUrl_input': [{ type: Input, args: ['reportServiceUrl',] },],
536
- 'zoomFactor_input': [{ type: Input, args: ['zoomFactor',] },],
537
- 'serviceAuthorizationToken_input': [{ type: Input, args: ['serviceAuthorizationToken',] },],
538
- 'enableParameterBlockScroller_input': [{ type: Input, args: ['enableParameterBlockScroller',] },],
539
- 'enableDatasourceBlockScroller_input': [{ type: Input, args: ['enableDatasourceBlockScroller',] },],
540
- 'sizeToReportContent_input': [{ type: Input, args: ['sizeToReportContent',] },],
541
- 'autoRender_input': [{ type: Input, args: ['autoRender',] },],
542
- 'enableNotificationBar_input': [{ type: Input, args: ['enableNotificationBar',] },],
543
- 'enableDropDownSearch_input': [{ type: Input, args: ['enableDropDownSearch',] },],
544
- 'enableVirtualEvaluation_input': [{ type: Input, args: ['enableVirtualEvaluation',] },],
545
- 'waitingPopupTemplate_input': [{ type: Input, args: ['waitingPopupTemplate',] },],
546
- 'enableOnScrollNavigation_input': [{ type: Input, args: ['enableOnScrollNavigation',] },],
547
- 'customBrandSettings_input': [{ type: Input, args: ['customBrandSettings',] },],
548
- 'customBrandSettings_link_input': [{ type: Input, args: ['customBrandSettings.link',] },],
549
- 'customBrandSettings_domain_input': [{ type: Input, args: ['customBrandSettings.domain',] },],
550
- 'customBrandSettings_name_input': [{ type: Input, args: ['customBrandSettings.name',] },],
551
- 'customBrandSettings_links_input': [{ type: Input, args: ['customBrandSettings.links',] },],
552
- 'dataSources_name_input': [{ type: Input, args: ['dataSources.name',] },],
553
- 'dataSources_value_input': [{ type: Input, args: ['dataSources.value',] },],
554
- 'exportSettings_exportOptions_input': [{ type: Input, args: ['exportSettings.exportOptions',] },],
555
- 'exportSettings_excelFormat_input': [{ type: Input, args: ['exportSettings.excelFormat',] },],
556
- 'exportSettings_wordFormat_input': [{ type: Input, args: ['exportSettings.wordFormat',] },],
557
- 'exportSettings_customItems_input': [{ type: Input, args: ['exportSettings.customItems',] },],
558
- 'exportSettings_ImageQuality_input': [{ type: Input, args: ['exportSettings.ImageQuality',] },],
559
- 'exportSettings_UsePrintSizes_input': [{ type: Input, args: ['exportSettings.UsePrintSizes',] },],
560
- 'pageSettings_orientation_input': [{ type: Input, args: ['pageSettings.orientation',] },],
561
- 'pageSettings_paperSize_input': [{ type: Input, args: ['pageSettings.paperSize',] },],
562
- 'pageSettings_height_input': [{ type: Input, args: ['pageSettings.height',] },],
563
- 'pageSettings_width_input': [{ type: Input, args: ['pageSettings.width',] },],
564
- 'pageSettings_margins_input': [{ type: Input, args: ['pageSettings.margins',] },],
565
- 'parameters_labels_input': [{ type: Input, args: ['parameters.labels',] },],
566
- 'parameters_name_input': [{ type: Input, args: ['parameters.name',] },],
567
- 'parameters_nullable_input': [{ type: Input, args: ['parameters.nullable',] },],
568
- 'parameters_prompt_input': [{ type: Input, args: ['parameters.prompt',] },],
569
- 'parameters_values_input': [{ type: Input, args: ['parameters.values',] },],
570
- 'parameterSettings_delimiterChar_input': [{ type: Input, args: ['parameterSettings.delimiterChar',] },],
571
- 'parameterSettings_popupHeight_input': [{ type: Input, args: ['parameterSettings.popupHeight',] },],
572
- 'parameterSettings_popupWidth_input': [{ type: Input, args: ['parameterSettings.popupWidth',] },],
573
- 'parameterSettings_itemWidth_input': [{ type: Input, args: ['parameterSettings.itemWidth',] },],
574
- 'parameterSettings_labelWidth_input': [{ type: Input, args: ['parameterSettings.labelWidth',] },],
575
- 'parameterSettings_minDateTime_input': [{ type: Input, args: ['parameterSettings.minDateTime',] },],
576
- 'parameterSettings_maxDateTime_input': [{ type: Input, args: ['parameterSettings.maxDateTime',] },],
577
- 'parameterSettings_hideParameterBlock_input': [{ type: Input, args: ['parameterSettings.hideParameterBlock',] },],
578
- 'parameterSettings_dateTimeFormat_input': [{ type: Input, args: ['parameterSettings.dateTimeFormat',] },],
579
- 'parameterSettings_timeDisplayFormat_input': [{ type: Input, args: ['parameterSettings.timeDisplayFormat',] },],
580
- 'parameterSettings_timeInterval_input': [{ type: Input, args: ['parameterSettings.timeInterval',] },],
581
- 'parameterSettings_accessInternalValue_input': [{ type: Input, args: ['parameterSettings.accessInternalValue',] },],
582
- 'toolbarSettings_click_input': [{ type: Input, args: ['toolbarSettings.click',] },],
583
- 'toolbarSettings_items_input': [{ type: Input, args: ['toolbarSettings.items',] },],
584
- 'toolbarSettings_showToolbar_input': [{ type: Input, args: ['toolbarSettings.showToolbar',] },],
585
- 'toolbarSettings_showTooltip_input': [{ type: Input, args: ['toolbarSettings.showTooltip',] },],
586
- 'toolbarSettings_templateId_input': [{ type: Input, args: ['toolbarSettings.templateId',] },],
587
- 'toolbarSettings_customItems_input': [{ type: Input, args: ['toolbarSettings.customItems',] },],
588
- 'toolbarSettings_customGroups_input': [{ type: Input, args: ['toolbarSettings.customGroups',] },],
589
- 'drillThrough_output': [{ type: Output, args: ['drillThrough',] },],
590
- 'renderingBegin_output': [{ type: Output, args: ['renderingBegin',] },],
591
- 'renderingComplete_output': [{ type: Output, args: ['renderingComplete',] },],
592
- 'reportError_output': [{ type: Output, args: ['reportError',] },],
593
- 'reportExport_output': [{ type: Output, args: ['reportExport',] },],
594
- 'reportLoaded_output': [{ type: Output, args: ['reportLoaded',] },],
595
- 'showError_output': [{ type: Output, args: ['showError',] },],
596
- 'viewReportClick_output': [{ type: Output, args: ['viewReportClick',] },],
597
- 'ajaxBeforeLoad_output': [{ type: Output, args: ['ajaxBeforeLoad',] },],
598
- 'ajaxSuccess_output': [{ type: Output, args: ['ajaxSuccess',] },],
599
- 'ajaxError_output': [{ type: Output, args: ['ajaxError',] },],
600
- 'toolbarRendering_output': [{ type: Output, args: ['toolbarRendering',] },],
601
- 'exportProgressChanged_output': [{ type: Output, args: ['exportProgressChanged',] },],
602
- 'printProgressChanged_output': [{ type: Output, args: ['printProgressChanged',] },],
603
- 'exportItemClick_output': [{ type: Output, args: ['exportItemClick',] },],
604
- 'toolBarItemClick_output': [{ type: Output, args: ['toolBarItemClick',] },],
605
- 'hyperlink_output': [{ type: Output, args: ['hyperlink',] },],
606
- 'reportPrint_output': [{ type: Output, args: ['reportPrint',] },],
607
- 'beforeParameterAdd_output': [{ type: Output, args: ['beforeParameterAdd',] },],
608
- };
609
- var BoldReportViewerModule = /** @class */ (function () {
610
- function BoldReportViewerModule() {
611
- }
612
- return BoldReportViewerModule;
613
- }());
614
- BoldReportViewerModule.decorators = [
615
- { type: NgModule, args: [{
616
- imports: [
617
- CommonModule
618
- ],
619
- declarations: [
620
- BoldReportViewerComponent
621
- ],
622
- exports: [
623
- BoldReportViewerComponent
624
- ]
625
- },] },
626
- ];
627
- /**
628
- * @nocollapse
629
- */
630
- BoldReportViewerModule.ctorParameters = function () { return []; };
631
- // tslint:disable-next-line:max-line-length
632
- var BoldReportDesignerComponent = /** @class */ (function (_super) {
633
- __extends(BoldReportDesignerComponent, _super);
634
- /**
635
- * @param {?} el
636
- * @param {?} cdRef
637
- * @param {?} _ejIterableDiffers
638
- * @param {?} _ejkeyvaluediffers
639
- */
640
- function BoldReportDesignerComponent(el, cdRef, _ejIterableDiffers, _ejkeyvaluediffers) {
641
- var _this = _super.call(this, 'BoldReportDesigner', el, cdRef, [], _ejIterableDiffers, _ejkeyvaluediffers) || this;
642
- _this.el = el;
643
- _this.cdRef = cdRef;
644
- _this._ejIterableDiffers = _ejIterableDiffers;
645
- _this._ejkeyvaluediffers = _ejkeyvaluediffers;
646
- _this.ajaxBeforeLoad_output = new EventEmitter();
647
- _this.ajaxError_output = new EventEmitter();
648
- _this.ajaxSuccess_output = new EventEmitter();
649
- _this.create_output = new EventEmitter();
650
- _this.destroy_output = new EventEmitter();
651
- _this.newDataClick_output = new EventEmitter();
652
- _this.openReportClick_output = new EventEmitter();
653
- _this.previewReport_output = new EventEmitter();
654
- _this.reportModified_output = new EventEmitter();
655
- _this.reportOpened_output = new EventEmitter();
656
- _this.reportSaved_output = new EventEmitter();
657
- _this.saveReportClick_output = new EventEmitter();
658
- _this.toolbarClick_output = new EventEmitter();
659
- _this.toolbarRendering_output = new EventEmitter();
660
- return _this;
661
- }
662
- return BoldReportDesignerComponent;
663
- }(BoldReportComponents));
664
- BoldReportDesignerComponent.decorators = [
665
- { type: Component, args: [{
666
- selector: 'bold-reportdesigner',
667
- template: ''
668
- },] },
669
- ];
670
- /**
671
- * @nocollapse
672
- */
673
- BoldReportDesignerComponent.ctorParameters = function () { return [
674
- { type: ElementRef, },
675
- { type: ChangeDetectorRef, },
676
- { type: IterableDiffers, },
677
- { type: KeyValueDiffers, },
678
- ]; };
679
- BoldReportDesignerComponent.propDecorators = {
680
- 'configurePaneSettings_input': [{ type: Input, args: ['configurePaneSettings',] },],
681
- 'disableCodeModule_input': [{ type: Input, args: ['disableCodeModule',] },],
682
- 'enableImpersonate_input': [{ type: Input, args: ['enableImpersonate',] },],
683
- 'enableImageBlobing_input': [{ type: Input, args: ['enableImageBlobing',] },],
684
- 'enableTableMultipleDataAssign_input': [{ type: Input, args: ['enableTableMultipleDataAssign',] },],
685
- 'filterDataConnectors_input': [{ type: Input, args: ['filterDataConnectors',] },],
686
- 'filterReportItems_input': [{ type: Input, args: ['filterReportItems',] },],
687
- 'fontNames_input': [{ type: Input, args: ['fontNames',] },],
688
- 'locale_input': [{ type: Input, args: ['locale',] },],
689
- 'permissionSettings_input': [{ type: Input, args: ['permissionSettings',] },],
690
- 'previewOptions_input': [{ type: Input, args: ['previewOptions',] },],
691
- 'reportDataExtensions_input': [{ type: Input, args: ['reportDataExtensions',] },],
692
- 'reportItemExtensions_input': [{ type: Input, args: ['reportItemExtensions',] },],
693
- 'reportPath_input': [{ type: Input, args: ['reportPath',] },],
694
- 'reportVersion_input': [{ type: Input, args: ['reportVersion',] },],
695
- 'reportType_input': [{ type: Input, args: ['reportType',] },],
696
- 'reportServerUrl_input': [{ type: Input, args: ['reportServerUrl',] },],
697
- 'serviceAuthorizationToken_input': [{ type: Input, args: ['serviceAuthorizationToken',] },],
698
- 'serviceUrl_input': [{ type: Input, args: ['serviceUrl',] },],
699
- 'toolbarSettings_input': [{ type: Input, args: ['toolbarSettings',] },],
700
- 'waitingPopupTemplate_input': [{ type: Input, args: ['waitingPopupTemplate',] },],
701
- 'dataTabIndex_input': [{ type: Input, args: ['dataTabIndex',] },],
702
- 'configurePaneSettings_items_input': [{ type: Input, args: ['configurePaneSettings.items',] },],
703
- 'configurePaneSettings_showPane_input': [{ type: Input, args: ['configurePaneSettings.showPane',] },],
704
- 'dataSources_name_input': [{ type: Input, args: ['dataSources.name',] },],
705
- 'dataSources_value_input': [{ type: Input, args: ['dataSources.value',] },],
706
- 'exportSettings_exportOptions_input': [{ type: Input, args: ['exportSettings.exportOptions',] },],
707
- 'exportSettings_excelFormat_input': [{ type: Input, args: ['exportSettings.excelFormat',] },],
708
- 'exportSettings_wordFormat_input': [{ type: Input, args: ['exportSettings.wordFormat',] },],
709
- 'exportSettings_customItems_input': [{ type: Input, args: ['exportSettings.customItems',] },],
710
- 'pageSettings_orientation_input': [{ type: Input, args: ['pageSettings.orientation',] },],
711
- 'pageSettings_paperSize_input': [{ type: Input, args: ['pageSettings.paperSize',] },],
712
- 'pageSettings_height_input': [{ type: Input, args: ['pageSettings.height',] },],
713
- 'pageSettings_width_input': [{ type: Input, args: ['pageSettings.width',] },],
714
- 'pageSettings_margins_input': [{ type: Input, args: ['pageSettings.margins',] },],
715
- 'parameters_labels_input': [{ type: Input, args: ['parameters.labels',] },],
716
- 'parameters_name_input': [{ type: Input, args: ['parameters.name',] },],
717
- 'parameters_nullable_input': [{ type: Input, args: ['parameters.nullable',] },],
718
- 'parameters_prompt_input': [{ type: Input, args: ['parameters.prompt',] },],
719
- 'parameters_values_input': [{ type: Input, args: ['parameters.values',] },],
720
- 'parameterSettings_delimiterChar_input': [{ type: Input, args: ['parameterSettings.delimiterChar',] },],
721
- 'parameterSettings_popupHeight_input': [{ type: Input, args: ['parameterSettings.popupHeight',] },],
722
- 'parameterSettings_popupWidth_input': [{ type: Input, args: ['parameterSettings.popupWidth',] },],
723
- 'parameterSettings_itemWidth_input': [{ type: Input, args: ['parameterSettings.itemWidth',] },],
724
- 'parameterSettings_labelWidth_input': [{ type: Input, args: ['parameterSettings.labelWidth',] },],
725
- 'permissionSettings_dataSet_input': [{ type: Input, args: ['permissionSettings.dataSet',] },],
726
- 'permissionSettings_dataSource_input': [{ type: Input, args: ['permissionSettings.dataSource',] },],
727
- 'previewOptions_autoRender_input': [{ type: Input, args: ['previewOptions.autoRender',] },],
728
- 'previewOptions_dataSources_input': [{ type: Input, args: ['previewOptions.dataSources',] },],
729
- 'previewOptions_enableNotificationBar_input': [{ type: Input, args: ['previewOptions.enableNotificationBar',] },],
730
- 'previewOptions_enableVirtualEvaluation_input': [{ type: Input, args: ['previewOptions.enableVirtualEvaluation',] },],
731
- 'previewOptions_enableParameterBlockScroller_input': [{ type: Input, args: ['previewOptions.enableParameterBlockScroller',] },],
732
- 'previewOptions_enableDatasourceBlockScroller_input': [{ type: Input, args: ['previewOptions.enableDatasourceBlockScroller',] },],
733
- 'previewOptions_enableDropDownSearch_input': [{ type: Input, args: ['previewOptions.enableDropDownSearch',] },],
734
- 'previewOptions_exportSettings_input': [{ type: Input, args: ['previewOptions.exportSettings',] },],
735
- 'previewOptions_pageSettings_input': [{ type: Input, args: ['previewOptions.pageSettings',] },],
736
- 'previewOptions_parameters_input': [{ type: Input, args: ['previewOptions.parameters',] },],
737
- 'previewOptions_parameterSettings_input': [{ type: Input, args: ['previewOptions.parameterSettings',] },],
738
- 'previewOptions_printMode_input': [{ type: Input, args: ['previewOptions.printMode',] },],
739
- 'previewOptions_printOption_input': [{ type: Input, args: ['previewOptions.printOption',] },],
740
- 'previewOptions_sizeToReportContent_input': [{ type: Input, args: ['previewOptions.sizeToReportContent',] },],
741
- 'previewOptions_toolbarSettings_input': [{ type: Input, args: ['previewOptions.toolbarSettings',] },],
742
- 'previewOptions_zoomFactor_input': [{ type: Input, args: ['previewOptions.zoomFactor',] },],
743
- 'reportDataExtensions_name_input': [{ type: Input, args: ['reportDataExtensions.name',] },],
744
- 'reportDataExtensions_className_input': [{ type: Input, args: ['reportDataExtensions.className',] },],
745
- 'reportDataExtensions_imageClass_input': [{ type: Input, args: ['reportDataExtensions.imageClass',] },],
746
- 'reportDataExtensions_displayName_input': [{ type: Input, args: ['reportDataExtensions.displayName',] },],
747
- 'reportItemExtensions_name_input': [{ type: Input, args: ['reportItemExtensions.name',] },],
748
- 'reportItemExtensions_className_input': [{ type: Input, args: ['reportItemExtensions.className',] },],
749
- 'reportItemExtensions_imageClass_input': [{ type: Input, args: ['reportItemExtensions.imageClass',] },],
750
- 'reportItemExtensions_displayName_input': [{ type: Input, args: ['reportItemExtensions.displayName',] },],
751
- 'reportItemExtensions_category_input': [{ type: Input, args: ['reportItemExtensions.category',] },],
752
- 'reportItemExtensions_toolTip_input': [{ type: Input, args: ['reportItemExtensions.toolTip',] },],
753
- 'toolbarSettings_items_input': [{ type: Input, args: ['toolbarSettings.items',] },],
754
- 'toolbarSettings_showToolbar_input': [{ type: Input, args: ['toolbarSettings.showToolbar',] },],
755
- 'toolbarSettings_templateId_input': [{ type: Input, args: ['toolbarSettings.templateId',] },],
756
- 'ajaxBeforeLoad_output': [{ type: Output, args: ['ajaxBeforeLoad',] },],
757
- 'ajaxError_output': [{ type: Output, args: ['ajaxError',] },],
758
- 'ajaxSuccess_output': [{ type: Output, args: ['ajaxSuccess',] },],
759
- 'create_output': [{ type: Output, args: ['create',] },],
760
- 'destroy_output': [{ type: Output, args: ['destroy',] },],
761
- 'newDataClick_output': [{ type: Output, args: ['newDataClick',] },],
762
- 'openReportClick_output': [{ type: Output, args: ['openReportClick',] },],
763
- 'previewReport_output': [{ type: Output, args: ['previewReport',] },],
764
- 'reportModified_output': [{ type: Output, args: ['reportModified',] },],
765
- 'reportOpened_output': [{ type: Output, args: ['reportOpened',] },],
766
- 'reportSaved_output': [{ type: Output, args: ['reportSaved',] },],
767
- 'saveReportClick_output': [{ type: Output, args: ['saveReportClick',] },],
768
- 'toolbarClick_output': [{ type: Output, args: ['toolbarClick',] },],
769
- 'toolbarRendering_output': [{ type: Output, args: ['toolbarRendering',] },],
770
- };
771
- var BoldReportDesignerModule = /** @class */ (function () {
772
- function BoldReportDesignerModule() {
773
- }
774
- return BoldReportDesignerModule;
775
- }());
776
- BoldReportDesignerModule.decorators = [
777
- { type: NgModule, args: [{
778
- imports: [
779
- CommonModule
780
- ],
781
- declarations: [
782
- BoldReportDesignerComponent
783
- ],
784
- exports: [
785
- BoldReportDesignerComponent
786
- ]
787
- },] },
788
- ];
789
- /**
790
- * @nocollapse
791
- */
792
- BoldReportDesignerModule.ctorParameters = function () { return []; };
793
- var BoldReportsModule = /** @class */ (function () {
794
- function BoldReportsModule() {
795
- }
796
- return BoldReportsModule;
797
- }());
798
- BoldReportsModule.decorators = [
799
- { type: NgModule, args: [{
800
- imports: [
801
- CommonModule,
802
- BoldReportViewerModule,
803
- BoldReportDesignerModule
804
- ],
805
- declarations: [],
806
- exports: [
807
- BoldReportViewerModule,
808
- BoldReportDesignerModule
809
- ]
810
- },] },
811
- ];
812
- /**
813
- * @nocollapse
814
- */
815
- BoldReportsModule.ctorParameters = function () { return []; };
816
- /**
817
- * Generated bundle index. Do not edit.
818
- */
819
- export { BoldReportViewerModule, BoldReportDesignerModule, BoldReportsModule, currentTemplateElement, Utils, BoldReportComponents, ComplexTagElement, ArrayTagElement, BoldReportDesignerComponent as ɵb, BoldReportViewerComponent as ɵa };
820
- export { ContentChild, Type, forwardRef } from '@angular/core';
821
- //# sourceMappingURL=angular-reporting-components.es5.js.map