Skip to content

Commit 59d92aa

Browse files
securedeveloperafzalah
authored andcommitted
JSE [refactor] better code formating.
1 parent 971d034 commit 59d92aa

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed
File renamed without changes.
File renamed without changes.

src/JavaScriptExcel.ts renamed to src/api/JavaScriptExcel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {JSEData, JSERow} from "./Types";
1+
import {JSEData, JSERow} from "../Types";
22

33
export default class JavaScriptExcel {
44
private ___Excel___: any;
File renamed without changes.
File renamed without changes.

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {___JSE_DownloadFileExtension} from "./constants";
2-
import JavascriptExcel from "./JavaScriptExcel";
1+
import {___JSE_DownloadFileExtension} from "./api/constants";
2+
import JavascriptExcel from "./api/JavaScriptExcel";
33

44
interface IJavaScriptExcel {
55
new(jszip: any, saveAs: Function): JavascriptExcel;

src/FileContentTypes.ts renamed to src/xlsx/FileContentTypes.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
import {___JSE_XLSX___File, ___JSE_XLSX___FileContent, ___JSE_XLSX___Node} from "./xlsx";
1+
import {___JSE_XLSX___File, ___JSE_XLSX___FileContent, ___JSE_XLSX___Node} from "../api/xlsx";
22
import {
33
Extension_Rels,
44
Extension_Xml, PartName_DocProps_App, PartName_DocProps_Core, PartName_DocProps_Custom, PartName_Xl_SharedStrings,
55
PartName_Xl_Sheet, PartName_Xl_Styles,
66
PartName_Xl_Theme,
77
PartName_Xl_Workbook,
88
Xmlns_Types
9-
} from "./Internals";
10-
import {JSESheet, JSExcel} from "./Types";
9+
} from "../api/Internals";
10+
import {JSESheet, JSExcel} from "../Types";
1111

1212
const fileProps: any = {
1313
name: "[Content_Types]",

src/Directory_Rels.ts renamed to src/xlsx/_rels/DirectoryRels.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import {JSExcel} from "./Types";
2-
import {___JSE_XLSX___Directory, ___JSE_XLSX___File, ___JSE_XLSX___FileContent, ___JSE_XLSX___Node} from "./xlsx";
1+
import {JSExcel} from "../../Types";
2+
import {___JSE_XLSX___Directory, ___JSE_XLSX___File, ___JSE_XLSX___FileContent, ___JSE_XLSX___Node} from "../../api/xlsx";
33
import {
44
Relationship_Target_App,
55
Relationship_Target_Core,
@@ -10,7 +10,7 @@ import {
1010
Relationship_Type_Custom,
1111
Relationship_Type_Workbook,
1212
Xmlns_RelationShips
13-
} from "./Internals";
13+
} from "../../api/Internals";
1414

1515
const fileProps: any = {
1616
name: null,

test/unit/Helper.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {cleanAlphaNumericString} from "../../src/Helper";
1+
import {cleanAlphaNumericString} from "../../src/api/Helper";
22

33
describe("Helper --> ", () => {
44
describe("String --> ", () => {

0 commit comments

Comments
 (0)