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