@sd-angular/core 1.2.76 → 1.2.79

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 (40) hide show
  1. package/bundles/sd-angular-core-api.umd.js +1 -1
  2. package/bundles/sd-angular-core-api.umd.js.map +1 -1
  3. package/bundles/sd-angular-core-api.umd.min.js +1 -1
  4. package/bundles/sd-angular-core-api.umd.min.js.map +1 -1
  5. package/bundles/sd-angular-core-export.umd.js +34 -13
  6. package/bundles/sd-angular-core-export.umd.js.map +1 -1
  7. package/bundles/sd-angular-core-export.umd.min.js +1 -1
  8. package/bundles/sd-angular-core-export.umd.min.js.map +1 -1
  9. package/bundles/sd-angular-core-grid-material.umd.js +326 -292
  10. package/bundles/sd-angular-core-grid-material.umd.js.map +1 -1
  11. package/bundles/sd-angular-core-grid-material.umd.min.js +2 -2
  12. package/bundles/sd-angular-core-grid-material.umd.min.js.map +1 -1
  13. package/bundles/sd-angular-core-upload-excel.umd.js +7 -8
  14. package/bundles/sd-angular-core-upload-excel.umd.js.map +1 -1
  15. package/bundles/sd-angular-core-upload-excel.umd.min.js +1 -1
  16. package/bundles/sd-angular-core-upload-excel.umd.min.js.map +1 -1
  17. package/esm2015/api/src/lib/api.service.js +2 -2
  18. package/esm2015/export/src/lib/export.model.js +3 -2
  19. package/esm2015/export/src/lib/export.service.js +17 -7
  20. package/esm2015/grid-material/src/lib/components/popup-export/popup-export.component.js +44 -24
  21. package/esm2015/grid-material/src/lib/grid-material.component.js +56 -29
  22. package/esm2015/upload-excel/src/lib/upload-excel.component.js +7 -8
  23. package/esm2015/upload-excel/src/lib/upload-excel.model.js +1 -1
  24. package/export/sd-angular-core-export.metadata.json +1 -1
  25. package/export/src/lib/export.model.d.ts +3 -0
  26. package/export/src/lib/export.service.d.ts +2 -5
  27. package/fesm2015/sd-angular-core-api.js +1 -1
  28. package/fesm2015/sd-angular-core-api.js.map +1 -1
  29. package/fesm2015/sd-angular-core-export.js +18 -7
  30. package/fesm2015/sd-angular-core-export.js.map +1 -1
  31. package/fesm2015/sd-angular-core-grid-material.js +98 -51
  32. package/fesm2015/sd-angular-core-grid-material.js.map +1 -1
  33. package/fesm2015/sd-angular-core-upload-excel.js +6 -7
  34. package/fesm2015/sd-angular-core-upload-excel.js.map +1 -1
  35. package/grid-material/sd-angular-core-grid-material.metadata.json +1 -1
  36. package/grid-material/src/lib/components/popup-export/popup-export.component.d.ts +6 -1
  37. package/grid-material/src/lib/grid-material.component.d.ts +1 -0
  38. package/package.json +1 -1
  39. package/{sd-angular-core-1.2.76.tgz → sd-angular-core-1.2.79.tgz} +0 -0
  40. package/upload-excel/src/lib/upload-excel.model.d.ts +2 -0
@@ -8,6 +8,7 @@ import { SdModal } from '@sd-angular/core/modal';
8
8
  import { SdExportFile, SdExportService, SdExportColumn } from '@sd-angular/core/export';
9
9
  import { SdGroupExport } from '../../models/grid-export.model';
10
10
  import { FormGroup } from '@angular/forms';
11
+ import { SdGridConfigurationResult } from '../../models/grid-config.model';
11
12
  export declare class SdPopupExport implements OnInit, AfterViewInit {
12
13
  #private;
13
14
  private ref;
@@ -31,15 +32,19 @@ export declare class SdPopupExport implements OnInit, AfterViewInit {
31
32
  file: SdExportFile;
32
33
  columns: SdExportColumn[];
33
34
  isCSV?: boolean;
35
+ isRaw?: boolean;
34
36
  }>;
35
37
  form: FormGroup;
36
38
  set _gridOption(option: SdGridMaterialOption);
39
+ configuration: SdGridConfigurationResult;
37
40
  private get key();
38
41
  constructor(ref: ChangeDetectorRef, loadingService: SdLoadingService, exportService: SdExportService, notifyService: SdNotifyService, translateService: SdTranslateService);
39
42
  ngOnInit(): void;
40
43
  ngAfterViewInit(): void;
41
44
  open: () => Promise<void>;
42
- exportDefault: (isCSV?: boolean) => void;
45
+ exportDefault: () => void;
46
+ exportCSV: () => void;
47
+ exportRaw: () => void;
43
48
  loadFiles: (group?: string) => Promise<void>;
44
49
  generateTemplate: () => Promise<void>;
45
50
  generateAndUploadTemplate: (fileName?: string) => Promise<{
@@ -78,6 +78,7 @@ export declare class SdGridMaterial<T = any> implements OnInit, AfterViewInit, O
78
78
  file: SdExportFile;
79
79
  columns: SdExportColumn[];
80
80
  isCSV: boolean;
81
+ isRaw: boolean;
81
82
  }) => Promise<void>;
82
83
  onFilterChange: () => void;
83
84
  onExpand: (rowData: SdGridMaterialItem<T>) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sd-angular/core",
3
- "version": "1.2.76",
3
+ "version": "1.2.79",
4
4
  "homepage": "https://www.facebook.com/DarkP3ter",
5
5
  "author": {
6
6
  "name": "darkpeter",
@@ -27,6 +27,8 @@ export interface SdUploadExcelBaseColumn<T = any> {
27
27
  width?: string;
28
28
  description?: string;
29
29
  hidden?: boolean | (() => boolean);
30
+ fontColor?: string;
31
+ fill?: string;
30
32
  transform?: (rowData: T, value: any) => string | Promise<string>;
31
33
  errorValidation?: (rowData?: T, value?: any, idx?: number) => string | Promise<string>;
32
34
  warningValidation?: (rowData?: T, value?: any, idx?: number) => string | Promise<string>;