@tasenor/common-plugins 1.9.85 → 1.9.87

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 (48) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/.turbo/turbo-ci.log +2 -2
  3. package/data/FinnishBalanceSheetReport.mjs +3 -2
  4. package/data/FinnishBalanceSheetReportLite.mjs +3 -2
  5. package/data/FinnishIncomeStatementReport.mjs +3 -2
  6. package/data/FinnishIncomeStatementReportLite.mjs +3 -2
  7. package/data/FinnishLimitedCompanyComplete.mjs +3 -2
  8. package/data/FinnishLimitedCompanyLite.mjs +3 -2
  9. package/data/IncomeAndExpenses.mjs +3 -2
  10. package/data/PluginIndex.mjs +1 -1
  11. package/data/VATFinland.mjs +3 -2
  12. package/dist/index.d.ts +0 -3
  13. package/dist/index.js +0 -3
  14. package/dist/index.js.map +1 -1
  15. package/package.json +7 -5
  16. package/src/index.ts +0 -3
  17. package/data/FinnishBalanceSheetReportInvestment.mjs +0 -11
  18. package/data/FinnishIncomeStatementReportInvestment.mjs +0 -11
  19. package/data/FinnishInvestmentCompany.mjs +0 -5
  20. package/data/lib/utils.mjs +0 -314
  21. package/data/src/FinnishBalanceSheetReportInvestment - balance-sheet-detailed-fi.tsv +0 -100
  22. package/data/src/FinnishBalanceSheetReportInvestment - balance-sheet-fi.tsv +0 -52
  23. package/data/src/FinnishIncomeStatementReportInvestment - income-statement-detailed-fi.tsv +0 -96
  24. package/data/src/FinnishIncomeStatementReportInvestment - income-statement-fi.tsv +0 -39
  25. package/data/src/FinnishInvestmentCompany - fi-EUR.tsv +0 -722
  26. package/dist/FinnishBalanceSheetReportInvestment/backend/index.d.ts +0 -18
  27. package/dist/FinnishBalanceSheetReportInvestment/backend/index.js +0 -96
  28. package/dist/FinnishBalanceSheetReportInvestment/backend/index.js.map +0 -1
  29. package/dist/FinnishIncomeStatementReportInvestment/backend/index.d.ts +0 -26
  30. package/dist/FinnishIncomeStatementReportInvestment/backend/index.js +0 -190
  31. package/dist/FinnishIncomeStatementReportInvestment/backend/index.js.map +0 -1
  32. package/dist/FinnishInvestmentCompany/backend/index.d.ts +0 -10
  33. package/dist/FinnishInvestmentCompany/backend/index.js +0 -36
  34. package/dist/FinnishInvestmentCompany/backend/index.js.map +0 -1
  35. package/dist/FinnishInvestmentCompany/ui/index.d.ts +0 -16
  36. package/dist/FinnishInvestmentCompany/ui/index.js +0 -22
  37. package/dist/FinnishInvestmentCompany/ui/index.js.map +0 -1
  38. package/src/FinnishBalanceSheetReportInvestment/backend/balance-sheet-investment-detailed-fi.tsv +0 -100
  39. package/src/FinnishBalanceSheetReportInvestment/backend/balance-sheet-investment-fi.tsv +0 -52
  40. package/src/FinnishBalanceSheetReportInvestment/backend/index.ts +0 -107
  41. package/src/FinnishIncomeStatementReportInvestment/backend/income-statement-detailed-fi.tsv +0 -118
  42. package/src/FinnishIncomeStatementReportInvestment/backend/income-statement-fi.tsv +0 -45
  43. package/src/FinnishIncomeStatementReportInvestment/backend/income-statement-investment-detailed-fi.tsv +0 -96
  44. package/src/FinnishIncomeStatementReportInvestment/backend/income-statement-investment-fi.tsv +0 -39
  45. package/src/FinnishIncomeStatementReportInvestment/backend/index.ts +0 -212
  46. package/src/FinnishInvestmentCompany/backend/fi-EUR.tsv +0 -722
  47. package/src/FinnishInvestmentCompany/backend/index.ts +0 -46
  48. package/src/FinnishInvestmentCompany/ui/index.tsx +0 -26
@@ -1,46 +0,0 @@
1
- import path from 'path'
2
- import { SchemePlugin } from '@tasenor/common-node'
3
- import { Currency, Language, PluginCode, SchemeName, TsvFilePath, Version } from '@tasenor/common'
4
-
5
- class FinnishInvestmentCompany extends SchemePlugin {
6
-
7
- constructor() {
8
- super('FinnishInvestmentCompany' as SchemeName)
9
-
10
- this.code = 'FinnishInvestmentCompany' as PluginCode
11
- this.title = 'Finnish Investment Company'
12
- this.version = '1.0.21' as Version
13
- this.icon = '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M11.17 8l-.58-.59L9.17 6H4v12h16V8h-8z" opacity=".3"/><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V6h5.17l1.41 1.41.59.59H20v10z"/></svg>'
14
- this.releaseDate = '2023-05-24'
15
- this.use = 'both'
16
- this.type = 'scheme'
17
- this.description = 'An accounting scheme for Finnish limited company investing in various financial instruments like stocks and bonds.'
18
-
19
- this.languages = {
20
- fi: {
21
- }
22
- }
23
- }
24
-
25
- getSchemePaths(code): TsvFilePath[] {
26
- if (code === 'FinnishInvestmentCompany') {
27
- return [path.join(__dirname, 'fi-EUR.tsv') as TsvFilePath]
28
- }
29
- return []
30
- }
31
-
32
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
33
- getSchemeDefaults(code): Record<string, unknown> {
34
- return {}
35
- }
36
-
37
- supportedCurrencies(): Currency[] {
38
- return ['EUR']
39
- }
40
-
41
- supportedLanguages(): Language[] {
42
- return ['fi']
43
- }
44
- }
45
-
46
- export default FinnishInvestmentCompany
@@ -1,26 +0,0 @@
1
- import { SchemePlugin } from '@tasenor/common-ui'
2
-
3
- class FinnishInvestmentCompany extends SchemePlugin {
4
-
5
- static code = 'FinnishInvestmentCompany'
6
- static title = 'Finnish Investment Company'
7
- static version = '1.0.21'
8
- static icon = '<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M11.17 8l-.58-.59L9.17 6H4v12h16V8h-8z" opacity=".3"/><path d="M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm0 12H4V6h5.17l1.41 1.41.59.59H20v10z"/></svg>'
9
- static releaseDate = '2023-05-24'
10
- static use = 'both'
11
- static type = 'scheme'
12
- static description = 'An accounting scheme for Finnish limited company investing in various financial instruments like stocks and bonds.'
13
-
14
- constructor() {
15
- super()
16
- this.languages = {
17
- fi: {}
18
- }
19
- }
20
-
21
- getAccountingSchemes() {
22
- return { FinnishInvestmentCompany: 'Sijoitusyhtiön tilikartta' }
23
- }
24
- }
25
-
26
- export default FinnishInvestmentCompany