@justifi/webcomponents 5.7.6-rc-10 → 5.7.6-rc-12
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/{check-pkg-version-IzJ0mvZl.js → check-pkg-version-DTl9I1Ul.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +6 -6
- package/dist/cjs/justifi-bank-account-form_5.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-button_5.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/{package-POr6jwdT.js → package-2E2frAhG.js} +1 -1
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +8 -8
- package/dist/docs.json +5 -5
- package/dist/esm/{check-pkg-version-BMqLB5Pf.js → check-pkg-version-ClojE1si.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/justifi-apple-pay.entry.js +6 -6
- package/dist/esm/justifi-bank-account-form_5.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +2 -2
- package/dist/esm/justifi-business-form.entry.js +2 -2
- package/dist/esm/justifi-button_5.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +2 -2
- package/dist/esm/justifi-checkouts-list.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +2 -2
- package/dist/esm/justifi-dispute-notification_3.entry.js +2 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
- package/dist/esm/justifi-order-terminals.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
- package/dist/esm/justifi-payment-transactions-list.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +2 -2
- package/dist/esm/justifi-payout-details.entry.js +2 -2
- package/dist/esm/justifi-payout-transactions-list.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +2 -2
- package/dist/esm/justifi-refund-payment.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -2
- package/dist/esm/justifi-terminal-orders-list.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +2 -2
- package/dist/esm/justifi-tokenize-payment-method.entry.js +2 -2
- package/dist/esm/{package-Dm6cO_sz.js → package-nXYG32aI.js} +1 -1
- package/dist/module/justifi-apple-pay.js +6 -6
- package/dist/module/package.js +1 -1
- package/dist/types/components.d.ts +4 -4
- package/dist/webcomponents/{p-f5b700a1.entry.js → p-05a4a9af.entry.js} +1 -1
- package/dist/webcomponents/{p-ac692297.entry.js → p-0bba79e0.entry.js} +1 -1
- package/dist/webcomponents/p-1daad0d3.entry.js +1 -0
- package/dist/webcomponents/{p-50cfc8dc.entry.js → p-25dd9dd0.entry.js} +1 -1
- package/dist/webcomponents/{p-6f20e64c.entry.js → p-519202e7.entry.js} +1 -1
- package/dist/webcomponents/{p-e93a7c34.entry.js → p-51ab2423.entry.js} +1 -1
- package/dist/webcomponents/p-5b38f3bc.entry.js +1 -0
- package/dist/webcomponents/{p-18579165.entry.js → p-6a9d892b.entry.js} +1 -1
- package/dist/webcomponents/{p-d13463ed.entry.js → p-6aff31c3.entry.js} +1 -1
- package/dist/webcomponents/{p-4c3418cf.entry.js → p-6c648940.entry.js} +1 -1
- package/dist/webcomponents/{p-ba2e7384.entry.js → p-7a193756.entry.js} +1 -1
- package/dist/webcomponents/{p-2ddd395b.entry.js → p-7d7391f4.entry.js} +1 -1
- package/dist/webcomponents/{p-e3cdf53e.entry.js → p-87fbb708.entry.js} +1 -1
- package/dist/webcomponents/p-98726390.entry.js +1 -0
- package/dist/webcomponents/p-9bfa18f3.entry.js +1 -0
- package/dist/webcomponents/{p-f1bc2d45.entry.js → p-a1696893.entry.js} +1 -1
- package/dist/webcomponents/{p-1c97fd0e.entry.js → p-ad2a9782.entry.js} +1 -1
- package/dist/webcomponents/{p-d6a7b016.entry.js → p-ae2df638.entry.js} +1 -1
- package/dist/webcomponents/{p-4bdb9032.entry.js → p-b20be276.entry.js} +1 -1
- package/dist/webcomponents/{p-07ffadd2.entry.js → p-c56bd0e0.entry.js} +1 -1
- package/dist/webcomponents/{p-6eefb8e7.entry.js → p-cf66f597.entry.js} +1 -1
- package/dist/webcomponents/{p-8eca1602.entry.js → p-d2af361a.entry.js} +1 -1
- package/dist/webcomponents/{p-47b483b1.entry.js → p-dc66f744.entry.js} +1 -1
- package/dist/webcomponents/{p-7c91535d.entry.js → p-f25a305f.entry.js} +1 -1
- package/dist/webcomponents/p-nXYG32aI.js +1 -0
- package/dist/webcomponents/{p-VDUjfAoW.js → p-qaWnx68E.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-03c23cfa.entry.js +0 -1
- package/dist/webcomponents/p-18ecd1f2.entry.js +0 -1
- package/dist/webcomponents/p-7bdc49bb.entry.js +0 -1
- package/dist/webcomponents/p-86c5e67a.entry.js +0 -1
- package/dist/webcomponents/p-Dm6cO_sz.js +0 -1
|
@@ -658,9 +658,9 @@ const ApplePay = class {
|
|
|
658
658
|
this.applePayCancelled = createEvent(this, "applePayCancelled");
|
|
659
659
|
this.applePayError = createEvent(this, "applePayError");
|
|
660
660
|
this.countryCode = "US";
|
|
661
|
-
this.merchantIdentifier = "merchant.
|
|
661
|
+
this.merchantIdentifier = "merchant.com.staging-justifi.checkout-dev";
|
|
662
662
|
this.merchantDisplayName = "JustiFi Checkout";
|
|
663
|
-
this.initiativeContext = "checkout.justifi.
|
|
663
|
+
this.initiativeContext = "dev-checkout.justifi-staging.com";
|
|
664
664
|
this.apiBaseUrl = "https://api.justifi-staging.com";
|
|
665
665
|
this.buttonType = ApplePayButtonType.PLAIN;
|
|
666
666
|
this.buttonStyle = ApplePayButtonStyle.BLACK;
|
|
@@ -752,8 +752,8 @@ const ApplePay = class {
|
|
|
752
752
|
this.isLoading = false;
|
|
753
753
|
return;
|
|
754
754
|
}
|
|
755
|
-
this.isAvailable = ApplePayHelpers.isApplePaySupported();
|
|
756
|
-
this.canMakePayments = ApplePayHelpers.canMakePayments();
|
|
755
|
+
this.isAvailable = true; // ApplePayHelpers.isApplePaySupported();
|
|
756
|
+
this.canMakePayments = true; // ApplePayHelpers.canMakePayments();
|
|
757
757
|
if (!this.isAvailable) {
|
|
758
758
|
this.error = "Apple Pay is not supported on this device";
|
|
759
759
|
this.isLoading = false;
|
|
@@ -809,10 +809,10 @@ const ApplePay = class {
|
|
|
809
809
|
this.isAvailable &&
|
|
810
810
|
this.canMakePayments &&
|
|
811
811
|
!this.error;
|
|
812
|
-
return (h(StyledHost, { key: '
|
|
812
|
+
return (h(StyledHost, { key: '953181f3712f10b4b9b04bef01234c8e4933e9b5' }, h("div", { key: 'edfeebe26b7e295e698db0833cbf0fbd978ad466', class: 'apple-pay-container' }, h(ApplePaySkeleton, { key: '623c353461fed16c500d876d93216015030eb7aa', isReady: isReady }), !this.isLoading && this.error && (h("div", { key: 'd7a6b7c081f703e4553a9e064f99bca5755fb2a2', class: 'apple-pay-error', role: 'alert' }, h("span", { key: '45a4a13592591b2fcc566d066ef875b099c533f0', class: 'error-icon' }, "\u26A0\uFE0F"), h("span", { key: '60e36a8fbd42af747006c82148c3f7f836170a6d', class: 'error-message' }, this.error))), !this.isLoading && !this.error && !this.isAvailable && (h("div", { key: '9e0d55ee72c16f5df38ac6974106987063512957', class: 'apple-pay-unavailable' }, h("span", { key: 'cf2276ab8fbb5633df81591045c4796f42acc884', class: 'unavailable-message' }, "Apple Pay is not available on this device"))), !this.isLoading &&
|
|
813
813
|
!this.error &&
|
|
814
814
|
this.isAvailable &&
|
|
815
|
-
this.canMakePayments && (h(ApplePayButton, { key: '
|
|
815
|
+
this.canMakePayments && (h(ApplePayButton, { key: 'de6b26f5c47b2cbe0357937a2217ba21ad4c8049', buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick }))), h("style", { key: '9717f4cbfc2dd84b50894856a970749882d9c84f' }, `
|
|
816
816
|
.apple-pay-container {
|
|
817
817
|
width: 100%;
|
|
818
818
|
}
|
|
@@ -2,7 +2,7 @@ import { h, r as registerInstance, c as createEvent } from './index-kpoIU4v_.js'
|
|
|
2
2
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
3
3
|
import './event-types-CZfYo5-1.js';
|
|
4
4
|
import { S as Skeleton } from './skeleton-CZfDofm6.js';
|
|
5
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
5
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
6
6
|
import { w as waitForConfig, c as configState } from './config-state-BrllxiM0.js';
|
|
7
7
|
import { c as create$3, F as FormController } from './index.esm-cYgKOXtz.js';
|
|
8
8
|
import { k as postalValidation, l as stateValidation, m as cityValidation, n as lineTwoValidation, q as lineOneValidation, y as identityNameValidation } from './schema-validations-DcR1ujuX.js';
|
|
@@ -10,7 +10,7 @@ import { ag as billingForm } from './parts-D3G5aVLy.js';
|
|
|
10
10
|
import { n as numberOnlyHandler } from './utils-BnjCmwMr.js';
|
|
11
11
|
import { S as StateOptions } from './state-options-BX8GieXu.js';
|
|
12
12
|
import { o as onChange } from './checkout.store-QrBBYQfi.js';
|
|
13
|
-
import './package-
|
|
13
|
+
import './package-nXYG32aI.js';
|
|
14
14
|
import './Api-DQM93PRm.js';
|
|
15
15
|
import './utils-B7jE0g5_.js';
|
|
16
16
|
import './ComponentError-Cjcsf8ku.js';
|
|
@@ -3,7 +3,7 @@ import { E as ErrorState } from './utils-CBJo9jNE.js';
|
|
|
3
3
|
import { B as BusinessService } from './business.service-BgXdRyYa.js';
|
|
4
4
|
import { m as makeGetBusiness } from './get-business-Crb6P-iI.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
6
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
6
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
7
7
|
import './parts-D3G5aVLy.js';
|
|
8
8
|
import './Api-DQM93PRm.js';
|
|
9
9
|
import './config-state-BrllxiM0.js';
|
|
@@ -17,7 +17,7 @@ import './Business-BCoP0TAV.js';
|
|
|
17
17
|
import './helpers-Mu7LQT-w.js';
|
|
18
18
|
import './state-options-BX8GieXu.js';
|
|
19
19
|
import './utils-BeQLScSm.js';
|
|
20
|
-
import './package-
|
|
20
|
+
import './package-nXYG32aI.js';
|
|
21
21
|
|
|
22
22
|
const BusinessDetails = class {
|
|
23
23
|
constructor(hostRef) {
|
|
@@ -10,7 +10,7 @@ import './Pagination-CLHwhyvu.js';
|
|
|
10
10
|
import './Payment-Bs0-9Lnt.js';
|
|
11
11
|
import { B as Business, b as BusinessFormServerErrors } from './Business-BCoP0TAV.js';
|
|
12
12
|
import './Dispute-7MWRbTXI.js';
|
|
13
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
13
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
14
14
|
import { B as Button } from './button-DxM4-mlD.js';
|
|
15
15
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
16
16
|
import { H as Header1 } from './header-1-B0PFwGib.js';
|
|
@@ -25,7 +25,7 @@ import './state-options-BX8GieXu.js';
|
|
|
25
25
|
import './business-form-options-CgssATyg.js';
|
|
26
26
|
import './index-B9me4yN2.js';
|
|
27
27
|
import './helpers-Mu7LQT-w.js';
|
|
28
|
-
import './package-
|
|
28
|
+
import './package-nXYG32aI.js';
|
|
29
29
|
import './Api-DQM93PRm.js';
|
|
30
30
|
import './parts-D3G5aVLy.js';
|
|
31
31
|
import './utils-BeQLScSm.js';
|
|
@@ -8,7 +8,7 @@ import './event-types-CZfYo5-1.js';
|
|
|
8
8
|
import { H as Header1 } from './header-1-B0PFwGib.js';
|
|
9
9
|
import { H as Header2, b as insuranceValuesOn, i as insuranceValues } from './insurance-state-DQH40x6F.js';
|
|
10
10
|
import { H as Header3 } from './header-3-D3gxg6YU.js';
|
|
11
|
-
import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-
|
|
11
|
+
import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-ClojE1si.js';
|
|
12
12
|
import './config-state-BrllxiM0.js';
|
|
13
13
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes, b as ComponentErrorMessages } from './ComponentError-Cjcsf8ku.js';
|
|
14
14
|
import { I as ICheckoutStatus } from './Refund-4B3c-kLz.js';
|
|
@@ -19,7 +19,7 @@ import './Dispute-7MWRbTXI.js';
|
|
|
19
19
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
20
20
|
import { C as CheckoutService } from './checkout.service-CXeKDZTF.js';
|
|
21
21
|
import './index-B9me4yN2.js';
|
|
22
|
-
import './package-
|
|
22
|
+
import './package-nXYG32aI.js';
|
|
23
23
|
import './Api-DQM93PRm.js';
|
|
24
24
|
import './helpers-Mu7LQT-w.js';
|
|
25
25
|
import './state-options-BX8GieXu.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
|
|
2
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
2
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
3
3
|
import { c as checkoutStore } from './checkout.store-QrBBYQfi.js';
|
|
4
4
|
import { d as checkoutSummary } from './parts-D3G5aVLy.js';
|
|
5
5
|
import { P as PaymentMethodTypes } from './Payment-Bs0-9Lnt.js';
|
|
6
6
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
7
7
|
import './event-types-CZfYo5-1.js';
|
|
8
|
-
import './package-
|
|
8
|
+
import './package-nXYG32aI.js';
|
|
9
9
|
import './Api-DQM93PRm.js';
|
|
10
10
|
import './config-state-BrllxiM0.js';
|
|
11
11
|
import './index-B9me4yN2.js';
|
|
@@ -8,7 +8,7 @@ import './Payment-Bs0-9Lnt.js';
|
|
|
8
8
|
import './Business-BCoP0TAV.js';
|
|
9
9
|
import './Dispute-7MWRbTXI.js';
|
|
10
10
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
11
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
11
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
12
12
|
import { C as CheckoutService } from './checkout.service-CXeKDZTF.js';
|
|
13
13
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts-C62B2OC_.js';
|
|
14
14
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
@@ -17,7 +17,7 @@ import { d as defaultColumnsKeys } from './checkouts-table-Djb7Yj6O.js';
|
|
|
17
17
|
import './index-B9me4yN2.js';
|
|
18
18
|
import './helpers-Mu7LQT-w.js';
|
|
19
19
|
import './state-options-BX8GieXu.js';
|
|
20
|
-
import './package-
|
|
20
|
+
import './package-nXYG32aI.js';
|
|
21
21
|
import './Api-DQM93PRm.js';
|
|
22
22
|
import './badge-D-vrtiQR.js';
|
|
23
23
|
import './parts-D3G5aVLy.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
4
4
|
import { a as Dispute } from './Dispute-7MWRbTXI.js';
|
|
5
5
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
6
6
|
import { D as DisputeService } from './dispute.service-DWs_TX-m.js';
|
|
7
|
-
import './package-
|
|
7
|
+
import './package-nXYG32aI.js';
|
|
8
8
|
import './Api-DQM93PRm.js';
|
|
9
9
|
import './config-state-BrllxiM0.js';
|
|
10
10
|
import './index-B9me4yN2.js';
|
|
@@ -9,7 +9,7 @@ import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Compone
|
|
|
9
9
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
10
10
|
import { D as DisputeService } from './dispute.service-DWs_TX-m.js';
|
|
11
11
|
import { D as DisputeManagementClickActions } from './event-types-Bg2SZArf.js';
|
|
12
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
12
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
13
13
|
import './Api-DQM93PRm.js';
|
|
14
14
|
import './config-state-BrllxiM0.js';
|
|
15
15
|
import './index-B9me4yN2.js';
|
|
@@ -20,7 +20,7 @@ import './Dispute-7MWRbTXI.js';
|
|
|
20
20
|
import './Business-BCoP0TAV.js';
|
|
21
21
|
import './helpers-Mu7LQT-w.js';
|
|
22
22
|
import './state-options-BX8GieXu.js';
|
|
23
|
-
import './package-
|
|
23
|
+
import './package-nXYG32aI.js';
|
|
24
24
|
|
|
25
25
|
const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
|
|
26
26
|
var _a;
|
|
@@ -8,14 +8,14 @@ import './Business-BCoP0TAV.js';
|
|
|
8
8
|
import './Dispute-7MWRbTXI.js';
|
|
9
9
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
10
10
|
import { E as ErrorState } from './utils-CBJo9jNE.js';
|
|
11
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
11
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
12
12
|
import './config-state-BrllxiM0.js';
|
|
13
13
|
import './index-B9me4yN2.js';
|
|
14
14
|
import './utils-B7jE0g5_.js';
|
|
15
15
|
import './helpers-Mu7LQT-w.js';
|
|
16
16
|
import './state-options-BX8GieXu.js';
|
|
17
17
|
import './parts-D3G5aVLy.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-nXYG32aI.js';
|
|
19
19
|
|
|
20
20
|
const api = Api();
|
|
21
21
|
class ReportsService {
|
|
@@ -2,7 +2,7 @@ import { h, r as registerInstance, c as createEvent } from './index-kpoIU4v_.js'
|
|
|
2
2
|
import { ap as heading5, am as heading4, ae as buttonPrimary, z as text } from './parts-D3G5aVLy.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
4
4
|
import './event-types-CZfYo5-1.js';
|
|
5
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
5
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
6
6
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
7
7
|
import { B as BusinessService } from './business.service-BgXdRyYa.js';
|
|
8
8
|
import { B as Business } from './Business-BCoP0TAV.js';
|
|
@@ -16,7 +16,7 @@ import './Payment-Bs0-9Lnt.js';
|
|
|
16
16
|
import './Dispute-7MWRbTXI.js';
|
|
17
17
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
18
18
|
import { T as TerminalService } from './terminal.service-BLeBxTv4.js';
|
|
19
|
-
import './package-
|
|
19
|
+
import './package-nXYG32aI.js';
|
|
20
20
|
import './Api-DQM93PRm.js';
|
|
21
21
|
import './helpers-Mu7LQT-w.js';
|
|
22
22
|
import './state-options-BX8GieXu.js';
|
|
@@ -3,7 +3,7 @@ import { P as PaymentService } from './payment.service-BnDr_9vX.js';
|
|
|
3
3
|
import { m as makeGetPaymentDetails } from './get-payment-details-j8nOngzB.js';
|
|
4
4
|
import { E as ErrorState } from './utils-CBJo9jNE.js';
|
|
5
5
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
6
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
6
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
7
7
|
import './Api-DQM93PRm.js';
|
|
8
8
|
import './config-state-BrllxiM0.js';
|
|
9
9
|
import './index-B9me4yN2.js';
|
|
@@ -17,7 +17,7 @@ import './helpers-Mu7LQT-w.js';
|
|
|
17
17
|
import './state-options-BX8GieXu.js';
|
|
18
18
|
import './utils-BeQLScSm.js';
|
|
19
19
|
import './parts-D3G5aVLy.js';
|
|
20
|
-
import './package-
|
|
20
|
+
import './package-nXYG32aI.js';
|
|
21
21
|
|
|
22
22
|
const PaymentDetails = class {
|
|
23
23
|
constructor(hostRef) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
|
|
2
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
2
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
3
3
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
4
4
|
import { m as makeGetBusiness, a as makePostProvisioning } from './payment-provisioning-actions-ONP8lDnV.js';
|
|
5
5
|
import { B as BusinessService } from './business.service-BgXdRyYa.js';
|
|
@@ -9,7 +9,7 @@ import './Pagination-CLHwhyvu.js';
|
|
|
9
9
|
import './Payment-Bs0-9Lnt.js';
|
|
10
10
|
import './Business-BCoP0TAV.js';
|
|
11
11
|
import './Dispute-7MWRbTXI.js';
|
|
12
|
-
import './package-
|
|
12
|
+
import './package-nXYG32aI.js';
|
|
13
13
|
import './utils-BeQLScSm.js';
|
|
14
14
|
import './config-state-BrllxiM0.js';
|
|
15
15
|
import './index-B9me4yN2.js';
|
|
@@ -7,7 +7,7 @@ import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
|
|
|
7
7
|
import './Payment-Bs0-9Lnt.js';
|
|
8
8
|
import './Business-BCoP0TAV.js';
|
|
9
9
|
import './Dispute-7MWRbTXI.js';
|
|
10
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
10
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
11
11
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
12
12
|
import { P as PaymentService } from './payment.service-BnDr_9vX.js';
|
|
13
13
|
import { T as Table, l as TableWrapper, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell } from './table-CTPfsGKi.js';
|
|
@@ -17,7 +17,7 @@ import { N as tableHeadCell, O as getAlternateTableCellPart } from './parts-D3G5
|
|
|
17
17
|
import './index-B9me4yN2.js';
|
|
18
18
|
import './helpers-Mu7LQT-w.js';
|
|
19
19
|
import './state-options-BX8GieXu.js';
|
|
20
|
-
import './package-
|
|
20
|
+
import './package-nXYG32aI.js';
|
|
21
21
|
import './Api-DQM93PRm.js';
|
|
22
22
|
import './spinner-D-vbFqC6.js';
|
|
23
23
|
|
|
@@ -9,7 +9,7 @@ import { a as Payment } from './Payment-Bs0-9Lnt.js';
|
|
|
9
9
|
import './Business-BCoP0TAV.js';
|
|
10
10
|
import './Dispute-7MWRbTXI.js';
|
|
11
11
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
12
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
12
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
13
13
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
14
14
|
import './event-types-CZfYo5-1.js';
|
|
15
15
|
import { d as defaultColumnsKeys } from './payments-table-BuiNqlwv.js';
|
|
@@ -17,7 +17,7 @@ import './Api-DQM93PRm.js';
|
|
|
17
17
|
import './index-B9me4yN2.js';
|
|
18
18
|
import './helpers-Mu7LQT-w.js';
|
|
19
19
|
import './state-options-BX8GieXu.js';
|
|
20
|
-
import './package-
|
|
20
|
+
import './package-nXYG32aI.js';
|
|
21
21
|
import './payments-status-DVYzDcJ4.js';
|
|
22
22
|
import './badge-D-vrtiQR.js';
|
|
23
23
|
import './parts-D3G5aVLy.js';
|
|
@@ -10,14 +10,14 @@ import './Business-BCoP0TAV.js';
|
|
|
10
10
|
import './Dispute-7MWRbTXI.js';
|
|
11
11
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
12
12
|
import { E as ErrorState } from './utils-CBJo9jNE.js';
|
|
13
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
13
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
14
14
|
import { m as makeGetPayoutCSV } from './get-payout-csv-D-Lnooki.js';
|
|
15
15
|
import './Api-DQM93PRm.js';
|
|
16
16
|
import './index-B9me4yN2.js';
|
|
17
17
|
import './helpers-Mu7LQT-w.js';
|
|
18
18
|
import './state-options-BX8GieXu.js';
|
|
19
19
|
import './parts-D3G5aVLy.js';
|
|
20
|
-
import './package-
|
|
20
|
+
import './package-nXYG32aI.js';
|
|
21
21
|
|
|
22
22
|
const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
23
23
|
var _a;
|
|
@@ -7,7 +7,7 @@ import { p as pagingDefaults } from './Pagination-CLHwhyvu.js';
|
|
|
7
7
|
import './Payment-Bs0-9Lnt.js';
|
|
8
8
|
import './Business-BCoP0TAV.js';
|
|
9
9
|
import './Dispute-7MWRbTXI.js';
|
|
10
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
10
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
11
11
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
12
12
|
import { P as PayoutService } from './payout.service-Ai1aEuFC.js';
|
|
13
13
|
import { T as Table, l as TableWrapper, a as TableComponent, b as TableHead, c as TableHeadRow, d as TableBody, e as TableLoadingState, f as TableEmptyState, g as TableErrorState, h as TableRow, i as TableFoot, j as TableFootRow, k as TableFootCell } from './table-CTPfsGKi.js';
|
|
@@ -17,7 +17,7 @@ import { N as tableHeadCell, O as getAlternateTableCellPart } from './parts-D3G5
|
|
|
17
17
|
import './index-B9me4yN2.js';
|
|
18
18
|
import './helpers-Mu7LQT-w.js';
|
|
19
19
|
import './state-options-BX8GieXu.js';
|
|
20
|
-
import './package-
|
|
20
|
+
import './package-nXYG32aI.js';
|
|
21
21
|
import './Api-DQM93PRm.js';
|
|
22
22
|
import './spinner-D-vbFqC6.js';
|
|
23
23
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
4
4
|
import { P as PayoutService } from './payout.service-Ai1aEuFC.js';
|
|
5
5
|
import './config-state-BrllxiM0.js';
|
|
6
6
|
import './utils-B7jE0g5_.js';
|
|
@@ -15,7 +15,7 @@ import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccoun
|
|
|
15
15
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
16
16
|
import './event-types-CZfYo5-1.js';
|
|
17
17
|
import { d as defaultColumnsKeys } from './payouts-table-cgIXP54P.js';
|
|
18
|
-
import './package-
|
|
18
|
+
import './package-nXYG32aI.js';
|
|
19
19
|
import './Api-DQM93PRm.js';
|
|
20
20
|
import './index-B9me4yN2.js';
|
|
21
21
|
import './helpers-Mu7LQT-w.js';
|
|
@@ -13,7 +13,7 @@ import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
|
13
13
|
import './event-types-CZfYo5-1.js';
|
|
14
14
|
import { P as PaymentService } from './payment.service-BnDr_9vX.js';
|
|
15
15
|
import { m as makeGetPaymentDetails } from './get-payment-details-j8nOngzB.js';
|
|
16
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
16
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
17
17
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
18
18
|
import { A as Api } from './Api-DQM93PRm.js';
|
|
19
19
|
import { S as Skeleton } from './skeleton-CZfDofm6.js';
|
|
@@ -22,7 +22,7 @@ import './index-B9me4yN2.js';
|
|
|
22
22
|
import './helpers-Mu7LQT-w.js';
|
|
23
23
|
import './state-options-BX8GieXu.js';
|
|
24
24
|
import './parts-D3G5aVLy.js';
|
|
25
|
-
import './package-
|
|
25
|
+
import './package-nXYG32aI.js';
|
|
26
26
|
|
|
27
27
|
const amountValidation = (maxAmount) => {
|
|
28
28
|
const max = +maxAmount;
|
|
@@ -7,14 +7,14 @@ import './Payment-Bs0-9Lnt.js';
|
|
|
7
7
|
import './Business-BCoP0TAV.js';
|
|
8
8
|
import './Dispute-7MWRbTXI.js';
|
|
9
9
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
10
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
10
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
11
11
|
import { c as checkoutStore } from './checkout.store-QrBBYQfi.js';
|
|
12
12
|
import './config-state-BrllxiM0.js';
|
|
13
13
|
import './index-B9me4yN2.js';
|
|
14
14
|
import './utils-B7jE0g5_.js';
|
|
15
15
|
import './helpers-Mu7LQT-w.js';
|
|
16
16
|
import './state-options-BX8GieXu.js';
|
|
17
|
-
import './package-
|
|
17
|
+
import './package-nXYG32aI.js';
|
|
18
18
|
|
|
19
19
|
const api = Api();
|
|
20
20
|
class InsuranceService {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
|
|
2
2
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
3
3
|
import './event-types-CZfYo5-1.js';
|
|
4
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
4
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
5
5
|
import { d as defaultColumnsKeys } from './terminal-orders-table-CvK516_V.js';
|
|
6
6
|
import './config-state-BrllxiM0.js';
|
|
7
7
|
import './utils-B7jE0g5_.js';
|
|
@@ -13,7 +13,7 @@ import './Business-BCoP0TAV.js';
|
|
|
13
13
|
import './Dispute-7MWRbTXI.js';
|
|
14
14
|
import { g as getErrorCode, a as getErrorMessage } from './utils-BeQLScSm.js';
|
|
15
15
|
import { A as Api } from './Api-DQM93PRm.js';
|
|
16
|
-
import './package-
|
|
16
|
+
import './package-nXYG32aI.js';
|
|
17
17
|
import './parts-D3G5aVLy.js';
|
|
18
18
|
import './badge-D-vrtiQR.js';
|
|
19
19
|
import './index-B9me4yN2.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js';
|
|
2
2
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
3
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
3
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
4
4
|
import { T as TerminalService } from './terminal.service-BLeBxTv4.js';
|
|
5
5
|
import './config-state-BrllxiM0.js';
|
|
6
6
|
import './utils-B7jE0g5_.js';
|
|
@@ -14,7 +14,7 @@ import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccoun
|
|
|
14
14
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
15
15
|
import './event-types-CZfYo5-1.js';
|
|
16
16
|
import { d as defaultColumnsKeys } from './terminals-table-2QGQITkt.js';
|
|
17
|
-
import './package-
|
|
17
|
+
import './package-nXYG32aI.js';
|
|
18
18
|
import './Api-DQM93PRm.js';
|
|
19
19
|
import './index-B9me4yN2.js';
|
|
20
20
|
import './helpers-Mu7LQT-w.js';
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, h } from './index-kpoIU4v_.js'
|
|
|
2
2
|
import { B as Button } from './button-DxM4-mlD.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host-B_XBaM7z.js';
|
|
4
4
|
import './event-types-CZfYo5-1.js';
|
|
5
|
-
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-
|
|
5
|
+
import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-ClojE1si.js';
|
|
6
6
|
import './config-state-BrllxiM0.js';
|
|
7
7
|
import './utils-B7jE0g5_.js';
|
|
8
8
|
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError-Cjcsf8ku.js';
|
|
@@ -13,7 +13,7 @@ import './Business-BCoP0TAV.js';
|
|
|
13
13
|
import './Dispute-7MWRbTXI.js';
|
|
14
14
|
import { c as checkoutStore } from './checkout.store-QrBBYQfi.js';
|
|
15
15
|
import './parts-D3G5aVLy.js';
|
|
16
|
-
import './package-
|
|
16
|
+
import './package-nXYG32aI.js';
|
|
17
17
|
import './Api-DQM93PRm.js';
|
|
18
18
|
import './index-B9me4yN2.js';
|
|
19
19
|
import './helpers-Mu7LQT-w.js';
|
|
@@ -659,9 +659,9 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
|
|
|
659
659
|
this.applePayCancelled = createEvent(this, "applePayCancelled", 7);
|
|
660
660
|
this.applePayError = createEvent(this, "applePayError", 7);
|
|
661
661
|
this.countryCode = "US";
|
|
662
|
-
this.merchantIdentifier = "merchant.
|
|
662
|
+
this.merchantIdentifier = "merchant.com.staging-justifi.checkout-dev";
|
|
663
663
|
this.merchantDisplayName = "JustiFi Checkout";
|
|
664
|
-
this.initiativeContext = "checkout.justifi.
|
|
664
|
+
this.initiativeContext = "dev-checkout.justifi-staging.com";
|
|
665
665
|
this.apiBaseUrl = "https://api.justifi-staging.com";
|
|
666
666
|
this.buttonType = ApplePayButtonType.PLAIN;
|
|
667
667
|
this.buttonStyle = ApplePayButtonStyle.BLACK;
|
|
@@ -753,8 +753,8 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
|
|
|
753
753
|
this.isLoading = false;
|
|
754
754
|
return;
|
|
755
755
|
}
|
|
756
|
-
this.isAvailable = ApplePayHelpers.isApplePaySupported();
|
|
757
|
-
this.canMakePayments = ApplePayHelpers.canMakePayments();
|
|
756
|
+
this.isAvailable = true; // ApplePayHelpers.isApplePaySupported();
|
|
757
|
+
this.canMakePayments = true; // ApplePayHelpers.canMakePayments();
|
|
758
758
|
if (!this.isAvailable) {
|
|
759
759
|
this.error = "Apple Pay is not supported on this device";
|
|
760
760
|
this.isLoading = false;
|
|
@@ -810,10 +810,10 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
|
|
|
810
810
|
this.isAvailable &&
|
|
811
811
|
this.canMakePayments &&
|
|
812
812
|
!this.error;
|
|
813
|
-
return (h(StyledHost, { key: '
|
|
813
|
+
return (h(StyledHost, { key: '953181f3712f10b4b9b04bef01234c8e4933e9b5' }, h("div", { key: 'edfeebe26b7e295e698db0833cbf0fbd978ad466', class: 'apple-pay-container' }, h(ApplePaySkeleton, { key: '623c353461fed16c500d876d93216015030eb7aa', isReady: isReady }), !this.isLoading && this.error && (h("div", { key: 'd7a6b7c081f703e4553a9e064f99bca5755fb2a2', class: 'apple-pay-error', role: 'alert' }, h("span", { key: '45a4a13592591b2fcc566d066ef875b099c533f0', class: 'error-icon' }, "\u26A0\uFE0F"), h("span", { key: '60e36a8fbd42af747006c82148c3f7f836170a6d', class: 'error-message' }, this.error))), !this.isLoading && !this.error && !this.isAvailable && (h("div", { key: '9e0d55ee72c16f5df38ac6974106987063512957', class: 'apple-pay-unavailable' }, h("span", { key: 'cf2276ab8fbb5633df81591045c4796f42acc884', class: 'unavailable-message' }, "Apple Pay is not available on this device"))), !this.isLoading &&
|
|
814
814
|
!this.error &&
|
|
815
815
|
this.isAvailable &&
|
|
816
|
-
this.canMakePayments && (h(ApplePayButton, { key: '
|
|
816
|
+
this.canMakePayments && (h(ApplePayButton, { key: 'de6b26f5c47b2cbe0357937a2217ba21ad4c8049', buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick }))), h("style", { key: '9717f4cbfc2dd84b50894856a970749882d9c84f' }, `
|
|
817
817
|
.apple-pay-container {
|
|
818
818
|
width: 100%;
|
|
819
819
|
}
|
package/dist/module/package.js
CHANGED
|
@@ -304,7 +304,7 @@ export namespace Components {
|
|
|
304
304
|
"disabled": boolean;
|
|
305
305
|
"getPaymentMethods": () => Promise<string[]>;
|
|
306
306
|
/**
|
|
307
|
-
* @default "checkout.justifi.
|
|
307
|
+
* @default "dev-checkout.justifi-staging.com"
|
|
308
308
|
*/
|
|
309
309
|
"initiativeContext": string;
|
|
310
310
|
"isSupported": () => Promise<boolean>;
|
|
@@ -313,7 +313,7 @@ export namespace Components {
|
|
|
313
313
|
*/
|
|
314
314
|
"merchantDisplayName": string;
|
|
315
315
|
/**
|
|
316
|
-
* @default "merchant.
|
|
316
|
+
* @default "merchant.com.staging-justifi.checkout-dev"
|
|
317
317
|
*/
|
|
318
318
|
"merchantIdentifier": string;
|
|
319
319
|
/**
|
|
@@ -3273,7 +3273,7 @@ declare namespace LocalJSX {
|
|
|
3273
3273
|
*/
|
|
3274
3274
|
"disabled"?: boolean;
|
|
3275
3275
|
/**
|
|
3276
|
-
* @default "checkout.justifi.
|
|
3276
|
+
* @default "dev-checkout.justifi-staging.com"
|
|
3277
3277
|
*/
|
|
3278
3278
|
"initiativeContext"?: string;
|
|
3279
3279
|
/**
|
|
@@ -3281,7 +3281,7 @@ declare namespace LocalJSX {
|
|
|
3281
3281
|
*/
|
|
3282
3282
|
"merchantDisplayName"?: string;
|
|
3283
3283
|
/**
|
|
3284
|
-
* @default "merchant.
|
|
3284
|
+
* @default "merchant.com.staging-justifi.checkout-dev"
|
|
3285
3285
|
*/
|
|
3286
3286
|
"merchantIdentifier"?: string;
|
|
3287
3287
|
"onApplePayCancelled"?: (event: JustifiApplePayCustomEvent<void>) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as e,c as a}from"./p-kpoIU4v_.js";import{c as i}from"./p-9y5MOK55.js";import{a as s}from"./p-B7jE0g5_.js";import{C as o,a as r}from"./p-Cjcsf8ku.js";import{f as c}from"./p-Bou1Z4Bm.js";import{p as n}from"./p-CLHwhyvu.js";import"./p-BDUTtU21.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";import{c as p,J as d}from"./p-
|
|
1
|
+
import{h as t,r as e,c as a}from"./p-kpoIU4v_.js";import{c as i}from"./p-9y5MOK55.js";import{a as s}from"./p-B7jE0g5_.js";import{C as o,a as r}from"./p-Cjcsf8ku.js";import{f as c}from"./p-Bou1Z4Bm.js";import{p as n}from"./p-CLHwhyvu.js";import"./p-BDUTtU21.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";import{c as p,J as d}from"./p-qaWnx68E.js";import{g as h,a as l}from"./p-D2muobcE.js";import{P as f}from"./p-Sz-UKsNL.js";import{T as u,l as m,a as y,b,c as _,d as w,e as j,f as v,g as T,h as g,i as k,j as D,k as C}from"./p-C8ll3Wwp.js";import{S as I}from"./p-CRFzwZW6.js";import{T as S}from"./p-CZfYo5-1.js";import{N as P,O}from"./p-D3G5aVLy.js";import"./p-7WIgS5RM.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-nXYG32aI.js";import"./p-Dj1uo4J3.js";import"./p-B8tUOqiv.js";const q={id:()=>t("th",{part:P,scope:"col",title:"The unique identifier of each transaction"},"ID"),account_id:()=>t("th",{part:P,scope:"col",title:"The unique identifier of the account associated with each transaction"},"Account ID"),payout_id:()=>t("th",{part:P,scope:"col",title:"The unique identifier of the payout associated with each transaction"},"Payout ID"),financial_transaction_id:()=>t("th",{part:P,scope:"col",title:"The unique identifier of the financial transaction associated with the payment balance transaction"},"Financial Transaction ID"),amount:()=>t("th",{part:P,scope:"col",title:"The dollar amount of each transaction"},"Amount"),fee:()=>t("th",{part:P,scope:"col",title:"The fee associated with each transaction"},"Fee"),net:()=>t("th",{part:P,scope:"col",title:"The net amount of each transaction"},"Net"),currency:()=>t("th",{part:P,scope:"col",title:"The currency of each transaction"},"Currency"),description:()=>t("th",{part:P,scope:"col",title:"The description of each transaction"},"Description"),source_id:()=>t("th",{part:P,scope:"col",title:"The unique identifier of the source object associated with the payment balance transaction"},"Source ID"),txn_type:()=>t("th",{part:P,scope:"col",title:"The type of each transaction"},"Type"),created_at:()=>t("th",{part:P,scope:"col",title:"The date and time each transaction was made"},"Processed On"),available_on:()=>t("th",{part:P,scope:"col",title:"The date and time each transaction will be available"},"Available On"),updated_at:()=>t("th",{part:P,scope:"col",title:"The date and time each transaction was last updated"},"Updated On")},E={fee:"Fee",payment:"Payment",payout:"Payout",seller_payment_refund:"Seller Payment Refund",dispute_amount_collected:"Dispute Amount Collected",dispute_fee_collected:"Dispute Fee Collected",seller_payment:"Seller Payment",transfer:"Transfer",partner_platform_proceeds_credit:"Partner Platform Proceeds Credit"},B={id:e=>t("td",{part:O(e.id)},e.id),account_id:e=>t("td",{part:O(e.account_id)},e.account_id),payout_id:e=>t("td",{part:O(e.payout_id)},e.payout_id),financial_transaction_id:e=>t("td",{part:O(e.financial_transaction_id)},e.financial_transaction_id),amount:e=>t("td",{part:O(e.amount)},e.formattedPaymentAmount(e.amount)),fee:e=>t("td",{part:O(e.fee)},e.formattedPaymentAmount(e.fee)),net:e=>t("td",{part:O(e.net)},e.formattedPaymentAmount(e.net)),currency:e=>t("td",{part:O(e.currency)},e.currency),description:e=>t("td",{part:O(e.description)},e.description),source_id:e=>t("td",{part:O(e.source_id)},e.source_id),txn_type:e=>t("td",{part:O(e.txn_type)},E[e.txn_type]),created_at:e=>t("td",{part:O(e.created_at)},t("div",{class:"fw-bold"},s(e.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},s(e.created_at,{showTime:!0}))),available_on:e=>t("td",{part:O(e.available_on)},t("div",{class:"fw-bold"},s(e.available_on,{showDisplayDate:!0})),t("div",{class:"fw-bold"},s(e.available_on,{showTime:!0}))),updated_at:e=>t("td",{part:O(e.updated_at)},t("div",{class:"fw-bold"},s(e.updated_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},s(e.updated_at,{showTime:!0})))},x=class{constructor(t){e(this,t),this.clickEvent=a(this,"click-event"),this.errorEvent=a(this,"error-event"),this.balanceTransactions=[],this.isLoading=!0,this.errorMessage=null,this.paging=n,this.pagingParams={},this.columns="created_at,txn_type,description,amount,fee,net",this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:S.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:S.next})},this.rowClickHandler=t=>{const e=t.target.closest("tr").dataset.rowEntityId;if(!e)return;const a=this.balanceTransactions.find((t=>t.id===e));this.clickEvent.emit({name:S.row,data:a})}}componentWillLoad(){this.transactionsTable=new u(this.balanceTransactions,this.columns,q,B),p(),this.analytics=new d(this),this.initializeApi()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeApi()}handleError(t,e,a){this.isLoading=!1,this.errorEvent.emit({errorCode:t,message:e,severity:a})}initializeApi(){this.payoutId&&this.authToken?(({accountId:t,authToken:e,service:a})=>async({params:i,onSuccess:s,onError:r,final:n})=>{var p;try{const n=await a.fetchPayoutTransactions(t,e,i);n.error?r({error:l(n.error),code:h(null===(p=n.error)||void 0===p?void 0:p.code),severity:o.ERROR}):s({balanceTransactions:n.data.map((t=>new c(t))),pagingInfo:Object.assign({},n.page_info)})}catch(t){const e=h(null==t?void 0:t.code);r({error:l(t),code:e,severity:o.ERROR})}finally{n()}})({accountId:i.accountId,authToken:this.authToken,service:new f})({params:this.requestParams,onSuccess:({balanceTransactions:t,pagingInfo:e})=>{this.balanceTransactions=t,this.paging=e,this.transactionsTable.collectionData=this.balanceTransactions},onError:({error:t,code:e,severity:a})=>{this.errorMessage=t.message,this.handleError(t,e,a)},final:()=>{this.isLoading=!1}}):(this.errorMessage="payout-id and auth-token props are required",this.handleError(r.MISSING_PROPS,this.errorMessage,o.ERROR))}get entityId(){return this.balanceTransactions.map((t=>t.id))}get showEmptyState(){return!this.isLoading&&!this.errorMessage&&this.transactionsTable.rowData.length<1}get showErrorState(){return!this.isLoading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.isLoading}get requestParams(){return Object.assign({payout_id:this.payoutId,limit:"15"},this.pagingParams)}render(){return t(I,{key:"3cd7ace37599772de8eff537c9e3f55f47806438"},t(m,{key:"dc452066ad9ea340928eb46cf066b14879b03da3"},t(y,{key:"b9432f88ea632667ef4c5dab5d7fb9c93ef216d9"},t(b,{key:"e3ec6220544923b0da36962175a83ebcbc4f5ec0"},t(_,{key:"ba1337dfd25e72cfea80742be409ea2120c1fd90"},this.transactionsTable.columnData.map((t=>t)))),t(w,{key:"abae90255e377f9a5714412ea63a0531bbbadd15"},t(j,{key:"aa83ef0f731bb3f256429a2861db65e8b928505a",columnSpan:this.transactionsTable.columnKeys.length,isLoading:this.isLoading}),t(v,{key:"5d56c98acabd29e81d921d48178c4fab57fd0b31",isEmpty:this.showEmptyState,columnSpan:this.transactionsTable.columnKeys.length}),t(T,{key:"d7c517f477071c51026650cd4a58357f10047b97",columnSpan:this.transactionsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.transactionsTable.rowData.map(((e,a)=>t(g,{"data-test-id":"table-row","data-row-entity-id":this.entityId[a],onClick:this.rowClickHandler},e)))),this.paging&&t(k,{key:"355844893dd1263d483a6f55749435b949856ca6"},t(D,{key:"6d383897a69110e66a1478609538f975f1a8694b"},t(C,{key:"72ef4e146147b7f8ad6902ce0380d7cf1d200764",colSpan:this.transactionsTable.columnData.length},t("pagination-menu",{key:"500f5a0aa17c25d0085a9d2f3c9ce80488924880",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})})))))))}static get watchers(){return{pagingParams:["propChanged"],payoutId:["propChanged"],authToken:["propChanged"]}}};export{x as justifi_payout_transactions_list}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as i,h as e}from"./p-kpoIU4v_.js";import{A as r}from"./p-Dj1uo4J3.js";import{C as s,a as o}from"./p-Cjcsf8ku.js";import"./p-Bou1Z4Bm.js";import"./p-CLHwhyvu.js";import"./p-BDUTtU21.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";import{g as n,a}from"./p-D2muobcE.js";import{c,J as p}from"./p-
|
|
1
|
+
import{r as t,c as i,h as e}from"./p-kpoIU4v_.js";import{A as r}from"./p-Dj1uo4J3.js";import{C as s,a as o}from"./p-Cjcsf8ku.js";import"./p-Bou1Z4Bm.js";import"./p-CLHwhyvu.js";import"./p-BDUTtU21.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";import{g as n,a}from"./p-D2muobcE.js";import{c,J as p}from"./p-qaWnx68E.js";import{c as u}from"./p-BYakc1Om.js";import"./p-9y5MOK55.js";import"./p-7WIgS5RM.js";import"./p-B7jE0g5_.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-nXYG32aI.js";const d=r();class m{async fetchQuote(t,i){return d.post({endpoint:"insurance/quotes",body:i,authToken:t})}async toggleCoverage(t,i,e){return d.post({endpoint:`insurance/quotes/${i}/toggle`,body:e,authToken:t})}}const h=class{constructor(e){t(this,e),this.errorEvent=i(this,"error-event")}async validate(){return this.seasonInterruptionCoreRef.validate()}componentWillLoad(){c(),this.analytics=new p(this),this.initializeServiceMethods()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}initializeServiceMethods(){const t=this.authToken||u.authToken;if(!t)return void this.errorEvent.emit({errorCode:o.MISSING_PROPS,message:"Missing authToken",severity:s.ERROR});const i={authToken:t,service:new m};this.getQuote=(({authToken:t,service:i})=>async({payload:e,onSuccess:r,onError:o})=>{var c;try{const p=await i.fetchQuote(t,e);if(p.error)return o({error:a(p.error),code:n(null===(c=p.error)||void 0===c?void 0:c.code),severity:s.ERROR});r({quote:p.data})}catch(t){const i=n(null==t?void 0:t.code);return o({error:t.message||t,code:i,severity:s.ERROR})}})(i),this.toggleCoverage=(({authToken:t,service:i})=>async({quoteId:e,payload:r,onSuccess:o,onError:c})=>{var p;try{const u=await i.toggleCoverage(t,e,r);if(u.error)return c({error:a(u.error),code:n(null===(p=u.error)||void 0===p?void 0:p.code),severity:s.ERROR});o({quote:u.data})}catch(t){const i=n(null==t?void 0:t.code);return c({error:t.message||t,code:i,severity:s.ERROR})}})(i)}render(){return e("justifi-season-interruption-insurance-core",{key:"a563c1f6daf665c6ae06442c18dd25400b420f39",ref:t=>this.seasonInterruptionCoreRef=t,"checkout-id":this.checkoutId||u.checkoutId,getQuote:this.getQuote,toggleCoverage:this.toggleCoverage,"primary-identity-first-name":this.primaryIdentityFirstName,"primary-identity-last-name":this.primaryIdentityLastName,"primary-identity-state":this.primaryIdentityState,"primary-identity-postal-code":this.primaryIdentityPostalCode,"primary-identity-country":this.primaryIdentityCountry,"primary-identity-email-address":this.primaryIdentityEmailAddress,"policy-attributes-insurable-amount":this.policyAttributesInsurableAmount,"policy-attributes-start-date":this.policyAttributesStartDate,"policy-attributes-end-date":this.policyAttributesEndDate,"covered-identity-first-name":this.coveredIdentityFirstName,"covered-identity-last-name":this.coveredIdentityLastName})}};export{h as justifi_season_interruption_insurance}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,c as t,h as r}from"./p-kpoIU4v_.js";import{A as o}from"./p-Dj1uo4J3.js";import{C as i,a as e}from"./p-Cjcsf8ku.js";import"./p-Bou1Z4Bm.js";import"./p-CLHwhyvu.js";import"./p-BDUTtU21.js";import"./p-BlJnA265.js";import"./p-7MWRbTXI.js";import{g as a,a as n}from"./p-D2muobcE.js";import{E as p}from"./p-CEYGUVns.js";import{c as h,J as c}from"./p-qaWnx68E.js";import"./p-9y5MOK55.js";import"./p-7WIgS5RM.js";import"./p-B7jE0g5_.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-D3G5aVLy.js";import"./p-nXYG32aI.js";const m=o();class u{async fetchGrossVolumeChartData(s,t){return m.get({endpoint:`account/${s}/reports/gross_volume`,authToken:t})}}const j=class{constructor(r){s(this,r),this.errorEvent=t(this,"error-event"),this.errorMessage=null,this.handleErrorEvent=s=>{this.errorMessage=s.detail.message,this.errorEvent.emit(s.detail)}}componentWillLoad(){h(),this.analytics=new c(this),this.initializeGetGrossPayment()}disconnectedCallback(){var s;null===(s=this.analytics)||void 0===s||s.cleanup()}propChanged(){this.initializeGetGrossPayment()}initializeGetGrossPayment(){this.accountId&&this.authToken?this.getGrossPayment=(({id:s,authToken:t,service:r})=>async({onSuccess:o,onError:e})=>{var p;try{const h=await r.fetchGrossVolumeChartData(s,t);h.error?e({error:n(h.error),code:a(null===(p=h.error)||void 0===p?void 0:p.code),severity:i.ERROR}):o(h.data)}catch(s){const t=a(null==s?void 0:s.code);e({error:n(s),code:t,severity:i.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new u}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:e.MISSING_PROPS,message:this.errorMessage,severity:i.ERROR}))}render(){return this.errorMessage?p(this.errorMessage):r("gross-payment-chart-core",{getGrossPayment:this.getGrossPayment,"onError-event":this.handleErrorEvent})}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{j as justifi_gross_payment_chart}
|