@boldreports/angular-reporting-components 5.1.27 → 5.2.26

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