excellentexport 3.7.0 → 3.8.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/bower.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "excellentexport",
3
- "main": "excellentexport.js",
4
- "homepage": "http://jordiburgos.com/post/2014/excellentexport-javascript-export-to-excel-csv.html",
5
- "authors": [
6
- "Jordi Burgos <jordiburgos@gmail.com>"
7
- ],
8
- "description": "Client side JavaScript export to Excel or CSV",
9
- "moduleType": [
10
- "globals"
11
- ],
12
- "keywords": [
13
- "excel",
14
- "export",
15
- "csv",
16
- "javascript",
17
- "client",
18
- "side"
19
- ],
20
- "license": "MIT",
21
- "ignore": [
22
- "**/.*",
23
- "node_modules",
24
- "bower_components",
25
- "test",
26
- "tests"
27
- ],
28
- "repository": {
29
- "type": "git",
30
- "url": "git://github.com/jmaister/excellentexport.git"
31
- }
32
- }
1
+ {
2
+ "name": "excellentexport",
3
+ "main": "excellentexport.js",
4
+ "homepage": "http://jordiburgos.com/post/2014/excellentexport-javascript-export-to-excel-csv.html",
5
+ "authors": [
6
+ "Jordi Burgos <jordiburgos@gmail.com>"
7
+ ],
8
+ "description": "Client side JavaScript export to Excel or CSV",
9
+ "moduleType": [
10
+ "globals"
11
+ ],
12
+ "keywords": [
13
+ "excel",
14
+ "export",
15
+ "csv",
16
+ "javascript",
17
+ "client",
18
+ "side"
19
+ ],
20
+ "license": "MIT",
21
+ "ignore": [
22
+ "**/.*",
23
+ "node_modules",
24
+ "bower_components",
25
+ "test",
26
+ "tests"
27
+ ],
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "git://github.com/jmaister/excellentexport.git"
31
+ }
32
+ }
@@ -1,33 +1,35 @@
1
- /**
2
- * ExcellentExport 3.7.0
3
- * A client side Javascript export to Excel.
4
- *
5
- * @author: Jordi Burgos (jordiburgos@gmail.com)
6
- * @url: https://github.com/jmaister/excellentexport
7
- *
8
- */
9
- export interface ConvertOptions {
10
- anchor?: (string | HTMLAnchorElement);
11
- openAsDownload?: boolean;
12
- format: ('csv' | 'xls' | 'xlsx');
13
- filename?: string;
14
- }
15
- export interface FromOptions {
16
- table?: (string | HTMLTableElement);
17
- array?: any[][];
18
- }
19
- export interface SheetOptions {
20
- name: string;
21
- from: FromOptions;
22
- removeColumns?: number[];
23
- filterRowFn?(row: any[]): boolean;
24
- fixValue?(value: any, row: number, column: number): any;
25
- fixArray?(array: any[][]): any[][];
26
- }
27
- declare const ExcellentExport: {
28
- version: () => string;
29
- excel: (anchor: (HTMLAnchorElement | string), table: HTMLTableElement, name: string) => boolean;
30
- csv: (anchor: (HTMLAnchorElement | string), table: HTMLTableElement, delimiter?: string, newLine?: string) => boolean;
31
- convert: (options: ConvertOptions, sheets: SheetOptions[]) => string | false;
32
- };
33
- export default ExcellentExport;
1
+ /**
2
+ * ExcellentExport 3.7.2
3
+ * A client side Javascript export to Excel.
4
+ *
5
+ * @author: Jordi Burgos (jordiburgos@gmail.com)
6
+ * @url: https://github.com/jmaister/excellentexport
7
+ *
8
+ */
9
+ export interface ConvertOptions {
10
+ anchor?: (string | HTMLAnchorElement);
11
+ openAsDownload?: boolean;
12
+ format: ('csv' | 'xls' | 'xlsx');
13
+ filename?: string;
14
+ rtl?: boolean;
15
+ }
16
+ export interface FromOptions {
17
+ table?: (string | HTMLTableElement);
18
+ array?: any[][];
19
+ }
20
+ export interface SheetOptions {
21
+ name: string;
22
+ from: FromOptions;
23
+ removeColumns?: number[];
24
+ filterRowFn?(row: any[]): boolean;
25
+ fixValue?(value: any, row: number, column: number): any;
26
+ fixArray?(array: any[][]): any[][];
27
+ rtl?: boolean;
28
+ }
29
+ declare const ExcellentExport: {
30
+ version: () => string;
31
+ excel: (anchor: (HTMLAnchorElement | string), table: HTMLTableElement, name: string) => boolean;
32
+ csv: (anchor: (HTMLAnchorElement | string), table: HTMLTableElement, delimiter?: string, newLine?: string) => boolean;
33
+ convert: (options: ConvertOptions, sheets: SheetOptions[]) => string | false;
34
+ };
35
+ export default ExcellentExport;