taxtank-core 0.33.46 → 0.33.48
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/src/lib/collections/chart-accounts/chart-accounts-value.collection.mjs +20 -0
- package/esm2022/src/lib/collections/chart-accounts/index.mjs +2 -0
- package/esm2022/src/lib/collections/chart-accounts.collection.mjs +2 -2
- package/esm2022/src/lib/collections/collection.mjs +2 -2
- package/esm2022/src/lib/collections/home-office/home-office-claim.collection.mjs +7 -0
- package/esm2022/src/lib/collections/home-office/index.mjs +2 -0
- package/esm2022/src/lib/collections/index.mjs +3 -1
- package/esm2022/src/lib/collections/transaction/transaction.collection.mjs +3 -3
- package/esm2022/src/lib/db/Enums/{allocation-rule-condition-comparison-operator.enum.mjs → bank/allocation-rule/allocation-rule-condition-comparison-operator.enum.mjs} +1 -1
- package/esm2022/src/lib/db/Enums/{allocation-rule-condition-field.enum.mjs → bank/allocation-rule/allocation-rule-condition-field.enum.mjs} +1 -1
- package/esm2022/src/lib/db/Enums/{allocation-rule-condition-operator.enum.mjs → bank/allocation-rule/allocation-rule-condition-operator.enum.mjs} +1 -1
- package/esm2022/src/lib/db/Enums/bank/allocation-rule/allocation-rule-type.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/bank/allocation-rule/index.mjs +5 -0
- package/esm2022/src/lib/db/Enums/bank/index.mjs +2 -1
- package/esm2022/src/lib/db/Enums/chart-accounts/business-chart-accounts.enum.mjs +48 -0
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.mjs +25 -66
- package/esm2022/src/lib/db/Enums/chart-accounts/index.mjs +2 -3
- package/esm2022/src/lib/db/Enums/home-office/home-office-claim-method.enum.mjs +7 -0
- package/esm2022/src/lib/db/Enums/home-office/index.mjs +2 -0
- package/esm2022/src/lib/db/Enums/index.mjs +2 -6
- package/esm2022/src/lib/db/Models/bank/bank-transaction.mjs +2 -2
- package/esm2022/src/lib/db/Models/depreciation/depreciation.mjs +1 -2
- package/esm2022/src/lib/db/Models/sole/sole-business.mjs +2 -1
- package/esm2022/src/lib/db/Models/sole/sole-details.mjs +2 -1
- package/esm2022/src/lib/db/Models/user/user.mjs +1 -1
- package/esm2022/src/lib/db/Models/vehicle/vehicle-claim.mjs +2 -1
- package/esm2022/src/lib/forms/abstract.form.mjs +36 -4
- package/esm2022/src/lib/forms/address/address.form.mjs +1 -1
- package/esm2022/src/lib/forms/home-office/home-office-calculator.form.mjs +25 -0
- package/esm2022/src/lib/forms/home-office/home-office-claim.form.mjs +47 -0
- package/esm2022/src/lib/forms/home-office/home-office-log.form.mjs +15 -0
- package/esm2022/src/lib/forms/home-office/index.mjs +4 -0
- package/esm2022/src/lib/forms/index.mjs +2 -1
- package/esm2022/src/lib/forms/transaction/work/work-expense.form.mjs +15 -2
- package/esm2022/src/lib/models/bank/bank-transaction-chart-data.mjs +2 -3
- package/esm2022/src/lib/models/chart-accounts/chart-accounts.mjs +36 -11
- package/esm2022/src/lib/models/dictionary/dictionary.mjs +3 -2
- package/esm2022/src/lib/models/endpoint/endpoint.mjs +1 -1
- package/esm2022/src/lib/models/endpoint/endpoints.const.mjs +8 -1
- package/esm2022/src/lib/models/home-office/home-office-claim.interface.mjs +2 -0
- package/esm2022/src/lib/models/home-office/home-office-claim.mjs +46 -0
- package/esm2022/src/lib/models/home-office/home-office-log.interface.mjs +2 -0
- package/esm2022/src/lib/models/home-office/home-office-log.mjs +14 -0
- package/esm2022/src/lib/models/home-office/index.mjs +5 -0
- package/esm2022/src/lib/models/index.mjs +2 -1
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/business-income-or-losses-categories.const.mjs +14 -14
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-income/my-tax-business-income.mjs +18 -18
- package/esm2022/src/lib/models/report/my-tax/my-tax-business-income-or-losses/my-tax-business-losses/my-tax-business-losses.mjs +12 -12
- package/esm2022/src/lib/models/sole/sole-invoice-item.mjs +25 -2
- package/esm2022/src/lib/models/transaction/transaction.mjs +10 -4
- package/esm2022/src/lib/services/data.service.mjs +2 -2
- package/esm2022/src/lib/services/http/home-office/home-office-claim-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/home-office/home-office-claim.service.mjs +23 -0
- package/esm2022/src/lib/services/http/home-office/home-office-log-messages.enum.mjs +8 -0
- package/esm2022/src/lib/services/http/home-office/home-office-log.service.mjs +23 -0
- package/esm2022/src/lib/services/http/home-office/index.mjs +5 -0
- package/esm2022/src/lib/services/http/index.mjs +3 -1
- package/esm2022/src/lib/services/http/rest/rest-old.service.mjs +8 -1
- package/esm2022/src/lib/services/http/rest/rest.service.mjs +24 -5
- package/esm2022/src/lib/services/http/rest-messages.enum.mjs +7 -0
- package/esm2022/src/lib/services/http/transaction/transaction.service.mjs +9 -5
- package/esm2022/src/lib/services/json/chart-accounts/chart-accounts-value.service.mjs +4 -12
- package/esm2022/src/lib/validators/current-fin-year.validator.mjs +3 -2
- package/fesm2022/taxtank-core.mjs +485 -170
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/collections/chart-accounts/chart-accounts-value.collection.d.ts +12 -0
- package/src/lib/collections/chart-accounts/index.d.ts +1 -0
- package/src/lib/collections/collection.d.ts +1 -1
- package/src/lib/collections/home-office/home-office-claim.collection.d.ts +5 -0
- package/src/lib/collections/home-office/index.d.ts +1 -0
- package/src/lib/collections/index.d.ts +2 -0
- package/src/lib/db/Enums/bank/allocation-rule/index.d.ts +4 -0
- package/src/lib/db/Enums/bank/index.d.ts +1 -0
- package/src/lib/db/Enums/chart-accounts/business-chart-accounts.enum.d.ts +46 -0
- package/src/lib/db/Enums/chart-accounts/chart-accounts-list.enum.d.ts +24 -65
- package/src/lib/db/Enums/chart-accounts/index.d.ts +1 -2
- package/src/lib/db/Enums/home-office/home-office-claim-method.enum.d.ts +5 -0
- package/src/lib/db/Enums/home-office/index.d.ts +1 -0
- package/src/lib/db/Enums/index.d.ts +1 -4
- package/src/lib/db/Models/depreciation/depreciation.d.ts +0 -1
- package/src/lib/db/Models/sole/sole-business.d.ts +1 -0
- package/src/lib/db/Models/sole/sole-details.d.ts +1 -0
- package/src/lib/db/Models/user/user.d.ts +1 -1
- package/src/lib/db/Models/vehicle/vehicle-claim.d.ts +1 -0
- package/src/lib/forms/abstract.form.d.ts +11 -1
- package/src/lib/forms/home-office/home-office-calculator.form.d.ts +8 -0
- package/src/lib/forms/home-office/home-office-claim.form.d.ts +12 -0
- package/src/lib/forms/home-office/home-office-log.form.d.ts +5 -0
- package/src/lib/forms/home-office/index.d.ts +3 -0
- package/src/lib/forms/index.d.ts +1 -0
- package/src/lib/forms/transaction/work/work-expense.form.d.ts +4 -2
- package/src/lib/models/bank/bank-transaction-chart-data.d.ts +2 -2
- package/src/lib/models/chart-accounts/chart-accounts.d.ts +5 -1
- package/src/lib/models/dictionary/dictionary.d.ts +2 -2
- package/src/lib/models/home-office/home-office-claim.d.ts +26 -0
- package/src/lib/models/home-office/home-office-claim.interface.d.ts +20 -0
- package/src/lib/models/home-office/home-office-log.d.ts +11 -0
- package/src/lib/models/home-office/home-office-log.interface.d.ts +9 -0
- package/src/lib/models/home-office/index.d.ts +4 -0
- package/src/lib/models/index.d.ts +1 -0
- package/src/lib/models/sole/sole-invoice-item.d.ts +2 -1
- package/src/lib/models/transaction/transaction.d.ts +3 -1
- package/src/lib/services/http/home-office/home-office-claim-messages.enum.d.ts +6 -0
- package/src/lib/services/http/home-office/home-office-claim.service.d.ts +12 -0
- package/src/lib/services/http/home-office/home-office-log-messages.enum.d.ts +6 -0
- package/src/lib/services/http/home-office/home-office-log.service.d.ts +12 -0
- package/src/lib/services/http/home-office/index.d.ts +4 -0
- package/src/lib/services/http/index.d.ts +2 -0
- package/src/lib/services/http/rest/rest-old.service.d.ts +4 -0
- package/src/lib/services/http/rest/rest.service.d.ts +1 -0
- package/src/lib/services/http/rest-messages.enum.d.ts +5 -0
- package/src/lib/services/http/transaction/transaction.service.d.ts +1 -0
- package/src/lib/services/json/chart-accounts/chart-accounts-value.service.d.ts +3 -7
- package/esm2022/src/lib/db/Enums/allocation-rule-type.enum.mjs +0 -7
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.mjs +0 -25
- package/esm2022/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.mjs +0 -6
- package/esm2022/src/lib/validators/address-corelogic.validator.mjs +0 -19
- package/src/lib/db/Enums/chart-accounts/chart-accounts-invoice.enum.d.ts +0 -23
- package/src/lib/db/Enums/chart-accounts/chart-accounts-unallocatable-list.enum.d.ts +0 -4
- package/src/lib/validators/address-corelogic.validator.d.ts +0 -6
- /package/src/lib/db/Enums/{allocation-rule-condition-comparison-operator.enum.d.ts → bank/allocation-rule/allocation-rule-condition-comparison-operator.enum.d.ts} +0 -0
- /package/src/lib/db/Enums/{allocation-rule-condition-field.enum.d.ts → bank/allocation-rule/allocation-rule-condition-field.enum.d.ts} +0 -0
- /package/src/lib/db/Enums/{allocation-rule-condition-operator.enum.d.ts → bank/allocation-rule/allocation-rule-condition-operator.enum.d.ts} +0 -0
- /package/src/lib/db/Enums/{allocation-rule-type.enum.d.ts → bank/allocation-rule/allocation-rule-type.enum.d.ts} +0 -0
@@ -1,6 +1,17 @@
|
|
1
1
|
export var ChartAccountsListEnum;
|
2
2
|
(function (ChartAccountsListEnum) {
|
3
|
-
ChartAccountsListEnum[ChartAccountsListEnum["
|
3
|
+
ChartAccountsListEnum[ChartAccountsListEnum["SALARY_OR_WAGES"] = 2] = "SALARY_OR_WAGES";
|
4
|
+
ChartAccountsListEnum[ChartAccountsListEnum["LUMP_SUM_A_GENUINE_REDUNDANCY"] = 9] = "LUMP_SUM_A_GENUINE_REDUNDANCY";
|
5
|
+
ChartAccountsListEnum[ChartAccountsListEnum["LUMP_SUM_A_ALL_OTHER_PAYMENTS"] = 10] = "LUMP_SUM_A_ALL_OTHER_PAYMENTS";
|
6
|
+
ChartAccountsListEnum[ChartAccountsListEnum["LUMP_SUM_B"] = 11] = "LUMP_SUM_B";
|
7
|
+
ChartAccountsListEnum[ChartAccountsListEnum["ATTRIBUTABLE_PSI"] = 20] = "ATTRIBUTABLE_PSI";
|
8
|
+
ChartAccountsListEnum[ChartAccountsListEnum["INTEREST_EARNED"] = 22] = "INTEREST_EARNED";
|
9
|
+
ChartAccountsListEnum[ChartAccountsListEnum["KMS_TRAVELLED"] = 24] = "KMS_TRAVELLED";
|
10
|
+
ChartAccountsListEnum[ChartAccountsListEnum["VEHICLES"] = 25] = "VEHICLES";
|
11
|
+
ChartAccountsListEnum[ChartAccountsListEnum["COMMERCIAL_VEHICLES"] = 26] = "COMMERCIAL_VEHICLES";
|
12
|
+
ChartAccountsListEnum[ChartAccountsListEnum["VEHICLE_LOAN_INTEREST"] = 37] = "VEHICLE_LOAN_INTEREST";
|
13
|
+
ChartAccountsListEnum[ChartAccountsListEnum["VEHICLE_LOAN_PRINCIPAL"] = 38] = "VEHICLE_LOAN_PRINCIPAL";
|
14
|
+
ChartAccountsListEnum[ChartAccountsListEnum["HOME_OFFICE_HOURS"] = 103] = "HOME_OFFICE_HOURS";
|
4
15
|
ChartAccountsListEnum[ChartAccountsListEnum["PARTNERSHIP_EXPENSES"] = 156] = "PARTNERSHIP_EXPENSES";
|
5
16
|
ChartAccountsListEnum[ChartAccountsListEnum["TRUST_EXPENSES"] = 157] = "TRUST_EXPENSES";
|
6
17
|
ChartAccountsListEnum[ChartAccountsListEnum["INTEREST_CHARGED_BY_ATO"] = 278] = "INTEREST_CHARGED_BY_ATO";
|
@@ -10,35 +21,12 @@ export var ChartAccountsListEnum;
|
|
10
21
|
ChartAccountsListEnum[ChartAccountsListEnum["ACCOUNTING_SOFTWARE_FEES"] = 285] = "ACCOUNTING_SOFTWARE_FEES";
|
11
22
|
ChartAccountsListEnum[ChartAccountsListEnum["ADVISOR_FEES"] = 286] = "ADVISOR_FEES";
|
12
23
|
ChartAccountsListEnum[ChartAccountsListEnum["INCOME_TAX_VARIATION"] = 292] = "INCOME_TAX_VARIATION";
|
13
|
-
ChartAccountsListEnum[ChartAccountsListEnum["PSI_ABN_NOT_QUOTED"] = 294] = "PSI_ABN_NOT_QUOTED";
|
14
|
-
ChartAccountsListEnum[ChartAccountsListEnum["PSI_LABOUR_HIRE_OR_OTHER"] = 294] = "PSI_LABOUR_HIRE_OR_OTHER";
|
15
|
-
ChartAccountsListEnum[ChartAccountsListEnum["PSI_VOLUNTARY_AGREEMENT"] = 296] = "PSI_VOLUNTARY_AGREEMENT";
|
16
24
|
ChartAccountsListEnum[ChartAccountsListEnum["RENTAL_INCOME"] = 298] = "RENTAL_INCOME";
|
17
25
|
ChartAccountsListEnum[ChartAccountsListEnum["OTHER_RENTAL_INCOME"] = 300] = "OTHER_RENTAL_INCOME";
|
18
26
|
ChartAccountsListEnum[ChartAccountsListEnum["INTEREST_ON_LOAN"] = 302] = "INTEREST_ON_LOAN";
|
19
|
-
ChartAccountsListEnum[ChartAccountsListEnum["BORROWING_EXPENSES"] = 315] = "BORROWING_EXPENSES";
|
20
|
-
ChartAccountsListEnum[ChartAccountsListEnum["DIVIDENDS"] = 542] = "DIVIDENDS";
|
21
|
-
ChartAccountsListEnum[ChartAccountsListEnum["TRANSFER"] = 615] = "TRANSFER";
|
22
27
|
ChartAccountsListEnum[ChartAccountsListEnum["BUILDING_AT_COST"] = 304] = "BUILDING_AT_COST";
|
23
|
-
ChartAccountsListEnum[ChartAccountsListEnum["KLMS_TRAVELLED_FOR_WORK"] = 24] = "KLMS_TRAVELLED_FOR_WORK";
|
24
|
-
ChartAccountsListEnum[ChartAccountsListEnum["DIRECTOR_FEES"] = 6] = "DIRECTOR_FEES";
|
25
|
-
ChartAccountsListEnum[ChartAccountsListEnum["SALARY_OR_WAGES"] = 2] = "SALARY_OR_WAGES";
|
26
|
-
ChartAccountsListEnum[ChartAccountsListEnum["WORK_VEHICLES"] = 25] = "WORK_VEHICLES";
|
27
|
-
ChartAccountsListEnum[ChartAccountsListEnum["SOLE_VEHICLES"] = 721] = "SOLE_VEHICLES";
|
28
|
-
ChartAccountsListEnum[ChartAccountsListEnum["COMMERCIAL_VEHICLES"] = 26] = "COMMERCIAL_VEHICLES";
|
29
|
-
ChartAccountsListEnum[ChartAccountsListEnum["VEHICLE_LOAN_INTEREST"] = 37] = "VEHICLE_LOAN_INTEREST";
|
30
|
-
ChartAccountsListEnum[ChartAccountsListEnum["VEHICLE_LOAN_PRINCIPAL"] = 38] = "VEHICLE_LOAN_PRINCIPAL";
|
31
|
-
ChartAccountsListEnum[ChartAccountsListEnum["TAX_INSTALMENTS"] = 662] = "TAX_INSTALMENTS";
|
32
|
-
ChartAccountsListEnum[ChartAccountsListEnum["INTEREST_EARNED"] = 22] = "INTEREST_EARNED";
|
33
|
-
ChartAccountsListEnum[ChartAccountsListEnum["PARTNERSHIP_INCOME"] = 566] = "PARTNERSHIP_INCOME";
|
34
|
-
ChartAccountsListEnum[ChartAccountsListEnum["TRUST_INCOME"] = 567] = "TRUST_INCOME";
|
35
|
-
ChartAccountsListEnum[ChartAccountsListEnum["TAX_OFFSETS_N_R_A_S"] = 571] = "TAX_OFFSETS_N_R_A_S";
|
36
|
-
ChartAccountsListEnum[ChartAccountsListEnum["LUMP_SUM_A_GENUINE_REDUNDANCY"] = 9] = "LUMP_SUM_A_GENUINE_REDUNDANCY";
|
37
|
-
ChartAccountsListEnum[ChartAccountsListEnum["LUMP_SUM_A_ALL_OTHER_PAYMENTS"] = 10] = "LUMP_SUM_A_ALL_OTHER_PAYMENTS";
|
38
|
-
ChartAccountsListEnum[ChartAccountsListEnum["LUMP_SUM_B"] = 11] = "LUMP_SUM_B";
|
39
|
-
ChartAccountsListEnum[ChartAccountsListEnum["ATTRIBUTABLE_PSI"] = 20] = "ATTRIBUTABLE_PSI";
|
40
28
|
ChartAccountsListEnum[ChartAccountsListEnum["LUMP_SUM_PAYMENTS_IN_ARREARS"] = 519] = "LUMP_SUM_PAYMENTS_IN_ARREARS";
|
41
|
-
ChartAccountsListEnum[ChartAccountsListEnum["JURY_ATTENDANCE_FEES"] =
|
29
|
+
ChartAccountsListEnum[ChartAccountsListEnum["JURY_ATTENDANCE_FEES"] = 521] = "JURY_ATTENDANCE_FEES";
|
42
30
|
ChartAccountsListEnum[ChartAccountsListEnum["FOREIGN_EXCHANGE_GAINS_NON_BUSINESS"] = 523] = "FOREIGN_EXCHANGE_GAINS_NON_BUSINESS";
|
43
31
|
ChartAccountsListEnum[ChartAccountsListEnum["ROYALTIES"] = 525] = "ROYALTIES";
|
44
32
|
ChartAccountsListEnum[ChartAccountsListEnum["TAXABLE_SCHOLARSHIPS_BURSARIES_GRANTS"] = 527] = "TAXABLE_SCHOLARSHIPS_BURSARIES_GRANTS";
|
@@ -47,56 +35,27 @@ export var ChartAccountsListEnum;
|
|
47
35
|
ChartAccountsListEnum[ChartAccountsListEnum["ATO_INTEREST_PAID"] = 533] = "ATO_INTEREST_PAID";
|
48
36
|
ChartAccountsListEnum[ChartAccountsListEnum["PERSONAL_SUPER_CONTRIBUTIONS_DEDUCTIBLE"] = 536] = "PERSONAL_SUPER_CONTRIBUTIONS_DEDUCTIBLE";
|
49
37
|
ChartAccountsListEnum[ChartAccountsListEnum["SOFTWARE_FEES_TAXTANK"] = 541] = "SOFTWARE_FEES_TAXTANK";
|
38
|
+
ChartAccountsListEnum[ChartAccountsListEnum["DIVIDENDS"] = 542] = "DIVIDENDS";
|
39
|
+
ChartAccountsListEnum[ChartAccountsListEnum["CODE_B_SUPERANNUATION_INCOME_STREAMS_DISABILITY"] = 558] = "CODE_B_SUPERANNUATION_INCOME_STREAMS_DISABILITY";
|
50
40
|
ChartAccountsListEnum[ChartAccountsListEnum["AUSTRALIAN_ANNUITY_PAYMENTS"] = 559] = "AUSTRALIAN_ANNUITY_PAYMENTS";
|
51
|
-
ChartAccountsListEnum[ChartAccountsListEnum["CODE_M_SUPERANNUATION_LUMP_SUM"] = 561] = "CODE_M_SUPERANNUATION_LUMP_SUM";
|
52
41
|
ChartAccountsListEnum[ChartAccountsListEnum["EMPLOYEE_SHARE_SCHEME_INCOME"] = 564] = "EMPLOYEE_SHARE_SCHEME_INCOME";
|
42
|
+
ChartAccountsListEnum[ChartAccountsListEnum["PARTNERSHIP_INCOME"] = 566] = "PARTNERSHIP_INCOME";
|
43
|
+
ChartAccountsListEnum[ChartAccountsListEnum["TRUST_INCOME"] = 567] = "TRUST_INCOME";
|
44
|
+
ChartAccountsListEnum[ChartAccountsListEnum["TAX_OFFSETS_N_R_A_S"] = 571] = "TAX_OFFSETS_N_R_A_S";
|
53
45
|
ChartAccountsListEnum[ChartAccountsListEnum["FORESTRY_MANAGED_INVESTMENT_SCHEMES_INCOME"] = 590] = "FORESTRY_MANAGED_INVESTMENT_SCHEMES_INCOME";
|
54
46
|
ChartAccountsListEnum[ChartAccountsListEnum["FORESTRY_MANAGED_INVESTMENT_SCHEMES_DEDUCTION"] = 593] = "FORESTRY_MANAGED_INVESTMENT_SCHEMES_DEDUCTION";
|
55
47
|
ChartAccountsListEnum[ChartAccountsListEnum["ASSESSABLE_AMOUNT_CAPPED_DEFINED_BENEFIT"] = 639] = "ASSESSABLE_AMOUNT_CAPPED_DEFINED_BENEFIT";
|
56
|
-
ChartAccountsListEnum[ChartAccountsListEnum["CODE_B_SUPERANNUATION_INCOME_STREAMS_DISABILITY"] = 558] = "CODE_B_SUPERANNUATION_INCOME_STREAMS_DISABILITY";
|
57
48
|
ChartAccountsListEnum[ChartAccountsListEnum["CODE_A_SUPERANNUATION_INCOME_STREAMS_DEATH"] = 640] = "CODE_A_SUPERANNUATION_INCOME_STREAMS_DEATH";
|
58
|
-
ChartAccountsListEnum[ChartAccountsListEnum["
|
59
|
-
ChartAccountsListEnum[ChartAccountsListEnum["LABOUR"] = 666] = "LABOUR";
|
60
|
-
ChartAccountsListEnum[ChartAccountsListEnum["UBER_INCOME"] = 667] = "UBER_INCOME";
|
61
|
-
ChartAccountsListEnum[ChartAccountsListEnum["COMMISSION"] = 668] = "COMMISSION";
|
62
|
-
ChartAccountsListEnum[ChartAccountsListEnum["PARTS_CONSUMABLES"] = 669] = "PARTS_CONSUMABLES";
|
63
|
-
ChartAccountsListEnum[ChartAccountsListEnum["OTHER_BUSINESS_INCOME"] = 670] = "OTHER_BUSINESS_INCOME";
|
64
|
-
ChartAccountsListEnum[ChartAccountsListEnum["ASSESSIBLE_GOVERNMENT_PAYMENTS"] = 671] = "ASSESSIBLE_GOVERNMENT_PAYMENTS";
|
65
|
-
ChartAccountsListEnum[ChartAccountsListEnum["GROSS_PAYMENTS_NO_ABN_GIVEN"] = 672] = "GROSS_PAYMENTS_NO_ABN_GIVEN";
|
66
|
-
ChartAccountsListEnum[ChartAccountsListEnum["GROSS_PAYMENTS_VOLUNTARY_AGREEMENT"] = 673] = "GROSS_PAYMENTS_VOLUNTARY_AGREEMENT";
|
67
|
-
ChartAccountsListEnum[ChartAccountsListEnum["GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS"] = 674] = "GROSS_PAYMENTS_LABOUR_HIRE_OR_OTHER_SPECIFIED_PAYMENTS";
|
68
|
-
ChartAccountsListEnum[ChartAccountsListEnum["PURCHASES_STOCK_INVENTORY"] = 675] = "PURCHASES_STOCK_INVENTORY";
|
69
|
-
ChartAccountsListEnum[ChartAccountsListEnum["CONTRACTORS_AND_COMMISSION"] = 676] = "CONTRACTORS_AND_COMMISSION";
|
70
|
-
ChartAccountsListEnum[ChartAccountsListEnum["SUPERANNUATION"] = 677] = "SUPERANNUATION";
|
71
|
-
ChartAccountsListEnum[ChartAccountsListEnum["BAD_DEBT"] = 678] = "BAD_DEBT";
|
72
|
-
ChartAccountsListEnum[ChartAccountsListEnum["LEASE_EXPENSES_COMMERCIAL"] = 679] = "LEASE_EXPENSES_COMMERCIAL";
|
73
|
-
ChartAccountsListEnum[ChartAccountsListEnum["RENT_EXPENSES_COMMERCIAL_PREMISES"] = 680] = "RENT_EXPENSES_COMMERCIAL_PREMISES";
|
74
|
-
ChartAccountsListEnum[ChartAccountsListEnum["INTEREST_EXPENSES_AUSTRALIA"] = 681] = "INTEREST_EXPENSES_AUSTRALIA";
|
75
|
-
ChartAccountsListEnum[ChartAccountsListEnum["INTEREST_EXPENSES_OVERSEAS"] = 682] = "INTEREST_EXPENSES_OVERSEAS";
|
76
|
-
ChartAccountsListEnum[ChartAccountsListEnum["KLMS_TRAVELLED"] = 683] = "KLMS_TRAVELLED";
|
77
|
-
ChartAccountsListEnum[ChartAccountsListEnum["FUEL_OIL"] = 684] = "FUEL_OIL";
|
78
|
-
ChartAccountsListEnum[ChartAccountsListEnum["SERVICES_MAINTENANCE"] = 685] = "SERVICES_MAINTENANCE";
|
79
|
-
ChartAccountsListEnum[ChartAccountsListEnum["REGISTRATION"] = 686] = "REGISTRATION";
|
80
|
-
ChartAccountsListEnum[ChartAccountsListEnum["LEASE_INTEREST_PAYMENTS"] = 687] = "LEASE_INTEREST_PAYMENTS";
|
81
|
-
ChartAccountsListEnum[ChartAccountsListEnum["SOLE_VEHICLE_LOAN_INTEREST"] = 688] = "SOLE_VEHICLE_LOAN_INTEREST";
|
82
|
-
ChartAccountsListEnum[ChartAccountsListEnum["SOLE_VEHICLE_LOAN_PRINCIPAL"] = 855] = "SOLE_VEHICLE_LOAN_PRINCIPAL";
|
83
|
-
ChartAccountsListEnum[ChartAccountsListEnum["INSURANCE"] = 689] = "INSURANCE";
|
84
|
-
ChartAccountsListEnum[ChartAccountsListEnum["TYRES"] = 690] = "TYRES";
|
85
|
-
ChartAccountsListEnum[ChartAccountsListEnum["BATTERIES"] = 691] = "BATTERIES";
|
86
|
-
ChartAccountsListEnum[ChartAccountsListEnum["CAR_WASH"] = 692] = "CAR_WASH";
|
87
|
-
ChartAccountsListEnum[ChartAccountsListEnum["PARKING_TOLLS"] = 693] = "PARKING_TOLLS";
|
88
|
-
ChartAccountsListEnum[ChartAccountsListEnum["OTHER_SOLE_EXPENSES"] = 694] = "OTHER_SOLE_EXPENSES";
|
89
|
-
ChartAccountsListEnum[ChartAccountsListEnum["SOLE_ENTERTAINMENT"] = 698] = "SOLE_ENTERTAINMENT";
|
49
|
+
ChartAccountsListEnum[ChartAccountsListEnum["TRANSFER"] = 615] = "TRANSFER";
|
90
50
|
ChartAccountsListEnum[ChartAccountsListEnum["PERSONAL_EXPENSES"] = 628] = "PERSONAL_EXPENSES";
|
91
51
|
ChartAccountsListEnum[ChartAccountsListEnum["PERSONAL_INCOME"] = 630] = "PERSONAL_INCOME";
|
92
52
|
ChartAccountsListEnum[ChartAccountsListEnum["PLATFORM_FEES"] = 857] = "PLATFORM_FEES";
|
93
|
-
ChartAccountsListEnum[ChartAccountsListEnum["PSI_OTHER"] = 858] = "PSI_OTHER";
|
94
|
-
ChartAccountsListEnum[ChartAccountsListEnum["PSI_DEDUCTION_ASSOCIATES"] = 859] = "PSI_DEDUCTION_ASSOCIATES";
|
95
|
-
ChartAccountsListEnum[ChartAccountsListEnum["PSI_DEDUCTION_OTHER"] = 860] = "PSI_DEDUCTION_OTHER";
|
96
53
|
ChartAccountsListEnum[ChartAccountsListEnum["AUSTRALIAN_GOVERNMENT_SPECIAL_PAYMENTS"] = 871] = "AUSTRALIAN_GOVERNMENT_SPECIAL_PAYMENTS";
|
97
54
|
ChartAccountsListEnum[ChartAccountsListEnum["FHSS"] = 872] = "FHSS";
|
98
|
-
ChartAccountsListEnum[ChartAccountsListEnum["
|
99
|
-
ChartAccountsListEnum[ChartAccountsListEnum["
|
100
|
-
ChartAccountsListEnum[ChartAccountsListEnum["
|
55
|
+
ChartAccountsListEnum[ChartAccountsListEnum["MOBILE_PHONE"] = 90] = "MOBILE_PHONE";
|
56
|
+
ChartAccountsListEnum[ChartAccountsListEnum["INTERNET"] = 94] = "INTERNET";
|
57
|
+
ChartAccountsListEnum[ChartAccountsListEnum["ELECTRICITY_AND_GAS"] = 234] = "ELECTRICITY_AND_GAS";
|
58
|
+
ChartAccountsListEnum[ChartAccountsListEnum["TELEPHONE"] = 255] = "TELEPHONE";
|
59
|
+
ChartAccountsListEnum[ChartAccountsListEnum["HOME_OFFICE_CLEANING"] = 11861] = "HOME_OFFICE_CLEANING";
|
101
60
|
})(ChartAccountsListEnum || (ChartAccountsListEnum = {}));
|
102
|
-
//# sourceMappingURL=data:application/json;base64,
|
61
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhcnQtYWNjb3VudHMtbGlzdC5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2RiL0VudW1zL2NoYXJ0LWFjY291bnRzL2NoYXJ0LWFjY291bnRzLWxpc3QuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxxQkEwRFg7QUExREQsV0FBWSxxQkFBcUI7SUFDL0IsdUZBQW1CLENBQUE7SUFDbkIsbUhBQWlDLENBQUE7SUFDakMsb0hBQWtDLENBQUE7SUFDbEMsOEVBQWUsQ0FBQTtJQUNmLDBGQUFxQixDQUFBO0lBQ3JCLHdGQUFvQixDQUFBO0lBQ3BCLG9GQUFrQixDQUFBO0lBQ2xCLDBFQUFhLENBQUE7SUFDYixnR0FBd0IsQ0FBQTtJQUN4QixvR0FBMEIsQ0FBQTtJQUMxQixzR0FBMkIsQ0FBQTtJQUMzQiw2RkFBdUIsQ0FBQTtJQUN2QixtR0FBMEIsQ0FBQTtJQUMxQix1RkFBb0IsQ0FBQTtJQUNwQix5R0FBNkIsQ0FBQTtJQUM3QiwyRkFBc0IsQ0FBQTtJQUN0Qiw2R0FBK0IsQ0FBQTtJQUMvQixpSkFBaUQsQ0FBQTtJQUNqRCwyR0FBOEIsQ0FBQTtJQUM5QixtRkFBa0IsQ0FBQTtJQUNsQixtR0FBMEIsQ0FBQTtJQUMxQixxRkFBbUIsQ0FBQTtJQUNuQixpR0FBeUIsQ0FBQTtJQUN6QiwyRkFBc0IsQ0FBQTtJQUN0QiwyRkFBc0IsQ0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FZTUVOVFMgPSA4NzEsXG4gIEZIU1MgPSA4NzIsXG4gIE1PQklMRV9QSE9ORSA9IDkwLFxuICBJTlRFUk5FVCA9IDk0LFxuICBFTEVDVFJJQ0lUWV9BTkRfR0FTID0gMjM0LFxuICBURUxFUEhPTkUgPSAyNTUsXG4gIEhPTUVfT0ZGSUNFX0NMRUFOSU5HID0gMTE4NjEsXG59XG4iXX0=
|
@@ -5,7 +5,7 @@ export * from './chart-accounts-heading-tax-deductible.enum';
|
|
5
5
|
export * from './chart-accounts-heading-taxable.enum';
|
6
6
|
export * from './chart-accounts-heading-vehicle-list.enum';
|
7
7
|
export * from './chart-accounts-list.enum';
|
8
|
-
export * from './chart-accounts
|
8
|
+
export * from './business-chart-accounts.enum';
|
9
9
|
export * from './chart-accounts-meta-field-list.enum';
|
10
10
|
export * from './chart-accounts-meta-field-type.enum';
|
11
11
|
export * from './chart-accounts-salary-adjustments-list.enum';
|
@@ -13,6 +13,5 @@ export * from './chart-accounts-adjustment-included-list.enum';
|
|
13
13
|
export * from './chart-accounts-type.enum';
|
14
14
|
export * from './chart-accounts-keep-sign.enum';
|
15
15
|
export * from './chart-accounts-holding-untaxed-income-list.enum';
|
16
|
-
export * from './chart-accounts-invoice.enum';
|
17
16
|
export * from './chart-accounts-property-adjustments-list.enum';
|
18
|
-
//# sourceMappingURL=data:application/json;base64,
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvY2hhcnQtYWNjb3VudHMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxnQ0FBZ0MsQ0FBQztBQUMvQyxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsb0NBQW9DLENBQ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JvbSAnLi9jaGFydC1hY2NvdW50cy1tZXRhLWZpZWxkLXR5cGUuZW51bSc7XG5leHBvcnQgKiBmcm9tICcuL2NoYXJ0LWFjY291bnRzLXNhbGFyeS1hZGp1c3RtZW50cy1saXN0LmVudW0nO1xuZXhwb3J0ICogZnJvbSAnLi9jaGFydC1hY2NvdW50cy1hZGp1c3RtZW50LWluY2x1ZGVkLWxpc3QuZW51bSc7XG5leHBvcnQgKiBmcm9tICcuL2NoYXJ0LWFjY291bnRzLXR5cGUuZW51bSc7XG5leHBvcnQgKiBmcm9tICcuL2NoYXJ0LWFjY291bnRzLWtlZXAtc2lnbi5lbnVtJztcbmV4cG9ydCAqIGZyb20gJy4vY2hhcnQtYWNjb3VudHMtaG9sZGluZy11bnRheGVkLWluY29tZS1saXN0LmVudW0nO1xuZXhwb3J0ICogZnJvbSAnLi9jaGFydC1hY2NvdW50cy1wcm9wZXJ0eS1hZGp1c3RtZW50cy1saXN0LmVudW0nO1xuIl19
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export var HomeOfficeClaimMethodEnum;
|
2
|
+
(function (HomeOfficeClaimMethodEnum) {
|
3
|
+
HomeOfficeClaimMethodEnum[HomeOfficeClaimMethodEnum["FIXED"] = 1] = "FIXED";
|
4
|
+
HomeOfficeClaimMethodEnum[HomeOfficeClaimMethodEnum["ACTUAL"] = 2] = "ACTUAL";
|
5
|
+
HomeOfficeClaimMethodEnum[HomeOfficeClaimMethodEnum["OCCUPANCY"] = 3] = "OCCUPANCY";
|
6
|
+
})(HomeOfficeClaimMethodEnum || (HomeOfficeClaimMethodEnum = {}));
|
7
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9tZS1vZmZpY2UtY2xhaW0tbWV0aG9kLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvaG9tZS1vZmZpY2UvaG9tZS1vZmZpY2UtY2xhaW0tbWV0aG9kLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVkseUJBSVg7QUFKRCxXQUFZLHlCQUF5QjtJQUNwQywyRUFBUyxDQUFBO0lBQ1QsNkVBQVUsQ0FBQTtJQUNWLG1GQUFhLENBQUE7QUFDZCxDQUFDLEVBSlcseUJBQXlCLEtBQXpCLHlCQUF5QixRQUlwQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBlbnVtIEhvbWVPZmZpY2VDbGFpbU1ldGhvZEVudW0ge1xuXHRGSVhFRCA9IDEsXG5cdEFDVFVBTCA9IDIsXG5cdE9DQ1VQQU5DWSA9IDMsXG59XG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export * from './home-office-claim-method.enum';
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvaG9tZS1vZmZpY2UvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxpQ0FBaUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaG9tZS1vZmZpY2UtY2xhaW0tbWV0aG9kLmVudW0nO1xuIl19
|
@@ -1,8 +1,3 @@
|
|
1
|
-
// @TODO Artem TT-2308 move everything
|
2
|
-
export * from './allocation-rule-condition-comparison-operator.enum';
|
3
|
-
export * from './allocation-rule-condition-field.enum';
|
4
|
-
export * from './allocation-rule-condition-operator.enum';
|
5
|
-
export * from './allocation-rule-type.enum';
|
6
1
|
export * from './bank';
|
7
2
|
export * from './firm';
|
8
3
|
export * from './client';
|
@@ -14,4 +9,5 @@ export * from './tax-return';
|
|
14
9
|
export * from './subscription';
|
15
10
|
export * from './user';
|
16
11
|
export * from './sole';
|
17
|
-
|
12
|
+
export * from './home-office';
|
13
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy90dC1jb3JlL3NyYy9saWIvZGIvRW51bXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxRQUFRLENBQUM7QUFDdkIsY0FBYyxRQUFRLENBQUM7QUFDdkIsY0FBYyxVQUFVLENBQUM7QUFFekIsY0FBYyx5QkFBeUIsQ0FBQztBQUN4QyxjQUFjLGtCQUFrQixDQUFDO0FBQ2pDLGNBQWMsc0JBQXNCLENBQUM7QUFFckMsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxjQUFjLENBQUM7QUFFN0IsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUFjLGVBQWUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vYmFuayc7XG5leHBvcnQgKiBmcm9tICcuL2Zpcm0nO1xuZXhwb3J0ICogZnJvbSAnLi9jbGllbnQnO1xuXG5leHBvcnQgKiBmcm9tICcuL2FubnVhbC1mcmVxdWVuY3kuZW51bSc7XG5leHBvcnQgKiBmcm9tICcuL2NoYXJ0LWFjY291bnRzJztcbmV4cG9ydCAqIGZyb20gJy4vZG9jdW1lbnQtdHlwZS5lbnVtJztcblxuZXhwb3J0ICogZnJvbSAnLi9ob2xkaW5nJztcbmV4cG9ydCAqIGZyb20gJy4vdGF4LXJldHVybic7XG5cbmV4cG9ydCAqIGZyb20gJy4vc3Vic2NyaXB0aW9uJztcbmV4cG9ydCAqIGZyb20gJy4vdXNlcic7XG5leHBvcnQgKiBmcm9tICcuL3NvbGUnO1xuZXhwb3J0ICogZnJvbSAnLi9ob21lLW9mZmljZSc7XG4iXX0=
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ObservableModel } from '../observable-model';
|
2
2
|
export class BankTransaction extends ObservableModel {
|
3
|
-
static { this.className = '
|
3
|
+
static { this.className = 'BankConnection'; }
|
4
4
|
}
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFuay10cmFuc2FjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9kYi9Nb2RlbHMvYmFuay9iYW5rLXRyYW5zYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUlBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUV0RCxNQUFNLE9BQU8sZUFBZ0IsU0FBUSxlQUFlO2FBQzNDLGNBQVMsR0FBRyxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJhbmtUcmFuc2FjdGlvblR5cGVFbnVtIH0gZnJvbSAnLi4vLi4vRW51bXMnO1xuaW1wb3J0IHsgQmFua0FjY291bnQgfSBmcm9tICcuL2JhbmstYWNjb3VudCc7XG5pbXBvcnQgeyBCYW5rVHJhbnNhY3Rpb25JbXBvcnQgfSBmcm9tICcuL2JhbmstdHJhbnNhY3Rpb24taW1wb3J0JztcbmltcG9ydCB7IFRyYW5zYWN0aW9uQWxsb2NhdGlvbiB9IGZyb20gJy4uL3RyYW5zYWN0aW9uL3RyYW5zYWN0aW9uLWFsbG9jYXRpb24nO1xuaW1wb3J0IHsgT2JzZXJ2YWJsZU1vZGVsIH0gZnJvbSAnLi4vb2JzZXJ2YWJsZS1tb2RlbCc7XG5cbmV4cG9ydCBjbGFzcyBCYW5rVHJhbnNhY3Rpb24gZXh0ZW5kcyBPYnNlcnZhYmxlTW9kZWwge1xuICBzdGF0aWMgY2xhc3NOYW1lID0gJ0JhbmtDb25uZWN0aW9uJztcbiAgZXh0ZXJuYWxJZD86IHN0cmluZztcbiAgdHlwZT86IEJhbmtUcmFuc2FjdGlvblR5cGVFbnVtO1xuICBhbW91bnQ/OiBudW1iZXI7XG4gIGN1cnJlbmN5Pzogc3RyaW5nO1xuICBkYXRlPzogRGF0ZTtcbiAgZGVzY3JpcHRpb24/OiBzdHJpbmc7XG4gIGJhbmtBY2NvdW50PzogQmFua0FjY291bnQ7XG4gIGJhbmtUcmFuc2FjdGlvbkltcG9ydD86IEJhbmtUcmFuc2FjdGlvbkltcG9ydDtcbiAgYWxsb2NhdGlvbnM/OiBUcmFuc2FjdGlvbkFsbG9jYXRpb25bXTtcbn1cbiJdfQ==
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { TransactionBase } from '../transaction/transaction-base';
|
2
2
|
export class Depreciation extends TransactionBase {
|
3
|
-
static { this.className = 'Depreciation'; }
|
4
3
|
}
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVwcmVjaWF0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2RiL01vZGVscy9kZXByZWNpYXRpb24vZGVwcmVjaWF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVVBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUdsRSxNQUFNLE9BQU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IHVwZGF0ZWRCeT86IFVzZXI7XG4gIGJ1c2luZXNzPzogU29sZUJ1c2luZXNzO1xuICBpc0dTVD86IGJvb2xlYW47XG59XG4iXX0=
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { ObservableModel } from '../observable-model';
|
2
2
|
export class SoleBusiness extends ObservableModel {
|
3
|
+
static { this.className = 'SoleBusiness'; }
|
3
4
|
}
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1idXNpbmVzcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9kYi9Nb2RlbHMvc29sZS9zb2xlLWJ1c2luZXNzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVlBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUV0RCxNQUFNLE9BQU8sWUFBYSxTQUFRLGVBQWU7YUFDeEMsY0FBUyxHQUFHLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFVzZXIgfSBmcm9tICcuLi91c2VyL3VzZXInO1xuaW1wb3J0IHsgU29sZUJ1c2luZXNzQWxsb2NhdGlvbiB9IGZyb20gJy4vc29sZS1idXNpbmVzcy1hbGxvY2F0aW9uJztcbmltcG9ydCB7IFNvbGVCdXNpbmVzc0xvc3MgfSBmcm9tICcuL3NvbGUtYnVzaW5lc3MtbG9zcyc7XG5pbXBvcnQgeyBTb2xlSW52b2ljZSB9IGZyb20gJy4vc29sZS1pbnZvaWNlJztcbmltcG9ydCB7IFNvbGVJbnZvaWNlVGVtcGxhdGUgfSBmcm9tICcuL3NvbGUtaW52b2ljZS10ZW1wbGF0ZSc7XG5pbXBvcnQgeyBWZWhpY2xlQ2xhaW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ludm9pY2VzPzogU29sZUludm9pY2VbXTtcbiAgaW52b2ljZVRlbXBsYXRlcz86IFNvbGVJbnZvaWNlVGVtcGxhdGVbXTtcbiAgaW5jb21lU291cmNlPzogSW5jb21lU291cmNlO1xuICB2ZWhpY2xlQ2xhaW1zPzogVmVoaWNsZUNsYWltW107XG4gIHZlaGljbGVMb2dib29rcz86IFZlaGljbGVMb2dib29rW107XG4gIHRyYW5zYWN0aW9ucz86IFRyYW5zYWN0aW9uW107XG4gIGRlcHJlY2lhdGlvbnM/OiBEZXByZWNpYXRpb25bXTtcbiAgZmlsZTogRmlsZTtcbn1cbiJdfQ==
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { ObservableModel } from '../observable-model';
|
2
2
|
export class SoleDetails extends ObservableModel {
|
3
|
+
static { this.className = 'SoleDetails'; }
|
3
4
|
}
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29sZS1kZXRhaWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2RiL01vZGVscy9zb2xlL3NvbGUtZGV0YWlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFFdEQsTUFBTSxPQUFPLFdBQVksU0FBUSxlQUFlO2FBQ3ZDLGNBQVMsR0FBRyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBVc2VyIH0gZnJvbSAnLi4vdXNlci91c2VyJztcbmltcG9ydCB7IEFubnVhbEZyZXF1ZW5jeUVudW0gfSBmcm9tICcuLi8uLi9FbnVtcyc7XG5pbXBvcnQgeyBPYnNlcnZhYmxlTW9kZWwgfSBmcm9tICcuLi9vYnNlcnZhYmxlLW1vZGVsJztcblxuZXhwb3J0IGNsYXNzIFNvbGVEZXRhaWxzIGV4dGVuZHMgT2JzZXJ2YWJsZU1vZGVsIHtcbiAgc3RhdGljIGNsYXNzTmFtZSA9ICdTb2xlRGV0YWlscyc7XG4gIGFibj86IHN0cmluZztcbiAgaXNHU1Q/OiBib29sZWFuO1xuICBjcmVhdGVkQXQ/OiBEYXRlO1xuICB1cGRhdGVkQXQ/OiBEYXRlO1xuICBkZWxldGVkQXQ/OiBEYXRlO1xuICB1c2VyPzogVXNlcjtcbiAgLy8gQFRPRE8gdXNlIGluIGZvcm1cbiAgcmVwb3J0aW5nRnJlcXVlbmN5PzogQW5udWFsRnJlcXVlbmN5RW51bTtcbiAgYXV0b0FsbG9jYXRlPzogYm9vbGVhbjtcbn1cbiJdfQ==
|
@@ -2,4 +2,4 @@ import { ObservableModel } from '../observable-model';
|
|
2
2
|
export class User extends ObservableModel {
|
3
3
|
static { this.className = 'User'; }
|
4
4
|
}
|
5
|
-
//# sourceMappingURL=data:application/json;base64,
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9kYi9Nb2RlbHMvdXNlci91c2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlCQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0scUJBQXFCLENBQUM7QUFJdEQsTUFBTSxPQUFPLElBQUssU0FBUSxlQUFlO2FBQ2hDLGNBQVMsR0FBRyxNQUFNLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBVc2VyVGl0bGVFbnVtIH0gZnJvbSAnLi4vLi4vRW51bXMvdXNlci10aXRsZS5lbnVtJztcbmltcG9ydCB7IFVzZXJTd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YXRlO1xuICBsYXN0U2Vlbj86IERhdGU7XG4gIGRlbGV0ZWRBdD86IERhdGU7XG4gIHByb3BlcnRpZXM/OiBQcm9wZXJ0eVtdO1xuICBwcm9wZXJ0eVN1YnNjcmlwdGlvbnM/OiBQcm9wZXJ0eVN1YnNjcmlwdGlvbltdO1xuICBzdWJzY3JpcHRpb25zPzogU2VydmljZVN1YnNjcmlwdGlvbltdO1xuICBldmVudFNldHRpbmdzPzogVXNlckV2ZW50U2V0dGluZ1tdO1xuICBiYW5rQ29ubmVjdGlvbnM/OiBCYW5rQ29ubmVjdGlvbltdO1xuICB0YXhSZXZpZXdzPzogVGF4UmV2aWV3W107XG4gIHByb3BlcnR5U2hhcmVzPzogUHJvcGVydHlTaGFyZVtdO1xuICBhZGRyZXNzPzogQWRkcmVzcztcbiAgcGhvbmU/OiBQaG9uZTtcbiAgY2xpZW50TW92ZW1lbnRzPzogQ2xpZW50TW92ZW1lbnRbXTtcbiAgY2xpZW50RGV0YWlscz86IENsaWVudERldGFpbHM7XG4gIGVtcGxveWVlRGV0YWlscz86IEVtcGxveWVlRGV0YWlscztcbiAgc29sZURldGFpbHM/OiBTb2xlRGV0YWlscztcbiAgZmlsZTogRmlsZTtcbiAgYmxhY2tsaXN0U2V0dXBJdGVtczogU2V0dXBJdGVtW107XG59XG4iXX0=
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { ObservableModel } from '../observable-model';
|
2
2
|
export class VehicleClaim extends ObservableModel {
|
3
|
+
static { this.className = 'VehicleClaim'; }
|
3
4
|
}
|
4
|
-
//# sourceMappingURL=data:application/json;base64,
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVoaWNsZS1jbGFpbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9kYi9Nb2RlbHMvdmVoaWNsZS92ZWhpY2xlLWNsYWltLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUV0RCxNQUFNLE9BQU8sWUFBYSxTQUFRLGVBQWU7YUFDeEMsY0FBUyxHQUFHLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFVzZXIgfSBmcm9tICcuLi91c2VyL3VzZXInO1xuaW1wb3J0IHsgU29sZUJ1c2luZXNzIH0gZnJvbSAnLi4vc29sZS9zb2xlLWJ1c2luZXNzJztcbmltcG9ydCB7IFZlaGljbGVDbGFpbURldGFpbHMgfSBmcm9tICcuL3ZlaGljbGUtY2xhaW0tZGV0YWlscyc7XG5pbXBvcnQgeyBPYnNlcnZhYmxlTW9kZWwgfSBmcm9tICcuLi9vYnNlcnZhYmxlLW1vZGVsJztcblxuZXhwb3J0IGNsYXNzIFZlaGljbGVDbGFpbSBleHRlbmRzIE9ic2VydmFibGVNb2RlbCB7XG4gIHN0YXRpYyBjbGFzc05hbWUgPSAnVmVoaWNsZUNsYWltJztcbiAga2lsb21ldGVycz86IG51bWJlcjtcbiAgd29ya1VzYWdlPzogbnVtYmVyO1xuICBkZXRhaWxzPzogVmVoaWNsZUNsYWltRGV0YWlscztcbiAgdXNlcj86IFVzZXI7XG4gIGJ1c2luZXNzPzogU29sZUJ1c2luZXNzO1xufVxuIl19
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { FormGroup } from '@angular/forms';
|
1
|
+
import { FormGroup, Validators } from '@angular/forms';
|
2
2
|
import { EventEmitter } from '@angular/core';
|
3
3
|
import { plainToClass } from 'class-transformer';
|
4
4
|
import isEqual from 'lodash/isEqual';
|
@@ -36,8 +36,8 @@ export class AbstractForm extends FormGroup {
|
|
36
36
|
get currentValue() {
|
37
37
|
return this.createModelInstance(Object.assign({}, this.model, this.getRawValue()));
|
38
38
|
}
|
39
|
-
toggleEnabledState() {
|
40
|
-
|
39
|
+
toggleEnabledState(control) {
|
40
|
+
control.enabled ? control.disable() : control.enable();
|
41
41
|
}
|
42
42
|
/**
|
43
43
|
* Check validation and return a new instance of generic model.
|
@@ -112,5 +112,37 @@ export class AbstractForm extends FormGroup {
|
|
112
112
|
fieldChanged(name) {
|
113
113
|
return this.get(name).value !== this.initialValue[name];
|
114
114
|
}
|
115
|
+
addValidators(validators, controls = []) {
|
116
|
+
if (!controls.length) {
|
117
|
+
return super.addValidators(validators);
|
118
|
+
}
|
119
|
+
controls.forEach(control => {
|
120
|
+
control.addValidators(Validators.required);
|
121
|
+
});
|
122
|
+
}
|
123
|
+
removeValidators(validators, controls = []) {
|
124
|
+
if (!controls.length) {
|
125
|
+
return super.removeValidators(validators);
|
126
|
+
}
|
127
|
+
controls.forEach(control => {
|
128
|
+
control.removeValidators(Validators.required);
|
129
|
+
});
|
130
|
+
}
|
131
|
+
disable(opts, controls = []) {
|
132
|
+
if (!controls.length) {
|
133
|
+
return super.disable(opts);
|
134
|
+
}
|
135
|
+
controls.forEach(control => {
|
136
|
+
control.disable(opts);
|
137
|
+
});
|
138
|
+
}
|
139
|
+
enable(opts, controls = []) {
|
140
|
+
if (!controls.length) {
|
141
|
+
return super.enable(opts);
|
142
|
+
}
|
143
|
+
controls.forEach(control => {
|
144
|
+
control.enable(opts);
|
145
|
+
});
|
146
|
+
}
|
115
147
|
}
|
116
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWJzdHJhY3QuZm9ybS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3R0LWNvcmUvc3JjL2xpYi9mb3Jtcy9hYnN0cmFjdC5mb3JtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBNkQsU0FBUyxFQUFlLE1BQU0sZ0JBQWdCLENBQUM7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gICApLnN1YnNjcmliZSgoKSA9PiB7XG4gICAgICB0aGlzLmdldCgnYWRkcmVzcycpLnNldFZhbHVlKGAke3RoaXMuZ2V0KCdzdHJlZXROdW1iZXInKS52YWx1ZX0gJHt0aGlzLmdldCgnc3RyZWV0JykudmFsdWV9YCk7XG4gICAgfSlcbiAgfVxuXG4gIHByaXZhdGUgZW5hYmxlQ29yZWxvZ2ljRmllbGRzKCk6IHZvaWQge1xuICAgIHRoaXMuZ2V0KCdjb3JlbG9naWNMb2NJZCcpLmVuYWJsZSgpO1xuICAgIHRoaXMuZ2V0KCdjb3JlbG9naWNSZWZJZCcpLmVuYWJsZSgpO1xuICB9XG5cbiAgcHJpdmF0ZSBkaXNhYmxlQ29yZWxvZ2ljRmllbGRzKCk6IHZvaWQge1xuICAgIHRoaXMuZ2V0KCdjb3JlbG9naWNMb2NJZCcpLmRpc2FibGUoKTtcbiAgICB0aGlzLmdldCgnY29yZWxvZ2ljUmVmSWQnKS5kaXNhYmxlKCk7XG4gIH1cblxuICAvKipcbiAgICogQ29yZWxvZ2ljIGxvYyBpZCBpcyByZXF1aXJlZCBmb3IgQXVzdHJhbGlhbiBhZGRyZXNzZXNcbiAgICovXG4gIHByaXZhdGUgbGlzdGVuQ291bnRyeUNoYW5nZXMoKTogdm9pZCB7XG4gICAgdGhpcy5nZXQoJ2NvdW50cnknKS52YWx1ZUNoYW5nZXMuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgIGlmICh0aGlzLmlzQXVzdHJhbGlhU2VsZWN0ZWQoKSkge1xuICAgICAgICB0aGlzLmVuYWJsZUNvcmVsb2dpY0ZpZWxkcygpO1xuICAgICAgICByZXR1cm47XG4gICAgICB9XG5cbiAgICAgIHRoaXMuZGlzYWJsZUNvcmVsb2dpY0ZpZWxkcygpO1xuICAgIH0pO1xuICB9XG59XG4iXX0=
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { FormControl, Validators } from '@angular/forms';
|
2
|
+
import { plainToClass } from 'class-transformer';
|
3
|
+
import { AbstractForm } from '../abstract.form';
|
4
|
+
import { HomeOfficeClaim } from '../../models';
|
5
|
+
import round from 'lodash/round';
|
6
|
+
export class HomeOfficeCalculatorForm extends AbstractForm {
|
7
|
+
constructor(claim = plainToClass(HomeOfficeClaim, {})) {
|
8
|
+
super({
|
9
|
+
homeArea: new FormControl(claim.homeArea, [Validators.required]),
|
10
|
+
officeArea: new FormControl({ value: claim.officeArea, disabled: !!claim.dedicatedOffice }, [Validators.required]),
|
11
|
+
dedicatedOffice: new FormControl(claim.dedicatedOffice, [Validators.required]),
|
12
|
+
}, claim);
|
13
|
+
this.listenEvents();
|
14
|
+
}
|
15
|
+
listenEvents() {
|
16
|
+
this.get('dedicatedOffice').valueChanges.subscribe(() => {
|
17
|
+
this.toggleEnabledState(this.get('officeArea'));
|
18
|
+
});
|
19
|
+
}
|
20
|
+
submit() {
|
21
|
+
const officePercent = this.value.dedicatedOffice ? 100 : round(this.value.officeArea * 100 / this.value.homeArea, 2);
|
22
|
+
return super.submit({ officePercent });
|
23
|
+
}
|
24
|
+
}
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9tZS1vZmZpY2UtY2FsY3VsYXRvci5mb3JtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHQtY29yZS9zcmMvbGliL2Zvcm1zL2hvbWUtb2ZmaWNlL2hvbWUtb2ZmaWNlLWNhbGN1bGF0b3IuZm9ybS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsV0FBVyxFQUFFLFVBQVUsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3pELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxtQkFBbUIsQ0FBQztBQUNqRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sa0JBQWtCLENBQUM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