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