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