@syncfusion/ej2-angular-spreadsheet 31.2.10 → 31.2.12-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.
- package/@syncfusion/ej2-angular-spreadsheet.es5.js +962 -0
- package/@syncfusion/ej2-angular-spreadsheet.es5.js.map +1 -0
- package/@syncfusion/ej2-angular-spreadsheet.js +902 -0
- package/@syncfusion/ej2-angular-spreadsheet.js.map +1 -0
- package/LICENSE +10 -0
- package/README.md +2 -9
- package/dist/ej2-angular-spreadsheet.umd.js +1602 -0
- package/dist/ej2-angular-spreadsheet.umd.js.map +1 -0
- package/dist/ej2-angular-spreadsheet.umd.min.js +11 -0
- package/dist/ej2-angular-spreadsheet.umd.min.js.map +1 -0
- package/ej2-angular-spreadsheet.d.ts +5 -0
- package/ej2-angular-spreadsheet.metadata.json +1 -0
- package/package.json +10 -23
- package/public_api.d.ts +1 -1
- package/schematics/utils/lib-details.js +2 -2
- package/schematics/utils/lib-details.ts +2 -2
- package/src/index.d.ts +13 -13
- package/src/spreadsheet/cells.directive.d.ts +115 -120
- package/src/spreadsheet/chart.directive.d.ts +79 -84
- package/src/spreadsheet/columns.directive.d.ts +71 -76
- package/src/spreadsheet/conditionalformats.directive.d.ts +55 -60
- package/src/spreadsheet/definednames.directive.d.ts +49 -54
- package/src/spreadsheet/image.directive.d.ts +48 -53
- package/src/spreadsheet/ranges.directive.d.ts +68 -73
- package/src/spreadsheet/rows.directive.d.ts +69 -74
- package/src/spreadsheet/sheets.directive.d.ts +149 -154
- package/src/spreadsheet/spreadsheet-all.module.d.ts +21 -27
- package/src/spreadsheet/spreadsheet.component.d.ts +69 -72
- package/src/spreadsheet/spreadsheet.module.d.ts +5 -20
- package/CHANGELOG.md +0 -1580
- package/esm2020/public_api.mjs +0 -2
- package/esm2020/src/index.mjs +0 -14
- package/esm2020/src/spreadsheet/cells.directive.mjs +0 -71
- package/esm2020/src/spreadsheet/chart.directive.mjs +0 -46
- package/esm2020/src/spreadsheet/columns.directive.mjs +0 -61
- package/esm2020/src/spreadsheet/conditionalformats.directive.mjs +0 -61
- package/esm2020/src/spreadsheet/definednames.directive.mjs +0 -58
- package/esm2020/src/spreadsheet/image.directive.mjs +0 -46
- package/esm2020/src/spreadsheet/ranges.directive.mjs +0 -69
- package/esm2020/src/spreadsheet/rows.directive.mjs +0 -65
- package/esm2020/src/spreadsheet/sheets.directive.mjs +0 -68
- package/esm2020/src/spreadsheet/spreadsheet-all.module.mjs +0 -71
- package/esm2020/src/spreadsheet/spreadsheet.component.mjs +0 -181
- package/esm2020/src/spreadsheet/spreadsheet.module.mjs +0 -106
- package/esm2020/syncfusion-ej2-angular-spreadsheet.mjs +0 -5
- package/fesm2015/syncfusion-ej2-angular-spreadsheet.mjs +0 -854
- package/fesm2015/syncfusion-ej2-angular-spreadsheet.mjs.map +0 -1
- package/fesm2020/syncfusion-ej2-angular-spreadsheet.mjs +0 -854
- package/fesm2020/syncfusion-ej2-angular-spreadsheet.mjs.map +0 -1
- package/syncfusion-ej2-angular-spreadsheet.d.ts +0 -5
|
@@ -0,0 +1,962 @@
|
|
|
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, 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';
|
|
962
|
+
//# sourceMappingURL=ej2-angular-spreadsheet.es5.js.map
|