@justifi/webcomponents 6.12.4 → 6.13.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Analytics-BERGweGK.js → Analytics-Be2I_aiS.js} +2 -2
- package/dist/cjs/{Plaid-BRSyOOuw.js → Plaid-Aw35bhCX.js} +2 -2
- package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +5 -5
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business.service-Z9OACEQL.js → business.service-CylI3Qrg.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-ByKpJklZ.js → check-pkg-version-BLLLh6v-.js} +1 -1
- package/dist/cjs/checkout-actions-8-MUczKw.js +62 -0
- package/dist/cjs/{checkout.service-BZOyqXgW.js → checkout.service-BYpinbSR.js} +1 -1
- package/dist/cjs/dispute-notification_2.cjs.entry.js +6 -6
- package/dist/cjs/{event-types-AU1B76Vm.js → event-types-DptNnCEP.js} +1 -1
- package/dist/cjs/{get-business-aR-C83KX.js → get-business-D10Tmct1.js} +2 -2
- package/dist/cjs/{get-payment-details-dwhA02Zl.js → get-payment-details-BB5aa48u.js} +2 -2
- package/dist/cjs/{get-subaccounts-B1jmSa2d.js → get-subaccounts-CSD2nAqD.js} +2 -2
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +10 -64
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +4 -4
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-business-form.cjs.entry.js +7 -7
- package/dist/cjs/justifi-card-form.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +3141 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +208 -0
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +7 -7
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +7 -7
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-B6L3zyfG.js → package-gx36QXN1.js} +1 -1
- package/dist/cjs/{payment-provisioning-actions-BiSpysjW.js → payment-provisioning-actions-DimM0KGV.js} +2 -2
- package/dist/cjs/{payment.service-ByrgA_QZ.js → payment.service-fy5bXXmA.js} +1 -1
- package/dist/cjs/{payout.service-CnQm_BpU.js → payout.service-hp3PTXWI.js} +1 -1
- package/dist/cjs/{payouts-status-AuS3Mp0V.js → payouts-status-CF1YT_RL.js} +2 -2
- package/dist/cjs/{plaid.service-Dlb8EUR8.js → plaid.service-9PmS4X0g.js} +1 -1
- package/dist/cjs/{terminal.service-BdwHQ3Vv.js → terminal.service-D5D76Cnn.js} +1 -1
- package/dist/cjs/{utils-FVGp6se3.js → utils-Dcde8Zpt.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/checkout-qr-code/justifi-checkout-qr-code.js +128 -0
- package/dist/collection/components/qr-terminal/justifi-qr-terminal.js +349 -0
- package/dist/docs.json +283 -1
- package/dist/esm/{Analytics-B1bQP71R.js → Analytics-DZWGizAK.js} +2 -2
- package/dist/esm/{Plaid-l6nNIjab.js → Plaid-fhlY0CIN.js} +1 -1
- package/dist/esm/additional-questions-form-step_14.entry.js +5 -5
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/{business.service-C31wbMVs.js → business.service-Crs-0Mdy.js} +1 -1
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-CNwUC4SV.js → check-pkg-version-CVyuA8aH.js} +1 -1
- package/dist/esm/checkout-actions-BMnp3uHK.js +59 -0
- package/dist/esm/{checkout.service-cVdOGDuI.js → checkout.service-BMAQVmHa.js} +1 -1
- package/dist/esm/dispute-notification_2.entry.js +6 -6
- package/dist/esm/{event-types-DalU_6SB.js → event-types-CVVB5p_Q.js} +1 -1
- package/dist/esm/{get-business-Gg6qn5on.js → get-business-B9ZS1tVq.js} +2 -2
- package/dist/esm/{get-payment-details-BiWgSJau.js → get-payment-details-CiR6FrkO.js} +2 -2
- package/dist/esm/{get-subaccounts-CkjZeR9U.js → get-subaccounts-VpDr7yN4.js} +2 -2
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_11.entry.js +8 -62
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +4 -4
- package/dist/esm/justifi-bank-account-form.entry.js +4 -4
- package/dist/esm/justifi-business-details.entry.js +7 -7
- package/dist/esm/justifi-business-form.entry.js +7 -7
- package/dist/esm/justifi-card-form.entry.js +4 -4
- package/dist/esm/justifi-checkout-qr-code.entry.js +3139 -0
- package/dist/esm/justifi-checkout.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +7 -7
- package/dist/esm/justifi-dispute-management.entry.js +6 -6
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/justifi-order-terminals.entry.js +8 -8
- package/dist/esm/justifi-payment-details.entry.js +7 -7
- package/dist/esm/justifi-payment-provisioning.entry.js +7 -7
- package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payments-list.entry.js +6 -6
- package/dist/esm/justifi-payout-details.entry.js +7 -7
- package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-payouts-list.entry.js +8 -8
- package/dist/esm/justifi-qr-terminal.entry.js +206 -0
- package/dist/esm/justifi-refund-payment.entry.js +7 -7
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list.entry.js +5 -5
- package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
- package/dist/esm/justifi-terminals-list.entry.js +7 -7
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-OGt0dCJl.js → package-CZa-hHhJ.js} +1 -1
- package/dist/esm/{payment-provisioning-actions-cl5xIYnF.js → payment-provisioning-actions-CcDadiRe.js} +2 -2
- package/dist/esm/{payment.service-5_u-UzTY.js → payment.service-BiKQPL4M.js} +1 -1
- package/dist/esm/{payout.service-D2zS5y8N.js → payout.service-B9_cyUiU.js} +1 -1
- package/dist/esm/{payouts-status-DCjCGTaa.js → payouts-status-xOa5tT66.js} +2 -2
- package/dist/esm/{plaid.service-BiJ65YG8.js → plaid.service-bU3qIoKd.js} +1 -1
- package/dist/esm/{terminal.service-CIxDfM7V.js → terminal.service-BM6BvevW.js} +1 -1
- package/dist/esm/{utils-C1B2hVAB.js → utils-BogmBHgt.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Plaid.js +1 -1
- package/dist/module/business-bank-account-form-step2.js +1 -1
- package/dist/module/checkout-actions.js +59 -0
- package/dist/module/get-payment-details.js +1 -1
- package/dist/module/justifi-checkout-qr-code.d.ts +11 -0
- package/dist/module/justifi-checkout-qr-code.js +6 -0
- package/dist/module/justifi-checkout-qr-code2.js +3154 -0
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +2 -57
- package/dist/module/justifi-order-terminals.js +1 -1
- package/dist/module/justifi-payment-details.js +1 -1
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-details.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-qr-terminal.d.ts +11 -0
- package/dist/module/justifi-qr-terminal.js +234 -0
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +1 -1
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/types/api/Checkout.d.ts +1 -2
- package/dist/types/components/checkout-qr-code/justifi-checkout-qr-code.d.ts +18 -0
- package/dist/types/components/qr-terminal/justifi-qr-terminal.d.ts +42 -0
- package/dist/types/components.d.ts +92 -0
- package/dist/webcomponents/{p-ea0d7a98.entry.js → p-06e8df55.entry.js} +1 -1
- package/dist/webcomponents/{p-daaa2a99.entry.js → p-07f2f1bf.entry.js} +1 -1
- package/dist/webcomponents/p-0fb8fb8c.entry.js +1 -0
- package/dist/webcomponents/p-10087a53.entry.js +1 -0
- package/dist/webcomponents/{p-45c0fb53.entry.js → p-1d7b8c21.entry.js} +1 -1
- package/dist/webcomponents/{p-d24240a5.entry.js → p-21c89e22.entry.js} +1 -1
- package/dist/webcomponents/{p-d79c5ee4.entry.js → p-2ec7cd88.entry.js} +1 -1
- package/dist/webcomponents/p-2qotS5d_.js +1 -0
- package/dist/webcomponents/{p-69fdd137.entry.js → p-355a5c8d.entry.js} +1 -1
- package/dist/webcomponents/{p-8964f4ca.entry.js → p-37b95a11.entry.js} +1 -1
- package/dist/webcomponents/p-37fd1862.entry.js +1 -0
- package/dist/webcomponents/{p-c8f3656f.entry.js → p-392f0c1c.entry.js} +1 -1
- package/dist/webcomponents/{p-9d021e10.entry.js → p-44cf13ac.entry.js} +1 -1
- package/dist/webcomponents/{p-cde76bf8.entry.js → p-55fdab4e.entry.js} +1 -1
- package/dist/webcomponents/p-5ccb46ee.entry.js +1 -0
- package/dist/webcomponents/{p-8d173a7c.entry.js → p-5f8dfa8d.entry.js} +1 -1
- package/dist/webcomponents/{p-07236291.entry.js → p-70cd2808.entry.js} +1 -1
- package/dist/webcomponents/{p-3f5e9afb.entry.js → p-769d3d93.entry.js} +1 -1
- package/dist/webcomponents/{p-f30069ea.entry.js → p-79bd744e.entry.js} +1 -1
- package/dist/webcomponents/{p-49a4123c.entry.js → p-7a4cd292.entry.js} +1 -1
- package/dist/webcomponents/p-8d602e60.entry.js +1 -0
- package/dist/webcomponents/p-94f14640.entry.js +1 -0
- package/dist/webcomponents/p-98f399ec.entry.js +1 -0
- package/dist/webcomponents/{p-7119fddd.entry.js → p-9fca25fc.entry.js} +1 -1
- package/dist/webcomponents/{p-Ba8jdOkX.js → p-BGvaX-lJ.js} +1 -1
- package/dist/webcomponents/{p-NZS8uCtH.js → p-CSgcCWLS.js} +1 -1
- package/dist/webcomponents/p-CZa-hHhJ.js +1 -0
- package/dist/webcomponents/p-Cg_3KsGO.js +1 -0
- package/dist/webcomponents/p-CqPcl9v7.js +1 -0
- package/dist/webcomponents/p-CvgL8YaH.js +1 -0
- package/dist/webcomponents/{p-oTtn8xDw.js → p-D4E9P7df.js} +1 -1
- package/dist/webcomponents/{p-Dk26hk5T.js → p-DD-_8sbs.js} +1 -1
- package/dist/webcomponents/{p-mF5zKtkx.js → p-DHFQtPCq.js} +1 -1
- package/dist/webcomponents/p-DMqJWUK2.js +1 -0
- package/dist/webcomponents/{p-fE5A37L5.js → p-DZAMzLxa.js} +1 -1
- package/dist/webcomponents/{p-Cz_7BuGW.js → p-DbOUuBHs.js} +1 -1
- package/dist/webcomponents/{p-BxKbnILQ.js → p-Eb1f86_V.js} +1 -1
- package/dist/webcomponents/{p-av6jyzyC.js → p-XxG-t-Sl.js} +1 -1
- package/dist/webcomponents/{p-7ebed752.entry.js → p-aee2295b.entry.js} +1 -1
- package/dist/webcomponents/p-b20b8805.entry.js +1 -0
- package/dist/webcomponents/p-bb5de874.entry.js +1 -0
- package/dist/webcomponents/p-bd678d4a.entry.js +1 -0
- package/dist/webcomponents/{p-f3ff7e00.entry.js → p-c8ee1e4c.entry.js} +1 -1
- package/dist/webcomponents/p-ce1dde85.entry.js +1 -0
- package/dist/webcomponents/{p-8aa53ef2.entry.js → p-d620d4b4.entry.js} +1 -1
- package/dist/webcomponents/{p-ae91fc9b.entry.js → p-dcd600ca.entry.js} +1 -1
- package/dist/webcomponents/p-e6b9dfe1.entry.js +1 -0
- package/dist/webcomponents/p-eCeOsPHx.js +1 -0
- package/dist/webcomponents/{p-BJu1-9kE.js → p-eK8hZOMg.js} +1 -1
- package/dist/webcomponents/{p-a1dcdc8b.entry.js → p-ff5c5499.entry.js} +4 -4
- package/dist/webcomponents/{p-BXyADlAH.js → p-qju4tNG1.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +16 -14
- package/LICENSE +0 -21
- package/dist/webcomponents/p-215c6b6b.entry.js +0 -1
- package/dist/webcomponents/p-31452258.entry.js +0 -1
- package/dist/webcomponents/p-35dd1fc0.entry.js +0 -1
- package/dist/webcomponents/p-4ec433f4.entry.js +0 -1
- package/dist/webcomponents/p-58b5e08e.entry.js +0 -1
- package/dist/webcomponents/p-5G1OMxZz.js +0 -1
- package/dist/webcomponents/p-6220a384.entry.js +0 -1
- package/dist/webcomponents/p-91aef5bf.entry.js +0 -1
- package/dist/webcomponents/p-APOabprT.js +0 -1
- package/dist/webcomponents/p-Aacb4jqT.js +0 -1
- package/dist/webcomponents/p-Cm9f5fyh.js +0 -1
- package/dist/webcomponents/p-OGt0dCJl.js +0 -1
- package/dist/webcomponents/p-b272a29d.entry.js +0 -1
- package/dist/webcomponents/p-c9fe4f33.entry.js +0 -1
- package/dist/webcomponents/p-ef85717f.entry.js +0 -1
- package/dist/webcomponents/p-nb_LhbJq.js +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import './config-state.js';
|
|
3
3
|
import './dinero.js';
|
|
4
|
-
import { E as EntityDocumentType,
|
|
4
|
+
import { E as EntityDocumentType, k as EntityDocumentStorage, l as EntityDocument, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
|
|
5
5
|
import './Pagination.js';
|
|
6
6
|
import { a as CountryCode } from './Business.js';
|
|
7
7
|
import './ApplePay.js';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { C as ComponentErrorSeverity } from './Plaid.js';
|
|
2
|
+
import { g as getErrorCode, a as getErrorMessage } from './utils3.js';
|
|
3
|
+
|
|
4
|
+
const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
|
|
5
|
+
var _a;
|
|
6
|
+
try {
|
|
7
|
+
const response = await service.fetchCheckout(authToken, checkoutId);
|
|
8
|
+
if (!response.error) {
|
|
9
|
+
const checkout = response.data;
|
|
10
|
+
onSuccess({ checkout });
|
|
11
|
+
}
|
|
12
|
+
else {
|
|
13
|
+
const responseError = getErrorMessage(response.error);
|
|
14
|
+
const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
15
|
+
return onError({
|
|
16
|
+
error: responseError,
|
|
17
|
+
code,
|
|
18
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
catch (error) {
|
|
23
|
+
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
24
|
+
return onError({
|
|
25
|
+
error: error.message || error,
|
|
26
|
+
code,
|
|
27
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
const makeCheckoutComplete = ({ authToken, checkoutId, service }) => async ({ payment, onSuccess, onError }) => {
|
|
32
|
+
var _a;
|
|
33
|
+
try {
|
|
34
|
+
const response = await service.complete(authToken, checkoutId, payment);
|
|
35
|
+
if (!response.error) {
|
|
36
|
+
const checkout = response.data;
|
|
37
|
+
onSuccess({ checkout });
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
const responseError = getErrorMessage(response.error);
|
|
41
|
+
const code = getErrorCode((_a = response.error) === null || _a === void 0 ? void 0 : _a.code);
|
|
42
|
+
return onError({
|
|
43
|
+
error: responseError,
|
|
44
|
+
code,
|
|
45
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
catch (error) {
|
|
50
|
+
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
51
|
+
return onError({
|
|
52
|
+
error: error.message || error,
|
|
53
|
+
code,
|
|
54
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export { makeCheckoutComplete as a, makeGetCheckout as m };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './config-state.js';
|
|
2
2
|
import './dinero.js';
|
|
3
|
-
import {
|
|
3
|
+
import { e as Payment, C as ComponentErrorSeverity } from './Plaid.js';
|
|
4
4
|
import './Pagination.js';
|
|
5
5
|
import './Business.js';
|
|
6
6
|
import './ApplePay.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface JustifiCheckoutQrCode extends Components.JustifiCheckoutQrCode, HTMLElement {}
|
|
4
|
+
export const JustifiCheckoutQrCode: {
|
|
5
|
+
prototype: JustifiCheckoutQrCode;
|
|
6
|
+
new (): JustifiCheckoutQrCode;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { J as JustifiCheckoutQrCode$1, d as defineCustomElement$1 } from './justifi-checkout-qr-code2.js';
|
|
2
|
+
|
|
3
|
+
const JustifiCheckoutQrCode = JustifiCheckoutQrCode$1;
|
|
4
|
+
const defineCustomElement = defineCustomElement$1;
|
|
5
|
+
|
|
6
|
+
export { JustifiCheckoutQrCode, defineCustomElement };
|