loanshub-shared 1.0.0 → 1.1.0
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/lib/app/index.d.ts +3 -3
- package/lib/app/index.js +18 -18
- package/lib/app/options/applicantOptions.d.ts +10 -10
- package/lib/app/options/applicantOptions.js +203 -203
- package/lib/app/options/assetOptions.d.ts +3 -3
- package/lib/app/options/assetOptions.js +38 -38
- package/lib/app/options/assetOptions.js.map +1 -1
- package/lib/app/options/bankOptions.d.ts +2 -0
- package/lib/app/options/bankOptions.js +10 -0
- package/lib/app/options/bankOptions.js.map +1 -0
- package/lib/app/options/employmentOptions.d.ts +6 -6
- package/lib/app/options/employmentOptions.js +69 -69
- package/lib/app/options/employmentOptions.js.map +1 -1
- package/lib/app/options/expenseOptions.d.ts +3 -3
- package/lib/app/options/expenseOptions.js +199 -134
- package/lib/app/options/expenseOptions.js.map +1 -1
- package/lib/app/options/index.d.ts +13 -12
- package/lib/app/options/index.js +47 -46
- package/lib/app/options/index.js.map +1 -1
- package/lib/app/options/liabilityOptions.d.ts +4 -4
- package/lib/app/options/liabilityOptions.js +60 -52
- package/lib/app/options/liabilityOptions.js.map +1 -1
- package/lib/app/options/repaymentOptions.d.ts +13 -13
- package/lib/app/options/repaymentOptions.js +53 -53
- package/lib/app/options/repaymentOptions.js.map +1 -1
- package/lib/app/stages.d.ts +15 -15
- package/lib/app/stages.js +35 -35
- package/lib/app/stages.js.map +1 -1
- package/lib/assetPropertyAddress.d.ts +26 -0
- package/lib/assetPropertyAddress.js +148 -0
- package/lib/assetPropertyAddress.js.map +1 -0
- package/lib/form/index.d.ts +2 -2
- package/lib/form/index.js +18 -18
- package/lib/form/loanForm.d.ts +180 -174
- package/lib/form/loanForm.js +92 -85
- package/lib/form/loanForm.js.map +1 -1
- package/lib/form/loanFormOptions.d.ts +18 -17
- package/lib/form/loanFormOptions.js +145 -139
- package/lib/form/loanFormOptions.js.map +1 -1
- package/lib/index.d.ts +6 -5
- package/lib/index.js +22 -21
- package/lib/index.js.map +1 -1
- package/lib/nominatimAddress.d.ts +41 -0
- package/lib/nominatimAddress.js +118 -0
- package/lib/nominatimAddress.js.map +1 -0
- package/lib/nominatimAddress.test.d.ts +1 -0
- package/lib/nominatimAddress.test.js +91 -0
- package/lib/nominatimAddress.test.js.map +1 -0
- package/lib/typings/firebase/employment.d.ts +11 -11
- package/lib/typings/firebase/employment.js +15 -15
- package/lib/typings/firebase/employment.js.map +1 -1
- package/lib/typings/firebase/index.d.ts +1 -1
- package/lib/typings/firebase/index.js +17 -17
- package/lib/typings/loanshub/address.d.ts +13 -13
- package/lib/typings/loanshub/address.js +2 -2
- package/lib/typings/loanshub/applicant.d.ts +71 -71
- package/lib/typings/loanshub/applicant.js +20 -20
- package/lib/typings/loanshub/applicant.js.map +1 -1
- package/lib/typings/loanshub/application.d.ts +100 -100
- package/lib/typings/loanshub/application.js +8 -8
- package/lib/typings/loanshub/application.js.map +1 -1
- package/lib/typings/loanshub/asset.d.ts +13 -13
- package/lib/typings/loanshub/asset.js +2 -2
- package/lib/typings/loanshub/attachment.d.ts +17 -17
- package/lib/typings/loanshub/attachment.js +2 -2
- package/lib/typings/loanshub/currentRate.d.ts +7 -7
- package/lib/typings/loanshub/currentRate.js +2 -2
- package/lib/typings/loanshub/index.d.ts +27 -27
- package/lib/typings/loanshub/index.js +38 -38
- package/lib/typings/loanshub/index.js.map +1 -1
- package/lib/typings/loanshub/lender.d.ts +13 -13
- package/lib/typings/loanshub/lender.js +2 -2
- package/lib/typings/loanshub/liability.d.ts +13 -13
- package/lib/typings/loanshub/liability.js +2 -2
- package/lib/typings/loanshub/rateReview.d.ts +4 -4
- package/lib/typings/loanshub/rateReview.js +2 -2
- package/lib/typings/loanshub/user.d.ts +5 -5
- package/lib/typings/loanshub/user.js +2 -2
- package/lib/typings/salestrekker/generated.d.ts +5880 -5899
- package/lib/typings/salestrekker/generated.js +1210 -1194
- package/lib/typings/salestrekker/generated.js.map +1 -1
- package/lib/typings/salestrekker/index.d.ts +6 -6
- package/lib/typings/salestrekker/index.js +24 -24
- package/lib/typings/salestrekker/index.js.map +1 -1
- package/lib/utils.d.ts +27 -27
- package/lib/utils.js +79 -80
- package/lib/utils.js.map +1 -1
- package/lib/utils.test.d.ts +1 -1
- package/lib/utils.test.js +88 -88
- package/package.json +5 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/app/options/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,6DAAwE;AACxE,qDAAmC;AACnC,mDAAiC;AACjC,iDAA+B;AAC/B,qDAAmC;AACnC,qDAAmC;AACnC,sDAAoC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/app/options/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,6DAAwE;AACxE,qDAAmC;AACnC,mDAAiC;AACjC,iDAA+B;AAC/B,qDAAmC;AACnC,qDAAmC;AACnC,sDAAoC;AACpC,gDAA8B;AAOjB,QAAA,uBAAuB,GAE9B;IACJ;QACE,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,yCAA0B,CAAC,MAAM;KACzC;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,yCAA0B,CAAC,WAAW;KAC9C;IACD;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,yCAA0B,CAAC,OAAO;KAC1C;IACD;QACE,IAAI,EAAE,WAAW;QACjB,KAAK,EAAE,yCAA0B,CAAC,SAAS;KAC5C;IACD;QACE,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,yCAA0B,CAAC,QAAQ;KAC3C;CACF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreditCardTypeEnumerator, LiabilityTypeEnumerator } from "../../typings/salestrekker";
|
|
2
|
-
import { OptionItem } from ".";
|
|
3
|
-
export declare const LiabilityTypeOptions: OptionItem<LiabilityTypeEnumerator>[];
|
|
4
|
-
export declare const CreditCardTypeOptions: OptionItem<CreditCardTypeEnumerator>[];
|
|
1
|
+
import { CreditCardTypeEnumerator, LiabilityTypeEnumerator } from "../../typings/salestrekker";
|
|
2
|
+
import { OptionItem } from ".";
|
|
3
|
+
export declare const LiabilityTypeOptions: OptionItem<LiabilityTypeEnumerator>[];
|
|
4
|
+
export declare const CreditCardTypeOptions: OptionItem<CreditCardTypeEnumerator>[];
|
|
@@ -1,53 +1,61 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreditCardTypeOptions = exports.LiabilityTypeOptions = void 0;
|
|
4
|
-
const salestrekker_1 = require("../../typings/salestrekker");
|
|
5
|
-
exports.LiabilityTypeOptions = [
|
|
6
|
-
{
|
|
7
|
-
text: "Mortgage loan",
|
|
8
|
-
value: salestrekker_1.LiabilityTypeEnumerator.mortgage_loan,
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
text: "Credit card",
|
|
12
|
-
value: salestrekker_1.LiabilityTypeEnumerator.credit_card,
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
text: "
|
|
16
|
-
value: salestrekker_1.LiabilityTypeEnumerator.
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
text: "
|
|
20
|
-
value: salestrekker_1.LiabilityTypeEnumerator.
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
text: "
|
|
24
|
-
value: salestrekker_1.LiabilityTypeEnumerator.
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
text: "
|
|
28
|
-
value: salestrekker_1.LiabilityTypeEnumerator.
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
{
|
|
41
|
-
text: "
|
|
42
|
-
value: salestrekker_1.CreditCardTypeEnumerator.
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
text: "
|
|
46
|
-
value: salestrekker_1.CreditCardTypeEnumerator.
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
text: "
|
|
50
|
-
value: salestrekker_1.CreditCardTypeEnumerator.
|
|
51
|
-
},
|
|
52
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreditCardTypeOptions = exports.LiabilityTypeOptions = void 0;
|
|
4
|
+
const salestrekker_1 = require("../../typings/salestrekker");
|
|
5
|
+
exports.LiabilityTypeOptions = [
|
|
6
|
+
{
|
|
7
|
+
text: "Mortgage loan",
|
|
8
|
+
value: salestrekker_1.LiabilityTypeEnumerator.mortgage_loan,
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
text: "Credit card",
|
|
12
|
+
value: salestrekker_1.LiabilityTypeEnumerator.credit_card,
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
text: "SMSF loan",
|
|
16
|
+
value: salestrekker_1.LiabilityTypeEnumerator.SMSF_loan,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
text: "Overdraft",
|
|
20
|
+
value: salestrekker_1.LiabilityTypeEnumerator.overdraft,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
text: "Car loan",
|
|
24
|
+
value: salestrekker_1.LiabilityTypeEnumerator.vehicle_loan,
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
text: "Line of credit",
|
|
28
|
+
value: salestrekker_1.LiabilityTypeEnumerator.personal_loan,
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
text: "Education loan",
|
|
32
|
+
value: salestrekker_1.LiabilityTypeEnumerator.education_debt,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
text: "Other",
|
|
36
|
+
value: salestrekker_1.LiabilityTypeEnumerator.other,
|
|
37
|
+
},
|
|
38
|
+
];
|
|
39
|
+
exports.CreditCardTypeOptions = [
|
|
40
|
+
{
|
|
41
|
+
text: "Visa",
|
|
42
|
+
value: salestrekker_1.CreditCardTypeEnumerator.visa,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
text: "Mastercard",
|
|
46
|
+
value: salestrekker_1.CreditCardTypeEnumerator.mastercard,
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
text: "Amex",
|
|
50
|
+
value: salestrekker_1.CreditCardTypeEnumerator.amex,
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
text: "Store card",
|
|
54
|
+
value: salestrekker_1.CreditCardTypeEnumerator.store_card,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
text: "Other",
|
|
58
|
+
value: salestrekker_1.CreditCardTypeEnumerator.other,
|
|
59
|
+
},
|
|
60
|
+
];
|
|
53
61
|
//# sourceMappingURL=liabilityOptions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"liabilityOptions.js","sourceRoot":"","sources":["../../../src/app/options/liabilityOptions.ts"],"names":[],"mappings":";;;AAAA,6DAGoC;AAGvB,QAAA,oBAAoB,GAA0C;IACzE;QACE,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,sCAAuB,CAAC,aAAa;KAC7C;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,sCAAuB,CAAC,WAAW;KAC3C;IACD;QACE,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,sCAAuB,CAAC,YAAY;KAC5C;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,sCAAuB,CAAC,aAAa;KAC7C;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,sCAAuB,CAAC,cAAc;KAC9C;IACD;QACE,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,sCAAuB,CAAC,KAAK;KACrC;CACF,CAAC;AAEW,QAAA,qBAAqB,GAA2C;IAC3E;QACE,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,uCAAwB,CAAC,IAAI;KACrC;IACD;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,uCAAwB,CAAC,UAAU;KAC3C;IACD;QACE,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,uCAAwB,CAAC,IAAI;KACrC;IACD;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,uCAAwB,CAAC,UAAU;KAC3C;IACD;QACE,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,uCAAwB,CAAC,KAAK;KACtC;CACF,CAAC"}
|
|
1
|
+
{"version":3,"file":"liabilityOptions.js","sourceRoot":"","sources":["../../../src/app/options/liabilityOptions.ts"],"names":[],"mappings":";;;AAAA,6DAGoC;AAGvB,QAAA,oBAAoB,GAA0C;IACzE;QACE,IAAI,EAAE,eAAe;QACrB,KAAK,EAAE,sCAAuB,CAAC,aAAa;KAC7C;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,sCAAuB,CAAC,WAAW;KAC3C;IACD;QACE,IAAI,EAAE,WAAW;QACjB,KAAK,EAAE,sCAAuB,CAAC,SAAS;KACzC;IACD;QACE,IAAI,EAAE,WAAW;QACjB,KAAK,EAAE,sCAAuB,CAAC,SAAS;KACzC;IACD;QACE,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,sCAAuB,CAAC,YAAY;KAC5C;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,sCAAuB,CAAC,aAAa;KAC7C;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,sCAAuB,CAAC,cAAc;KAC9C;IACD;QACE,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,sCAAuB,CAAC,KAAK;KACrC;CACF,CAAC;AAEW,QAAA,qBAAqB,GAA2C;IAC3E;QACE,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,uCAAwB,CAAC,IAAI;KACrC;IACD;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,uCAAwB,CAAC,UAAU;KAC3C;IACD;QACE,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,uCAAwB,CAAC,IAAI;KACrC;IACD;QACE,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,uCAAwB,CAAC,UAAU;KAC3C;IACD;QACE,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,uCAAwB,CAAC,KAAK;KACtC;CACF,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OptionItem } from ".";
|
|
2
|
-
export declare enum repaymentOptions {
|
|
3
|
-
priorToRetirement = "priorToRetirement",
|
|
4
|
-
superIncome = "superIncome",
|
|
5
|
-
investments = "investments",
|
|
6
|
-
downsizing = "downsizing",
|
|
7
|
-
superLumpSum = "superLumpSum",
|
|
8
|
-
coApplicant = "coApplicant",
|
|
9
|
-
assets = "assets",
|
|
10
|
-
savings = "savings",
|
|
11
|
-
other = "other"
|
|
12
|
-
}
|
|
13
|
-
export declare const repaymentOptionOptions: OptionItem<repaymentOptions>[];
|
|
1
|
+
import { OptionItem } from ".";
|
|
2
|
+
export declare enum repaymentOptions {
|
|
3
|
+
priorToRetirement = "priorToRetirement",
|
|
4
|
+
superIncome = "superIncome",
|
|
5
|
+
investments = "investments",
|
|
6
|
+
downsizing = "downsizing",
|
|
7
|
+
superLumpSum = "superLumpSum",
|
|
8
|
+
coApplicant = "coApplicant",
|
|
9
|
+
assets = "assets",
|
|
10
|
+
savings = "savings",
|
|
11
|
+
other = "other"
|
|
12
|
+
}
|
|
13
|
+
export declare const repaymentOptionOptions: OptionItem<repaymentOptions>[];
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.repaymentOptionOptions = exports.repaymentOptions = void 0;
|
|
4
|
-
var repaymentOptions;
|
|
5
|
-
(function (repaymentOptions) {
|
|
6
|
-
repaymentOptions["priorToRetirement"] = "priorToRetirement";
|
|
7
|
-
repaymentOptions["superIncome"] = "superIncome";
|
|
8
|
-
repaymentOptions["investments"] = "investments";
|
|
9
|
-
repaymentOptions["downsizing"] = "downsizing";
|
|
10
|
-
repaymentOptions["superLumpSum"] = "superLumpSum";
|
|
11
|
-
repaymentOptions["coApplicant"] = "coApplicant";
|
|
12
|
-
repaymentOptions["assets"] = "assets";
|
|
13
|
-
repaymentOptions["savings"] = "savings";
|
|
14
|
-
repaymentOptions["other"] = "other";
|
|
15
|
-
})(repaymentOptions
|
|
16
|
-
exports.repaymentOptionOptions = [
|
|
17
|
-
{
|
|
18
|
-
text: "Repayment of loan prior to retirement",
|
|
19
|
-
value: repaymentOptions.priorToRetirement,
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
text: "Recurring income from superannuation",
|
|
23
|
-
value: repaymentOptions.superIncome,
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
text: "Income from other investments",
|
|
27
|
-
value: repaymentOptions.investments,
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
text: "Downsizing home",
|
|
31
|
-
value: repaymentOptions.downsizing,
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
text: "Superannuation lump sum following retirement",
|
|
35
|
-
value: repaymentOptions.superLumpSum,
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
text: "Co-applicant's income",
|
|
39
|
-
value: repaymentOptions.coApplicant,
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
text: "Sale of assets",
|
|
43
|
-
value: repaymentOptions.assets,
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
text: "Savings",
|
|
47
|
-
value: repaymentOptions.savings,
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
text: "Other",
|
|
51
|
-
value: repaymentOptions.other,
|
|
52
|
-
},
|
|
53
|
-
];
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.repaymentOptionOptions = exports.repaymentOptions = void 0;
|
|
4
|
+
var repaymentOptions;
|
|
5
|
+
(function (repaymentOptions) {
|
|
6
|
+
repaymentOptions["priorToRetirement"] = "priorToRetirement";
|
|
7
|
+
repaymentOptions["superIncome"] = "superIncome";
|
|
8
|
+
repaymentOptions["investments"] = "investments";
|
|
9
|
+
repaymentOptions["downsizing"] = "downsizing";
|
|
10
|
+
repaymentOptions["superLumpSum"] = "superLumpSum";
|
|
11
|
+
repaymentOptions["coApplicant"] = "coApplicant";
|
|
12
|
+
repaymentOptions["assets"] = "assets";
|
|
13
|
+
repaymentOptions["savings"] = "savings";
|
|
14
|
+
repaymentOptions["other"] = "other";
|
|
15
|
+
})(repaymentOptions || (exports.repaymentOptions = repaymentOptions = {}));
|
|
16
|
+
exports.repaymentOptionOptions = [
|
|
17
|
+
{
|
|
18
|
+
text: "Repayment of loan prior to retirement",
|
|
19
|
+
value: repaymentOptions.priorToRetirement,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
text: "Recurring income from superannuation",
|
|
23
|
+
value: repaymentOptions.superIncome,
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
text: "Income from other investments",
|
|
27
|
+
value: repaymentOptions.investments,
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
text: "Downsizing home",
|
|
31
|
+
value: repaymentOptions.downsizing,
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
text: "Superannuation lump sum following retirement",
|
|
35
|
+
value: repaymentOptions.superLumpSum,
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
text: "Co-applicant's income",
|
|
39
|
+
value: repaymentOptions.coApplicant,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
text: "Sale of assets",
|
|
43
|
+
value: repaymentOptions.assets,
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
text: "Savings",
|
|
47
|
+
value: repaymentOptions.savings,
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
text: "Other",
|
|
51
|
+
value: repaymentOptions.other,
|
|
52
|
+
},
|
|
53
|
+
];
|
|
54
54
|
//# sourceMappingURL=repaymentOptions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repaymentOptions.js","sourceRoot":"","sources":["../../../src/app/options/repaymentOptions.ts"],"names":[],"mappings":";;;AAEA,IAAY,gBAUX;AAVD,WAAY,gBAAgB;IAC1B,2DAAuC,CAAA;IACvC,+CAA2B,CAAA;IAC3B,+CAA2B,CAAA;IAC3B,6CAAyB,CAAA;IACzB,iDAA6B,CAAA;IAC7B,+CAA2B,CAAA;IAC3B,qCAAiB,CAAA;IACjB,uCAAmB,CAAA;IACnB,mCAAe,CAAA;AACjB,CAAC,EAVW,gBAAgB,
|
|
1
|
+
{"version":3,"file":"repaymentOptions.js","sourceRoot":"","sources":["../../../src/app/options/repaymentOptions.ts"],"names":[],"mappings":";;;AAEA,IAAY,gBAUX;AAVD,WAAY,gBAAgB;IAC1B,2DAAuC,CAAA;IACvC,+CAA2B,CAAA;IAC3B,+CAA2B,CAAA;IAC3B,6CAAyB,CAAA;IACzB,iDAA6B,CAAA;IAC7B,+CAA2B,CAAA;IAC3B,qCAAiB,CAAA;IACjB,uCAAmB,CAAA;IACnB,mCAAe,CAAA;AACjB,CAAC,EAVW,gBAAgB,gCAAhB,gBAAgB,QAU3B;AAEY,QAAA,sBAAsB,GAAmC;IACpE;QACE,IAAI,EAAE,uCAAuC;QAC7C,KAAK,EAAE,gBAAgB,CAAC,iBAAiB;KAC1C;IACD;QACE,IAAI,EAAE,sCAAsC;QAC5C,KAAK,EAAE,gBAAgB,CAAC,WAAW;KACpC;IACD;QACE,IAAI,EAAE,+BAA+B;QACrC,KAAK,EAAE,gBAAgB,CAAC,WAAW;KACpC;IACD;QACE,IAAI,EAAE,iBAAiB;QACvB,KAAK,EAAE,gBAAgB,CAAC,UAAU;KACnC;IACD;QACE,IAAI,EAAE,8CAA8C;QACpD,KAAK,EAAE,gBAAgB,CAAC,YAAY;KACrC;IACD;QACE,IAAI,EAAE,uBAAuB;QAC7B,KAAK,EAAE,gBAAgB,CAAC,WAAW;KACpC;IACD;QACE,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,gBAAgB,CAAC,MAAM;KAC/B;IACD;QACE,IAAI,EAAE,SAAS;QACf,KAAK,EAAE,gBAAgB,CAAC,OAAO;KAChC;IACD;QACE,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,gBAAgB,CAAC,KAAK;KAC9B;CACF,CAAC"}
|
package/lib/app/stages.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { OptionItem } from ".";
|
|
2
|
-
import { SemanticColors } from "..";
|
|
3
|
-
export declare enum PortalStages {
|
|
4
|
-
Draft = "Draft",
|
|
5
|
-
/** temporary status while being sent to salestrekker */
|
|
6
|
-
Submitted = "Submitted",
|
|
7
|
-
/** is active in Salestrekker */
|
|
8
|
-
InProgress = "InProgress",
|
|
9
|
-
Settled = "Settled",
|
|
10
|
-
Lost = "Lost"
|
|
11
|
-
}
|
|
12
|
-
export interface IPortalStageOptions extends OptionItem<PortalStages> {
|
|
13
|
-
color: SemanticColors;
|
|
14
|
-
}
|
|
15
|
-
export declare const PortalStageOptions: IPortalStageOptions[];
|
|
1
|
+
import { OptionItem } from ".";
|
|
2
|
+
import { SemanticColors } from "..";
|
|
3
|
+
export declare enum PortalStages {
|
|
4
|
+
Draft = "Draft",
|
|
5
|
+
/** temporary status while being sent to salestrekker */
|
|
6
|
+
Submitted = "Submitted",
|
|
7
|
+
/** is active in Salestrekker */
|
|
8
|
+
InProgress = "InProgress",
|
|
9
|
+
Settled = "Settled",
|
|
10
|
+
Lost = "Lost"
|
|
11
|
+
}
|
|
12
|
+
export interface IPortalStageOptions extends OptionItem<PortalStages> {
|
|
13
|
+
color: SemanticColors;
|
|
14
|
+
}
|
|
15
|
+
export declare const PortalStageOptions: IPortalStageOptions[];
|
package/lib/app/stages.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PortalStageOptions = exports.PortalStages = void 0;
|
|
4
|
-
var PortalStages;
|
|
5
|
-
(function (PortalStages) {
|
|
6
|
-
PortalStages["Draft"] = "Draft";
|
|
7
|
-
/** temporary status while being sent to salestrekker */
|
|
8
|
-
PortalStages["Submitted"] = "Submitted";
|
|
9
|
-
/** is active in Salestrekker */
|
|
10
|
-
PortalStages["InProgress"] = "InProgress";
|
|
11
|
-
PortalStages["Settled"] = "Settled";
|
|
12
|
-
PortalStages["Lost"] = "Lost";
|
|
13
|
-
})(PortalStages
|
|
14
|
-
exports.PortalStageOptions = [
|
|
15
|
-
{
|
|
16
|
-
text: "Draft",
|
|
17
|
-
value: PortalStages.Draft,
|
|
18
|
-
color: "blue",
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
text: "In progress",
|
|
22
|
-
value: PortalStages.InProgress,
|
|
23
|
-
color: "green",
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
value: PortalStages.Settled,
|
|
27
|
-
color: "green",
|
|
28
|
-
text: "Settled",
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
value: PortalStages.Lost,
|
|
32
|
-
color: "red",
|
|
33
|
-
text: "Lost",
|
|
34
|
-
},
|
|
35
|
-
];
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PortalStageOptions = exports.PortalStages = void 0;
|
|
4
|
+
var PortalStages;
|
|
5
|
+
(function (PortalStages) {
|
|
6
|
+
PortalStages["Draft"] = "Draft";
|
|
7
|
+
/** temporary status while being sent to salestrekker */
|
|
8
|
+
PortalStages["Submitted"] = "Submitted";
|
|
9
|
+
/** is active in Salestrekker */
|
|
10
|
+
PortalStages["InProgress"] = "InProgress";
|
|
11
|
+
PortalStages["Settled"] = "Settled";
|
|
12
|
+
PortalStages["Lost"] = "Lost";
|
|
13
|
+
})(PortalStages || (exports.PortalStages = PortalStages = {}));
|
|
14
|
+
exports.PortalStageOptions = [
|
|
15
|
+
{
|
|
16
|
+
text: "Draft",
|
|
17
|
+
value: PortalStages.Draft,
|
|
18
|
+
color: "blue",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
text: "In progress",
|
|
22
|
+
value: PortalStages.InProgress,
|
|
23
|
+
color: "green",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
value: PortalStages.Settled,
|
|
27
|
+
color: "green",
|
|
28
|
+
text: "Settled",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
value: PortalStages.Lost,
|
|
32
|
+
color: "red",
|
|
33
|
+
text: "Lost",
|
|
34
|
+
},
|
|
35
|
+
];
|
|
36
36
|
//# sourceMappingURL=stages.js.map
|
package/lib/app/stages.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stages.js","sourceRoot":"","sources":["../../src/app/stages.ts"],"names":[],"mappings":";;;AAGA,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+BAAe,CAAA;IACf,wDAAwD;IACxD,uCAAuB,CAAA;IACvB,gCAAgC;IAChC,yCAAyB,CAAA;IACzB,mCAAmB,CAAA;IACnB,6BAAa,CAAA;AACf,CAAC,EARW,YAAY,
|
|
1
|
+
{"version":3,"file":"stages.js","sourceRoot":"","sources":["../../src/app/stages.ts"],"names":[],"mappings":";;;AAGA,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+BAAe,CAAA;IACf,wDAAwD;IACxD,uCAAuB,CAAA;IACvB,gCAAgC;IAChC,yCAAyB,CAAA;IACzB,mCAAmB,CAAA;IACnB,6BAAa,CAAA;AACf,CAAC,EARW,YAAY,4BAAZ,YAAY,QAQvB;AAMY,QAAA,kBAAkB,GAA0B;IACvD;QACE,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,YAAY,CAAC,KAAK;QACzB,KAAK,EAAE,MAAM;KACd;IACD;QACE,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,YAAY,CAAC,UAAU;QAC9B,KAAK,EAAE,OAAO;KACf;IACD;QACE,KAAK,EAAE,YAAY,CAAC,OAAO;QAC3B,KAAK,EAAE,OAAO;QACd,IAAI,EAAE,SAAS;KAChB;IACD;QACE,KAAK,EAAE,YAAY,CAAC,IAAI;QACxB,KAAK,EAAE,KAAK;QACZ,IAAI,EAAE,MAAM;KACb;CACF,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { NominatimAddressSuggestion } from "./nominatimAddress";
|
|
2
|
+
/** Persisted shape for property assets (Financial Details). */
|
|
3
|
+
export interface AppAssetPropertyAddress {
|
|
4
|
+
addressFormat: "standard";
|
|
5
|
+
country: string;
|
|
6
|
+
streetNumber: string;
|
|
7
|
+
street: string;
|
|
8
|
+
streetType: string;
|
|
9
|
+
suburb: string;
|
|
10
|
+
city: string;
|
|
11
|
+
state: string;
|
|
12
|
+
postCode: string;
|
|
13
|
+
isManual: boolean;
|
|
14
|
+
formatted: string;
|
|
15
|
+
countryCode: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function createEmptyAssetPropertyAddress(): AppAssetPropertyAddress;
|
|
18
|
+
/** Split first line into parts for JSON (e.g. "22 Gerald crescent"). */
|
|
19
|
+
export declare function parseAustralianStreetLine(line: string): Pick<AppAssetPropertyAddress, "streetNumber" | "street" | "streetType">;
|
|
20
|
+
/** Nominatim returns a single street line; still split types when possible. */
|
|
21
|
+
export declare function streetPartsFromNominatimLine(streetLine: string): Pick<AppAssetPropertyAddress, "streetNumber" | "street" | "streetType">;
|
|
22
|
+
export declare function buildAssetAddressFormatted(a: Partial<AppAssetPropertyAddress>): string;
|
|
23
|
+
export declare function applyNominatimToAssetAddress(suggestion: NominatimAddressSuggestion, existing?: AppAssetPropertyAddress | null): AppAssetPropertyAddress;
|
|
24
|
+
export declare function normalizeAssetPropertyAddress(raw: unknown): AppAssetPropertyAddress | undefined;
|
|
25
|
+
export declare function assetPropertyAddressToJson(a: AppAssetPropertyAddress): AppAssetPropertyAddress;
|
|
26
|
+
export declare function getAssetPropertyAddressDisplay(address: AppAssetPropertyAddress | string | undefined | null): string;
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createEmptyAssetPropertyAddress = createEmptyAssetPropertyAddress;
|
|
4
|
+
exports.parseAustralianStreetLine = parseAustralianStreetLine;
|
|
5
|
+
exports.streetPartsFromNominatimLine = streetPartsFromNominatimLine;
|
|
6
|
+
exports.buildAssetAddressFormatted = buildAssetAddressFormatted;
|
|
7
|
+
exports.applyNominatimToAssetAddress = applyNominatimToAssetAddress;
|
|
8
|
+
exports.normalizeAssetPropertyAddress = normalizeAssetPropertyAddress;
|
|
9
|
+
exports.assetPropertyAddressToJson = assetPropertyAddressToJson;
|
|
10
|
+
exports.getAssetPropertyAddressDisplay = getAssetPropertyAddressDisplay;
|
|
11
|
+
const STREET_TYPE_RE = /\b(avenue|ave|boulevard|bvd|close|cl|cct|circuit|crescent|cr|court(\s+road|\s+rd)?|ct|drive|dr|esplanade|esp|highway|hwy|lane|ln|parade|pde|place|pl|road|rd|street|st|terrace|tce|way)\b\.?$/i;
|
|
12
|
+
function createEmptyAssetPropertyAddress() {
|
|
13
|
+
return {
|
|
14
|
+
addressFormat: "standard",
|
|
15
|
+
country: "Australia",
|
|
16
|
+
streetNumber: "",
|
|
17
|
+
street: "",
|
|
18
|
+
streetType: "",
|
|
19
|
+
suburb: "",
|
|
20
|
+
city: "",
|
|
21
|
+
state: "",
|
|
22
|
+
postCode: "",
|
|
23
|
+
isManual: true,
|
|
24
|
+
formatted: "",
|
|
25
|
+
countryCode: "AU",
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
/** Split first line into parts for JSON (e.g. "22 Gerald crescent"). */
|
|
29
|
+
function parseAustralianStreetLine(line) {
|
|
30
|
+
const t = line.trim();
|
|
31
|
+
if (!t) {
|
|
32
|
+
return { streetNumber: "", street: "", streetType: "" };
|
|
33
|
+
}
|
|
34
|
+
let rest = t;
|
|
35
|
+
let streetNumber = "";
|
|
36
|
+
const hm = /^(\d+[a-zA-Z\-]?\s*\/\s*\d+[a-zA-Z\-]?|\d+[a-zA-Z]?)\s+(.+)$/.exec(t);
|
|
37
|
+
if (hm) {
|
|
38
|
+
streetNumber = hm[1].replace(/\s*\/\s*/, "/");
|
|
39
|
+
rest = hm[2].trim();
|
|
40
|
+
}
|
|
41
|
+
let street = rest;
|
|
42
|
+
let streetType = "";
|
|
43
|
+
const tm = STREET_TYPE_RE.exec(rest);
|
|
44
|
+
if (tm) {
|
|
45
|
+
let rawType = tm[1].toLowerCase();
|
|
46
|
+
if (/^court(\s+road|\s+rd)?$/i.test(tm[1])) {
|
|
47
|
+
rawType = "court";
|
|
48
|
+
}
|
|
49
|
+
streetType = rawType;
|
|
50
|
+
street = rest.slice(0, tm.index).trim();
|
|
51
|
+
}
|
|
52
|
+
return { streetNumber, street, streetType };
|
|
53
|
+
}
|
|
54
|
+
/** Nominatim returns a single street line; still split types when possible. */
|
|
55
|
+
function streetPartsFromNominatimLine(streetLine) {
|
|
56
|
+
return parseAustralianStreetLine(streetLine);
|
|
57
|
+
}
|
|
58
|
+
function buildAssetAddressFormatted(a) {
|
|
59
|
+
const street = [a.streetNumber, a.street, a.streetType]
|
|
60
|
+
.filter(Boolean)
|
|
61
|
+
.join(" ")
|
|
62
|
+
.replace(/\s+/g, " ")
|
|
63
|
+
.trim();
|
|
64
|
+
const st = (a.state || "").toUpperCase();
|
|
65
|
+
const pc = String(a.postCode || "")
|
|
66
|
+
.replace(/\D/g, "")
|
|
67
|
+
.slice(0, 4);
|
|
68
|
+
const mid = [a.suburb, [st, pc].filter(Boolean).join(" ").trim()]
|
|
69
|
+
.filter(Boolean)
|
|
70
|
+
.join(" ");
|
|
71
|
+
return [street, mid, "Australia"].filter(Boolean).join(", ");
|
|
72
|
+
}
|
|
73
|
+
function applyNominatimToAssetAddress(suggestion, existing) {
|
|
74
|
+
const base = existing ? Object.assign({}, existing) : createEmptyAssetPropertyAddress();
|
|
75
|
+
const parts = streetPartsFromNominatimLine(suggestion.streetAddress || "");
|
|
76
|
+
const pc = suggestion.postcode != null && !Number.isNaN(suggestion.postcode)
|
|
77
|
+
? String(suggestion.postcode)
|
|
78
|
+
: "";
|
|
79
|
+
return Object.assign(Object.assign(Object.assign({}, base), parts), { suburb: suggestion.suburb || "", city: suggestion.city || suggestion.suburb || "", state: suggestion.state || "", postCode: pc, isManual: false, formatted: buildAssetAddressFormatted(Object.assign(Object.assign({}, parts), { suburb: suggestion.suburb || "", city: suggestion.city || suggestion.suburb || "", state: suggestion.state || "", postCode: pc, country: base.country })) || "" });
|
|
80
|
+
}
|
|
81
|
+
function normalizeAssetPropertyAddress(raw) {
|
|
82
|
+
if (raw == null || raw === "") {
|
|
83
|
+
return undefined;
|
|
84
|
+
}
|
|
85
|
+
if (typeof raw === "string") {
|
|
86
|
+
const empty = createEmptyAssetPropertyAddress();
|
|
87
|
+
return Object.assign(Object.assign({}, empty), { formatted: raw, isManual: true });
|
|
88
|
+
}
|
|
89
|
+
if (typeof raw !== "object") {
|
|
90
|
+
return undefined;
|
|
91
|
+
}
|
|
92
|
+
const o = raw;
|
|
93
|
+
const empty = createEmptyAssetPropertyAddress();
|
|
94
|
+
const str = (k) => o[k] != null && o[k] !== undefined ? String(o[k]).trim() : "";
|
|
95
|
+
const merged = {
|
|
96
|
+
addressFormat: "standard",
|
|
97
|
+
country: str("country") || "Australia",
|
|
98
|
+
streetNumber: str("streetNumber"),
|
|
99
|
+
street: str("street"),
|
|
100
|
+
streetType: str("streetType"),
|
|
101
|
+
suburb: str("suburb"),
|
|
102
|
+
city: str("city"),
|
|
103
|
+
state: str("state")
|
|
104
|
+
? str("state").toUpperCase().replace(/\s+/g, "")
|
|
105
|
+
: "",
|
|
106
|
+
postCode: str("postCode").replace(/\D/g, "").slice(0, 4),
|
|
107
|
+
isManual: o.isManual === false ? false : true,
|
|
108
|
+
formatted: str("formatted"),
|
|
109
|
+
countryCode: str("countryCode") || "AU",
|
|
110
|
+
};
|
|
111
|
+
if (!merged.formatted) {
|
|
112
|
+
merged.formatted = buildAssetAddressFormatted(merged);
|
|
113
|
+
}
|
|
114
|
+
if (!merged.city && merged.suburb) {
|
|
115
|
+
merged.city = merged.suburb;
|
|
116
|
+
}
|
|
117
|
+
return merged;
|
|
118
|
+
}
|
|
119
|
+
function assetPropertyAddressToJson(a) {
|
|
120
|
+
const stateLower = (a.state || "").toLowerCase();
|
|
121
|
+
return {
|
|
122
|
+
addressFormat: "standard",
|
|
123
|
+
country: a.country || "Australia",
|
|
124
|
+
streetNumber: a.streetNumber || "",
|
|
125
|
+
street: a.street || "",
|
|
126
|
+
streetType: a.streetType || "",
|
|
127
|
+
suburb: a.suburb || "",
|
|
128
|
+
city: a.city || "",
|
|
129
|
+
state: stateLower,
|
|
130
|
+
postCode: String(a.postCode || "")
|
|
131
|
+
.replace(/\D/g, "")
|
|
132
|
+
.slice(0, 4),
|
|
133
|
+
isManual: a.isManual,
|
|
134
|
+
formatted: a.formatted ||
|
|
135
|
+
buildAssetAddressFormatted(Object.assign(Object.assign({}, a), { state: (a.state || "").toUpperCase() })),
|
|
136
|
+
countryCode: a.countryCode || "AU",
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
function getAssetPropertyAddressDisplay(address) {
|
|
140
|
+
if (address == null)
|
|
141
|
+
return "";
|
|
142
|
+
if (typeof address === "string")
|
|
143
|
+
return address;
|
|
144
|
+
return (address.formatted ||
|
|
145
|
+
buildAssetAddressFormatted(address) ||
|
|
146
|
+
"");
|
|
147
|
+
}
|
|
148
|
+
//# sourceMappingURL=assetPropertyAddress.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assetPropertyAddress.js","sourceRoot":"","sources":["../src/assetPropertyAddress.ts"],"names":[],"mappings":";;AAqBA,0EAeC;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CACrB,CAAC,KACJ,KAAK,EAAE,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,WAAW,EAAE,IACpC;QACJ,WAAW,EAAE,CAAC,CAAC,WAAW,IAAI,IAAI;KACnC,CAAC;AACJ,CAAC;AAED,SAAgB,8BAA8B,CAC5C,OAA4D;IAE5D,IAAI,OAAO,IAAI,IAAI;QAAE,OAAO,EAAE,CAAC;IAC/B,IAAI,OAAO,OAAO,KAAK,QAAQ;QAAE,OAAO,OAAO,CAAC;IAChD,OAAO,CACL,OAAO,CAAC,SAAS;QACjB,0BAA0B,CAAC,OAAO,CAAC;QACnC,EAAE,CACH,CAAC;AACJ,CAAC"}
|
package/lib/form/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "../form/loanForm";
|
|
2
|
-
export * from "../form/loanFormOptions";
|
|
1
|
+
export * from "../form/loanForm";
|
|
2
|
+
export * from "../form/loanFormOptions";
|
package/lib/form/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("../form/loanForm"), exports);
|
|
18
|
-
__exportStar(require("../form/loanFormOptions"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("../form/loanForm"), exports);
|
|
18
|
+
__exportStar(require("../form/loanFormOptions"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|