@syncfusion/ej2-angular-spreadsheet 29.2.10-ngcc → 30.1.37-ngcc

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,6 +1,6 @@
1
1
  /*!
2
2
  * filename: ej2-angular-spreadsheet.umd.js
3
- * version : 29.2.10
3
+ * version : 30.1.37
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
@@ -13,957 +13,957 @@
13
13
  (factory((global['ej2-angular-spreadsheet'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.spreadsheet,global.ng.common));
14
14
  }(this, (function (exports,core,ej2AngularBase,ej2Spreadsheet,common) { 'use strict';
15
15
 
16
- var __extends = (this && this.__extends) || (function () {
17
- var extendStatics = Object.setPrototypeOf ||
18
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20
- return function (d, b) {
21
- extendStatics(d, b);
22
- function __() { this.constructor = d; }
23
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
- };
25
- })();
26
- var input = ['height', 'id', 'left', 'src', 'top', 'width'];
27
- var outputs = [];
28
- var ImageDirective = /** @class */ (function (_super) {
29
- __extends(ImageDirective, _super);
30
- /**
31
- * @param {?} viewContainerRef
32
- */
33
- function ImageDirective(viewContainerRef) {
34
- var _this = _super.call(this) || this;
35
- _this.viewContainerRef = viewContainerRef;
36
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
37
- _this.registerEvents(outputs);
38
- _this.directivePropList = input;
39
- return _this;
40
- }
41
- return ImageDirective;
42
- }(ej2AngularBase.ComplexBase));
43
- ImageDirective.decorators = [
44
- { type: core.Directive, args: [{
45
- selector: 'e-images>e-image',
46
- inputs: input,
47
- outputs: outputs,
48
- queries: {}
49
- },] },
50
- ];
51
- /**
52
- * @nocollapse
53
- */
54
- ImageDirective.ctorParameters = function () { return [
55
- { type: core.ViewContainerRef, },
56
- ]; };
57
- /**
58
- * Image Array Directive
59
- */
60
- var ImagesDirective = /** @class */ (function (_super) {
61
- __extends(ImagesDirective, _super);
62
- function ImagesDirective() {
63
- return _super.call(this, 'image') || this;
64
- }
65
- return ImagesDirective;
66
- }(ej2AngularBase.ArrayBase));
67
- ImagesDirective.decorators = [
68
- { type: core.Directive, args: [{
69
- selector: 'e-cell>e-images',
70
- queries: {
71
- children: new core.ContentChildren(ImageDirective)
72
- },
73
- },] },
74
- ];
75
- /**
76
- * @nocollapse
77
- */
78
- ImagesDirective.ctorParameters = function () { return []; };
79
- var input$1 = ['dataLabelSettings', 'height', 'id', 'isSeriesInRows', 'legendSettings', 'markerSettings', 'primaryXAxis', 'primaryYAxis', 'range', 'theme', 'title', 'type', 'width'];
80
- var outputs$1 = [];
81
- var ChartDirective = /** @class */ (function (_super) {
82
- __extends(ChartDirective, _super);
83
- /**
84
- * @param {?} viewContainerRef
85
- */
86
- function ChartDirective(viewContainerRef) {
87
- var _this = _super.call(this) || this;
88
- _this.viewContainerRef = viewContainerRef;
89
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
90
- _this.registerEvents(outputs$1);
91
- _this.directivePropList = input$1;
92
- return _this;
93
- }
94
- return ChartDirective;
95
- }(ej2AngularBase.ComplexBase));
96
- ChartDirective.decorators = [
97
- { type: core.Directive, args: [{
98
- selector: 'e-charts>e-chart',
99
- inputs: input$1,
100
- outputs: outputs$1,
101
- queries: {}
102
- },] },
103
- ];
104
- /**
105
- * @nocollapse
106
- */
107
- ChartDirective.ctorParameters = function () { return [
108
- { type: core.ViewContainerRef, },
109
- ]; };
110
- /**
111
- * Chart Array Directive
112
- */
113
- var ChartsDirective = /** @class */ (function (_super) {
114
- __extends(ChartsDirective, _super);
115
- function ChartsDirective() {
116
- return _super.call(this, 'chart') || this;
117
- }
118
- return ChartsDirective;
119
- }(ej2AngularBase.ArrayBase));
120
- ChartsDirective.decorators = [
121
- { type: core.Directive, args: [{
122
- selector: 'e-cell>e-charts',
123
- queries: {
124
- children: new core.ContentChildren(ChartDirective)
125
- },
126
- },] },
127
- ];
128
- /**
129
- * @nocollapse
130
- */
131
- ChartsDirective.ctorParameters = function () { return []; };
132
- var input$2 = ['chart', 'colSpan', 'format', 'formula', 'hyperlink', 'image', 'index', 'isLocked', 'isReadOnly', 'notes', 'rowSpan', 'style', 'validation', 'value', 'wrap'];
133
- var outputs$2 = [];
134
- /**
135
- * `e-cell` directive represent a cell of the Angular Spreadsheet.
136
- * It must be contained in a `e-row` directive.
137
- * ```html
138
- * <ejs-spreadsheet>
139
- * <e-sheets>
140
- * <e-sheet>
141
- * <e-rows>
142
- * <e-row>
143
- * <e-cells>
144
- * <e-cell value='A1'></e-cell>
145
- * </e-cells>
146
- * </e-row>
147
- * </e-rows>
148
- * </e-sheet>
149
- * </e-sheets>
150
- * </ejs-spreadsheet>
151
- * ```
152
- */
153
- var CellDirective = /** @class */ (function (_super) {
154
- __extends(CellDirective, _super);
155
- /**
156
- * @param {?} viewContainerRef
157
- */
158
- function CellDirective(viewContainerRef) {
159
- var _this = _super.call(this) || this;
160
- _this.viewContainerRef = viewContainerRef;
161
- _this.tags = ['image', 'chart'];
162
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
163
- _this.registerEvents(outputs$2);
164
- _this.directivePropList = input$2;
165
- return _this;
166
- }
167
- return CellDirective;
168
- }(ej2AngularBase.ComplexBase));
169
- CellDirective.decorators = [
170
- { type: core.Directive, args: [{
171
- selector: 'e-cells>e-cell',
172
- inputs: input$2,
173
- outputs: outputs$2,
174
- queries: {
175
- childImage: new core.ContentChild(ImagesDirective),
176
- childChart: new core.ContentChild(ChartsDirective)
177
- }
178
- },] },
179
- ];
180
- /**
181
- * @nocollapse
182
- */
183
- CellDirective.ctorParameters = function () { return [
184
- { type: core.ViewContainerRef, },
185
- ]; };
186
- /**
187
- * Cell Array Directive
188
- */
189
- var CellsDirective = /** @class */ (function (_super) {
190
- __extends(CellsDirective, _super);
191
- function CellsDirective() {
192
- return _super.call(this, 'cells') || this;
193
- }
194
- return CellsDirective;
195
- }(ej2AngularBase.ArrayBase));
196
- CellsDirective.decorators = [
197
- { type: core.Directive, args: [{
198
- selector: 'e-row>e-cells',
199
- queries: {
200
- children: new core.ContentChildren(CellDirective)
201
- },
202
- },] },
203
- ];
204
- /**
205
- * @nocollapse
206
- */
207
- CellsDirective.ctorParameters = function () { return []; };
208
- var input$3 = ['cells', 'customHeight', 'format', 'height', 'hidden', 'index', 'isReadOnly'];
209
- var outputs$3 = [];
210
- /**
211
- * `e-row` directive represent a row of the Angular Spreadsheet.
212
- * It must be contained in a `e-sheet` directive.
213
- * ```html
214
- * <ejs-spreadsheet>
215
- * <e-sheets>
216
- * <e-sheet>
217
- * <e-rows>
218
- * <e-row></e-row>
219
- * </e-rows>
220
- * </e-sheet>
221
- * </e-sheets>
222
- * </ejs-spreadsheet>
223
- * ```
224
- */
225
- var RowDirective = /** @class */ (function (_super) {
226
- __extends(RowDirective, _super);
227
- /**
228
- * @param {?} viewContainerRef
229
- */
230
- function RowDirective(viewContainerRef) {
231
- var _this = _super.call(this) || this;
232
- _this.viewContainerRef = viewContainerRef;
233
- _this.tags = ['cells'];
234
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
235
- _this.registerEvents(outputs$3);
236
- _this.directivePropList = input$3;
237
- return _this;
238
- }
239
- return RowDirective;
240
- }(ej2AngularBase.ComplexBase));
241
- RowDirective.decorators = [
242
- { type: core.Directive, args: [{
243
- selector: 'e-rows>e-row',
244
- inputs: input$3,
245
- outputs: outputs$3,
246
- queries: {
247
- childCells: new core.ContentChild(CellsDirective)
248
- }
249
- },] },
250
- ];
251
- /**
252
- * @nocollapse
253
- */
254
- RowDirective.ctorParameters = function () { return [
255
- { type: core.ViewContainerRef, },
256
- ]; };
257
- /**
258
- * Row Array Directive
259
- */
260
- var RowsDirective = /** @class */ (function (_super) {
261
- __extends(RowsDirective, _super);
262
- function RowsDirective() {
263
- return _super.call(this, 'rows') || this;
264
- }
265
- return RowsDirective;
266
- }(ej2AngularBase.ArrayBase));
267
- RowsDirective.decorators = [
268
- { type: core.Directive, args: [{
269
- selector: 'e-sheet>e-rows',
270
- queries: {
271
- children: new core.ContentChildren(RowDirective)
272
- },
273
- },] },
274
- ];
275
- /**
276
- * @nocollapse
277
- */
278
- RowsDirective.ctorParameters = function () { return []; };
279
- var input$4 = ['customWidth', 'format', 'hidden', 'index', 'isLocked', 'isReadOnly', 'validation', 'width'];
280
- var outputs$4 = [];
281
- /**
282
- * `e-column` directive represent a column of the Angular Spreadsheet.
283
- * It must be contained in a `e-sheet` directive.
284
- * ```html
285
- * <ejs-spreadsheet>
286
- * <e-sheets>
287
- * <e-sheet>
288
- * <e-columns>
289
- * <e-column width='100'></e-column>
290
- * </e-columns>
291
- * </e-sheet>
292
- * </e-sheets>
293
- * </ejs-spreadsheet>
294
- * ```
295
- */
296
- var ColumnDirective = /** @class */ (function (_super) {
297
- __extends(ColumnDirective, _super);
298
- /**
299
- * @param {?} viewContainerRef
300
- */
301
- function ColumnDirective(viewContainerRef) {
302
- var _this = _super.call(this) || this;
303
- _this.viewContainerRef = viewContainerRef;
304
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
305
- _this.registerEvents(outputs$4);
306
- _this.directivePropList = input$4;
307
- return _this;
308
- }
309
- return ColumnDirective;
310
- }(ej2AngularBase.ComplexBase));
311
- ColumnDirective.decorators = [
312
- { type: core.Directive, args: [{
313
- selector: 'e-columns>e-column',
314
- inputs: input$4,
315
- outputs: outputs$4,
316
- queries: {}
317
- },] },
318
- ];
319
- /**
320
- * @nocollapse
321
- */
322
- ColumnDirective.ctorParameters = function () { return [
323
- { type: core.ViewContainerRef, },
324
- ]; };
325
- /**
326
- * Column Array Directive
327
- */
328
- var ColumnsDirective = /** @class */ (function (_super) {
329
- __extends(ColumnsDirective, _super);
330
- function ColumnsDirective() {
331
- return _super.call(this, 'columns') || this;
332
- }
333
- return ColumnsDirective;
334
- }(ej2AngularBase.ArrayBase));
335
- ColumnsDirective.decorators = [
336
- { type: core.Directive, args: [{
337
- selector: 'e-sheet>e-columns',
338
- queries: {
339
- children: new core.ContentChildren(ColumnDirective)
340
- },
341
- },] },
342
- ];
343
- /**
344
- * @nocollapse
345
- */
346
- ColumnsDirective.ctorParameters = function () { return []; };
347
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
348
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
349
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
350
- r = Reflect.decorate(decorators, target, key, desc);
351
- else
352
- for (var i = decorators.length - 1; i >= 0; i--)
353
- if (d = decorators[i])
354
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
355
- return c > 3 && r && Object.defineProperty(target, key, r), r;
356
- };
357
- var __metadata = (this && this.__metadata) || function (k, v) {
358
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
359
- return Reflect.metadata(k, v);
360
- };
361
- var input$5 = ['address', 'dataSource', 'fieldsOrder', 'query', 'showFieldAsHeader', 'startCell', 'template'];
362
- var outputs$5 = [];
363
- /**
364
- * `e-range` directive represent a range of the Angular Spreadsheet.
365
- * It must be contained in a `e-sheet` directive.
366
- * ```html
367
- * <ejs-spreadsheet>
368
- * <e-sheets>
369
- * <e-sheet>
370
- * <e-ranges>
371
- * <e-range [dataSource]='data'></e-range>
372
- * </e-ranges>
373
- * </e-sheet>
374
- * </e-sheets>
375
- * </ejs-spreadsheet>
376
- * ```
377
- */
378
- var RangeDirective = /** @class */ (function (_super) {
379
- __extends(RangeDirective, _super);
380
- /**
381
- * @param {?} viewContainerRef
382
- */
383
- function RangeDirective(viewContainerRef) {
384
- var _this = _super.call(this) || this;
385
- _this.viewContainerRef = viewContainerRef;
386
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
387
- _this.registerEvents(outputs$5);
388
- _this.directivePropList = input$5;
389
- return _this;
390
- }
391
- return RangeDirective;
392
- }(ej2AngularBase.ComplexBase));
393
- RangeDirective.decorators = [
394
- { type: core.Directive, args: [{
395
- selector: 'e-ranges>e-range',
396
- inputs: input$5,
397
- outputs: outputs$5,
398
- queries: {}
399
- },] },
400
- ];
401
- /**
402
- * @nocollapse
403
- */
404
- RangeDirective.ctorParameters = function () { return [
405
- { type: core.ViewContainerRef, },
406
- ]; };
407
- RangeDirective.propDecorators = {
408
- 'template': [{ type: core.ContentChild, args: ['template',] },],
409
- };
410
- __decorate([
411
- ej2AngularBase.Template(),
412
- __metadata("design:type", Object)
413
- ], RangeDirective.prototype, "template", void 0);
414
- /**
415
- * Range Array Directive
416
- */
417
- var RangesDirective = /** @class */ (function (_super) {
418
- __extends(RangesDirective, _super);
419
- function RangesDirective() {
420
- return _super.call(this, 'ranges') || this;
421
- }
422
- return RangesDirective;
423
- }(ej2AngularBase.ArrayBase));
424
- RangesDirective.decorators = [
425
- { type: core.Directive, args: [{
426
- selector: 'e-sheet>e-ranges',
427
- queries: {
428
- children: new core.ContentChildren(RangeDirective)
429
- },
430
- },] },
431
- ];
432
- /**
433
- * @nocollapse
434
- */
435
- RangesDirective.ctorParameters = function () { return []; };
436
- var input$6 = ['cFColor', 'format', 'range', 'type', 'value'];
437
- var outputs$6 = [];
438
- /**
439
- * `e-conditionalformat` directive represent a conditionalformat of the Angular Spreadsheet.
440
- * It must be contained in a `e-sheet` directive.
441
- * ```html
442
- * <ejs-spreadsheet>
443
- * <e-sheets>
444
- * <e-sheet>
445
- * <e-conditionalformats>
446
- * <e-conditionalformat></e-conditionalformat>
447
- * </e-conditionalformats>
448
- * </e-sheet>
449
- * </e-sheets>
450
- * </ejs-spreadsheet>
451
- * ```
452
- */
453
- var ConditionalFormatDirective = /** @class */ (function (_super) {
454
- __extends(ConditionalFormatDirective, _super);
455
- /**
456
- * @param {?} viewContainerRef
457
- */
458
- function ConditionalFormatDirective(viewContainerRef) {
459
- var _this = _super.call(this) || this;
460
- _this.viewContainerRef = viewContainerRef;
461
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
462
- _this.registerEvents(outputs$6);
463
- _this.directivePropList = input$6;
464
- return _this;
465
- }
466
- return ConditionalFormatDirective;
467
- }(ej2AngularBase.ComplexBase));
468
- ConditionalFormatDirective.decorators = [
469
- { type: core.Directive, args: [{
470
- selector: 'e-conditionalformats>e-conditionalformat',
471
- inputs: input$6,
472
- outputs: outputs$6,
473
- queries: {}
474
- },] },
475
- ];
476
- /**
477
- * @nocollapse
478
- */
479
- ConditionalFormatDirective.ctorParameters = function () { return [
480
- { type: core.ViewContainerRef, },
481
- ]; };
482
- /**
483
- * ConditionalFormat Array Directive
484
- */
485
- var ConditionalFormatsDirective = /** @class */ (function (_super) {
486
- __extends(ConditionalFormatsDirective, _super);
487
- function ConditionalFormatsDirective() {
488
- return _super.call(this, 'conditionalformats') || this;
489
- }
490
- return ConditionalFormatsDirective;
491
- }(ej2AngularBase.ArrayBase));
492
- ConditionalFormatsDirective.decorators = [
493
- { type: core.Directive, args: [{
494
- selector: 'e-sheet>e-conditionalformats',
495
- queries: {
496
- children: new core.ContentChildren(ConditionalFormatDirective)
497
- },
498
- },] },
499
- ];
500
- /**
501
- * @nocollapse
502
- */
503
- ConditionalFormatsDirective.ctorParameters = function () { return []; };
504
- var input$7 = ['activeCell', 'colCount', 'columns', 'conditionalFormats', 'frozenColumns', 'frozenRows', 'index', 'isProtected', 'name', 'paneTopLeftCell', 'password', 'protectSettings', 'ranges', 'rowCount', 'rows', 'selectedRange', 'showGridLines', 'showHeaders', 'standardHeight', 'state', 'topLeftCell', 'usedRange'];
505
- var outputs$7 = [];
506
- /**
507
- * `e-sheet` directive represent a sheet of the Angular Spreadsheet.
508
- * It must be contained in a Spreadsheet component(`ejs-spreadsheet`).
509
- * ```html
510
- * <ejs-spreadsheet>
511
- * <e-sheets>
512
- * <e-sheet></e-sheet>
513
- * <e-sheet></e-sheet>
514
- * </e-sheets>
515
- * </ejs-spreadsheet>
516
- * ```
517
- */
518
- var SheetDirective = /** @class */ (function (_super) {
519
- __extends(SheetDirective, _super);
520
- /**
521
- * @param {?} viewContainerRef
522
- */
523
- function SheetDirective(viewContainerRef) {
524
- var _this = _super.call(this) || this;
525
- _this.viewContainerRef = viewContainerRef;
526
- _this.tags = ['rows', 'columns', 'ranges', 'conditionalFormats'];
527
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
528
- _this.registerEvents(outputs$7);
529
- _this.directivePropList = input$7;
530
- return _this;
531
- }
532
- return SheetDirective;
533
- }(ej2AngularBase.ComplexBase));
534
- SheetDirective.decorators = [
535
- { type: core.Directive, args: [{
536
- selector: 'e-sheets>e-sheet',
537
- inputs: input$7,
538
- outputs: outputs$7,
539
- queries: {
540
- childRows: new core.ContentChild(RowsDirective),
541
- childColumns: new core.ContentChild(ColumnsDirective),
542
- childRanges: new core.ContentChild(RangesDirective),
543
- childConditionalFormats: new core.ContentChild(ConditionalFormatsDirective)
544
- }
545
- },] },
546
- ];
547
- /**
548
- * @nocollapse
549
- */
550
- SheetDirective.ctorParameters = function () { return [
551
- { type: core.ViewContainerRef, },
552
- ]; };
553
- /**
554
- * Sheet Array Directive
555
- */
556
- var SheetsDirective = /** @class */ (function (_super) {
557
- __extends(SheetsDirective, _super);
558
- function SheetsDirective() {
559
- return _super.call(this, 'sheets') || this;
560
- }
561
- return SheetsDirective;
562
- }(ej2AngularBase.ArrayBase));
563
- SheetsDirective.decorators = [
564
- { type: core.Directive, args: [{
565
- selector: 'ejs-spreadsheet>e-sheets',
566
- queries: {
567
- children: new core.ContentChildren(SheetDirective)
568
- },
569
- },] },
570
- ];
571
- /**
572
- * @nocollapse
573
- */
574
- SheetsDirective.ctorParameters = function () { return []; };
575
- var input$8 = ['comment', 'name', 'refersTo', 'scope'];
576
- var outputs$8 = [];
577
- /**
578
- * `e-definedname` directive represent a defined name of the Angular Spreadsheet.
579
- * It must be contained in a Spreadsheet component(`ejs-spreadsheet`).
580
- * ```html
581
- * <ejs-spreadsheet>
582
- * <e-definednames>
583
- * <e-definedname></e-definedname>
584
- * <e-definedname></e-definedname>
585
- * </e-definednames>
586
- * </ejs-spreadsheet>
587
- * ```
588
- */
589
- var DefinedNameDirective = /** @class */ (function (_super) {
590
- __extends(DefinedNameDirective, _super);
591
- /**
592
- * @param {?} viewContainerRef
593
- */
594
- function DefinedNameDirective(viewContainerRef) {
595
- var _this = _super.call(this) || this;
596
- _this.viewContainerRef = viewContainerRef;
597
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
598
- _this.registerEvents(outputs$8);
599
- _this.directivePropList = input$8;
600
- return _this;
601
- }
602
- return DefinedNameDirective;
603
- }(ej2AngularBase.ComplexBase));
604
- DefinedNameDirective.decorators = [
605
- { type: core.Directive, args: [{
606
- selector: 'e-definednames>e-definedname',
607
- inputs: input$8,
608
- outputs: outputs$8,
609
- queries: {}
610
- },] },
611
- ];
612
- /**
613
- * @nocollapse
614
- */
615
- DefinedNameDirective.ctorParameters = function () { return [
616
- { type: core.ViewContainerRef, },
617
- ]; };
618
- /**
619
- * DefinedName Array Directive
620
- */
621
- var DefinedNamesDirective = /** @class */ (function (_super) {
622
- __extends(DefinedNamesDirective, _super);
623
- function DefinedNamesDirective() {
624
- return _super.call(this, 'definednames') || this;
625
- }
626
- return DefinedNamesDirective;
627
- }(ej2AngularBase.ArrayBase));
628
- DefinedNamesDirective.decorators = [
629
- { type: core.Directive, args: [{
630
- selector: 'ejs-spreadsheet>e-definednames',
631
- queries: {
632
- children: new core.ContentChildren(DefinedNameDirective)
633
- },
634
- },] },
635
- ];
636
- /**
637
- * @nocollapse
638
- */
639
- DefinedNamesDirective.ctorParameters = function () { return []; };
640
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
641
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
642
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
643
- r = Reflect.decorate(decorators, target, key, desc);
644
- else
645
- for (var i = decorators.length - 1; i >= 0; i--)
646
- if (d = decorators[i])
647
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
648
- return c > 3 && r && Object.defineProperty(target, key, r), r;
649
- };
650
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
651
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
652
- return Reflect.metadata(k, v);
653
- };
654
- var inputs = ['activeSheetIndex', 'allowAutoFill', 'allowCellFormatting', 'allowChart', 'allowConditionalFormat', 'allowDataValidation', 'allowDelete', 'allowEditing', 'allowFiltering', 'allowFindAndReplace', 'allowFreezePane', 'allowHyperlink', 'allowImage', 'allowInsert', 'allowMerge', 'allowNumberFormatting', 'allowOpen', 'allowPrint', 'allowResizing', 'allowSave', 'allowScrolling', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'autoFillSettings', 'calculationMode', 'cellStyle', 'cssClass', 'currencyCode', 'definedNames', 'enableClipboard', 'enableContextMenu', 'enableKeyboardNavigation', 'enableKeyboardShortcut', 'enableNotes', 'enablePersistence', 'enableRtl', 'height', 'isProtected', 'listSeparator', 'locale', 'openSettings', 'openUrl', 'password', 'saveUrl', 'scrollSettings', 'selectionSettings', 'sheets', 'showAggregate', 'showFormulaBar', 'showRibbon', 'showSheetTabs', 'width'];
655
- var outputs$9 = ['actionBegin', 'actionComplete', 'afterHyperlinkClick', 'afterHyperlinkCreate', 'beforeCellFormat', 'beforeCellRender', 'beforeCellSave', 'beforeCellUpdate', 'beforeConditionalFormat', 'beforeDataBound', 'beforeHyperlinkClick', 'beforeHyperlinkCreate', 'beforeOpen', 'beforeSave', 'beforeSelect', 'beforeSort', 'cellEdit', 'cellEdited', 'cellEditing', 'cellSave', 'contextMenuBeforeClose', 'contextMenuBeforeOpen', 'contextMenuItemSelect', 'created', 'dataBound', 'dataSourceChanged', 'dialogBeforeOpen', 'fileMenuBeforeClose', 'fileMenuBeforeOpen', 'fileMenuItemSelect', 'openComplete', 'openFailure', 'queryCellInfo', 'saveComplete', 'select', 'sortComplete'];
656
- var twoWays = [''];
657
- /**
658
- * `ejs-spreadsheet` represents the Angular Spreadsheet Component.
659
- * ```html
660
- * <ejs-spreadsheet></ejs-spreadsheet>
661
- * ```
662
- */
663
- exports.SpreadsheetComponent = /** @class */ (function (_super) {
664
- __extends(SpreadsheetComponent, _super);
665
- /**
666
- * @param {?} ngEle
667
- * @param {?} srenderer
668
- * @param {?} viewContainerRef
669
- * @param {?} injector
670
- */
671
- function SpreadsheetComponent(ngEle, srenderer, viewContainerRef, injector) {
672
- var _this = _super.call(this) || this;
673
- _this.ngEle = ngEle;
674
- _this.srenderer = srenderer;
675
- _this.viewContainerRef = viewContainerRef;
676
- _this.injector = injector;
677
- _this.tags = ['sheets', 'definedNames'];
678
- _this.element = _this.ngEle.nativeElement;
679
- _this.injectedModules = _this.injectedModules || [];
680
- try {
681
- var mod = _this.injector.get('SpreadsheetClipboard');
682
- if (_this.injectedModules.indexOf(mod) === -1) {
683
- _this.injectedModules.push(mod);
684
- }
685
- }
686
- catch (_a) { }
687
- try {
688
- var mod = _this.injector.get('SpreadsheetEdit');
689
- if (_this.injectedModules.indexOf(mod) === -1) {
690
- _this.injectedModules.push(mod);
691
- }
692
- }
693
- catch (_b) { }
694
- try {
695
- var mod = _this.injector.get('SpreadsheetKeyboardNavigation');
696
- if (_this.injectedModules.indexOf(mod) === -1) {
697
- _this.injectedModules.push(mod);
698
- }
699
- }
700
- catch (_c) { }
701
- try {
702
- var mod = _this.injector.get('SpreadsheetKeyboardShortcut');
703
- if (_this.injectedModules.indexOf(mod) === -1) {
704
- _this.injectedModules.push(mod);
705
- }
706
- }
707
- catch (_d) { }
708
- try {
709
- var mod = _this.injector.get('SpreadsheetSelection');
710
- if (_this.injectedModules.indexOf(mod) === -1) {
711
- _this.injectedModules.push(mod);
712
- }
713
- }
714
- catch (_e) { }
715
- try {
716
- var mod = _this.injector.get('SpreadsheetContextMenu');
717
- if (_this.injectedModules.indexOf(mod) === -1) {
718
- _this.injectedModules.push(mod);
719
- }
720
- }
721
- catch (_f) { }
722
- try {
723
- var mod = _this.injector.get('SpreadsheetFormulaBar');
724
- if (_this.injectedModules.indexOf(mod) === -1) {
725
- _this.injectedModules.push(mod);
726
- }
727
- }
728
- catch (_g) { }
729
- try {
730
- var mod = _this.injector.get('SpreadsheetRibbon');
731
- if (_this.injectedModules.indexOf(mod) === -1) {
732
- _this.injectedModules.push(mod);
733
- }
734
- }
735
- catch (_h) { }
736
- try {
737
- var mod = _this.injector.get('SpreadsheetSave');
738
- if (_this.injectedModules.indexOf(mod) === -1) {
739
- _this.injectedModules.push(mod);
740
- }
741
- }
742
- catch (_j) { }
743
- try {
744
- var mod = _this.injector.get('SpreadsheetOpen');
745
- if (_this.injectedModules.indexOf(mod) === -1) {
746
- _this.injectedModules.push(mod);
747
- }
748
- }
749
- catch (_k) { }
750
- try {
751
- var mod = _this.injector.get('SpreadsheetSheetTabs');
752
- if (_this.injectedModules.indexOf(mod) === -1) {
753
- _this.injectedModules.push(mod);
754
- }
755
- }
756
- catch (_l) { }
757
- try {
758
- var mod = _this.injector.get('SpreadsheetDataBind');
759
- if (_this.injectedModules.indexOf(mod) === -1) {
760
- _this.injectedModules.push(mod);
761
- }
762
- }
763
- catch (_m) { }
764
- try {
765
- var mod = _this.injector.get('SpreadsheetCellFormat');
766
- if (_this.injectedModules.indexOf(mod) === -1) {
767
- _this.injectedModules.push(mod);
768
- }
769
- }
770
- catch (_o) { }
771
- try {
772
- var mod = _this.injector.get('SpreadsheetNumberFormat');
773
- if (_this.injectedModules.indexOf(mod) === -1) {
774
- _this.injectedModules.push(mod);
775
- }
776
- }
777
- catch (_p) { }
778
- try {
779
- var mod = _this.injector.get('SpreadsheetFormula');
780
- if (_this.injectedModules.indexOf(mod) === -1) {
781
- _this.injectedModules.push(mod);
782
- }
783
- }
784
- catch (_q) { }
785
- _this.registerEvents(outputs$9);
786
- _this.addTwoWay.call(_this, twoWays);
787
- ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
788
- _this.context = new ej2AngularBase.ComponentBase();
789
- return _this;
790
- }
791
- /**
792
- * @return {?}
793
- */
794
- SpreadsheetComponent.prototype.ngOnInit = function () {
795
- this.context.ngOnInit(this);
796
- };
797
- /**
798
- * @return {?}
799
- */
800
- SpreadsheetComponent.prototype.ngAfterViewInit = function () {
801
- this.context.ngAfterViewInit(this);
802
- };
803
- /**
804
- * @return {?}
805
- */
806
- SpreadsheetComponent.prototype.ngOnDestroy = function () {
807
- this.context.ngOnDestroy(this);
808
- };
809
- /**
810
- * @return {?}
811
- */
812
- SpreadsheetComponent.prototype.ngAfterContentChecked = function () {
813
- this.tagObjects[0].instance = this.childSheets;
814
- if (this.childDefinedNames) {
815
- this.tagObjects[1].instance = /** @type {?} */ (this.childDefinedNames);
816
- }
817
- this.context.ngAfterContentChecked(this);
818
- };
819
- return SpreadsheetComponent;
820
- }(ej2Spreadsheet.Spreadsheet));
821
- exports.SpreadsheetComponent.decorators = [
822
- { type: core.Component, args: [{
823
- selector: 'ejs-spreadsheet',
824
- inputs: inputs,
825
- outputs: outputs$9,
826
- template: '',
827
- changeDetection: core.ChangeDetectionStrategy.OnPush,
828
- queries: {
829
- childSheets: new core.ContentChild(SheetsDirective),
830
- childDefinedNames: new core.ContentChild(DefinedNamesDirective)
831
- }
832
- },] },
833
- ];
834
- /**
835
- * @nocollapse
836
- */
837
- exports.SpreadsheetComponent.ctorParameters = function () { return [
838
- { type: core.ElementRef, },
839
- { type: core.Renderer2, },
840
- { type: core.ViewContainerRef, },
841
- { type: core.Injector, },
842
- ]; };
843
- exports.SpreadsheetComponent.propDecorators = {
844
- 'template': [{ type: core.ContentChild, args: ['template',] },],
845
- };
846
- __decorate$1([
847
- ej2AngularBase.Template(),
848
- __metadata$1("design:type", Object)
849
- ], exports.SpreadsheetComponent.prototype, "template", void 0);
850
- exports.SpreadsheetComponent = __decorate$1([
851
- ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
852
- __metadata$1("design:paramtypes", [core.ElementRef,
853
- core.Renderer2,
854
- core.ViewContainerRef,
855
- core.Injector])
856
- ], exports.SpreadsheetComponent);
857
- /**
858
- * NgModule definition for the Spreadsheet component.
859
- */
860
- var SpreadsheetModule = /** @class */ (function () {
861
- function SpreadsheetModule() {
862
- }
863
- return SpreadsheetModule;
864
- }());
865
- SpreadsheetModule.decorators = [
866
- { type: core.NgModule, args: [{
867
- imports: [common.CommonModule],
868
- declarations: [
869
- exports.SpreadsheetComponent,
870
- ImageDirective,
871
- ImagesDirective,
872
- ChartDirective,
873
- ChartsDirective,
874
- CellDirective,
875
- CellsDirective,
876
- RowDirective,
877
- RowsDirective,
878
- ColumnDirective,
879
- ColumnsDirective,
880
- RangeDirective,
881
- RangesDirective,
882
- ConditionalFormatDirective,
883
- ConditionalFormatsDirective,
884
- SheetDirective,
885
- SheetsDirective,
886
- DefinedNameDirective,
887
- DefinedNamesDirective
888
- ],
889
- exports: [
890
- exports.SpreadsheetComponent,
891
- ImageDirective,
892
- ImagesDirective,
893
- ChartDirective,
894
- ChartsDirective,
895
- CellDirective,
896
- CellsDirective,
897
- RowDirective,
898
- RowsDirective,
899
- ColumnDirective,
900
- ColumnsDirective,
901
- RangeDirective,
902
- RangesDirective,
903
- ConditionalFormatDirective,
904
- ConditionalFormatsDirective,
905
- SheetDirective,
906
- SheetsDirective,
907
- DefinedNameDirective,
908
- DefinedNamesDirective
909
- ]
910
- },] },
911
- ];
912
- /**
913
- * @nocollapse
914
- */
915
- SpreadsheetModule.ctorParameters = function () { return []; };
916
- var ClipboardService = { provide: 'SpreadsheetClipboard', useValue: ej2Spreadsheet.Clipboard };
917
- var EditService = { provide: 'SpreadsheetEdit', useValue: ej2Spreadsheet.Edit };
918
- var KeyboardNavigationService = { provide: 'SpreadsheetKeyboardNavigation', useValue: ej2Spreadsheet.KeyboardNavigation };
919
- var KeyboardShortcutService = { provide: 'SpreadsheetKeyboardShortcut', useValue: ej2Spreadsheet.KeyboardShortcut };
920
- var SelectionService = { provide: 'SpreadsheetSelection', useValue: ej2Spreadsheet.Selection };
921
- var ContextMenuService = { provide: 'SpreadsheetContextMenu', useValue: ej2Spreadsheet.ContextMenu };
922
- var FormulaBarService = { provide: 'SpreadsheetFormulaBar', useValue: ej2Spreadsheet.FormulaBar };
923
- var RibbonService = { provide: 'SpreadsheetRibbon', useValue: ej2Spreadsheet.Ribbon };
924
- var SaveService = { provide: 'SpreadsheetSave', useValue: ej2Spreadsheet.Save };
925
- var OpenService = { provide: 'SpreadsheetOpen', useValue: ej2Spreadsheet.Open };
926
- var SheetTabsService = { provide: 'SpreadsheetSheetTabs', useValue: ej2Spreadsheet.SheetTabs };
927
- var DataBindService = { provide: 'SpreadsheetDataBind', useValue: ej2Spreadsheet.DataBind };
928
- var CellFormatService = { provide: 'SpreadsheetCellFormat', useValue: ej2Spreadsheet.CellFormat };
929
- var NumberFormatService = { provide: 'SpreadsheetNumberFormat', useValue: ej2Spreadsheet.NumberFormat };
930
- var FormulaService = { provide: 'SpreadsheetFormula', useValue: ej2Spreadsheet.Formula };
931
- /**
932
- * NgModule definition for the Spreadsheet component with providers.
933
- */
934
- var SpreadsheetAllModule = /** @class */ (function () {
935
- function SpreadsheetAllModule() {
936
- }
937
- return SpreadsheetAllModule;
938
- }());
939
- SpreadsheetAllModule.decorators = [
940
- { type: core.NgModule, args: [{
941
- imports: [common.CommonModule, SpreadsheetModule],
942
- exports: [
943
- SpreadsheetModule
944
- ],
945
- providers: [
946
- ClipboardService,
947
- EditService,
948
- KeyboardNavigationService,
949
- KeyboardShortcutService,
950
- SelectionService,
951
- ContextMenuService,
952
- FormulaBarService,
953
- RibbonService,
954
- SaveService,
955
- OpenService,
956
- SheetTabsService,
957
- DataBindService,
958
- CellFormatService,
959
- NumberFormatService,
960
- FormulaService
961
- ]
962
- },] },
963
- ];
964
- /**
965
- * @nocollapse
966
- */
16
+ var __extends = (this && this.__extends) || (function () {
17
+ var extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20
+ return function (d, b) {
21
+ extendStatics(d, b);
22
+ function __() { this.constructor = d; }
23
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
+ };
25
+ })();
26
+ var input = ['height', 'id', 'left', 'src', 'top', 'width'];
27
+ var outputs = [];
28
+ var ImageDirective = /** @class */ (function (_super) {
29
+ __extends(ImageDirective, _super);
30
+ /**
31
+ * @param {?} viewContainerRef
32
+ */
33
+ function ImageDirective(viewContainerRef) {
34
+ var _this = _super.call(this) || this;
35
+ _this.viewContainerRef = viewContainerRef;
36
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
37
+ _this.registerEvents(outputs);
38
+ _this.directivePropList = input;
39
+ return _this;
40
+ }
41
+ return ImageDirective;
42
+ }(ej2AngularBase.ComplexBase));
43
+ ImageDirective.decorators = [
44
+ { type: core.Directive, args: [{
45
+ selector: 'e-images>e-image',
46
+ inputs: input,
47
+ outputs: outputs,
48
+ queries: {}
49
+ },] },
50
+ ];
51
+ /**
52
+ * @nocollapse
53
+ */
54
+ ImageDirective.ctorParameters = function () { return [
55
+ { type: core.ViewContainerRef, },
56
+ ]; };
57
+ /**
58
+ * Image Array Directive
59
+ */
60
+ var ImagesDirective = /** @class */ (function (_super) {
61
+ __extends(ImagesDirective, _super);
62
+ function ImagesDirective() {
63
+ return _super.call(this, 'image') || this;
64
+ }
65
+ return ImagesDirective;
66
+ }(ej2AngularBase.ArrayBase));
67
+ ImagesDirective.decorators = [
68
+ { type: core.Directive, args: [{
69
+ selector: 'e-cell>e-images',
70
+ queries: {
71
+ children: new core.ContentChildren(ImageDirective)
72
+ },
73
+ },] },
74
+ ];
75
+ /**
76
+ * @nocollapse
77
+ */
78
+ ImagesDirective.ctorParameters = function () { return []; };
79
+ var input$1 = ['dataLabelSettings', 'height', 'id', 'isSeriesInRows', 'legendSettings', 'markerSettings', 'primaryXAxis', 'primaryYAxis', 'range', 'theme', 'title', 'type', 'width'];
80
+ var outputs$1 = [];
81
+ var ChartDirective = /** @class */ (function (_super) {
82
+ __extends(ChartDirective, _super);
83
+ /**
84
+ * @param {?} viewContainerRef
85
+ */
86
+ function ChartDirective(viewContainerRef) {
87
+ var _this = _super.call(this) || this;
88
+ _this.viewContainerRef = viewContainerRef;
89
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
90
+ _this.registerEvents(outputs$1);
91
+ _this.directivePropList = input$1;
92
+ return _this;
93
+ }
94
+ return ChartDirective;
95
+ }(ej2AngularBase.ComplexBase));
96
+ ChartDirective.decorators = [
97
+ { type: core.Directive, args: [{
98
+ selector: 'e-charts>e-chart',
99
+ inputs: input$1,
100
+ outputs: outputs$1,
101
+ queries: {}
102
+ },] },
103
+ ];
104
+ /**
105
+ * @nocollapse
106
+ */
107
+ ChartDirective.ctorParameters = function () { return [
108
+ { type: core.ViewContainerRef, },
109
+ ]; };
110
+ /**
111
+ * Chart Array Directive
112
+ */
113
+ var ChartsDirective = /** @class */ (function (_super) {
114
+ __extends(ChartsDirective, _super);
115
+ function ChartsDirective() {
116
+ return _super.call(this, 'chart') || this;
117
+ }
118
+ return ChartsDirective;
119
+ }(ej2AngularBase.ArrayBase));
120
+ ChartsDirective.decorators = [
121
+ { type: core.Directive, args: [{
122
+ selector: 'e-cell>e-charts',
123
+ queries: {
124
+ children: new core.ContentChildren(ChartDirective)
125
+ },
126
+ },] },
127
+ ];
128
+ /**
129
+ * @nocollapse
130
+ */
131
+ ChartsDirective.ctorParameters = function () { return []; };
132
+ var input$2 = ['chart', 'colSpan', 'format', 'formula', 'hyperlink', 'image', 'index', 'isLocked', 'isReadOnly', 'notes', 'rowSpan', 'style', 'validation', 'value', 'wrap'];
133
+ var outputs$2 = [];
134
+ /**
135
+ * `e-cell` directive represent a cell of the Angular Spreadsheet.
136
+ * It must be contained in a `e-row` directive.
137
+ * ```html
138
+ * <ejs-spreadsheet>
139
+ * <e-sheets>
140
+ * <e-sheet>
141
+ * <e-rows>
142
+ * <e-row>
143
+ * <e-cells>
144
+ * <e-cell value='A1'></e-cell>
145
+ * </e-cells>
146
+ * </e-row>
147
+ * </e-rows>
148
+ * </e-sheet>
149
+ * </e-sheets>
150
+ * </ejs-spreadsheet>
151
+ * ```
152
+ */
153
+ var CellDirective = /** @class */ (function (_super) {
154
+ __extends(CellDirective, _super);
155
+ /**
156
+ * @param {?} viewContainerRef
157
+ */
158
+ function CellDirective(viewContainerRef) {
159
+ var _this = _super.call(this) || this;
160
+ _this.viewContainerRef = viewContainerRef;
161
+ _this.tags = ['image', 'chart'];
162
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
163
+ _this.registerEvents(outputs$2);
164
+ _this.directivePropList = input$2;
165
+ return _this;
166
+ }
167
+ return CellDirective;
168
+ }(ej2AngularBase.ComplexBase));
169
+ CellDirective.decorators = [
170
+ { type: core.Directive, args: [{
171
+ selector: 'e-cells>e-cell',
172
+ inputs: input$2,
173
+ outputs: outputs$2,
174
+ queries: {
175
+ childImage: new core.ContentChild(ImagesDirective),
176
+ childChart: new core.ContentChild(ChartsDirective)
177
+ }
178
+ },] },
179
+ ];
180
+ /**
181
+ * @nocollapse
182
+ */
183
+ CellDirective.ctorParameters = function () { return [
184
+ { type: core.ViewContainerRef, },
185
+ ]; };
186
+ /**
187
+ * Cell Array Directive
188
+ */
189
+ var CellsDirective = /** @class */ (function (_super) {
190
+ __extends(CellsDirective, _super);
191
+ function CellsDirective() {
192
+ return _super.call(this, 'cells') || this;
193
+ }
194
+ return CellsDirective;
195
+ }(ej2AngularBase.ArrayBase));
196
+ CellsDirective.decorators = [
197
+ { type: core.Directive, args: [{
198
+ selector: 'e-row>e-cells',
199
+ queries: {
200
+ children: new core.ContentChildren(CellDirective)
201
+ },
202
+ },] },
203
+ ];
204
+ /**
205
+ * @nocollapse
206
+ */
207
+ CellsDirective.ctorParameters = function () { return []; };
208
+ var input$3 = ['cells', 'customHeight', 'format', 'height', 'hidden', 'index', 'isReadOnly'];
209
+ var outputs$3 = [];
210
+ /**
211
+ * `e-row` directive represent a row of the Angular Spreadsheet.
212
+ * It must be contained in a `e-sheet` directive.
213
+ * ```html
214
+ * <ejs-spreadsheet>
215
+ * <e-sheets>
216
+ * <e-sheet>
217
+ * <e-rows>
218
+ * <e-row></e-row>
219
+ * </e-rows>
220
+ * </e-sheet>
221
+ * </e-sheets>
222
+ * </ejs-spreadsheet>
223
+ * ```
224
+ */
225
+ var RowDirective = /** @class */ (function (_super) {
226
+ __extends(RowDirective, _super);
227
+ /**
228
+ * @param {?} viewContainerRef
229
+ */
230
+ function RowDirective(viewContainerRef) {
231
+ var _this = _super.call(this) || this;
232
+ _this.viewContainerRef = viewContainerRef;
233
+ _this.tags = ['cells'];
234
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
235
+ _this.registerEvents(outputs$3);
236
+ _this.directivePropList = input$3;
237
+ return _this;
238
+ }
239
+ return RowDirective;
240
+ }(ej2AngularBase.ComplexBase));
241
+ RowDirective.decorators = [
242
+ { type: core.Directive, args: [{
243
+ selector: 'e-rows>e-row',
244
+ inputs: input$3,
245
+ outputs: outputs$3,
246
+ queries: {
247
+ childCells: new core.ContentChild(CellsDirective)
248
+ }
249
+ },] },
250
+ ];
251
+ /**
252
+ * @nocollapse
253
+ */
254
+ RowDirective.ctorParameters = function () { return [
255
+ { type: core.ViewContainerRef, },
256
+ ]; };
257
+ /**
258
+ * Row Array Directive
259
+ */
260
+ var RowsDirective = /** @class */ (function (_super) {
261
+ __extends(RowsDirective, _super);
262
+ function RowsDirective() {
263
+ return _super.call(this, 'rows') || this;
264
+ }
265
+ return RowsDirective;
266
+ }(ej2AngularBase.ArrayBase));
267
+ RowsDirective.decorators = [
268
+ { type: core.Directive, args: [{
269
+ selector: 'e-sheet>e-rows',
270
+ queries: {
271
+ children: new core.ContentChildren(RowDirective)
272
+ },
273
+ },] },
274
+ ];
275
+ /**
276
+ * @nocollapse
277
+ */
278
+ RowsDirective.ctorParameters = function () { return []; };
279
+ var input$4 = ['customWidth', 'format', 'hidden', 'index', 'isLocked', 'isReadOnly', 'validation', 'width'];
280
+ var outputs$4 = [];
281
+ /**
282
+ * `e-column` directive represent a column of the Angular Spreadsheet.
283
+ * It must be contained in a `e-sheet` directive.
284
+ * ```html
285
+ * <ejs-spreadsheet>
286
+ * <e-sheets>
287
+ * <e-sheet>
288
+ * <e-columns>
289
+ * <e-column width='100'></e-column>
290
+ * </e-columns>
291
+ * </e-sheet>
292
+ * </e-sheets>
293
+ * </ejs-spreadsheet>
294
+ * ```
295
+ */
296
+ var ColumnDirective = /** @class */ (function (_super) {
297
+ __extends(ColumnDirective, _super);
298
+ /**
299
+ * @param {?} viewContainerRef
300
+ */
301
+ function ColumnDirective(viewContainerRef) {
302
+ var _this = _super.call(this) || this;
303
+ _this.viewContainerRef = viewContainerRef;
304
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
305
+ _this.registerEvents(outputs$4);
306
+ _this.directivePropList = input$4;
307
+ return _this;
308
+ }
309
+ return ColumnDirective;
310
+ }(ej2AngularBase.ComplexBase));
311
+ ColumnDirective.decorators = [
312
+ { type: core.Directive, args: [{
313
+ selector: 'e-columns>e-column',
314
+ inputs: input$4,
315
+ outputs: outputs$4,
316
+ queries: {}
317
+ },] },
318
+ ];
319
+ /**
320
+ * @nocollapse
321
+ */
322
+ ColumnDirective.ctorParameters = function () { return [
323
+ { type: core.ViewContainerRef, },
324
+ ]; };
325
+ /**
326
+ * Column Array Directive
327
+ */
328
+ var ColumnsDirective = /** @class */ (function (_super) {
329
+ __extends(ColumnsDirective, _super);
330
+ function ColumnsDirective() {
331
+ return _super.call(this, 'columns') || this;
332
+ }
333
+ return ColumnsDirective;
334
+ }(ej2AngularBase.ArrayBase));
335
+ ColumnsDirective.decorators = [
336
+ { type: core.Directive, args: [{
337
+ selector: 'e-sheet>e-columns',
338
+ queries: {
339
+ children: new core.ContentChildren(ColumnDirective)
340
+ },
341
+ },] },
342
+ ];
343
+ /**
344
+ * @nocollapse
345
+ */
346
+ ColumnsDirective.ctorParameters = function () { return []; };
347
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
348
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
349
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
350
+ r = Reflect.decorate(decorators, target, key, desc);
351
+ else
352
+ for (var i = decorators.length - 1; i >= 0; i--)
353
+ if (d = decorators[i])
354
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
355
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
356
+ };
357
+ var __metadata = (this && this.__metadata) || function (k, v) {
358
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
359
+ return Reflect.metadata(k, v);
360
+ };
361
+ var input$5 = ['address', 'dataSource', 'fieldsOrder', 'query', 'showFieldAsHeader', 'startCell', 'template'];
362
+ var outputs$5 = [];
363
+ /**
364
+ * `e-range` directive represent a range of the Angular Spreadsheet.
365
+ * It must be contained in a `e-sheet` directive.
366
+ * ```html
367
+ * <ejs-spreadsheet>
368
+ * <e-sheets>
369
+ * <e-sheet>
370
+ * <e-ranges>
371
+ * <e-range [dataSource]='data'></e-range>
372
+ * </e-ranges>
373
+ * </e-sheet>
374
+ * </e-sheets>
375
+ * </ejs-spreadsheet>
376
+ * ```
377
+ */
378
+ var RangeDirective = /** @class */ (function (_super) {
379
+ __extends(RangeDirective, _super);
380
+ /**
381
+ * @param {?} viewContainerRef
382
+ */
383
+ function RangeDirective(viewContainerRef) {
384
+ var _this = _super.call(this) || this;
385
+ _this.viewContainerRef = viewContainerRef;
386
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
387
+ _this.registerEvents(outputs$5);
388
+ _this.directivePropList = input$5;
389
+ return _this;
390
+ }
391
+ return RangeDirective;
392
+ }(ej2AngularBase.ComplexBase));
393
+ RangeDirective.decorators = [
394
+ { type: core.Directive, args: [{
395
+ selector: 'e-ranges>e-range',
396
+ inputs: input$5,
397
+ outputs: outputs$5,
398
+ queries: {}
399
+ },] },
400
+ ];
401
+ /**
402
+ * @nocollapse
403
+ */
404
+ RangeDirective.ctorParameters = function () { return [
405
+ { type: core.ViewContainerRef, },
406
+ ]; };
407
+ RangeDirective.propDecorators = {
408
+ 'template': [{ type: core.ContentChild, args: ['template',] },],
409
+ };
410
+ __decorate([
411
+ ej2AngularBase.Template(),
412
+ __metadata("design:type", Object)
413
+ ], RangeDirective.prototype, "template", void 0);
414
+ /**
415
+ * Range Array Directive
416
+ */
417
+ var RangesDirective = /** @class */ (function (_super) {
418
+ __extends(RangesDirective, _super);
419
+ function RangesDirective() {
420
+ return _super.call(this, 'ranges') || this;
421
+ }
422
+ return RangesDirective;
423
+ }(ej2AngularBase.ArrayBase));
424
+ RangesDirective.decorators = [
425
+ { type: core.Directive, args: [{
426
+ selector: 'e-sheet>e-ranges',
427
+ queries: {
428
+ children: new core.ContentChildren(RangeDirective)
429
+ },
430
+ },] },
431
+ ];
432
+ /**
433
+ * @nocollapse
434
+ */
435
+ RangesDirective.ctorParameters = function () { return []; };
436
+ var input$6 = ['cFColor', 'format', 'range', 'type', 'value'];
437
+ var outputs$6 = [];
438
+ /**
439
+ * `e-conditionalformat` directive represent a conditionalformat of the Angular Spreadsheet.
440
+ * It must be contained in a `e-sheet` directive.
441
+ * ```html
442
+ * <ejs-spreadsheet>
443
+ * <e-sheets>
444
+ * <e-sheet>
445
+ * <e-conditionalformats>
446
+ * <e-conditionalformat></e-conditionalformat>
447
+ * </e-conditionalformats>
448
+ * </e-sheet>
449
+ * </e-sheets>
450
+ * </ejs-spreadsheet>
451
+ * ```
452
+ */
453
+ var ConditionalFormatDirective = /** @class */ (function (_super) {
454
+ __extends(ConditionalFormatDirective, _super);
455
+ /**
456
+ * @param {?} viewContainerRef
457
+ */
458
+ function ConditionalFormatDirective(viewContainerRef) {
459
+ var _this = _super.call(this) || this;
460
+ _this.viewContainerRef = viewContainerRef;
461
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
462
+ _this.registerEvents(outputs$6);
463
+ _this.directivePropList = input$6;
464
+ return _this;
465
+ }
466
+ return ConditionalFormatDirective;
467
+ }(ej2AngularBase.ComplexBase));
468
+ ConditionalFormatDirective.decorators = [
469
+ { type: core.Directive, args: [{
470
+ selector: 'e-conditionalformats>e-conditionalformat',
471
+ inputs: input$6,
472
+ outputs: outputs$6,
473
+ queries: {}
474
+ },] },
475
+ ];
476
+ /**
477
+ * @nocollapse
478
+ */
479
+ ConditionalFormatDirective.ctorParameters = function () { return [
480
+ { type: core.ViewContainerRef, },
481
+ ]; };
482
+ /**
483
+ * ConditionalFormat Array Directive
484
+ */
485
+ var ConditionalFormatsDirective = /** @class */ (function (_super) {
486
+ __extends(ConditionalFormatsDirective, _super);
487
+ function ConditionalFormatsDirective() {
488
+ return _super.call(this, 'conditionalformats') || this;
489
+ }
490
+ return ConditionalFormatsDirective;
491
+ }(ej2AngularBase.ArrayBase));
492
+ ConditionalFormatsDirective.decorators = [
493
+ { type: core.Directive, args: [{
494
+ selector: 'e-sheet>e-conditionalformats',
495
+ queries: {
496
+ children: new core.ContentChildren(ConditionalFormatDirective)
497
+ },
498
+ },] },
499
+ ];
500
+ /**
501
+ * @nocollapse
502
+ */
503
+ ConditionalFormatsDirective.ctorParameters = function () { return []; };
504
+ var input$7 = ['activeCell', 'colCount', 'columns', 'conditionalFormats', 'frozenColumns', 'frozenRows', 'index', 'isProtected', 'name', 'paneTopLeftCell', 'password', 'protectSettings', 'ranges', 'rowCount', 'rows', 'selectedRange', 'showGridLines', 'showHeaders', 'standardHeight', 'state', 'topLeftCell', 'usedRange'];
505
+ var outputs$7 = [];
506
+ /**
507
+ * `e-sheet` directive represent a sheet of the Angular Spreadsheet.
508
+ * It must be contained in a Spreadsheet component(`ejs-spreadsheet`).
509
+ * ```html
510
+ * <ejs-spreadsheet>
511
+ * <e-sheets>
512
+ * <e-sheet></e-sheet>
513
+ * <e-sheet></e-sheet>
514
+ * </e-sheets>
515
+ * </ejs-spreadsheet>
516
+ * ```
517
+ */
518
+ var SheetDirective = /** @class */ (function (_super) {
519
+ __extends(SheetDirective, _super);
520
+ /**
521
+ * @param {?} viewContainerRef
522
+ */
523
+ function SheetDirective(viewContainerRef) {
524
+ var _this = _super.call(this) || this;
525
+ _this.viewContainerRef = viewContainerRef;
526
+ _this.tags = ['rows', 'columns', 'ranges', 'conditionalFormats'];
527
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
528
+ _this.registerEvents(outputs$7);
529
+ _this.directivePropList = input$7;
530
+ return _this;
531
+ }
532
+ return SheetDirective;
533
+ }(ej2AngularBase.ComplexBase));
534
+ SheetDirective.decorators = [
535
+ { type: core.Directive, args: [{
536
+ selector: 'e-sheets>e-sheet',
537
+ inputs: input$7,
538
+ outputs: outputs$7,
539
+ queries: {
540
+ childRows: new core.ContentChild(RowsDirective),
541
+ childColumns: new core.ContentChild(ColumnsDirective),
542
+ childRanges: new core.ContentChild(RangesDirective),
543
+ childConditionalFormats: new core.ContentChild(ConditionalFormatsDirective)
544
+ }
545
+ },] },
546
+ ];
547
+ /**
548
+ * @nocollapse
549
+ */
550
+ SheetDirective.ctorParameters = function () { return [
551
+ { type: core.ViewContainerRef, },
552
+ ]; };
553
+ /**
554
+ * Sheet Array Directive
555
+ */
556
+ var SheetsDirective = /** @class */ (function (_super) {
557
+ __extends(SheetsDirective, _super);
558
+ function SheetsDirective() {
559
+ return _super.call(this, 'sheets') || this;
560
+ }
561
+ return SheetsDirective;
562
+ }(ej2AngularBase.ArrayBase));
563
+ SheetsDirective.decorators = [
564
+ { type: core.Directive, args: [{
565
+ selector: 'ejs-spreadsheet>e-sheets',
566
+ queries: {
567
+ children: new core.ContentChildren(SheetDirective)
568
+ },
569
+ },] },
570
+ ];
571
+ /**
572
+ * @nocollapse
573
+ */
574
+ SheetsDirective.ctorParameters = function () { return []; };
575
+ var input$8 = ['comment', 'name', 'refersTo', 'scope'];
576
+ var outputs$8 = [];
577
+ /**
578
+ * `e-definedname` directive represent a defined name of the Angular Spreadsheet.
579
+ * It must be contained in a Spreadsheet component(`ejs-spreadsheet`).
580
+ * ```html
581
+ * <ejs-spreadsheet>
582
+ * <e-definednames>
583
+ * <e-definedname></e-definedname>
584
+ * <e-definedname></e-definedname>
585
+ * </e-definednames>
586
+ * </ejs-spreadsheet>
587
+ * ```
588
+ */
589
+ var DefinedNameDirective = /** @class */ (function (_super) {
590
+ __extends(DefinedNameDirective, _super);
591
+ /**
592
+ * @param {?} viewContainerRef
593
+ */
594
+ function DefinedNameDirective(viewContainerRef) {
595
+ var _this = _super.call(this) || this;
596
+ _this.viewContainerRef = viewContainerRef;
597
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
598
+ _this.registerEvents(outputs$8);
599
+ _this.directivePropList = input$8;
600
+ return _this;
601
+ }
602
+ return DefinedNameDirective;
603
+ }(ej2AngularBase.ComplexBase));
604
+ DefinedNameDirective.decorators = [
605
+ { type: core.Directive, args: [{
606
+ selector: 'e-definednames>e-definedname',
607
+ inputs: input$8,
608
+ outputs: outputs$8,
609
+ queries: {}
610
+ },] },
611
+ ];
612
+ /**
613
+ * @nocollapse
614
+ */
615
+ DefinedNameDirective.ctorParameters = function () { return [
616
+ { type: core.ViewContainerRef, },
617
+ ]; };
618
+ /**
619
+ * DefinedName Array Directive
620
+ */
621
+ var DefinedNamesDirective = /** @class */ (function (_super) {
622
+ __extends(DefinedNamesDirective, _super);
623
+ function DefinedNamesDirective() {
624
+ return _super.call(this, 'definednames') || this;
625
+ }
626
+ return DefinedNamesDirective;
627
+ }(ej2AngularBase.ArrayBase));
628
+ DefinedNamesDirective.decorators = [
629
+ { type: core.Directive, args: [{
630
+ selector: 'ejs-spreadsheet>e-definednames',
631
+ queries: {
632
+ children: new core.ContentChildren(DefinedNameDirective)
633
+ },
634
+ },] },
635
+ ];
636
+ /**
637
+ * @nocollapse
638
+ */
639
+ DefinedNamesDirective.ctorParameters = function () { return []; };
640
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
641
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
642
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
643
+ r = Reflect.decorate(decorators, target, key, desc);
644
+ else
645
+ for (var i = decorators.length - 1; i >= 0; i--)
646
+ if (d = decorators[i])
647
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
648
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
649
+ };
650
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
651
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
652
+ return Reflect.metadata(k, v);
653
+ };
654
+ var inputs = ['activeSheetIndex', 'allowAutoFill', 'allowCellFormatting', 'allowChart', 'allowConditionalFormat', 'allowDataValidation', 'allowDelete', 'allowEditing', 'allowFiltering', 'allowFindAndReplace', 'allowFreezePane', 'allowHyperlink', 'allowImage', 'allowInsert', 'allowMerge', 'allowNumberFormatting', 'allowOpen', 'allowPrint', 'allowResizing', 'allowSave', 'allowScrolling', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'autoFillSettings', 'calculationMode', 'cellStyle', 'cssClass', 'currencyCode', 'definedNames', 'enableClipboard', 'enableContextMenu', 'enableKeyboardNavigation', 'enableKeyboardShortcut', 'enableNotes', 'enablePersistence', 'enableRtl', 'height', 'isProtected', 'listSeparator', 'locale', 'openSettings', 'openUrl', 'password', 'saveUrl', 'scrollSettings', 'selectionSettings', 'sheets', 'showAggregate', 'showFormulaBar', 'showRibbon', 'showSheetTabs', 'width'];
655
+ var outputs$9 = ['actionBegin', 'actionComplete', 'afterHyperlinkClick', 'afterHyperlinkCreate', 'beforeCellFormat', 'beforeCellRender', 'beforeCellSave', 'beforeCellUpdate', 'beforeConditionalFormat', 'beforeDataBound', 'beforeHyperlinkClick', 'beforeHyperlinkCreate', 'beforeOpen', 'beforeSave', 'beforeSelect', 'beforeSort', 'cellEdit', 'cellEdited', 'cellEditing', 'cellSave', 'contextMenuBeforeClose', 'contextMenuBeforeOpen', 'contextMenuItemSelect', 'created', 'dataBound', 'dataSourceChanged', 'dialogBeforeOpen', 'fileMenuBeforeClose', 'fileMenuBeforeOpen', 'fileMenuItemSelect', 'openComplete', 'openFailure', 'queryCellInfo', 'saveComplete', 'select', 'sortComplete'];
656
+ var twoWays = [''];
657
+ /**
658
+ * `ejs-spreadsheet` represents the Angular Spreadsheet Component.
659
+ * ```html
660
+ * <ejs-spreadsheet></ejs-spreadsheet>
661
+ * ```
662
+ */
663
+ exports.SpreadsheetComponent = /** @class */ (function (_super) {
664
+ __extends(SpreadsheetComponent, _super);
665
+ /**
666
+ * @param {?} ngEle
667
+ * @param {?} srenderer
668
+ * @param {?} viewContainerRef
669
+ * @param {?} injector
670
+ */
671
+ function SpreadsheetComponent(ngEle, srenderer, viewContainerRef, injector) {
672
+ var _this = _super.call(this) || this;
673
+ _this.ngEle = ngEle;
674
+ _this.srenderer = srenderer;
675
+ _this.viewContainerRef = viewContainerRef;
676
+ _this.injector = injector;
677
+ _this.tags = ['sheets', 'definedNames'];
678
+ _this.element = _this.ngEle.nativeElement;
679
+ _this.injectedModules = _this.injectedModules || [];
680
+ try {
681
+ var mod = _this.injector.get('SpreadsheetClipboard');
682
+ if (_this.injectedModules.indexOf(mod) === -1) {
683
+ _this.injectedModules.push(mod);
684
+ }
685
+ }
686
+ catch (_a) { }
687
+ try {
688
+ var mod = _this.injector.get('SpreadsheetEdit');
689
+ if (_this.injectedModules.indexOf(mod) === -1) {
690
+ _this.injectedModules.push(mod);
691
+ }
692
+ }
693
+ catch (_b) { }
694
+ try {
695
+ var mod = _this.injector.get('SpreadsheetKeyboardNavigation');
696
+ if (_this.injectedModules.indexOf(mod) === -1) {
697
+ _this.injectedModules.push(mod);
698
+ }
699
+ }
700
+ catch (_c) { }
701
+ try {
702
+ var mod = _this.injector.get('SpreadsheetKeyboardShortcut');
703
+ if (_this.injectedModules.indexOf(mod) === -1) {
704
+ _this.injectedModules.push(mod);
705
+ }
706
+ }
707
+ catch (_d) { }
708
+ try {
709
+ var mod = _this.injector.get('SpreadsheetSelection');
710
+ if (_this.injectedModules.indexOf(mod) === -1) {
711
+ _this.injectedModules.push(mod);
712
+ }
713
+ }
714
+ catch (_e) { }
715
+ try {
716
+ var mod = _this.injector.get('SpreadsheetContextMenu');
717
+ if (_this.injectedModules.indexOf(mod) === -1) {
718
+ _this.injectedModules.push(mod);
719
+ }
720
+ }
721
+ catch (_f) { }
722
+ try {
723
+ var mod = _this.injector.get('SpreadsheetFormulaBar');
724
+ if (_this.injectedModules.indexOf(mod) === -1) {
725
+ _this.injectedModules.push(mod);
726
+ }
727
+ }
728
+ catch (_g) { }
729
+ try {
730
+ var mod = _this.injector.get('SpreadsheetRibbon');
731
+ if (_this.injectedModules.indexOf(mod) === -1) {
732
+ _this.injectedModules.push(mod);
733
+ }
734
+ }
735
+ catch (_h) { }
736
+ try {
737
+ var mod = _this.injector.get('SpreadsheetSave');
738
+ if (_this.injectedModules.indexOf(mod) === -1) {
739
+ _this.injectedModules.push(mod);
740
+ }
741
+ }
742
+ catch (_j) { }
743
+ try {
744
+ var mod = _this.injector.get('SpreadsheetOpen');
745
+ if (_this.injectedModules.indexOf(mod) === -1) {
746
+ _this.injectedModules.push(mod);
747
+ }
748
+ }
749
+ catch (_k) { }
750
+ try {
751
+ var mod = _this.injector.get('SpreadsheetSheetTabs');
752
+ if (_this.injectedModules.indexOf(mod) === -1) {
753
+ _this.injectedModules.push(mod);
754
+ }
755
+ }
756
+ catch (_l) { }
757
+ try {
758
+ var mod = _this.injector.get('SpreadsheetDataBind');
759
+ if (_this.injectedModules.indexOf(mod) === -1) {
760
+ _this.injectedModules.push(mod);
761
+ }
762
+ }
763
+ catch (_m) { }
764
+ try {
765
+ var mod = _this.injector.get('SpreadsheetCellFormat');
766
+ if (_this.injectedModules.indexOf(mod) === -1) {
767
+ _this.injectedModules.push(mod);
768
+ }
769
+ }
770
+ catch (_o) { }
771
+ try {
772
+ var mod = _this.injector.get('SpreadsheetNumberFormat');
773
+ if (_this.injectedModules.indexOf(mod) === -1) {
774
+ _this.injectedModules.push(mod);
775
+ }
776
+ }
777
+ catch (_p) { }
778
+ try {
779
+ var mod = _this.injector.get('SpreadsheetFormula');
780
+ if (_this.injectedModules.indexOf(mod) === -1) {
781
+ _this.injectedModules.push(mod);
782
+ }
783
+ }
784
+ catch (_q) { }
785
+ _this.registerEvents(outputs$9);
786
+ _this.addTwoWay.call(_this, twoWays);
787
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
788
+ _this.context = new ej2AngularBase.ComponentBase();
789
+ return _this;
790
+ }
791
+ /**
792
+ * @return {?}
793
+ */
794
+ SpreadsheetComponent.prototype.ngOnInit = function () {
795
+ this.context.ngOnInit(this);
796
+ };
797
+ /**
798
+ * @return {?}
799
+ */
800
+ SpreadsheetComponent.prototype.ngAfterViewInit = function () {
801
+ this.context.ngAfterViewInit(this);
802
+ };
803
+ /**
804
+ * @return {?}
805
+ */
806
+ SpreadsheetComponent.prototype.ngOnDestroy = function () {
807
+ this.context.ngOnDestroy(this);
808
+ };
809
+ /**
810
+ * @return {?}
811
+ */
812
+ SpreadsheetComponent.prototype.ngAfterContentChecked = function () {
813
+ this.tagObjects[0].instance = this.childSheets;
814
+ if (this.childDefinedNames) {
815
+ this.tagObjects[1].instance = /** @type {?} */ (this.childDefinedNames);
816
+ }
817
+ this.context.ngAfterContentChecked(this);
818
+ };
819
+ return SpreadsheetComponent;
820
+ }(ej2Spreadsheet.Spreadsheet));
821
+ exports.SpreadsheetComponent.decorators = [
822
+ { type: core.Component, args: [{
823
+ selector: 'ejs-spreadsheet',
824
+ inputs: inputs,
825
+ outputs: outputs$9,
826
+ template: '',
827
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
828
+ queries: {
829
+ childSheets: new core.ContentChild(SheetsDirective),
830
+ childDefinedNames: new core.ContentChild(DefinedNamesDirective)
831
+ }
832
+ },] },
833
+ ];
834
+ /**
835
+ * @nocollapse
836
+ */
837
+ exports.SpreadsheetComponent.ctorParameters = function () { return [
838
+ { type: core.ElementRef, },
839
+ { type: core.Renderer2, },
840
+ { type: core.ViewContainerRef, },
841
+ { type: core.Injector, },
842
+ ]; };
843
+ exports.SpreadsheetComponent.propDecorators = {
844
+ 'template': [{ type: core.ContentChild, args: ['template',] },],
845
+ };
846
+ __decorate$1([
847
+ ej2AngularBase.Template(),
848
+ __metadata$1("design:type", Object)
849
+ ], exports.SpreadsheetComponent.prototype, "template", void 0);
850
+ exports.SpreadsheetComponent = __decorate$1([
851
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
852
+ __metadata$1("design:paramtypes", [core.ElementRef,
853
+ core.Renderer2,
854
+ core.ViewContainerRef,
855
+ core.Injector])
856
+ ], exports.SpreadsheetComponent);
857
+ /**
858
+ * NgModule definition for the Spreadsheet component.
859
+ */
860
+ var SpreadsheetModule = /** @class */ (function () {
861
+ function SpreadsheetModule() {
862
+ }
863
+ return SpreadsheetModule;
864
+ }());
865
+ SpreadsheetModule.decorators = [
866
+ { type: core.NgModule, args: [{
867
+ imports: [common.CommonModule],
868
+ declarations: [
869
+ exports.SpreadsheetComponent,
870
+ ImageDirective,
871
+ ImagesDirective,
872
+ ChartDirective,
873
+ ChartsDirective,
874
+ CellDirective,
875
+ CellsDirective,
876
+ RowDirective,
877
+ RowsDirective,
878
+ ColumnDirective,
879
+ ColumnsDirective,
880
+ RangeDirective,
881
+ RangesDirective,
882
+ ConditionalFormatDirective,
883
+ ConditionalFormatsDirective,
884
+ SheetDirective,
885
+ SheetsDirective,
886
+ DefinedNameDirective,
887
+ DefinedNamesDirective
888
+ ],
889
+ exports: [
890
+ exports.SpreadsheetComponent,
891
+ ImageDirective,
892
+ ImagesDirective,
893
+ ChartDirective,
894
+ ChartsDirective,
895
+ CellDirective,
896
+ CellsDirective,
897
+ RowDirective,
898
+ RowsDirective,
899
+ ColumnDirective,
900
+ ColumnsDirective,
901
+ RangeDirective,
902
+ RangesDirective,
903
+ ConditionalFormatDirective,
904
+ ConditionalFormatsDirective,
905
+ SheetDirective,
906
+ SheetsDirective,
907
+ DefinedNameDirective,
908
+ DefinedNamesDirective
909
+ ]
910
+ },] },
911
+ ];
912
+ /**
913
+ * @nocollapse
914
+ */
915
+ SpreadsheetModule.ctorParameters = function () { return []; };
916
+ var ClipboardService = { provide: 'SpreadsheetClipboard', useValue: ej2Spreadsheet.Clipboard };
917
+ var EditService = { provide: 'SpreadsheetEdit', useValue: ej2Spreadsheet.Edit };
918
+ var KeyboardNavigationService = { provide: 'SpreadsheetKeyboardNavigation', useValue: ej2Spreadsheet.KeyboardNavigation };
919
+ var KeyboardShortcutService = { provide: 'SpreadsheetKeyboardShortcut', useValue: ej2Spreadsheet.KeyboardShortcut };
920
+ var SelectionService = { provide: 'SpreadsheetSelection', useValue: ej2Spreadsheet.Selection };
921
+ var ContextMenuService = { provide: 'SpreadsheetContextMenu', useValue: ej2Spreadsheet.ContextMenu };
922
+ var FormulaBarService = { provide: 'SpreadsheetFormulaBar', useValue: ej2Spreadsheet.FormulaBar };
923
+ var RibbonService = { provide: 'SpreadsheetRibbon', useValue: ej2Spreadsheet.Ribbon };
924
+ var SaveService = { provide: 'SpreadsheetSave', useValue: ej2Spreadsheet.Save };
925
+ var OpenService = { provide: 'SpreadsheetOpen', useValue: ej2Spreadsheet.Open };
926
+ var SheetTabsService = { provide: 'SpreadsheetSheetTabs', useValue: ej2Spreadsheet.SheetTabs };
927
+ var DataBindService = { provide: 'SpreadsheetDataBind', useValue: ej2Spreadsheet.DataBind };
928
+ var CellFormatService = { provide: 'SpreadsheetCellFormat', useValue: ej2Spreadsheet.CellFormat };
929
+ var NumberFormatService = { provide: 'SpreadsheetNumberFormat', useValue: ej2Spreadsheet.NumberFormat };
930
+ var FormulaService = { provide: 'SpreadsheetFormula', useValue: ej2Spreadsheet.Formula };
931
+ /**
932
+ * NgModule definition for the Spreadsheet component with providers.
933
+ */
934
+ var SpreadsheetAllModule = /** @class */ (function () {
935
+ function SpreadsheetAllModule() {
936
+ }
937
+ return SpreadsheetAllModule;
938
+ }());
939
+ SpreadsheetAllModule.decorators = [
940
+ { type: core.NgModule, args: [{
941
+ imports: [common.CommonModule, SpreadsheetModule],
942
+ exports: [
943
+ SpreadsheetModule
944
+ ],
945
+ providers: [
946
+ ClipboardService,
947
+ EditService,
948
+ KeyboardNavigationService,
949
+ KeyboardShortcutService,
950
+ SelectionService,
951
+ ContextMenuService,
952
+ FormulaBarService,
953
+ RibbonService,
954
+ SaveService,
955
+ OpenService,
956
+ SheetTabsService,
957
+ DataBindService,
958
+ CellFormatService,
959
+ NumberFormatService,
960
+ FormulaService
961
+ ]
962
+ },] },
963
+ ];
964
+ /**
965
+ * @nocollapse
966
+ */
967
967
  SpreadsheetAllModule.ctorParameters = function () { return []; };
968
968
 
969
969
  exports.ImageDirective = ImageDirective;
@@ -1255,7 +1255,6 @@ exports.applyPredicates = ej2Spreadsheet.applyPredicates;
1255
1255
  exports.isReadOnly = ej2Spreadsheet.isReadOnly;
1256
1256
  exports.isReadOnlyCells = ej2Spreadsheet.isReadOnlyCells;
1257
1257
  exports.getUpdatedRange = ej2Spreadsheet.getUpdatedRange;
1258
- exports.addDPRValue = ej2Spreadsheet.addDPRValue;
1259
1258
  exports.updateMergeBorder = ej2Spreadsheet.updateMergeBorder;
1260
1259
  exports.toFraction = ej2Spreadsheet.toFraction;
1261
1260
  exports.getGcd = ej2Spreadsheet.getGcd;
@@ -1522,6 +1521,7 @@ exports.clearRange = ej2Spreadsheet.clearRange;
1522
1521
  exports.getBottomOffset = ej2Spreadsheet.getBottomOffset;
1523
1522
  exports.getRightIdx = ej2Spreadsheet.getRightIdx;
1524
1523
  exports.setColMinWidth = ej2Spreadsheet.setColMinWidth;
1524
+ exports.addDPRValue = ej2Spreadsheet.addDPRValue;
1525
1525
  exports.getSheetProperties = ej2Spreadsheet.getSheetProperties;
1526
1526
  exports.getChartsIndexes = ej2Spreadsheet.getChartsIndexes;
1527
1527
  exports.isColumnRange = ej2Spreadsheet.isColumnRange;