@progress/kendo-angular-excel-export 17.0.0-develop.9 → 17.0.0
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/columns/column-base.d.ts +1 -1
- package/columns/column.component.d.ts +1 -1
- package/{esm2020 → esm2022}/columns/column-base.mjs +35 -6
- package/{esm2020 → esm2022}/columns/column-group.component.mjs +9 -8
- package/{esm2020 → esm2022}/columns/column.component.mjs +48 -8
- package/{esm2020 → esm2022}/columns/footer-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/columns/group-footer-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/columns/group-header-column-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/columns/group-header-template.directive.mjs +4 -3
- package/{esm2020 → esm2022}/excel-export.component.mjs +77 -18
- package/{esm2020 → esm2022}/excel-export.module.mjs +4 -4
- package/{esm2020 → esm2022}/ooxml/exporter-columns.mjs +15 -0
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/excel-export.component.d.ts +1 -1
- package/{fesm2020 → fesm2022}/progress-kendo-angular-excel-export.mjs +206 -58
- package/package.json +12 -18
- package/fesm2015/progress-kendo-angular-excel-export.mjs +0 -616
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/excel-export-data.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/ooxml/cell-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/ooxml/workbook.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-excel-export.mjs +0 -0
|
@@ -78,6 +78,21 @@ const destroyColumns = (columns) => {
|
|
|
78
78
|
* @hidden
|
|
79
79
|
*/
|
|
80
80
|
class ExporterColumn {
|
|
81
|
+
title;
|
|
82
|
+
field;
|
|
83
|
+
hidden;
|
|
84
|
+
locked;
|
|
85
|
+
width;
|
|
86
|
+
columns;
|
|
87
|
+
groupHeaderTemplate;
|
|
88
|
+
groupHeaderColumnTemplate;
|
|
89
|
+
groupFooterTemplate;
|
|
90
|
+
footerTemplate;
|
|
91
|
+
headerCellOptions;
|
|
92
|
+
cellOptions;
|
|
93
|
+
groupHeaderCellOptions;
|
|
94
|
+
groupFooterCellOptions;
|
|
95
|
+
footerCellOptions;
|
|
81
96
|
constructor(column, columnIndex) {
|
|
82
97
|
this.title = column.title;
|
|
83
98
|
this.field = column.field;
|
|
@@ -169,19 +184,48 @@ const isWorkbookOptions = (value) => {
|
|
|
169
184
|
* @hidden
|
|
170
185
|
*/
|
|
171
186
|
class ColumnBase {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
187
|
+
parent;
|
|
188
|
+
/**
|
|
189
|
+
* The title of the column.
|
|
190
|
+
*/
|
|
191
|
+
title;
|
|
192
|
+
/**
|
|
193
|
+
* The width of the column in pixels.
|
|
194
|
+
*/
|
|
195
|
+
width;
|
|
196
|
+
/**
|
|
197
|
+
* Toggles the locked (frozen) state of the column ([see example]({% slug columns_excel-export %}#toc-locked-state)).
|
|
198
|
+
*
|
|
199
|
+
* @default false
|
|
200
|
+
*/
|
|
201
|
+
locked;
|
|
202
|
+
/**
|
|
203
|
+
* Sets the visibility of the column ([see example]({% slug columns_excel-export %}#toc-hidden-state)).
|
|
204
|
+
*
|
|
205
|
+
* @default false
|
|
206
|
+
*/
|
|
207
|
+
hidden;
|
|
208
|
+
/**
|
|
209
|
+
* The options of the column header cell.
|
|
210
|
+
*/
|
|
211
|
+
headerCellOptions;
|
|
212
|
+
/**
|
|
213
|
+
* @hidden
|
|
214
|
+
*/
|
|
215
|
+
children;
|
|
175
216
|
/**
|
|
176
217
|
* @hidden
|
|
177
218
|
*/
|
|
178
219
|
get level() {
|
|
179
220
|
return this.parent ? this.parent.level + 1 : 0;
|
|
180
221
|
}
|
|
222
|
+
constructor(parent) {
|
|
223
|
+
this.parent = parent;
|
|
224
|
+
}
|
|
225
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnBase, deps: [{ token: ColumnBase }], target: i0.ɵɵFactoryTarget.Component });
|
|
226
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnBase, selector: "ng-component", inputs: { title: "title", width: "width", locked: "locked", hidden: "hidden", headerCellOptions: "headerCellOptions" }, queries: [{ propertyName: "children", predicate: ColumnBase }], ngImport: i0, template: '', isInline: true });
|
|
181
227
|
}
|
|
182
|
-
|
|
183
|
-
ColumnBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColumnBase, selector: "ng-component", inputs: { title: "title", width: "width", locked: "locked", hidden: "hidden", headerCellOptions: "headerCellOptions" }, queries: [{ propertyName: "children", predicate: ColumnBase }], ngImport: i0, template: '', isInline: true });
|
|
184
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnBase, decorators: [{
|
|
228
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnBase, decorators: [{
|
|
185
229
|
type: Component,
|
|
186
230
|
args: [{
|
|
187
231
|
template: ''
|
|
@@ -208,8 +252,8 @@ const packageMetadata = {
|
|
|
208
252
|
name: '@progress/kendo-angular-excel-export',
|
|
209
253
|
productName: 'Kendo UI for Angular',
|
|
210
254
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
211
|
-
publishDate:
|
|
212
|
-
version: '17.0.0
|
|
255
|
+
publishDate: 1731413986,
|
|
256
|
+
version: '17.0.0',
|
|
213
257
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
214
258
|
};
|
|
215
259
|
|
|
@@ -219,18 +263,77 @@ const packageMetadata = {
|
|
|
219
263
|
* Configures the settings for the Excel export of the Kendo UI Grid.
|
|
220
264
|
*/
|
|
221
265
|
class ExcelExportComponent {
|
|
266
|
+
localization;
|
|
267
|
+
zone;
|
|
268
|
+
/**
|
|
269
|
+
* Specifies the name of the file that is exported to Excel.
|
|
270
|
+
* @default "Export.xlsx"
|
|
271
|
+
*/
|
|
272
|
+
fileName = 'Export.xlsx';
|
|
273
|
+
/**
|
|
274
|
+
* Enables or disables the column filtering in the Excel file
|
|
275
|
+
* ([see example]({% slug filtering_excelexport %})).
|
|
276
|
+
*/
|
|
277
|
+
filterable;
|
|
278
|
+
/**
|
|
279
|
+
* Specifies if groups are collapsible in the excel file.
|
|
280
|
+
*/
|
|
281
|
+
collapsible;
|
|
282
|
+
/**
|
|
283
|
+
* The author of the workbook.
|
|
284
|
+
*/
|
|
285
|
+
creator;
|
|
286
|
+
/**
|
|
287
|
+
* The date on which the workbook is created.
|
|
288
|
+
* The default value is `new Date()`.
|
|
289
|
+
*/
|
|
290
|
+
date;
|
|
291
|
+
/**
|
|
292
|
+
* If `forceProxy` is set to `true`, the content is forwarded to `proxyURL`
|
|
293
|
+
* even if the browser supports the local saving of files.
|
|
294
|
+
*/
|
|
295
|
+
forceProxy;
|
|
296
|
+
/**
|
|
297
|
+
* The URL of the server-side proxy which will stream the file to the end user. When the browser is not
|
|
298
|
+
* capable of saving files locally—for example, Internet Explorer 9 and earlier, and Safari—a
|
|
299
|
+
* proxy is used. The implementation of the server-side proxy has to be done by you.
|
|
300
|
+
*
|
|
301
|
+
* The proxy receives a POST request with the following parameters in the request body:
|
|
302
|
+
* - `contentType`—The MIME type of the file.
|
|
303
|
+
* - `base64`—The base-64 encoded file content.
|
|
304
|
+
* - `fileName`—The file name, as requested by the caller.
|
|
305
|
+
* The proxy is expected to return the decoded file with the **Content-Disposition** header set to `attachment; filename="<fileName.xslx>"`.
|
|
306
|
+
*/
|
|
307
|
+
proxyURL;
|
|
308
|
+
/**
|
|
309
|
+
* The exported data. If grouped, the data must be structured as described by the
|
|
310
|
+
* [`GroupResult`]({% slug api_kendo-data-query_groupresult %}) option of the Kendo UI Data Query component.
|
|
311
|
+
*/
|
|
312
|
+
data;
|
|
313
|
+
/**
|
|
314
|
+
* The exported data groups. The groups must be compatible with the
|
|
315
|
+
* [`GroupDescriptor`]({% slug api_kendo-data-query_groupdescriptor %}) option of the Kendo UI Data Query component.
|
|
316
|
+
*/
|
|
317
|
+
group;
|
|
318
|
+
/**
|
|
319
|
+
* The options of the cells that are inserted before the data, group, and footer cells
|
|
320
|
+
* to indicate the group hierarchy when the data is grouped
|
|
321
|
+
* ([see example]({% slug cells_excelexport %}#toc-padding-cells)).
|
|
322
|
+
*/
|
|
323
|
+
paddingCellOptions;
|
|
324
|
+
/**
|
|
325
|
+
* The options of the cells that are inserted before the header cells
|
|
326
|
+
* to align the headers and the column values when the data is grouped
|
|
327
|
+
* ([see example]({% slug cells_excelexport %}#toc-header-padding-cells)).
|
|
328
|
+
*/
|
|
329
|
+
headerPaddingCellOptions;
|
|
330
|
+
/**
|
|
331
|
+
* @hidden
|
|
332
|
+
*/
|
|
333
|
+
columns = new QueryList();
|
|
222
334
|
constructor(localization, zone) {
|
|
223
335
|
this.localization = localization;
|
|
224
336
|
this.zone = zone;
|
|
225
|
-
/**
|
|
226
|
-
* Specifies the name of the file that is exported to Excel.
|
|
227
|
-
* @default "Export.xlsx"
|
|
228
|
-
*/
|
|
229
|
-
this.fileName = 'Export.xlsx';
|
|
230
|
-
/**
|
|
231
|
-
* @hidden
|
|
232
|
-
*/
|
|
233
|
-
this.columns = new QueryList();
|
|
234
337
|
validatePackage(packageMetadata);
|
|
235
338
|
this.saveFile = this.saveFile.bind(this);
|
|
236
339
|
}
|
|
@@ -305,16 +408,16 @@ class ExcelExportComponent {
|
|
|
305
408
|
proxyURL: this.proxyURL
|
|
306
409
|
});
|
|
307
410
|
}
|
|
411
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExcelExportComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
412
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ExcelExportComponent, isStandalone: true, selector: "kendo-excelexport", inputs: { fileName: "fileName", filterable: "filterable", collapsible: "collapsible", creator: "creator", date: "date", forceProxy: "forceProxy", proxyURL: "proxyURL", data: "data", group: "group", paddingCellOptions: "paddingCellOptions", headerPaddingCellOptions: "headerPaddingCellOptions" }, providers: [
|
|
413
|
+
LocalizationService,
|
|
414
|
+
{
|
|
415
|
+
provide: L10N_PREFIX,
|
|
416
|
+
useValue: 'kendo.excelexport'
|
|
417
|
+
}
|
|
418
|
+
], queries: [{ propertyName: "columns", predicate: ColumnBase, descendants: true }], exportAs: ["kendoExcelExport"], ngImport: i0, template: ``, isInline: true });
|
|
308
419
|
}
|
|
309
|
-
|
|
310
|
-
ExcelExportComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ExcelExportComponent, isStandalone: true, selector: "kendo-excelexport", inputs: { fileName: "fileName", filterable: "filterable", collapsible: "collapsible", creator: "creator", date: "date", forceProxy: "forceProxy", proxyURL: "proxyURL", data: "data", group: "group", paddingCellOptions: "paddingCellOptions", headerPaddingCellOptions: "headerPaddingCellOptions" }, providers: [
|
|
311
|
-
LocalizationService,
|
|
312
|
-
{
|
|
313
|
-
provide: L10N_PREFIX,
|
|
314
|
-
useValue: 'kendo.excelexport'
|
|
315
|
-
}
|
|
316
|
-
], queries: [{ propertyName: "columns", predicate: ColumnBase, descendants: true }], exportAs: ["kendoExcelExport"], ngImport: i0, template: ``, isInline: true });
|
|
317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExcelExportComponent, decorators: [{
|
|
420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExcelExportComponent, decorators: [{
|
|
318
421
|
type: Component,
|
|
319
422
|
args: [{
|
|
320
423
|
exportAs: 'kendoExcelExport',
|
|
@@ -362,13 +465,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
362
465
|
* Enables you to customize the footer cell of the column.
|
|
363
466
|
*/
|
|
364
467
|
class FooterTemplateDirective {
|
|
468
|
+
templateRef;
|
|
365
469
|
constructor(templateRef) {
|
|
366
470
|
this.templateRef = templateRef;
|
|
367
471
|
}
|
|
472
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FooterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
473
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoExcelExportFooterTemplate]", ngImport: i0 });
|
|
368
474
|
}
|
|
369
|
-
|
|
370
|
-
FooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FooterTemplateDirective, isStandalone: true, selector: "[kendoExcelExportFooterTemplate]", ngImport: i0 });
|
|
371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FooterTemplateDirective, decorators: [{
|
|
475
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FooterTemplateDirective, decorators: [{
|
|
372
476
|
type: Directive,
|
|
373
477
|
args: [{
|
|
374
478
|
selector: '[kendoExcelExportFooterTemplate]',
|
|
@@ -384,13 +488,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
384
488
|
* Enables you to customize the content of the group header item.
|
|
385
489
|
*/
|
|
386
490
|
class GroupHeaderTemplateDirective {
|
|
491
|
+
templateRef;
|
|
387
492
|
constructor(templateRef) {
|
|
388
493
|
this.templateRef = templateRef;
|
|
389
494
|
}
|
|
495
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupHeaderTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
496
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GroupHeaderTemplateDirective, isStandalone: true, selector: "[kendoExcelExportGroupHeaderTemplate]", ngImport: i0 });
|
|
390
497
|
}
|
|
391
|
-
|
|
392
|
-
GroupHeaderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GroupHeaderTemplateDirective, isStandalone: true, selector: "[kendoExcelExportGroupHeaderTemplate]", ngImport: i0 });
|
|
393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupHeaderTemplateDirective, decorators: [{
|
|
498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupHeaderTemplateDirective, decorators: [{
|
|
394
499
|
type: Directive,
|
|
395
500
|
args: [{
|
|
396
501
|
selector: '[kendoExcelExportGroupHeaderTemplate]',
|
|
@@ -405,13 +510,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
405
510
|
* ([see example]({% slug columns_excel-export %}#toc-group-header-column-template)).
|
|
406
511
|
*/
|
|
407
512
|
class GroupHeaderColumnTemplateDirective {
|
|
513
|
+
templateRef;
|
|
408
514
|
constructor(templateRef) {
|
|
409
515
|
this.templateRef = templateRef;
|
|
410
516
|
}
|
|
517
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupHeaderColumnTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
518
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GroupHeaderColumnTemplateDirective, isStandalone: true, selector: "[kendoExcelExportGroupHeaderColumnTemplate]", ngImport: i0 });
|
|
411
519
|
}
|
|
412
|
-
|
|
413
|
-
GroupHeaderColumnTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GroupHeaderColumnTemplateDirective, isStandalone: true, selector: "[kendoExcelExportGroupHeaderColumnTemplate]", ngImport: i0 });
|
|
414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupHeaderColumnTemplateDirective, decorators: [{
|
|
520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupHeaderColumnTemplateDirective, decorators: [{
|
|
415
521
|
type: Directive,
|
|
416
522
|
args: [{
|
|
417
523
|
selector: '[kendoExcelExportGroupHeaderColumnTemplate]',
|
|
@@ -427,13 +533,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
427
533
|
* Enables you to customize the group footer cell of the column.
|
|
428
534
|
*/
|
|
429
535
|
class GroupFooterTemplateDirective {
|
|
536
|
+
templateRef;
|
|
430
537
|
constructor(templateRef) {
|
|
431
538
|
this.templateRef = templateRef;
|
|
432
539
|
}
|
|
540
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupFooterTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
541
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GroupFooterTemplateDirective, isStandalone: true, selector: "[kendoExcelExportGroupFooterTemplate]", ngImport: i0 });
|
|
433
542
|
}
|
|
434
|
-
|
|
435
|
-
GroupFooterTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: GroupFooterTemplateDirective, isStandalone: true, selector: "[kendoExcelExportGroupFooterTemplate]", ngImport: i0 });
|
|
436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: GroupFooterTemplateDirective, decorators: [{
|
|
543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupFooterTemplateDirective, decorators: [{
|
|
437
544
|
type: Directive,
|
|
438
545
|
args: [{
|
|
439
546
|
selector: '[kendoExcelExportGroupFooterTemplate]',
|
|
@@ -447,18 +554,58 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
447
554
|
* Represents the columns of the Kendo UI Excel Export component for Angular.
|
|
448
555
|
*/
|
|
449
556
|
class ColumnComponent extends ColumnBase {
|
|
557
|
+
/**
|
|
558
|
+
* The field to which the column is bound.
|
|
559
|
+
*/
|
|
560
|
+
field;
|
|
561
|
+
/**
|
|
562
|
+
* The options of the column data cells
|
|
563
|
+
* ([see example]({% slug cells_excelexport %}#toc-data-cells)).
|
|
564
|
+
*/
|
|
565
|
+
cellOptions;
|
|
566
|
+
/**
|
|
567
|
+
* The options of the column group header cells
|
|
568
|
+
* ([see example]({% slug cells_excelexport %}#toc-header-cells)).
|
|
569
|
+
*/
|
|
570
|
+
groupHeaderCellOptions;
|
|
571
|
+
/**
|
|
572
|
+
* The options of the column group footer cells
|
|
573
|
+
* ([see example]({% slug cells_excelexport %}#toc-group-footer-cells)).
|
|
574
|
+
*/
|
|
575
|
+
groupFooterCellOptions;
|
|
576
|
+
/**
|
|
577
|
+
* The options of the column footer cell
|
|
578
|
+
* ([see example]({% slug cells_excelexport %}#toc-footer-cells)).
|
|
579
|
+
*/
|
|
580
|
+
footerCellOptions;
|
|
581
|
+
/**
|
|
582
|
+
* @hidden
|
|
583
|
+
*/
|
|
584
|
+
groupHeaderTemplate;
|
|
585
|
+
/**
|
|
586
|
+
* @hidden
|
|
587
|
+
*/
|
|
588
|
+
groupHeaderColumnTemplate;
|
|
589
|
+
/**
|
|
590
|
+
* @hidden
|
|
591
|
+
*/
|
|
592
|
+
groupFooterTemplate;
|
|
593
|
+
/**
|
|
594
|
+
* @hidden
|
|
595
|
+
*/
|
|
596
|
+
footerTemplate;
|
|
450
597
|
constructor(parent) {
|
|
451
598
|
super(parent);
|
|
452
599
|
}
|
|
600
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnComponent, deps: [{ token: ColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
601
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnComponent, isStandalone: true, selector: "kendo-excelexport-column", inputs: { field: "field", cellOptions: "cellOptions", groupHeaderCellOptions: "groupHeaderCellOptions", groupFooterCellOptions: "groupFooterCellOptions", footerCellOptions: "footerCellOptions" }, providers: [
|
|
602
|
+
{
|
|
603
|
+
provide: ColumnBase,
|
|
604
|
+
useExisting: forwardRef(() => ColumnComponent)
|
|
605
|
+
}
|
|
606
|
+
], queries: [{ propertyName: "groupHeaderTemplate", first: true, predicate: GroupHeaderTemplateDirective, descendants: true }, { propertyName: "groupHeaderColumnTemplate", first: true, predicate: GroupHeaderColumnTemplateDirective, descendants: true }, { propertyName: "groupFooterTemplate", first: true, predicate: GroupFooterTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
453
607
|
}
|
|
454
|
-
|
|
455
|
-
ColumnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColumnComponent, isStandalone: true, selector: "kendo-excelexport-column", inputs: { field: "field", cellOptions: "cellOptions", groupHeaderCellOptions: "groupHeaderCellOptions", groupFooterCellOptions: "groupFooterCellOptions", footerCellOptions: "footerCellOptions" }, providers: [
|
|
456
|
-
{
|
|
457
|
-
provide: ColumnBase,
|
|
458
|
-
useExisting: forwardRef(() => ColumnComponent)
|
|
459
|
-
}
|
|
460
|
-
], queries: [{ propertyName: "groupHeaderTemplate", first: true, predicate: GroupHeaderTemplateDirective, descendants: true }, { propertyName: "groupHeaderColumnTemplate", first: true, predicate: GroupHeaderColumnTemplateDirective, descendants: true }, { propertyName: "groupFooterTemplate", first: true, predicate: GroupFooterTemplateDirective, descendants: true }, { propertyName: "footerTemplate", first: true, predicate: FooterTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
461
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnComponent, decorators: [{
|
|
608
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnComponent, decorators: [{
|
|
462
609
|
type: Component,
|
|
463
610
|
args: [{
|
|
464
611
|
providers: [
|
|
@@ -505,19 +652,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
505
652
|
* Represents the column group component of the Kendo UI Excel Export component.
|
|
506
653
|
*/
|
|
507
654
|
class ColumnGroupComponent extends ColumnBase {
|
|
655
|
+
parent;
|
|
508
656
|
constructor(parent) {
|
|
509
657
|
super(parent);
|
|
510
658
|
this.parent = parent;
|
|
511
659
|
}
|
|
660
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnGroupComponent, deps: [{ token: ColumnBase, host: true, optional: true, skipSelf: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
661
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnGroupComponent, isStandalone: true, selector: "kendo-excelexport-column-group", providers: [
|
|
662
|
+
{
|
|
663
|
+
provide: ColumnBase,
|
|
664
|
+
useExisting: forwardRef(() => ColumnGroupComponent)
|
|
665
|
+
}
|
|
666
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
512
667
|
}
|
|
513
|
-
|
|
514
|
-
ColumnGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ColumnGroupComponent, isStandalone: true, selector: "kendo-excelexport-column-group", providers: [
|
|
515
|
-
{
|
|
516
|
-
provide: ColumnBase,
|
|
517
|
-
useExisting: forwardRef(() => ColumnGroupComponent)
|
|
518
|
-
}
|
|
519
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
520
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ColumnGroupComponent, decorators: [{
|
|
668
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnGroupComponent, decorators: [{
|
|
521
669
|
type: Component,
|
|
522
670
|
args: [{
|
|
523
671
|
providers: [
|
|
@@ -584,11 +732,11 @@ const KENDO_EXCELEXPORT = [
|
|
|
584
732
|
* ```
|
|
585
733
|
*/
|
|
586
734
|
class ExcelExportModule {
|
|
735
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExcelExportModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
736
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: ExcelExportModule, imports: [ExcelExportComponent, ColumnComponent, ColumnGroupComponent, FooterTemplateDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderTemplateDirective], exports: [ExcelExportComponent, ColumnComponent, ColumnGroupComponent, FooterTemplateDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderTemplateDirective] });
|
|
737
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExcelExportModule });
|
|
587
738
|
}
|
|
588
|
-
|
|
589
|
-
ExcelExportModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ExcelExportModule, imports: [ExcelExportComponent, ColumnComponent, ColumnGroupComponent, FooterTemplateDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderTemplateDirective], exports: [ExcelExportComponent, ColumnComponent, ColumnGroupComponent, FooterTemplateDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderTemplateDirective] });
|
|
590
|
-
ExcelExportModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExcelExportModule, imports: [ExcelExportComponent, ColumnComponent, ColumnGroupComponent] });
|
|
591
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExcelExportModule, decorators: [{
|
|
739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExcelExportModule, decorators: [{
|
|
592
740
|
type: NgModule,
|
|
593
741
|
args: [{
|
|
594
742
|
imports: [...KENDO_EXCELEXPORT],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-excel-export",
|
|
3
|
-
"version": "17.0.0
|
|
3
|
+
"version": "17.0.0",
|
|
4
4
|
"description": "Kendo UI for Angular Excel Export component",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -18,28 +18,24 @@
|
|
|
18
18
|
"friendlyName": "ExcelExport"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@angular/animations": "
|
|
22
|
-
"@angular/common": "
|
|
23
|
-
"@angular/core": "
|
|
24
|
-
"@angular/platform-browser": "
|
|
21
|
+
"@angular/animations": "16 - 18",
|
|
22
|
+
"@angular/common": "16 - 18",
|
|
23
|
+
"@angular/core": "16 - 18",
|
|
24
|
+
"@angular/platform-browser": "16 - 18",
|
|
25
25
|
"@progress/kendo-licensing": "^1.0.2",
|
|
26
|
-
"@progress/kendo-angular-common": "17.0.0
|
|
27
|
-
"@progress/kendo-angular-l10n": "17.0.0
|
|
26
|
+
"@progress/kendo-angular-common": "17.0.0",
|
|
27
|
+
"@progress/kendo-angular-l10n": "17.0.0",
|
|
28
28
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"tslib": "^2.3.1",
|
|
32
|
-
"@progress/kendo-angular-schematics": "17.0.0
|
|
32
|
+
"@progress/kendo-angular-schematics": "17.0.0",
|
|
33
33
|
"@progress/kendo-file-saver": "^1.0.0",
|
|
34
34
|
"@progress/kendo-intl": "^3.0.0",
|
|
35
35
|
"@progress/kendo-ooxml": "^1.9.0"
|
|
36
36
|
},
|
|
37
37
|
"schematics": "./schematics/collection.json",
|
|
38
|
-
"module": "
|
|
39
|
-
"es2020": "fesm2020/progress-kendo-angular-excel-export.mjs",
|
|
40
|
-
"esm2020": "esm2020/progress-kendo-angular-excel-export.mjs",
|
|
41
|
-
"fesm2020": "fesm2020/progress-kendo-angular-excel-export.mjs",
|
|
42
|
-
"fesm2015": "fesm2015/progress-kendo-angular-excel-export.mjs",
|
|
38
|
+
"module": "fesm2022/progress-kendo-angular-excel-export.mjs",
|
|
43
39
|
"typings": "index.d.ts",
|
|
44
40
|
"exports": {
|
|
45
41
|
"./package.json": {
|
|
@@ -47,11 +43,9 @@
|
|
|
47
43
|
},
|
|
48
44
|
".": {
|
|
49
45
|
"types": "./index.d.ts",
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"node": "./fesm2015/progress-kendo-angular-excel-export.mjs",
|
|
54
|
-
"default": "./fesm2020/progress-kendo-angular-excel-export.mjs"
|
|
46
|
+
"esm2022": "./esm2022/progress-kendo-angular-excel-export.mjs",
|
|
47
|
+
"esm": "./esm2022/progress-kendo-angular-excel-export.mjs",
|
|
48
|
+
"default": "./fesm2022/progress-kendo-angular-excel-export.mjs"
|
|
55
49
|
}
|
|
56
50
|
},
|
|
57
51
|
"sideEffects": false
|