taxtank-core 2.0.75 → 2.0.77
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/fesm2022/taxtank-core.mjs +285 -40
- package/fesm2022/taxtank-core.mjs.map +1 -1
- package/index.d.ts +122 -25
- package/package.json +2 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Inject, Injectable, inject, EventEmitter, NgModule, InjectionToken, Pipe } from '@angular/core';
|
|
3
3
|
import * as i1$1 from '@angular/common';
|
|
4
|
-
import { formatDate, CommonModule as CommonModule$1,
|
|
4
|
+
import { formatDate, CurrencyPipe, CommonModule as CommonModule$1, DatePipe } from '@angular/common';
|
|
5
5
|
import * as i1 from '@angular/common/http';
|
|
6
6
|
import { HttpClient, HttpErrorResponse, HttpParams, HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
7
7
|
import { map, filter, catchError, finalize, switchMap, first as first$1, take, mergeMap, startWith, debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
|
@@ -28,6 +28,7 @@ import { Validators, FormGroup, FormArray, UntypedFormControl, UntypedFormArray,
|
|
|
28
28
|
import compact from 'lodash/compact';
|
|
29
29
|
import groupBy from 'lodash/groupBy';
|
|
30
30
|
import cloneDeep$1 from 'lodash/cloneDeep';
|
|
31
|
+
import moment$1 from 'moment/moment';
|
|
31
32
|
import { EventSourcePolyfill } from 'event-source-polyfill/src/eventsource.min.js';
|
|
32
33
|
import clone from 'lodash/clone';
|
|
33
34
|
import merge from 'lodash/merge';
|
|
@@ -43,8 +44,8 @@ import { jsPDF } from 'jspdf';
|
|
|
43
44
|
import { applyPlugin } from 'jspdf-autotable';
|
|
44
45
|
import * as xlsx from '@e965/xlsx';
|
|
45
46
|
import * as FileSaver from 'file-saver';
|
|
46
|
-
import * as i1$2 from '@angular/platform-browser';
|
|
47
47
|
import { PercentagePipe } from 'ngx-pipes';
|
|
48
|
+
import * as i1$2 from '@angular/platform-browser';
|
|
48
49
|
import isEqual from 'lodash/isEqual';
|
|
49
50
|
import { RxwebValidators } from '@rxweb/reactive-form-validators';
|
|
50
51
|
import differenceBy from 'lodash/differenceBy';
|
|
@@ -511,10 +512,6 @@ __decorate([
|
|
|
511
512
|
Type(() => Number)
|
|
512
513
|
], Loan$1.prototype, "repaymentAmount", void 0);
|
|
513
514
|
|
|
514
|
-
// @TODO: taxtankit TT-5413 for now it's for stubs only. Need to make real solve for Goals and Expenses/Incomes
|
|
515
|
-
let MoneyScheduleItem$1 = class MoneyScheduleItem extends AbstractModel {
|
|
516
|
-
};
|
|
517
|
-
|
|
518
515
|
let PropertySaleTaxExemptionMetaField$1 = class PropertySaleTaxExemptionMetaField extends AbstractModel {
|
|
519
516
|
};
|
|
520
517
|
|
|
@@ -739,7 +736,8 @@ let HoldingTypeExchange$1 = class HoldingTypeExchange {
|
|
|
739
736
|
let Budget$1 = class Budget extends AbstractModel {
|
|
740
737
|
};
|
|
741
738
|
|
|
742
|
-
let BudgetRule$1 = class BudgetRule extends
|
|
739
|
+
let BudgetRule$1 = class BudgetRule extends ObservableModel {
|
|
740
|
+
static { this.className = 'BudgetRule'; }
|
|
743
741
|
};
|
|
744
742
|
|
|
745
743
|
/**
|
|
@@ -1410,6 +1408,14 @@ var HoldingTradeTypeEnum;
|
|
|
1410
1408
|
HoldingTradeTypeEnum[HoldingTradeTypeEnum["CONSOLIDATE"] = 3] = "CONSOLIDATE";
|
|
1411
1409
|
})(HoldingTradeTypeEnum || (HoldingTradeTypeEnum = {}));
|
|
1412
1410
|
|
|
1411
|
+
var CalendarEventTypeEnum;
|
|
1412
|
+
(function (CalendarEventTypeEnum) {
|
|
1413
|
+
CalendarEventTypeEnum[CalendarEventTypeEnum["ALL"] = 0] = "ALL";
|
|
1414
|
+
CalendarEventTypeEnum[CalendarEventTypeEnum["INCOMES"] = 1] = "INCOMES";
|
|
1415
|
+
CalendarEventTypeEnum[CalendarEventTypeEnum["EXPENSES"] = 2] = "EXPENSES";
|
|
1416
|
+
CalendarEventTypeEnum[CalendarEventTypeEnum["GOALS"] = 3] = "GOALS";
|
|
1417
|
+
})(CalendarEventTypeEnum || (CalendarEventTypeEnum = {}));
|
|
1418
|
+
|
|
1413
1419
|
var TaxReturnCategoryListEnum;
|
|
1414
1420
|
(function (TaxReturnCategoryListEnum) {
|
|
1415
1421
|
// work income
|
|
@@ -1771,6 +1777,7 @@ class FinancialYear {
|
|
|
1771
1777
|
static { this.weeksInYear = 52; }
|
|
1772
1778
|
static { this.monthsInYear = 12; }
|
|
1773
1779
|
static { this.startMonthIndex = 6; }
|
|
1780
|
+
static { this.endMonthIndex = 5; }
|
|
1774
1781
|
static get year() {
|
|
1775
1782
|
return +localStorage.getItem('financialYear');
|
|
1776
1783
|
}
|
|
@@ -2325,6 +2332,16 @@ class LoanCollection extends Collection {
|
|
|
2325
2332
|
}
|
|
2326
2333
|
}
|
|
2327
2334
|
|
|
2335
|
+
class CalendarEventCollection extends Collection {
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
class MoneyCalendarEventCollection extends Collection {
|
|
2339
|
+
constructor(items) {
|
|
2340
|
+
super(items);
|
|
2341
|
+
this.sortBy('date', 'asc');
|
|
2342
|
+
}
|
|
2343
|
+
}
|
|
2344
|
+
|
|
2328
2345
|
class PropertySaleCollection extends Collection {
|
|
2329
2346
|
/**
|
|
2330
2347
|
* Property sales are CGT applicable unless it has "Principle place of residence" exemption type
|
|
@@ -8601,13 +8618,14 @@ class BudgetReportItem {
|
|
|
8601
8618
|
this.category = ChartAccountsCategoryEnum[rules.first.chartAccounts.category];
|
|
8602
8619
|
this.chartAccounts = rules.first.chartAccounts.name;
|
|
8603
8620
|
this.forecast = rules.sumBy('amount');
|
|
8604
|
-
this.
|
|
8605
|
-
this.
|
|
8606
|
-
this.
|
|
8621
|
+
this.net = Math.abs(transactions.sumBy('amount'));
|
|
8622
|
+
this.gross = Math.abs(transactions.sumBy('grossAmount'));
|
|
8623
|
+
this.variance = this.forecast - this.net;
|
|
8624
|
+
this.variancePercent = round(this.net * 100 / this.forecast, 2);
|
|
8607
8625
|
this.isIncome = rules.first.chartAccounts.isIncome();
|
|
8608
8626
|
}
|
|
8609
8627
|
onTrack() {
|
|
8610
|
-
return (this.isIncome && this.
|
|
8628
|
+
return (this.isIncome && this.variance <= 0) || (!this.isIncome && this.variance >= 0);
|
|
8611
8629
|
}
|
|
8612
8630
|
}
|
|
8613
8631
|
|
|
@@ -9384,6 +9402,9 @@ class BudgetRuleCollection extends Collection {
|
|
|
9384
9402
|
const propertyIds = properties.map(property => property.id);
|
|
9385
9403
|
return this.filter(rule => propertyIds.includes(rule.property?.id));
|
|
9386
9404
|
}
|
|
9405
|
+
get calendarEvents() {
|
|
9406
|
+
return this.mapBy('calendarEvents').flat();
|
|
9407
|
+
}
|
|
9387
9408
|
}
|
|
9388
9409
|
|
|
9389
9410
|
class AllocationGroupCollection extends Collection {
|
|
@@ -9852,6 +9873,16 @@ class FinancialGoalCollection extends Collection {
|
|
|
9852
9873
|
});
|
|
9853
9874
|
return bankAccountsByGoal;
|
|
9854
9875
|
}
|
|
9876
|
+
// getEquityPositionByGoal(properties: PropertyCollection, bankAccounts: BankAccountCollection) {
|
|
9877
|
+
// this.items.forEach(goal => {
|
|
9878
|
+
// const goalProperties = properties.filterBy('id', goal.properties);
|
|
9879
|
+
// const marketValue = goalProperties.marketValue;
|
|
9880
|
+
// const loan = '';
|
|
9881
|
+
// });
|
|
9882
|
+
// }
|
|
9883
|
+
get calendarEvents() {
|
|
9884
|
+
return this.mapBy('calendarEvents').flat();
|
|
9885
|
+
}
|
|
9855
9886
|
}
|
|
9856
9887
|
|
|
9857
9888
|
/**
|
|
@@ -11015,7 +11046,18 @@ class AppEvent2 {
|
|
|
11015
11046
|
}
|
|
11016
11047
|
}
|
|
11017
11048
|
|
|
11018
|
-
|
|
11049
|
+
/**
|
|
11050
|
+
* Typed wrapper for FullCalendar EventInput.
|
|
11051
|
+
* FullCalendar extendedProps is Record<string, any> so we need to add structure :
|
|
11052
|
+
* https://primefaces.github.io/primefaces/jsdocs/classes/node_modules__fullcalendar_common_main.EventApi.html#extendedProps
|
|
11053
|
+
*/
|
|
11054
|
+
class CalendarEvent {
|
|
11055
|
+
}
|
|
11056
|
+
|
|
11057
|
+
/**
|
|
11058
|
+
* exended class for filtering and data visualisation
|
|
11059
|
+
*/
|
|
11060
|
+
class MoneyCalendarEvent extends CalendarEvent {
|
|
11019
11061
|
}
|
|
11020
11062
|
|
|
11021
11063
|
class Notification extends ServiceNotification {
|
|
@@ -11469,12 +11511,78 @@ var SharesightPortfolioMessages;
|
|
|
11469
11511
|
SharesightPortfolioMessages["PUT"] = "We\u2019re syncing your Sharesight trades, which might take a few minutes. We\u2019ll let you know when they\u2019re ready.";
|
|
11470
11512
|
})(SharesightPortfolioMessages || (SharesightPortfolioMessages = {}));
|
|
11471
11513
|
|
|
11514
|
+
/**
|
|
11515
|
+
* Generates a list of recurring dates between a start and end date
|
|
11516
|
+
* based on a given frequency (monthly, weekly, fortnightly).
|
|
11517
|
+
*
|
|
11518
|
+
* - Uses WEEKLY as the default recurrence pattern.
|
|
11519
|
+
* - Converts both start and end dates to "start of day" to avoid time drift.
|
|
11520
|
+
* - Iteratively adds the appropriate duration (week/month) until the end date is reached.
|
|
11521
|
+
* - Returns all occurrence dates including the start date and the last valid recurrence.
|
|
11522
|
+
*/
|
|
11523
|
+
function recurringDates(startDate, endDate = new FinancialYear().endDate, frequency) {
|
|
11524
|
+
let duration;
|
|
11525
|
+
let amount;
|
|
11526
|
+
switch (frequency) {
|
|
11527
|
+
case DailyFrequencyEnum.FORTNIGHTLY:
|
|
11528
|
+
duration = 'week';
|
|
11529
|
+
amount = 2;
|
|
11530
|
+
break;
|
|
11531
|
+
case DailyFrequencyEnum.MONTHLY:
|
|
11532
|
+
duration = 'month';
|
|
11533
|
+
amount = 1;
|
|
11534
|
+
break;
|
|
11535
|
+
// DailyFrequencyEnum.WEEKLY as default
|
|
11536
|
+
default:
|
|
11537
|
+
duration = 'week';
|
|
11538
|
+
amount = 1;
|
|
11539
|
+
}
|
|
11540
|
+
const dates = [];
|
|
11541
|
+
let current = moment$1(startDate).startOf('day');
|
|
11542
|
+
const end = moment$1(endDate).startOf('day');
|
|
11543
|
+
while (current.isSameOrBefore(end)) {
|
|
11544
|
+
dates.push(current.toDate());
|
|
11545
|
+
current = current.add(amount, duration);
|
|
11546
|
+
}
|
|
11547
|
+
return dates;
|
|
11548
|
+
}
|
|
11549
|
+
|
|
11472
11550
|
class BudgetRule extends BudgetRule$1 {
|
|
11473
11551
|
constructor() {
|
|
11474
11552
|
super(...arguments);
|
|
11475
11553
|
this.startDate = new Date();
|
|
11476
11554
|
this.inCalendar = false;
|
|
11477
11555
|
}
|
|
11556
|
+
/**
|
|
11557
|
+
* creates recurring calendar events based on frequency
|
|
11558
|
+
*/
|
|
11559
|
+
get calendarEvents() {
|
|
11560
|
+
if (!this.inCalendar) {
|
|
11561
|
+
return [];
|
|
11562
|
+
}
|
|
11563
|
+
const paymentDates = this.frequency
|
|
11564
|
+
? recurringDates(this.startDate, this.endDate, this.frequency)
|
|
11565
|
+
: [this.startDate];
|
|
11566
|
+
return paymentDates.map((date) => plainToClass(MoneyCalendarEvent, {
|
|
11567
|
+
date: date,
|
|
11568
|
+
title: this.chartAccounts.name,
|
|
11569
|
+
extendedProps: {
|
|
11570
|
+
id: this.id,
|
|
11571
|
+
class: BudgetRule.className,
|
|
11572
|
+
amount: this.amount,
|
|
11573
|
+
isIncome: this.chartAccounts.isIncome(),
|
|
11574
|
+
isExpense: this.chartAccounts.isExpense(),
|
|
11575
|
+
isProperty: this.chartAccounts.isPropertyTank(),
|
|
11576
|
+
isWork: this.chartAccounts.isWorkTank(),
|
|
11577
|
+
isPersonal: this.chartAccounts.isPersonalTank(),
|
|
11578
|
+
isSole: this.chartAccounts.isSoleTank(),
|
|
11579
|
+
isHolding: this.chartAccounts.isHoldingTank(),
|
|
11580
|
+
isOther: this.chartAccounts.isOtherTank(),
|
|
11581
|
+
propertyId: this.property?.id,
|
|
11582
|
+
businessId: this.business?.id,
|
|
11583
|
+
}
|
|
11584
|
+
}));
|
|
11585
|
+
}
|
|
11478
11586
|
}
|
|
11479
11587
|
__decorate([
|
|
11480
11588
|
Type(() => Budget)
|
|
@@ -11602,13 +11710,14 @@ class Badge extends AbstractModel {
|
|
|
11602
11710
|
}
|
|
11603
11711
|
}
|
|
11604
11712
|
|
|
11605
|
-
class FinancialGoal extends
|
|
11713
|
+
class FinancialGoal extends ObservableModel {
|
|
11606
11714
|
constructor() {
|
|
11607
11715
|
super(...arguments);
|
|
11608
11716
|
this.startDate = moment().startOf('day').toDate();
|
|
11609
11717
|
this.inCalendar = false;
|
|
11610
11718
|
this.properties = [];
|
|
11611
11719
|
}
|
|
11720
|
+
static { this.className = 'FinancialGoal'; }
|
|
11612
11721
|
isCompleted() {
|
|
11613
11722
|
return this.status === FinancialGoalStatusEnum.COMPLETE;
|
|
11614
11723
|
}
|
|
@@ -11627,9 +11736,12 @@ class FinancialGoal extends AbstractModel {
|
|
|
11627
11736
|
get forecast() {
|
|
11628
11737
|
return this.paymentAmount * this.calculatePaymentsByDate(new Date());
|
|
11629
11738
|
}
|
|
11630
|
-
get
|
|
11739
|
+
get variancePercent() {
|
|
11631
11740
|
return round(this.progress / this.forecast, 2);
|
|
11632
11741
|
}
|
|
11742
|
+
get variance() {
|
|
11743
|
+
return round(this.progress - this.forecast);
|
|
11744
|
+
}
|
|
11633
11745
|
/**
|
|
11634
11746
|
* How much user saved so far.
|
|
11635
11747
|
*/
|
|
@@ -11666,6 +11778,7 @@ class FinancialGoal extends AbstractModel {
|
|
|
11666
11778
|
return round(this.progress / this.target, 2);
|
|
11667
11779
|
}
|
|
11668
11780
|
getBadge() {
|
|
11781
|
+
const variance = new CurrencyPipe('en-AU').transform(this.variance, 'USD', 'symbol', '1.0-2');
|
|
11669
11782
|
if (this.isPropertyType() && this.status === FinancialGoalStatusEnum.ACTIVE && this.progress > 0 && !this.isAchieved()) {
|
|
11670
11783
|
return new Badge('Active', BadgeColorEnum.GREEN);
|
|
11671
11784
|
}
|
|
@@ -11677,15 +11790,15 @@ class FinancialGoal extends AbstractModel {
|
|
|
11677
11790
|
case this.isAchieved():
|
|
11678
11791
|
return new Badge('Achieved', BadgeColorEnum.GREEN);
|
|
11679
11792
|
case this.forecast === 0:
|
|
11680
|
-
return this.progress ? new Badge(`Ahead`, BadgeColorEnum.GREEN) : new Badge(`On track`, BadgeColorEnum.PRIMARY);
|
|
11681
|
-
case this.
|
|
11682
|
-
return new Badge(`Ahead by ${
|
|
11683
|
-
case this.
|
|
11793
|
+
return this.progress ? new Badge(`Ahead ${this.variancePercent}`, BadgeColorEnum.GREEN) : new Badge(`On track`, BadgeColorEnum.PRIMARY);
|
|
11794
|
+
case this.variancePercent >= 1.05:
|
|
11795
|
+
return new Badge(`Ahead by ${variance}`, BadgeColorEnum.GREEN);
|
|
11796
|
+
case this.variancePercent >= 0.95 && this.variancePercent <= 1.05:
|
|
11684
11797
|
return new Badge('On track', BadgeColorEnum.PRIMARY);
|
|
11685
|
-
case this.
|
|
11686
|
-
return new Badge(`Behind by ${
|
|
11798
|
+
case this.variancePercent >= 0.8 && this.variancePercent <= 0.95:
|
|
11799
|
+
return new Badge(`Behind by ${variance}`, BadgeColorEnum.GOLD);
|
|
11687
11800
|
default:
|
|
11688
|
-
return new Badge(`Behind by ${this.
|
|
11801
|
+
return new Badge(`Behind by ${this.variancePercent}%`, BadgeColorEnum.ERROR);
|
|
11689
11802
|
}
|
|
11690
11803
|
}
|
|
11691
11804
|
/**
|
|
@@ -11711,6 +11824,24 @@ class FinancialGoal extends AbstractModel {
|
|
|
11711
11824
|
get propertyIds() {
|
|
11712
11825
|
return this.properties.map(property => property.id);
|
|
11713
11826
|
}
|
|
11827
|
+
/**
|
|
11828
|
+
* creates recurring calendar events based on paymentFrequency
|
|
11829
|
+
*/
|
|
11830
|
+
get calendarEvents() {
|
|
11831
|
+
if (!this.inCalendar || this.isPropertyType()) {
|
|
11832
|
+
return [];
|
|
11833
|
+
}
|
|
11834
|
+
const paymentDates = recurringDates(this.startDate, this.endDate, this.paymentFrequency);
|
|
11835
|
+
return paymentDates.map(date => plainToClass(MoneyCalendarEvent, {
|
|
11836
|
+
title: this.name,
|
|
11837
|
+
date: date,
|
|
11838
|
+
extendedProps: {
|
|
11839
|
+
id: this.id,
|
|
11840
|
+
class: FinancialGoal.className,
|
|
11841
|
+
amount: this.paymentAmount
|
|
11842
|
+
}
|
|
11843
|
+
}));
|
|
11844
|
+
}
|
|
11714
11845
|
}
|
|
11715
11846
|
__decorate([
|
|
11716
11847
|
Type(() => Date)
|
|
@@ -22306,24 +22437,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
22306
22437
|
}]
|
|
22307
22438
|
}] });
|
|
22308
22439
|
|
|
22309
|
-
class SafeUrlPipe {
|
|
22310
|
-
constructor(sanitizer) {
|
|
22311
|
-
this.sanitizer = sanitizer;
|
|
22312
|
-
}
|
|
22313
|
-
transform(url) {
|
|
22314
|
-
return this.sanitizer.bypassSecurityTrustResourceUrl(url);
|
|
22315
|
-
}
|
|
22316
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: SafeUrlPipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
22317
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.10", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safeUrl" }); }
|
|
22318
|
-
}
|
|
22319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: SafeUrlPipe, decorators: [{
|
|
22320
|
-
type: Pipe,
|
|
22321
|
-
args: [{
|
|
22322
|
-
name: 'safeUrl',
|
|
22323
|
-
standalone: true,
|
|
22324
|
-
}]
|
|
22325
|
-
}], ctorParameters: () => [{ type: i1$2.DomSanitizer }] });
|
|
22326
|
-
|
|
22327
22440
|
class AppPercentPipe {
|
|
22328
22441
|
constructor() {
|
|
22329
22442
|
this.percentagePipe = inject(PercentagePipe);
|
|
@@ -22342,6 +22455,54 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImpo
|
|
|
22342
22455
|
}]
|
|
22343
22456
|
}] });
|
|
22344
22457
|
|
|
22458
|
+
class RelativeDatePipe {
|
|
22459
|
+
constructor() {
|
|
22460
|
+
this.datePipe = inject(DatePipe);
|
|
22461
|
+
}
|
|
22462
|
+
transform(rawDate) {
|
|
22463
|
+
if (!rawDate) {
|
|
22464
|
+
return '';
|
|
22465
|
+
}
|
|
22466
|
+
const date = moment(rawDate).startOf('day');
|
|
22467
|
+
const today = moment().startOf('day');
|
|
22468
|
+
switch (date.diff(today, 'days')) {
|
|
22469
|
+
case 0:
|
|
22470
|
+
return 'Today';
|
|
22471
|
+
case 1:
|
|
22472
|
+
return 'Tomorrow';
|
|
22473
|
+
default:
|
|
22474
|
+
return this.datePipe.transform(date.toDate(), DateFormatsEnum.DATE_SLASH);
|
|
22475
|
+
}
|
|
22476
|
+
}
|
|
22477
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: RelativeDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
22478
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.10", ngImport: i0, type: RelativeDatePipe, isStandalone: true, name: "relativeDate" }); }
|
|
22479
|
+
}
|
|
22480
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: RelativeDatePipe, decorators: [{
|
|
22481
|
+
type: Pipe,
|
|
22482
|
+
args: [{
|
|
22483
|
+
name: 'relativeDate',
|
|
22484
|
+
standalone: true,
|
|
22485
|
+
}]
|
|
22486
|
+
}] });
|
|
22487
|
+
|
|
22488
|
+
class SafeUrlPipe {
|
|
22489
|
+
constructor(sanitizer) {
|
|
22490
|
+
this.sanitizer = sanitizer;
|
|
22491
|
+
}
|
|
22492
|
+
transform(url) {
|
|
22493
|
+
return this.sanitizer.bypassSecurityTrustResourceUrl(url);
|
|
22494
|
+
}
|
|
22495
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: SafeUrlPipe, deps: [{ token: i1$2.DomSanitizer }], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
22496
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.3.10", ngImport: i0, type: SafeUrlPipe, isStandalone: true, name: "safeUrl" }); }
|
|
22497
|
+
}
|
|
22498
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.10", ngImport: i0, type: SafeUrlPipe, decorators: [{
|
|
22499
|
+
type: Pipe,
|
|
22500
|
+
args: [{
|
|
22501
|
+
name: 'safeUrl',
|
|
22502
|
+
standalone: true,
|
|
22503
|
+
}]
|
|
22504
|
+
}], ctorParameters: () => [{ type: i1$2.DomSanitizer }] });
|
|
22505
|
+
|
|
22345
22506
|
var DepreciationCalculationPercentEnum;
|
|
22346
22507
|
(function (DepreciationCalculationPercentEnum) {
|
|
22347
22508
|
DepreciationCalculationPercentEnum[DepreciationCalculationPercentEnum["PRIME_COST"] = 100] = "PRIME_COST";
|
|
@@ -23592,6 +23753,90 @@ class LoanForm extends AbstractForm {
|
|
|
23592
23753
|
}
|
|
23593
23754
|
}
|
|
23594
23755
|
|
|
23756
|
+
class MoneyScheduleFilterForm extends AbstractForm {
|
|
23757
|
+
constructor(userFinYear) {
|
|
23758
|
+
super({
|
|
23759
|
+
month: new FormControl((new Date()).getMonth(), Validators.required),
|
|
23760
|
+
eventType: new FormControl(CalendarEventTypeEnum.ALL, Validators.required),
|
|
23761
|
+
tankType: new FormControl({ value: null, disabled: true }),
|
|
23762
|
+
business: new FormControl({ value: null, disabled: true }),
|
|
23763
|
+
properties: new FormControl({ value: [], disabled: true }),
|
|
23764
|
+
});
|
|
23765
|
+
this.userFinYear = userFinYear;
|
|
23766
|
+
// we need to pass the calendar which month should we show
|
|
23767
|
+
this.onFilter = new EventEmitter();
|
|
23768
|
+
this.listenEvents();
|
|
23769
|
+
}
|
|
23770
|
+
filter(calendarEvents) {
|
|
23771
|
+
const monthIndex = this.get('month').value;
|
|
23772
|
+
// calendar year start and FinYear start are different. we need to convert FinYear to regular one
|
|
23773
|
+
this.onFilter.emit(new Date(monthIndex > 5 ? this.userFinYear - 1 : this.userFinYear, monthIndex, 1));
|
|
23774
|
+
let filteredEvents = calendarEvents;
|
|
23775
|
+
if (this.get('eventType').value === CalendarEventTypeEnum.GOALS) {
|
|
23776
|
+
filteredEvents = filteredEvents.filterBy('extendedProps.class', 'FinancialGoal');
|
|
23777
|
+
}
|
|
23778
|
+
if (this.get('eventType').value === CalendarEventTypeEnum.EXPENSES) {
|
|
23779
|
+
filteredEvents = filteredEvents.filterBy('extendedProps.isExpense', true);
|
|
23780
|
+
}
|
|
23781
|
+
if (this.get('eventType').value === CalendarEventTypeEnum.INCOMES) {
|
|
23782
|
+
filteredEvents = filteredEvents.filterBy('extendedProps.isIncome', true);
|
|
23783
|
+
}
|
|
23784
|
+
if (this.get('tankType').value === TankTypeEnum.PROPERTY) {
|
|
23785
|
+
filteredEvents = filteredEvents.filterBy('extendedProps.isProperty', true);
|
|
23786
|
+
}
|
|
23787
|
+
if (this.get('tankType').value === TankTypeEnum.PERSONAL) {
|
|
23788
|
+
filteredEvents = filteredEvents.filterBy('extendedProps.isPersonal', true);
|
|
23789
|
+
}
|
|
23790
|
+
if (this.get('tankType').value === TankTypeEnum.SOLE) {
|
|
23791
|
+
filteredEvents = filteredEvents.filterBy('extendedProps.isSole', true);
|
|
23792
|
+
}
|
|
23793
|
+
if (this.get('tankType').value === TankTypeEnum.WORK) {
|
|
23794
|
+
filteredEvents = filteredEvents.filterBy('extendedProps.isWork', true);
|
|
23795
|
+
}
|
|
23796
|
+
if (this.get('tankType').value === TankTypeEnum.OTHER) {
|
|
23797
|
+
filteredEvents = filteredEvents.filterBy('extendedProps.isOther', true);
|
|
23798
|
+
}
|
|
23799
|
+
if (this.get('tankType').value === TankTypeEnum.HOLDING) {
|
|
23800
|
+
filteredEvents = filteredEvents.filterBy('extendedProps.isHolding', true);
|
|
23801
|
+
}
|
|
23802
|
+
if (this.get('business').value) {
|
|
23803
|
+
filteredEvents = filteredEvents.filterBy('extendedProps.businessId', this.get('business').value.id);
|
|
23804
|
+
}
|
|
23805
|
+
if (this.get('properties').value?.length) {
|
|
23806
|
+
filteredEvents = filteredEvents.filter((event) => !!this.get('properties').value.find((property) => property.id === event.extendedProps.propertyId));
|
|
23807
|
+
}
|
|
23808
|
+
return filteredEvents;
|
|
23809
|
+
}
|
|
23810
|
+
listenEvents() {
|
|
23811
|
+
const propertiesControl = this.get('properties');
|
|
23812
|
+
const businessControl = this.get('business');
|
|
23813
|
+
const tankTypeControl = this.get('tankType');
|
|
23814
|
+
this.get('eventType').valueChanges.subscribe((eventType) => {
|
|
23815
|
+
if (eventType === CalendarEventTypeEnum.ALL || eventType === CalendarEventTypeEnum.GOALS) {
|
|
23816
|
+
tankTypeControl.reset();
|
|
23817
|
+
tankTypeControl.disable();
|
|
23818
|
+
}
|
|
23819
|
+
else {
|
|
23820
|
+
tankTypeControl.enable();
|
|
23821
|
+
}
|
|
23822
|
+
});
|
|
23823
|
+
this.get('tankType').valueChanges.subscribe((tankType) => {
|
|
23824
|
+
tankType === TankTypeEnum.SOLE ? businessControl.enable() : businessControl.disable();
|
|
23825
|
+
tankType === TankTypeEnum.PROPERTY ? propertiesControl.enable() : propertiesControl.disable();
|
|
23826
|
+
businessControl.reset();
|
|
23827
|
+
propertiesControl.reset();
|
|
23828
|
+
});
|
|
23829
|
+
}
|
|
23830
|
+
reset() {
|
|
23831
|
+
super.reset();
|
|
23832
|
+
this.setCurrentMonth();
|
|
23833
|
+
this.get('eventType').setValue(CalendarEventTypeEnum.ALL);
|
|
23834
|
+
}
|
|
23835
|
+
setCurrentMonth() {
|
|
23836
|
+
this.get('month').setValue((new Date()).getMonth());
|
|
23837
|
+
}
|
|
23838
|
+
}
|
|
23839
|
+
|
|
23595
23840
|
/**
|
|
23596
23841
|
* Validator that enforces the current control's value to be >= another control's value.
|
|
23597
23842
|
*/
|
|
@@ -27132,5 +27377,5 @@ var MessagesEnum;
|
|
|
27132
27377
|
* Generated bundle index. Do not edit.
|
|
27133
27378
|
*/
|
|
27134
27379
|
|
|
27135
|
-
export { ADBLOCK_ERROR_HTML, ADBLOCK_ERROR_HTML_VALUE, AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupItemStatusEnum, AccountSetupItemsEnum, AccountSetupService, AdblockDetectorService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppCurrencyPipe, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AppPercentPipe, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AussieAppointment, AussieAppointmentForm, AussieBroker, AussieConfirmationForm, AussieService, AussieStore, AussieStoreForm, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionChartData, BankTransactionCollection, BankTransactionComment, BankTransactionCommentForm, BankTransactionCommentMessagesEnum, BankTransactionCommentService, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportMessagesEnum, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BestVehicleLogbookCollection, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetCollection, BudgetForm, BudgetMessagesEnum, BudgetMetadataInterface, BudgetReportItem, BudgetReportItemCollection, BudgetRule, BudgetRuleCollection, BudgetRuleForm, BudgetRuleItem, BudgetRuleItemCollection, BudgetRuleService, BudgetService, BudgetTypeEnum, BusinessChartAccountsEnum, BusinessResolver, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CapitalLoss, CapitalLossForm, CapitalLossMessagesEnum, CapitalLossService, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsAdjustmentIncludedListEnum, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsForm, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMessagesEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsPropertyAdjustmentsListEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueCollection, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatFilterForm, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientCouponService, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteCollection, ClientInviteForm, ClientInviteMessages, ClientInvitePutForm, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementForm, ClientMovementMessagesEnum, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CollectionForm, CoreModule, CorelogicMessagesEnum, CorelogicService, CorelogicSuggestion, Country, CurrentFirmBranchService, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DailyFrequencyEnum, DateFormatsEnum, DateRange, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderCollection, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EXPENSE_CATEGORY_BY_TYPE, EmployeeCollection, EmployeeDetails, EmployeeDetailsForm, EmployeeInvite, EmployeeInviteCollection, EmployeeInviteForm, EmployeeInviteRoleEnum, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialGoal, FinancialGoalCollection, FinancialGoalFilterForm, FinancialGoalForm, FinancialGoalMessagesEnum, FinancialGoalService, FinancialGoalStatusEnum, FinancialGoalTypeEnum, FinancialYear, FinancialYearService, Firm, FirmBranch, FirmBranchForm, FirmBranchMessagesEnum, FirmBranchService, FirmForm, FirmInviteForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GenderEnum, GoogleService, HTTP_ERROR_MESSAGES, HeaderTitleService, Holding, HoldingCollection, HoldingExpenseForm, HoldingIncomeForm, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleService, HoldingTrade, HoldingTradeCollection, HoldingTradeFilterForm, HoldingTradeForm, HoldingTradeImport, HoldingTradeImportForm, HoldingTradeImportMessagesEnum, HoldingTradeImportService, HoldingTradeMessagesEnum, HoldingTradeReportItem, HoldingTradeService, HoldingTradeTypeEnum, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeListEnum, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, HomeOfficeCalculatorForm, HomeOfficeClaim, HomeOfficeClaimCollection, HomeOfficeClaimForm, HomeOfficeClaimMessagesEnum, HomeOfficeClaimMethodEnum, HomeOfficeClaimService, HomeOfficeLog, HomeOfficeLogForm, HomeOfficeLogMessagesEnum, HomeOfficeLogService, INCOME_CATEGORY_BY_TYPE, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceMessagesEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, InvoicePaymentForm, InvoiceTransactionsService, JsPdf, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanMessagesEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MfaDetails, MfaDetailsForm, MfaDetailsMessagesEnum, MfaDetailsService, MoneyScheduleItem, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, PriorTransactionService, Property, PropertyAddForm, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementForm, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyForecastForm, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareForm, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationCollection, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, REPORTS, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestMessagesEnum, RestService$1 as RestService, SERVICE_PRODUCT_ROLES, SafeUrlPipe, SalaryForecast, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceListEnum, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIconsEnum, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, SetupItemTypeEnum, SharesightDetails, SharesightDetailsMessagesEnum, SharesightDetailsService, SharesightPortfolio, SharesightPortfolioMessages, SharesightPortfolioService, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossCollection, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessMessagesEnum, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsResolver, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStateEnum, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionMessagesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionCollection, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewFilterForm, TaxReviewFilterStatusEnum, TaxReviewHistoryService, TaxReviewMessagesEnum, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, TimezoneEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseCollection, TransactionBaseFilterForm, TransactionBaseForm, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReportItem, TransactionReportItemCollection, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TreeNodeData, USER_ROLES, USER_WORK_POSITION, UniqueEmailValidator, User, UserCollection, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, YoutubeService, YoutubeVideosEnum, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanControlValidator, greaterThanValidator, matchSumValidator, maxDateValidator, minDateValidator, nameValidator, passwordMatchValidator, passwordValidator, replace, sort, sortDeep, toArray };
|
|
27380
|
+
export { ADBLOCK_ERROR_HTML, ADBLOCK_ERROR_HTML_VALUE, AbstractForm, AbstractModel, AccountSetupItem, AccountSetupItemCollection, AccountSetupItemStatusEnum, AccountSetupItemsEnum, AccountSetupService, AdblockDetectorService, Address, AddressForm, AddressService, AddressTypeEnum, AllocationGroup, AllocationGroupCollection, AllocationRule, AllocationRuleCollection, AllocationRuleConditionComparisonOperatorEnum, AllocationRuleConditionFieldEnum, AllocationRuleConditionOperatorEnum, AllocationRuleForm, AllocationRuleService, AllocationRuleTransaction, AllocationRuleTransactionMetaField, AllocationRuleTypeEnum, AlphabetColorsEnum, AnnualClientDetails, AnnualClientDetailsForm, AnnualClientDetailsService, AnnualFrequencyEnum, AppCurrencyPipe, AppEvent, AppEvent2, AppEventTypeEnum, AppFile, AppPercentPipe, AssetEntityTypeEnum, AssetSale, AssetSaleCollection, AssetTypeEnum, AssetsService, AussieAppointment, AussieAppointmentForm, AussieBroker, AussieConfirmationForm, AussieService, AussieStore, AussieStoreForm, Badge, BadgeColorEnum, Bank, BankAccount, BankAccountAddManualForm, BankAccountAllocationForm, BankAccountCalculationService, BankAccountChartData, BankAccountCollection, BankAccountImportForm, BankAccountPropertiesForm, BankAccountProperty, BankAccountService, BankAccountStatusEnum, BankAccountTypeEnum, BankAccountsImportForm, BankConnection, BankConnectionMessagesEnum, BankConnectionService, BankConnectionStatusEnum, BankExternalStats, BankPopularEnum, BankProviderEnum, BankService, BankTransaction, BankTransactionChartData, BankTransactionCollection, BankTransactionComment, BankTransactionCommentForm, BankTransactionCommentMessagesEnum, BankTransactionCommentService, BankTransactionService, BankTransactionSummaryFieldsEnum, BankTransactionTypeEnum, BasReport, BasReportForm, BasReportMessagesEnum, BasReportService, BasiqConfig, BasiqJob, BasiqJobResponse, BasiqJobStep, BasiqMessagesEnum, BasiqService, BasiqToken, BasiqTokenService, BestVehicleLogbookCollection, BorrowingExpense, BorrowingExpenseLoan, BorrowingExpenseService, BorrowingReport, BorrowingReportForm, BorrowingReportMessagesEnum, BorrowingReportService, Budget, BudgetCollection, BudgetForm, BudgetMessagesEnum, BudgetMetadataInterface, BudgetReportItem, BudgetReportItemCollection, BudgetRule, BudgetRuleCollection, BudgetRuleForm, BudgetRuleItem, BudgetRuleItemCollection, BudgetRuleService, BudgetService, BudgetTypeEnum, BusinessChartAccountsEnum, BusinessResolver, BusinessTypeEnum, CAPITAL_COSTS_ITEMS, CHART_ACCOUNTS_CATEGORIES, CalculationFormItem, CalculationFormTypeEnum, CalendarEvent, CalendarEventCollection, CalendarEventTypeEnum, CapitalLoss, CapitalLossForm, CapitalLossMessagesEnum, CapitalLossService, CgtExemptionAndRolloverCodeEnum, ChartAccounts, ChartAccountsAdjustmentIncludedListEnum, ChartAccountsCategoryECollection, ChartAccountsCategoryEnum, ChartAccountsCollection, ChartAccountsDepreciation, ChartAccountsDepreciationService, ChartAccountsEtpEnum, ChartAccountsForm, ChartAccountsHeading, ChartAccountsHeadingListEnum, ChartAccountsHeadingTaxDeductibleEnum, ChartAccountsHeadingTaxableEnum, ChartAccountsHeadingVehicleListEnum, ChartAccountsHoldingUntaxedIncomeListEnum, ChartAccountsKeepSign, ChartAccountsListEnum, ChartAccountsMessagesEnum, ChartAccountsMetaField, ChartAccountsMetaFieldListEnum, ChartAccountsMetaFieldTypeEnum, ChartAccountsPropertyAdjustmentsListEnum, ChartAccountsSalaryAdjustmentsListEnum, ChartAccountsService, ChartAccountsTaxLabelsEnum, ChartAccountsTypeEnum, ChartAccountsValue, ChartAccountsValueCollection, ChartAccountsValueService, ChartData, ChartSerie, Chat, ChatCollection, ChatFilterForm, ChatService, ChatStatusEnum, ChatViewTypeEnum, ClientCollection, ClientCouponService, ClientDetails, ClientDetailsForm, ClientDetailsMedicareExemptionEnum, ClientDetailsWorkDepreciationCalculationEnum, ClientDetailsWorkingHolidayMakerEnum, ClientInvite, ClientInviteCollection, ClientInviteForm, ClientInviteMessages, ClientInvitePutForm, ClientInviteService, ClientInviteStatusEnum, ClientInviteTypeEnum, ClientMovement, ClientMovementCollection, ClientMovementForm, ClientMovementMessagesEnum, ClientMovementService, ClientPortfolioChartData, ClientPortfolioReport, ClientPortfolioReportCollection, ClientPortfolioReportService, Collection, CollectionDictionary, CollectionForm, CoreModule, CorelogicMessagesEnum, CorelogicService, CorelogicSuggestion, Country, CurrentFirmBranchService, DEDUCTION_CATEGORIES, DEPRECIATION_GROUPS, DOCUMENT_FILE_TYPES, DailyFrequencyEnum, DateFormatsEnum, DateRange, DeductionClothingTypeEnum, DeductionSelfEducationTypeEnum, Depreciation, DepreciationCalculationEnum, DepreciationCalculationPercentEnum, DepreciationCapitalProject, DepreciationCapitalProjectService, DepreciationCollection, DepreciationForecast, DepreciationForecastCollection, DepreciationForm, DepreciationGroup, DepreciationGroupEnum, DepreciationGroupItem, DepreciationLvpAssetTypeEnum, DepreciationLvpRateEnum, DepreciationLvpReportItem, DepreciationLvpReportItemCollection, DepreciationReportItem, DepreciationReportItemCollection, DepreciationService, DepreciationTypeEnum, DepreciationWriteOffAmountEnum, Dictionary, Document, DocumentApiUrlPrefixEnum, DocumentFolder, DocumentFolderCollection, DocumentFolderForm, DocumentFolderMessagesEnum, DocumentFolderService, DocumentForm, DocumentMessagesEnum, DocumentService, DocumentTypeEnum, ENDPOINTS, EXPENSE_CATEGORY_BY_TYPE, EmployeeCollection, EmployeeDetails, EmployeeDetailsForm, EmployeeInvite, EmployeeInviteCollection, EmployeeInviteForm, EmployeeInviteRoleEnum, EmployeeInviteService, EmployeeMessagesEnum, EmployeeService, Endpoint, EquityPositionChartService, EventDispatcherService, ExportDataTable, ExportFormatEnum, ExportFormatterService, ExportableCollection, FacebookService, FileService, FileValidator, FinancialGoal, FinancialGoalCollection, FinancialGoalFilterForm, FinancialGoalForm, FinancialGoalMessagesEnum, FinancialGoalService, FinancialGoalStatusEnum, FinancialGoalTypeEnum, FinancialYear, FinancialYearService, Firm, FirmBranch, FirmBranchForm, FirmBranchMessagesEnum, FirmBranchService, FirmForm, FirmInviteForm, FirmMessagesEnum, FirmService, FirmTypeEnum, FormValidationsEnum, GenderEnum, GoogleService, HTTP_ERROR_MESSAGES, HeaderTitleService, Holding, HoldingCollection, HoldingExpenseForm, HoldingIncomeForm, HoldingReinvest, HoldingReinvestForm, HoldingSale, HoldingSaleCollection, HoldingSaleService, HoldingTrade, HoldingTradeCollection, HoldingTradeFilterForm, HoldingTradeForm, HoldingTradeImport, HoldingTradeImportForm, HoldingTradeImportMessagesEnum, HoldingTradeImportService, HoldingTradeMessagesEnum, HoldingTradeReportItem, HoldingTradeService, HoldingTradeTypeEnum, HoldingType, HoldingTypeCategoryEnum, HoldingTypeCollection, HoldingTypeExchange, HoldingTypeExchangeListEnum, HoldingTypeExchangeService, HoldingTypeForm, HoldingTypeMessagesEnum, HoldingTypeService, HomeOfficeCalculatorForm, HomeOfficeClaim, HomeOfficeClaimCollection, HomeOfficeClaimForm, HomeOfficeClaimMessagesEnum, HomeOfficeClaimMethodEnum, HomeOfficeClaimService, HomeOfficeLog, HomeOfficeLogForm, HomeOfficeLogMessagesEnum, HomeOfficeLogService, INCOME_CATEGORY_BY_TYPE, IconsFileEnum, IncomeAmountTypeEnum, IncomePosition, IncomeSource, IncomeSourceChartData, IncomeSourceCollection, IncomeSourceForecast, IncomeSourceForecastCollection, IncomeSourceForecastService, IncomeSourceForecastTrustTypeEnum, IncomeSourceMessagesEnum, IncomeSourceService, IncomeSourceType, IncomeSourceTypeEnum, IncomeSourceTypeListHoldingEnum, IncomeSourceTypeListOtherEnum, IncomeSourceTypeListSoleEnum, IncomeSourceTypeListWorkEnum, IncomeSourceTypeService, InterceptorsModule, IntercomService, InviteStatusEnum, InvoicePaymentForm, InvoiceTransactionsService, JsPdf, Loan, LoanBankTypeEnum, LoanCollection, LoanForm, LoanInterestTypeEnum, LoanInterestTypeLabelEnum, LoanMaxNumberOfPaymentsEnum, LoanMessagesEnum, LoanPayment, LoanPaymentCollection, LoanPayout, LoanPayoutTypeEnum, LoanRepaymentTypeEnum, LoanRepaymentTypeLabelEnum, LoanService, LoanTypeEnum, LoanVehicleTypeEnum, LoginForm, LossTypeEnum, MODULE_URL_LIST, MONTHS, Message, MessageCollection, MessageDocument, MessageDocumentCollection, MessageDocumentService, MessageService, MessagesEnum, MfaDetails, MfaDetailsForm, MfaDetailsMessagesEnum, MfaDetailsService, MoneyCalendarEvent, MoneyCalendarEventCollection, MoneyScheduleFilterForm, MonthNameShortEnum, MonthNumberEnum, MyAccountHistory, MyAccountHistoryInitiatedByEnum, MyAccountHistoryStatusEnum, MyAccountHistoryTypeEnum, MyTaxBusinessDetails, MyTaxBusinessDetailsForm, MyTaxBusinessIncome, MyTaxBusinessIncomeForm, MyTaxBusinessIncomeOrLossesForm, MyTaxBusinessLosses, MyTaxBusinessLossesForm, MyTaxCgt, MyTaxCgtForm, MyTaxDeductions, MyTaxDeductionsForm, MyTaxDividends, MyTaxDividendsForm, MyTaxEstimate, MyTaxIncomeStatements, MyTaxIncomeStatementsForm, MyTaxIncomeTests, MyTaxIncomeTestsForm, MyTaxInterest, MyTaxInterestForm, MyTaxLosses, MyTaxLossesForm, MyTaxMedicareForm, MyTaxOffsets, MyTaxOffsetsForm, MyTaxOtherIncome, MyTaxOtherIncomeForm, MyTaxPartnershipsAndTrusts, MyTaxPartnershipsAndTrustsForm, MyTaxRent, MyTaxRentForm, Notification, Occupation, OccupationService, PASSWORD_REGEXPS, PasswordForm, PdfFromDataTableService, PdfFromDomElementService, PdfFromHtmlTableService, PdfFromTableService, PdfOrientationEnum, PdfService, PdfSettings, Phone, PhoneForm, PhoneTypeEnum, PreloaderService, PriorTransactionService, Property, PropertyAddForm, PropertyCalculationService, PropertyCategory, PropertyCategoryListEnum, PropertyCategoryMovement, PropertyCategoryMovementCollection, PropertyCategoryMovementForm, PropertyCategoryMovementService, PropertyCategoryService, PropertyCollection, PropertyDepreciationCalculationEnum, PropertyEditForm, PropertyEquityChartData, PropertyEquityChartItem, PropertyEquityChartTypeEnum, PropertyForecast, PropertyForecastForm, PropertyMessagesEnum, PropertyReportItem, PropertyReportItemCollection, PropertyReportItemDepreciation, PropertyReportItemDepreciationCollection, PropertyReportItemTransaction, PropertyReportItemTransactionCollection, PropertySale, PropertySaleCollection, PropertySaleCostBase, PropertySaleCostBaseForm, PropertySaleCostSaleForm, PropertySaleExemptionsForm, PropertySaleService, PropertySaleTaxExemptionMetaField, PropertySaleTaxExemptionMetaFieldCollection, PropertyService, PropertyShare, PropertyShareAccessEnum, PropertyShareCollection, PropertyShareForm, PropertyShareService, PropertyShareStatusEnum, PropertySubscription, PropertyTransactionReportService, PropertyValuation, PropertyValuationCollection, PropertyValuationForm, PropertyValuationMessages, PropertyValuationService, REPORTS, RegisterClientForm, RegisterFirmForm, RegistrationInvite, RegistrationInviteStatusEnum, RelativeDatePipe, ReportItem, ReportItemCollection, ReportItemDetails, ResetPasswordForm, RestMessagesEnum, RestService$1 as RestService, SERVICE_PRODUCT_ROLES, SafeUrlPipe, SalaryForecast, SalaryForecastService, ServiceNotificationService, ServiceNotificationStatusEnum, ServiceNotificationTypeEnum, ServicePayment, ServicePaymentMethod, ServicePaymentMethodService, ServicePaymentService, ServicePaymentStatusEnum, ServicePrice, ServicePriceCollection, ServicePriceListEnum, ServicePriceRecurringIntervalEnum, ServicePriceService, ServicePriceTypeEnum, ServiceProduct, ServiceProductCollection, ServiceProductIconsEnum, ServiceProductIdEnum, ServiceProductService, ServiceProductStatusEnum, ServicePromoCode, ServiceSubscription, ServiceSubscriptionCollection, ServiceSubscriptionItem, ServiceSubscriptionStatusEnum, SetupItemTypeEnum, SharesightDetails, SharesightDetailsMessagesEnum, SharesightDetailsService, SharesightPortfolio, SharesightPortfolioMessages, SharesightPortfolioService, SoleBusiness, SoleBusinessActivity, SoleBusinessActivityService, SoleBusinessAllocation, SoleBusinessAllocationsForm, SoleBusinessForm, SoleBusinessLoss, SoleBusinessLossCollection, SoleBusinessLossForm, SoleBusinessLossOffsetRule, SoleBusinessLossOffsetRuleService, SoleBusinessLossReport, SoleBusinessLossService, SoleBusinessMessagesEnum, SoleBusinessService, SoleContact, SoleContactForm, SoleContactService, SoleDepreciationMethod, SoleDepreciationMethodEnum, SoleDepreciationMethodForm, SoleDepreciationMethodService, SoleDetails, SoleDetailsForm, SoleDetailsResolver, SoleDetailsService, SoleForecast, SoleForecastService, SoleIncomeForm, SoleInvoice, SoleInvoiceCollection, SoleInvoiceForm, SoleInvoiceItem, SoleInvoiceItemCollection, SoleInvoiceItemForm, SoleInvoiceService, SoleInvoiceStateEnum, SoleInvoiceStatusesEnum, SoleInvoiceTaxTypeEnum, SoleInvoiceTemplate, SoleInvoiceTemplateForm, SoleInvoiceTemplateService, SoleInvoiceTemplateTaxTypeEnum, SpareDocumentSpareTypeEnum, SseService, StatesEnum, SubscriptionItemCollection, SubscriptionMessagesEnum, SubscriptionService, TAX_RETURN_CATEGORIES, TYPE_LOAN, TankTypeEnum, TaxCalculationMedicareExemptionEnum, TaxCalculationTypeEnum, TaxExemption, TaxExemptionCollection, TaxExemptionEnum, TaxExemptionMetaField, TaxExemptionMetaFieldEnum, TaxExemptionService, TaxReturn, TaxReturnCategory, TaxReturnCategoryListEnum, TaxReturnCategorySectionEnum, TaxReturnItem, TaxReturnItemEnum, TaxReturnItemService, TaxReview, TaxReviewCollection, TaxReviewFilterForm, TaxReviewFilterStatusEnum, TaxReviewHistoryService, TaxReviewMessagesEnum, TaxReviewService, TaxReviewStatusEnum, TaxSummary, TaxSummaryListEnum, TaxSummarySection, TaxSummarySectionEnum, TaxSummaryService, TaxSummaryTaxSummaryEnum, TaxSummaryTypeEnum, TicketFeedbackEnum, TicketStatusEnum, TicketTypesEnum, TimezoneEnum, Toast, ToastService, ToastTypeEnum, Transaction, TransactionAllocation, TransactionAllocationCollection, TransactionAllocationService, TransactionBase, TransactionBaseCollection, TransactionBaseFilterForm, TransactionBaseForm, TransactionCategoryEnum, TransactionCollection, TransactionForm, TransactionMetaField, TransactionOperationEnum, TransactionReportItem, TransactionReportItemCollection, TransactionService, TransactionSourceEnum, TransactionTypeEnum, TreeNodeData, USER_ROLES, USER_WORK_POSITION, UniqueEmailValidator, User, UserCollection, UserEventSetting, UserEventSettingCollection, UserEventSettingFieldEnum, UserEventSettingService, UserEventStatusEnum, UserEventType, UserEventTypeCategory, UserEventTypeClientTypeEnum, UserEventTypeCollection, UserEventTypeEmployeeTypeEnum, UserEventTypeFrequencyEnum, UserEventTypeService, UserEventTypeUserTypeEnum, UserForm, UserInviteForm, UserMedicareExemptionEnum, UserMessagesEnum, UserService, UserStatusEnum, UserSwitcherService, UserTitleEnum, UserToRegister, UserWorkDepreciationCalculationEnum, UserWorkingHolidayMakerEnum, UsersInviteService, Vehicle, VehicleClaim, VehicleClaimCollection, VehicleClaimDetails, VehicleClaimDetailsForm, VehicleClaimDetailsMethodEnum, VehicleClaimDetailsService, VehicleClaimForm, VehicleClaimService, VehicleExpense, VehicleExpenseCollection, VehicleForm, VehicleLogbook, VehicleLogbookCollection, VehicleLogbookForm, VehicleLogbookMessages, VehicleLogbookPurposeEnum, VehicleLogbookService, VehicleMessagesEnum, VehicleService, WorkExpenseForm, WorkIncomeForm, XlsxService, YoutubeService, YoutubeVideosEnum, atLeastOneCheckedValidator, atoLinks, autocompleteValidator, cloneDeep, compare, compareMatOptions, conditionalValidator, createDate, currentFinYearValidator, displayMatOptions, enumToList, fieldsSumValidator, getDocIcon, greaterThanControlValidator, greaterThanValidator, matchSumValidator, maxDateValidator, minDateValidator, nameValidator, passwordMatchValidator, passwordValidator, recurringDates, replace, sort, sortDeep, toArray };
|
|
27136
27381
|
//# sourceMappingURL=taxtank-core.mjs.map
|