@syncfusion/ej2-angular-spreadsheet 20.4.40 → 20.4.42-ngcc

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) hide show
  1. package/@syncfusion/ej2-angular-spreadsheet.es5.js +989 -0
  2. package/@syncfusion/ej2-angular-spreadsheet.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-spreadsheet.js +929 -0
  4. package/@syncfusion/ej2-angular-spreadsheet.js.map +1 -0
  5. package/CHANGELOG.md +1377 -0
  6. package/README.md +1 -1
  7. package/dist/ej2-angular-spreadsheet.umd.js +1583 -0
  8. package/dist/ej2-angular-spreadsheet.umd.js.map +1 -0
  9. package/dist/ej2-angular-spreadsheet.umd.min.js +11 -0
  10. package/dist/ej2-angular-spreadsheet.umd.min.js.map +1 -0
  11. package/ej2-angular-spreadsheet.d.ts +5 -0
  12. package/ej2-angular-spreadsheet.metadata.json +1 -0
  13. package/package.json +17 -45
  14. package/postinstall/tagchange.js +18 -0
  15. package/schematics/utils/lib-details.d.ts +2 -2
  16. package/schematics/utils/lib-details.js +2 -2
  17. package/schematics/utils/lib-details.ts +2 -2
  18. package/src/spreadsheet/cells.directive.d.ts +0 -5
  19. package/src/spreadsheet/chart.directive.d.ts +0 -5
  20. package/src/spreadsheet/columns.directive.d.ts +0 -5
  21. package/src/spreadsheet/conditionalformats.directive.d.ts +0 -5
  22. package/src/spreadsheet/definednames.directive.d.ts +0 -5
  23. package/src/spreadsheet/image.directive.d.ts +0 -5
  24. package/src/spreadsheet/ranges.directive.d.ts +0 -5
  25. package/src/spreadsheet/rows.directive.d.ts +0 -5
  26. package/src/spreadsheet/sheets.directive.d.ts +0 -5
  27. package/src/spreadsheet/spreadsheet-all.module.d.ts +0 -6
  28. package/src/spreadsheet/spreadsheet.component.d.ts +0 -3
  29. package/src/spreadsheet/spreadsheet.module.d.ts +0 -15
  30. package/styles/ribbon/bootstrap-dark.scss +1 -4
  31. package/styles/ribbon/bootstrap.scss +1 -4
  32. package/styles/ribbon/bootstrap4.scss +1 -4
  33. package/styles/ribbon/bootstrap5-dark.scss +1 -4
  34. package/styles/ribbon/bootstrap5.scss +1 -4
  35. package/styles/ribbon/fabric-dark.scss +1 -4
  36. package/styles/ribbon/fabric.scss +1 -4
  37. package/styles/ribbon/fluent-dark.scss +1 -4
  38. package/styles/ribbon/fluent.scss +1 -4
  39. package/styles/ribbon/highcontrast-light.scss +1 -3
  40. package/styles/ribbon/highcontrast.scss +1 -4
  41. package/styles/ribbon/material-dark.scss +1 -4
  42. package/styles/ribbon/material.scss +1 -4
  43. package/styles/ribbon/tailwind-dark.scss +1 -4
  44. package/styles/ribbon/tailwind.scss +1 -4
  45. package/styles/spreadsheet/bootstrap-dark.scss +1 -23
  46. package/styles/spreadsheet/bootstrap.scss +1 -23
  47. package/styles/spreadsheet/bootstrap4.scss +1 -23
  48. package/styles/spreadsheet/bootstrap5-dark.scss +1 -22
  49. package/styles/spreadsheet/bootstrap5.scss +1 -23
  50. package/styles/spreadsheet/fabric-dark.scss +1 -23
  51. package/styles/spreadsheet/fabric.scss +1 -23
  52. package/styles/spreadsheet/fluent-dark.scss +1 -22
  53. package/styles/spreadsheet/fluent.scss +1 -23
  54. package/styles/spreadsheet/highcontrast-light.scss +1 -22
  55. package/styles/spreadsheet/highcontrast.scss +1 -23
  56. package/styles/spreadsheet/material-dark.scss +1 -23
  57. package/styles/spreadsheet/material.scss +1 -23
  58. package/styles/spreadsheet/tailwind-dark.scss +1 -22
  59. package/styles/spreadsheet/tailwind.scss +1 -23
  60. package/esm2020/public_api.mjs +0 -3
  61. package/esm2020/src/index.mjs +0 -14
  62. package/esm2020/src/spreadsheet/cells.directive.mjs +0 -71
  63. package/esm2020/src/spreadsheet/chart.directive.mjs +0 -46
  64. package/esm2020/src/spreadsheet/columns.directive.mjs +0 -61
  65. package/esm2020/src/spreadsheet/conditionalformats.directive.mjs +0 -61
  66. package/esm2020/src/spreadsheet/definednames.directive.mjs +0 -58
  67. package/esm2020/src/spreadsheet/image.directive.mjs +0 -46
  68. package/esm2020/src/spreadsheet/ranges.directive.mjs +0 -69
  69. package/esm2020/src/spreadsheet/rows.directive.mjs +0 -65
  70. package/esm2020/src/spreadsheet/sheets.directive.mjs +0 -68
  71. package/esm2020/src/spreadsheet/spreadsheet-all.module.mjs +0 -80
  72. package/esm2020/src/spreadsheet/spreadsheet.component.mjs +0 -202
  73. package/esm2020/src/spreadsheet/spreadsheet.module.mjs +0 -106
  74. package/esm2020/syncfusion-ej2-angular-spreadsheet.mjs +0 -5
  75. package/fesm2015/syncfusion-ej2-angular-spreadsheet.mjs +0 -886
  76. package/fesm2015/syncfusion-ej2-angular-spreadsheet.mjs.map +0 -1
  77. package/fesm2020/syncfusion-ej2-angular-spreadsheet.mjs +0 -886
  78. package/fesm2020/syncfusion-ej2-angular-spreadsheet.mjs.map +0 -1
  79. package/styles/ribbon/_all.scss +0 -2
  80. package/styles/ribbon/_bootstrap-dark-definition.scss +0 -13
  81. package/styles/ribbon/_bootstrap-definition.scss +0 -12
  82. package/styles/ribbon/_bootstrap4-definition.scss +0 -13
  83. package/styles/ribbon/_bootstrap5-dark-definition.scss +0 -1
  84. package/styles/ribbon/_bootstrap5-definition.scss +0 -14
  85. package/styles/ribbon/_fabric-dark-definition.scss +0 -14
  86. package/styles/ribbon/_fabric-definition.scss +0 -14
  87. package/styles/ribbon/_fluent-dark-definition.scss +0 -1
  88. package/styles/ribbon/_fluent-definition.scss +0 -14
  89. package/styles/ribbon/_fusionnew-definition.scss +0 -14
  90. package/styles/ribbon/_highcontrast-definition.scss +0 -12
  91. package/styles/ribbon/_highcontrast-light-definition.scss +0 -12
  92. package/styles/ribbon/_layout.scss +0 -241
  93. package/styles/ribbon/_material-dark-definition.scss +0 -15
  94. package/styles/ribbon/_material-definition.scss +0 -12
  95. package/styles/ribbon/_material3-definition.scss +0 -15
  96. package/styles/ribbon/_mixin.scss +0 -89
  97. package/styles/ribbon/_tailwind-dark-definition.scss +0 -1
  98. package/styles/ribbon/_tailwind-definition.scss +0 -13
  99. package/styles/ribbon/_theme.scss +0 -154
  100. package/styles/ribbon/icons/_bootstrap-dark.scss +0 -15
  101. package/styles/ribbon/icons/_bootstrap.scss +0 -15
  102. package/styles/ribbon/icons/_bootstrap4.scss +0 -9
  103. package/styles/ribbon/icons/_bootstrap5-dark.scss +0 -1
  104. package/styles/ribbon/icons/_bootstrap5.scss +0 -15
  105. package/styles/ribbon/icons/_fabric-dark.scss +0 -9
  106. package/styles/ribbon/icons/_fabric.scss +0 -9
  107. package/styles/ribbon/icons/_fluent-dark.scss +0 -1
  108. package/styles/ribbon/icons/_fluent.scss +0 -15
  109. package/styles/ribbon/icons/_fusionnew.scss +0 -15
  110. package/styles/ribbon/icons/_highcontrast.scss +0 -9
  111. package/styles/ribbon/icons/_material-dark.scss +0 -15
  112. package/styles/ribbon/icons/_material.scss +0 -15
  113. package/styles/ribbon/icons/_material3.scss +0 -15
  114. package/styles/ribbon/icons/_tailwind-dark.scss +0 -15
  115. package/styles/ribbon/icons/_tailwind.scss +0 -15
  116. package/styles/spreadsheet/_all.scss +0 -2
  117. package/styles/spreadsheet/_bootstrap-dark-definition.scss +0 -154
  118. package/styles/spreadsheet/_bootstrap-definition.scss +0 -154
  119. package/styles/spreadsheet/_bootstrap4-definition.scss +0 -153
  120. package/styles/spreadsheet/_bootstrap5-dark-definition.scss +0 -1
  121. package/styles/spreadsheet/_bootstrap5-definition.scss +0 -156
  122. package/styles/spreadsheet/_fabric-dark-definition.scss +0 -151
  123. package/styles/spreadsheet/_fabric-definition.scss +0 -151
  124. package/styles/spreadsheet/_fluent-dark-definition.scss +0 -1
  125. package/styles/spreadsheet/_fluent-definition.scss +0 -152
  126. package/styles/spreadsheet/_fusionnew-definition.scss +0 -151
  127. package/styles/spreadsheet/_highcontrast-definition.scss +0 -150
  128. package/styles/spreadsheet/_highcontrast-light-definition.scss +0 -146
  129. package/styles/spreadsheet/_layout.scss +0 -3040
  130. package/styles/spreadsheet/_material-dark-definition.scss +0 -153
  131. package/styles/spreadsheet/_material-definition.scss +0 -151
  132. package/styles/spreadsheet/_material3-definition.scss +0 -151
  133. package/styles/spreadsheet/_tailwind-dark-definition.scss +0 -1
  134. package/styles/spreadsheet/_tailwind-definition.scss +0 -158
  135. package/styles/spreadsheet/_theme.scss +0 -1381
  136. package/styles/spreadsheet/icons/_bootstrap-dark.scss +0 -990
  137. package/styles/spreadsheet/icons/_bootstrap.scss +0 -990
  138. package/styles/spreadsheet/icons/_bootstrap4.scss +0 -994
  139. package/styles/spreadsheet/icons/_bootstrap5-dark.scss +0 -1
  140. package/styles/spreadsheet/icons/_bootstrap5.scss +0 -996
  141. package/styles/spreadsheet/icons/_fabric-dark.scss +0 -990
  142. package/styles/spreadsheet/icons/_fabric.scss +0 -994
  143. package/styles/spreadsheet/icons/_fluent-dark.scss +0 -1
  144. package/styles/spreadsheet/icons/_fluent.scss +0 -996
  145. package/styles/spreadsheet/icons/_fusionnew.scss +0 -996
  146. package/styles/spreadsheet/icons/_highcontrast.scss +0 -990
  147. package/styles/spreadsheet/icons/_material-dark.scss +0 -993
  148. package/styles/spreadsheet/icons/_material.scss +0 -995
  149. package/styles/spreadsheet/icons/_material3.scss +0 -996
  150. package/styles/spreadsheet/icons/_tailwind-dark.scss +0 -996
  151. package/styles/spreadsheet/icons/_tailwind.scss +0 -996
  152. package/syncfusion-ej2-angular-spreadsheet.d.ts +0 -5
@@ -1,886 +0,0 @@
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, CollaborativeEditing, Selection, ContextMenu, FormulaBar, Ribbon, Save, Open, SheetTabs, DataBind, AllModule, BasicModule, 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', '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", 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', '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", 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'];
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" }, 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', '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", 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', '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", 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', '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", 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', 'allowResizing', 'allowSave', 'allowScrolling', 'allowSorting', 'allowUndoRedo', 'allowWrap', 'autoFillSettings', 'cellStyle', 'cssClass', 'currencyCode', 'definedNames', 'enableClipboard', 'enableContextMenu', 'enableKeyboardNavigation', 'enableKeyboardShortcut', 'enablePersistence', 'enableRtl', 'height', 'isProtected', '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', '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('SpreadsheetCollaborativeEditing');
567
- if (this.injectedModules.indexOf(mod) === -1) {
568
- this.injectedModules.push(mod);
569
- }
570
- }
571
- catch { }
572
- try {
573
- let mod = this.injector.get('SpreadsheetSelection');
574
- if (this.injectedModules.indexOf(mod) === -1) {
575
- this.injectedModules.push(mod);
576
- }
577
- }
578
- catch { }
579
- try {
580
- let mod = this.injector.get('SpreadsheetContextMenu');
581
- if (this.injectedModules.indexOf(mod) === -1) {
582
- this.injectedModules.push(mod);
583
- }
584
- }
585
- catch { }
586
- try {
587
- let mod = this.injector.get('SpreadsheetFormulaBar');
588
- if (this.injectedModules.indexOf(mod) === -1) {
589
- this.injectedModules.push(mod);
590
- }
591
- }
592
- catch { }
593
- try {
594
- let mod = this.injector.get('SpreadsheetRibbon');
595
- if (this.injectedModules.indexOf(mod) === -1) {
596
- this.injectedModules.push(mod);
597
- }
598
- }
599
- catch { }
600
- try {
601
- let mod = this.injector.get('SpreadsheetSave');
602
- if (this.injectedModules.indexOf(mod) === -1) {
603
- this.injectedModules.push(mod);
604
- }
605
- }
606
- catch { }
607
- try {
608
- let mod = this.injector.get('SpreadsheetOpen');
609
- if (this.injectedModules.indexOf(mod) === -1) {
610
- this.injectedModules.push(mod);
611
- }
612
- }
613
- catch { }
614
- try {
615
- let mod = this.injector.get('SpreadsheetSheetTabs');
616
- if (this.injectedModules.indexOf(mod) === -1) {
617
- this.injectedModules.push(mod);
618
- }
619
- }
620
- catch { }
621
- try {
622
- let mod = this.injector.get('SpreadsheetDataBind');
623
- if (this.injectedModules.indexOf(mod) === -1) {
624
- this.injectedModules.push(mod);
625
- }
626
- }
627
- catch { }
628
- try {
629
- let mod = this.injector.get('SpreadsheetAllModule');
630
- if (this.injectedModules.indexOf(mod) === -1) {
631
- this.injectedModules.push(mod);
632
- }
633
- }
634
- catch { }
635
- try {
636
- let mod = this.injector.get('SpreadsheetBasicModule');
637
- if (this.injectedModules.indexOf(mod) === -1) {
638
- this.injectedModules.push(mod);
639
- }
640
- }
641
- catch { }
642
- try {
643
- let mod = this.injector.get('SpreadsheetCellFormat');
644
- if (this.injectedModules.indexOf(mod) === -1) {
645
- this.injectedModules.push(mod);
646
- }
647
- }
648
- catch { }
649
- try {
650
- let mod = this.injector.get('SpreadsheetNumberFormat');
651
- if (this.injectedModules.indexOf(mod) === -1) {
652
- this.injectedModules.push(mod);
653
- }
654
- }
655
- catch { }
656
- try {
657
- let mod = this.injector.get('SpreadsheetFormula');
658
- if (this.injectedModules.indexOf(mod) === -1) {
659
- this.injectedModules.push(mod);
660
- }
661
- }
662
- catch { }
663
- this.registerEvents(outputs);
664
- this.addTwoWay.call(this, twoWays);
665
- setValue('currentInstance', this, this.viewContainerRef);
666
- this.context = new ComponentBase();
667
- }
668
- ngOnInit() {
669
- this.context.ngOnInit(this);
670
- }
671
- ngAfterViewInit() {
672
- this.context.ngAfterViewInit(this);
673
- }
674
- ngOnDestroy() {
675
- this.context.ngOnDestroy(this);
676
- }
677
- ngAfterContentChecked() {
678
- this.tagObjects[0].instance = this.childSheets;
679
- if (this.childDefinedNames) {
680
- this.tagObjects[1].instance = this.childDefinedNames;
681
- }
682
- this.context.ngAfterContentChecked(this);
683
- }
684
- };
685
- 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 });
686
- 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", 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", enablePersistence: "enablePersistence", enableRtl: "enableRtl", height: "height", isProtected: "isProtected", 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", 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 });
687
- __decorate([
688
- Template()
689
- ], SpreadsheetComponent.prototype, "template", void 0);
690
- SpreadsheetComponent = __decorate([
691
- ComponentMixins([ComponentBase])
692
- ], SpreadsheetComponent);
693
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SpreadsheetComponent, decorators: [{
694
- type: Component,
695
- args: [{
696
- selector: 'ejs-spreadsheet',
697
- inputs: inputs,
698
- outputs: outputs,
699
- template: '',
700
- changeDetection: ChangeDetectionStrategy.OnPush,
701
- queries: {
702
- childSheets: new ContentChild(SheetsDirective),
703
- childDefinedNames: new ContentChild(DefinedNamesDirective)
704
- }
705
- }]
706
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { template: [{
707
- type: ContentChild,
708
- args: ['template']
709
- }] } });
710
-
711
- /**
712
- * NgModule definition for the Spreadsheet component.
713
- */
714
- class SpreadsheetModule {
715
- }
716
- SpreadsheetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SpreadsheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
717
- SpreadsheetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SpreadsheetModule, declarations: [SpreadsheetComponent,
718
- ImageDirective,
719
- ImagesDirective,
720
- ChartDirective,
721
- ChartsDirective,
722
- CellDirective,
723
- CellsDirective,
724
- RowDirective,
725
- RowsDirective,
726
- ColumnDirective,
727
- ColumnsDirective,
728
- RangeDirective,
729
- RangesDirective,
730
- ConditionalFormatDirective,
731
- ConditionalFormatsDirective,
732
- SheetDirective,
733
- SheetsDirective,
734
- DefinedNameDirective,
735
- DefinedNamesDirective], imports: [CommonModule], exports: [SpreadsheetComponent,
736
- ImageDirective,
737
- ImagesDirective,
738
- ChartDirective,
739
- ChartsDirective,
740
- CellDirective,
741
- CellsDirective,
742
- RowDirective,
743
- RowsDirective,
744
- ColumnDirective,
745
- ColumnsDirective,
746
- RangeDirective,
747
- RangesDirective,
748
- ConditionalFormatDirective,
749
- ConditionalFormatsDirective,
750
- SheetDirective,
751
- SheetsDirective,
752
- DefinedNameDirective,
753
- DefinedNamesDirective] });
754
- SpreadsheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SpreadsheetModule, imports: [[CommonModule]] });
755
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SpreadsheetModule, decorators: [{
756
- type: NgModule,
757
- args: [{
758
- imports: [CommonModule],
759
- declarations: [
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
- exports: [
781
- SpreadsheetComponent,
782
- ImageDirective,
783
- ImagesDirective,
784
- ChartDirective,
785
- ChartsDirective,
786
- CellDirective,
787
- CellsDirective,
788
- RowDirective,
789
- RowsDirective,
790
- ColumnDirective,
791
- ColumnsDirective,
792
- RangeDirective,
793
- RangesDirective,
794
- ConditionalFormatDirective,
795
- ConditionalFormatsDirective,
796
- SheetDirective,
797
- SheetsDirective,
798
- DefinedNameDirective,
799
- DefinedNamesDirective
800
- ]
801
- }]
802
- }] });
803
-
804
- const ClipboardService = { provide: 'SpreadsheetClipboard', useValue: Clipboard };
805
- const EditService = { provide: 'SpreadsheetEdit', useValue: Edit };
806
- const KeyboardNavigationService = { provide: 'SpreadsheetKeyboardNavigation', useValue: KeyboardNavigation };
807
- const KeyboardShortcutService = { provide: 'SpreadsheetKeyboardShortcut', useValue: KeyboardShortcut };
808
- const CollaborativeEditingService = { provide: 'SpreadsheetCollaborativeEditing', useValue: CollaborativeEditing };
809
- const SelectionService = { provide: 'SpreadsheetSelection', useValue: Selection };
810
- const ContextMenuService = { provide: 'SpreadsheetContextMenu', useValue: ContextMenu };
811
- const FormulaBarService = { provide: 'SpreadsheetFormulaBar', useValue: FormulaBar };
812
- const RibbonService = { provide: 'SpreadsheetRibbon', useValue: Ribbon };
813
- const SaveService = { provide: 'SpreadsheetSave', useValue: Save };
814
- const OpenService = { provide: 'SpreadsheetOpen', useValue: Open };
815
- const SheetTabsService = { provide: 'SpreadsheetSheetTabs', useValue: SheetTabs };
816
- const DataBindService = { provide: 'SpreadsheetDataBind', useValue: DataBind };
817
- const AllModuleService = { provide: 'SpreadsheetAllModule', useValue: AllModule };
818
- const BasicModuleService = { provide: 'SpreadsheetBasicModule', useValue: BasicModule };
819
- const CellFormatService = { provide: 'SpreadsheetCellFormat', useValue: CellFormat };
820
- const NumberFormatService = { provide: 'SpreadsheetNumberFormat', useValue: NumberFormat };
821
- const FormulaService = { provide: 'SpreadsheetFormula', useValue: Formula };
822
- /**
823
- * NgModule definition for the Spreadsheet component with providers.
824
- */
825
- class SpreadsheetAllModule {
826
- }
827
- SpreadsheetAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SpreadsheetAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
828
- SpreadsheetAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SpreadsheetAllModule, imports: [CommonModule, SpreadsheetModule], exports: [SpreadsheetModule] });
829
- SpreadsheetAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SpreadsheetAllModule, providers: [
830
- ClipboardService,
831
- EditService,
832
- KeyboardNavigationService,
833
- KeyboardShortcutService,
834
- CollaborativeEditingService,
835
- SelectionService,
836
- ContextMenuService,
837
- FormulaBarService,
838
- RibbonService,
839
- SaveService,
840
- OpenService,
841
- SheetTabsService,
842
- DataBindService,
843
- AllModuleService,
844
- BasicModuleService,
845
- CellFormatService,
846
- NumberFormatService,
847
- FormulaService
848
- ], imports: [[CommonModule, SpreadsheetModule], SpreadsheetModule] });
849
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: SpreadsheetAllModule, decorators: [{
850
- type: NgModule,
851
- args: [{
852
- imports: [CommonModule, SpreadsheetModule],
853
- exports: [
854
- SpreadsheetModule
855
- ],
856
- providers: [
857
- ClipboardService,
858
- EditService,
859
- KeyboardNavigationService,
860
- KeyboardShortcutService,
861
- CollaborativeEditingService,
862
- SelectionService,
863
- ContextMenuService,
864
- FormulaBarService,
865
- RibbonService,
866
- SaveService,
867
- OpenService,
868
- SheetTabsService,
869
- DataBindService,
870
- AllModuleService,
871
- BasicModuleService,
872
- CellFormatService,
873
- NumberFormatService,
874
- FormulaService
875
- ]
876
- }]
877
- }] });
878
-
879
- // Mapping root file for package generation
880
-
881
- /**
882
- * Generated bundle index. Do not edit.
883
- */
884
-
885
- export { AllModuleService, BasicModuleService, CellDirective, CellFormatService, CellsDirective, ChartDirective, ChartsDirective, ClipboardService, CollaborativeEditingService, 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 };
886
- //# sourceMappingURL=syncfusion-ej2-angular-spreadsheet.mjs.map