@syncfusion/ej2-angular-spreadsheet 33.2.13-ngcc → 34.1.29-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.
Files changed (115) hide show
  1. package/@syncfusion/ej2-angular-spreadsheet.es5.js +1028 -961
  2. package/@syncfusion/ej2-angular-spreadsheet.es5.js.map +1 -1
  3. package/@syncfusion/ej2-angular-spreadsheet.js +934 -871
  4. package/@syncfusion/ej2-angular-spreadsheet.js.map +1 -1
  5. package/{license → LICENSE} +10 -10
  6. package/README.md +9 -2
  7. package/dist/ej2-angular-spreadsheet.umd.js +1057 -954
  8. package/dist/ej2-angular-spreadsheet.umd.js.map +1 -1
  9. package/dist/ej2-angular-spreadsheet.umd.min.js +2 -2
  10. package/dist/ej2-angular-spreadsheet.umd.min.js.map +1 -1
  11. package/ej2-angular-spreadsheet.d.ts +5 -5
  12. package/ej2-angular-spreadsheet.metadata.json +1 -1
  13. package/package.json +15 -46
  14. package/public_api.d.ts +1 -1
  15. package/schematics/utils/lib-details.d.ts +2 -2
  16. package/schematics/utils/lib-details.js +2 -2
  17. package/schematics/utils/lib-details.ts +4 -4
  18. package/src/index.d.ts +14 -13
  19. package/src/spreadsheet/cells.directive.d.ts +137 -115
  20. package/src/spreadsheet/chart.directive.d.ts +79 -79
  21. package/src/spreadsheet/columns.directive.d.ts +71 -71
  22. package/src/spreadsheet/conditionalformats.directive.d.ts +55 -55
  23. package/src/spreadsheet/definednames.directive.d.ts +49 -46
  24. package/src/spreadsheet/image.directive.d.ts +48 -48
  25. package/src/spreadsheet/ranges.directive.d.ts +68 -68
  26. package/src/spreadsheet/richtext.directive.d.ts +25 -0
  27. package/src/spreadsheet/rows.directive.d.ts +69 -69
  28. package/src/spreadsheet/sheets.directive.d.ts +149 -149
  29. package/src/spreadsheet/spreadsheet-all.module.d.ts +22 -21
  30. package/src/spreadsheet/spreadsheet.component.d.ts +71 -69
  31. package/src/spreadsheet/spreadsheet.module.d.ts +5 -5
  32. package/styles/bds-lite.scss +1 -1
  33. package/styles/bds.scss +2 -2
  34. package/styles/bootstrap-dark-lite.scss +1 -1
  35. package/styles/bootstrap-dark.scss +2 -2
  36. package/styles/bootstrap-lite.scss +1 -1
  37. package/styles/bootstrap.scss +2 -2
  38. package/styles/bootstrap4-lite.scss +1 -1
  39. package/styles/bootstrap4.scss +2 -2
  40. package/styles/bootstrap5-dark-lite.scss +1 -1
  41. package/styles/bootstrap5-dark.scss +2 -2
  42. package/styles/bootstrap5-lite.scss +1 -1
  43. package/styles/bootstrap5.3-lite.scss +1 -1
  44. package/styles/bootstrap5.3.scss +2 -2
  45. package/styles/bootstrap5.scss +2 -2
  46. package/styles/fabric-dark-lite.scss +1 -1
  47. package/styles/fabric-dark.scss +2 -2
  48. package/styles/fabric-lite.scss +1 -1
  49. package/styles/fabric.scss +2 -2
  50. package/styles/fluent-dark-lite.scss +1 -1
  51. package/styles/fluent-dark.scss +2 -2
  52. package/styles/fluent-lite.scss +1 -1
  53. package/styles/fluent.scss +2 -2
  54. package/styles/fluent2-lite.scss +1 -1
  55. package/styles/fluent2.scss +2 -2
  56. package/styles/highcontrast-light-lite.scss +1 -1
  57. package/styles/highcontrast-light.scss +2 -2
  58. package/styles/highcontrast-lite.scss +1 -1
  59. package/styles/highcontrast.scss +2 -2
  60. package/styles/material-dark-lite.scss +1 -1
  61. package/styles/material-dark.scss +2 -2
  62. package/styles/material-lite.scss +1 -1
  63. package/styles/material.scss +2 -2
  64. package/styles/material3-dark-lite.scss +1 -1
  65. package/styles/material3-dark.scss +2 -3
  66. package/styles/material3-lite.scss +1 -1
  67. package/styles/material3.scss +2 -3
  68. package/styles/spreadsheet/bds.scss +1 -1
  69. package/styles/spreadsheet/bootstrap-dark.scss +1 -1
  70. package/styles/spreadsheet/bootstrap.scss +1 -1
  71. package/styles/spreadsheet/bootstrap4.scss +1 -1
  72. package/styles/spreadsheet/bootstrap5-dark.scss +1 -1
  73. package/styles/spreadsheet/bootstrap5.3.scss +1 -1
  74. package/styles/spreadsheet/bootstrap5.scss +1 -1
  75. package/styles/spreadsheet/fabric-dark.scss +1 -1
  76. package/styles/spreadsheet/fabric.scss +1 -1
  77. package/styles/spreadsheet/fluent-dark.scss +1 -1
  78. package/styles/spreadsheet/fluent.scss +1 -1
  79. package/styles/spreadsheet/fluent2.scss +1 -1
  80. package/styles/spreadsheet/highcontrast-light.scss +1 -1
  81. package/styles/spreadsheet/highcontrast.scss +1 -1
  82. package/styles/spreadsheet/material-dark.scss +1 -1
  83. package/styles/spreadsheet/material.scss +1 -1
  84. package/styles/spreadsheet/material3-dark.scss +1 -2
  85. package/styles/spreadsheet/material3.scss +1 -2
  86. package/styles/spreadsheet/tailwind-dark.scss +1 -1
  87. package/styles/spreadsheet/tailwind.scss +1 -1
  88. package/styles/spreadsheet/tailwind3.scss +1 -1
  89. package/styles/spreadsheet-ribbon/bds.scss +1 -1
  90. package/styles/spreadsheet-ribbon/bootstrap-dark.scss +1 -1
  91. package/styles/spreadsheet-ribbon/bootstrap.scss +1 -1
  92. package/styles/spreadsheet-ribbon/bootstrap4.scss +1 -1
  93. package/styles/spreadsheet-ribbon/bootstrap5-dark.scss +1 -1
  94. package/styles/spreadsheet-ribbon/bootstrap5.3.scss +1 -1
  95. package/styles/spreadsheet-ribbon/bootstrap5.scss +1 -1
  96. package/styles/spreadsheet-ribbon/fabric-dark.scss +1 -1
  97. package/styles/spreadsheet-ribbon/fabric.scss +1 -1
  98. package/styles/spreadsheet-ribbon/fluent-dark.scss +1 -1
  99. package/styles/spreadsheet-ribbon/fluent.scss +1 -1
  100. package/styles/spreadsheet-ribbon/fluent2.scss +1 -1
  101. package/styles/spreadsheet-ribbon/highcontrast-light.scss +1 -1
  102. package/styles/spreadsheet-ribbon/highcontrast.scss +1 -1
  103. package/styles/spreadsheet-ribbon/material-dark.scss +1 -1
  104. package/styles/spreadsheet-ribbon/material.scss +1 -1
  105. package/styles/spreadsheet-ribbon/material3-dark.scss +1 -2
  106. package/styles/spreadsheet-ribbon/material3.scss +1 -2
  107. package/styles/spreadsheet-ribbon/tailwind-dark.scss +1 -1
  108. package/styles/spreadsheet-ribbon/tailwind.scss +1 -1
  109. package/styles/spreadsheet-ribbon/tailwind3.scss +1 -1
  110. package/styles/tailwind-dark-lite.scss +1 -1
  111. package/styles/tailwind-dark.scss +2 -2
  112. package/styles/tailwind-lite.scss +1 -1
  113. package/styles/tailwind.scss +2 -2
  114. package/styles/tailwind3-lite.scss +1 -1
  115. package/styles/tailwind3.scss +2 -2
@@ -1,962 +1,1029 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = Object.setPrototypeOf ||
3
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5
- return function (d, b) {
6
- extendStatics(d, b);
7
- function __() { this.constructor = d; }
8
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9
- };
10
- })();
11
- import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
12
- import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
13
- import { CellFormat, Clipboard, ContextMenu, DataBind, Edit, Formula, FormulaBar, KeyboardNavigation, KeyboardShortcut, NumberFormat, Open, Ribbon, Save, Selection, SheetTabs, Spreadsheet } from '@syncfusion/ej2-spreadsheet';
14
- import { CommonModule } from '@angular/common';
15
- var input = ['height', 'id', 'left', 'src', 'top', 'width'];
16
- var outputs = [];
17
- var ImageDirective = /** @class */ (function (_super) {
18
- __extends(ImageDirective, _super);
19
- /**
20
- * @param {?} viewContainerRef
21
- */
22
- function ImageDirective(viewContainerRef) {
23
- var _this = _super.call(this) || this;
24
- _this.viewContainerRef = viewContainerRef;
25
- setValue('currentInstance', _this, _this.viewContainerRef);
26
- _this.registerEvents(outputs);
27
- _this.directivePropList = input;
28
- return _this;
29
- }
30
- return ImageDirective;
31
- }(ComplexBase));
32
- ImageDirective.decorators = [
33
- { type: Directive, args: [{
34
- selector: 'e-images>e-image',
35
- inputs: input,
36
- outputs: outputs,
37
- queries: {}
38
- },] },
39
- ];
40
- /**
41
- * @nocollapse
42
- */
43
- ImageDirective.ctorParameters = function () { return [
44
- { type: ViewContainerRef, },
45
- ]; };
46
- /**
47
- * Image Array Directive
48
- */
49
- var ImagesDirective = /** @class */ (function (_super) {
50
- __extends(ImagesDirective, _super);
51
- function ImagesDirective() {
52
- return _super.call(this, 'image') || this;
53
- }
54
- return ImagesDirective;
55
- }(ArrayBase));
56
- ImagesDirective.decorators = [
57
- { type: Directive, args: [{
58
- selector: 'e-cell>e-images',
59
- queries: {
60
- children: new ContentChildren(ImageDirective)
61
- },
62
- },] },
63
- ];
64
- /**
65
- * @nocollapse
66
- */
67
- ImagesDirective.ctorParameters = function () { return []; };
68
- var input$1 = ['dataLabelSettings', 'height', 'id', 'isSeriesInRows', 'legendSettings', 'markerSettings', 'primaryXAxis', 'primaryYAxis', 'range', 'theme', 'title', 'type', 'width'];
69
- var outputs$1 = [];
70
- var ChartDirective = /** @class */ (function (_super) {
71
- __extends(ChartDirective, _super);
72
- /**
73
- * @param {?} viewContainerRef
74
- */
75
- function ChartDirective(viewContainerRef) {
76
- var _this = _super.call(this) || this;
77
- _this.viewContainerRef = viewContainerRef;
78
- setValue('currentInstance', _this, _this.viewContainerRef);
79
- _this.registerEvents(outputs$1);
80
- _this.directivePropList = input$1;
81
- return _this;
82
- }
83
- return ChartDirective;
84
- }(ComplexBase));
85
- ChartDirective.decorators = [
86
- { type: Directive, args: [{
87
- selector: 'e-charts>e-chart',
88
- inputs: input$1,
89
- outputs: outputs$1,
90
- queries: {}
91
- },] },
92
- ];
93
- /**
94
- * @nocollapse
95
- */
96
- ChartDirective.ctorParameters = function () { return [
97
- { type: ViewContainerRef, },
98
- ]; };
99
- /**
100
- * Chart Array Directive
101
- */
102
- var ChartsDirective = /** @class */ (function (_super) {
103
- __extends(ChartsDirective, _super);
104
- function ChartsDirective() {
105
- return _super.call(this, 'chart') || this;
106
- }
107
- return ChartsDirective;
108
- }(ArrayBase));
109
- ChartsDirective.decorators = [
110
- { type: Directive, args: [{
111
- selector: 'e-cell>e-charts',
112
- queries: {
113
- children: new ContentChildren(ChartDirective)
114
- },
115
- },] },
116
- ];
117
- /**
118
- * @nocollapse
119
- */
120
- ChartsDirective.ctorParameters = function () { return []; };
121
- var input$2 = ['chart', 'colSpan', 'format', 'formula', 'hyperlink', 'image', 'index', 'isLocked', 'isReadOnly', 'notes', 'rowSpan', 'style', 'validation', 'value', 'wrap'];
122
- var outputs$2 = [];
123
- /**
124
- * `e-cell` directive represent a cell of the Angular Spreadsheet.
125
- * It must be contained in a `e-row` directive.
126
- * ```html
127
- * <ejs-spreadsheet>
128
- * <e-sheets>
129
- * <e-sheet>
130
- * <e-rows>
131
- * <e-row>
132
- * <e-cells>
133
- * <e-cell value='A1'></e-cell>
134
- * </e-cells>
135
- * </e-row>
136
- * </e-rows>
137
- * </e-sheet>
138
- * </e-sheets>
139
- * </ejs-spreadsheet>
140
- * ```
141
- */
142
- var CellDirective = /** @class */ (function (_super) {
143
- __extends(CellDirective, _super);
144
- /**
145
- * @param {?} viewContainerRef
146
- */
147
- function CellDirective(viewContainerRef) {
148
- var _this = _super.call(this) || this;
149
- _this.viewContainerRef = viewContainerRef;
150
- _this.tags = ['image', 'chart'];
151
- setValue('currentInstance', _this, _this.viewContainerRef);
152
- _this.registerEvents(outputs$2);
153
- _this.directivePropList = input$2;
154
- return _this;
155
- }
156
- return CellDirective;
157
- }(ComplexBase));
158
- CellDirective.decorators = [
159
- { type: Directive, args: [{
160
- selector: 'e-cells>e-cell',
161
- inputs: input$2,
162
- outputs: outputs$2,
163
- queries: {
164
- childImage: new ContentChild(ImagesDirective),
165
- childChart: new ContentChild(ChartsDirective)
166
- }
167
- },] },
168
- ];
169
- /**
170
- * @nocollapse
171
- */
172
- CellDirective.ctorParameters = function () { return [
173
- { type: ViewContainerRef, },
174
- ]; };
175
- /**
176
- * Cell Array Directive
177
- */
178
- var CellsDirective = /** @class */ (function (_super) {
179
- __extends(CellsDirective, _super);
180
- function CellsDirective() {
181
- return _super.call(this, 'cells') || this;
182
- }
183
- return CellsDirective;
184
- }(ArrayBase));
185
- CellsDirective.decorators = [
186
- { type: Directive, args: [{
187
- selector: 'e-row>e-cells',
188
- queries: {
189
- children: new ContentChildren(CellDirective)
190
- },
191
- },] },
192
- ];
193
- /**
194
- * @nocollapse
195
- */
196
- CellsDirective.ctorParameters = function () { return []; };
197
- var input$3 = ['cells', 'customHeight', 'format', 'height', 'hidden', 'index', 'isReadOnly'];
198
- var outputs$3 = [];
199
- /**
200
- * `e-row` directive represent a row of the Angular Spreadsheet.
201
- * It must be contained in a `e-sheet` directive.
202
- * ```html
203
- * <ejs-spreadsheet>
204
- * <e-sheets>
205
- * <e-sheet>
206
- * <e-rows>
207
- * <e-row></e-row>
208
- * </e-rows>
209
- * </e-sheet>
210
- * </e-sheets>
211
- * </ejs-spreadsheet>
212
- * ```
213
- */
214
- var RowDirective = /** @class */ (function (_super) {
215
- __extends(RowDirective, _super);
216
- /**
217
- * @param {?} viewContainerRef
218
- */
219
- function RowDirective(viewContainerRef) {
220
- var _this = _super.call(this) || this;
221
- _this.viewContainerRef = viewContainerRef;
222
- _this.tags = ['cells'];
223
- setValue('currentInstance', _this, _this.viewContainerRef);
224
- _this.registerEvents(outputs$3);
225
- _this.directivePropList = input$3;
226
- return _this;
227
- }
228
- return RowDirective;
229
- }(ComplexBase));
230
- RowDirective.decorators = [
231
- { type: Directive, args: [{
232
- selector: 'e-rows>e-row',
233
- inputs: input$3,
234
- outputs: outputs$3,
235
- queries: {
236
- childCells: new ContentChild(CellsDirective)
237
- }
238
- },] },
239
- ];
240
- /**
241
- * @nocollapse
242
- */
243
- RowDirective.ctorParameters = function () { return [
244
- { type: ViewContainerRef, },
245
- ]; };
246
- /**
247
- * Row Array Directive
248
- */
249
- var RowsDirective = /** @class */ (function (_super) {
250
- __extends(RowsDirective, _super);
251
- function RowsDirective() {
252
- return _super.call(this, 'rows') || this;
253
- }
254
- return RowsDirective;
255
- }(ArrayBase));
256
- RowsDirective.decorators = [
257
- { type: Directive, args: [{
258
- selector: 'e-sheet>e-rows',
259
- queries: {
260
- children: new ContentChildren(RowDirective)
261
- },
262
- },] },
263
- ];
264
- /**
265
- * @nocollapse
266
- */
267
- RowsDirective.ctorParameters = function () { return []; };
268
- var input$4 = ['customWidth', 'format', 'hidden', 'index', 'isLocked', 'isReadOnly', 'validation', 'width'];
269
- var outputs$4 = [];
270
- /**
271
- * `e-column` directive represent a column of the Angular Spreadsheet.
272
- * It must be contained in a `e-sheet` directive.
273
- * ```html
274
- * <ejs-spreadsheet>
275
- * <e-sheets>
276
- * <e-sheet>
277
- * <e-columns>
278
- * <e-column width='100'></e-column>
279
- * </e-columns>
280
- * </e-sheet>
281
- * </e-sheets>
282
- * </ejs-spreadsheet>
283
- * ```
284
- */
285
- var ColumnDirective = /** @class */ (function (_super) {
286
- __extends(ColumnDirective, _super);
287
- /**
288
- * @param {?} viewContainerRef
289
- */
290
- function ColumnDirective(viewContainerRef) {
291
- var _this = _super.call(this) || this;
292
- _this.viewContainerRef = viewContainerRef;
293
- setValue('currentInstance', _this, _this.viewContainerRef);
294
- _this.registerEvents(outputs$4);
295
- _this.directivePropList = input$4;
296
- return _this;
297
- }
298
- return ColumnDirective;
299
- }(ComplexBase));
300
- ColumnDirective.decorators = [
301
- { type: Directive, args: [{
302
- selector: 'e-columns>e-column',
303
- inputs: input$4,
304
- outputs: outputs$4,
305
- queries: {}
306
- },] },
307
- ];
308
- /**
309
- * @nocollapse
310
- */
311
- ColumnDirective.ctorParameters = function () { return [
312
- { type: ViewContainerRef, },
313
- ]; };
314
- /**
315
- * Column Array Directive
316
- */
317
- var ColumnsDirective = /** @class */ (function (_super) {
318
- __extends(ColumnsDirective, _super);
319
- function ColumnsDirective() {
320
- return _super.call(this, 'columns') || this;
321
- }
322
- return ColumnsDirective;
323
- }(ArrayBase));
324
- ColumnsDirective.decorators = [
325
- { type: Directive, args: [{
326
- selector: 'e-sheet>e-columns',
327
- queries: {
328
- children: new ContentChildren(ColumnDirective)
329
- },
330
- },] },
331
- ];
332
- /**
333
- * @nocollapse
334
- */
335
- ColumnsDirective.ctorParameters = function () { return []; };
336
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
337
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
338
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
339
- r = Reflect.decorate(decorators, target, key, desc);
340
- else
341
- for (var i = decorators.length - 1; i >= 0; i--)
342
- if (d = decorators[i])
343
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
344
- return c > 3 && r && Object.defineProperty(target, key, r), r;
345
- };
346
- var __metadata = (this && this.__metadata) || function (k, v) {
347
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
348
- return Reflect.metadata(k, v);
349
- };
350
- var input$5 = ['address', 'dataSource', 'fieldsOrder', 'query', 'showFieldAsHeader', 'startCell', 'template'];
351
- var outputs$5 = [];
352
- /**
353
- * `e-range` directive represent a range of the Angular Spreadsheet.
354
- * It must be contained in a `e-sheet` directive.
355
- * ```html
356
- * <ejs-spreadsheet>
357
- * <e-sheets>
358
- * <e-sheet>
359
- * <e-ranges>
360
- * <e-range [dataSource]='data'></e-range>
361
- * </e-ranges>
362
- * </e-sheet>
363
- * </e-sheets>
364
- * </ejs-spreadsheet>
365
- * ```
366
- */
367
- var RangeDirective = /** @class */ (function (_super) {
368
- __extends(RangeDirective, _super);
369
- /**
370
- * @param {?} viewContainerRef
371
- */
372
- function RangeDirective(viewContainerRef) {
373
- var _this = _super.call(this) || this;
374
- _this.viewContainerRef = viewContainerRef;
375
- setValue('currentInstance', _this, _this.viewContainerRef);
376
- _this.registerEvents(outputs$5);
377
- _this.directivePropList = input$5;
378
- return _this;
379
- }
380
- return RangeDirective;
381
- }(ComplexBase));
382
- RangeDirective.decorators = [
383
- { type: Directive, args: [{
384
- selector: 'e-ranges>e-range',
385
- inputs: input$5,
386
- outputs: outputs$5,
387
- queries: {}
388
- },] },
389
- ];
390
- /**
391
- * @nocollapse
392
- */
393
- RangeDirective.ctorParameters = function () { return [
394
- { type: ViewContainerRef, },
395
- ]; };
396
- RangeDirective.propDecorators = {
397
- 'template': [{ type: ContentChild, args: ['template',] },],
398
- };
399
- __decorate([
400
- Template(),
401
- __metadata("design:type", Object)
402
- ], RangeDirective.prototype, "template", void 0);
403
- /**
404
- * Range Array Directive
405
- */
406
- var RangesDirective = /** @class */ (function (_super) {
407
- __extends(RangesDirective, _super);
408
- function RangesDirective() {
409
- return _super.call(this, 'ranges') || this;
410
- }
411
- return RangesDirective;
412
- }(ArrayBase));
413
- RangesDirective.decorators = [
414
- { type: Directive, args: [{
415
- selector: 'e-sheet>e-ranges',
416
- queries: {
417
- children: new ContentChildren(RangeDirective)
418
- },
419
- },] },
420
- ];
421
- /**
422
- * @nocollapse
423
- */
424
- RangesDirective.ctorParameters = function () { return []; };
425
- var input$6 = ['cFColor', 'format', 'range', 'type', 'value'];
426
- var outputs$6 = [];
427
- /**
428
- * `e-conditionalformat` directive represent a conditionalformat of the Angular Spreadsheet.
429
- * It must be contained in a `e-sheet` directive.
430
- * ```html
431
- * <ejs-spreadsheet>
432
- * <e-sheets>
433
- * <e-sheet>
434
- * <e-conditionalformats>
435
- * <e-conditionalformat></e-conditionalformat>
436
- * </e-conditionalformats>
437
- * </e-sheet>
438
- * </e-sheets>
439
- * </ejs-spreadsheet>
440
- * ```
441
- */
442
- var ConditionalFormatDirective = /** @class */ (function (_super) {
443
- __extends(ConditionalFormatDirective, _super);
444
- /**
445
- * @param {?} viewContainerRef
446
- */
447
- function ConditionalFormatDirective(viewContainerRef) {
448
- var _this = _super.call(this) || this;
449
- _this.viewContainerRef = viewContainerRef;
450
- setValue('currentInstance', _this, _this.viewContainerRef);
451
- _this.registerEvents(outputs$6);
452
- _this.directivePropList = input$6;
453
- return _this;
454
- }
455
- return ConditionalFormatDirective;
456
- }(ComplexBase));
457
- ConditionalFormatDirective.decorators = [
458
- { type: Directive, args: [{
459
- selector: 'e-conditionalformats>e-conditionalformat',
460
- inputs: input$6,
461
- outputs: outputs$6,
462
- queries: {}
463
- },] },
464
- ];
465
- /**
466
- * @nocollapse
467
- */
468
- ConditionalFormatDirective.ctorParameters = function () { return [
469
- { type: ViewContainerRef, },
470
- ]; };
471
- /**
472
- * ConditionalFormat Array Directive
473
- */
474
- var ConditionalFormatsDirective = /** @class */ (function (_super) {
475
- __extends(ConditionalFormatsDirective, _super);
476
- function ConditionalFormatsDirective() {
477
- return _super.call(this, 'conditionalformats') || this;
478
- }
479
- return ConditionalFormatsDirective;
480
- }(ArrayBase));
481
- ConditionalFormatsDirective.decorators = [
482
- { type: Directive, args: [{
483
- selector: 'e-sheet>e-conditionalformats',
484
- queries: {
485
- children: new ContentChildren(ConditionalFormatDirective)
486
- },
487
- },] },
488
- ];
489
- /**
490
- * @nocollapse
491
- */
492
- ConditionalFormatsDirective.ctorParameters = function () { return []; };
493
- 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'];
494
- var outputs$7 = [];
495
- /**
496
- * `e-sheet` directive represent a sheet of the Angular Spreadsheet.
497
- * It must be contained in a Spreadsheet component(`ejs-spreadsheet`).
498
- * ```html
499
- * <ejs-spreadsheet>
500
- * <e-sheets>
501
- * <e-sheet></e-sheet>
502
- * <e-sheet></e-sheet>
503
- * </e-sheets>
504
- * </ejs-spreadsheet>
505
- * ```
506
- */
507
- var SheetDirective = /** @class */ (function (_super) {
508
- __extends(SheetDirective, _super);
509
- /**
510
- * @param {?} viewContainerRef
511
- */
512
- function SheetDirective(viewContainerRef) {
513
- var _this = _super.call(this) || this;
514
- _this.viewContainerRef = viewContainerRef;
515
- _this.tags = ['rows', 'columns', 'ranges', 'conditionalFormats'];
516
- setValue('currentInstance', _this, _this.viewContainerRef);
517
- _this.registerEvents(outputs$7);
518
- _this.directivePropList = input$7;
519
- return _this;
520
- }
521
- return SheetDirective;
522
- }(ComplexBase));
523
- SheetDirective.decorators = [
524
- { type: Directive, args: [{
525
- selector: 'e-sheets>e-sheet',
526
- inputs: input$7,
527
- outputs: outputs$7,
528
- queries: {
529
- childRows: new ContentChild(RowsDirective),
530
- childColumns: new ContentChild(ColumnsDirective),
531
- childRanges: new ContentChild(RangesDirective),
532
- childConditionalFormats: new ContentChild(ConditionalFormatsDirective)
533
- }
534
- },] },
535
- ];
536
- /**
537
- * @nocollapse
538
- */
539
- SheetDirective.ctorParameters = function () { return [
540
- { type: ViewContainerRef, },
541
- ]; };
542
- /**
543
- * Sheet Array Directive
544
- */
545
- var SheetsDirective = /** @class */ (function (_super) {
546
- __extends(SheetsDirective, _super);
547
- function SheetsDirective() {
548
- return _super.call(this, 'sheets') || this;
549
- }
550
- return SheetsDirective;
551
- }(ArrayBase));
552
- SheetsDirective.decorators = [
553
- { type: Directive, args: [{
554
- selector: 'ejs-spreadsheet>e-sheets',
555
- queries: {
556
- children: new ContentChildren(SheetDirective)
557
- },
558
- },] },
559
- ];
560
- /**
561
- * @nocollapse
562
- */
563
- SheetsDirective.ctorParameters = function () { return []; };
564
- var input$8 = ['comment', 'name', 'refersTo', 'scope'];
565
- var outputs$8 = [];
566
- /**
567
- * `e-definedname` directive represent a defined name of the Angular Spreadsheet.
568
- * It must be contained in a Spreadsheet component(`ejs-spreadsheet`).
569
- * ```html
570
- * <ejs-spreadsheet>
571
- * <e-definednames>
572
- * <e-definedname></e-definedname>
573
- * <e-definedname></e-definedname>
574
- * </e-definednames>
575
- * </ejs-spreadsheet>
576
- * ```
577
- */
578
- var DefinedNameDirective = /** @class */ (function (_super) {
579
- __extends(DefinedNameDirective, _super);
580
- /**
581
- * @param {?} viewContainerRef
582
- */
583
- function DefinedNameDirective(viewContainerRef) {
584
- var _this = _super.call(this) || this;
585
- _this.viewContainerRef = viewContainerRef;
586
- setValue('currentInstance', _this, _this.viewContainerRef);
587
- _this.registerEvents(outputs$8);
588
- _this.directivePropList = input$8;
589
- return _this;
590
- }
591
- return DefinedNameDirective;
592
- }(ComplexBase));
593
- DefinedNameDirective.decorators = [
594
- { type: Directive, args: [{
595
- selector: 'e-definednames>e-definedname',
596
- inputs: input$8,
597
- outputs: outputs$8,
598
- queries: {}
599
- },] },
600
- ];
601
- /**
602
- * @nocollapse
603
- */
604
- DefinedNameDirective.ctorParameters = function () { return [
605
- { type: ViewContainerRef, },
606
- ]; };
607
- /**
608
- * DefinedName Array Directive
609
- */
610
- var DefinedNamesDirective = /** @class */ (function (_super) {
611
- __extends(DefinedNamesDirective, _super);
612
- function DefinedNamesDirective() {
613
- return _super.call(this, 'definednames') || this;
614
- }
615
- return DefinedNamesDirective;
616
- }(ArrayBase));
617
- DefinedNamesDirective.decorators = [
618
- { type: Directive, args: [{
619
- selector: 'ejs-spreadsheet>e-definednames',
620
- queries: {
621
- children: new ContentChildren(DefinedNameDirective)
622
- },
623
- },] },
624
- ];
625
- /**
626
- * @nocollapse
627
- */
628
- DefinedNamesDirective.ctorParameters = function () { return []; };
629
- var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
630
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
631
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
632
- r = Reflect.decorate(decorators, target, key, desc);
633
- else
634
- for (var i = decorators.length - 1; i >= 0; i--)
635
- if (d = decorators[i])
636
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
637
- return c > 3 && r && Object.defineProperty(target, key, r), r;
638
- };
639
- var __metadata$1 = (this && this.__metadata) || function (k, v) {
640
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
641
- return Reflect.metadata(k, v);
642
- };
643
- 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'];
644
- 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'];
645
- var twoWays = [''];
646
- /**
647
- * `ejs-spreadsheet` represents the Angular Spreadsheet Component.
648
- * ```html
649
- * <ejs-spreadsheet></ejs-spreadsheet>
650
- * ```
651
- */
652
- var SpreadsheetComponent = /** @class */ (function (_super) {
653
- __extends(SpreadsheetComponent, _super);
654
- /**
655
- * @param {?} ngEle
656
- * @param {?} srenderer
657
- * @param {?} viewContainerRef
658
- * @param {?} injector
659
- */
660
- function SpreadsheetComponent(ngEle, srenderer, viewContainerRef, injector) {
661
- var _this = _super.call(this) || this;
662
- _this.ngEle = ngEle;
663
- _this.srenderer = srenderer;
664
- _this.viewContainerRef = viewContainerRef;
665
- _this.injector = injector;
666
- _this.tags = ['sheets', 'definedNames'];
667
- _this.element = _this.ngEle.nativeElement;
668
- _this.injectedModules = _this.injectedModules || [];
669
- try {
670
- var mod = _this.injector.get('SpreadsheetClipboard');
671
- if (_this.injectedModules.indexOf(mod) === -1) {
672
- _this.injectedModules.push(mod);
673
- }
674
- }
675
- catch (_a) { }
676
- try {
677
- var mod = _this.injector.get('SpreadsheetEdit');
678
- if (_this.injectedModules.indexOf(mod) === -1) {
679
- _this.injectedModules.push(mod);
680
- }
681
- }
682
- catch (_b) { }
683
- try {
684
- var mod = _this.injector.get('SpreadsheetKeyboardNavigation');
685
- if (_this.injectedModules.indexOf(mod) === -1) {
686
- _this.injectedModules.push(mod);
687
- }
688
- }
689
- catch (_c) { }
690
- try {
691
- var mod = _this.injector.get('SpreadsheetKeyboardShortcut');
692
- if (_this.injectedModules.indexOf(mod) === -1) {
693
- _this.injectedModules.push(mod);
694
- }
695
- }
696
- catch (_d) { }
697
- try {
698
- var mod = _this.injector.get('SpreadsheetSelection');
699
- if (_this.injectedModules.indexOf(mod) === -1) {
700
- _this.injectedModules.push(mod);
701
- }
702
- }
703
- catch (_e) { }
704
- try {
705
- var mod = _this.injector.get('SpreadsheetContextMenu');
706
- if (_this.injectedModules.indexOf(mod) === -1) {
707
- _this.injectedModules.push(mod);
708
- }
709
- }
710
- catch (_f) { }
711
- try {
712
- var mod = _this.injector.get('SpreadsheetFormulaBar');
713
- if (_this.injectedModules.indexOf(mod) === -1) {
714
- _this.injectedModules.push(mod);
715
- }
716
- }
717
- catch (_g) { }
718
- try {
719
- var mod = _this.injector.get('SpreadsheetRibbon');
720
- if (_this.injectedModules.indexOf(mod) === -1) {
721
- _this.injectedModules.push(mod);
722
- }
723
- }
724
- catch (_h) { }
725
- try {
726
- var mod = _this.injector.get('SpreadsheetSave');
727
- if (_this.injectedModules.indexOf(mod) === -1) {
728
- _this.injectedModules.push(mod);
729
- }
730
- }
731
- catch (_j) { }
732
- try {
733
- var mod = _this.injector.get('SpreadsheetOpen');
734
- if (_this.injectedModules.indexOf(mod) === -1) {
735
- _this.injectedModules.push(mod);
736
- }
737
- }
738
- catch (_k) { }
739
- try {
740
- var mod = _this.injector.get('SpreadsheetSheetTabs');
741
- if (_this.injectedModules.indexOf(mod) === -1) {
742
- _this.injectedModules.push(mod);
743
- }
744
- }
745
- catch (_l) { }
746
- try {
747
- var mod = _this.injector.get('SpreadsheetDataBind');
748
- if (_this.injectedModules.indexOf(mod) === -1) {
749
- _this.injectedModules.push(mod);
750
- }
751
- }
752
- catch (_m) { }
753
- try {
754
- var mod = _this.injector.get('SpreadsheetCellFormat');
755
- if (_this.injectedModules.indexOf(mod) === -1) {
756
- _this.injectedModules.push(mod);
757
- }
758
- }
759
- catch (_o) { }
760
- try {
761
- var mod = _this.injector.get('SpreadsheetNumberFormat');
762
- if (_this.injectedModules.indexOf(mod) === -1) {
763
- _this.injectedModules.push(mod);
764
- }
765
- }
766
- catch (_p) { }
767
- try {
768
- var mod = _this.injector.get('SpreadsheetFormula');
769
- if (_this.injectedModules.indexOf(mod) === -1) {
770
- _this.injectedModules.push(mod);
771
- }
772
- }
773
- catch (_q) { }
774
- _this.registerEvents(outputs$9);
775
- _this.addTwoWay.call(_this, twoWays);
776
- setValue('currentInstance', _this, _this.viewContainerRef);
777
- _this.context = new ComponentBase();
778
- return _this;
779
- }
780
- /**
781
- * @return {?}
782
- */
783
- SpreadsheetComponent.prototype.ngOnInit = function () {
784
- this.context.ngOnInit(this);
785
- };
786
- /**
787
- * @return {?}
788
- */
789
- SpreadsheetComponent.prototype.ngAfterViewInit = function () {
790
- this.context.ngAfterViewInit(this);
791
- };
792
- /**
793
- * @return {?}
794
- */
795
- SpreadsheetComponent.prototype.ngOnDestroy = function () {
796
- this.context.ngOnDestroy(this);
797
- };
798
- /**
799
- * @return {?}
800
- */
801
- SpreadsheetComponent.prototype.ngAfterContentChecked = function () {
802
- this.tagObjects[0].instance = this.childSheets;
803
- if (this.childDefinedNames) {
804
- this.tagObjects[1].instance = /** @type {?} */ (this.childDefinedNames);
805
- }
806
- this.context.ngAfterContentChecked(this);
807
- };
808
- return SpreadsheetComponent;
809
- }(Spreadsheet));
810
- SpreadsheetComponent.decorators = [
811
- { type: Component, args: [{
812
- selector: 'ejs-spreadsheet',
813
- inputs: inputs,
814
- outputs: outputs$9,
815
- template: '',
816
- changeDetection: ChangeDetectionStrategy.OnPush,
817
- queries: {
818
- childSheets: new ContentChild(SheetsDirective),
819
- childDefinedNames: new ContentChild(DefinedNamesDirective)
820
- }
821
- },] },
822
- ];
823
- /**
824
- * @nocollapse
825
- */
826
- SpreadsheetComponent.ctorParameters = function () { return [
827
- { type: ElementRef, },
828
- { type: Renderer2, },
829
- { type: ViewContainerRef, },
830
- { type: Injector, },
831
- ]; };
832
- SpreadsheetComponent.propDecorators = {
833
- 'template': [{ type: ContentChild, args: ['template',] },],
834
- };
835
- __decorate$1([
836
- Template(),
837
- __metadata$1("design:type", Object)
838
- ], SpreadsheetComponent.prototype, "template", void 0);
839
- SpreadsheetComponent = __decorate$1([
840
- ComponentMixins([ComponentBase]),
841
- __metadata$1("design:paramtypes", [ElementRef,
842
- Renderer2,
843
- ViewContainerRef,
844
- Injector])
845
- ], SpreadsheetComponent);
846
- /**
847
- * NgModule definition for the Spreadsheet component.
848
- */
849
- var SpreadsheetModule = /** @class */ (function () {
850
- function SpreadsheetModule() {
851
- }
852
- return SpreadsheetModule;
853
- }());
854
- SpreadsheetModule.decorators = [
855
- { type: NgModule, args: [{
856
- imports: [CommonModule],
857
- declarations: [
858
- SpreadsheetComponent,
859
- ImageDirective,
860
- ImagesDirective,
861
- ChartDirective,
862
- ChartsDirective,
863
- CellDirective,
864
- CellsDirective,
865
- RowDirective,
866
- RowsDirective,
867
- ColumnDirective,
868
- ColumnsDirective,
869
- RangeDirective,
870
- RangesDirective,
871
- ConditionalFormatDirective,
872
- ConditionalFormatsDirective,
873
- SheetDirective,
874
- SheetsDirective,
875
- DefinedNameDirective,
876
- DefinedNamesDirective
877
- ],
878
- exports: [
879
- SpreadsheetComponent,
880
- ImageDirective,
881
- ImagesDirective,
882
- ChartDirective,
883
- ChartsDirective,
884
- CellDirective,
885
- CellsDirective,
886
- RowDirective,
887
- RowsDirective,
888
- ColumnDirective,
889
- ColumnsDirective,
890
- RangeDirective,
891
- RangesDirective,
892
- ConditionalFormatDirective,
893
- ConditionalFormatsDirective,
894
- SheetDirective,
895
- SheetsDirective,
896
- DefinedNameDirective,
897
- DefinedNamesDirective
898
- ]
899
- },] },
900
- ];
901
- /**
902
- * @nocollapse
903
- */
904
- SpreadsheetModule.ctorParameters = function () { return []; };
905
- var ClipboardService = { provide: 'SpreadsheetClipboard', useValue: Clipboard };
906
- var EditService = { provide: 'SpreadsheetEdit', useValue: Edit };
907
- var KeyboardNavigationService = { provide: 'SpreadsheetKeyboardNavigation', useValue: KeyboardNavigation };
908
- var KeyboardShortcutService = { provide: 'SpreadsheetKeyboardShortcut', useValue: KeyboardShortcut };
909
- var SelectionService = { provide: 'SpreadsheetSelection', useValue: Selection };
910
- var ContextMenuService = { provide: 'SpreadsheetContextMenu', useValue: ContextMenu };
911
- var FormulaBarService = { provide: 'SpreadsheetFormulaBar', useValue: FormulaBar };
912
- var RibbonService = { provide: 'SpreadsheetRibbon', useValue: Ribbon };
913
- var SaveService = { provide: 'SpreadsheetSave', useValue: Save };
914
- var OpenService = { provide: 'SpreadsheetOpen', useValue: Open };
915
- var SheetTabsService = { provide: 'SpreadsheetSheetTabs', useValue: SheetTabs };
916
- var DataBindService = { provide: 'SpreadsheetDataBind', useValue: DataBind };
917
- var CellFormatService = { provide: 'SpreadsheetCellFormat', useValue: CellFormat };
918
- var NumberFormatService = { provide: 'SpreadsheetNumberFormat', useValue: NumberFormat };
919
- var FormulaService = { provide: 'SpreadsheetFormula', useValue: Formula };
920
- /**
921
- * NgModule definition for the Spreadsheet component with providers.
922
- */
923
- var SpreadsheetAllModule = /** @class */ (function () {
924
- function SpreadsheetAllModule() {
925
- }
926
- return SpreadsheetAllModule;
927
- }());
928
- SpreadsheetAllModule.decorators = [
929
- { type: NgModule, args: [{
930
- imports: [CommonModule, SpreadsheetModule],
931
- exports: [
932
- SpreadsheetModule
933
- ],
934
- providers: [
935
- ClipboardService,
936
- EditService,
937
- KeyboardNavigationService,
938
- KeyboardShortcutService,
939
- SelectionService,
940
- ContextMenuService,
941
- FormulaBarService,
942
- RibbonService,
943
- SaveService,
944
- OpenService,
945
- SheetTabsService,
946
- DataBindService,
947
- CellFormatService,
948
- NumberFormatService,
949
- FormulaService
950
- ]
951
- },] },
952
- ];
953
- /**
954
- * @nocollapse
955
- */
956
- SpreadsheetAllModule.ctorParameters = function () { return []; };
957
- /**
958
- * Generated bundle index. Do not edit.
959
- */
960
- export { ImageDirective, ImagesDirective, ChartDirective, ChartsDirective, CellDirective, CellsDirective, RowDirective, RowsDirective, ColumnDirective, ColumnsDirective, RangeDirective, RangesDirective, ConditionalFormatDirective, ConditionalFormatsDirective, SheetDirective, SheetsDirective, DefinedNameDirective, DefinedNamesDirective, SpreadsheetComponent, SpreadsheetModule, SpreadsheetAllModule, ClipboardService, EditService, KeyboardNavigationService, KeyboardShortcutService, SelectionService, ContextMenuService, FormulaBarService, RibbonService, SaveService, OpenService, SheetTabsService, DataBindService, CellFormatService, NumberFormatService, FormulaService, inputs as ɵa, outputs$9 as ɵb };
961
- export { Workbook, Range, UsedRange, Sheet, getSheetIndex, getSheetIndexFromId, getSheetNameFromAddress, getSheetIndexByName, updateSelectedRange, getSelectedRange, getSingleSelectedRange, getSheet, getSheetNameCount, getMaxSheetId, initSheet, getSheetName, moveSheet, duplicateSheet, Row, getRow, setRow, isHiddenRow, isFilterHidden, getRowHeight, setRowHeight, getRowsHeight, Column, getColumn, setColumn, getColumnWidth, getColumnsWidth, isHiddenCol, checkColumnValidation, Cell, getCell, setCell, skipDefaultValue, wrap, getColorCode, getCustomColors, isCustomDateTime, OpenSettings, getData, getValueFromFormat, getModel, processIdx, getRangeIndexes, getCellIndexes, getColIndex, getCellAddress, getRangeAddress, getColumnHeaderText, getIndexesFromAddress, getRangeFromAddress, getAddressFromSelectedRange, getAddressInfo, getSheetIndexFromAddress, getSwapRange, isSingleCell, executeTaskAsync, getWorkbookRequiredModules, CellStyle, FilterCollection, SortCollection, DefineName, ProtectSettings, Hyperlink, Validation, Format, ConditionalFormat, LegendSettings, DataLabelSettings, Border, MarkerSettings, MajorGridLines, MinorGridLines, Axis, Chart, Image, AutoFillSettings, workbookDestroyed, updateSheetFromDataSource, dataSourceChanged, dataChanged, triggerDataChange, workbookOpen, beginSave, beginAction, sortImport, findToolDlg, exportDialog, setFilteredCollection, saveCompleted, applyNumberFormatting, getFormattedCellObject, calculateFormula, refreshCellElement, setCellFormat, findAllValues, textDecorationUpdate, applyCellFormat, updateUsedRange, updateRowColCount, workbookFormulaOperation, workbookEditOperation, checkDateFormat, checkNumberFormat, parseDecimalNumber, getFormattedBarText, activeCellChanged, openSuccess, openFailure, sheetCreated, sheetsDestroyed, aggregateComputation, getUniqueRange, removeUniquecol, checkUniqueRange, reApplyFormula, clearFormulaDependentCells, formulaInValidation, beforeSort, initiateSort, updateSortedDataOnCell, sortComplete, sortRangeAlert, initiatelink, beforeHyperlinkCreate, afterHyperlinkCreate, beforeHyperlinkClick, afterHyperlinkClick, addHyperlink, setLinkModel, beforeFilter, initiateFilter, filterComplete, filterRangeAlert, clearAllFilter, wrapEvent, onSave, insert, deleteAction, insertModel, deleteModel, isValidation, cellValidation, addHighlight, dataValidate, find, goto, findWorkbookHandler, replace, replaceAll, showFindAlert, findKeyUp, removeHighlight, queryCellInfo, count, findCount, protectSheetWorkBook, updateToggle, protectsheetHandler, replaceAllDialog, unprotectsheetHandler, workBookeditAlert, workbookReadonlyAlert, setLockCells, applyLockCells, setMerge, applyMerge, mergedRange, activeCellMergedRange, insertMerge, hideShow, setCFRule, applyCF, clearCFRule, clear, clearCF, setImage, setChart, initiateChart, refreshRibbonIcons, refreshChart, refreshChartSize, deleteChartColl, initiateChartModel, focusChartBorder, saveError, updateHighlight, beforeInsert, beforeDelete, deleteHyperlink, moveOrDuplicateSheet, setAutoFill, refreshCell, getFillInfo, getautofillDDB, rowFillHandler, getTextSpace, refreshClipboard, updateView, selectionComplete, refreshInsertDelete, getUpdatedFormulaOnInsertDelete, beforeCellUpdate, duplicateSheetFilterHandler, unMerge, checkFormulaRef, parseFormulaArgument, getCellRefValue, commputeFormulaValue, getChartRowIdxFromClientY, getChartColIdxFromClientX, refreshChartCellOnInit, localizedFormatAction, moveSheetHandler, addListValidationDropdown, sheetRenameUpdate, updateSortCollection, importModelUpdate, checkIsFormula, isCellReference, isChar, isRowSelected, isColumnSelected, inRange, isInMultipleRange, isInRange, getSplittedAddressForColumn, isLocked, isValidCellReference, columnIndex, skipHiddenIdx, isHeightCheckNeeded, getUpdatedFormula, getLeadingSpaces, getTrailingSpaces, updateCell, getDataRange, insertFormatRange, deleteFormatRange, updateCFModel, checkRange, parseLocaleNumber, getViewportIndexes, setVisibleMergeIndex, isImported, getAutoDetectFormatParser, applyPredicates, isReadOnly, isReadOnlyCells, getUpdatedRange, addDPRValue, updateMergeBorder, toFraction, getGcd, intToDate, dateToInt, isDateTime, isNumber, evaluate, toDate, parseIntValue, workbookLocale, localeData, DataBind, WorkbookOpen, WorkbookSave, WorkbookFormula, WorkbookNumberFormat, getFormatFromType, getTypeFromFormat, convertToDefaultFormat, configureLocalizedFormat, WorkbookSort, WorkbookFilter, WorkbookImage, WorkbookChart, WorkbookCellFormat, WorkbookEdit, WorkbookHyperlink, WorkbookInsert, WorkbookDelete, WorkbookDataValidation, WorkbookFindAndReplace, WorkbookProtectSheet, WorkbookMerge, WorkbookConditionalFormat, WorkbookAutoFill, getRequiredModules, ribbon, formulaBar, sheetTabs, refreshSheetTabs, isFormulaBarEdit, contentLoaded, mouseDown, spreadsheetDestroyed, editOperation, formulaOperation, formulaBarOperation, click, keyUp, keyDown, formulaKeyUp, formulaBarUpdate, onVerticalScroll, onHorizontalScroll, focusRenameInput, beforeContentLoaded, beforeVirtualContentLoaded, virtualContentLoaded, contextMenuOpen, cellNavigate, mouseUpAfterSelection, cMenuBeforeOpen, insertSheetTab, removeSheetTab, renameSheetTab, ribbonClick, refreshRibbon, enableToolbarItems, tabSwitch, selectRange, rangeSelectionByKeydown, cut, copy, paste, clearCopy, dataBound, beforeDataBound, addContextMenuItems, removeContextMenuItems, enableContextMenuItems, enableFileMenuItems, hideFileMenuItems, addFileMenuItems, hideRibbonTabs, enableRibbonTabs, addRibbonTabs, addToolbarItems, hideToolbarItems, beforeRibbonCreate, rowHeightChanged, colWidthChanged, onContentScroll, deInitProperties, activeSheetChanged, initiateCustomSort, applySort, collaborativeUpdate, autoFit, refreshFilterCellsOnResize, updateToggleItem, initiateHyperlink, editHyperlink, openHyperlink, addNote, editNote, deleteNote, showNote, createNoteIndicator, updateNoteContainer, removeNoteContainer, removeHyperlink, createHyperlinkElement, sheetNameUpdate, hideSheet, performUndoRedo, updateUndoRedoCollection, setActionData, getBeforeActionData, clearUndoRedoCollection, initiateFilterUI, renderFilterCell, refreshFilterRange, reapplyFilter, filterByCellValue, clearFilter, getFilteredColumn, completeAction, filterCellKeyDown, getFilterRange, setAutoFit, refreshFormulaDatasource, initiateDataValidation, validationError, startEdit, invalidData, clearInvalid, protectSheet, applyProtect, unprotectSheet, protectCellFormat, gotoDlg, findDlg, findHandler, created, spreadsheetCreated, editAlert, readonlyAlert, finiteAlert, setUndoRedo, enableFormulaInput, protectSelection, hiddenMerge, checkPrevMerge, checkMerge, removeDataValidation, showAggregate, goToSheet, showSheet, renderCFDlg, clearViewer, initiateFormulaReference, initiateCur, clearCellRef, editValue, addressHandle, initiateEdit, forRefSelRender, insertImage, refreshOverlayElem, refreshImgCellObj, getRowIdxFromClientY, getColIdxFromClientX, createImageElement, deleteImage, deleteChart, refreshChartCellObj, refreshChartCellModel, refreshImagePosition, updateTableWidth, focusBorder, clearChartBorder, insertChart, chartRangeSelection, insertDesignChart, removeDesignChart, chartDesignTab, undoRedoForChartDesign, protectWorkbook, unProtectWorkbook, setProtectWorkbook, removeWorkbookProtection, importProtectWorkbook, selectionStatus, freeze, overlayEleSize, updateScroll, positionAutoFillElement, hideAutoFillOptions, performAutoFill, selectAutoFillRange, autoFill, hideAutoFillElement, unProtectSheetPassword, updateTranslate, getUpdatedScrollPosition, updateScrollValue, beforeCheckboxRender, refreshCheckbox, renderInsertDlg, toggleProtect, propertyChange, updateWrapCell, getUpdateUsingRaf, removeAllChildren, getColGroupWidth, getScrollBarWidth, getSiblingsHeight, inView, getCellPosition, setPosition, removeRangeEle, locateElem, setStyleAttribute, getStartEvent, getMoveEvent, getEndEvent, isTouchStart, isTouchMove, isTouchEnd, isMouseDown, isMouseMove, isMouseUp, isNavigationKey, getClientX, getClientY, getPageX, getPageY, getDPRValue, setAriaOptions, destroyComponent, setResize, setWidthAndHeight, setTextLineHeight, findMaxValue, updateAction, hasTemplate, setRowEleHeight, getTextHeight, getLineHeight, getTextWidth, getLines, getBorderWidth, getBorderHeight, getExcludedColumnWidth, getTextHeightWithBorder, setMaxHgt, getMaxHgt, focus, isLockedCells, isDiscontinuousRange, clearRange, getBottomOffset, getRightIdx, setColMinWidth, getSheetProperties, getChartsIndexes, isColumnRange, isRowRange, setStandardHeight, getStandardHeight, removeElements, isValidUrl, ScrollSettings, SelectionSettings, DISABLED, WRAPTEXT, locale, dialog, actionEvents, overlay, fontColor, fillColor, keyCodes, defaultLocale, Spreadsheet, Clipboard, Edit, Selection, Scroll, VirtualScroll, KeyboardNavigation, KeyboardShortcut, CellFormat, Resize, ShowHide, SpreadsheetHyperlink, UndoRedo, WrapText, Insert, Delete, DataValidation, ProtectSheet, FindAndReplace, Merge, ConditionalFormatting, AutoFill, SpreadsheetNote, Ribbon, FormulaBar, Formula, SheetTabs, Open, Save, ContextMenu, NumberFormat, Sort, Filter, SpreadsheetImage, SpreadsheetChart, Render, SheetRender, RowRenderer, CellRenderer, Calculate, FormulaError, FormulaInfo, CalcSheetFamilyItem, getAlphalabel, ValueChangedArgs, Parser, CalculateCommon, isUndefined, getSkeletonVal, isExternalFileLink, CommonErrors, FormulasErrorsStrings, ExcelFileFormats, BasicFormulas } from '@syncfusion/ej2-spreadsheet';
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = Object.setPrototypeOf ||
3
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
5
+ return function (d, b) {
6
+ extendStatics(d, b);
7
+ function __() { this.constructor = d; }
8
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
9
+ };
10
+ })();
11
+ import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef } from '@angular/core';
12
+ import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, Template, setValue } from '@syncfusion/ej2-angular-base';
13
+ import { AIAssist, CellFormat, Clipboard, ContextMenu, DataBind, Edit, Formula, FormulaBar, KeyboardNavigation, KeyboardShortcut, NumberFormat, Open, Ribbon, Save, Selection, SheetTabs, Spreadsheet } from '@syncfusion/ej2-spreadsheet';
14
+ import { CommonModule } from '@angular/common';
15
+ var input = ['height', 'id', 'left', 'src', 'top', 'width'];
16
+ var outputs = [];
17
+ var ImageDirective = /** @class */ (function (_super) {
18
+ __extends(ImageDirective, _super);
19
+ /**
20
+ * @param {?} viewContainerRef
21
+ */
22
+ function ImageDirective(viewContainerRef) {
23
+ var _this = _super.call(this) || this;
24
+ _this.viewContainerRef = viewContainerRef;
25
+ setValue('currentInstance', _this, _this.viewContainerRef);
26
+ _this.registerEvents(outputs);
27
+ _this.directivePropList = input;
28
+ return _this;
29
+ }
30
+ return ImageDirective;
31
+ }(ComplexBase));
32
+ ImageDirective.decorators = [
33
+ { type: Directive, args: [{
34
+ selector: 'e-images>e-image',
35
+ inputs: input,
36
+ outputs: outputs,
37
+ queries: {}
38
+ },] },
39
+ ];
40
+ /**
41
+ * @nocollapse
42
+ */
43
+ ImageDirective.ctorParameters = function () { return [
44
+ { type: ViewContainerRef, },
45
+ ]; };
46
+ /**
47
+ * Image Array Directive
48
+ */
49
+ var ImagesDirective = /** @class */ (function (_super) {
50
+ __extends(ImagesDirective, _super);
51
+ function ImagesDirective() {
52
+ return _super.call(this, 'image') || this;
53
+ }
54
+ return ImagesDirective;
55
+ }(ArrayBase));
56
+ ImagesDirective.decorators = [
57
+ { type: Directive, args: [{
58
+ selector: 'e-cell>e-images',
59
+ queries: {
60
+ children: new ContentChildren(ImageDirective)
61
+ },
62
+ },] },
63
+ ];
64
+ /**
65
+ * @nocollapse
66
+ */
67
+ ImagesDirective.ctorParameters = function () { return []; };
68
+ var input$1 = ['dataLabelSettings', 'height', 'id', 'isSeriesInRows', 'legendSettings', 'markerSettings', 'primaryXAxis', 'primaryYAxis', 'range', 'theme', 'title', 'type', 'width'];
69
+ var outputs$1 = [];
70
+ var ChartDirective = /** @class */ (function (_super) {
71
+ __extends(ChartDirective, _super);
72
+ /**
73
+ * @param {?} viewContainerRef
74
+ */
75
+ function ChartDirective(viewContainerRef) {
76
+ var _this = _super.call(this) || this;
77
+ _this.viewContainerRef = viewContainerRef;
78
+ setValue('currentInstance', _this, _this.viewContainerRef);
79
+ _this.registerEvents(outputs$1);
80
+ _this.directivePropList = input$1;
81
+ return _this;
82
+ }
83
+ return ChartDirective;
84
+ }(ComplexBase));
85
+ ChartDirective.decorators = [
86
+ { type: Directive, args: [{
87
+ selector: 'e-charts>e-chart',
88
+ inputs: input$1,
89
+ outputs: outputs$1,
90
+ queries: {}
91
+ },] },
92
+ ];
93
+ /**
94
+ * @nocollapse
95
+ */
96
+ ChartDirective.ctorParameters = function () { return [
97
+ { type: ViewContainerRef, },
98
+ ]; };
99
+ /**
100
+ * Chart Array Directive
101
+ */
102
+ var ChartsDirective = /** @class */ (function (_super) {
103
+ __extends(ChartsDirective, _super);
104
+ function ChartsDirective() {
105
+ return _super.call(this, 'chart') || this;
106
+ }
107
+ return ChartsDirective;
108
+ }(ArrayBase));
109
+ ChartsDirective.decorators = [
110
+ { type: Directive, args: [{
111
+ selector: 'e-cell>e-charts',
112
+ queries: {
113
+ children: new ContentChildren(ChartDirective)
114
+ },
115
+ },] },
116
+ ];
117
+ /**
118
+ * @nocollapse
119
+ */
120
+ ChartsDirective.ctorParameters = function () { return []; };
121
+ var input$2 = ['style', 'text'];
122
+ var outputs$2 = [];
123
+ var RichTextDirective = /** @class */ (function (_super) {
124
+ __extends(RichTextDirective, _super);
125
+ /**
126
+ * @param {?} viewContainerRef
127
+ */
128
+ function RichTextDirective(viewContainerRef) {
129
+ var _this = _super.call(this) || this;
130
+ _this.viewContainerRef = viewContainerRef;
131
+ setValue('currentInstance', _this, _this.viewContainerRef);
132
+ _this.registerEvents(outputs$2);
133
+ _this.directivePropList = input$2;
134
+ return _this;
135
+ }
136
+ return RichTextDirective;
137
+ }(ComplexBase));
138
+ RichTextDirective.decorators = [
139
+ { type: Directive, args: [{
140
+ selector: 'e-richtexts>e-richtext',
141
+ inputs: input$2,
142
+ outputs: outputs$2,
143
+ queries: {}
144
+ },] },
145
+ ];
146
+ /**
147
+ * @nocollapse
148
+ */
149
+ RichTextDirective.ctorParameters = function () { return [
150
+ { type: ViewContainerRef, },
151
+ ]; };
152
+ /**
153
+ * RichText Array Directive
154
+ */
155
+ var RichTextsDirective = /** @class */ (function (_super) {
156
+ __extends(RichTextsDirective, _super);
157
+ function RichTextsDirective() {
158
+ return _super.call(this, 'richtext') || this;
159
+ }
160
+ return RichTextsDirective;
161
+ }(ArrayBase));
162
+ RichTextsDirective.decorators = [
163
+ { type: Directive, args: [{
164
+ selector: 'e-cell>e-richtexts',
165
+ queries: {
166
+ children: new ContentChildren(RichTextDirective)
167
+ },
168
+ },] },
169
+ ];
170
+ /**
171
+ * @nocollapse
172
+ */
173
+ RichTextsDirective.ctorParameters = function () { return []; };
174
+ var input$3 = ['chart', 'colSpan', 'comment', 'format', 'formula', 'hyperlink', 'image', 'index', 'isLocked', 'isReadOnly', 'notes', 'richText', 'rowSpan', 'style', 'validation', 'value', 'wrap'];
175
+ var outputs$3 = [];
176
+ /**
177
+ * `e-cell` directive represent a cell of the Angular Spreadsheet.
178
+ * It must be contained in a `e-row` directive.
179
+ * ```html
180
+ * <ejs-spreadsheet>
181
+ * <e-sheets>
182
+ * <e-sheet>
183
+ * <e-rows>
184
+ * <e-row>
185
+ * <e-cells>
186
+ * <e-cell value='A1'></e-cell>
187
+ * </e-cells>
188
+ * </e-row>
189
+ * </e-rows>
190
+ * </e-sheet>
191
+ * </e-sheets>
192
+ * </ejs-spreadsheet>
193
+ * ```
194
+ */
195
+ var CellDirective = /** @class */ (function (_super) {
196
+ __extends(CellDirective, _super);
197
+ /**
198
+ * @param {?} viewContainerRef
199
+ */
200
+ function CellDirective(viewContainerRef) {
201
+ var _this = _super.call(this) || this;
202
+ _this.viewContainerRef = viewContainerRef;
203
+ _this.tags = ['image', 'chart', 'richText'];
204
+ setValue('currentInstance', _this, _this.viewContainerRef);
205
+ _this.registerEvents(outputs$3);
206
+ _this.directivePropList = input$3;
207
+ return _this;
208
+ }
209
+ return CellDirective;
210
+ }(ComplexBase));
211
+ CellDirective.decorators = [
212
+ { type: Directive, args: [{
213
+ selector: 'e-cells>e-cell',
214
+ inputs: input$3,
215
+ outputs: outputs$3,
216
+ queries: {
217
+ childImage: new ContentChild(ImagesDirective),
218
+ childChart: new ContentChild(ChartsDirective),
219
+ childRichText: new ContentChild(RichTextsDirective)
220
+ }
221
+ },] },
222
+ ];
223
+ /**
224
+ * @nocollapse
225
+ */
226
+ CellDirective.ctorParameters = function () { return [
227
+ { type: ViewContainerRef, },
228
+ ]; };
229
+ /**
230
+ * Cell Array Directive
231
+ */
232
+ var CellsDirective = /** @class */ (function (_super) {
233
+ __extends(CellsDirective, _super);
234
+ function CellsDirective() {
235
+ return _super.call(this, 'cells') || this;
236
+ }
237
+ return CellsDirective;
238
+ }(ArrayBase));
239
+ CellsDirective.decorators = [
240
+ { type: Directive, args: [{
241
+ selector: 'e-row>e-cells',
242
+ queries: {
243
+ children: new ContentChildren(CellDirective)
244
+ },
245
+ },] },
246
+ ];
247
+ /**
248
+ * @nocollapse
249
+ */
250
+ CellsDirective.ctorParameters = function () { return []; };
251
+ var input$4 = ['cells', 'customHeight', 'format', 'height', 'hidden', 'index', 'isReadOnly'];
252
+ var outputs$4 = [];
253
+ /**
254
+ * `e-row` directive represent a row of the Angular Spreadsheet.
255
+ * It must be contained in a `e-sheet` directive.
256
+ * ```html
257
+ * <ejs-spreadsheet>
258
+ * <e-sheets>
259
+ * <e-sheet>
260
+ * <e-rows>
261
+ * <e-row></e-row>
262
+ * </e-rows>
263
+ * </e-sheet>
264
+ * </e-sheets>
265
+ * </ejs-spreadsheet>
266
+ * ```
267
+ */
268
+ var RowDirective = /** @class */ (function (_super) {
269
+ __extends(RowDirective, _super);
270
+ /**
271
+ * @param {?} viewContainerRef
272
+ */
273
+ function RowDirective(viewContainerRef) {
274
+ var _this = _super.call(this) || this;
275
+ _this.viewContainerRef = viewContainerRef;
276
+ _this.tags = ['cells'];
277
+ setValue('currentInstance', _this, _this.viewContainerRef);
278
+ _this.registerEvents(outputs$4);
279
+ _this.directivePropList = input$4;
280
+ return _this;
281
+ }
282
+ return RowDirective;
283
+ }(ComplexBase));
284
+ RowDirective.decorators = [
285
+ { type: Directive, args: [{
286
+ selector: 'e-rows>e-row',
287
+ inputs: input$4,
288
+ outputs: outputs$4,
289
+ queries: {
290
+ childCells: new ContentChild(CellsDirective)
291
+ }
292
+ },] },
293
+ ];
294
+ /**
295
+ * @nocollapse
296
+ */
297
+ RowDirective.ctorParameters = function () { return [
298
+ { type: ViewContainerRef, },
299
+ ]; };
300
+ /**
301
+ * Row Array Directive
302
+ */
303
+ var RowsDirective = /** @class */ (function (_super) {
304
+ __extends(RowsDirective, _super);
305
+ function RowsDirective() {
306
+ return _super.call(this, 'rows') || this;
307
+ }
308
+ return RowsDirective;
309
+ }(ArrayBase));
310
+ RowsDirective.decorators = [
311
+ { type: Directive, args: [{
312
+ selector: 'e-sheet>e-rows',
313
+ queries: {
314
+ children: new ContentChildren(RowDirective)
315
+ },
316
+ },] },
317
+ ];
318
+ /**
319
+ * @nocollapse
320
+ */
321
+ RowsDirective.ctorParameters = function () { return []; };
322
+ var input$5 = ['customWidth', 'format', 'hidden', 'index', 'isLocked', 'isReadOnly', 'validation', 'width'];
323
+ var outputs$5 = [];
324
+ /**
325
+ * `e-column` directive represent a column of the Angular Spreadsheet.
326
+ * It must be contained in a `e-sheet` directive.
327
+ * ```html
328
+ * <ejs-spreadsheet>
329
+ * <e-sheets>
330
+ * <e-sheet>
331
+ * <e-columns>
332
+ * <e-column width='100'></e-column>
333
+ * </e-columns>
334
+ * </e-sheet>
335
+ * </e-sheets>
336
+ * </ejs-spreadsheet>
337
+ * ```
338
+ */
339
+ var ColumnDirective = /** @class */ (function (_super) {
340
+ __extends(ColumnDirective, _super);
341
+ /**
342
+ * @param {?} viewContainerRef
343
+ */
344
+ function ColumnDirective(viewContainerRef) {
345
+ var _this = _super.call(this) || this;
346
+ _this.viewContainerRef = viewContainerRef;
347
+ setValue('currentInstance', _this, _this.viewContainerRef);
348
+ _this.registerEvents(outputs$5);
349
+ _this.directivePropList = input$5;
350
+ return _this;
351
+ }
352
+ return ColumnDirective;
353
+ }(ComplexBase));
354
+ ColumnDirective.decorators = [
355
+ { type: Directive, args: [{
356
+ selector: 'e-columns>e-column',
357
+ inputs: input$5,
358
+ outputs: outputs$5,
359
+ queries: {}
360
+ },] },
361
+ ];
362
+ /**
363
+ * @nocollapse
364
+ */
365
+ ColumnDirective.ctorParameters = function () { return [
366
+ { type: ViewContainerRef, },
367
+ ]; };
368
+ /**
369
+ * Column Array Directive
370
+ */
371
+ var ColumnsDirective = /** @class */ (function (_super) {
372
+ __extends(ColumnsDirective, _super);
373
+ function ColumnsDirective() {
374
+ return _super.call(this, 'columns') || this;
375
+ }
376
+ return ColumnsDirective;
377
+ }(ArrayBase));
378
+ ColumnsDirective.decorators = [
379
+ { type: Directive, args: [{
380
+ selector: 'e-sheet>e-columns',
381
+ queries: {
382
+ children: new ContentChildren(ColumnDirective)
383
+ },
384
+ },] },
385
+ ];
386
+ /**
387
+ * @nocollapse
388
+ */
389
+ ColumnsDirective.ctorParameters = function () { return []; };
390
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
391
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
392
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
393
+ r = Reflect.decorate(decorators, target, key, desc);
394
+ else
395
+ for (var i = decorators.length - 1; i >= 0; i--)
396
+ if (d = decorators[i])
397
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
398
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
399
+ };
400
+ var __metadata = (this && this.__metadata) || function (k, v) {
401
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
402
+ return Reflect.metadata(k, v);
403
+ };
404
+ var input$6 = ['address', 'dataSource', 'fieldsOrder', 'query', 'showFieldAsHeader', 'startCell', 'template'];
405
+ var outputs$6 = [];
406
+ /**
407
+ * `e-range` directive represent a range of the Angular Spreadsheet.
408
+ * It must be contained in a `e-sheet` directive.
409
+ * ```html
410
+ * <ejs-spreadsheet>
411
+ * <e-sheets>
412
+ * <e-sheet>
413
+ * <e-ranges>
414
+ * <e-range [dataSource]='data'></e-range>
415
+ * </e-ranges>
416
+ * </e-sheet>
417
+ * </e-sheets>
418
+ * </ejs-spreadsheet>
419
+ * ```
420
+ */
421
+ var RangeDirective = /** @class */ (function (_super) {
422
+ __extends(RangeDirective, _super);
423
+ /**
424
+ * @param {?} viewContainerRef
425
+ */
426
+ function RangeDirective(viewContainerRef) {
427
+ var _this = _super.call(this) || this;
428
+ _this.viewContainerRef = viewContainerRef;
429
+ setValue('currentInstance', _this, _this.viewContainerRef);
430
+ _this.registerEvents(outputs$6);
431
+ _this.directivePropList = input$6;
432
+ return _this;
433
+ }
434
+ return RangeDirective;
435
+ }(ComplexBase));
436
+ RangeDirective.decorators = [
437
+ { type: Directive, args: [{
438
+ selector: 'e-ranges>e-range',
439
+ inputs: input$6,
440
+ outputs: outputs$6,
441
+ queries: {}
442
+ },] },
443
+ ];
444
+ /**
445
+ * @nocollapse
446
+ */
447
+ RangeDirective.ctorParameters = function () { return [
448
+ { type: ViewContainerRef, },
449
+ ]; };
450
+ RangeDirective.propDecorators = {
451
+ 'template': [{ type: ContentChild, args: ['template',] },],
452
+ };
453
+ __decorate([
454
+ Template(),
455
+ __metadata("design:type", Object)
456
+ ], RangeDirective.prototype, "template", void 0);
457
+ /**
458
+ * Range Array Directive
459
+ */
460
+ var RangesDirective = /** @class */ (function (_super) {
461
+ __extends(RangesDirective, _super);
462
+ function RangesDirective() {
463
+ return _super.call(this, 'ranges') || this;
464
+ }
465
+ return RangesDirective;
466
+ }(ArrayBase));
467
+ RangesDirective.decorators = [
468
+ { type: Directive, args: [{
469
+ selector: 'e-sheet>e-ranges',
470
+ queries: {
471
+ children: new ContentChildren(RangeDirective)
472
+ },
473
+ },] },
474
+ ];
475
+ /**
476
+ * @nocollapse
477
+ */
478
+ RangesDirective.ctorParameters = function () { return []; };
479
+ var input$7 = ['cFColor', 'format', 'range', 'type', 'value'];
480
+ var outputs$7 = [];
481
+ /**
482
+ * `e-conditionalformat` directive represent a conditionalformat of the Angular Spreadsheet.
483
+ * It must be contained in a `e-sheet` directive.
484
+ * ```html
485
+ * <ejs-spreadsheet>
486
+ * <e-sheets>
487
+ * <e-sheet>
488
+ * <e-conditionalformats>
489
+ * <e-conditionalformat></e-conditionalformat>
490
+ * </e-conditionalformats>
491
+ * </e-sheet>
492
+ * </e-sheets>
493
+ * </ejs-spreadsheet>
494
+ * ```
495
+ */
496
+ var ConditionalFormatDirective = /** @class */ (function (_super) {
497
+ __extends(ConditionalFormatDirective, _super);
498
+ /**
499
+ * @param {?} viewContainerRef
500
+ */
501
+ function ConditionalFormatDirective(viewContainerRef) {
502
+ var _this = _super.call(this) || this;
503
+ _this.viewContainerRef = viewContainerRef;
504
+ setValue('currentInstance', _this, _this.viewContainerRef);
505
+ _this.registerEvents(outputs$7);
506
+ _this.directivePropList = input$7;
507
+ return _this;
508
+ }
509
+ return ConditionalFormatDirective;
510
+ }(ComplexBase));
511
+ ConditionalFormatDirective.decorators = [
512
+ { type: Directive, args: [{
513
+ selector: 'e-conditionalformats>e-conditionalformat',
514
+ inputs: input$7,
515
+ outputs: outputs$7,
516
+ queries: {}
517
+ },] },
518
+ ];
519
+ /**
520
+ * @nocollapse
521
+ */
522
+ ConditionalFormatDirective.ctorParameters = function () { return [
523
+ { type: ViewContainerRef, },
524
+ ]; };
525
+ /**
526
+ * ConditionalFormat Array Directive
527
+ */
528
+ var ConditionalFormatsDirective = /** @class */ (function (_super) {
529
+ __extends(ConditionalFormatsDirective, _super);
530
+ function ConditionalFormatsDirective() {
531
+ return _super.call(this, 'conditionalformats') || this;
532
+ }
533
+ return ConditionalFormatsDirective;
534
+ }(ArrayBase));
535
+ ConditionalFormatsDirective.decorators = [
536
+ { type: Directive, args: [{
537
+ selector: 'e-sheet>e-conditionalformats',
538
+ queries: {
539
+ children: new ContentChildren(ConditionalFormatDirective)
540
+ },
541
+ },] },
542
+ ];
543
+ /**
544
+ * @nocollapse
545
+ */
546
+ ConditionalFormatsDirective.ctorParameters = function () { return []; };
547
+ var input$8 = ['activeCell', 'colCount', 'columns', 'conditionalFormats', 'frozenColumns', 'frozenRows', 'index', 'isProtected', 'name', 'paneTopLeftCell', 'password', 'protectSettings', 'ranges', 'rowCount', 'rows', 'selectedRange', 'showGridLines', 'showHeaders', 'standardHeight', 'state', 'topLeftCell', 'usedRange'];
548
+ var outputs$8 = [];
549
+ /**
550
+ * `e-sheet` directive represent a sheet of the Angular Spreadsheet.
551
+ * It must be contained in a Spreadsheet component(`ejs-spreadsheet`).
552
+ * ```html
553
+ * <ejs-spreadsheet>
554
+ * <e-sheets>
555
+ * <e-sheet></e-sheet>
556
+ * <e-sheet></e-sheet>
557
+ * </e-sheets>
558
+ * </ejs-spreadsheet>
559
+ * ```
560
+ */
561
+ var SheetDirective = /** @class */ (function (_super) {
562
+ __extends(SheetDirective, _super);
563
+ /**
564
+ * @param {?} viewContainerRef
565
+ */
566
+ function SheetDirective(viewContainerRef) {
567
+ var _this = _super.call(this) || this;
568
+ _this.viewContainerRef = viewContainerRef;
569
+ _this.tags = ['rows', 'columns', 'ranges', 'conditionalFormats'];
570
+ setValue('currentInstance', _this, _this.viewContainerRef);
571
+ _this.registerEvents(outputs$8);
572
+ _this.directivePropList = input$8;
573
+ return _this;
574
+ }
575
+ return SheetDirective;
576
+ }(ComplexBase));
577
+ SheetDirective.decorators = [
578
+ { type: Directive, args: [{
579
+ selector: 'e-sheets>e-sheet',
580
+ inputs: input$8,
581
+ outputs: outputs$8,
582
+ queries: {
583
+ childRows: new ContentChild(RowsDirective),
584
+ childColumns: new ContentChild(ColumnsDirective),
585
+ childRanges: new ContentChild(RangesDirective),
586
+ childConditionalFormats: new ContentChild(ConditionalFormatsDirective)
587
+ }
588
+ },] },
589
+ ];
590
+ /**
591
+ * @nocollapse
592
+ */
593
+ SheetDirective.ctorParameters = function () { return [
594
+ { type: ViewContainerRef, },
595
+ ]; };
596
+ /**
597
+ * Sheet Array Directive
598
+ */
599
+ var SheetsDirective = /** @class */ (function (_super) {
600
+ __extends(SheetsDirective, _super);
601
+ function SheetsDirective() {
602
+ return _super.call(this, 'sheets') || this;
603
+ }
604
+ return SheetsDirective;
605
+ }(ArrayBase));
606
+ SheetsDirective.decorators = [
607
+ { type: Directive, args: [{
608
+ selector: 'ejs-spreadsheet>e-sheets',
609
+ queries: {
610
+ children: new ContentChildren(SheetDirective)
611
+ },
612
+ },] },
613
+ ];
614
+ /**
615
+ * @nocollapse
616
+ */
617
+ SheetsDirective.ctorParameters = function () { return []; };
618
+ var input$9 = ['comment', 'name', 'refersTo', 'scope'];
619
+ var outputs$9 = [];
620
+ /**
621
+ * `e-definedname` directive represent a defined name of the Angular Spreadsheet.
622
+ * It must be contained in a Spreadsheet component(`ejs-spreadsheet`).
623
+ * ```html
624
+ * <ejs-spreadsheet>
625
+ * <e-definednames>
626
+ * <e-definedname></e-definedname>
627
+ * <e-definedname></e-definedname>
628
+ * </e-definednames>
629
+ * </ejs-spreadsheet>
630
+ * ```
631
+ */
632
+ var DefinedNameDirective = /** @class */ (function (_super) {
633
+ __extends(DefinedNameDirective, _super);
634
+ /**
635
+ * @param {?} viewContainerRef
636
+ */
637
+ function DefinedNameDirective(viewContainerRef) {
638
+ var _this = _super.call(this) || this;
639
+ _this.viewContainerRef = viewContainerRef;
640
+ setValue('currentInstance', _this, _this.viewContainerRef);
641
+ _this.registerEvents(outputs$9);
642
+ _this.directivePropList = input$9;
643
+ return _this;
644
+ }
645
+ return DefinedNameDirective;
646
+ }(ComplexBase));
647
+ DefinedNameDirective.decorators = [
648
+ { type: Directive, args: [{
649
+ selector: 'e-definednames>e-definedname',
650
+ inputs: input$9,
651
+ outputs: outputs$9,
652
+ queries: {}
653
+ },] },
654
+ ];
655
+ /**
656
+ * @nocollapse
657
+ */
658
+ DefinedNameDirective.ctorParameters = function () { return [
659
+ { type: ViewContainerRef, },
660
+ ]; };
661
+ /**
662
+ * DefinedName Array Directive
663
+ */
664
+ var DefinedNamesDirective = /** @class */ (function (_super) {
665
+ __extends(DefinedNamesDirective, _super);
666
+ function DefinedNamesDirective() {
667
+ return _super.call(this, 'definednames') || this;
668
+ }
669
+ return DefinedNamesDirective;
670
+ }(ArrayBase));
671
+ DefinedNamesDirective.decorators = [
672
+ { type: Directive, args: [{
673
+ selector: 'ejs-spreadsheet>e-definednames',
674
+ queries: {
675
+ children: new ContentChildren(DefinedNameDirective)
676
+ },
677
+ },] },
678
+ ];
679
+ /**
680
+ * @nocollapse
681
+ */
682
+ DefinedNamesDirective.ctorParameters = function () { return []; };
683
+ var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
684
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
685
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
686
+ r = Reflect.decorate(decorators, target, key, desc);
687
+ else
688
+ for (var i = decorators.length - 1; i >= 0; i--)
689
+ if (d = decorators[i])
690
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
691
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
692
+ };
693
+ var __metadata$1 = (this && this.__metadata) || function (k, v) {
694
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
695
+ return Reflect.metadata(k, v);
696
+ };
697
+ var inputs = ['activeSheetIndex', 'aiAssistSettings', 'allowAutoFill', 'allowCellFormatting', 'allowChart', 'allowConditionalFormat', 'allowDataValidation', 'allowDelete', 'allowEditing', 'allowFiltering', 'allowFindAndReplace', 'allowFreezePane', 'allowHyperlink', 'allowImage', 'allowInsert', 'allowMerge', 'allowNumberFormatting', 'allowOpen', 'allowPrint', 'allowResizing', 'allowSave', 'allowScrolling', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'author', 'autoFillSettings', 'calculationMode', 'cellStyle', 'cssClass', 'currencyCode', 'definedNames', 'enableAIAssist', 'enableClipboard', 'enableContextMenu', 'enableKeyboardNavigation', 'enableKeyboardShortcut', 'enableNotes', 'enablePersistence', 'enableRtl', 'height', 'isProtected', 'listSeparator', 'locale', 'openSettings', 'openUrl', 'password', 'saveUrl', 'scrollSettings', 'selectionSettings', 'sheets', 'showAggregate', 'showCommentsPane', 'showFormulaBar', 'showRibbon', 'showSheetTabs', 'width'];
698
+ var outputs$10 = ['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', 'promptRequest', 'promptResponse', 'queryCellInfo', 'saveComplete', 'select', 'sortComplete'];
699
+ var twoWays = [''];
700
+ /**
701
+ * `ejs-spreadsheet` represents the Angular Spreadsheet Component.
702
+ * ```html
703
+ * <ejs-spreadsheet></ejs-spreadsheet>
704
+ * ```
705
+ */
706
+ var SpreadsheetComponent = /** @class */ (function (_super) {
707
+ __extends(SpreadsheetComponent, _super);
708
+ /**
709
+ * @param {?} ngEle
710
+ * @param {?} srenderer
711
+ * @param {?} viewContainerRef
712
+ * @param {?} injector
713
+ */
714
+ function SpreadsheetComponent(ngEle, srenderer, viewContainerRef, injector) {
715
+ var _this = _super.call(this) || this;
716
+ _this.ngEle = ngEle;
717
+ _this.srenderer = srenderer;
718
+ _this.viewContainerRef = viewContainerRef;
719
+ _this.injector = injector;
720
+ _this.tags = ['sheets', 'definedNames'];
721
+ _this.element = _this.ngEle.nativeElement;
722
+ _this.injectedModules = _this.injectedModules || [];
723
+ try {
724
+ var mod = _this.injector.get('SpreadsheetClipboard');
725
+ if (_this.injectedModules.indexOf(mod) === -1) {
726
+ _this.injectedModules.push(mod);
727
+ }
728
+ }
729
+ catch (_a) { }
730
+ try {
731
+ var mod = _this.injector.get('SpreadsheetEdit');
732
+ if (_this.injectedModules.indexOf(mod) === -1) {
733
+ _this.injectedModules.push(mod);
734
+ }
735
+ }
736
+ catch (_b) { }
737
+ try {
738
+ var mod = _this.injector.get('SpreadsheetKeyboardNavigation');
739
+ if (_this.injectedModules.indexOf(mod) === -1) {
740
+ _this.injectedModules.push(mod);
741
+ }
742
+ }
743
+ catch (_c) { }
744
+ try {
745
+ var mod = _this.injector.get('SpreadsheetKeyboardShortcut');
746
+ if (_this.injectedModules.indexOf(mod) === -1) {
747
+ _this.injectedModules.push(mod);
748
+ }
749
+ }
750
+ catch (_d) { }
751
+ try {
752
+ var mod = _this.injector.get('SpreadsheetSelection');
753
+ if (_this.injectedModules.indexOf(mod) === -1) {
754
+ _this.injectedModules.push(mod);
755
+ }
756
+ }
757
+ catch (_e) { }
758
+ try {
759
+ var mod = _this.injector.get('SpreadsheetContextMenu');
760
+ if (_this.injectedModules.indexOf(mod) === -1) {
761
+ _this.injectedModules.push(mod);
762
+ }
763
+ }
764
+ catch (_f) { }
765
+ try {
766
+ var mod = _this.injector.get('SpreadsheetFormulaBar');
767
+ if (_this.injectedModules.indexOf(mod) === -1) {
768
+ _this.injectedModules.push(mod);
769
+ }
770
+ }
771
+ catch (_g) { }
772
+ try {
773
+ var mod = _this.injector.get('SpreadsheetRibbon');
774
+ if (_this.injectedModules.indexOf(mod) === -1) {
775
+ _this.injectedModules.push(mod);
776
+ }
777
+ }
778
+ catch (_h) { }
779
+ try {
780
+ var mod = _this.injector.get('SpreadsheetSave');
781
+ if (_this.injectedModules.indexOf(mod) === -1) {
782
+ _this.injectedModules.push(mod);
783
+ }
784
+ }
785
+ catch (_j) { }
786
+ try {
787
+ var mod = _this.injector.get('SpreadsheetOpen');
788
+ if (_this.injectedModules.indexOf(mod) === -1) {
789
+ _this.injectedModules.push(mod);
790
+ }
791
+ }
792
+ catch (_k) { }
793
+ try {
794
+ var mod = _this.injector.get('SpreadsheetSheetTabs');
795
+ if (_this.injectedModules.indexOf(mod) === -1) {
796
+ _this.injectedModules.push(mod);
797
+ }
798
+ }
799
+ catch (_l) { }
800
+ try {
801
+ var mod = _this.injector.get('SpreadsheetDataBind');
802
+ if (_this.injectedModules.indexOf(mod) === -1) {
803
+ _this.injectedModules.push(mod);
804
+ }
805
+ }
806
+ catch (_m) { }
807
+ try {
808
+ var mod = _this.injector.get('SpreadsheetCellFormat');
809
+ if (_this.injectedModules.indexOf(mod) === -1) {
810
+ _this.injectedModules.push(mod);
811
+ }
812
+ }
813
+ catch (_o) { }
814
+ try {
815
+ var mod = _this.injector.get('SpreadsheetNumberFormat');
816
+ if (_this.injectedModules.indexOf(mod) === -1) {
817
+ _this.injectedModules.push(mod);
818
+ }
819
+ }
820
+ catch (_p) { }
821
+ try {
822
+ var mod = _this.injector.get('SpreadsheetFormula');
823
+ if (_this.injectedModules.indexOf(mod) === -1) {
824
+ _this.injectedModules.push(mod);
825
+ }
826
+ }
827
+ catch (_q) { }
828
+ try {
829
+ var mod = _this.injector.get('SpreadsheetAIAssist');
830
+ if (_this.injectedModules.indexOf(mod) === -1) {
831
+ _this.injectedModules.push(mod);
832
+ }
833
+ }
834
+ catch (_r) { }
835
+ _this.registerEvents(outputs$10);
836
+ _this.addTwoWay.call(_this, twoWays);
837
+ setValue('currentInstance', _this, _this.viewContainerRef);
838
+ _this.context = new ComponentBase();
839
+ return _this;
840
+ }
841
+ /**
842
+ * @return {?}
843
+ */
844
+ SpreadsheetComponent.prototype.ngOnInit = function () {
845
+ this.context.ngOnInit(this);
846
+ };
847
+ /**
848
+ * @return {?}
849
+ */
850
+ SpreadsheetComponent.prototype.ngAfterViewInit = function () {
851
+ this.context.ngAfterViewInit(this);
852
+ };
853
+ /**
854
+ * @return {?}
855
+ */
856
+ SpreadsheetComponent.prototype.ngOnDestroy = function () {
857
+ this.context.ngOnDestroy(this);
858
+ };
859
+ /**
860
+ * @return {?}
861
+ */
862
+ SpreadsheetComponent.prototype.ngAfterContentChecked = function () {
863
+ this.tagObjects[0].instance = this.childSheets;
864
+ if (this.childDefinedNames) {
865
+ this.tagObjects[1].instance = /** @type {?} */ (this.childDefinedNames);
866
+ }
867
+ this.context.ngAfterContentChecked(this);
868
+ };
869
+ return SpreadsheetComponent;
870
+ }(Spreadsheet));
871
+ SpreadsheetComponent.decorators = [
872
+ { type: Component, args: [{
873
+ selector: 'ejs-spreadsheet',
874
+ inputs: inputs,
875
+ outputs: outputs$10,
876
+ template: '',
877
+ changeDetection: ChangeDetectionStrategy.OnPush,
878
+ queries: {
879
+ childSheets: new ContentChild(SheetsDirective),
880
+ childDefinedNames: new ContentChild(DefinedNamesDirective)
881
+ }
882
+ },] },
883
+ ];
884
+ /**
885
+ * @nocollapse
886
+ */
887
+ SpreadsheetComponent.ctorParameters = function () { return [
888
+ { type: ElementRef, },
889
+ { type: Renderer2, },
890
+ { type: ViewContainerRef, },
891
+ { type: Injector, },
892
+ ]; };
893
+ SpreadsheetComponent.propDecorators = {
894
+ 'template': [{ type: ContentChild, args: ['template',] },],
895
+ };
896
+ __decorate$1([
897
+ Template(),
898
+ __metadata$1("design:type", Object)
899
+ ], SpreadsheetComponent.prototype, "template", void 0);
900
+ SpreadsheetComponent = __decorate$1([
901
+ ComponentMixins([ComponentBase]),
902
+ __metadata$1("design:paramtypes", [ElementRef,
903
+ Renderer2,
904
+ ViewContainerRef,
905
+ Injector])
906
+ ], SpreadsheetComponent);
907
+ /**
908
+ * NgModule definition for the Spreadsheet component.
909
+ */
910
+ var SpreadsheetModule = /** @class */ (function () {
911
+ function SpreadsheetModule() {
912
+ }
913
+ return SpreadsheetModule;
914
+ }());
915
+ SpreadsheetModule.decorators = [
916
+ { type: NgModule, args: [{
917
+ imports: [CommonModule],
918
+ declarations: [
919
+ SpreadsheetComponent,
920
+ ImageDirective,
921
+ ImagesDirective,
922
+ ChartDirective,
923
+ ChartsDirective,
924
+ RichTextDirective,
925
+ RichTextsDirective,
926
+ CellDirective,
927
+ CellsDirective,
928
+ RowDirective,
929
+ RowsDirective,
930
+ ColumnDirective,
931
+ ColumnsDirective,
932
+ RangeDirective,
933
+ RangesDirective,
934
+ ConditionalFormatDirective,
935
+ ConditionalFormatsDirective,
936
+ SheetDirective,
937
+ SheetsDirective,
938
+ DefinedNameDirective,
939
+ DefinedNamesDirective
940
+ ],
941
+ exports: [
942
+ SpreadsheetComponent,
943
+ ImageDirective,
944
+ ImagesDirective,
945
+ ChartDirective,
946
+ ChartsDirective,
947
+ RichTextDirective,
948
+ RichTextsDirective,
949
+ CellDirective,
950
+ CellsDirective,
951
+ RowDirective,
952
+ RowsDirective,
953
+ ColumnDirective,
954
+ ColumnsDirective,
955
+ RangeDirective,
956
+ RangesDirective,
957
+ ConditionalFormatDirective,
958
+ ConditionalFormatsDirective,
959
+ SheetDirective,
960
+ SheetsDirective,
961
+ DefinedNameDirective,
962
+ DefinedNamesDirective
963
+ ]
964
+ },] },
965
+ ];
966
+ /**
967
+ * @nocollapse
968
+ */
969
+ SpreadsheetModule.ctorParameters = function () { return []; };
970
+ var ClipboardService = { provide: 'SpreadsheetClipboard', useValue: Clipboard };
971
+ var EditService = { provide: 'SpreadsheetEdit', useValue: Edit };
972
+ var KeyboardNavigationService = { provide: 'SpreadsheetKeyboardNavigation', useValue: KeyboardNavigation };
973
+ var KeyboardShortcutService = { provide: 'SpreadsheetKeyboardShortcut', useValue: KeyboardShortcut };
974
+ var SelectionService = { provide: 'SpreadsheetSelection', useValue: Selection };
975
+ var ContextMenuService = { provide: 'SpreadsheetContextMenu', useValue: ContextMenu };
976
+ var FormulaBarService = { provide: 'SpreadsheetFormulaBar', useValue: FormulaBar };
977
+ var RibbonService = { provide: 'SpreadsheetRibbon', useValue: Ribbon };
978
+ var SaveService = { provide: 'SpreadsheetSave', useValue: Save };
979
+ var OpenService = { provide: 'SpreadsheetOpen', useValue: Open };
980
+ var SheetTabsService = { provide: 'SpreadsheetSheetTabs', useValue: SheetTabs };
981
+ var DataBindService = { provide: 'SpreadsheetDataBind', useValue: DataBind };
982
+ var CellFormatService = { provide: 'SpreadsheetCellFormat', useValue: CellFormat };
983
+ var NumberFormatService = { provide: 'SpreadsheetNumberFormat', useValue: NumberFormat };
984
+ var FormulaService = { provide: 'SpreadsheetFormula', useValue: Formula };
985
+ var AIAssistService = { provide: 'SpreadsheetAIAssist', useValue: AIAssist };
986
+ /**
987
+ * NgModule definition for the Spreadsheet component with providers.
988
+ */
989
+ var SpreadsheetAllModule = /** @class */ (function () {
990
+ function SpreadsheetAllModule() {
991
+ }
992
+ return SpreadsheetAllModule;
993
+ }());
994
+ SpreadsheetAllModule.decorators = [
995
+ { type: NgModule, args: [{
996
+ imports: [CommonModule, SpreadsheetModule],
997
+ exports: [
998
+ SpreadsheetModule
999
+ ],
1000
+ providers: [
1001
+ ClipboardService,
1002
+ EditService,
1003
+ KeyboardNavigationService,
1004
+ KeyboardShortcutService,
1005
+ SelectionService,
1006
+ ContextMenuService,
1007
+ FormulaBarService,
1008
+ RibbonService,
1009
+ SaveService,
1010
+ OpenService,
1011
+ SheetTabsService,
1012
+ DataBindService,
1013
+ CellFormatService,
1014
+ NumberFormatService,
1015
+ FormulaService,
1016
+ AIAssistService
1017
+ ]
1018
+ },] },
1019
+ ];
1020
+ /**
1021
+ * @nocollapse
1022
+ */
1023
+ SpreadsheetAllModule.ctorParameters = function () { return []; };
1024
+ /**
1025
+ * Generated bundle index. Do not edit.
1026
+ */
1027
+ export { ImageDirective, ImagesDirective, ChartDirective, ChartsDirective, RichTextDirective, RichTextsDirective, CellDirective, CellsDirective, RowDirective, RowsDirective, ColumnDirective, ColumnsDirective, RangeDirective, RangesDirective, ConditionalFormatDirective, ConditionalFormatsDirective, SheetDirective, SheetsDirective, DefinedNameDirective, DefinedNamesDirective, SpreadsheetComponent, SpreadsheetModule, SpreadsheetAllModule, ClipboardService, EditService, KeyboardNavigationService, KeyboardShortcutService, SelectionService, ContextMenuService, FormulaBarService, RibbonService, SaveService, OpenService, SheetTabsService, DataBindService, CellFormatService, NumberFormatService, FormulaService, AIAssistService, inputs as ɵa, outputs$10 as ɵb };
1028
+ export { Workbook, Range, UsedRange, Sheet, getSheetIndex, getSheetIndexFromId, getSheetNameFromAddress, getSheetIndexByName, updateSelectedRange, getSelectedRange, getSheet, getSheetNameCount, getMaxSheetId, initSheet, getSheetName, moveSheet, duplicateSheet, Row, getRow, setRow, isHiddenRow, isFilterHidden, getRowHeight, setRowHeight, getRowsHeight, Column, getColumn, setColumn, getColumnWidth, getColumnsWidth, isHiddenCol, checkColumnValidation, Cell, getCell, setCell, skipDefaultValue, wrap, getColorCode, getCustomColors, isCustomDateTime, OpenSettings, getData, getValueFromFormat, getModel, processIdx, getRangeIndexes, getCellIndexes, getColIndex, getCellAddress, getRangeAddress, getColumnHeaderText, getIndexesFromAddress, getRangeFromAddress, getAddressFromSelectedRange, getAddressInfo, getSheetIndexFromAddress, getSwapRange, isSingleCell, executeTaskAsync, getWorkbookRequiredModules, CellStyle, FilterCollection, SortCollection, DefineName, ProtectSettings, Hyperlink, Validation, Format, ConditionalFormat, LegendSettings, DataLabelSettings, Border, MarkerSettings, MajorGridLines, MinorGridLines, Axis, Chart, Image, RichText, CommentReply, ThreadedComment, AutoFillSettings, workbookDestroyed, updateSheetFromDataSource, dataSourceChanged, dataChanged, triggerDataChange, workbookOpen, beginSave, beginAction, sortImport, findToolDlg, exportDialog, setFilteredCollection, saveCompleted, applyNumberFormatting, getFormattedCellObject, calculateFormula, refreshCellElement, setCellFormat, findAllValues, textDecorationUpdate, applyCellFormat, updateUsedRange, updateRowColCount, workbookFormulaOperation, workbookEditOperation, checkDateFormat, checkNumberFormat, parseDecimalNumber, getFormattedBarText, activeCellChanged, openSuccess, openFailure, sheetCreated, sheetsDestroyed, aggregateComputation, getUniqueRange, getSortRange, removeUniquecol, removeSortcol, checkUniqueRange, checkSortRange, reApplyFormula, clearFormulaDependentCells, formulaInValidation, beforeSort, initiateSort, updateSortedDataOnCell, sortComplete, sortRangeAlert, initiatelink, beforeHyperlinkCreate, afterHyperlinkCreate, beforeHyperlinkClick, afterHyperlinkClick, addHyperlink, setLinkModel, beforeFilter, initiateFilter, filterComplete, filterRangeAlert, clearAllFilter, wrapEvent, onSave, insert, deleteAction, insertModel, deleteModel, isValidation, cellValidation, addHighlight, dataValidate, find, goto, findWorkbookHandler, replace, replaceAll, showFindAlert, findKeyUp, removeHighlight, queryCellInfo, count, findCount, protectSheetWorkBook, updateToggle, protectsheetHandler, replaceAllDialog, unprotectsheetHandler, workBookeditAlert, workbookReadonlyAlert, setLockCells, applyLockCells, setMerge, applyMerge, mergedRange, activeCellMergedRange, insertMerge, hideShow, setCFRule, applyCF, clearCFRule, clear, clearCF, setImage, setChart, initiateChart, refreshRibbonIcons, refreshChart, refreshChartSize, deleteChartColl, initiateChartModel, focusChartBorder, saveError, updateHighlight, beforeInsert, beforeDelete, deleteHyperlink, moveOrDuplicateSheet, setAutoFill, refreshCell, getFillInfo, getautofillDDB, rowFillHandler, getTextSpace, refreshClipboard, updateView, selectionComplete, refreshInsertDelete, getUpdatedFormulaOnInsertDelete, beforeCellUpdate, duplicateSheetFilterHandler, unMerge, checkFormulaRef, parseFormulaArgument, getCellRefValue, commputeFormulaValue, getChartRowIdxFromClientY, getChartColIdxFromClientX, refreshChartCellOnInit, localizedFormatAction, moveSheetHandler, addListValidationDropdown, sheetRenameUpdate, updateSortCollection, importModelUpdate, checkIsFormula, isCellReference, isChar, isRowSelected, isColumnSelected, inRange, isInMultipleRange, isInRange, getSplittedAddressForColumn, isLocked, isValidCellReference, columnIndex, skipHiddenIdx, isHeightCheckNeeded, getUpdatedFormula, getLeadingSpaces, getTrailingSpaces, updateCell, getSortedIndex, getDataRange, insertFormatRange, deleteFormatRange, updateCFModel, checkRange, parseLocaleNumber, getViewportIndexes, setVisibleMergeIndex, isImported, getAutoDetectFormatParser, applyPredicates, isReadOnly, isReadOnlyCells, getUpdatedRange, addDPRValue, updateMergeBorder, getISOTime, generateHashSaltValue, toFraction, getGcd, intToDate, dateToInt, isDateTime, isNumber, evaluate, toDate, parseIntValue, workbookLocale, localeData, DataBind, WorkbookOpen, WorkbookSave, WorkbookFormula, WorkbookNumberFormat, getFormatFromType, getTypeFromFormat, convertToDefaultFormat, configureLocalizedFormat, WorkbookSort, WorkbookFilter, WorkbookImage, WorkbookChart, WorkbookCellFormat, WorkbookEdit, WorkbookHyperlink, WorkbookInsert, WorkbookDelete, WorkbookDataValidation, WorkbookFindAndReplace, WorkbookProtectSheet, WorkbookMerge, WorkbookConditionalFormat, WorkbookAutoFill, getRequiredModules, ribbon, formulaBar, sheetTabs, refreshSheetTabs, isFormulaBarEdit, contentLoaded, mouseDown, spreadsheetDestroyed, editOperation, formulaOperation, formulaBarOperation, click, keyUp, keyDown, formulaKeyUp, formulaBarUpdate, onVerticalScroll, onHorizontalScroll, focusRenameInput, beforeContentLoaded, beforeVirtualContentLoaded, virtualContentLoaded, contextMenuOpen, cellNavigate, mouseUpAfterSelection, cMenuBeforeOpen, insertSheetTab, removeSheetTab, renameSheetTab, ribbonClick, refreshRibbon, enableToolbarItems, tabSwitch, showAIAssistPane, executePrompt, selectRange, rangeSelectionByKeydown, cut, copy, paste, clearCopy, dataBound, beforeDataBound, addContextMenuItems, removeContextMenuItems, enableContextMenuItems, enableFileMenuItems, hideFileMenuItems, addFileMenuItems, hideRibbonTabs, enableRibbonTabs, addRibbonTabs, addToolbarItems, hideToolbarItems, beforeRibbonCreate, rowHeightChanged, colWidthChanged, onContentScroll, deInitProperties, activeSheetChanged, initiateCustomSort, applySort, collaborativeUpdate, autoFit, refreshFilterCellsOnResize, updateToggleItem, initiateHyperlink, editHyperlink, openHyperlink, addNote, editNote, deleteNote, showNote, showHideNote, navigateNextPrevNote, showAllNotes, processSheetNotes, noteUndoRedo, createNoteIndicator, updateNoteContainer, removeNoteContainer, initiateComment, replyToComment, showCommentsPane, navigateNextPrevComment, refreshCommentsPane, deleteComment, createCommentIndicator, removeCommentContainer, processSheetComments, commentUndoRedo, removeHyperlink, createHyperlinkElement, sheetNameUpdate, hideSheet, performUndoRedo, updateUndoRedoCollection, setActionData, getBeforeActionData, clearUndoRedoCollection, initiateFilterUI, renderFilterCell, refreshFilterRange, reapplyFilter, filterByCellValue, clearFilter, getFilteredColumn, completeAction, filterCellKeyDown, getFilterRange, setAutoFit, refreshFormulaDatasource, initiateDataValidation, validationError, startEdit, invalidData, clearInvalid, protectSheet, applyProtect, unprotectSheet, protectCellFormat, gotoDlg, findDlg, findHandler, created, spreadsheetCreated, editAlert, readonlyAlert, finiteAlert, setUndoRedo, enableFormulaInput, protectSelection, hiddenMerge, checkPrevMerge, checkMerge, removeDataValidation, showAggregate, goToSheet, showSheet, renderCFDlg, clearViewer, initiateFormulaReference, initiateCur, clearCellRef, editValue, addressHandle, initiateEdit, forRefSelRender, insertImage, refreshOverlayElem, renderSidePanel, refreshImgCellObj, getRowIdxFromClientY, getColIdxFromClientX, createImageElement, deleteImage, deleteChart, refreshChartCellObj, refreshChartCellModel, refreshImagePosition, updateTableWidth, focusBorder, clearChartBorder, insertChart, chartRangeSelection, insertDesignChart, removeDesignChart, chartDesignTab, undoRedoForChartDesign, protectWorkbook, unProtectWorkbook, setProtectWorkbook, removeWorkbookProtection, importProtectWorkbook, selectionStatus, freeze, overlayEleSize, updateScroll, positionAutoFillElement, hideAutoFillOptions, performAutoFill, selectAutoFillRange, autoFill, hideAutoFillElement, unProtectSheetPassword, updateTranslate, getUpdatedScrollPosition, updateScrollValue, beforeCheckboxRender, refreshCheckbox, renderInsertDlg, toggleProtect, propertyChange, updateWrapCell, getUpdateUsingRaf, disableSpreadsheetRaf, removeAllChildren, getColGroupWidth, getScrollBarWidth, getSiblingsHeight, inView, getCellPosition, setPosition, removeRangeEle, locateElem, setStyleAttribute, getStartEvent, getMoveEvent, getEndEvent, isTouchStart, isTouchMove, isTouchEnd, isMouseDown, isMouseMove, isMouseUp, isNavigationKey, getClientX, getClientY, getPageX, getPageY, getDPRValue, setAriaOptions, destroyComponent, setResize, setWidthAndHeight, setTextLineHeight, findMaxValue, updateAction, hasTemplate, setRowEleHeight, adjustImageTopPosition, getTextHeight, getLineHeight, getTextWidth, getLines, getBorderWidth, getBorderHeight, getExcludedColumnWidth, getTextHeightWithBorder, setMaxHgt, getMaxHgt, focus, isLockedCells, isDiscontinuousRange, clearRange, getBottomOffset, getRightIdx, setColMinWidth, getSheetProperties, getChartsIndexes, isColumnRange, isRowRange, setStandardHeight, getStandardHeight, getDefaultHeight, removeElements, isValidUrl, getHashPassword, ScrollSettings, SelectionSettings, AIAssistSettings, DISABLED, WRAPTEXT, locale, dialog, actionEvents, overlay, fontColor, fillColor, keyCodes, defaultLocale, Spreadsheet, Clipboard, Edit, Selection, Scroll, VirtualScroll, KeyboardNavigation, KeyboardShortcut, CellFormat, Resize, ShowHide, SpreadsheetHyperlink, UndoRedo, WrapText, Insert, Delete, DataValidation, ProtectSheet, FindAndReplace, Merge, ConditionalFormatting, AutoFill, SpreadsheetNote, SpreadsheetComment, Ribbon, FormulaBar, Formula, SheetTabs, Open, Save, ContextMenu, NumberFormat, Sort, Filter, SpreadsheetImage, SpreadsheetChart, AIAssist, Render, SheetRender, RowRenderer, CellRenderer, Calculate, FormulaError, FormulaInfo, CalcSheetFamilyItem, getAlphalabel, ValueChangedArgs, Parser, CalculateCommon, isUndefined, getSkeletonVal, isExternalFileLink, CommonErrors, FormulasErrorsStrings, ExcelFileFormats, BasicFormulas } from '@syncfusion/ej2-spreadsheet';
962
1029
  //# sourceMappingURL=ej2-angular-spreadsheet.es5.js.map