@tasenor/common-plugins 1.9.16 → 1.9.18
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/.turbo/turbo-build.log +4 -0
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-show-version.log +5 -0
- package/dist/CoinAPI/backend/index.d.ts +22 -0
- package/dist/CoinAPI/backend/index.js +91 -0
- package/dist/CoinAPI/backend/index.js.map +1 -0
- package/dist/CoinbaseImport/backend/CoinbaseHandler.d.ts +11 -0
- package/dist/CoinbaseImport/backend/CoinbaseHandler.js +30 -0
- package/dist/CoinbaseImport/backend/CoinbaseHandler.js.map +1 -0
- package/dist/CoinbaseImport/backend/index.d.ts +5 -0
- package/dist/CoinbaseImport/backend/index.js +18 -0
- package/dist/CoinbaseImport/backend/index.js.map +1 -0
- package/dist/DocumentCleaner/ui/index.d.ts +43 -0
- package/dist/DocumentCleaner/ui/index.js +139 -0
- package/dist/DocumentCleaner/ui/index.js.map +1 -0
- package/dist/Euro/ui/index.d.ts +15 -0
- package/dist/Euro/ui/index.js +22 -0
- package/dist/Euro/ui/index.js.map +1 -0
- package/dist/Finnish/ui/finnish.json +341 -0
- package/dist/Finnish/ui/index.d.ts +17 -0
- package/dist/Finnish/ui/index.js +47 -0
- package/dist/Finnish/ui/index.js.map +1 -0
- package/dist/FinnishBalanceSheetReport/backend/index.d.ts +18 -0
- package/dist/FinnishBalanceSheetReport/backend/index.js +96 -0
- package/dist/FinnishBalanceSheetReport/backend/index.js.map +1 -0
- package/dist/FinnishBalanceSheetReportInvestment/backend/index.d.ts +18 -0
- package/dist/FinnishBalanceSheetReportInvestment/backend/index.js +96 -0
- package/dist/FinnishBalanceSheetReportInvestment/backend/index.js.map +1 -0
- package/dist/FinnishBalanceSheetReportLite/backend/index.d.ts +19 -0
- package/dist/FinnishBalanceSheetReportLite/backend/index.js +109 -0
- package/dist/FinnishBalanceSheetReportLite/backend/index.js.map +1 -0
- package/dist/FinnishIncomeStatementReport/backend/index.d.ts +26 -0
- package/dist/FinnishIncomeStatementReport/backend/index.js +190 -0
- package/dist/FinnishIncomeStatementReport/backend/index.js.map +1 -0
- package/dist/FinnishIncomeStatementReportInvestment/backend/index.d.ts +26 -0
- package/dist/FinnishIncomeStatementReportInvestment/backend/index.js +190 -0
- package/dist/FinnishIncomeStatementReportInvestment/backend/index.js.map +1 -0
- package/dist/FinnishIncomeStatementReportLite/backend/index.d.ts +26 -0
- package/dist/FinnishIncomeStatementReportLite/backend/index.js +188 -0
- package/dist/FinnishIncomeStatementReportLite/backend/index.js.map +1 -0
- package/dist/FinnishInvestmentCompany/backend/index.d.ts +10 -0
- package/dist/FinnishInvestmentCompany/backend/index.js +36 -0
- package/dist/FinnishInvestmentCompany/backend/index.js.map +1 -0
- package/dist/FinnishInvestmentCompany/ui/index.d.ts +16 -0
- package/dist/FinnishInvestmentCompany/ui/index.js +22 -0
- package/dist/FinnishInvestmentCompany/ui/index.js.map +1 -0
- package/dist/FinnishLimitedCompanyComplete/backend/index.d.ts +10 -0
- package/dist/FinnishLimitedCompanyComplete/backend/index.js +36 -0
- package/dist/FinnishLimitedCompanyComplete/backend/index.js.map +1 -0
- package/dist/FinnishLimitedCompanyComplete/ui/index.d.ts +16 -0
- package/dist/FinnishLimitedCompanyComplete/ui/index.js +22 -0
- package/dist/FinnishLimitedCompanyComplete/ui/index.js.map +1 -0
- package/dist/FinnishLimitedCompanyLite/backend/index.d.ts +10 -0
- package/dist/FinnishLimitedCompanyLite/backend/index.js +43 -0
- package/dist/FinnishLimitedCompanyLite/backend/index.js.map +1 -0
- package/dist/FinnishLimitedCompanyLite/ui/index.d.ts +16 -0
- package/dist/FinnishLimitedCompanyLite/ui/index.js +24 -0
- package/dist/FinnishLimitedCompanyLite/ui/index.js.map +1 -0
- package/dist/GitBackup/backend/index.d.ts +26 -0
- package/dist/GitBackup/backend/index.js +91 -0
- package/dist/GitBackup/backend/index.js.map +1 -0
- package/dist/GitBackup/ui/index.d.ts +44 -0
- package/dist/GitBackup/ui/index.js +114 -0
- package/dist/GitBackup/ui/index.js.map +1 -0
- package/dist/IncomeAndExpenses/backend/index.d.ts +5 -0
- package/dist/IncomeAndExpenses/backend/index.js +350 -0
- package/dist/IncomeAndExpenses/backend/index.js.map +1 -0
- package/dist/JournalReport/backend/index.d.ts +15 -0
- package/dist/JournalReport/backend/index.js +143 -0
- package/dist/JournalReport/backend/index.js.map +1 -0
- package/dist/KrakenImport/backend/KrakenHandler.d.ts +23 -0
- package/dist/KrakenImport/backend/KrakenHandler.js +83 -0
- package/dist/KrakenImport/backend/KrakenHandler.js.map +1 -0
- package/dist/KrakenImport/backend/index.d.ts +5 -0
- package/dist/KrakenImport/backend/index.js +18 -0
- package/dist/KrakenImport/backend/index.js.map +1 -0
- package/dist/LedgerReport/backend/index.d.ts +15 -0
- package/dist/LedgerReport/backend/index.js +150 -0
- package/dist/LedgerReport/backend/index.js.map +1 -0
- package/dist/LynxImport/backend/LynxHandler.d.ts +28 -0
- package/dist/LynxImport/backend/LynxHandler.js +340 -0
- package/dist/LynxImport/backend/LynxHandler.js.map +1 -0
- package/dist/LynxImport/backend/index.d.ts +5 -0
- package/dist/LynxImport/backend/index.js +18 -0
- package/dist/LynxImport/backend/index.js.map +1 -0
- package/dist/NordeaImport/backend/NordeaHandler.d.ts +11 -0
- package/dist/NordeaImport/backend/NordeaHandler.js +39 -0
- package/dist/NordeaImport/backend/NordeaHandler.js.map +1 -0
- package/dist/NordeaImport/backend/index.d.ts +5 -0
- package/dist/NordeaImport/backend/index.js +18 -0
- package/dist/NordeaImport/backend/index.js.map +1 -0
- package/dist/NordnetImport/backend/NordnetHandler.d.ts +17 -0
- package/dist/NordnetImport/backend/NordnetHandler.js +66 -0
- package/dist/NordnetImport/backend/NordnetHandler.js.map +1 -0
- package/dist/NordnetImport/backend/index.d.ts +5 -0
- package/dist/NordnetImport/backend/index.js +18 -0
- package/dist/NordnetImport/backend/index.js.map +1 -0
- package/dist/Rand/ui/index.d.ts +15 -0
- package/dist/Rand/ui/index.js +22 -0
- package/dist/Rand/ui/index.js.map +1 -0
- package/dist/RapidAPI/backend/index.d.ts +22 -0
- package/dist/RapidAPI/backend/index.js +119 -0
- package/dist/RapidAPI/backend/index.js.map +1 -0
- package/dist/TITOImport/backend/TITOHandler.d.ts +13 -0
- package/dist/TITOImport/backend/TITOHandler.js +241 -0
- package/dist/TITOImport/backend/TITOHandler.js.map +1 -0
- package/dist/TITOImport/backend/index.d.ts +5 -0
- package/dist/TITOImport/backend/index.js +18 -0
- package/dist/TITOImport/backend/index.js.map +1 -0
- package/dist/TagEditor/ui/index.d.ts +31 -0
- package/dist/TagEditor/ui/index.js +349 -0
- package/dist/TagEditor/ui/index.js.map +1 -0
- package/dist/USDollar/ui/index.d.ts +15 -0
- package/dist/USDollar/ui/index.js +22 -0
- package/dist/USDollar/ui/index.js.map +1 -0
- package/dist/VAT/ui/index.d.ts +69 -0
- package/dist/VAT/ui/index.js +509 -0
- package/dist/VAT/ui/index.js.map +1 -0
- package/dist/VATFinland/backend/index.d.ts +5 -0
- package/dist/VATFinland/backend/index.js +17 -0
- package/dist/VATFinland/backend/index.js.map +1 -0
- package/package.json +7 -6
- package/src/CoinAPI/backend/index.ts +2 -2
- package/src/CoinbaseImport/backend/CoinbaseHandler.ts +2 -2
- package/src/CoinbaseImport/backend/index.ts +2 -2
- package/src/DocumentCleaner/ui/index.tsx +2 -2
- package/src/Euro/ui/index.tsx +1 -1
- package/src/Finnish/ui/index.tsx +1 -1
- package/src/FinnishBalanceSheetReport/backend/index.ts +2 -2
- package/src/FinnishBalanceSheetReportInvestment/backend/index.ts +2 -2
- package/src/FinnishBalanceSheetReportLite/backend/index.ts +2 -2
- package/src/FinnishIncomeStatementReport/backend/index.ts +2 -2
- package/src/FinnishIncomeStatementReportInvestment/backend/index.ts +2 -2
- package/src/FinnishIncomeStatementReportLite/backend/index.ts +2 -2
- package/src/FinnishInvestmentCompany/backend/index.ts +2 -2
- package/src/FinnishInvestmentCompany/ui/index.tsx +1 -1
- package/src/FinnishLimitedCompanyComplete/backend/index.ts +2 -2
- package/src/FinnishLimitedCompanyComplete/ui/index.tsx +1 -1
- package/src/FinnishLimitedCompanyLite/backend/index.ts +2 -2
- package/src/FinnishLimitedCompanyLite/ui/index.tsx +1 -1
- package/src/GitBackup/backend/index.ts +2 -2
- package/src/GitBackup/ui/index.tsx +1 -1
- package/src/IncomeAndExpenses/backend/index.ts +2 -2
- package/src/JournalReport/backend/index.ts +2 -2
- package/src/KrakenImport/backend/KrakenHandler.ts +2 -2
- package/src/KrakenImport/backend/index.ts +2 -2
- package/src/LedgerReport/backend/index.ts +2 -2
- package/src/LynxImport/backend/LynxHandler.ts +2 -2
- package/src/LynxImport/backend/index.ts +2 -2
- package/src/NordeaImport/backend/NordeaHandler.ts +2 -2
- package/src/NordeaImport/backend/index.ts +2 -2
- package/src/NordnetImport/backend/NordnetHandler.ts +2 -2
- package/src/NordnetImport/backend/index.ts +2 -2
- package/src/Rand/ui/index.tsx +1 -1
- package/src/RapidAPI/backend/index.ts +2 -2
- package/src/TITOImport/backend/TITOHandler.ts +2 -2
- package/src/TITOImport/backend/index.ts +2 -2
- package/src/TagEditor/ui/index.tsx +2 -2
- package/src/USDollar/ui/index.tsx +1 -1
- package/src/VAT/ui/index.tsx +2 -2
- package/src/VATFinland/backend/index.ts +2 -2
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// eslint-disable-next-line no-use-before-define
|
|
2
2
|
import React from 'react'
|
|
3
|
-
import { Title, Localize, SubPanel, IconButton, ToolPlugin } from '@
|
|
3
|
+
import { Title, Localize, SubPanel, IconButton, ToolPlugin } from '@tasenor/common-ui'
|
|
4
4
|
import { runInAction } from 'mobx'
|
|
5
5
|
import { Trans } from 'react-i18next'
|
|
6
6
|
import { Typography } from '@mui/material'
|
|
7
|
-
import { DocumentModel, ShortDate, ID } from '@
|
|
7
|
+
import { DocumentModel, ShortDate, ID } from '@tasenor/common'
|
|
8
8
|
|
|
9
9
|
class DocumentCleaner extends ToolPlugin {
|
|
10
10
|
|
package/src/Euro/ui/index.tsx
CHANGED
package/src/Finnish/ui/index.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AccountNumber, Language, PluginCode, ReportID, ReportOptions, Version } from '@
|
|
2
|
-
import { ReportPlugin } from '@
|
|
1
|
+
import { AccountNumber, Language, PluginCode, ReportID, ReportOptions, Version } from '@tasenor/common'
|
|
2
|
+
import { ReportPlugin } from '@tasenor/common-node'
|
|
3
3
|
import dayjs from 'dayjs'
|
|
4
4
|
import quarterOfYear from 'dayjs/plugin/quarterOfYear'
|
|
5
5
|
dayjs.extend(quarterOfYear)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AccountNumber, Language, PluginCode, ReportID, ReportOptions, Version } from '@
|
|
2
|
-
import { ReportPlugin } from '@
|
|
1
|
+
import { AccountNumber, Language, PluginCode, ReportID, ReportOptions, Version } from '@tasenor/common'
|
|
2
|
+
import { ReportPlugin } from '@tasenor/common-node'
|
|
3
3
|
import dayjs from 'dayjs'
|
|
4
4
|
import quarterOfYear from 'dayjs/plugin/quarterOfYear'
|
|
5
5
|
dayjs.extend(quarterOfYear)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AccountNumber, Language, PluginCode, ReportID, ReportOptions, Version } from '@
|
|
2
|
-
import { ReportPlugin } from '@
|
|
1
|
+
import { AccountNumber, Language, PluginCode, ReportID, ReportOptions, Version } from '@tasenor/common'
|
|
2
|
+
import { ReportPlugin } from '@tasenor/common-node'
|
|
3
3
|
import dayjs from 'dayjs'
|
|
4
4
|
import quarterOfYear from 'dayjs/plugin/quarterOfYear'
|
|
5
5
|
dayjs.extend(quarterOfYear)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AccountNumber, Language, PluginCode, ReportID, ReportOptions, Version } from '@
|
|
2
|
-
import { ReportPlugin } from '@
|
|
1
|
+
import { AccountNumber, Language, PluginCode, ReportID, ReportOptions, Version } from '@tasenor/common'
|
|
2
|
+
import { ReportPlugin } from '@tasenor/common-node'
|
|
3
3
|
import dayjs from 'dayjs'
|
|
4
4
|
import quarterOfYear from 'dayjs/plugin/quarterOfYear'
|
|
5
5
|
dayjs.extend(quarterOfYear)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AccountNumber, Language, PluginCode, ReportID, ReportOptions, Version } from '@
|
|
2
|
-
import { ReportPlugin } from '@
|
|
1
|
+
import { AccountNumber, Language, PluginCode, ReportID, ReportOptions, Version } from '@tasenor/common'
|
|
2
|
+
import { ReportPlugin } from '@tasenor/common-node'
|
|
3
3
|
import dayjs from 'dayjs'
|
|
4
4
|
import quarterOfYear from 'dayjs/plugin/quarterOfYear'
|
|
5
5
|
dayjs.extend(quarterOfYear)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AccountNumber, Language, PluginCode, ReportID, ReportOptions, Version } from '@
|
|
2
|
-
import { ReportPlugin } from '@
|
|
1
|
+
import { AccountNumber, Language, PluginCode, ReportID, ReportOptions, Version } from '@tasenor/common'
|
|
2
|
+
import { ReportPlugin } from '@tasenor/common-node'
|
|
3
3
|
import dayjs from 'dayjs'
|
|
4
4
|
import quarterOfYear from 'dayjs/plugin/quarterOfYear'
|
|
5
5
|
dayjs.extend(quarterOfYear)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from 'path'
|
|
2
|
-
import { SchemePlugin } from '@
|
|
3
|
-
import { Currency, Language, PluginCode, SchemeName, TsvFilePath, Version } from '@
|
|
2
|
+
import { SchemePlugin } from '@tasenor/common-node'
|
|
3
|
+
import { Currency, Language, PluginCode, SchemeName, TsvFilePath, Version } from '@tasenor/common'
|
|
4
4
|
|
|
5
5
|
class FinnishInvestmentCompany extends SchemePlugin {
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from 'path'
|
|
2
|
-
import { SchemePlugin } from '@
|
|
3
|
-
import { Currency, Language, PluginCode, SchemeName, TsvFilePath, Version } from '@
|
|
2
|
+
import { SchemePlugin } from '@tasenor/common-node'
|
|
3
|
+
import { Currency, Language, PluginCode, SchemeName, TsvFilePath, Version } from '@tasenor/common'
|
|
4
4
|
|
|
5
5
|
class FinnishLimitedCompanyComplete extends SchemePlugin {
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from 'path'
|
|
2
|
-
import { SchemePlugin } from '@
|
|
3
|
-
import { Currency, Language, PluginCode, SchemeName, TsvFilePath, Version } from '@
|
|
2
|
+
import { SchemePlugin } from '@tasenor/common-node'
|
|
3
|
+
import { Currency, Language, PluginCode, SchemeName, TsvFilePath, Version } from '@tasenor/common'
|
|
4
4
|
|
|
5
5
|
class FinnishLimitedCompanyLite extends SchemePlugin {
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GitRepo, KnexDatabase, systemPiped, TasenorExporter, ToolPlugin } from '@
|
|
2
|
-
import { DirectoryPath, Email, error, log, note, PluginCode, Version } from '@
|
|
1
|
+
import { GitRepo, KnexDatabase, systemPiped, TasenorExporter, ToolPlugin } from '@tasenor/common-node'
|
|
2
|
+
import { DirectoryPath, Email, error, log, note, PluginCode, Version } from '@tasenor/common'
|
|
3
3
|
import fs from 'fs'
|
|
4
4
|
import path from 'path'
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
|
-
import { Note, IconButton, SubPanel, ToolPlugin } from '@
|
|
2
|
+
import { Note, IconButton, SubPanel, ToolPlugin } from '@tasenor/common-ui'
|
|
3
3
|
import { makeObservable, observable, runInAction } from 'mobx'
|
|
4
4
|
import { Trans } from 'react-i18next'
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DataPlugin } from '@
|
|
2
|
-
import { PluginCode, Version } from '@
|
|
1
|
+
import { DataPlugin } from '@tasenor/common-node'
|
|
2
|
+
import { PluginCode, Version } from '@tasenor/common'
|
|
3
3
|
|
|
4
4
|
class IncomeAndExpenses extends DataPlugin {
|
|
5
5
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReportPlugin } from '@
|
|
2
|
-
import { Language, PluginCode, ReportColumnDefinition, ReportFormat, ReportID, ReportItem, ReportOptions, Version } from '@
|
|
1
|
+
import { ReportPlugin } from '@tasenor/common-node'
|
|
2
|
+
import { Language, PluginCode, ReportColumnDefinition, ReportFormat, ReportID, ReportItem, ReportOptions, Version } from '@tasenor/common'
|
|
3
3
|
|
|
4
4
|
class JournalReport extends ReportPlugin {
|
|
5
5
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ImportStateText, NO_SEGMENT, SegmentId, TextFileLine } from '@
|
|
2
|
-
import { NotImplemented, Process, ProcessFile, TransactionImportHandler } from '@
|
|
1
|
+
import { ImportStateText, NO_SEGMENT, SegmentId, TextFileLine } from '@tasenor/common'
|
|
2
|
+
import { NotImplemented, Process, ProcessFile, TransactionImportHandler } from '@tasenor/common-node'
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Import implementation for Coinbase CSV format.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ImportPlugin } from '@
|
|
2
|
-
import { PluginCode, Version } from '@
|
|
1
|
+
import { ImportPlugin } from '@tasenor/common-node'
|
|
2
|
+
import { PluginCode, Version } from '@tasenor/common'
|
|
3
3
|
import { KrakenHandler } from './KrakenHandler'
|
|
4
4
|
|
|
5
5
|
class KrakenImportPlugin extends ImportPlugin {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ReportPlugin } from '@
|
|
2
|
-
import { Language, PluginCode, ReportColumnDefinition, ReportFormat, ReportID, ReportItem, ReportOptions, Version } from '@
|
|
1
|
+
import { ReportPlugin } from '@tasenor/common-node'
|
|
2
|
+
import { Language, PluginCode, ReportColumnDefinition, ReportFormat, ReportID, ReportItem, ReportOptions, Version } from '@tasenor/common'
|
|
3
3
|
|
|
4
4
|
class LedgerReport extends ReportPlugin {
|
|
5
5
|
constructor() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ImportStateText, NO_SEGMENT, ProcessConfig, warning, month, Language, ucfirst } from '@
|
|
2
|
-
import { InvalidFile, Process, ProcessFile, TransactionImportHandler } from '@
|
|
1
|
+
import { ImportStateText, NO_SEGMENT, ProcessConfig, warning, month, Language, ucfirst } from '@tasenor/common'
|
|
2
|
+
import { InvalidFile, Process, ProcessFile, TransactionImportHandler } from '@tasenor/common-node'
|
|
3
3
|
|
|
4
4
|
// Matcher for ticker and ISIN code.
|
|
5
5
|
const TICKER_ISIN_REGEX = /^\s*([-A-Za-z0-9 .]+)\(([A-Z0-9]+)\)/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ImportPlugin } from '@
|
|
2
|
-
import { PluginCode, Version } from '@
|
|
1
|
+
import { ImportPlugin } from '@tasenor/common-node'
|
|
2
|
+
import { PluginCode, Version } from '@tasenor/common'
|
|
3
3
|
import { LynxHandler } from './LynxHandler'
|
|
4
4
|
|
|
5
5
|
class LynxImportPlugin extends ImportPlugin {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NO_SEGMENT, SegmentId, TextFileLine } from '@
|
|
2
|
-
import { ProcessFile, TransactionImportHandler } from '@
|
|
1
|
+
import { NO_SEGMENT, SegmentId, TextFileLine } from '@tasenor/common'
|
|
2
|
+
import { ProcessFile, TransactionImportHandler } from '@tasenor/common-node'
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Import implementation for Nordea CSV format.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ImportPlugin } from '@
|
|
2
|
-
import { PluginCode, Version } from '@
|
|
1
|
+
import { ImportPlugin } from '@tasenor/common-node'
|
|
2
|
+
import { PluginCode, Version } from '@tasenor/common'
|
|
3
3
|
import { NordeaHandler } from './NordeaHandler'
|
|
4
4
|
|
|
5
5
|
class NordeaImportPlugin extends ImportPlugin {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ImportStateText, NO_SEGMENT, SegmentId, TextFileLine } from '@
|
|
2
|
-
import { NotImplemented, Process, ProcessFile, TransactionImportHandler } from '@
|
|
1
|
+
import { ImportStateText, NO_SEGMENT, SegmentId, TextFileLine } from '@tasenor/common'
|
|
2
|
+
import { NotImplemented, Process, ProcessFile, TransactionImportHandler } from '@tasenor/common-node'
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Import implementation for Coinbase CSV format.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ImportPlugin } from '@
|
|
2
|
-
import { PluginCode, Version } from '@
|
|
1
|
+
import { ImportPlugin } from '@tasenor/common-node'
|
|
2
|
+
import { PluginCode, Version } from '@tasenor/common'
|
|
3
3
|
import { NordnetHandler } from './NordnetHandler'
|
|
4
4
|
|
|
5
5
|
class NordnetImportPlugin extends ImportPlugin {
|
package/src/Rand/ui/index.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ServicePlugin } from '@
|
|
2
|
-
import { PluginCode, Version, TasenorElement } from '@
|
|
1
|
+
import { ServicePlugin } from '@tasenor/common-node'
|
|
2
|
+
import { PluginCode, Version, TasenorElement } from '@tasenor/common'
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Service: historical-currency-rate
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NO_SEGMENT, SegmentId, TextFileLine } from '@
|
|
2
|
-
import { InvalidFile, NotImplemented, ProcessFile, TransactionImportHandler } from '@
|
|
1
|
+
import { NO_SEGMENT, SegmentId, TextFileLine } from '@tasenor/common'
|
|
2
|
+
import { InvalidFile, NotImplemented, ProcessFile, TransactionImportHandler } from '@tasenor/common-node'
|
|
3
3
|
|
|
4
4
|
// Store the latest transactoin ID
|
|
5
5
|
let ref: string | undefined
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ImportPlugin } from '@
|
|
2
|
-
import { PluginCode, Version } from '@
|
|
1
|
+
import { ImportPlugin } from '@tasenor/common-node'
|
|
2
|
+
import { PluginCode, Version } from '@tasenor/common'
|
|
3
3
|
import { TITOHandler } from './TITOHandler'
|
|
4
4
|
|
|
5
5
|
class TITOImportPlugin extends ImportPlugin {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState } from 'react'
|
|
2
|
-
import { Title, ToolPlugin, QuestionMarkInline, FileUploadData, FileUploader } from '@
|
|
3
|
-
import { DatabaseModel, haveCursor, isTag, Tag, TagModel, TagType, Url } from '@
|
|
2
|
+
import { Title, ToolPlugin, QuestionMarkInline, FileUploadData, FileUploader } from '@tasenor/common-ui'
|
|
3
|
+
import { DatabaseModel, haveCursor, isTag, Tag, TagModel, TagType, Url } from '@tasenor/common'
|
|
4
4
|
import { Trans, useTranslation } from 'react-i18next'
|
|
5
5
|
import { Box, Button, Card, CardContent, CardMedia, Grid, IconButton, Tab, Tabs, TextField, Typography } from '@mui/material'
|
|
6
6
|
import { Add, Cancel, CheckCircle } from '@mui/icons-material'
|
package/src/VAT/ui/index.tsx
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import React from 'react'
|
|
3
3
|
import dayjs from 'dayjs'
|
|
4
4
|
import { Trans } from 'react-i18next'
|
|
5
|
-
import { AccountNumber, Currency, DocumentModelData, EntryModel, haveKnowledge, Tag, TagType } from '@
|
|
6
|
-
import { Localize, SubPanel, IconButton, IconSpacer, ToolPlugin, Money, TagChip, Dialog, Note } from '@
|
|
5
|
+
import { AccountNumber, Currency, DocumentModelData, EntryModel, haveKnowledge, Tag, TagType } from '@tasenor/common'
|
|
6
|
+
import { Localize, SubPanel, IconButton, IconSpacer, ToolPlugin, Money, TagChip, Dialog, Note } from '@tasenor/common-ui'
|
|
7
7
|
import { Link, Table, TableBody, TableCell, TableContainer, TableHead, TableRow } from '@mui/material'
|
|
8
8
|
import { makeObservable, observable, runInAction } from 'mobx'
|
|
9
9
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DataPlugin } from '@
|
|
2
|
-
import { PluginCode, Version } from '@
|
|
1
|
+
import { DataPlugin } from '@tasenor/common-node'
|
|
2
|
+
import { PluginCode, Version } from '@tasenor/common'
|
|
3
3
|
|
|
4
4
|
class VATFinland extends DataPlugin {
|
|
5
5
|
constructor() {
|