-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75f7c31
commit 8076261
Showing
16 changed files
with
383 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"scriptId":"1viSsQkJME8IWYt6v-LplS1i-06k4qpZ5Qb9hUuxpofPHUaFtJuQbOo-T", | ||
"scriptId": "1viSsQkJME8IWYt6v-LplS1i-06k4qpZ5Qb9hUuxpofPHUaFtJuQbOo-T", | ||
"rootDir": "src/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"trailingComma": "es5", | ||
"singleQuote": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"[typescript]": { | ||
"editor.formatOnSave": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
{ | ||
"compilerOptions": { | ||
"checkJs": true, | ||
"lib": ["es6"] | ||
}, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,21 @@ | ||
const ui = SpreadsheetApp.getUi() | ||
const ui = SpreadsheetApp.getUi(); | ||
|
||
function onOpen(): void { | ||
ui.createMenu('Import') | ||
.addItem('Upload CSV', 'fileUploadDialog') | ||
.addToUi() | ||
ui.createMenu('Import').addItem('Upload CSV', 'fileUploadDialog').addToUi(); | ||
} | ||
|
||
function fileUploadDialog(): void { | ||
const html = HtmlService.createTemplateFromFile('fileinput.html') | ||
.evaluate() | ||
.setWidth(900) | ||
.setHeight(600) | ||
SpreadsheetApp.getUi() | ||
.showModalDialog(html, 'File upload dialog'); | ||
.setHeight(600); | ||
SpreadsheetApp.getUi().showModalDialog(html, 'File upload dialog'); | ||
} | ||
|
||
function include(filename: string): string { | ||
return HtmlService.createHtmlOutputFromFile(filename).getContent() | ||
return HtmlService.createHtmlOutputFromFile(filename).getContent(); | ||
} | ||
|
||
function getStrategyOptions() { | ||
return StrategyOption | ||
return StrategyOption; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
{ | ||
"timeZone": "Europe/Amsterdam", | ||
"dependencies": { | ||
}, | ||
"dependencies": {}, | ||
"exceptionLogging": "STACKDRIVER", | ||
"runtimeVersion": "V8", | ||
"sheets": { | ||
"macros": [{ | ||
"menuName": "Delete duplicate transaction", | ||
"functionName": "macroDeleteDuplicateTransaction", | ||
"defaultShortcut": "Ctrl+Alt+Shift+5" | ||
}] | ||
"macros": [ | ||
{ | ||
"menuName": "Delete duplicate transaction", | ||
"functionName": "macroDeleteDuplicateTransaction", | ||
"defaultShortcut": "Ctrl+Alt+Shift+5" | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.