@justifi/webcomponents 5.4.1 → 5.4.3
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/{Checkout-f10bed8c.js → Checkout-5352009d.js} +1 -1
- package/dist/cjs/{Payment-3f483b7a.js → Payment-bccd8f7d.js} +1 -1
- package/dist/cjs/{SubAccount-a27d4e9f.js → SubAccount-2a302ead.js} +2 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +4 -4
- package/dist/cjs/bank-account-form_9.cjs.entry.js +2 -2
- package/dist/cjs/billing-form_3.cjs.entry.js +1 -1
- package/dist/cjs/{check-pkg-version-75cc34ca.js → check-pkg-version-64d3381a.js} +1 -1
- package/dist/cjs/{checkout.service-61616349.js → checkout.service-0a7835dc.js} +3 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +5 -5
- package/dist/cjs/{checkouts-table-14fcebd0.js → checkouts-table-8a1b49ff.js} +1 -1
- package/dist/cjs/{dispute.service-b68fdcc4.js → dispute.service-6efc7d7f.js} +3 -3
- package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
- package/dist/cjs/{get-payout-csv-f0c04d96.js → get-payout-csv-7607c71e.js} +3 -3
- package/dist/cjs/{get-subaccounts-330a9e85.js → get-subaccounts-ae5b35a8.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +4 -4
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +7 -7
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -7
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +12 -10
- package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payments-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +29 -32
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +6 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-459e93fd.js → package-99f9fc82.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{payment.service-ff43bfc4.js → payment.service-537e049d.js} +3 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +5 -5
- package/dist/cjs/{payments-table-802d767d.js → payments-table-a076755a.js} +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +5 -5
- package/dist/cjs/{payouts-table-194a4343.js → payouts-table-aedce326.js} +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +5 -5
- package/dist/cjs/{terminal-orders-table-4df19497.js → terminal-orders-table-3b247193.js} +3 -1
- package/dist/cjs/{terminal.service-56397d88.js → terminal.service-ab62c344.js} +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +5 -5
- package/dist/cjs/{terminals-table-9b313566.js → terminals-table-6710a76c.js} +1 -1
- package/dist/cjs/{utils-54719fda.js → utils-4120664c.js} +13 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/TerminalOrder.js +1 -0
- package/dist/collection/components/order-terminals/order-terminals.js +24 -3
- package/dist/collection/components/refund-payment/refund-payment.js +97 -52
- package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +2 -0
- package/dist/collection/utils/utils.js +12 -2
- package/dist/docs.json +116 -43
- package/dist/esm/{Checkout-ba139944.js → Checkout-18d8bf94.js} +1 -1
- package/dist/esm/{Payment-39bfdd06.js → Payment-806af354.js} +1 -1
- package/dist/esm/{SubAccount-68403637.js → SubAccount-7520271c.js} +2 -1
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +4 -4
- package/dist/esm/bank-account-form_9.entry.js +2 -2
- package/dist/esm/billing-form_3.entry.js +1 -1
- package/dist/esm/{check-pkg-version-b4d631be.js → check-pkg-version-bbd75fa0.js} +1 -1
- package/dist/esm/{checkout.service-e59354cc.js → checkout.service-e38e477f.js} +3 -3
- package/dist/esm/checkouts-list-core.entry.js +5 -5
- package/dist/esm/{checkouts-table-58604210.js → checkouts-table-39a031a0.js} +1 -1
- package/dist/esm/{dispute.service-8312d46a.js → dispute.service-7ba6d5a4.js} +3 -3
- package/dist/esm/form-control-monetary.entry.js +1 -1
- package/dist/esm/{get-payout-csv-74397995.js → get-payout-csv-fa34f40b.js} +3 -3
- package/dist/esm/{get-subaccounts-f8bd5c96.js → get-subaccounts-3c6b9e84.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +4 -4
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +4 -4
- package/dist/esm/justifi-business-details.entry.js +2 -2
- package/dist/esm/justifi-business-form.entry.js +6 -6
- package/dist/esm/justifi-checkout-core.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +7 -7
- package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list.entry.js +9 -9
- package/dist/esm/justifi-dispute-management.entry.js +7 -7
- package/dist/esm/justifi-dispute-notification_3.entry.js +7 -7
- package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
- package/dist/esm/justifi-order-terminals.entry.js +12 -10
- package/dist/esm/justifi-payment-details.entry.js +7 -7
- package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
- package/dist/esm/justifi-payments-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payments-list.entry.js +8 -8
- package/dist/esm/justifi-payout-details.entry.js +7 -7
- package/dist/esm/justifi-payouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payouts-list.entry.js +9 -9
- package/dist/esm/justifi-refund-payment.entry.js +29 -32
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +4 -4
- package/dist/esm/justifi-terminal-orders-list.entry.js +7 -7
- package/dist/esm/justifi-terminals-list-filters.entry.js +4 -4
- package/dist/esm/justifi-terminals-list.entry.js +9 -9
- package/dist/esm/justifi-tokenize-payment-method.entry.js +6 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-53180f2a.js → package-01997353.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +1 -1
- package/dist/esm/{payment.service-b9ec64c9.js → payment.service-af5bd8be.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +5 -5
- package/dist/esm/{payments-table-26054032.js → payments-table-8134f5e1.js} +1 -1
- package/dist/esm/payout-details-core.entry.js +1 -1
- package/dist/esm/payouts-list-core.entry.js +5 -5
- package/dist/esm/{payouts-table-7f31db9d.js → payouts-table-c1ced46a.js} +1 -1
- package/dist/esm/terminal-orders-list-core.entry.js +5 -5
- package/dist/esm/{terminal-orders-table-1f6156c9.js → terminal-orders-table-93e84d25.js} +3 -1
- package/dist/esm/{terminal.service-fff19896.js → terminal.service-d173566d.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +5 -5
- package/dist/esm/{terminals-table-7d54e359.js → terminals-table-5eb287ca.js} +1 -1
- package/dist/esm/{utils-dc86cdde.js → utils-ec50661e.js} +13 -2
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/SubAccount.js +1 -0
- package/dist/module/justifi-order-terminals.js +7 -3
- package/dist/module/justifi-payments-list-filters.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +1 -1
- package/dist/module/justifi-refund-payment.js +31 -31
- package/dist/module/justifi-terminal-orders-list-filters.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/season-interruption-insurance-core.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +3 -1
- package/dist/module/terminals-list-core2.js +1 -1
- package/dist/module/utils2.js +13 -2
- package/dist/types/api/TerminalOrder.d.ts +2 -0
- package/dist/types/components/order-terminals/order-terminals.d.ts +2 -0
- package/dist/types/components/refund-payment/refund-payment.d.ts +9 -36
- package/dist/types/components/terminal-orders-list/terminal-orders-table.d.ts +2 -0
- package/dist/types/components.d.ts +11 -35
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/{p-f247b169.entry.js → p-07fbeff3.entry.js} +1 -1
- package/dist/webcomponents/{p-59eef054.entry.js → p-0c7ec110.entry.js} +1 -1
- package/dist/webcomponents/{p-bae35151.entry.js → p-0f0020e1.entry.js} +1 -1
- package/dist/webcomponents/{p-6d3611b6.entry.js → p-0fa216eb.entry.js} +1 -1
- package/dist/webcomponents/{p-d9dc15d4.entry.js → p-0fc1d3bb.entry.js} +1 -1
- package/dist/webcomponents/{p-d70610de.entry.js → p-1134e1d3.entry.js} +1 -1
- package/dist/webcomponents/{p-422948eb.js → p-1366a019.js} +1 -1
- package/dist/webcomponents/{p-745a577c.entry.js → p-13717638.entry.js} +1 -1
- package/dist/webcomponents/p-1c38ec65.entry.js +1 -0
- package/dist/webcomponents/{p-bdbbee07.entry.js → p-1ce63001.entry.js} +1 -1
- package/dist/webcomponents/{p-1aa973c4.entry.js → p-25b82529.entry.js} +1 -1
- package/dist/webcomponents/{p-5b459422.entry.js → p-290fa30d.entry.js} +1 -1
- package/dist/webcomponents/p-2a9d7f6b.js +1 -0
- package/dist/webcomponents/{p-cd5883b9.js → p-3188f72a.js} +1 -1
- package/dist/webcomponents/{p-942d5e8f.entry.js → p-3cc7527a.entry.js} +1 -1
- package/dist/webcomponents/{p-b323bbde.entry.js → p-3cf317d3.entry.js} +1 -1
- package/dist/webcomponents/{p-4e010557.js → p-3f5e6602.js} +1 -1
- package/dist/webcomponents/p-4598482c.entry.js +1 -0
- package/dist/webcomponents/{p-a1be025c.entry.js → p-536497fe.entry.js} +1 -1
- package/dist/webcomponents/p-536fb8e2.js +1 -0
- package/dist/webcomponents/p-54556fc6.js +1 -0
- package/dist/webcomponents/{p-00ae938e.entry.js → p-645db2cb.entry.js} +1 -1
- package/dist/webcomponents/{p-4484aa3b.entry.js → p-65cb72e4.entry.js} +1 -1
- package/dist/webcomponents/{p-d903d838.entry.js → p-6a5eab1f.entry.js} +1 -1
- package/dist/webcomponents/{p-26a2e837.js → p-701a13ca.js} +1 -1
- package/dist/webcomponents/{p-6c79e7c3.entry.js → p-753d983c.entry.js} +1 -1
- package/dist/webcomponents/{p-cedad1b6.entry.js → p-7b793901.entry.js} +1 -1
- package/dist/webcomponents/{p-ed9d22d5.entry.js → p-7c333590.entry.js} +1 -1
- package/dist/webcomponents/p-81a6c3e2.entry.js +1 -0
- package/dist/webcomponents/{p-64443fc0.js → p-87a4fb5b.js} +1 -1
- package/dist/webcomponents/{p-5efe6236.js → p-88a37837.js} +1 -1
- package/dist/webcomponents/{p-38900c29.entry.js → p-8a6a06e6.entry.js} +1 -1
- package/dist/webcomponents/{p-43e225d2.entry.js → p-8d4a0192.entry.js} +1 -1
- package/dist/webcomponents/{p-4ef98c7a.js → p-953e9dba.js} +1 -1
- package/dist/webcomponents/{p-c8fa00fd.entry.js → p-96c23cda.entry.js} +1 -1
- package/dist/webcomponents/{p-a99525c5.js → p-9a9732e1.js} +1 -1
- package/dist/webcomponents/p-9fecad5a.js +1 -0
- package/dist/webcomponents/{p-d9b5140e.entry.js → p-a07e021f.entry.js} +1 -1
- package/dist/webcomponents/p-a6976c9c.entry.js +1 -0
- package/dist/webcomponents/{p-45f48dce.entry.js → p-a8c69f51.entry.js} +1 -1
- package/dist/webcomponents/{p-58476602.entry.js → p-ab3a8004.entry.js} +1 -1
- package/dist/webcomponents/{p-dbf21732.js → p-ae7edce5.js} +1 -1
- package/dist/webcomponents/{p-92e96b57.entry.js → p-af3315b5.entry.js} +1 -1
- package/dist/webcomponents/{p-5ae9faf6.entry.js → p-b082f07a.entry.js} +1 -1
- package/dist/webcomponents/{p-ba6fd830.entry.js → p-b218af87.entry.js} +1 -1
- package/dist/webcomponents/{p-ee539373.entry.js → p-b979fcb0.entry.js} +1 -1
- package/dist/webcomponents/{p-a5b52c1d.js → p-ca6cdfe6.js} +1 -1
- package/dist/webcomponents/{p-7a6feb58.entry.js → p-caa29469.entry.js} +1 -1
- package/dist/webcomponents/p-cbad44b7.js +1 -0
- package/dist/webcomponents/{p-ddb642a4.entry.js → p-cd93c62b.entry.js} +1 -1
- package/dist/webcomponents/{p-385d3637.entry.js → p-dd2938d3.entry.js} +1 -1
- package/dist/webcomponents/p-e3855f51.entry.js +1 -0
- package/dist/webcomponents/{p-0151a19f.entry.js → p-e73be1b9.entry.js} +1 -1
- package/dist/webcomponents/p-e817d131.entry.js +1 -0
- package/dist/webcomponents/{p-03c2261c.js → p-f4aeb100.js} +1 -1
- package/dist/webcomponents/{p-08b64251.js → p-f8fccf44.js} +1 -1
- package/dist/webcomponents/{p-df20bbb3.entry.js → p-fb2db8da.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-2c65389c.entry.js +0 -1
- package/dist/webcomponents/p-4fc263b2.js +0 -1
- package/dist/webcomponents/p-80867635.entry.js +0 -1
- package/dist/webcomponents/p-ac40e667.js +0 -1
- package/dist/webcomponents/p-ae9ef225.js +0 -1
- package/dist/webcomponents/p-bdcf3a3c.entry.js +0 -1
- package/dist/webcomponents/p-c4f8ed38.js +0 -1
- package/dist/webcomponents/p-c93d643b.js +0 -1
- package/dist/webcomponents/p-d7bf921d.entry.js +0 -1
- package/dist/webcomponents/p-db973fa9.entry.js +0 -1
- package/dist/webcomponents/p-fc43d1c8.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from './index-29fcfdf5.js';
|
|
2
2
|
import { k as tableHeadCell, m as getAlternateTableCellPart } from './parts-fd740f54.js';
|
|
3
|
-
import {
|
|
3
|
+
import { d as convertToLocal } from './utils-ec50661e.js';
|
|
4
4
|
import { B as Badge, a as BadgeVariant } from './badge-1be14e8c.js';
|
|
5
5
|
|
|
6
6
|
const MapTerminalOrderStatusToBadge = (status) => {
|
|
@@ -31,6 +31,7 @@ const terminalOrdersTableColumns = {
|
|
|
31
31
|
updated_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date and time the order was last updated" }, "Updated At")),
|
|
32
32
|
order_status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of the order" }, "Order Status")),
|
|
33
33
|
business_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The business ID associated with the order" }, "Business ID")),
|
|
34
|
+
company_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The business name associated with the order" }, "Business Name")),
|
|
34
35
|
provider: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider associated with the order" }, "Provider")),
|
|
35
36
|
order_type: () => (h("th", { part: tableHeadCell, scope: "col", title: "The type of order" }, "Order Type")),
|
|
36
37
|
quantity: () => (h("th", { part: tableHeadCell, scope: "col", title: "The number of terminals associated with the order" }, "Order Quantity")),
|
|
@@ -44,6 +45,7 @@ const terminalOrdersTableCells = {
|
|
|
44
45
|
h("div", { class: "fw-bold" }, convertToLocal(terminalOrder.updated_at, { showTime: true })))),
|
|
45
46
|
order_status: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapTerminalOrderStatusToBadge(terminalOrder.order_status))),
|
|
46
47
|
business_id: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.business_id)),
|
|
48
|
+
company_name: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.company_name)),
|
|
47
49
|
provider: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.provider)),
|
|
48
50
|
order_type: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.order_type)),
|
|
49
51
|
quantity: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.terminals.length)),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { A as Api } from './Api-52242eb0.js';
|
|
2
2
|
import './ComponentError-c61dce41.js';
|
|
3
|
-
import './Checkout-
|
|
3
|
+
import './Checkout-18d8bf94.js';
|
|
4
4
|
import './Pagination-afc8f96d.js';
|
|
5
|
-
import './Payment-
|
|
6
|
-
import './SubAccount-
|
|
5
|
+
import './Payment-806af354.js';
|
|
6
|
+
import './SubAccount-7520271c.js';
|
|
7
7
|
import './Document-1907c0d4.js';
|
|
8
8
|
|
|
9
9
|
class TerminalService {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-29fcfdf5.js';
|
|
2
2
|
import './ComponentError-c61dce41.js';
|
|
3
|
-
import './Checkout-
|
|
3
|
+
import './Checkout-18d8bf94.js';
|
|
4
4
|
import { p as pagingDefaults } from './Pagination-afc8f96d.js';
|
|
5
|
-
import './Payment-
|
|
6
|
-
import './SubAccount-
|
|
5
|
+
import './Payment-806af354.js';
|
|
6
|
+
import './SubAccount-7520271c.js';
|
|
7
7
|
import './Document-1907c0d4.js';
|
|
8
8
|
import { V as table, W as tableCell } from './parts-fd740f54.js';
|
|
9
9
|
import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types-1bc52f1f.js';
|
|
10
|
-
import { t as terminalTableColumns, a as terminalTableCells } from './terminals-table-
|
|
10
|
+
import { t as terminalTableColumns, a as terminalTableCells } from './terminals-table-5eb287ca.js';
|
|
11
11
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state-e4b2ec23.js';
|
|
12
|
-
import './utils-
|
|
12
|
+
import './utils-ec50661e.js';
|
|
13
13
|
import './Dispute-5fd28ec9.js';
|
|
14
14
|
import './spinner-27479716.js';
|
|
15
15
|
import './badge-1be14e8c.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h } from './index-29fcfdf5.js';
|
|
2
2
|
import { B as Badge, a as BadgeVariant } from './badge-1be14e8c.js';
|
|
3
3
|
import { k as tableHeadCell, m as getAlternateTableCellPart } from './parts-fd740f54.js';
|
|
4
|
-
import {
|
|
4
|
+
import { g as capitalFirstLetter } from './utils-ec50661e.js';
|
|
5
5
|
|
|
6
6
|
const MapTerminalStatusToBadge = (status) => {
|
|
7
7
|
const statusToBadgeProps = {
|
|
@@ -3852,7 +3852,7 @@ var dinero = Object.assign(Dinero, Defaults, Globals, Static);
|
|
|
3852
3852
|
const formatCurrency = (amount, currency, omitSymbols = false) => {
|
|
3853
3853
|
if (!amount)
|
|
3854
3854
|
amount = 0;
|
|
3855
|
-
const formattedString =
|
|
3855
|
+
const formattedString = omitSymbols ? '0,0.00' : '$0,0.00';
|
|
3856
3856
|
const formattedCurrency = currency === null || currency === void 0 ? void 0 : currency.toUpperCase();
|
|
3857
3857
|
const formattedAmount = dinero({ amount: amount }).toFormat(formattedString);
|
|
3858
3858
|
return currency ? `${formattedAmount} ${formattedCurrency}` : formattedAmount;
|
|
@@ -3986,5 +3986,16 @@ function processHTML(htmlString, functions) {
|
|
|
3986
3986
|
});
|
|
3987
3987
|
return processedHTML;
|
|
3988
3988
|
}
|
|
3989
|
+
function formatPhoneNumber(number) {
|
|
3990
|
+
// Remove all non-numeric characters
|
|
3991
|
+
let cleaned = ('' + number).replace(/\D/g, '');
|
|
3992
|
+
// Check if the number has the correct length
|
|
3993
|
+
if (cleaned.length !== 10) {
|
|
3994
|
+
return 'Invalid number';
|
|
3995
|
+
}
|
|
3996
|
+
// Format the number (XXX) XXX-XXXX
|
|
3997
|
+
let formatted = cleaned.replace(/(\d{3})(\d{3})(\d{4})/, '($1) $2-$3');
|
|
3998
|
+
return formatted;
|
|
3999
|
+
}
|
|
3989
4000
|
|
|
3990
|
-
export { formatTime as a, formatDate as b,
|
|
4001
|
+
export { formatTime as a, formatDate as b, formatPhoneNumber as c, convertToLocal as d, convertToUTC as e, formatCurrency as f, capitalFirstLetter as g, formatDisplayDate as h, addAttribute as i, isEmptyObject as j, formatMediumDate as k, snakeToCamel as l, formatTimeSeconds as m, processHTML as p, removeAttribute as r, snakeCaseToHumanReadable as s };
|
|
@@ -16,5 +16,5 @@ var patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return bootstrapLazy(JSON.parse("[[\"justifi-payment-provisioning\",[[1,\"justifi-payment-provisioning\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"postProvisioning\":[32],\"getBusiness\":[32]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}]]],[\"form-control-help-text\",[[0,\"form-control-help-text\",{\"helpText\":[1,\"help-text\"],\"name\":[1]}]]],[\"justifi-checkout\",[[4,\"justifi-checkout\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableBnpl\":[4,\"disable-bnpl\"],\"disablePaymentMethodGroup\":[4,\"disable-payment-method-group\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"getCheckout\":[32],\"complete\":[32],\"errorMessage\":[32],\"fillBillingForm\":[64]},null,{\"authToken\":[\"propChanged\"],\"checkoutId\":[\"propChanged\"]}]]],[\"justifi-dispute-management\",[[0,\"justifi-dispute-management\",{\"disputeId\":[1,\"dispute-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"getDispute\":[32],\"errorMessage\":[32]},null,{\"disputeId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-tokenize-payment-method\",[[1,\"justifi-tokenize-payment-method\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"submitButtonText\":[1,\"submit-button-text\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"hideSubmitButton\":[4,\"hide-submit-button\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"isLoading\":[32],\"tokenizePaymentMethod\":[64],\"fillBillingForm\":[64]}]]],[\"justifi-business-form\",[[1,\"justifi-business-form\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"hideErrors\":[4,\"hide-errors\"],\"formTitle\":[1,\"form-title\"],\"removeTitle\":[4,\"remove-title\"],\"isLoading\":[32],\"isSaving\":[32],\"errorMessage\":[32]}]]],[\"justifi-business-details\",[[1,\"justifi-business-details\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"errorMessage\":[32],\"getBusiness\":[32]}]]],[\"justifi-payments-list-filters\",[[1,\"justifi-payments-list-filters\",{\"paymentId\":[1,\"payment-id\"],\"terminalId\":[1,\"terminal-id\"],\"paymentStatus\":[1,\"payment-status\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-refund-payment\",[[1,\"justifi-refund-payment\",{\"authToken\":[1,\"auth-token\"],\"paymentId\":[1,\"payment-id\"],\"paymentAmountRefundable\":[2,\"payment-amount-refundable\"],\"withButton\":[4,\"with-button\"],\"errors\":[32],\"values\":[32],\"isSubmitting\":[32]}]]],[\"justifi-terminal-orders-list-filters\",[[1,\"justifi-terminal-orders-list-filters\",{\"orderStatus\":[1,\"order-status\"],\"orderType\":[1,\"order-type\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-terminals-list-filters\",[[1,\"justifi-terminals-list-filters\",{\"terminalId\":[1,\"terminal-id\"],\"terminalOrderId\":[1,\"terminal-order-id\"],\"terminalStatus\":[1,\"terminal-status\"]}]]],[\"justifi-checkouts-list-filters\",[[1,\"justifi-checkouts-list-filters\",{\"checkoutStatus\":[1,\"checkout-status\"],\"paymentMode\":[1,\"payment-mode\"]}]]],[\"justifi-payouts-list-filters\",[[1,\"justifi-payouts-list-filters\",{\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-order-terminals\",[[1,\"justifi-order-terminals\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"shipping\":[4],\"apiOrigin\":[1,\"api-origin\"],\"loading\":[32],\"submitting\":[32],\"error\":[32],\"business\":[32],\"terminalModels\":[32],\"orderLimit\":[32],\"order\":[32],\"totalQuantity\":[32]}]]],[\"form-control-radio\",[[0,\"form-control-radio\",{\"label\":[1],\"name\":[8],\"value\":[1],\"helpText\":[1,\"help-text\"],\"inputHandler\":[16],\"disabled\":[4],\"errorText\":[1,\"error-text\"],\"checked\":[4],\"isFocused\":[32]}]]],[\"justifi-season-interruption-insurance\",[[1,\"justifi-season-interruption-insurance\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"primaryIdentityFirstName\":[1,\"primary-identity-first-name\"],\"primaryIdentityLastName\":[1,\"primary-identity-last-name\"],\"primaryIdentityState\":[1,\"primary-identity-state\"],\"primaryIdentityPostalCode\":[1,\"primary-identity-postal-code\"],\"primaryIdentityCountry\":[1,\"primary-identity-country\"],\"primaryIdentityEmailAddress\":[1,\"primary-identity-email-address\"],\"policyAttributesInsurableAmount\":[2,\"policy-attributes-insurable-amount\"],\"policyAttributesStartDate\":[1,\"policy-attributes-start-date\"],\"policyAttributesEndDate\":[1,\"policy-attributes-end-date\"],\"coveredIdentityFirstName\":[1,\"covered-identity-first-name\"],\"coveredIdentityLastName\":[1,\"covered-identity-last-name\"],\"getQuote\":[32],\"toggleCoverage\":[32],\"quote\":[32],\"validate\":[64]}]]],[\"pagination-menu\",[[0,\"pagination-menu\",{\"paging\":[16],\"params\":[16]}]]],[\"justifi-checkouts-list\",[[1,\"justifi-checkouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"columns\":[1],\"getCheckouts\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payment-details\",[[1,\"justifi-payment-details\",{\"paymentId\":[1,\"payment-id\"],\"authToken\":[1,\"auth-token\"],\"getPaymentDetails\":[32],\"errorMessage\":[32]},null,{\"paymentId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"payments-list-core\",[[0,\"payments-list-core\",{\"getPayments\":[16],\"columns\":[1],\"payments\":[32],\"paymentsTable\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getPayments\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"justifi-payments-list\",[[1,\"justifi-payments-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"columns\":[1],\"getPayments\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payout-details\",[[1,\"justifi-payout-details\",{\"payoutId\":[1,\"payout-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"getPayout\":[32],\"getPayoutCSV\":[32],\"errorMessage\":[32]},null,{\"payoutId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payouts-list\",[[1,\"justifi-payouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"columns\":[1],\"getPayouts\":[32],\"getPayoutCSV\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-terminal-orders-list\",[[1,\"justifi-terminal-orders-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"columns\":[1],\"getTerminalOrders\":[32],\"errorMessage\":[32]}]]],[\"justifi-terminals-list\",[[1,\"justifi-terminals-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"columns\":[1],\"getTerminals\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-gross-payment-chart\",[[1,\"justifi-gross-payment-chart\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"getGrossPayment\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"form-control-number\",[[0,\"form-control-number\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"table-filters-menu\",[[4,\"table-filters-menu\",{\"params\":[8],\"clearParams\":[16],\"anchorButton\":[32],\"menu\":[32],\"showClearButton\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]],{\"params\":[\"watchParamsHandler\"]}]]],[\"form-control-monetary-provisioning\",[[0,\"form-control-monetary-provisioning\",{\"label\":[1],\"name\":[1],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"maskOptions\":[8,\"mask-options\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"custom-popper_4\",[[0,\"form-control-select\",{\"name\":[8],\"label\":[1],\"options\":[16],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-text\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-tooltip\",{\"helpText\":[1,\"help-text\"],\"anchorIcon\":[32],\"tooltip\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]]],[4,\"custom-popper\",{\"placement\":[1],\"offset\":[16],\"strategy\":[1],\"trigger\":[1],\"anchorRef\":[16],\"isOpen\":[32]}]]],[\"form-control-date\",[[0,\"form-control-date\",{\"name\":[1],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4],\"showTime\":[4,\"show-time\"],\"maxDate\":[1,\"max-date\"],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"form-control-number-masked_2\",[[0,\"justifi-identity-address-form\",{\"handleFormUpdate\":[16],\"errors\":[8],\"defaultValues\":[8,\"default-values\"],\"address\":[32]},null,{\"address\":[\"handleAddressChange\"]}],[0,\"form-control-number-masked\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"mask\":[1],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-owner-form_3\",[[0,\"justifi-owner-form\",{\"authToken\":[1,\"auth-token\"],\"ownerId\":[1,\"owner-id\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16],\"newFormOpen\":[4,\"new-form-open\"],\"ownersLength\":[2,\"owners-length\"],\"getOwner\":[32],\"patchOwner\":[32],\"postOwner\":[32],\"validate\":[64],\"submit\":[64],\"validateAndSubmit\":[64]}],[0,\"owner-form-core\",{\"ownerId\":[1,\"owner-id\"],\"businessId\":[1,\"business-id\"],\"getOwner\":[16],\"patchOwner\":[16],\"postOwner\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16],\"newFormOpen\":[4,\"new-form-open\"],\"ownersLength\":[2,\"owners-length\"],\"isLoading\":[32],\"formController\":[32],\"errors\":[32],\"owner\":[32],\"returnOwnerData\":[64],\"validate\":[64],\"submit\":[64],\"validateAndSubmit\":[64]},null,{\"isLoading\":[\"loadingWatcher\"]}],[0,\"owner-form-inputs\",{\"ownerDefaultValue\":[8,\"owner-default-value\"],\"errors\":[8],\"formController\":[16]}]]],[\"justifi-payment-provisioning-core\",[[0,\"justifi-payment-provisioning-core\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"getBusiness\":[16],\"postProvisioning\":[16],\"loading\":[32],\"businessProvisioned\":[32],\"currentStep\":[32],\"errorMessage\":[32]},[[0,\"formCompleted\",\"handleFormCompleted\"],[0,\"formLoading\",\"handleFormLoading\"]]]]],[\"justifi-checkout-core\",[[1,\"justifi-checkout-core\",{\"authToken\":[1,\"auth-token\"],\"getCheckout\":[16],\"complete\":[16],\"checkoutId\":[1,\"checkout-id\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableBnpl\":[4,\"disable-bnpl\"],\"disablePaymentMethodGroup\":[4,\"disable-payment-method-group\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hasLoadedFonts\":[32],\"checkout\":[32],\"serverError\":[32],\"renderState\":[32],\"creatingNewPaymentMethod\":[32],\"insuranceToggled\":[32],\"fillBillingForm\":[64]}]]],[\"justifi-dispute-management-core\",[[0,\"justifi-dispute-management-core\",{\"getDispute\":[16],\"disputeId\":[1,\"dispute-id\"],\"authToken\":[1,\"auth-token\"],\"dispute\":[32],\"isLoading\":[32],\"showDisputeResponseForm\":[32]},[[0,\"click-event\",\"disputeResponseHandler\"],[0,\"submit-event\",\"disputeSubmittedHandler\"]],{\"getDispute\":[\"updateOnPropChange\"]}]]],[\"business-details-core\",[[0,\"business-details-core\",{\"getBusiness\":[16],\"business\":[32],\"renderState\":[32],\"errorMessage\":[32]}]]],[\"justifi-season-interruption-insurance-core\",[[0,\"justifi-season-interruption-insurance-core\",{\"checkoutId\":[1,\"checkout-id\"],\"getQuote\":[16],\"toggleCoverage\":[16],\"primaryIdentityFirstName\":[1,\"primary-identity-first-name\"],\"primaryIdentityLastName\":[1,\"primary-identity-last-name\"],\"primaryIdentityState\":[1,\"primary-identity-state\"],\"primaryIdentityPostalCode\":[1,\"primary-identity-postal-code\"],\"primaryIdentityCountry\":[1,\"primary-identity-country\"],\"primaryIdentityEmailAddress\":[1,\"primary-identity-email-address\"],\"policyAttributesInsurableAmount\":[2,\"policy-attributes-insurable-amount\"],\"policyAttributesStartDate\":[1,\"policy-attributes-start-date\"],\"policyAttributesEndDate\":[1,\"policy-attributes-end-date\"],\"coveredIdentityFirstName\":[1,\"covered-identity-first-name\"],\"coveredIdentityLastName\":[1,\"covered-identity-last-name\"],\"quote\":[32],\"isLoading\":[32],\"accepted\":[32],\"validate\":[64]}]]],[\"terminal-quantity-selector\",[[0,\"terminal-quantity-selector\",{\"modelName\":[1,\"model-name\"],\"imageUrl\":[1,\"image-url\"],\"description\":[1],\"helpUrl\":[1,\"help-url\"],\"limit\":[2],\"selectedQuantity\":[32]}]]],[\"checkouts-list-core\",[[0,\"checkouts-list-core\",{\"getCheckouts\":[16],\"getSubAccounts\":[16],\"columns\":[1],\"checkouts\":[32],\"checkoutsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getCheckouts\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"payment-details-core\",[[0,\"payment-details-core\",{\"getPaymentDetails\":[16],\"payment\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPaymentDetails\":[\"updateOnPropChange\"]}]]],[\"payout-details-core\",[[0,\"payout-details-core\",{\"getPayout\":[16],\"getPayoutCSV\":[16],\"payout\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPayout\":[\"getPayoutWatcher\"]}]]],[\"payouts-list-core\",[[0,\"payouts-list-core\",{\"getPayouts\":[16],\"getSubAccounts\":[16],\"getPayoutCSV\":[16],\"columns\":[1],\"payouts\":[32],\"payoutsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getPayouts\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"]}]]],[\"terminal-orders-list-core\",[[0,\"terminal-orders-list-core\",{\"getTerminalOrders\":[16],\"columns\":[1],\"terminalOrders\":[32],\"terminalOrdersTable\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getTerminalOrders\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"terminals-list-core\",[[0,\"terminals-list-core\",{\"getTerminals\":[16],\"getSubAccounts\":[16],\"columns\":[1],\"terminals\":[32],\"terminalsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getTerminals\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"form-control-monetary\",[[0,\"form-control-monetary\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"gross-payment-chart-core\",[[0,\"gross-payment-chart-core\",{\"getGrossPayment\":[16],\"grossVolumeReport\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getGrossPayment\":[\"propChanged\"],\"grossVolumeReport\":[\"grossVolumeReportChanged\"]}]]],[\"justifi-details\",[[4,\"justifi-details\",{\"errorMessage\":[1,\"error-message\"]}]]],[\"form-alert_5\",[[0,\"justifi-business-representative\",{\"formController\":[16],\"errors\":[32],\"representative\":[32]}],[0,\"justifi-business-core-info\",{\"formController\":[16],\"errors\":[32],\"coreInfo\":[32]}],[0,\"justifi-additional-questions\",{\"formController\":[16],\"errors\":[32],\"additional_questions\":[32]}],[0,\"justifi-legal-address-form\",{\"formController\":[16],\"errors\":[32],\"legal_address\":[32]}],[0,\"form-alert\",{\"text\":[1],\"hideAlert\":[4,\"hide-alert\"]}]]],[\"justifi-business-representative-form-inputs\",[[0,\"justifi-business-representative-form-inputs\",{\"representativeDefaultValue\":[8,\"representative-default-value\"],\"errors\":[8],\"formController\":[16]}]]],[\"justifi-additional-statement_8\",[[0,\"justifi-shipping-details\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"documentList\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-customer-details\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-duplicate-charge\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-additional-statement\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"acceptedTerms\":[32],\"acceptedTermsErrorText\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-cancellation-policy\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-product-or-service\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-refund-policy\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-electronic-evidence\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}]]],[\"justifi-dispute-notification_3\",[[1,\"justifi-dispute-response\",{\"authToken\":[1,\"auth-token\"],\"disputeId\":[1,\"dispute-id\"],\"disputeResponse\":[16],\"apiOrigin\":[1,\"api-origin\"],\"updateDisputeResponse\":[32],\"submitDisputeResponse\":[32],\"createDisputeEvidence\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}],[1,\"justifi-dispute-notification\",{\"dispute\":[16],\"authToken\":[1,\"auth-token\"],\"isLoading\":[4,\"is-loading\"]}],[0,\"justifi-dispute-response-core\",{\"updateDisputeResponse\":[16],\"submitDisputeResponse\":[16],\"createDisputeEvidence\":[16],\"disputeResponse\":[8,\"dispute-response\"],\"isLoading\":[32],\"documentList\":[32],\"documentErrors\":[32],\"currentStep\":[32],\"currentStepComponentRef\":[32]}]]],[\"additional-questions-details_5\",[[0,\"additional-questions-details\",{\"additionalQuestions\":[16]}],[0,\"generic-info-details\",{\"business\":[16]}],[0,\"legal-address-details\",{\"legalAddress\":[16]}],[0,\"owner-details\",{\"owners\":[16]}],[0,\"representative-details\",{\"representative\":[16]}]]],[\"form-control-checkbox\",[[0,\"form-control-checkbox\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"checked\":[4],\"inputHandler\":[16],\"disabled\":[4],\"isFocused\":[32]}]]],[\"billing-form_3\",[[0,\"billing-form\",{\"legend\":[1025],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"fill\":[64],\"validate\":[64]}],[0,\"postal-form\",{\"legend\":[1025],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"fill\":[64],\"validate\":[64]}],[0,\"iframe-input\",{\"inputId\":[1,\"input-id\"],\"label\":[1],\"iframeOrigin\":[1,\"iframe-origin\"],\"isFocused\":[32],\"isValid\":[32],\"errorText\":[32],\"validate\":[64],\"tokenize\":[64]}]]],[\"bank-account-document-form-inputs_4\",[[0,\"bank-account-form-inputs\",{\"defaultValue\":[8,\"default-value\"],\"errors\":[8],\"inputHandler\":[16],\"formDisabled\":[4,\"form-disabled\"]}],[0,\"bank-account-document-form-inputs\",{\"inputHandler\":[16],\"errors\":[8],\"storeFiles\":[16]}],[0,\"business-documents-on-file\",{\"documents\":[8],\"isLoading\":[4,\"is-loading\"]}],[0,\"form-control-file\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"documentType\":[1,\"document-type\"],\"inputHandler\":[16],\"disabled\":[4],\"files\":[32],\"fileString\":[32],\"isFocused\":[32]}]]],[\"form-control-file-v2_2\",[[0,\"form-control-textarea\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"maxLength\":[2,\"max-length\"],\"inputHandler\":[16],\"keyDownHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-file-v2\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"inputHandler\":[16],\"disabled\":[4],\"files\":[32]}]]],[\"justifi-additional-questions-form-step-core_6\",[[0,\"justifi-business-owners-form-step-core\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"ownersPayload\":[32],\"refs\":[32],\"newFormOpen\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},[[0,\"ownerSubmitted\",\"handleOwnerSubmit\"]],{\"ownersPayload\":[\"ownersWatcher\"]}],[0,\"justifi-business-bank-account-form-step-core\",{\"businessId\":[1,\"business-id\"],\"getBusiness\":[16],\"postBankAccount\":[16],\"postDocumentRecord\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"bankAccount\":[32],\"existingDocuments\":[32],\"documentData\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},null,{\"isLoading\":[\"watchHandler\"]}],[0,\"justifi-business-representative-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"representative\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-business-core-info-form-step-core\",{\"businessId\":[1,\"business-id\"],\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"coreInfo\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-additional-questions-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"additional_questions\":[32],\"recurringPayments\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},null,{\"additional_questions\":[\"recurringPaymentsWatcher\"]}],[0,\"justifi-legal-address-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"legal_address\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]}]]],[\"justifi-additional-questions-form-step_9\",[[0,\"justifi-payment-provisioning-form-steps\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"refs\":[16],\"currentStep\":[2,\"current-step\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"handleFormLoading\":[16]}],[0,\"justifi-payment-provisioning-form-buttons\",{\"currentStep\":[2,\"current-step\"],\"totalSteps\":[2,\"total-steps\"],\"formLoading\":[4,\"form-loading\"],\"formDisabled\":[4,\"form-disabled\"],\"previousStepButtonOnClick\":[16],\"nextStepButtonOnClick\":[16]}],[0,\"justifi-business-owners-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-bank-account-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"postBankAccount\":[32],\"postDocumentRecord\":[32],\"postDocument\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-representative-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-core-info-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-additional-questions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-legal-address-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-terms-conditions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"acceptedTermsBefore\":[32],\"acceptedTerms\":[32],\"validateAndSubmit\":[64]}]]],[\"bank-account-form_9\",[[0,\"justifi-payment-method-options\",{\"showCard\":[4,\"show-card\"],\"showAch\":[4,\"show-ach\"],\"showBnpl\":[4,\"show-bnpl\"],\"showSavedPaymentMethods\":[4,\"show-saved-payment-methods\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"bnpl\":[16],\"insuranceToggled\":[4,\"insurance-toggled\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"savedPaymentMethods\":[16],\"paymentAmount\":[2,\"payment-amount\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"selectedPaymentMethodId\":[32],\"paymentMethodOptions\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64]},[[0,\"paymentMethodOptionSelected\",\"paymentMethodOptionSelected\"]],{\"savedPaymentMethods\":[\"paymentMethodsChanged\"]}],[0,\"justifi-new-payment-method\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentMethodOption\":[16],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"isSelected\":[4,\"is-selected\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"saveNewPaymentMethodChecked\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64]},[[0,\"checkboxChanged\",\"handleCheckboxChanged\"]]],[0,\"justifi-saved-payment-method\",{\"paymentMethodOption\":[16],\"isSelected\":[4,\"is-selected\"],\"resolvePaymentMethod\":[64]}],[0,\"justifi-sezzle-payment-method\",{\"bnpl\":[8],\"clientId\":[1,\"client-id\"],\"accountId\":[1,\"account-id\"],\"paymentMethodOption\":[16],\"isSelected\":[4,\"is-selected\"],\"paymentAmount\":[2,\"payment-amount\"],\"installmentPlan\":[32],\"sezzleCheckout\":[32],\"sezzlePromise\":[32],\"resolvePaymentMethod\":[64]}],[0,\"justifi-billing-form-wrapper\",{\"legend\":[1025],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"paymentMethodType\":[1,\"payment-method-type\"],\"fill\":[64],\"getValues\":[64],\"validate\":[64]}],[0,\"bank-account-form\",{\"iframeOrigin\":[1,\"iframe-origin\"],\"isReady\":[32],\"validate\":[64],\"tokenize\":[64]}],[0,\"card-form\",{\"iframeOrigin\":[1,\"iframe-origin\"],\"isReady\":[32],\"validate\":[64],\"tokenize\":[64]}],[0,\"justifi-save-new-payment-method\",{\"isChecked\":[32]}],[0,\"hidden-input\",{\"isFocused\":[32],\"errorText\":[32]}]]]]"), options);
|
|
19
|
+
return bootstrapLazy(JSON.parse("[[\"justifi-payment-provisioning\",[[1,\"justifi-payment-provisioning\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"postProvisioning\":[32],\"getBusiness\":[32]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}]]],[\"form-control-help-text\",[[0,\"form-control-help-text\",{\"helpText\":[1,\"help-text\"],\"name\":[1]}]]],[\"justifi-checkout\",[[4,\"justifi-checkout\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableBnpl\":[4,\"disable-bnpl\"],\"disablePaymentMethodGroup\":[4,\"disable-payment-method-group\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"getCheckout\":[32],\"complete\":[32],\"errorMessage\":[32],\"fillBillingForm\":[64]},null,{\"authToken\":[\"propChanged\"],\"checkoutId\":[\"propChanged\"]}]]],[\"justifi-dispute-management\",[[0,\"justifi-dispute-management\",{\"disputeId\":[1,\"dispute-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"getDispute\":[32],\"errorMessage\":[32]},null,{\"disputeId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-tokenize-payment-method\",[[1,\"justifi-tokenize-payment-method\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"submitButtonText\":[1,\"submit-button-text\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"hideSubmitButton\":[4,\"hide-submit-button\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"isLoading\":[32],\"tokenizePaymentMethod\":[64],\"fillBillingForm\":[64]}]]],[\"justifi-business-form\",[[1,\"justifi-business-form\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"hideErrors\":[4,\"hide-errors\"],\"formTitle\":[1,\"form-title\"],\"removeTitle\":[4,\"remove-title\"],\"isLoading\":[32],\"isSaving\":[32],\"errorMessage\":[32]}]]],[\"justifi-business-details\",[[1,\"justifi-business-details\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"errorMessage\":[32],\"getBusiness\":[32]}]]],[\"justifi-payments-list-filters\",[[1,\"justifi-payments-list-filters\",{\"paymentId\":[1,\"payment-id\"],\"terminalId\":[1,\"terminal-id\"],\"paymentStatus\":[1,\"payment-status\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-refund-payment\",[[1,\"justifi-refund-payment\",{\"authToken\":[1,\"auth-token\"],\"paymentId\":[1,\"payment-id\"],\"hideSubmitButton\":[4,\"hide-submit-button\"],\"apiOrigin\":[1,\"api-origin\"],\"paymentAmountRefundable\":[32],\"errorMessage\":[32],\"errors\":[32],\"values\":[32],\"isLoading\":[32],\"submitRefund\":[64]}]]],[\"justifi-terminal-orders-list-filters\",[[1,\"justifi-terminal-orders-list-filters\",{\"orderStatus\":[1,\"order-status\"],\"orderType\":[1,\"order-type\"],\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-terminals-list-filters\",[[1,\"justifi-terminals-list-filters\",{\"terminalId\":[1,\"terminal-id\"],\"terminalOrderId\":[1,\"terminal-order-id\"],\"terminalStatus\":[1,\"terminal-status\"]}]]],[\"justifi-checkouts-list-filters\",[[1,\"justifi-checkouts-list-filters\",{\"checkoutStatus\":[1,\"checkout-status\"],\"paymentMode\":[1,\"payment-mode\"]}]]],[\"justifi-payouts-list-filters\",[[1,\"justifi-payouts-list-filters\",{\"createdAfter\":[1,\"created-after\"],\"createdBefore\":[1,\"created-before\"]}]]],[\"justifi-order-terminals\",[[1,\"justifi-order-terminals\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"shipping\":[4],\"apiOrigin\":[1,\"api-origin\"],\"submitButtonText\":[1,\"submit-button-text\"],\"loading\":[32],\"submitting\":[32],\"error\":[32],\"business\":[32],\"terminalModels\":[32],\"orderLimit\":[32],\"order\":[32],\"totalQuantity\":[32]}]]],[\"form-control-radio\",[[0,\"form-control-radio\",{\"label\":[1],\"name\":[8],\"value\":[1],\"helpText\":[1,\"help-text\"],\"inputHandler\":[16],\"disabled\":[4],\"errorText\":[1,\"error-text\"],\"checked\":[4],\"isFocused\":[32]}]]],[\"justifi-season-interruption-insurance\",[[1,\"justifi-season-interruption-insurance\",{\"authToken\":[1,\"auth-token\"],\"checkoutId\":[1,\"checkout-id\"],\"primaryIdentityFirstName\":[1,\"primary-identity-first-name\"],\"primaryIdentityLastName\":[1,\"primary-identity-last-name\"],\"primaryIdentityState\":[1,\"primary-identity-state\"],\"primaryIdentityPostalCode\":[1,\"primary-identity-postal-code\"],\"primaryIdentityCountry\":[1,\"primary-identity-country\"],\"primaryIdentityEmailAddress\":[1,\"primary-identity-email-address\"],\"policyAttributesInsurableAmount\":[2,\"policy-attributes-insurable-amount\"],\"policyAttributesStartDate\":[1,\"policy-attributes-start-date\"],\"policyAttributesEndDate\":[1,\"policy-attributes-end-date\"],\"coveredIdentityFirstName\":[1,\"covered-identity-first-name\"],\"coveredIdentityLastName\":[1,\"covered-identity-last-name\"],\"getQuote\":[32],\"toggleCoverage\":[32],\"quote\":[32],\"validate\":[64]}]]],[\"pagination-menu\",[[0,\"pagination-menu\",{\"paging\":[16],\"params\":[16]}]]],[\"justifi-checkouts-list\",[[1,\"justifi-checkouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"columns\":[1],\"getCheckouts\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payment-details\",[[1,\"justifi-payment-details\",{\"paymentId\":[1,\"payment-id\"],\"authToken\":[1,\"auth-token\"],\"getPaymentDetails\":[32],\"errorMessage\":[32]},null,{\"paymentId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"payments-list-core\",[[0,\"payments-list-core\",{\"getPayments\":[16],\"columns\":[1],\"payments\":[32],\"paymentsTable\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getPayments\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"justifi-payments-list\",[[1,\"justifi-payments-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"columns\":[1],\"getPayments\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payout-details\",[[1,\"justifi-payout-details\",{\"payoutId\":[1,\"payout-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"getPayout\":[32],\"getPayoutCSV\":[32],\"errorMessage\":[32]},null,{\"payoutId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-payouts-list\",[[1,\"justifi-payouts-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"columns\":[1],\"getPayouts\":[32],\"getPayoutCSV\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-terminal-orders-list\",[[1,\"justifi-terminal-orders-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"columns\":[1],\"getTerminalOrders\":[32],\"errorMessage\":[32]}]]],[\"justifi-terminals-list\",[[1,\"justifi-terminals-list\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"apiOrigin\":[1,\"api-origin\"],\"columns\":[1],\"getTerminals\":[32],\"getSubAccounts\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"justifi-gross-payment-chart\",[[1,\"justifi-gross-payment-chart\",{\"accountId\":[1,\"account-id\"],\"authToken\":[1,\"auth-token\"],\"getGrossPayment\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}]]],[\"form-control-number\",[[0,\"form-control-number\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"table-filters-menu\",[[4,\"table-filters-menu\",{\"params\":[8],\"clearParams\":[16],\"anchorButton\":[32],\"menu\":[32],\"showClearButton\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]],{\"params\":[\"watchParamsHandler\"]}]]],[\"form-control-monetary-provisioning\",[[0,\"form-control-monetary-provisioning\",{\"label\":[1],\"name\":[1],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"maskOptions\":[8,\"mask-options\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"custom-popper_4\",[[0,\"form-control-select\",{\"name\":[8],\"label\":[1],\"options\":[16],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-text\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-tooltip\",{\"helpText\":[1,\"help-text\"],\"anchorIcon\":[32],\"tooltip\":[32]},[[0,\"showEvent\",\"show\"],[0,\"hideEvent\",\"hide\"]]],[4,\"custom-popper\",{\"placement\":[1],\"offset\":[16],\"strategy\":[1],\"trigger\":[1],\"anchorRef\":[16],\"isOpen\":[32]}]]],[\"form-control-date\",[[0,\"form-control-date\",{\"name\":[1],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"disabled\":[4],\"showTime\":[4,\"show-time\"],\"maxDate\":[1,\"max-date\"],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"form-control-number-masked_2\",[[0,\"justifi-identity-address-form\",{\"handleFormUpdate\":[16],\"errors\":[8],\"defaultValues\":[8,\"default-values\"],\"address\":[32]},null,{\"address\":[\"handleAddressChange\"]}],[0,\"form-control-number-masked\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"inputHandler\":[16],\"mask\":[1],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"justifi-owner-form_3\",[[0,\"justifi-owner-form\",{\"authToken\":[1,\"auth-token\"],\"ownerId\":[1,\"owner-id\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16],\"newFormOpen\":[4,\"new-form-open\"],\"ownersLength\":[2,\"owners-length\"],\"getOwner\":[32],\"patchOwner\":[32],\"postOwner\":[32],\"validate\":[64],\"submit\":[64],\"validateAndSubmit\":[64]}],[0,\"owner-form-core\",{\"ownerId\":[1,\"owner-id\"],\"businessId\":[1,\"business-id\"],\"getOwner\":[16],\"patchOwner\":[16],\"postOwner\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"removeOwner\":[16],\"newFormOpen\":[4,\"new-form-open\"],\"ownersLength\":[2,\"owners-length\"],\"isLoading\":[32],\"formController\":[32],\"errors\":[32],\"owner\":[32],\"returnOwnerData\":[64],\"validate\":[64],\"submit\":[64],\"validateAndSubmit\":[64]},null,{\"isLoading\":[\"loadingWatcher\"]}],[0,\"owner-form-inputs\",{\"ownerDefaultValue\":[8,\"owner-default-value\"],\"errors\":[8],\"formController\":[16]}]]],[\"justifi-payment-provisioning-core\",[[0,\"justifi-payment-provisioning-core\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formTitle\":[1,\"form-title\"],\"getBusiness\":[16],\"postProvisioning\":[16],\"loading\":[32],\"businessProvisioned\":[32],\"currentStep\":[32],\"errorMessage\":[32]},[[0,\"formCompleted\",\"handleFormCompleted\"],[0,\"formLoading\",\"handleFormLoading\"]]]]],[\"justifi-checkout-core\",[[1,\"justifi-checkout-core\",{\"authToken\":[1,\"auth-token\"],\"getCheckout\":[16],\"complete\":[16],\"checkoutId\":[1,\"checkout-id\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"disableCreditCard\":[4,\"disable-credit-card\"],\"disableBankAccount\":[4,\"disable-bank-account\"],\"disableBnpl\":[4,\"disable-bnpl\"],\"disablePaymentMethodGroup\":[4,\"disable-payment-method-group\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"hasLoadedFonts\":[32],\"checkout\":[32],\"serverError\":[32],\"renderState\":[32],\"creatingNewPaymentMethod\":[32],\"insuranceToggled\":[32],\"fillBillingForm\":[64]}]]],[\"justifi-dispute-management-core\",[[0,\"justifi-dispute-management-core\",{\"getDispute\":[16],\"disputeId\":[1,\"dispute-id\"],\"authToken\":[1,\"auth-token\"],\"dispute\":[32],\"isLoading\":[32],\"showDisputeResponseForm\":[32]},[[0,\"click-event\",\"disputeResponseHandler\"],[0,\"submit-event\",\"disputeSubmittedHandler\"]],{\"getDispute\":[\"updateOnPropChange\"]}]]],[\"business-details-core\",[[0,\"business-details-core\",{\"getBusiness\":[16],\"business\":[32],\"renderState\":[32],\"errorMessage\":[32]}]]],[\"justifi-season-interruption-insurance-core\",[[0,\"justifi-season-interruption-insurance-core\",{\"checkoutId\":[1,\"checkout-id\"],\"getQuote\":[16],\"toggleCoverage\":[16],\"primaryIdentityFirstName\":[1,\"primary-identity-first-name\"],\"primaryIdentityLastName\":[1,\"primary-identity-last-name\"],\"primaryIdentityState\":[1,\"primary-identity-state\"],\"primaryIdentityPostalCode\":[1,\"primary-identity-postal-code\"],\"primaryIdentityCountry\":[1,\"primary-identity-country\"],\"primaryIdentityEmailAddress\":[1,\"primary-identity-email-address\"],\"policyAttributesInsurableAmount\":[2,\"policy-attributes-insurable-amount\"],\"policyAttributesStartDate\":[1,\"policy-attributes-start-date\"],\"policyAttributesEndDate\":[1,\"policy-attributes-end-date\"],\"coveredIdentityFirstName\":[1,\"covered-identity-first-name\"],\"coveredIdentityLastName\":[1,\"covered-identity-last-name\"],\"quote\":[32],\"isLoading\":[32],\"accepted\":[32],\"validate\":[64]}]]],[\"terminal-quantity-selector\",[[0,\"terminal-quantity-selector\",{\"modelName\":[1,\"model-name\"],\"imageUrl\":[1,\"image-url\"],\"description\":[1],\"helpUrl\":[1,\"help-url\"],\"limit\":[2],\"selectedQuantity\":[32]}]]],[\"checkouts-list-core\",[[0,\"checkouts-list-core\",{\"getCheckouts\":[16],\"getSubAccounts\":[16],\"columns\":[1],\"checkouts\":[32],\"checkoutsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getCheckouts\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"payment-details-core\",[[0,\"payment-details-core\",{\"getPaymentDetails\":[16],\"payment\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPaymentDetails\":[\"updateOnPropChange\"]}]]],[\"payout-details-core\",[[0,\"payout-details-core\",{\"getPayout\":[16],\"getPayoutCSV\":[16],\"payout\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getPayout\":[\"getPayoutWatcher\"]}]]],[\"payouts-list-core\",[[0,\"payouts-list-core\",{\"getPayouts\":[16],\"getSubAccounts\":[16],\"getPayoutCSV\":[16],\"columns\":[1],\"payouts\":[32],\"payoutsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getPayouts\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"]}]]],[\"terminal-orders-list-core\",[[0,\"terminal-orders-list-core\",{\"getTerminalOrders\":[16],\"columns\":[1],\"terminalOrders\":[32],\"terminalOrdersTable\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getTerminalOrders\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"terminals-list-core\",[[0,\"terminals-list-core\",{\"getTerminals\":[16],\"getSubAccounts\":[16],\"columns\":[1],\"terminals\":[32],\"terminalsTable\":[32],\"subAccounts\":[32],\"loading\":[32],\"errorMessage\":[32],\"paging\":[32],\"pagingParams\":[32]},null,{\"pagingParams\":[\"updateOnPropChange\"],\"getTerminals\":[\"updateOnPropChange\"],\"getSubAccounts\":[\"updateOnPropChange\"],\"columns\":[\"updateOnPropChange\"]}]]],[\"form-control-monetary\",[[0,\"form-control-monetary\",{\"name\":[8],\"label\":[1],\"inputHandler\":[16],\"defaultValue\":[1,\"default-value\"],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"maxLength\":[2,\"max-length\"],\"keyDownHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}]]],[\"gross-payment-chart-core\",[[0,\"gross-payment-chart-core\",{\"getGrossPayment\":[16],\"grossVolumeReport\":[32],\"loading\":[32],\"errorMessage\":[32]},null,{\"getGrossPayment\":[\"propChanged\"],\"grossVolumeReport\":[\"grossVolumeReportChanged\"]}]]],[\"justifi-details\",[[4,\"justifi-details\",{\"errorMessage\":[1,\"error-message\"]}]]],[\"form-alert_5\",[[0,\"justifi-business-representative\",{\"formController\":[16],\"errors\":[32],\"representative\":[32]}],[0,\"justifi-business-core-info\",{\"formController\":[16],\"errors\":[32],\"coreInfo\":[32]}],[0,\"justifi-additional-questions\",{\"formController\":[16],\"errors\":[32],\"additional_questions\":[32]}],[0,\"justifi-legal-address-form\",{\"formController\":[16],\"errors\":[32],\"legal_address\":[32]}],[0,\"form-alert\",{\"text\":[1],\"hideAlert\":[4,\"hide-alert\"]}]]],[\"justifi-business-representative-form-inputs\",[[0,\"justifi-business-representative-form-inputs\",{\"representativeDefaultValue\":[8,\"representative-default-value\"],\"errors\":[8],\"formController\":[16]}]]],[\"justifi-additional-statement_8\",[[0,\"justifi-shipping-details\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"documentList\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-customer-details\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-duplicate-charge\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-additional-statement\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"acceptedTerms\":[32],\"acceptedTermsErrorText\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-cancellation-policy\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-product-or-service\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-refund-policy\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-electronic-evidence\",{\"disputeResponse\":[8,\"dispute-response\"],\"documentErrors\":[8,\"document-errors\"],\"form\":[32],\"errors\":[32],\"documents\":[32],\"validateAndSubmit\":[64]}]]],[\"justifi-dispute-notification_3\",[[1,\"justifi-dispute-response\",{\"authToken\":[1,\"auth-token\"],\"disputeId\":[1,\"dispute-id\"],\"disputeResponse\":[16],\"apiOrigin\":[1,\"api-origin\"],\"updateDisputeResponse\":[32],\"submitDisputeResponse\":[32],\"createDisputeEvidence\":[32],\"errorMessage\":[32]},null,{\"accountId\":[\"propChanged\"],\"authToken\":[\"propChanged\"]}],[1,\"justifi-dispute-notification\",{\"dispute\":[16],\"authToken\":[1,\"auth-token\"],\"isLoading\":[4,\"is-loading\"]}],[0,\"justifi-dispute-response-core\",{\"updateDisputeResponse\":[16],\"submitDisputeResponse\":[16],\"createDisputeEvidence\":[16],\"disputeResponse\":[8,\"dispute-response\"],\"isLoading\":[32],\"documentList\":[32],\"documentErrors\":[32],\"currentStep\":[32],\"currentStepComponentRef\":[32]}]]],[\"additional-questions-details_5\",[[0,\"additional-questions-details\",{\"additionalQuestions\":[16]}],[0,\"generic-info-details\",{\"business\":[16]}],[0,\"legal-address-details\",{\"legalAddress\":[16]}],[0,\"owner-details\",{\"owners\":[16]}],[0,\"representative-details\",{\"representative\":[16]}]]],[\"form-control-checkbox\",[[0,\"form-control-checkbox\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"checked\":[4],\"inputHandler\":[16],\"disabled\":[4],\"isFocused\":[32]}]]],[\"billing-form_3\",[[0,\"billing-form\",{\"legend\":[1025],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"fill\":[64],\"validate\":[64]}],[0,\"postal-form\",{\"legend\":[1025],\"formController\":[32],\"billingInfo\":[32],\"errors\":[32],\"getValues\":[64],\"fill\":[64],\"validate\":[64]}],[0,\"iframe-input\",{\"inputId\":[1,\"input-id\"],\"label\":[1],\"iframeOrigin\":[1,\"iframe-origin\"],\"isFocused\":[32],\"isValid\":[32],\"errorText\":[32],\"validate\":[64],\"tokenize\":[64]}]]],[\"bank-account-document-form-inputs_4\",[[0,\"bank-account-form-inputs\",{\"defaultValue\":[8,\"default-value\"],\"errors\":[8],\"inputHandler\":[16],\"formDisabled\":[4,\"form-disabled\"]}],[0,\"bank-account-document-form-inputs\",{\"inputHandler\":[16],\"errors\":[8],\"storeFiles\":[16]}],[0,\"business-documents-on-file\",{\"documents\":[8],\"isLoading\":[4,\"is-loading\"]}],[0,\"form-control-file\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"documentType\":[1,\"document-type\"],\"inputHandler\":[16],\"disabled\":[4],\"files\":[32],\"fileString\":[32],\"isFocused\":[32]}]]],[\"form-control-file-v2_2\",[[0,\"form-control-textarea\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"defaultValue\":[1,\"default-value\"],\"maxLength\":[2,\"max-length\"],\"inputHandler\":[16],\"keyDownHandler\":[16],\"disabled\":[4],\"isFocused\":[32]},null,{\"defaultValue\":[\"handleDefaultValueChange\"]}],[0,\"form-control-file-v2\",{\"label\":[1],\"name\":[8],\"helpText\":[1,\"help-text\"],\"errorText\":[1,\"error-text\"],\"multiple\":[4],\"inputHandler\":[16],\"disabled\":[4],\"files\":[32]}]]],[\"justifi-additional-questions-form-step-core_6\",[[0,\"justifi-business-owners-form-step-core\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"ownersPayload\":[32],\"refs\":[32],\"newFormOpen\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},[[0,\"ownerSubmitted\",\"handleOwnerSubmit\"]],{\"ownersPayload\":[\"ownersWatcher\"]}],[0,\"justifi-business-bank-account-form-step-core\",{\"businessId\":[1,\"business-id\"],\"getBusiness\":[16],\"postBankAccount\":[16],\"postDocumentRecord\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"bankAccount\":[32],\"existingDocuments\":[32],\"documentData\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},null,{\"isLoading\":[\"watchHandler\"]}],[0,\"justifi-business-representative-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"representative\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-business-core-info-form-step-core\",{\"businessId\":[1,\"business-id\"],\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"coreInfo\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]}],[0,\"justifi-additional-questions-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"additional_questions\":[32],\"recurringPayments\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]},null,{\"additional_questions\":[\"recurringPaymentsWatcher\"]}],[0,\"justifi-legal-address-form-step-core\",{\"getBusiness\":[16],\"patchBusiness\":[16],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"legal_address\":[32],\"isLoading\":[32],\"validateAndSubmit\":[64]}]]],[\"justifi-additional-questions-form-step_9\",[[0,\"justifi-payment-provisioning-form-steps\",{\"businessId\":[1,\"business-id\"],\"authToken\":[1,\"auth-token\"],\"refs\":[16],\"currentStep\":[2,\"current-step\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"handleFormLoading\":[16]}],[0,\"justifi-payment-provisioning-form-buttons\",{\"currentStep\":[2,\"current-step\"],\"totalSteps\":[2,\"total-steps\"],\"formLoading\":[4,\"form-loading\"],\"formDisabled\":[4,\"form-disabled\"],\"previousStepButtonOnClick\":[16],\"nextStepButtonOnClick\":[16]}],[0,\"justifi-business-owners-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-bank-account-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"postBankAccount\":[32],\"postDocumentRecord\":[32],\"postDocument\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-representative-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-core-info-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-additional-questions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-legal-address-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"getBusiness\":[32],\"patchBusiness\":[32],\"validateAndSubmit\":[64]},null,{\"authToken\":[\"propChanged\"],\"businessId\":[\"propChanged\"]}],[0,\"justifi-business-terms-conditions-form-step\",{\"authToken\":[1,\"auth-token\"],\"businessId\":[1,\"business-id\"],\"allowOptionalFields\":[4,\"allow-optional-fields\"],\"formController\":[32],\"errors\":[32],\"acceptedTermsBefore\":[32],\"acceptedTerms\":[32],\"validateAndSubmit\":[64]}]]],[\"bank-account-form_9\",[[0,\"justifi-payment-method-options\",{\"showCard\":[4,\"show-card\"],\"showAch\":[4,\"show-ach\"],\"showBnpl\":[4,\"show-bnpl\"],\"showSavedPaymentMethods\":[4,\"show-saved-payment-methods\"],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"bnpl\":[16],\"insuranceToggled\":[4,\"insurance-toggled\"],\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"savedPaymentMethods\":[16],\"paymentAmount\":[2,\"payment-amount\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"selectedPaymentMethodId\":[32],\"paymentMethodOptions\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64]},[[0,\"paymentMethodOptionSelected\",\"paymentMethodOptionSelected\"]],{\"savedPaymentMethods\":[\"paymentMethodsChanged\"]}],[0,\"justifi-new-payment-method\",{\"authToken\":[1,\"auth-token\"],\"accountId\":[1,\"account-id\"],\"paymentMethodOption\":[16],\"paymentMethodGroupId\":[1,\"payment-method-group-id\"],\"isSelected\":[4,\"is-selected\"],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"iframeOrigin\":[1,\"iframe-origin\"],\"saveNewPaymentMethodChecked\":[32],\"fillBillingForm\":[64],\"resolvePaymentMethod\":[64]},[[0,\"checkboxChanged\",\"handleCheckboxChanged\"]]],[0,\"justifi-saved-payment-method\",{\"paymentMethodOption\":[16],\"isSelected\":[4,\"is-selected\"],\"resolvePaymentMethod\":[64]}],[0,\"justifi-sezzle-payment-method\",{\"bnpl\":[8],\"clientId\":[1,\"client-id\"],\"accountId\":[1,\"account-id\"],\"paymentMethodOption\":[16],\"isSelected\":[4,\"is-selected\"],\"paymentAmount\":[2,\"payment-amount\"],\"installmentPlan\":[32],\"sezzleCheckout\":[32],\"sezzlePromise\":[32],\"resolvePaymentMethod\":[64]}],[0,\"justifi-billing-form-wrapper\",{\"legend\":[1025],\"hideCardBillingForm\":[4,\"hide-card-billing-form\"],\"paymentMethodType\":[1,\"payment-method-type\"],\"fill\":[64],\"getValues\":[64],\"validate\":[64]}],[0,\"bank-account-form\",{\"iframeOrigin\":[1,\"iframe-origin\"],\"isReady\":[32],\"validate\":[64],\"tokenize\":[64]}],[0,\"card-form\",{\"iframeOrigin\":[1,\"iframe-origin\"],\"isReady\":[32],\"validate\":[64],\"tokenize\":[64]}],[0,\"justifi-save-new-payment-method\",{\"isChecked\":[32]}],[0,\"hidden-input\",{\"isFocused\":[32],\"errorText\":[32]}]]]]"), options);
|
|
20
20
|
});
|
|
@@ -88,6 +88,7 @@ class TerminalOrder {
|
|
|
88
88
|
constructor(data) {
|
|
89
89
|
this.id = data.id;
|
|
90
90
|
this.business_id = data.business_id;
|
|
91
|
+
this.company_name = data.company_name;
|
|
91
92
|
this.sub_account_id = data.sub_account_id;
|
|
92
93
|
this.provider = data.provider || TerminalProviders.verifone;
|
|
93
94
|
this.order_items = [];
|
|
@@ -15,6 +15,7 @@ import { T as TerminalModel, a as TerminalOrder, b as TerminalOrderType } from '
|
|
|
15
15
|
import './Document.js';
|
|
16
16
|
import { g as getErrorMessage, a as getErrorCode } from './utils4.js';
|
|
17
17
|
import { T as TerminalService } from './terminal.service.js';
|
|
18
|
+
import { h as formatPhoneNumber } from './utils2.js';
|
|
18
19
|
import { d as defineCustomElement$4 } from './custom-popper2.js';
|
|
19
20
|
import { d as defineCustomElement$3 } from './form-control-tooltip2.js';
|
|
20
21
|
import { d as defineCustomElement$2 } from './terminal-quantity-selector2.js';
|
|
@@ -120,11 +121,13 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
120
121
|
this.__attachShadow();
|
|
121
122
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
122
123
|
this.submitted = createEvent(this, "submit-event", 7);
|
|
124
|
+
this.addressHeader = this.shipping ? "Shipping Address:" : "Business Address:";
|
|
123
125
|
this.businessId = undefined;
|
|
124
126
|
this.authToken = undefined;
|
|
125
127
|
this.accountId = undefined;
|
|
126
128
|
this.shipping = false;
|
|
127
129
|
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
130
|
+
this.submitButtonText = 'Submit Order';
|
|
128
131
|
this.loading = {
|
|
129
132
|
business: true,
|
|
130
133
|
terminals: true,
|
|
@@ -223,7 +226,7 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
223
226
|
renderBusinessDetails() {
|
|
224
227
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
225
228
|
if (!this.loading.business && this.business) {
|
|
226
|
-
return (h("div", { class: "gap-
|
|
229
|
+
return (h("div", { class: "d-flex flex-column gap-4 mb-5 pt-5" }, h("div", { class: "row" }, h("div", { class: "col-12" }, h("h2", { part: heading4 }, this.business.legal_name))), h("div", { class: "row" }, h("div", { class: "col-6" }, h("h5", { part: heading5 }, "Representative:"), h("div", null, h("div", null, (_b = (_a = this.business) === null || _a === void 0 ? void 0 : _a.representative) === null || _b === void 0 ? void 0 : _b.name), h("div", null, (_d = (_c = this.business) === null || _c === void 0 ? void 0 : _c.representative) === null || _d === void 0 ? void 0 : _d.title), h("div", null, (_f = (_e = this.business) === null || _e === void 0 ? void 0 : _e.representative) === null || _f === void 0 ? void 0 : _f.email), h("div", null, formatPhoneNumber((_h = (_g = this.business) === null || _g === void 0 ? void 0 : _g.representative) === null || _h === void 0 ? void 0 : _h.phone)))), h("div", { class: "col-6" }, h("h5", { part: heading5 }, this.addressHeader), h("div", null, this.business.legal_address.line1, this.business.legal_address.line2 ? `, ${this.business.legal_address.line2}` : "", h("br", null), this.business.legal_address.city, ", ", this.business.legal_address.state, " ", this.business.legal_address.postal_code)))));
|
|
227
230
|
}
|
|
228
231
|
}
|
|
229
232
|
renderTerminals() {
|
|
@@ -232,10 +235,10 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
232
235
|
}
|
|
233
236
|
}
|
|
234
237
|
renderOrderSection() {
|
|
235
|
-
return (h("div", { class: "mt-3" }, h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), h("div", { class: "d-flex justify-content-end mt-3" }, h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: buttonPrimary }, this.submitting ? 'Submitting...' :
|
|
238
|
+
return (h("div", { class: "mt-3" }, h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), h("div", { class: "d-flex justify-content-end mt-3" }, h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: buttonPrimary }, this.submitting ? 'Submitting...' : this.submitButtonText))));
|
|
236
239
|
}
|
|
237
240
|
render() {
|
|
238
|
-
return (h(StyledHost, { key: '
|
|
241
|
+
return (h(StyledHost, { key: 'e41920bc976c976932d5abdbb2da088a0e35a9f3' }, h("div", { key: '5237d2dcb456ee143f75b5562cf655ed695ab0e8', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
239
242
|
}
|
|
240
243
|
}, [1, "justifi-order-terminals", {
|
|
241
244
|
"businessId": [1, "business-id"],
|
|
@@ -243,6 +246,7 @@ const OrderTerminals = /*@__PURE__*/ proxyCustomElement(class OrderTerminals ext
|
|
|
243
246
|
"accountId": [1, "account-id"],
|
|
244
247
|
"shipping": [4],
|
|
245
248
|
"apiOrigin": [1, "api-origin"],
|
|
249
|
+
"submitButtonText": [1, "submit-button-text"],
|
|
246
250
|
"loading": [32],
|
|
247
251
|
"submitting": [32],
|
|
248
252
|
"error": [32],
|
|
@@ -4,7 +4,7 @@ import { f as filterParams, p as propsParams, c as clearParams } from './payment
|
|
|
4
4
|
import { a5 as paymentsListFilterMenu, a6 as paymentIdPaymentsListFilterParam, a7 as terminalIdPaymentsListFilterParam, a8 as paymentStatusPaymentsListFilterParam, a9 as createdAfterPaymentsListFilterParam, aa as createdBeforePaymentsListFilterParam } from './parts.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
6
6
|
import './details.js';
|
|
7
|
-
import {
|
|
7
|
+
import { k as convertToUTC, j as convertToLocal } from './utils2.js';
|
|
8
8
|
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
9
9
|
import { d as defineCustomElement$6 } from './form-control-date2.js';
|
|
10
10
|
import { d as defineCustomElement$5 } from './form-control-select2.js';
|
|
@@ -3,7 +3,7 @@ import { f as filterParams, p as propsParams, c as clearParams } from './payouts
|
|
|
3
3
|
import { ab as payoutsListFilterMenu, ac as createdAfterPayoutsListFilterParam, ad as createdBeforePayoutsListFilterParam } from './parts.js';
|
|
4
4
|
import { S as StyledHost } from './styled-host.js';
|
|
5
5
|
import './details.js';
|
|
6
|
-
import {
|
|
6
|
+
import { k as convertToUTC, j as convertToLocal } from './utils2.js';
|
|
7
7
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
8
8
|
import { d as defineCustomElement$4 } from './form-control-date2.js';
|
|
9
9
|
import { d as defineCustomElement$3 } from './form-control-tooltip2.js';
|
|
@@ -2,14 +2,14 @@ import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/i
|
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { f as formatCurrency } from './utils2.js';
|
|
4
4
|
import { A as Api } from './Api.js';
|
|
5
|
-
import './ComponentError.js';
|
|
5
|
+
import { C as ComponentErrorCodes, a as ComponentErrorSeverity } from './ComponentError.js';
|
|
6
6
|
import './Checkout.js';
|
|
7
7
|
import './Pagination.js';
|
|
8
8
|
import './Payment.js';
|
|
9
9
|
import './SubAccount.js';
|
|
10
10
|
import './Document.js';
|
|
11
|
+
import { B as Button } from './button.js';
|
|
11
12
|
import { S as StyledHost } from './styled-host.js';
|
|
12
|
-
import { H as Header1 } from './header-1.js';
|
|
13
13
|
import './details.js';
|
|
14
14
|
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
15
15
|
import { d as defineCustomElement$6 } from './form-control-help-text3.js';
|
|
@@ -55,14 +55,17 @@ const RefundPayment = /*@__PURE__*/ proxyCustomElement(class RefundPayment exten
|
|
|
55
55
|
super();
|
|
56
56
|
this.__registerHost();
|
|
57
57
|
this.__attachShadow();
|
|
58
|
-
this.
|
|
58
|
+
this.errorEvent = createEvent(this, "error-event", 7);
|
|
59
|
+
this.submitEvent = createEvent(this, "submit-event", 7);
|
|
59
60
|
this.authToken = undefined;
|
|
60
61
|
this.paymentId = undefined;
|
|
62
|
+
this.hideSubmitButton = false;
|
|
63
|
+
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
61
64
|
this.paymentAmountRefundable = 0;
|
|
62
|
-
this.
|
|
65
|
+
this.errorMessage = null;
|
|
63
66
|
this.errors = {};
|
|
64
67
|
this.values = {};
|
|
65
|
-
this.
|
|
68
|
+
this.isLoading = false;
|
|
66
69
|
}
|
|
67
70
|
componentWillLoad() {
|
|
68
71
|
this.formController = new FormController(RefundPaymentSchema(this.paymentAmountRefundable.toString()));
|
|
@@ -76,58 +79,55 @@ const RefundPayment = /*@__PURE__*/ proxyCustomElement(class RefundPayment exten
|
|
|
76
79
|
this.values = Object.assign({}, values);
|
|
77
80
|
});
|
|
78
81
|
}
|
|
79
|
-
/**
|
|
80
|
-
* Handles the form submission.
|
|
81
|
-
* Prevents the default form action, validates the form, and emits the 'submitted' event.
|
|
82
|
-
*/
|
|
83
82
|
async handleSubmit(event) {
|
|
84
83
|
event.preventDefault();
|
|
85
84
|
this.formController.validateAndSubmit(this.submitRefund);
|
|
86
85
|
}
|
|
87
|
-
/**
|
|
88
|
-
* Submits the refund request to the API.
|
|
89
|
-
*/
|
|
90
86
|
async submitRefund(values) {
|
|
91
|
-
this.
|
|
87
|
+
this.isLoading = true;
|
|
88
|
+
let refundResponse;
|
|
92
89
|
try {
|
|
93
|
-
|
|
94
|
-
this.submitted.emit(response);
|
|
90
|
+
refundResponse = await this.api.post(`payments/${this.paymentId}/refunds`, values);
|
|
95
91
|
}
|
|
96
92
|
catch (error) {
|
|
97
93
|
console.error('Error submitting refund:', error);
|
|
98
|
-
this.
|
|
94
|
+
this.errorEvent.emit(error);
|
|
99
95
|
}
|
|
100
96
|
finally {
|
|
101
|
-
this.
|
|
97
|
+
this.submitEvent.emit({ response: refundResponse });
|
|
98
|
+
this.isLoading = false;
|
|
102
99
|
}
|
|
103
100
|
}
|
|
104
|
-
/**
|
|
105
|
-
* Handles input changes, updating the refundFields state.
|
|
106
|
-
*/
|
|
107
101
|
handleInput(field, value) {
|
|
108
102
|
this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [field]: value }));
|
|
109
103
|
}
|
|
110
|
-
/**
|
|
111
|
-
* Initializes the API with the given authentication token.
|
|
112
|
-
* Logs a warning if the auth token is missing.
|
|
113
|
-
*/
|
|
114
104
|
initializeApi() {
|
|
115
|
-
if (
|
|
116
|
-
|
|
105
|
+
if (this.paymentId && this.authToken) {
|
|
106
|
+
this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
this.errorMessage = 'Payment ID and Auth Token are required';
|
|
110
|
+
this.errorEvent.emit({
|
|
111
|
+
errorCode: ComponentErrorCodes.MISSING_PROPS,
|
|
112
|
+
message: this.errorMessage,
|
|
113
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
114
|
+
});
|
|
117
115
|
}
|
|
118
|
-
this.api = Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
|
|
119
116
|
}
|
|
120
117
|
render() {
|
|
121
|
-
return (h(StyledHost, { key: '
|
|
118
|
+
return (h(StyledHost, { key: 'ea0429d62ea383b6525251150978bb0ebfb2704e' }, h("form", { key: '8f2e00b871ee896ba82311d8975574e5a2cbf6e3' }, h("div", { key: 'fa6476367e4a8b7fd7cdfff906671ef597b453de', class: "row gy-3" }, h("div", { key: '72a48181200d6116ceb4bb511bdd33c8c8197742', class: "form-group" }, h("form-control-monetary", { key: 'f6a3b3a7d8d8c733cb032db96878ad64ff712356', name: "amount", label: "Refund Amount", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount, defaultValue: this.paymentAmountRefundable.toString() })), h("div", { key: '47e6dc07510e192caf00ce959348a2a9472f48f8', class: "form-group" }, h("form-control-select", { key: '9f9b761eea9964c7f6ac1dd907a4fee8cd63c906', label: "Reason for refund (optional)", options: refundReasonOptions, name: "reason", defaultValue: '' })), h("div", { key: 'daa4bf44ec311e0554ea28f97a0932673d542a31', class: "form-group" }, h("form-control-textarea", { key: 'a03d055e6462b9a23e714ca58a942a6da0365919', name: "description", label: "Note (optional)", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.description, maxLength: 250 })), h("div", { key: 'b744d28ff0a2d6aa37b1ebe2b7ea6d9b3edbbc39', class: "form-group d-flex flex-row-reverse" }, h(Button, { key: '3f62881a5fa333277478d35a7c19a8c4ca8bb929', variant: "primary", type: "submit", onClick: e => this.handleSubmit(e), isLoading: this.isLoading, hidden: this.hideSubmitButton }, `Refund ${formatCurrency(+this.values.amount)}`))))));
|
|
122
119
|
}
|
|
123
120
|
}, [1, "justifi-refund-payment", {
|
|
124
121
|
"authToken": [1, "auth-token"],
|
|
125
122
|
"paymentId": [1, "payment-id"],
|
|
126
|
-
"
|
|
127
|
-
"
|
|
123
|
+
"hideSubmitButton": [4, "hide-submit-button"],
|
|
124
|
+
"apiOrigin": [1, "api-origin"],
|
|
125
|
+
"paymentAmountRefundable": [32],
|
|
126
|
+
"errorMessage": [32],
|
|
128
127
|
"errors": [32],
|
|
129
128
|
"values": [32],
|
|
130
|
-
"
|
|
129
|
+
"isLoading": [32],
|
|
130
|
+
"submitRefund": [64]
|
|
131
131
|
}]);
|
|
132
132
|
function defineCustomElement$1() {
|
|
133
133
|
if (typeof customElements === "undefined") {
|
|
@@ -9,7 +9,7 @@ import './Pagination.js';
|
|
|
9
9
|
import './Payment.js';
|
|
10
10
|
import { c as TerminalOrderStatus, b as TerminalOrderType } from './SubAccount.js';
|
|
11
11
|
import './Document.js';
|
|
12
|
-
import {
|
|
12
|
+
import { k as convertToUTC, j as convertToLocal } from './utils2.js';
|
|
13
13
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
14
14
|
import { d as defineCustomElement$5 } from './form-control-date2.js';
|
|
15
15
|
import { d as defineCustomElement$4 } from './form-control-select2.js';
|
package/dist/module/package.js
CHANGED
|
@@ -9,7 +9,7 @@ import { o as tableHeadCell, q as getAlternateTableCellPart, n as table, p as ta
|
|
|
9
9
|
import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types2.js';
|
|
10
10
|
import './details.js';
|
|
11
11
|
import { M as MapPaymentStatusToBadge } from './payments-status.js';
|
|
12
|
-
import {
|
|
12
|
+
import { j as convertToLocal } from './utils2.js';
|
|
13
13
|
import { o as onQueryParamsChange, g as getRequestParams } from './payments-list-params-state.js';
|
|
14
14
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
15
15
|
|
|
@@ -8,7 +8,7 @@ import './Document.js';
|
|
|
8
8
|
import { q as getAlternateTableCellPart, o as tableHeadCell, n as table, p as tableCell } from './parts.js';
|
|
9
9
|
import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types2.js';
|
|
10
10
|
import './details.js';
|
|
11
|
-
import {
|
|
11
|
+
import { j as convertToLocal } from './utils2.js';
|
|
12
12
|
import { M as MapPayoutStatusToBadge } from './payouts-status.js';
|
|
13
13
|
import { o as onQueryParamsChange, g as getRequestParams } from './payouts-list-params-state.js';
|
|
14
14
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
-
import { p as processHTML, f as formatCurrency, r as removeAttribute,
|
|
2
|
+
import { p as processHTML, f as formatCurrency, r as removeAttribute, l as addAttribute } from './utils2.js';
|
|
3
3
|
import { v as validateInsuranceValues, a as insuranceValues, b as insuranceErrors, H as Header2 } from './insurance-state.js';
|
|
4
4
|
import { t as text, j as textDanger } from './parts.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
@@ -8,7 +8,7 @@ import { p as pagingDefaults } from './Pagination.js';
|
|
|
8
8
|
import './Payment.js';
|
|
9
9
|
import './SubAccount.js';
|
|
10
10
|
import './Document.js';
|
|
11
|
-
import {
|
|
11
|
+
import { j as convertToLocal } from './utils2.js';
|
|
12
12
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
13
13
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state.js';
|
|
14
14
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
@@ -41,6 +41,7 @@ const terminalOrdersTableColumns = {
|
|
|
41
41
|
updated_at: () => (h("th", { part: tableHeadCell, scope: "col", title: "The date and time the order was last updated" }, "Updated At")),
|
|
42
42
|
order_status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of the order" }, "Order Status")),
|
|
43
43
|
business_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The business ID associated with the order" }, "Business ID")),
|
|
44
|
+
company_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The business name associated with the order" }, "Business Name")),
|
|
44
45
|
provider: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider associated with the order" }, "Provider")),
|
|
45
46
|
order_type: () => (h("th", { part: tableHeadCell, scope: "col", title: "The type of order" }, "Order Type")),
|
|
46
47
|
quantity: () => (h("th", { part: tableHeadCell, scope: "col", title: "The number of terminals associated with the order" }, "Order Quantity")),
|
|
@@ -54,6 +55,7 @@ const terminalOrdersTableCells = {
|
|
|
54
55
|
h("div", { class: "fw-bold" }, convertToLocal(terminalOrder.updated_at, { showTime: true })))),
|
|
55
56
|
order_status: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapTerminalOrderStatusToBadge(terminalOrder.order_status))),
|
|
56
57
|
business_id: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.business_id)),
|
|
58
|
+
company_name: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.company_name)),
|
|
57
59
|
provider: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.provider)),
|
|
58
60
|
order_type: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.order_type)),
|
|
59
61
|
quantity: (terminalOrder, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminalOrder.terminals.length)),
|
|
@@ -9,7 +9,7 @@ import { o as tableHeadCell, q as getAlternateTableCellPart, n as table, p as ta
|
|
|
9
9
|
import { T as TableClickActions, a as Table, b as TableLoadingState, c as TableEmptyState, d as TableErrorState } from './event-types2.js';
|
|
10
10
|
import './details.js';
|
|
11
11
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
12
|
-
import {
|
|
12
|
+
import { m as capitalFirstLetter } from './utils2.js';
|
|
13
13
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state.js';
|
|
14
14
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
15
15
|
|