@justifi/webcomponents 4.22.0 → 4.22.2
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/dist/cjs/{Analytics-9db96975.js → Analytics-99a3c7f8.js} +1 -1
- package/dist/cjs/{business-additional-questions-schema-19f08938.js → business-additional-questions-schema-d82355b0.js} +1 -1
- package/dist/cjs/{business-identity-schema-a8bb2276.js → business-identity-schema-3d241053.js} +1 -1
- package/dist/cjs/{check-pkg-version-23a1cabd.js → check-pkg-version-9bd49ad6.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -47
- package/dist/cjs/checkouts-table-24c065ff.js +47 -0
- package/dist/cjs/form-control-checkbox_9.cjs.entry.js +3 -3
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +1 -1
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-card-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +7 -5
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-form.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payout-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +6 -5
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +3 -3
- package/dist/cjs/{package-41c8f38c.js → package-e25f61a8.js} +1 -1
- package/dist/cjs/{schema-validations-184a4356.js → schema-validations-7a9afa7c.js} +0 -1
- package/dist/cjs/{table-bb114e2f.js → table-20e9a053.js} +3 -0
- package/dist/cjs/terminals-list-core.cjs.entry.js +7 -30
- package/dist/cjs/terminals-table-99a7b87b.js +32 -0
- package/dist/collection/components/business-forms/schemas/schema-validations.js +0 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +7 -7
- package/dist/collection/components/checkouts-list/checkouts-list.js +5 -3
- package/dist/collection/components/terminals-list/terminals-list-core.js +7 -7
- package/dist/collection/components/terminals-list/terminals-list.js +5 -3
- package/dist/collection/utils/table.js +3 -0
- package/dist/docs.json +3 -3
- package/dist/esm/{Analytics-777962a4.js → Analytics-f4e959b2.js} +1 -1
- package/dist/esm/{business-additional-questions-schema-97f52255.js → business-additional-questions-schema-a5072d2b.js} +1 -1
- package/dist/esm/{business-identity-schema-434e16bc.js → business-identity-schema-b31178a1.js} +1 -1
- package/dist/esm/{check-pkg-version-bac8fac0.js → check-pkg-version-5e658940.js} +1 -1
- package/dist/esm/checkouts-list-core.entry.js +9 -46
- package/dist/esm/checkouts-table-62c44909.js +43 -0
- package/dist/esm/form-control-checkbox_9.entry.js +3 -3
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +1 -1
- package/dist/esm/justifi-bank-account-form.entry.js +2 -2
- package/dist/esm/justifi-billing-form_2.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +3 -3
- package/dist/esm/justifi-business-form.entry.js +6 -6
- package/dist/esm/justifi-card-form.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +3 -3
- package/dist/esm/justifi-checkouts-list.entry.js +7 -5
- package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
- package/dist/esm/justifi-owner-form_3.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +3 -3
- package/dist/esm/justifi-payment-form.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +3 -3
- package/dist/esm/justifi-payout-details.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +3 -3
- package/dist/esm/justifi-terminals-list.entry.js +6 -5
- package/dist/esm/justifi-tokenize-payment-method.entry.js +3 -3
- package/dist/esm/{package-5144835c.js → package-95aca142.js} +1 -1
- package/dist/esm/{schema-validations-c1728516.js → schema-validations-cd8c5f69.js} +0 -1
- package/dist/esm/{table-75364107.js → table-5da154e7.js} +3 -0
- package/dist/esm/terminals-list-core.entry.js +8 -31
- package/dist/esm/terminals-table-059c473e.js +28 -0
- package/dist/module/checkouts-list-core2.js +6 -5
- package/dist/module/justifi-checkouts-list.js +3 -3
- package/dist/module/justifi-terminals-list.js +3 -3
- package/dist/module/package.js +1 -1
- package/dist/module/schema-validations.js +0 -1
- package/dist/module/table.js +3 -0
- package/dist/module/terminals-list-core2.js +6 -5
- package/dist/types/utils/table.d.ts +1 -0
- package/dist/webcomponents/p-02cf5e6f.js +1 -0
- package/dist/webcomponents/{p-dae9b10e.entry.js → p-09fb7dd6.entry.js} +1 -1
- package/dist/webcomponents/p-0c03a971.entry.js +1 -0
- package/dist/webcomponents/{p-037e3545.entry.js → p-0ec27543.entry.js} +1 -1
- package/dist/webcomponents/{p-b0686897.entry.js → p-1251a3f5.entry.js} +1 -1
- package/dist/webcomponents/p-1ab798f4.entry.js +1 -0
- package/dist/webcomponents/{p-c1cf7d5b.js → p-22e38d5b.js} +1 -1
- package/dist/webcomponents/{p-52ca72cd.entry.js → p-2a9f48f0.entry.js} +1 -1
- package/dist/webcomponents/{p-f4a8215b.entry.js → p-2dc7751f.entry.js} +1 -1
- package/dist/webcomponents/p-3f82f724.entry.js +1 -0
- package/dist/webcomponents/p-44f7f729.entry.js +1 -0
- package/dist/webcomponents/{p-69ea7334.entry.js → p-55f78fcc.entry.js} +1 -1
- package/dist/webcomponents/{p-b4a7307b.entry.js → p-5fd72c29.entry.js} +1 -1
- package/dist/webcomponents/{p-3d3468a8.js → p-7285c687.js} +1 -1
- package/dist/webcomponents/{p-11ff46df.entry.js → p-7a8c13ba.entry.js} +1 -1
- package/dist/webcomponents/{p-d1248039.entry.js → p-83b01812.entry.js} +1 -1
- package/dist/webcomponents/p-88efdd31.js +1 -0
- package/dist/webcomponents/p-8e228e5a.js +1 -0
- package/dist/webcomponents/{p-0b686ada.entry.js → p-8e2e24d8.entry.js} +1 -1
- package/dist/webcomponents/p-90b8acc6.js +1 -0
- package/dist/webcomponents/{p-4c0c88e4.entry.js → p-91711083.entry.js} +1 -1
- package/dist/webcomponents/{p-2de65000.entry.js → p-92a766d8.entry.js} +1 -1
- package/dist/webcomponents/{p-56bda985.js → p-9e7204b5.js} +1 -1
- package/dist/webcomponents/{p-04d12939.entry.js → p-9ef4d294.entry.js} +1 -1
- package/dist/webcomponents/{p-c63825d8.entry.js → p-a91a2152.entry.js} +1 -1
- package/dist/webcomponents/p-b16269d7.js +1 -0
- package/dist/webcomponents/{p-e7d6609d.js → p-b459d0b0.js} +1 -1
- package/dist/webcomponents/p-bba131f9.entry.js +1 -0
- package/dist/webcomponents/{p-f7077f93.entry.js → p-c458fc48.entry.js} +1 -1
- package/dist/webcomponents/{p-cb79f06c.entry.js → p-eed325b7.entry.js} +1 -1
- package/dist/webcomponents/{p-0c79e368.entry.js → p-f45197b9.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-0ac35b39.entry.js +0 -1
- package/dist/webcomponents/p-24392a86.entry.js +0 -1
- package/dist/webcomponents/p-907ba963.js +0 -1
- package/dist/webcomponents/p-9bd13e22.js +0 -1
- package/dist/webcomponents/p-a2be972d.entry.js +0 -1
- package/dist/webcomponents/p-b1aacd6b.entry.js +0 -1
- package/dist/webcomponents/p-c65b78cf.js +0 -1
- package/dist/webcomponents/p-ec7e69eb.entry.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index_esm = require('./index.esm-97cf6825.js');
|
|
4
|
-
const schemaValidations = require('./schema-validations-
|
|
4
|
+
const schemaValidations = require('./schema-validations-7a9afa7c.js');
|
|
5
5
|
|
|
6
6
|
const businessCoreInfoSchema = (allowOptionalFields) => {
|
|
7
7
|
const schema = index_esm.create$3({
|
package/dist/cjs/{business-identity-schema-a8bb2276.js → business-identity-schema-3d241053.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index_esm = require('./index.esm-97cf6825.js');
|
|
4
|
-
const schemaValidations = require('./schema-validations-
|
|
4
|
+
const schemaValidations = require('./schema-validations-7a9afa7c.js');
|
|
5
5
|
|
|
6
6
|
const addressSchema = (allowOptionalFields) => {
|
|
7
7
|
const schema = index_esm.create$3({
|
|
@@ -7,49 +7,11 @@ require('./Checkout-a528241d.js');
|
|
|
7
7
|
const Pagination = require('./Pagination-0da8f095.js');
|
|
8
8
|
require('./Payment-04a842f4.js');
|
|
9
9
|
require('./SubAccount-cc95a4a0.js');
|
|
10
|
-
const utils
|
|
10
|
+
const utils = require('./utils-f8a6962c.js');
|
|
11
11
|
const tableLoadingState = require('./table-loading-state-8b406852.js');
|
|
12
|
-
const
|
|
13
|
-
const table = require('./table-
|
|
14
|
-
|
|
15
|
-
const MapCheckoutStatusToBadge = (status) => {
|
|
16
|
-
switch (status) {
|
|
17
|
-
case 'created':
|
|
18
|
-
return "<span class='badge bg-primary' title='The checkout has been created'>Created</span>";
|
|
19
|
-
case 'completed':
|
|
20
|
-
return "<span class='badge bg-success' title='The checkout has been completed'>Completed</span>";
|
|
21
|
-
case 'attempted':
|
|
22
|
-
return "<span class='badge bg-secondary' title='The checkout has been attempted'>Attempted</span>";
|
|
23
|
-
case 'expired':
|
|
24
|
-
return "<span class='badge bg-danger' title='The checkout has expired'>Expired</span>";
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
const defaultColumnsKeys = 'created_at,payment_amount,payment_description,payment_mode,status';
|
|
29
|
-
const checkoutTableColumns = {
|
|
30
|
-
created_at: () => (index.h("th", { part: "table-head-cell", scope: "col", title: "The date each checkout occurred" }, "Processed On")),
|
|
31
|
-
payment_amount: () => (index.h("th", { part: "table-head-cell", scope: "col", title: "The dollar amount of each checkout" }, "Payment Amount")),
|
|
32
|
-
payment_description: () => (index.h("th", { part: "table-head-cell", scope: "col", title: "The description of each checkout" }, "Payment Description")),
|
|
33
|
-
sub_account_name: () => (index.h("th", { part: "table-head-cell", scope: "col", title: "The sub account associated with the checkout" }, "Sub Account")),
|
|
34
|
-
payment_mode: () => (index.h("th", { part: "table-head-cell", scope: "col", title: "The payment mode of each checkout" }, "Payment Mode")),
|
|
35
|
-
status: () => (index.h("th", { part: "table-head-cell", scope: "col", title: "The current status of each checkout" }, "Status")),
|
|
36
|
-
};
|
|
37
|
-
const checkoutTableCells = {
|
|
38
|
-
created_at: (value) => (index.h("th", null,
|
|
39
|
-
index.h("div", { class: "fw-bold" },
|
|
40
|
-
utils.formatDate(value),
|
|
41
|
-
" "),
|
|
42
|
-
index.h("div", { class: "fw-bold" },
|
|
43
|
-
utils.formatTime(value),
|
|
44
|
-
" "))),
|
|
45
|
-
payment_amount: (value) => (index.h("td", null,
|
|
46
|
-
utils.formatCurrency(value, true, true),
|
|
47
|
-
" ")),
|
|
48
|
-
payment_description: (value) => (index.h("td", null, value)),
|
|
49
|
-
sub_account_name: (value) => (index.h("td", null, value)),
|
|
50
|
-
payment_mode: (value) => (index.h("td", null, value)),
|
|
51
|
-
status: (value) => (index.h("td", { innerHTML: MapCheckoutStatusToBadge(value) })),
|
|
52
|
-
};
|
|
12
|
+
const checkoutsTable = require('./checkouts-table-24c065ff.js');
|
|
13
|
+
const table = require('./table-20e9a053.js');
|
|
14
|
+
require('./utils-3d84442d.js');
|
|
53
15
|
|
|
54
16
|
const CheckoutsListCore = class {
|
|
55
17
|
constructor(hostRef) {
|
|
@@ -74,7 +36,7 @@ const CheckoutsListCore = class {
|
|
|
74
36
|
};
|
|
75
37
|
this.setParamsOnChange = (name, value) => {
|
|
76
38
|
let newParams = { [name]: value };
|
|
77
|
-
this.params = utils
|
|
39
|
+
this.params = utils.onFilterChange(newParams, this.params);
|
|
78
40
|
};
|
|
79
41
|
this.clearParams = () => {
|
|
80
42
|
this.errorMessage = '';
|
|
@@ -82,9 +44,9 @@ const CheckoutsListCore = class {
|
|
|
82
44
|
};
|
|
83
45
|
this.getCheckouts = undefined;
|
|
84
46
|
this.getSubAccounts = undefined;
|
|
85
|
-
this.columns =
|
|
47
|
+
this.columns = undefined;
|
|
86
48
|
this.checkouts = [];
|
|
87
|
-
this.checkoutsTable =
|
|
49
|
+
this.checkoutsTable = undefined;
|
|
88
50
|
this.subAccounts = [];
|
|
89
51
|
this.loading = true;
|
|
90
52
|
this.errorMessage = undefined;
|
|
@@ -95,6 +57,7 @@ const CheckoutsListCore = class {
|
|
|
95
57
|
this.fetchCheckouts();
|
|
96
58
|
}
|
|
97
59
|
componentWillLoad() {
|
|
60
|
+
this.checkoutsTable = new table.Table(this.checkouts, this.columns, checkoutsTable.checkoutTableColumns, checkoutsTable.checkoutTableCells);
|
|
98
61
|
if (this.getCheckouts && this.getSubAccounts) {
|
|
99
62
|
this.fetchCheckouts();
|
|
100
63
|
}
|
|
@@ -106,7 +69,7 @@ const CheckoutsListCore = class {
|
|
|
106
69
|
onSuccess: async ({ checkouts, pagingInfo }) => {
|
|
107
70
|
this.checkouts = checkouts;
|
|
108
71
|
this.paging = pagingInfo;
|
|
109
|
-
this.checkoutsTable =
|
|
72
|
+
this.checkoutsTable.collectionData = this.checkouts;
|
|
110
73
|
const shouldFetchSubAccounts = this.checkoutsTable.columnKeys.includes('sub_account_name');
|
|
111
74
|
if (shouldFetchSubAccounts) {
|
|
112
75
|
await this.fetchSubAccounts();
|
|
@@ -168,7 +131,7 @@ const CheckoutsListCore = class {
|
|
|
168
131
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
169
132
|
}
|
|
170
133
|
render() {
|
|
171
|
-
return (index.h("div", { key: '
|
|
134
|
+
return (index.h("div", { key: '8d2c1fd960b2b3a66f3a1bf648b75576ad2e8857' }, index.h("checkouts-list-filters", { key: '18ba9bf560499112f71a690da751c8e3c4d345a7', params: this.params, setParamsOnChange: this.setParamsOnChange, clearParams: this.clearParams }), index.h("div", { key: '12cf6ee2912ac6a9518634ebd470dac5f7623aff', class: "table-wrapper" }, index.h("table", { key: '1ea2c118d7efb620dc1f39db55a510a8a473cb31', class: "table table-hover" }, index.h("thead", { key: '5e334a090be56c82b11ae7584bdf4014cc8743c7', class: "table-head sticky-top", part: "table-head" }, index.h("tr", { key: '233137a8b4e30bac28ded78010199bfecd0ac4e7', class: "table-light text-nowrap", part: "table-head-row" }, this.checkoutsTable.columnData.map((column) => column))), index.h("tbody", { key: 'd4ed9d4bf3ac17d4dc7294b875734e02996c7444', class: "table-body", part: "table-body" }, index.h(tableLoadingState.TableLoadingState, { key: 'a7afbb627c768139af4244da5c12fae493dceafb', columnSpan: this.checkoutsTable.columnKeys.length, isLoading: this.loading }), index.h(tableLoadingState.TableEmptyState, { key: '802c43c8da770bca9a249a88d115901e9b14e102', isEmpty: this.showEmptyState, columnSpan: this.checkoutsTable.columnKeys.length }), index.h(tableLoadingState.TableErrorState, { key: 'f1cd197cf7d1d5d81868a5abfafa40df762ca3c8', columnSpan: this.checkoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.checkoutsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler, part: `table-row ${index$1 % 2 ? "table-row-even" : "table-row-odd"}` }, data)))), this.paging && (index.h("tfoot", { key: 'f0c367854322c341515bc481159101e9659117c7', class: "sticky-bottom" }, index.h("tr", { key: '88bc665c23665eddc4c88d27acc8c8f1cb39e277', class: "table-light align-middle" }, index.h("td", { key: '8be265c9b43033cfd3e2c4b3f12ac6d6c104e53d', part: "pagination-bar", colSpan: this.checkoutsTable.columnData.length }, index.h("pagination-menu", { key: '6abdb6091b78e58ec71ac6bf66f278ed9b6542fb', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }), params: this.params })))))))));
|
|
172
135
|
}
|
|
173
136
|
static get watchers() { return {
|
|
174
137
|
"params": ["updateOnPropChange"],
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const index = require('./index-fb499e95.js');
|
|
4
|
+
const utils = require('./utils-3d84442d.js');
|
|
5
|
+
|
|
6
|
+
const MapCheckoutStatusToBadge = (status) => {
|
|
7
|
+
switch (status) {
|
|
8
|
+
case 'created':
|
|
9
|
+
return "<span class='badge bg-primary' title='The checkout has been created'>Created</span>";
|
|
10
|
+
case 'completed':
|
|
11
|
+
return "<span class='badge bg-success' title='The checkout has been completed'>Completed</span>";
|
|
12
|
+
case 'attempted':
|
|
13
|
+
return "<span class='badge bg-secondary' title='The checkout has been attempted'>Attempted</span>";
|
|
14
|
+
case 'expired':
|
|
15
|
+
return "<span class='badge bg-danger' title='The checkout has expired'>Expired</span>";
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const defaultColumnsKeys = 'created_at,payment_amount,payment_description,payment_mode,status';
|
|
20
|
+
const checkoutTableColumns = {
|
|
21
|
+
created_at: () => (index.h("th", { part: "table-head-cell", scope: "col", title: "The date each checkout occurred" }, "Processed On")),
|
|
22
|
+
payment_amount: () => (index.h("th", { part: "table-head-cell", scope: "col", title: "The dollar amount of each checkout" }, "Payment Amount")),
|
|
23
|
+
payment_description: () => (index.h("th", { part: "table-head-cell", scope: "col", title: "The description of each checkout" }, "Payment Description")),
|
|
24
|
+
sub_account_name: () => (index.h("th", { part: "table-head-cell", scope: "col", title: "The sub account associated with the checkout" }, "Sub Account")),
|
|
25
|
+
payment_mode: () => (index.h("th", { part: "table-head-cell", scope: "col", title: "The payment mode of each checkout" }, "Payment Mode")),
|
|
26
|
+
status: () => (index.h("th", { part: "table-head-cell", scope: "col", title: "The current status of each checkout" }, "Status")),
|
|
27
|
+
};
|
|
28
|
+
const checkoutTableCells = {
|
|
29
|
+
created_at: (value) => (index.h("th", null,
|
|
30
|
+
index.h("div", { class: "fw-bold" },
|
|
31
|
+
utils.formatDate(value),
|
|
32
|
+
" "),
|
|
33
|
+
index.h("div", { class: "fw-bold" },
|
|
34
|
+
utils.formatTime(value),
|
|
35
|
+
" "))),
|
|
36
|
+
payment_amount: (value) => (index.h("td", null,
|
|
37
|
+
utils.formatCurrency(value, true, true),
|
|
38
|
+
" ")),
|
|
39
|
+
payment_description: (value) => (index.h("td", null, value)),
|
|
40
|
+
sub_account_name: (value) => (index.h("td", null, value)),
|
|
41
|
+
payment_mode: (value) => (index.h("td", null, value)),
|
|
42
|
+
status: (value) => (index.h("td", { innerHTML: MapCheckoutStatusToBadge(value) })),
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
exports.checkoutTableCells = checkoutTableCells;
|
|
46
|
+
exports.checkoutTableColumns = checkoutTableColumns;
|
|
47
|
+
exports.defaultColumnsKeys = defaultColumnsKeys;
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-
|
|
6
|
+
const businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-d82355b0.js');
|
|
7
7
|
const index_esm = require('./index.esm-97cf6825.js');
|
|
8
8
|
const Business = require('./Business-aa799fec.js');
|
|
9
9
|
const businessFormTypes = require('./business-form-types-719b7f52.js');
|
|
10
10
|
const formInputMasks = require('./form-input-masks-0879c139.js');
|
|
11
11
|
const businessFormOptions = require('./business-form-options-5db0bd5e.js');
|
|
12
12
|
const utils = require('./utils-bc03ca40.js');
|
|
13
|
-
const schemaValidations = require('./schema-validations-
|
|
13
|
+
const schemaValidations = require('./schema-validations-7a9afa7c.js');
|
|
14
14
|
const utils$1 = require('./utils-3d84442d.js');
|
|
15
15
|
const button = require('./button-3f400a66.js');
|
|
16
|
-
const businessIdentitySchema = require('./business-identity-schema-
|
|
16
|
+
const businessIdentitySchema = require('./business-identity-schema-3d241053.js');
|
|
17
17
|
const stateOptions = require('./state-options-4fbcb48a.js');
|
|
18
18
|
require('./helpers-602962eb.js');
|
|
19
19
|
|
|
@@ -8,7 +8,7 @@ const paymentProvisioningActions = require('./payment-provisioning-actions-06466
|
|
|
8
8
|
const business_service = require('./business.service-7faffa0b.js');
|
|
9
9
|
const index_esm = require('./index.esm-97cf6825.js');
|
|
10
10
|
const businessFormTypes = require('./business-form-types-719b7f52.js');
|
|
11
|
-
const schemaValidations = require('./schema-validations-
|
|
11
|
+
const schemaValidations = require('./schema-validations-7a9afa7c.js');
|
|
12
12
|
const businessFormOptions = require('./business-form-options-5db0bd5e.js');
|
|
13
13
|
const Api = require('./Api-f5280a80.js');
|
|
14
14
|
require('./Checkout-a528241d.js');
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const config = require('./config-05767cba.js');
|
|
7
|
-
const Analytics = require('./Analytics-
|
|
8
|
-
require('./package-
|
|
7
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
8
|
+
require('./package-e25f61a8.js');
|
|
9
9
|
require('./Api-f5280a80.js');
|
|
10
10
|
|
|
11
11
|
const BankAccountForm = class {
|
|
@@ -4,11 +4,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const index_esm = require('./index.esm-97cf6825.js');
|
|
7
|
-
const schemaValidations = require('./schema-validations-
|
|
7
|
+
const schemaValidations = require('./schema-validations-7a9afa7c.js');
|
|
8
8
|
const stateOptions = require('./state-options-4fbcb48a.js');
|
|
9
9
|
const utils = require('./utils-bc03ca40.js');
|
|
10
10
|
const styledHost = require('./styled-host-1adf46c3.js');
|
|
11
|
-
const _package = require('./package-
|
|
11
|
+
const _package = require('./package-e25f61a8.js');
|
|
12
12
|
const utils$1 = require('./utils-3d84442d.js');
|
|
13
13
|
require('./business-form-options-5db0bd5e.js');
|
|
14
14
|
require('./Business-aa799fec.js');
|
|
@@ -8,13 +8,13 @@ const business_service = require('./business.service-7faffa0b.js');
|
|
|
8
8
|
const Business = require('./Business-aa799fec.js');
|
|
9
9
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
10
10
|
const utils = require('./utils-7a478c37.js');
|
|
11
|
-
const Analytics = require('./Analytics-
|
|
12
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
11
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
12
|
+
const checkPkgVersion = require('./check-pkg-version-9bd49ad6.js');
|
|
13
13
|
require('./config-05767cba.js');
|
|
14
14
|
require('./Api-f5280a80.js');
|
|
15
15
|
require('./helpers-602962eb.js');
|
|
16
16
|
require('./state-options-4fbcb48a.js');
|
|
17
|
-
require('./package-
|
|
17
|
+
require('./package-e25f61a8.js');
|
|
18
18
|
|
|
19
19
|
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
20
20
|
var _a;
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const index_esm = require('./index.esm-97cf6825.js');
|
|
7
|
-
const businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-
|
|
8
|
-
const businessIdentitySchema = require('./business-identity-schema-
|
|
7
|
+
const businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-d82355b0.js');
|
|
8
|
+
const businessIdentitySchema = require('./business-identity-schema-3d241053.js');
|
|
9
9
|
const Api = require('./Api-f5280a80.js');
|
|
10
10
|
require('./Checkout-a528241d.js');
|
|
11
11
|
require('./Pagination-0da8f095.js');
|
|
@@ -14,14 +14,14 @@ require('./SubAccount-cc95a4a0.js');
|
|
|
14
14
|
const config = require('./config-05767cba.js');
|
|
15
15
|
const businessFormTypes = require('./business-form-types-719b7f52.js');
|
|
16
16
|
const Business = require('./Business-aa799fec.js');
|
|
17
|
-
const Analytics = require('./Analytics-
|
|
17
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
18
18
|
const styledHost = require('./styled-host-1adf46c3.js');
|
|
19
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
20
|
-
require('./schema-validations-
|
|
19
|
+
const checkPkgVersion = require('./check-pkg-version-9bd49ad6.js');
|
|
20
|
+
require('./schema-validations-7a9afa7c.js');
|
|
21
21
|
require('./state-options-4fbcb48a.js');
|
|
22
22
|
require('./business-form-options-5db0bd5e.js');
|
|
23
23
|
require('./helpers-602962eb.js');
|
|
24
|
-
require('./package-
|
|
24
|
+
require('./package-e25f61a8.js');
|
|
25
25
|
|
|
26
26
|
const businessFormSchema = index_esm.create$3(Object.assign(Object.assign({}, businessAdditionalQuestionsSchema.businessCoreInfoSchema().fields), { legal_address: businessIdentitySchema.addressSchema(), additional_questions: businessAdditionalQuestionsSchema.additionalQuestionsSchema(), representative: businessIdentitySchema.identitySchema('representative') }));
|
|
27
27
|
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const config = require('./config-05767cba.js');
|
|
7
|
-
const Analytics = require('./Analytics-
|
|
8
|
-
require('./package-
|
|
7
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
8
|
+
require('./package-e25f61a8.js');
|
|
9
9
|
require('./Api-f5280a80.js');
|
|
10
10
|
|
|
11
11
|
const CardForm = class {
|
|
@@ -6,15 +6,15 @@ const index = require('./index-fb499e95.js');
|
|
|
6
6
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
7
7
|
const utils = require('./utils-7a478c37.js');
|
|
8
8
|
const checkout_service = require('./checkout.service-160f3a9c.js');
|
|
9
|
-
const Analytics = require('./Analytics-
|
|
10
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
9
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
10
|
+
const checkPkgVersion = require('./check-pkg-version-9bd49ad6.js');
|
|
11
11
|
require('./config-05767cba.js');
|
|
12
12
|
require('./Api-f5280a80.js');
|
|
13
13
|
require('./Checkout-a528241d.js');
|
|
14
14
|
require('./Pagination-0da8f095.js');
|
|
15
15
|
require('./Payment-04a842f4.js');
|
|
16
16
|
require('./SubAccount-cc95a4a0.js');
|
|
17
|
-
require('./package-
|
|
17
|
+
require('./package-e25f61a8.js');
|
|
18
18
|
|
|
19
19
|
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
20
20
|
var _a;
|
|
@@ -9,15 +9,17 @@ require('./Payment-04a842f4.js');
|
|
|
9
9
|
require('./SubAccount-cc95a4a0.js');
|
|
10
10
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
11
11
|
const utils = require('./utils-7a478c37.js');
|
|
12
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
12
|
+
const checkPkgVersion = require('./check-pkg-version-9bd49ad6.js');
|
|
13
13
|
const config = require('./config-05767cba.js');
|
|
14
|
-
const Analytics = require('./Analytics-
|
|
14
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
15
15
|
const checkout_service = require('./checkout.service-160f3a9c.js');
|
|
16
16
|
const getSubaccounts = require('./get-subaccounts-8f7a930f.js');
|
|
17
17
|
const styledHost = require('./styled-host-1adf46c3.js');
|
|
18
18
|
const exportedParts = require('./exported-parts-a994d693.js');
|
|
19
|
-
require('./
|
|
19
|
+
const checkoutsTable = require('./checkouts-table-24c065ff.js');
|
|
20
|
+
require('./package-e25f61a8.js');
|
|
20
21
|
require('./Api-f5280a80.js');
|
|
22
|
+
require('./utils-3d84442d.js');
|
|
21
23
|
|
|
22
24
|
const makeGetCheckouts = ({ accountId, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
|
|
23
25
|
var _a, _b;
|
|
@@ -62,7 +64,7 @@ const CheckoutsList = class {
|
|
|
62
64
|
this.accountId = undefined;
|
|
63
65
|
this.authToken = undefined;
|
|
64
66
|
this.apiOrigin = config.config.proxyApiOrigin;
|
|
65
|
-
this.columns =
|
|
67
|
+
this.columns = checkoutsTable.defaultColumnsKeys;
|
|
66
68
|
}
|
|
67
69
|
componentWillLoad() {
|
|
68
70
|
checkPkgVersion.checkPkgVersion();
|
|
@@ -108,7 +110,7 @@ const CheckoutsList = class {
|
|
|
108
110
|
}
|
|
109
111
|
}
|
|
110
112
|
render() {
|
|
111
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
113
|
+
return (index.h(styledHost.StyledHost, { key: '6e6faed5df0fcdc48018650867672c5d325d1934', exportparts: exportedParts.tableExportedParts }, index.h("checkouts-list-core", { key: '92ceb10f7bd76864629ed0990a7f34fab76ce517', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
112
114
|
}
|
|
113
115
|
static get watchers() { return {
|
|
114
116
|
"accountId": ["propChanged"],
|
|
@@ -8,9 +8,9 @@ const Api = require('./Api-f5280a80.js');
|
|
|
8
8
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
9
9
|
const utils = require('./utils-7a478c37.js');
|
|
10
10
|
const utils$1 = require('./utils-189dc30d.js');
|
|
11
|
-
const Analytics = require('./Analytics-
|
|
12
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
13
|
-
require('./package-
|
|
11
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
12
|
+
const checkPkgVersion = require('./check-pkg-version-9bd49ad6.js');
|
|
13
|
+
require('./package-e25f61a8.js');
|
|
14
14
|
|
|
15
15
|
class ReportsService {
|
|
16
16
|
async fetchGrossVolumeChartData(accountId, authToken) {
|
|
@@ -8,7 +8,7 @@ const business_service = require('./business.service-7faffa0b.js');
|
|
|
8
8
|
const index_esm = require('./index.esm-97cf6825.js');
|
|
9
9
|
const Business = require('./Business-aa799fec.js');
|
|
10
10
|
const businessFormTypes = require('./business-form-types-719b7f52.js');
|
|
11
|
-
const businessIdentitySchema = require('./business-identity-schema-
|
|
11
|
+
const businessIdentitySchema = require('./business-identity-schema-3d241053.js');
|
|
12
12
|
const button = require('./button-3f400a66.js');
|
|
13
13
|
const formInputMasks = require('./form-input-masks-0879c139.js');
|
|
14
14
|
const inputHandlers = require('./input-handlers-cff032bb.js');
|
|
@@ -18,7 +18,7 @@ require('./config-05767cba.js');
|
|
|
18
18
|
require('./Api-f5280a80.js');
|
|
19
19
|
require('./helpers-602962eb.js');
|
|
20
20
|
require('./state-options-4fbcb48a.js');
|
|
21
|
-
require('./schema-validations-
|
|
21
|
+
require('./schema-validations-7a9afa7c.js');
|
|
22
22
|
require('./business-form-options-5db0bd5e.js');
|
|
23
23
|
|
|
24
24
|
const BusinessOwnerForm = class {
|
|
@@ -11,11 +11,11 @@ require('./SubAccount-cc95a4a0.js');
|
|
|
11
11
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
12
12
|
const utils = require('./utils-7a478c37.js');
|
|
13
13
|
const utils$1 = require('./utils-189dc30d.js');
|
|
14
|
-
const Analytics = require('./Analytics-
|
|
15
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
14
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
15
|
+
const checkPkgVersion = require('./check-pkg-version-9bd49ad6.js');
|
|
16
16
|
require('./Api-f5280a80.js');
|
|
17
17
|
require('./config-05767cba.js');
|
|
18
|
-
require('./package-
|
|
18
|
+
require('./package-e25f61a8.js');
|
|
19
19
|
|
|
20
20
|
const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
21
21
|
var _a;
|
|
@@ -11,11 +11,11 @@ const utils = require('./utils-3d84442d.js');
|
|
|
11
11
|
const config = require('./config-05767cba.js');
|
|
12
12
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
13
13
|
const utils$1 = require('./utils-7a478c37.js');
|
|
14
|
-
const Analytics = require('./Analytics-
|
|
14
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
15
15
|
const button = require('./button-3f400a66.js');
|
|
16
16
|
const styledHost = require('./styled-host-1adf46c3.js');
|
|
17
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
18
|
-
require('./package-
|
|
17
|
+
const checkPkgVersion = require('./check-pkg-version-9bd49ad6.js');
|
|
18
|
+
require('./package-e25f61a8.js');
|
|
19
19
|
require('./Api-f5280a80.js');
|
|
20
20
|
|
|
21
21
|
const paymentFormCss = ":host{display:block}justifi-payment-method-form{display:block;margin-left:calc(var(--jfi-layout-padding) * -1);margin-right:calc(var(--jfi-layout-padding) * -1)}*::part(label){color:var(--jfi-form-label-color);font-family:var(--jfi-form-label-font-family);font-weight:var(--jfi-form-label-font-weight);font-size:var(--jfi-form-label-font-size);margin:var(--jfi-form-label-margin)}*::part(input){font-family:var(--jfi-layout-font-family);background-color:var(--jfi-form-control-background-color);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-radius:var(--jfi-form-control-border-radius);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);font-size:var(--jfi-form-control-font-size);font-weight:var(--jfi-form-control-font-weight);line-height:var(--jfi-form-control-line-height);margin:var(--jfi-form-control-margin);padding:var(--jfi-form-control-padding)}*::part(input):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}*::part(input-invalid){border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error)}*::part(input-invalid):focus{border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error-focus)}.jfi-submit-button{font-family:var(--jfi-layout-font-family);color:var(--jfi-submit-button-color);background-color:var(--jfi-submit-button-background-color);border-color:var(--jfi-submit-button-border-color);padding:var(--jfi-submit-button-padding);font-size:var(--jfi-submit-button-font-size);border-radius:var(--jfi-submit-button-border-radius);width:var(--jfi-submit-button-width);box-shadow:var(--jfi-submit-button-box-shadow)}.jfi-submit-button:hover{color:var(--jfi-submit-button-color-hover);background-color:var(--jfi-submit-button-background-color-hover);border-color:var(--jfi-submit-button-border-color-hover)}.jfi-submit-button:focus{color:var(--jfi-submit-button-color-focus);background-color:var(--jfi-submit-button-background-color-focus);border-color:var(--jfi-submit-button-border-color-focus)}.btn.jfi-submit-button:active{color:var(--jfi-submit-button-color-active);background-color:var(--jfi-submit-button-background-color-active);border-color:var(--jfi-submit-button-border-color-active)}.btn.jfi-submit-button-loading{min-width:75px;color:var(--jfi-submit-button-color-loading);background-color:var(--jfi-submit-button-background-color-loading);border-color:var(--jfi-submit-button-border-color-loading)}.btn.jfi-submit-button-loading .spinner-border{border-top-color:var(--jfi-submit-button-color-loading);border-bottom-color:var(--jfi-submit-button-color-loading);border-left-color:var(--jfi-submit-button-color-loading)}";
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const Analytics = require('./Analytics-
|
|
6
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
7
7
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
8
8
|
const paymentProvisioningActions = require('./payment-provisioning-actions-06466dda.js');
|
|
9
9
|
const business_service = require('./business.service-7faffa0b.js');
|
|
10
10
|
const config = require('./config-05767cba.js');
|
|
11
11
|
const Api = require('./Api-f5280a80.js');
|
|
12
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
13
|
-
require('./package-
|
|
12
|
+
const checkPkgVersion = require('./check-pkg-version-9bd49ad6.js');
|
|
13
|
+
require('./package-e25f61a8.js');
|
|
14
14
|
require('./utils-7a478c37.js');
|
|
15
15
|
|
|
16
16
|
class ProvisionService {
|
|
@@ -10,13 +10,13 @@ const Payment = require('./Payment-04a842f4.js');
|
|
|
10
10
|
require('./SubAccount-cc95a4a0.js');
|
|
11
11
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
12
12
|
const utils = require('./utils-7a478c37.js');
|
|
13
|
-
const Analytics = require('./Analytics-
|
|
14
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
13
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
14
|
+
const checkPkgVersion = require('./check-pkg-version-9bd49ad6.js');
|
|
15
15
|
const config = require('./config-05767cba.js');
|
|
16
16
|
const styledHost = require('./styled-host-1adf46c3.js');
|
|
17
17
|
const exportedParts = require('./exported-parts-a994d693.js');
|
|
18
18
|
require('./Api-f5280a80.js');
|
|
19
|
-
require('./package-
|
|
19
|
+
require('./package-e25f61a8.js');
|
|
20
20
|
|
|
21
21
|
const makeGetPayments = ({ id, authToken, service, apiOrigin }) => async ({ params, onSuccess, onError }) => {
|
|
22
22
|
var _a, _b;
|
|
@@ -11,11 +11,11 @@ const SubAccount = require('./SubAccount-cc95a4a0.js');
|
|
|
11
11
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
12
12
|
const utils = require('./utils-7a478c37.js');
|
|
13
13
|
const utils$1 = require('./utils-189dc30d.js');
|
|
14
|
-
const Analytics = require('./Analytics-
|
|
15
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
14
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
15
|
+
const checkPkgVersion = require('./check-pkg-version-9bd49ad6.js');
|
|
16
16
|
require('./Api-f5280a80.js');
|
|
17
17
|
require('./config-05767cba.js');
|
|
18
|
-
require('./package-
|
|
18
|
+
require('./package-e25f61a8.js');
|
|
19
19
|
|
|
20
20
|
const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
21
21
|
var _a;
|
|
@@ -11,12 +11,12 @@ require('./Payment-04a842f4.js');
|
|
|
11
11
|
const SubAccount = require('./SubAccount-cc95a4a0.js');
|
|
12
12
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
13
13
|
const utils = require('./utils-7a478c37.js');
|
|
14
|
-
const Analytics = require('./Analytics-
|
|
15
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
14
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
15
|
+
const checkPkgVersion = require('./check-pkg-version-9bd49ad6.js');
|
|
16
16
|
const styledHost = require('./styled-host-1adf46c3.js');
|
|
17
17
|
require('./Api-f5280a80.js');
|
|
18
18
|
require('./config-05767cba.js');
|
|
19
|
-
require('./package-
|
|
19
|
+
require('./package-e25f61a8.js');
|
|
20
20
|
|
|
21
21
|
const makeGetPayouts = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
22
22
|
var _a, _b;
|
|
@@ -11,9 +11,9 @@ require('./SubAccount-cc95a4a0.js');
|
|
|
11
11
|
const config = require('./config-05767cba.js');
|
|
12
12
|
const utils = require('./utils-7a478c37.js');
|
|
13
13
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
14
|
-
const Analytics = require('./Analytics-
|
|
15
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
16
|
-
require('./package-
|
|
14
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
15
|
+
const checkPkgVersion = require('./check-pkg-version-9bd49ad6.js');
|
|
16
|
+
require('./package-e25f61a8.js');
|
|
17
17
|
|
|
18
18
|
class InsuranceService {
|
|
19
19
|
async fetchQuote(authToken, payload) {
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
7
|
-
const Analytics = require('./Analytics-
|
|
8
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
7
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
8
|
+
const checkPkgVersion = require('./check-pkg-version-9bd49ad6.js');
|
|
9
9
|
const config = require('./config-05767cba.js');
|
|
10
10
|
const Api = require('./Api-f5280a80.js');
|
|
11
11
|
require('./Checkout-a528241d.js');
|
|
@@ -16,7 +16,8 @@ const utils = require('./utils-7a478c37.js');
|
|
|
16
16
|
const getSubaccounts = require('./get-subaccounts-8f7a930f.js');
|
|
17
17
|
const styledHost = require('./styled-host-1adf46c3.js');
|
|
18
18
|
const exportedParts = require('./exported-parts-a994d693.js');
|
|
19
|
-
require('./
|
|
19
|
+
const terminalsTable = require('./terminals-table-99a7b87b.js');
|
|
20
|
+
require('./package-e25f61a8.js');
|
|
20
21
|
|
|
21
22
|
class TerminalService {
|
|
22
23
|
async fetchTerminals(accountId, authToken, params, apiOrigin) {
|
|
@@ -80,7 +81,7 @@ const TerminalsList = class {
|
|
|
80
81
|
this.accountId = undefined;
|
|
81
82
|
this.authToken = undefined;
|
|
82
83
|
this.apiOrigin = config.config.proxyApiOrigin;
|
|
83
|
-
this.columns =
|
|
84
|
+
this.columns = terminalsTable.defaultColumnsKeys;
|
|
84
85
|
}
|
|
85
86
|
componentWillLoad() {
|
|
86
87
|
checkPkgVersion.checkPkgVersion();
|
|
@@ -126,7 +127,7 @@ const TerminalsList = class {
|
|
|
126
127
|
}
|
|
127
128
|
}
|
|
128
129
|
render() {
|
|
129
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
130
|
+
return (index.h(styledHost.StyledHost, { key: '8ffe95f21b5ef8c1c15fc0e22a9c824cff758ee6', exportparts: exportedParts.tableExportedParts }, index.h("terminals-list-core", { key: 'a550f1f85b84f6cc06bd93b5e5a9ec726b72b46c', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
130
131
|
}
|
|
131
132
|
static get watchers() { return {
|
|
132
133
|
"accountId": ["propChanged"],
|
|
@@ -6,9 +6,9 @@ const index = require('./index-fb499e95.js');
|
|
|
6
6
|
const button = require('./button-3f400a66.js');
|
|
7
7
|
const styledHost = require('./styled-host-1adf46c3.js');
|
|
8
8
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
9
|
-
const checkPkgVersion = require('./check-pkg-version-
|
|
10
|
-
const Analytics = require('./Analytics-
|
|
11
|
-
require('./package-
|
|
9
|
+
const checkPkgVersion = require('./check-pkg-version-9bd49ad6.js');
|
|
10
|
+
const Analytics = require('./Analytics-99a3c7f8.js');
|
|
11
|
+
require('./package-e25f61a8.js');
|
|
12
12
|
require('./config-05767cba.js');
|
|
13
13
|
require('./Api-f5280a80.js');
|
|
14
14
|
|
|
@@ -132,7 +132,6 @@ const dateOfIncorporationValidation = index_esm.create$6()
|
|
|
132
132
|
const identityNameValidation = index_esm.create$6()
|
|
133
133
|
.min(2, 'Name must be at least 2 characters')
|
|
134
134
|
.max(100, 'Name must be less than 100 characters')
|
|
135
|
-
.matches(stringLettersOnlyRegex, 'Enter valid name')
|
|
136
135
|
.transform(transformEmptyString);
|
|
137
136
|
const identityTitleValidation = index_esm.create$6()
|
|
138
137
|
.min(2, 'Title must be at least 2 characters')
|
|
@@ -9,6 +9,9 @@ class Table {
|
|
|
9
9
|
return this.columnKeys.map((key) => this.tableCells[key](checkout[key]));
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
|
+
set collectionData(collection) {
|
|
13
|
+
this.collection = collection;
|
|
14
|
+
}
|
|
12
15
|
constructor(collection, columns, tableColumns, tableCells) {
|
|
13
16
|
this.columnKeys = columns.split(',');
|
|
14
17
|
this.collection = collection;
|