@progress/kendo-angular-excel-export 25.0.0-develop.2 → 25.0.0-develop.3
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/fesm2022/progress-kendo-angular-excel-export.mjs +165 -35
- package/index.d.ts +63 -21
- package/package-metadata.mjs +2 -2
- package/package.json +5 -5
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { ContentChildren, Input, Component, QueryList, Optional, Directive, forwardRef, ContentChild, SkipSelf, Host, NgModule } from '@angular/core';
|
|
6
|
+
import { signal, ContentChildren, Input, ChangeDetectionStrategy, Component, QueryList, Optional, Directive, forwardRef, ContentChild, SkipSelf, Host, NgModule } from '@angular/core';
|
|
7
7
|
import { saveAs } from '@progress/kendo-file-saver';
|
|
8
8
|
import { IntlService, ExcelExporter, Workbook } from '@progress/kendo-ooxml';
|
|
9
9
|
export * from '@progress/kendo-ooxml';
|
|
@@ -188,27 +188,52 @@ class ColumnBase {
|
|
|
188
188
|
/**
|
|
189
189
|
* The title of the column.
|
|
190
190
|
*/
|
|
191
|
-
title
|
|
191
|
+
set title(value) {
|
|
192
|
+
this._title.set(value);
|
|
193
|
+
}
|
|
194
|
+
get title() {
|
|
195
|
+
return this._title();
|
|
196
|
+
}
|
|
192
197
|
/**
|
|
193
198
|
* The width of the column in pixels.
|
|
194
199
|
*/
|
|
195
|
-
width
|
|
200
|
+
set width(value) {
|
|
201
|
+
this._width.set(value);
|
|
202
|
+
}
|
|
203
|
+
get width() {
|
|
204
|
+
return this._width();
|
|
205
|
+
}
|
|
196
206
|
/**
|
|
197
207
|
* Toggles the locked (frozen) state of the column ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#locked-state)).
|
|
198
208
|
*
|
|
199
209
|
* @default false
|
|
200
210
|
*/
|
|
201
|
-
locked
|
|
211
|
+
set locked(value) {
|
|
212
|
+
this._locked.set(value);
|
|
213
|
+
}
|
|
214
|
+
get locked() {
|
|
215
|
+
return this._locked();
|
|
216
|
+
}
|
|
202
217
|
/**
|
|
203
218
|
* Sets the visibility of the column ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#hidden-state)).
|
|
204
219
|
*
|
|
205
220
|
* @default false
|
|
206
221
|
*/
|
|
207
|
-
hidden
|
|
222
|
+
set hidden(value) {
|
|
223
|
+
this._hidden.set(value);
|
|
224
|
+
}
|
|
225
|
+
get hidden() {
|
|
226
|
+
return this._hidden();
|
|
227
|
+
}
|
|
208
228
|
/**
|
|
209
229
|
* The options of the column header cell.
|
|
210
230
|
*/
|
|
211
|
-
headerCellOptions
|
|
231
|
+
set headerCellOptions(value) {
|
|
232
|
+
this._headerCellOptions.set(value);
|
|
233
|
+
}
|
|
234
|
+
get headerCellOptions() {
|
|
235
|
+
return this._headerCellOptions();
|
|
236
|
+
}
|
|
212
237
|
/**
|
|
213
238
|
* @hidden
|
|
214
239
|
*/
|
|
@@ -219,16 +244,22 @@ class ColumnBase {
|
|
|
219
244
|
get level() {
|
|
220
245
|
return this.parent ? this.parent.level + 1 : 0;
|
|
221
246
|
}
|
|
247
|
+
_title = signal(undefined, ...(ngDevMode ? [{ debugName: "_title" }] : []));
|
|
248
|
+
_width = signal(undefined, ...(ngDevMode ? [{ debugName: "_width" }] : []));
|
|
249
|
+
_locked = signal(undefined, ...(ngDevMode ? [{ debugName: "_locked" }] : []));
|
|
250
|
+
_hidden = signal(undefined, ...(ngDevMode ? [{ debugName: "_hidden" }] : []));
|
|
251
|
+
_headerCellOptions = signal(undefined, ...(ngDevMode ? [{ debugName: "_headerCellOptions" }] : []));
|
|
222
252
|
constructor(parent) {
|
|
223
253
|
this.parent = parent;
|
|
224
254
|
}
|
|
225
255
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ColumnBase, deps: [{ token: ColumnBase }], target: i0.ɵɵFactoryTarget.Component });
|
|
226
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: ColumnBase, isStandalone: true, selector: "ng-component", inputs: { title: "title", width: "width", locked: "locked", hidden: "hidden", headerCellOptions: "headerCellOptions" }, queries: [{ propertyName: "children", predicate: ColumnBase }], ngImport: i0, template: '', isInline: true });
|
|
256
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.25", type: ColumnBase, isStandalone: true, selector: "ng-component", inputs: { title: "title", width: "width", locked: "locked", hidden: "hidden", headerCellOptions: "headerCellOptions" }, queries: [{ propertyName: "children", predicate: ColumnBase }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
227
257
|
}
|
|
228
258
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ColumnBase, decorators: [{
|
|
229
259
|
type: Component,
|
|
230
260
|
args: [{
|
|
231
|
-
template: ''
|
|
261
|
+
template: '',
|
|
262
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
232
263
|
}]
|
|
233
264
|
}], ctorParameters: () => [{ type: ColumnBase }], propDecorators: { title: [{
|
|
234
265
|
type: Input
|
|
@@ -253,8 +284,8 @@ const packageMetadata = {
|
|
|
253
284
|
productName: 'Kendo UI for Angular',
|
|
254
285
|
productCode: 'KENDOUIANGULAR',
|
|
255
286
|
productCodes: ['KENDOUIANGULAR'],
|
|
256
|
-
publishDate:
|
|
257
|
-
version: '25.0.0-develop.
|
|
287
|
+
publishDate: 1783692491,
|
|
288
|
+
version: '25.0.0-develop.3',
|
|
258
289
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
259
290
|
};
|
|
260
291
|
|
|
@@ -282,32 +313,62 @@ class ExcelExportComponent {
|
|
|
282
313
|
*
|
|
283
314
|
* @default "Export.xlsx"
|
|
284
315
|
*/
|
|
285
|
-
fileName
|
|
316
|
+
set fileName(value) {
|
|
317
|
+
this._fileName.set(value);
|
|
318
|
+
}
|
|
319
|
+
get fileName() {
|
|
320
|
+
return this._fileName();
|
|
321
|
+
}
|
|
286
322
|
/**
|
|
287
323
|
* Determines whether to enable column filtering in the exported Excel file
|
|
288
324
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/filtering)).
|
|
289
325
|
*/
|
|
290
|
-
filterable
|
|
326
|
+
set filterable(value) {
|
|
327
|
+
this._filterable.set(value);
|
|
328
|
+
}
|
|
329
|
+
get filterable() {
|
|
330
|
+
return this._filterable();
|
|
331
|
+
}
|
|
291
332
|
/**
|
|
292
333
|
* Determines whether groups in the Excel file are collapsible.
|
|
293
334
|
*/
|
|
294
|
-
collapsible
|
|
335
|
+
set collapsible(value) {
|
|
336
|
+
this._collapsible.set(value);
|
|
337
|
+
}
|
|
338
|
+
get collapsible() {
|
|
339
|
+
return this._collapsible();
|
|
340
|
+
}
|
|
295
341
|
/**
|
|
296
342
|
* Specifies the author of the workbook.
|
|
297
343
|
*/
|
|
298
|
-
creator
|
|
344
|
+
set creator(value) {
|
|
345
|
+
this._creator.set(value);
|
|
346
|
+
}
|
|
347
|
+
get creator() {
|
|
348
|
+
return this._creator();
|
|
349
|
+
}
|
|
299
350
|
/**
|
|
300
351
|
* Specifies the creation date of the workbook.
|
|
301
352
|
* The default value is `new Date()`.
|
|
302
353
|
*
|
|
303
354
|
* @default `new Date()`
|
|
304
355
|
*/
|
|
305
|
-
date
|
|
356
|
+
set date(value) {
|
|
357
|
+
this._date.set(value);
|
|
358
|
+
}
|
|
359
|
+
get date() {
|
|
360
|
+
return this._date();
|
|
361
|
+
}
|
|
306
362
|
/**
|
|
307
363
|
* Determines whether to force the use of a proxy server for file downloads.
|
|
308
364
|
* When set to `true`, the component sends content to `proxyURL` even if the browser supports local file saving.
|
|
309
365
|
*/
|
|
310
|
-
forceProxy
|
|
366
|
+
set forceProxy(value) {
|
|
367
|
+
this._forceProxy.set(value);
|
|
368
|
+
}
|
|
369
|
+
get forceProxy() {
|
|
370
|
+
return this._forceProxy();
|
|
371
|
+
}
|
|
311
372
|
/**
|
|
312
373
|
* Specifies the URL of the server-side proxy that streams the file to the user.
|
|
313
374
|
* When the browser cannot save files locally (for example, Internet Explorer 9 and earlier, and Safari), the component uses a proxy.
|
|
@@ -319,35 +380,71 @@ class ExcelExportComponent {
|
|
|
319
380
|
* - `fileName`—The requested file name.
|
|
320
381
|
* The proxy must return the decoded file with the `Content-Disposition` header set to `attachment; filename="<fileName.xslx>"`.
|
|
321
382
|
*/
|
|
322
|
-
proxyURL
|
|
383
|
+
set proxyURL(value) {
|
|
384
|
+
this._proxyURL.set(value);
|
|
385
|
+
}
|
|
386
|
+
get proxyURL() {
|
|
387
|
+
return this._proxyURL();
|
|
388
|
+
}
|
|
323
389
|
/**
|
|
324
390
|
* Specifies the data to export.
|
|
325
391
|
* When the data is grouped, structure it as described by the
|
|
326
392
|
* [`GroupResult`](https://www.telerik.com/kendo-angular-ui/components/data-query/api/groupresult) option of the Kendo UI Data Query component.
|
|
327
393
|
*/
|
|
328
|
-
data
|
|
394
|
+
set data(value) {
|
|
395
|
+
this._data.set(value);
|
|
396
|
+
}
|
|
397
|
+
get data() {
|
|
398
|
+
return this._data();
|
|
399
|
+
}
|
|
329
400
|
/**
|
|
330
401
|
* Specifies the exported data groups.
|
|
331
402
|
* The groups must match the
|
|
332
403
|
* [`GroupDescriptor`](https://www.telerik.com/kendo-angular-ui/components/data-query/api/groupdescriptor) option of the Kendo UI Data Query component.
|
|
333
404
|
*/
|
|
334
|
-
group
|
|
405
|
+
set group(value) {
|
|
406
|
+
this._group.set(value);
|
|
407
|
+
}
|
|
408
|
+
get group() {
|
|
409
|
+
return this._group();
|
|
410
|
+
}
|
|
335
411
|
/**
|
|
336
412
|
* Specifies the options for cells inserted before data, group, and footer cells
|
|
337
413
|
* to show group hierarchy when the data is grouped
|
|
338
414
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#padding-cells)).
|
|
339
415
|
*/
|
|
340
|
-
paddingCellOptions
|
|
416
|
+
set paddingCellOptions(value) {
|
|
417
|
+
this._paddingCellOptions.set(value);
|
|
418
|
+
}
|
|
419
|
+
get paddingCellOptions() {
|
|
420
|
+
return this._paddingCellOptions();
|
|
421
|
+
}
|
|
341
422
|
/**
|
|
342
423
|
* Specifies the options for cells inserted before header cells
|
|
343
424
|
* to align headers and column values when the data is grouped
|
|
344
425
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#header-padding-cells)).
|
|
345
426
|
*/
|
|
346
|
-
headerPaddingCellOptions
|
|
427
|
+
set headerPaddingCellOptions(value) {
|
|
428
|
+
this._headerPaddingCellOptions.set(value);
|
|
429
|
+
}
|
|
430
|
+
get headerPaddingCellOptions() {
|
|
431
|
+
return this._headerPaddingCellOptions();
|
|
432
|
+
}
|
|
347
433
|
/**
|
|
348
434
|
* @hidden
|
|
349
435
|
*/
|
|
350
436
|
columns = new QueryList();
|
|
437
|
+
_fileName = signal('Export.xlsx', ...(ngDevMode ? [{ debugName: "_fileName" }] : []));
|
|
438
|
+
_filterable = signal(undefined, ...(ngDevMode ? [{ debugName: "_filterable" }] : []));
|
|
439
|
+
_collapsible = signal(undefined, ...(ngDevMode ? [{ debugName: "_collapsible" }] : []));
|
|
440
|
+
_creator = signal(undefined, ...(ngDevMode ? [{ debugName: "_creator" }] : []));
|
|
441
|
+
_date = signal(undefined, ...(ngDevMode ? [{ debugName: "_date" }] : []));
|
|
442
|
+
_forceProxy = signal(undefined, ...(ngDevMode ? [{ debugName: "_forceProxy" }] : []));
|
|
443
|
+
_proxyURL = signal(undefined, ...(ngDevMode ? [{ debugName: "_proxyURL" }] : []));
|
|
444
|
+
_data = signal(undefined, ...(ngDevMode ? [{ debugName: "_data" }] : []));
|
|
445
|
+
_group = signal(undefined, ...(ngDevMode ? [{ debugName: "_group" }] : []));
|
|
446
|
+
_paddingCellOptions = signal(undefined, ...(ngDevMode ? [{ debugName: "_paddingCellOptions" }] : []));
|
|
447
|
+
_headerPaddingCellOptions = signal(undefined, ...(ngDevMode ? [{ debugName: "_headerPaddingCellOptions" }] : []));
|
|
351
448
|
constructor(localization, zone) {
|
|
352
449
|
this.localization = localization;
|
|
353
450
|
this.zone = zone;
|
|
@@ -431,13 +528,13 @@ class ExcelExportComponent {
|
|
|
431
528
|
provide: L10N_PREFIX,
|
|
432
529
|
useValue: 'kendo.excelexport'
|
|
433
530
|
}
|
|
434
|
-
], queries: [{ propertyName: "columns", predicate: ColumnBase, descendants: true }], exportAs: ["kendoExcelExport"], ngImport: i0, template: ``, isInline: true });
|
|
531
|
+
], queries: [{ propertyName: "columns", predicate: ColumnBase, descendants: true }], exportAs: ["kendoExcelExport"], ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
435
532
|
}
|
|
436
533
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ExcelExportComponent, decorators: [{
|
|
437
534
|
type: Component,
|
|
438
535
|
args: [{
|
|
439
|
-
exportAs: 'kendoExcelExport',
|
|
440
536
|
selector: 'kendo-excelexport',
|
|
537
|
+
exportAs: 'kendoExcelExport',
|
|
441
538
|
providers: [
|
|
442
539
|
LocalizationService,
|
|
443
540
|
{
|
|
@@ -446,7 +543,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImpo
|
|
|
446
543
|
}
|
|
447
544
|
],
|
|
448
545
|
template: ``,
|
|
449
|
-
standalone: true
|
|
546
|
+
standalone: true,
|
|
547
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
450
548
|
}]
|
|
451
549
|
}], ctorParameters: () => [{ type: i1.LocalizationService }, { type: i0.NgZone }], propDecorators: { fileName: [{
|
|
452
550
|
type: Input
|
|
@@ -608,27 +706,52 @@ class ColumnComponent extends ColumnBase {
|
|
|
608
706
|
/**
|
|
609
707
|
* Specifies the field that the column displays.
|
|
610
708
|
*/
|
|
611
|
-
field
|
|
709
|
+
set field(value) {
|
|
710
|
+
this._field.set(value);
|
|
711
|
+
}
|
|
712
|
+
get field() {
|
|
713
|
+
return this._field();
|
|
714
|
+
}
|
|
612
715
|
/**
|
|
613
716
|
* Specifies options for the column's data cells
|
|
614
717
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#data-cells)).
|
|
615
718
|
*/
|
|
616
|
-
cellOptions
|
|
719
|
+
set cellOptions(value) {
|
|
720
|
+
this._cellOptions.set(value);
|
|
721
|
+
}
|
|
722
|
+
get cellOptions() {
|
|
723
|
+
return this._cellOptions();
|
|
724
|
+
}
|
|
617
725
|
/**
|
|
618
726
|
* Specifies options for the group header cells of the column
|
|
619
727
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#header-cells)).
|
|
620
728
|
*/
|
|
621
|
-
groupHeaderCellOptions
|
|
729
|
+
set groupHeaderCellOptions(value) {
|
|
730
|
+
this._groupHeaderCellOptions.set(value);
|
|
731
|
+
}
|
|
732
|
+
get groupHeaderCellOptions() {
|
|
733
|
+
return this._groupHeaderCellOptions();
|
|
734
|
+
}
|
|
622
735
|
/**
|
|
623
736
|
* Specifies options for the group footer cells of the column
|
|
624
737
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#group-footer-cells)).
|
|
625
738
|
*/
|
|
626
|
-
groupFooterCellOptions
|
|
739
|
+
set groupFooterCellOptions(value) {
|
|
740
|
+
this._groupFooterCellOptions.set(value);
|
|
741
|
+
}
|
|
742
|
+
get groupFooterCellOptions() {
|
|
743
|
+
return this._groupFooterCellOptions();
|
|
744
|
+
}
|
|
627
745
|
/**
|
|
628
746
|
* Specifies options for the footer cell of the column
|
|
629
747
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#footer-cells)).
|
|
630
748
|
*/
|
|
631
|
-
footerCellOptions
|
|
749
|
+
set footerCellOptions(value) {
|
|
750
|
+
this._footerCellOptions.set(value);
|
|
751
|
+
}
|
|
752
|
+
get footerCellOptions() {
|
|
753
|
+
return this._footerCellOptions();
|
|
754
|
+
}
|
|
632
755
|
/**
|
|
633
756
|
* @hidden
|
|
634
757
|
*/
|
|
@@ -645,6 +768,11 @@ class ColumnComponent extends ColumnBase {
|
|
|
645
768
|
* @hidden
|
|
646
769
|
*/
|
|
647
770
|
footerTemplate;
|
|
771
|
+
_field = signal(undefined, ...(ngDevMode ? [{ debugName: "_field" }] : []));
|
|
772
|
+
_cellOptions = signal(undefined, ...(ngDevMode ? [{ debugName: "_cellOptions" }] : []));
|
|
773
|
+
_groupHeaderCellOptions = signal(undefined, ...(ngDevMode ? [{ debugName: "_groupHeaderCellOptions" }] : []));
|
|
774
|
+
_groupFooterCellOptions = signal(undefined, ...(ngDevMode ? [{ debugName: "_groupFooterCellOptions" }] : []));
|
|
775
|
+
_footerCellOptions = signal(undefined, ...(ngDevMode ? [{ debugName: "_footerCellOptions" }] : []));
|
|
648
776
|
constructor(parent) {
|
|
649
777
|
super(parent);
|
|
650
778
|
}
|
|
@@ -654,20 +782,21 @@ class ColumnComponent extends ColumnBase {
|
|
|
654
782
|
provide: ColumnBase,
|
|
655
783
|
useExisting: forwardRef(() => ColumnComponent)
|
|
656
784
|
}
|
|
657
|
-
], 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 });
|
|
785
|
+
], 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, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
658
786
|
}
|
|
659
787
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ColumnComponent, decorators: [{
|
|
660
788
|
type: Component,
|
|
661
789
|
args: [{
|
|
790
|
+
selector: 'kendo-excelexport-column',
|
|
662
791
|
providers: [
|
|
663
792
|
{
|
|
664
793
|
provide: ColumnBase,
|
|
665
794
|
useExisting: forwardRef(() => ColumnComponent)
|
|
666
795
|
}
|
|
667
796
|
],
|
|
668
|
-
selector: 'kendo-excelexport-column',
|
|
669
797
|
template: ``,
|
|
670
|
-
standalone: true
|
|
798
|
+
standalone: true,
|
|
799
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
671
800
|
}]
|
|
672
801
|
}], ctorParameters: () => [{ type: ColumnBase, decorators: [{
|
|
673
802
|
type: SkipSelf
|
|
@@ -723,20 +852,21 @@ class ColumnGroupComponent extends ColumnBase {
|
|
|
723
852
|
provide: ColumnBase,
|
|
724
853
|
useExisting: forwardRef(() => ColumnGroupComponent)
|
|
725
854
|
}
|
|
726
|
-
], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
|
|
855
|
+
], usesInheritance: true, ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
727
856
|
}
|
|
728
857
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ColumnGroupComponent, decorators: [{
|
|
729
858
|
type: Component,
|
|
730
859
|
args: [{
|
|
860
|
+
selector: 'kendo-excelexport-column-group',
|
|
731
861
|
providers: [
|
|
732
862
|
{
|
|
733
863
|
provide: ColumnBase,
|
|
734
864
|
useExisting: forwardRef(() => ColumnGroupComponent)
|
|
735
865
|
}
|
|
736
866
|
],
|
|
737
|
-
selector: 'kendo-excelexport-column-group',
|
|
738
867
|
template: ``,
|
|
739
|
-
standalone: true
|
|
868
|
+
standalone: true,
|
|
869
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
740
870
|
}]
|
|
741
871
|
}], ctorParameters: () => [{ type: ColumnBase, decorators: [{
|
|
742
872
|
type: SkipSelf
|
package/index.d.ts
CHANGED
|
@@ -116,27 +116,32 @@ declare class ColumnBase {
|
|
|
116
116
|
/**
|
|
117
117
|
* The title of the column.
|
|
118
118
|
*/
|
|
119
|
-
title: string;
|
|
119
|
+
set title(value: string);
|
|
120
|
+
get title(): string;
|
|
120
121
|
/**
|
|
121
122
|
* The width of the column in pixels.
|
|
122
123
|
*/
|
|
123
|
-
width: number;
|
|
124
|
+
set width(value: number);
|
|
125
|
+
get width(): number;
|
|
124
126
|
/**
|
|
125
127
|
* Toggles the locked (frozen) state of the column ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#locked-state)).
|
|
126
128
|
*
|
|
127
129
|
* @default false
|
|
128
130
|
*/
|
|
129
|
-
locked: boolean;
|
|
131
|
+
set locked(value: boolean);
|
|
132
|
+
get locked(): boolean;
|
|
130
133
|
/**
|
|
131
134
|
* Sets the visibility of the column ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/columns#hidden-state)).
|
|
132
135
|
*
|
|
133
136
|
* @default false
|
|
134
137
|
*/
|
|
135
|
-
hidden: boolean;
|
|
138
|
+
set hidden(value: boolean);
|
|
139
|
+
get hidden(): boolean;
|
|
136
140
|
/**
|
|
137
141
|
* The options of the column header cell.
|
|
138
142
|
*/
|
|
139
|
-
headerCellOptions: CellOptions;
|
|
143
|
+
set headerCellOptions(value: CellOptions);
|
|
144
|
+
get headerCellOptions(): CellOptions;
|
|
140
145
|
/**
|
|
141
146
|
* @hidden
|
|
142
147
|
*/
|
|
@@ -145,6 +150,11 @@ declare class ColumnBase {
|
|
|
145
150
|
* @hidden
|
|
146
151
|
*/
|
|
147
152
|
get level(): number;
|
|
153
|
+
private _title;
|
|
154
|
+
private _width;
|
|
155
|
+
private _locked;
|
|
156
|
+
private _hidden;
|
|
157
|
+
private _headerCellOptions;
|
|
148
158
|
constructor(parent?: ColumnBase);
|
|
149
159
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnBase, never>;
|
|
150
160
|
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnBase, "ng-component", never, { "title": { "alias": "title"; "required": false; }; "width": { "alias": "width"; "required": false; }; "locked": { "alias": "locked"; "required": false; }; "hidden": { "alias": "hidden"; "required": false; }; "headerCellOptions": { "alias": "headerCellOptions"; "required": false; }; }, {}, ["children"], never, true, never>;
|
|
@@ -173,32 +183,38 @@ declare class ExcelExportComponent {
|
|
|
173
183
|
*
|
|
174
184
|
* @default "Export.xlsx"
|
|
175
185
|
*/
|
|
176
|
-
fileName: string;
|
|
186
|
+
set fileName(value: string);
|
|
187
|
+
get fileName(): string;
|
|
177
188
|
/**
|
|
178
189
|
* Determines whether to enable column filtering in the exported Excel file
|
|
179
190
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/filtering)).
|
|
180
191
|
*/
|
|
181
|
-
filterable: boolean;
|
|
192
|
+
set filterable(value: boolean);
|
|
193
|
+
get filterable(): boolean;
|
|
182
194
|
/**
|
|
183
195
|
* Determines whether groups in the Excel file are collapsible.
|
|
184
196
|
*/
|
|
185
|
-
collapsible: boolean;
|
|
197
|
+
set collapsible(value: boolean);
|
|
198
|
+
get collapsible(): boolean;
|
|
186
199
|
/**
|
|
187
200
|
* Specifies the author of the workbook.
|
|
188
201
|
*/
|
|
189
|
-
creator
|
|
202
|
+
set creator(value: string);
|
|
203
|
+
get creator(): string;
|
|
190
204
|
/**
|
|
191
205
|
* Specifies the creation date of the workbook.
|
|
192
206
|
* The default value is `new Date()`.
|
|
193
207
|
*
|
|
194
208
|
* @default `new Date()`
|
|
195
209
|
*/
|
|
196
|
-
date
|
|
210
|
+
set date(value: Date);
|
|
211
|
+
get date(): Date;
|
|
197
212
|
/**
|
|
198
213
|
* Determines whether to force the use of a proxy server for file downloads.
|
|
199
214
|
* When set to `true`, the component sends content to `proxyURL` even if the browser supports local file saving.
|
|
200
215
|
*/
|
|
201
|
-
forceProxy: boolean;
|
|
216
|
+
set forceProxy(value: boolean);
|
|
217
|
+
get forceProxy(): boolean;
|
|
202
218
|
/**
|
|
203
219
|
* Specifies the URL of the server-side proxy that streams the file to the user.
|
|
204
220
|
* When the browser cannot save files locally (for example, Internet Explorer 9 and earlier, and Safari), the component uses a proxy.
|
|
@@ -210,35 +226,51 @@ declare class ExcelExportComponent {
|
|
|
210
226
|
* - `fileName`—The requested file name.
|
|
211
227
|
* The proxy must return the decoded file with the `Content-Disposition` header set to `attachment; filename="<fileName.xslx>"`.
|
|
212
228
|
*/
|
|
213
|
-
proxyURL: string;
|
|
229
|
+
set proxyURL(value: string);
|
|
230
|
+
get proxyURL(): string;
|
|
214
231
|
/**
|
|
215
232
|
* Specifies the data to export.
|
|
216
233
|
* When the data is grouped, structure it as described by the
|
|
217
234
|
* [`GroupResult`](https://www.telerik.com/kendo-angular-ui/components/data-query/api/groupresult) option of the Kendo UI Data Query component.
|
|
218
235
|
*/
|
|
219
|
-
data: any[];
|
|
236
|
+
set data(value: any[]);
|
|
237
|
+
get data(): any[];
|
|
220
238
|
/**
|
|
221
239
|
* Specifies the exported data groups.
|
|
222
240
|
* The groups must match the
|
|
223
241
|
* [`GroupDescriptor`](https://www.telerik.com/kendo-angular-ui/components/data-query/api/groupdescriptor) option of the Kendo UI Data Query component.
|
|
224
242
|
*/
|
|
225
|
-
group: any[];
|
|
243
|
+
set group(value: any[]);
|
|
244
|
+
get group(): any[];
|
|
226
245
|
/**
|
|
227
246
|
* Specifies the options for cells inserted before data, group, and footer cells
|
|
228
247
|
* to show group hierarchy when the data is grouped
|
|
229
248
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#padding-cells)).
|
|
230
249
|
*/
|
|
231
|
-
paddingCellOptions: CellOptions;
|
|
250
|
+
set paddingCellOptions(value: CellOptions);
|
|
251
|
+
get paddingCellOptions(): CellOptions;
|
|
232
252
|
/**
|
|
233
253
|
* Specifies the options for cells inserted before header cells
|
|
234
254
|
* to align headers and column values when the data is grouped
|
|
235
255
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#header-padding-cells)).
|
|
236
256
|
*/
|
|
237
|
-
headerPaddingCellOptions: CellOptions;
|
|
257
|
+
set headerPaddingCellOptions(value: CellOptions);
|
|
258
|
+
get headerPaddingCellOptions(): CellOptions;
|
|
238
259
|
/**
|
|
239
260
|
* @hidden
|
|
240
261
|
*/
|
|
241
262
|
columns: QueryList<ColumnBase>;
|
|
263
|
+
private _fileName;
|
|
264
|
+
private _filterable;
|
|
265
|
+
private _collapsible;
|
|
266
|
+
private _creator;
|
|
267
|
+
private _date;
|
|
268
|
+
private _forceProxy;
|
|
269
|
+
private _proxyURL;
|
|
270
|
+
private _data;
|
|
271
|
+
private _group;
|
|
272
|
+
private _paddingCellOptions;
|
|
273
|
+
private _headerPaddingCellOptions;
|
|
242
274
|
constructor(localization: LocalizationService, zone: NgZone);
|
|
243
275
|
/**
|
|
244
276
|
* Exports the data to Excel.
|
|
@@ -357,27 +389,32 @@ declare class ColumnComponent extends ColumnBase {
|
|
|
357
389
|
/**
|
|
358
390
|
* Specifies the field that the column displays.
|
|
359
391
|
*/
|
|
360
|
-
field: string;
|
|
392
|
+
set field(value: string);
|
|
393
|
+
get field(): string;
|
|
361
394
|
/**
|
|
362
395
|
* Specifies options for the column's data cells
|
|
363
396
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#data-cells)).
|
|
364
397
|
*/
|
|
365
|
-
cellOptions: CellOptions;
|
|
398
|
+
set cellOptions(value: CellOptions);
|
|
399
|
+
get cellOptions(): CellOptions;
|
|
366
400
|
/**
|
|
367
401
|
* Specifies options for the group header cells of the column
|
|
368
402
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#header-cells)).
|
|
369
403
|
*/
|
|
370
|
-
groupHeaderCellOptions: CellOptions;
|
|
404
|
+
set groupHeaderCellOptions(value: CellOptions);
|
|
405
|
+
get groupHeaderCellOptions(): CellOptions;
|
|
371
406
|
/**
|
|
372
407
|
* Specifies options for the group footer cells of the column
|
|
373
408
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#group-footer-cells)).
|
|
374
409
|
*/
|
|
375
|
-
groupFooterCellOptions: CellOptions;
|
|
410
|
+
set groupFooterCellOptions(value: CellOptions);
|
|
411
|
+
get groupFooterCellOptions(): CellOptions;
|
|
376
412
|
/**
|
|
377
413
|
* Specifies options for the footer cell of the column
|
|
378
414
|
* ([see example](https://www.telerik.com/kendo-angular-ui/components/excel-export/cells#footer-cells)).
|
|
379
415
|
*/
|
|
380
|
-
footerCellOptions: CellOptions;
|
|
416
|
+
set footerCellOptions(value: CellOptions);
|
|
417
|
+
get footerCellOptions(): CellOptions;
|
|
381
418
|
/**
|
|
382
419
|
* @hidden
|
|
383
420
|
*/
|
|
@@ -394,6 +431,11 @@ declare class ColumnComponent extends ColumnBase {
|
|
|
394
431
|
* @hidden
|
|
395
432
|
*/
|
|
396
433
|
footerTemplate: FooterTemplateDirective;
|
|
434
|
+
private _field;
|
|
435
|
+
private _cellOptions;
|
|
436
|
+
private _groupHeaderCellOptions;
|
|
437
|
+
private _groupFooterCellOptions;
|
|
438
|
+
private _footerCellOptions;
|
|
397
439
|
constructor(parent?: ColumnBase);
|
|
398
440
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnComponent, [{ optional: true; host: true; skipSelf: true; }]>;
|
|
399
441
|
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnComponent, "kendo-excelexport-column", never, { "field": { "alias": "field"; "required": false; }; "cellOptions": { "alias": "cellOptions"; "required": false; }; "groupHeaderCellOptions": { "alias": "groupHeaderCellOptions"; "required": false; }; "groupFooterCellOptions": { "alias": "groupFooterCellOptions"; "required": false; }; "footerCellOptions": { "alias": "footerCellOptions"; "required": false; }; }, {}, ["groupHeaderTemplate", "groupHeaderColumnTemplate", "groupFooterTemplate", "footerTemplate"], never, true, never>;
|
package/package-metadata.mjs
CHANGED
|
@@ -7,7 +7,7 @@ export const packageMetadata = {
|
|
|
7
7
|
"productCodes": [
|
|
8
8
|
"KENDOUIANGULAR"
|
|
9
9
|
],
|
|
10
|
-
"publishDate":
|
|
11
|
-
"version": "25.0.0-develop.
|
|
10
|
+
"publishDate": 1783692491,
|
|
11
|
+
"version": "25.0.0-develop.3",
|
|
12
12
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-excel-export",
|
|
3
|
-
"version": "25.0.0-develop.
|
|
3
|
+
"version": "25.0.0-develop.3",
|
|
4
4
|
"description": "Kendo UI for Angular Excel Export component",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1783692491,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"@angular/core": "20 - 22",
|
|
30
30
|
"@angular/platform-browser": "20 - 22",
|
|
31
31
|
"@progress/kendo-licensing": "^1.11.0",
|
|
32
|
-
"@progress/kendo-angular-common": "25.0.0-develop.
|
|
33
|
-
"@progress/kendo-angular-l10n": "25.0.0-develop.
|
|
32
|
+
"@progress/kendo-angular-common": "25.0.0-develop.3",
|
|
33
|
+
"@progress/kendo-angular-l10n": "25.0.0-develop.3",
|
|
34
34
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"tslib": "^2.3.1",
|
|
38
|
-
"@progress/kendo-angular-schematics": "25.0.0-develop.
|
|
38
|
+
"@progress/kendo-angular-schematics": "25.0.0-develop.3",
|
|
39
39
|
"@progress/kendo-file-saver": "^1.0.0",
|
|
40
40
|
"@progress/kendo-intl": "^3.0.0",
|
|
41
41
|
"@progress/kendo-ooxml": "^1.9.0"
|