@justifi/webcomponents 5.7.6-rc-18 → 5.7.6-rc-20

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.
Files changed (92) hide show
  1. package/dist/cjs/{check-pkg-version-CgL8WQc_.js → check-pkg-version-YrC82qgd.js} +1 -1
  2. package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
  3. package/dist/cjs/justifi-apple-pay.cjs.entry.js +6 -5
  4. package/dist/cjs/justifi-bank-account-form_5.cjs.entry.js +2 -2
  5. package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
  6. package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
  7. package/dist/cjs/justifi-button_5.cjs.entry.js +2 -2
  8. package/dist/cjs/justifi-checkout.cjs.entry.js +2 -2
  9. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +2 -2
  10. package/dist/cjs/justifi-dispute-management.cjs.entry.js +2 -2
  11. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +2 -2
  12. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
  13. package/dist/cjs/justifi-order-terminals.cjs.entry.js +2 -2
  14. package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
  15. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
  16. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +2 -2
  17. package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
  18. package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
  19. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +2 -2
  20. package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
  21. package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
  22. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -2
  23. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +2 -2
  24. package/dist/cjs/justifi-terminals-list.cjs.entry.js +2 -2
  25. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +2 -2
  26. package/dist/cjs/{package-BuyUN-rG.js → package-DXiZjuAU.js} +1 -1
  27. package/dist/collection/api/services/apple-pay.service.js +2 -1
  28. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +5 -4
  29. package/dist/docs.json +3 -3
  30. package/dist/esm/{check-pkg-version-DcgvYBss.js → check-pkg-version-BZNENotR.js} +1 -1
  31. package/dist/esm/hidden-input_2.entry.js +1 -1
  32. package/dist/esm/justifi-apple-pay.entry.js +6 -5
  33. package/dist/esm/justifi-bank-account-form_5.entry.js +2 -2
  34. package/dist/esm/justifi-business-details.entry.js +2 -2
  35. package/dist/esm/justifi-business-form.entry.js +2 -2
  36. package/dist/esm/justifi-button_5.entry.js +2 -2
  37. package/dist/esm/justifi-checkout.entry.js +2 -2
  38. package/dist/esm/justifi-checkouts-list.entry.js +2 -2
  39. package/dist/esm/justifi-dispute-management.entry.js +2 -2
  40. package/dist/esm/justifi-dispute-notification_3.entry.js +2 -2
  41. package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
  42. package/dist/esm/justifi-order-terminals.entry.js +2 -2
  43. package/dist/esm/justifi-payment-details.entry.js +2 -2
  44. package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
  45. package/dist/esm/justifi-payment-transactions-list.entry.js +2 -2
  46. package/dist/esm/justifi-payments-list.entry.js +2 -2
  47. package/dist/esm/justifi-payout-details.entry.js +2 -2
  48. package/dist/esm/justifi-payout-transactions-list.entry.js +2 -2
  49. package/dist/esm/justifi-payouts-list.entry.js +2 -2
  50. package/dist/esm/justifi-refund-payment.entry.js +2 -2
  51. package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -2
  52. package/dist/esm/justifi-terminal-orders-list.entry.js +2 -2
  53. package/dist/esm/justifi-terminals-list.entry.js +2 -2
  54. package/dist/esm/justifi-tokenize-payment-method.entry.js +2 -2
  55. package/dist/esm/{package--Ab7NjUs.js → package-Byn89EGB.js} +1 -1
  56. package/dist/module/justifi-apple-pay.js +5 -4
  57. package/dist/module/package.js +1 -1
  58. package/dist/types/components.d.ts +2 -2
  59. package/dist/webcomponents/p-13c6b62d.entry.js +1 -0
  60. package/dist/webcomponents/{p-a8867388.entry.js → p-1725d238.entry.js} +1 -1
  61. package/dist/webcomponents/p-1983e091.entry.js +1 -0
  62. package/dist/webcomponents/{p-2d939102.entry.js → p-25e489a5.entry.js} +1 -1
  63. package/dist/webcomponents/{p-b91c5440.entry.js → p-293e26e2.entry.js} +1 -1
  64. package/dist/webcomponents/{p-996a1fca.entry.js → p-322d93de.entry.js} +1 -1
  65. package/dist/webcomponents/{p-0d805d71.entry.js → p-488ef156.entry.js} +1 -1
  66. package/dist/webcomponents/{p-33ab768e.entry.js → p-48ae2fd5.entry.js} +1 -1
  67. package/dist/webcomponents/{p-2c765088.entry.js → p-4a086220.entry.js} +1 -1
  68. package/dist/webcomponents/{p-d9e87345.entry.js → p-51bacc96.entry.js} +1 -1
  69. package/dist/webcomponents/{p-378019b6.entry.js → p-5c43f33e.entry.js} +1 -1
  70. package/dist/webcomponents/{p-fbb89dcf.entry.js → p-5e71c29d.entry.js} +1 -1
  71. package/dist/webcomponents/{p-539afc41.entry.js → p-643ce4e6.entry.js} +1 -1
  72. package/dist/webcomponents/{p-ea472ab4.entry.js → p-78e96813.entry.js} +1 -1
  73. package/dist/webcomponents/{p-885e4e72.entry.js → p-92b3d81d.entry.js} +1 -1
  74. package/dist/webcomponents/{p-B16hhI5M.js → p-BhPJwhHm.js} +1 -1
  75. package/dist/webcomponents/p-Byn89EGB.js +1 -0
  76. package/dist/webcomponents/{p-05e2deb4.entry.js → p-a494dba1.entry.js} +1 -1
  77. package/dist/webcomponents/p-a9b0051a.entry.js +1 -0
  78. package/dist/webcomponents/{p-c7ab53bc.entry.js → p-bcab6e31.entry.js} +1 -1
  79. package/dist/webcomponents/{p-17bb2ed6.entry.js → p-c4fd0aaf.entry.js} +1 -1
  80. package/dist/webcomponents/p-c9fc0d42.entry.js +1 -0
  81. package/dist/webcomponents/{p-8c165b52.entry.js → p-ea840b3c.entry.js} +1 -1
  82. package/dist/webcomponents/{p-d6256beb.entry.js → p-f2f46f62.entry.js} +1 -1
  83. package/dist/webcomponents/{p-ac7663dd.entry.js → p-f61c14a3.entry.js} +1 -1
  84. package/dist/webcomponents/p-fafc8e27.entry.js +1 -0
  85. package/dist/webcomponents/webcomponents.esm.js +1 -1
  86. package/package.json +1 -1
  87. package/dist/webcomponents/p--Ab7NjUs.js +0 -1
  88. package/dist/webcomponents/p-00a81662.entry.js +0 -1
  89. package/dist/webcomponents/p-3798a371.entry.js +0 -1
  90. package/dist/webcomponents/p-38520e51.entry.js +0 -1
  91. package/dist/webcomponents/p-9ecfccb3.entry.js +0 -1
  92. package/dist/webcomponents/p-ea8a09a7.entry.js +0 -1
@@ -1,10 +1,11 @@
1
1
  import { h, r as registerInstance, c as createEvent } from './index-kpoIU4v_.js';
2
+ import { c as configState } from './config-state-BrllxiM0.js';
2
3
  import { S as StyledHost } from './styled-host-B_XBaM7z.js';
3
4
  import './event-types-CZfYo5-1.js';
4
5
  import { S as Skeleton } from './skeleton-CZfDofm6.js';
5
6
  import { c as checkoutStore, o as onChange } from './checkout.store-QrBBYQfi.js';
6
- import './parts-D3G5aVLy.js';
7
7
  import './index-B9me4yN2.js';
8
+ import './parts-D3G5aVLy.js';
8
9
 
9
10
  var ApplePaySessionStatus;
10
11
  (function (ApplePaySessionStatus) {
@@ -153,7 +154,7 @@ const isValidMerchantSession = (merchantSession) => {
153
154
  };
154
155
  class ApplePayService {
155
156
  constructor() {
156
- this.apiBaseUrl = 'https://api.justifi-staging.com';
157
+ this.apiBaseUrl = configState.apiOrigin;
157
158
  }
158
159
  /**
159
160
  * Set custom API base URL
@@ -668,7 +669,7 @@ const ApplePay = class {
668
669
  this.merchantIdentifier = "merchant.com.staging-justifi.checkout-dev";
669
670
  this.merchantDisplayName = "JustiFi Checkout";
670
671
  this.initiativeContext = "dev-checkout.justifi-staging.com";
671
- this.apiBaseUrl = "https://api.justifi-staging.com";
672
+ this.apiBaseUrl = configState.apiOrigin;
672
673
  this.buttonType = ApplePayButtonType.PLAIN;
673
674
  this.buttonStyle = ApplePayButtonStyle.BLACK;
674
675
  this.disabled = false;
@@ -821,10 +822,10 @@ const ApplePay = class {
821
822
  this.isAvailable &&
822
823
  this.canMakePayments &&
823
824
  !this.error;
824
- return (h(StyledHost, { key: '1067306dfa050d5c89d9bc64991c4a8e95427b3e' }, h("script", { key: '737e6d849fffc8902867dfa8a68d18f0da81f4fd', async: true, src: "https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js" }), h("div", { key: 'b354353c65d7f56db82c61ff088ed1d37eea905b', class: 'apple-pay-container' }, h(ApplePaySkeleton, { key: '82d80ec54612e57b7a1eef76925194659e3186bb', isReady: isReady }), !this.isLoading && this.error && (h("div", { key: '0b5923bfbc3d0616fee8de4fd43b149810b91ca4', class: 'apple-pay-error', role: 'alert' }, h("span", { key: 'f3a885c30fee6375becfa53c147895db58ab1336', class: 'error-icon' }, "\u26A0\uFE0F"), h("span", { key: '3a5ff8b3f89c46092fe41a04eb9dd635fe959d34', class: 'error-message' }, this.error))), !this.isLoading && !this.error && !this.isAvailable && (h("div", { key: '1a5ad2a2ed7e748dab98e66dca56b337991ef648', class: 'apple-pay-unavailable' }, h("span", { key: '7684e951c36278404e15b8497e9c74ffeb2cb992', class: 'unavailable-message' }, "Apple Pay is not available on this device"))), !this.isLoading &&
825
+ return (h(StyledHost, { key: 'd55dda44d46f4656c7a9ff6885391947f857c2dc' }, h("script", { key: '723e706fc06e2c1e3561986e8a589e6e1e189a60', async: true, src: "https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js" }), h("div", { key: 'efbcd52f6524a949b5f214a3344a0b529f30dce1', class: 'apple-pay-container' }, h(ApplePaySkeleton, { key: 'fefcd7c8d03f2d35f344382fda095f460b70a400', isReady: isReady }), !this.isLoading && this.error && (h("div", { key: '459f2d85daa0c51993d1bc4b4714ae987537dfef', class: 'apple-pay-error', role: 'alert' }, h("span", { key: 'cd1169c676cb4ddb45aa21a4fa22a9758fb7e9cb', class: 'error-icon' }, "\u26A0\uFE0F"), h("span", { key: '9bcef321a5083deef7b94c99a290b1168bbf8522', class: 'error-message' }, this.error))), !this.isLoading && !this.error && !this.isAvailable && (h("div", { key: '1fef9ea9163afa8e6813a35a386392c33ef8ae27', class: 'apple-pay-unavailable' }, h("span", { key: '394ec2ba879d948ee79947ba90e890ba27454b5a', class: 'unavailable-message' }, "Apple Pay is not available on this device"))), !this.isLoading &&
825
826
  !this.error &&
826
827
  this.isAvailable &&
827
- this.canMakePayments && (h(ApplePayButton, { key: '94c75b7ab68f8ff02e4953689de8931cb5aab1f2', buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick }))), h("style", { key: 'acdef8691d85e319fc0ab548443173f2bd32029d' }, `
828
+ this.canMakePayments && (h(ApplePayButton, { key: '79fbd6c1e0ee6d7fcf3a96d3cc88dcb6118ce81e', buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick }))), h("style", { key: 'ec8cceea78e8d9d961d2e2e1376232cea4273a6a' }, `
828
829
  .apple-pay-container {
829
830
  width: 100%;
830
831
  }
@@ -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-DcgvYBss.js';
5
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
13
+ import './package-Byn89EGB.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-DcgvYBss.js';
6
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
20
+ import './package-Byn89EGB.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-DcgvYBss.js';
13
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
28
+ import './package-Byn89EGB.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-DcgvYBss.js';
11
+ import { J as JustifiAnalytics, c as checkPkgVersion } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
22
+ import './package-Byn89EGB.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-DcgvYBss.js';
2
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
8
+ import './package-Byn89EGB.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-DcgvYBss.js';
11
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
20
+ import './package-Byn89EGB.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-DcgvYBss.js';
3
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
7
+ import './package-Byn89EGB.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-DcgvYBss.js';
12
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
23
+ import './package-Byn89EGB.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-DcgvYBss.js';
11
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
18
+ import './package-Byn89EGB.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-DcgvYBss.js';
5
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
19
+ import './package-Byn89EGB.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-DcgvYBss.js';
6
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
20
+ import './package-Byn89EGB.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-DcgvYBss.js';
2
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
12
+ import './package-Byn89EGB.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-DcgvYBss.js';
10
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
20
+ import './package-Byn89EGB.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-DcgvYBss.js';
12
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
20
+ import './package-Byn89EGB.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-DcgvYBss.js';
13
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
20
+ import './package-Byn89EGB.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-DcgvYBss.js';
10
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
20
+ import './package-Byn89EGB.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-DcgvYBss.js';
3
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
18
+ import './package-Byn89EGB.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-DcgvYBss.js';
16
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
25
+ import './package-Byn89EGB.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-DcgvYBss.js';
10
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
17
+ import './package-Byn89EGB.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-DcgvYBss.js';
4
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
16
+ import './package-Byn89EGB.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-DcgvYBss.js';
3
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
17
+ import './package-Byn89EGB.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-DcgvYBss.js';
5
+ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version-BZNENotR.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--Ab7NjUs.js';
16
+ import './package-Byn89EGB.js';
17
17
  import './Api-DQM93PRm.js';
18
18
  import './index-B9me4yN2.js';
19
19
  import './helpers-Mu7LQT-w.js';
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "5.7.6-rc-18";
2
+ const version = "5.7.6-rc-20";
3
3
  var packageJson = {
4
4
  name: name,
5
5
  version: version};
@@ -1,4 +1,5 @@
1
1
  import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
2
+ import { c as configState } from './config-state.js';
2
3
  import { S as StyledHost } from './styled-host.js';
3
4
  import './details.js';
4
5
  import './event-types.js';
@@ -152,7 +153,7 @@ const isValidMerchantSession = (merchantSession) => {
152
153
  };
153
154
  class ApplePayService {
154
155
  constructor() {
155
- this.apiBaseUrl = 'https://api.justifi-staging.com';
156
+ this.apiBaseUrl = configState.apiOrigin;
156
157
  }
157
158
  /**
158
159
  * Set custom API base URL
@@ -669,7 +670,7 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
669
670
  this.merchantIdentifier = "merchant.com.staging-justifi.checkout-dev";
670
671
  this.merchantDisplayName = "JustiFi Checkout";
671
672
  this.initiativeContext = "dev-checkout.justifi-staging.com";
672
- this.apiBaseUrl = "https://api.justifi-staging.com";
673
+ this.apiBaseUrl = configState.apiOrigin;
673
674
  this.buttonType = ApplePayButtonType.PLAIN;
674
675
  this.buttonStyle = ApplePayButtonStyle.BLACK;
675
676
  this.disabled = false;
@@ -822,10 +823,10 @@ const ApplePay = /*@__PURE__*/ proxyCustomElement(class ApplePay extends HTMLEle
822
823
  this.isAvailable &&
823
824
  this.canMakePayments &&
824
825
  !this.error;
825
- return (h(StyledHost, { key: '1067306dfa050d5c89d9bc64991c4a8e95427b3e' }, h("script", { key: '737e6d849fffc8902867dfa8a68d18f0da81f4fd', async: true, src: "https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js" }), h("div", { key: 'b354353c65d7f56db82c61ff088ed1d37eea905b', class: 'apple-pay-container' }, h(ApplePaySkeleton, { key: '82d80ec54612e57b7a1eef76925194659e3186bb', isReady: isReady }), !this.isLoading && this.error && (h("div", { key: '0b5923bfbc3d0616fee8de4fd43b149810b91ca4', class: 'apple-pay-error', role: 'alert' }, h("span", { key: 'f3a885c30fee6375becfa53c147895db58ab1336', class: 'error-icon' }, "\u26A0\uFE0F"), h("span", { key: '3a5ff8b3f89c46092fe41a04eb9dd635fe959d34', class: 'error-message' }, this.error))), !this.isLoading && !this.error && !this.isAvailable && (h("div", { key: '1a5ad2a2ed7e748dab98e66dca56b337991ef648', class: 'apple-pay-unavailable' }, h("span", { key: '7684e951c36278404e15b8497e9c74ffeb2cb992', class: 'unavailable-message' }, "Apple Pay is not available on this device"))), !this.isLoading &&
826
+ return (h(StyledHost, { key: 'd55dda44d46f4656c7a9ff6885391947f857c2dc' }, h("script", { key: '723e706fc06e2c1e3561986e8a589e6e1e189a60', async: true, src: "https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js" }), h("div", { key: 'efbcd52f6524a949b5f214a3344a0b529f30dce1', class: 'apple-pay-container' }, h(ApplePaySkeleton, { key: 'fefcd7c8d03f2d35f344382fda095f460b70a400', isReady: isReady }), !this.isLoading && this.error && (h("div", { key: '459f2d85daa0c51993d1bc4b4714ae987537dfef', class: 'apple-pay-error', role: 'alert' }, h("span", { key: 'cd1169c676cb4ddb45aa21a4fa22a9758fb7e9cb', class: 'error-icon' }, "\u26A0\uFE0F"), h("span", { key: '9bcef321a5083deef7b94c99a290b1168bbf8522', class: 'error-message' }, this.error))), !this.isLoading && !this.error && !this.isAvailable && (h("div", { key: '1fef9ea9163afa8e6813a35a386392c33ef8ae27', class: 'apple-pay-unavailable' }, h("span", { key: '394ec2ba879d948ee79947ba90e890ba27454b5a', class: 'unavailable-message' }, "Apple Pay is not available on this device"))), !this.isLoading &&
826
827
  !this.error &&
827
828
  this.isAvailable &&
828
- this.canMakePayments && (h(ApplePayButton, { key: '94c75b7ab68f8ff02e4953689de8931cb5aab1f2', buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick }))), h("style", { key: 'acdef8691d85e319fc0ab548443173f2bd32029d' }, `
829
+ this.canMakePayments && (h(ApplePayButton, { key: '79fbd6c1e0ee6d7fcf3a96d3cc88dcb6118ce81e', buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick }))), h("style", { key: 'ec8cceea78e8d9d961d2e2e1376232cea4273a6a' }, `
829
830
  .apple-pay-container {
830
831
  width: 100%;
831
832
  }
@@ -1,5 +1,5 @@
1
1
  const name = "@justifi/webcomponents";
2
- const version = "5.7.6-rc-18";
2
+ const version = "5.7.6-rc-20";
3
3
  var webcomponentsPackageJson = {
4
4
  name: name,
5
5
  version: version};
@@ -283,7 +283,7 @@ export namespace Components {
283
283
  interface JustifiApplePay {
284
284
  "abort": () => Promise<void>;
285
285
  /**
286
- * @default "https://api.justifi-staging.com"
286
+ * @default configState.apiOrigin
287
287
  */
288
288
  "apiBaseUrl": string;
289
289
  /**
@@ -3253,7 +3253,7 @@ declare namespace LocalJSX {
3253
3253
  }
3254
3254
  interface JustifiApplePay {
3255
3255
  /**
3256
- * @default "https://api.justifi-staging.com"
3256
+ * @default configState.apiOrigin
3257
3257
  */
3258
3258
  "apiBaseUrl"?: string;
3259
3259
  /**
@@ -0,0 +1 @@
1
+ import{h as i,r as s,c as t}from"./p-kpoIU4v_.js";import{ap as e,am as r,ae as o,z as l}from"./p-D3G5aVLy.js";import{S as d}from"./p-CRFzwZW6.js";import"./p-CZfYo5-1.js";import{c as n,J as a}from"./p-BhPJwhHm.js";import{C as h,a as c}from"./p-Cjcsf8ku.js";import{B as u}from"./p-DVPcHdzq.js";import{B as v}from"./p-BlJnA265.js";import{m as p}from"./p-DH8F0bsw.js";import{S as m}from"./p-Bz8JT676.js";import"./p-9y5MOK55.js";import{k as f}from"./p-B7jE0g5_.js";import{h as b,g as w,b as y}from"./p-Bou1Z4Bm.js";import"./p-CLHwhyvu.js";import"./p-BDUTtU21.js";import"./p-7MWRbTXI.js";import{g,a as j}from"./p-D2muobcE.js";import{T as x}from"./p-DtsIovbb.js";import"./p-Byn89EGB.js";import"./p-Dj1uo4J3.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-7WIgS5RM.js";const B=()=>i("div",{class:"row gap-3"},i("div",{class:"col-12"},i(m,{width:"25%"})),i("div",{class:"col-12"},i(m,{width:"100%"})),i("div",{class:"col-12 d-flex gap-3"},i(m,{width:"50%"}),i(m,{width:"50%"})),i("div",{class:"col-12 d-flex gap-3"},i(m,{width:"65%"}),i(m,{width:"35%"}))),k=()=>i("div",{class:"row gap-5"},i("div",{class:"col-12"},i(m,{width:"40%",height:"40px"})),i(B,null)),S=()=>i("div",{class:"terminal-selector-skeleton mt-4 rounded shadow-sm"},i("div",{class:"d-flex align-items-center gap-3"},i(m,{width:"125px",height:"125px",styles:{borderRadius:"8px"}}),i("div",{class:"flex-grow-1"},i("div",{class:"d-flex row flex-row"},i("div",{class:"col-6 flex-column"},i(m,null),i(m,{width:"60%"})),i("div",{class:"d-flex justify-content-end align-items-center gap-2 col-6"},i(m,{width:"32px",height:"32px",styles:{borderRadius:"50%"}}),i(m,{width:"80px",height:"32px"}),i(m,{width:"32px",height:"32px",styles:{borderRadius:"50%"}}))),i("div",{class:"mt-4"},i("div",{class:"d-flex flex-column gap-2"},i(m,null),i(m,null)))))),T=class{constructor(i){s(this,i),this.errorEvent=t(this,"error-event"),this.submitted=t(this,"submit-event"),this.shipping=!1,this.submitButtonText="Submit Order",this.loading={business:!0,terminals:!0},this.submitting=!1,this.error=null,this.totalQuantity=0}componentWillLoad(){this.order=new w({business_id:this.businessId,sub_account_id:this.accountId,order_type:this.shipping?y.boardingShipping:y.boardingOnly}),n(),this.analytics=new a(this),this.loadData()}disconnectedCallback(){var i;null===(i=this.analytics)||void 0===i||i.cleanup()}handleError(i,s,t){this.error={message:i,code:s,severity:t},this.errorEvent.emit({errorCode:s,message:i,severity:t})}loadData(){this.businessId&&this.authToken?(this.initializeGetBusiness(),this.initializeGetTerminalModels()):this.handleError("Invalid business id or auth token",c.MISSING_PROPS,h.ERROR)}initializeGetBusiness(){p({id:this.businessId,authToken:this.authToken,service:new u})({onSuccess:({business:i})=>{this.business=new v(i),this.loading.business=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.loading.business=!1}})}initializeGetTerminalModels(){(({id:i,authToken:s,service:t})=>async({onSuccess:e,onError:r})=>{var o,l,d,n;try{const a=await t.fetchTerminalModels(i,s);if(a.error)return r({error:j(a.error),code:g(null===(n=a.error)||void 0===n?void 0:n.code),severity:h.ERROR});e({terminals:(null===(l=null===(o=a.data)||void 0===o?void 0:o.terminal_order_models)||void 0===l?void 0:l.map((i=>new b(i))))||[],orderLimit:null===(d=a.data)||void 0===d?void 0:d.order_limit})}catch(i){const s=g(null==i?void 0:i.code);return r({error:i.message||i,code:s,severity:h.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new x})({onSuccess:({terminals:i,orderLimit:s})=>{this.terminalModels=i,this.orderLimit=s,this.loading.terminals=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.loading.terminals=!1}})}submitOrder(){const i=(({authToken:i,service:s,apiOrigin:t="https://wc-proxy.justifi.ai"})=>async({terminalOrder:e,onSuccess:r,onError:o})=>{var l;try{const d=await s.orderTerminals(i,e,t);if(d.error)return o({error:j(d.error),code:g(null===(l=d.error)||void 0===l?void 0:l.code),severity:h.ERROR});{const{data:i}=d;r({data:i})}}catch(i){const s=g(null==i?void 0:i.code);return o({error:i.message||i,code:s,severity:h.ERROR})}})({authToken:this.authToken,service:new x});this.submitting=!0,i({terminalOrder:this.order.payload,onSuccess:({data:i})=>{this.submitted.emit(i),this.submitting=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.submitting=!1}})}onSelectedQuantityChange(i){this.order.updateTerminal(i.detail.modelName,i.detail.quantity),this.totalQuantity=this.order.totalQuantity}renderLoading(){return i("div",null,this.loading.business&&i(k,null),this.loading.terminals&&i("div",{class:"mt-5"},i(S,null),i(S,null),i(S,null)))}renderBusinessDetails(){var s,t,o,l,d,n,a,h;if(!this.loading.business&&this.business)return i("div",{class:"d-flex flex-column gap-4 mb-5 pt-5"},i("div",{class:"row"},i("div",{class:"col-12"},i("h2",{part:r},this.business.legal_name))),i("div",{class:"row"},i("div",{class:"col-6"},i("h5",{part:e},"Representative:"),i("div",null,i("div",null,null===(t=null===(s=this.business)||void 0===s?void 0:s.representative)||void 0===t?void 0:t.name),i("div",null,null===(l=null===(o=this.business)||void 0===o?void 0:o.representative)||void 0===l?void 0:l.title),i("div",null,null===(n=null===(d=this.business)||void 0===d?void 0:d.representative)||void 0===n?void 0:n.email),i("div",null,f(null===(h=null===(a=this.business)||void 0===a?void 0:a.representative)||void 0===h?void 0:h.phone)))),i("div",{class:"col-6"},i("h5",{part:e},this.shipping?"Shipping Address:":"Business Address:"),i("div",null,this.business.legal_address.line1,this.business.legal_address.line2?`, ${this.business.legal_address.line2}`:"",i("br",null),this.business.legal_address.city,", ",this.business.legal_address.state," ",this.business.legal_address.postal_code))))}renderTerminals(){if(!this.loading.terminals&&this.terminalModels)return i("div",{class:"d-flex flex-column gap-2 mt-5"},this.terminalModels.map((s=>i("terminal-quantity-selector",{modelName:s.model_name,description:s.description,imageUrl:s.image_url,helpUrl:s.help_url,limit:this.orderLimit-this.order.totalQuantity,onSelectedQuantityChange:this.onSelectedQuantityChange.bind(this)}))))}renderOrderSection(){return i("div",{class:"mt-3"},i("div",{class:"text-end"},"Order limit: ",this.orderLimit),i("div",{class:"d-flex justify-content-end mt-3"},i("button",{class:"btn btn-primary submit-btn",onClick:this.submitOrder.bind(this),disabled:0===this.order.totalQuantity||this.submitting,part:o},this.submitting?"Submitting...":this.submitButtonText)))}render(){return i(d,{key:"3c9d82edf60cb15cae0ca399dc72b108eb645da1"},i("div",{key:"cb70067e7bf65760fbe1f3b6c86b705d4f1bb602",part:l},this.renderLoading(),this.renderBusinessDetails(),this.renderTerminals(),this.renderOrderSection()))}};export{T as justifi_order_terminals}
@@ -1 +1 @@
1
- import{r as e,c as t,h as a}from"./p-kpoIU4v_.js";import{c as d,J as i}from"./p-B16hhI5M.js";import{c as s}from"./p-BYakc1Om.js";import{d as c}from"./p-D3G5aVLy.js";import{P as o}from"./p-BDUTtU21.js";import{S as f}from"./p-CRFzwZW6.js";import"./p-CZfYo5-1.js";import"./p--Ab7NjUs.js";import"./p-Dj1uo4J3.js";import"./p-9y5MOK55.js";import"./p-7WIgS5RM.js";import"./p-B7jE0g5_.js";import"./p-Cjcsf8ku.js";import"./p-Bou1Z4Bm.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-7MWRbTXI.js";const h={bankAccount:"New bank account",card:"New credit or debit card"},r=class{constructor(a){e(this,a),this.errorEvent=t(this,"error-event"),this.loadedEvent=t(this,"loaded"),this.submitEvent=t(this,"submit-event"),this.errorMessage="",this.insuranceToggled=!1,this.isSubmitting=!1,this.paymentMethodOptions=[],this.savePaymentMethod=!1,this.disableBankAccount=!1,this.disableBnpl=!1,this.disableCreditCard=!1,this.disablePaymentMethodGroup=!1,this.hideBankAccountBillingForm=!1,this.hideCardBillingForm=!1}propChanged(){this.updateStore()}connectedCallback(){this.authToken&&this.checkoutId&&this.updateStore()}componentWillLoad(){d(),this.analytics=new i(this)}disconnectedCallback(){var e;null===(e=this.analytics)||void 0===e||e.cleanup()}savePaymentMethodChanged(e){this.savePaymentMethod=e.detail}checkoutComplete(e){this.isSubmitting=!1}checkoutError(e){this.isSubmitting=!1,console.error("checkout error",e.detail)}paymentMethodOptionSelected(e){s.selectedPaymentMethod=e.detail.id}async fillBillingForm(e){s.billingFormFields=e}async validate(){var e;return{isValid:await(null===(e=this.modularCheckoutRef)||void 0===e?void 0:e.validate())}}updateStore(){s.checkoutId=this.checkoutId,s.authToken=this.authToken,s.disableCreditCard=this.disableCreditCard,s.disableBankAccount=this.disableBankAccount,s.disableBnpl=this.disableBnpl,s.disablePaymentMethodGroup=this.disablePaymentMethodGroup}async submit(e){this.isSubmitting=!0,this.modularCheckoutRef.submitCheckout(s.billingFormFields)}get canSavePaymentMethod(){return s.selectedPaymentMethod===o.card||s.selectedPaymentMethod===o.bankAccount}get showBillingForm(){return s.selectedPaymentMethod===o.card&&!this.hideCardBillingForm||s.selectedPaymentMethod===o.bankAccount&&!this.hideBankAccountBillingForm}get showBillingFormSection(){return s.selectedPaymentMethod===o.card||s.selectedPaymentMethod===o.bankAccount}get showPaymentTypeHeader(){return!this.disableCreditCard&&!this.disableBankAccount}get showPostalCodeForm(){return s.selectedPaymentMethod===o.card&&this.hideCardBillingForm}render(){return a(f,{key:"4fb1d82b065de6c1e4651a246a53f8e58451d6f6"},a("justifi-modular-checkout",{key:"232cf32890422f474cf929b7c7ed7246d7b39c75",ref:e=>this.modularCheckoutRef=e,authToken:this.authToken,checkoutId:this.checkoutId,savePaymentMethod:this.canSavePaymentMethod&&this.savePaymentMethod},a("div",{key:"677ad110b05520be3b729995657086f0f6cbf337",class:"row gy-3 jfi-checkout-core"},a("div",{key:"458c84541dd154dd8b4ad1d0f2320e2308cc1785",class:"col-12",part:c},a("justifi-header",{key:"440a7d1ad7b21da3db66e6c6f1f9afefb434a089",text:"Summary",level:"h2",class:"fs-5 fw-bold pb-3"}),a("section",{key:"99bd431a8f70ce6e764cc04da3d0aaae6f0ebcbe"},a("justifi-checkout-summary",{key:"52da663e5bed35f0deb220800c7ede8835a3671b"}))),a("div",{key:"e95b1c6830d20c5af57c558badb04d07d3c48f23",class:"col-12 mt-4"},a("slot",{key:"527d58d4806d2e1bbcba499e97ab65f6c9c7efb9",name:"insurance"})),a("div",{key:"69d1319d1e05852de4f5566ad3be20bc9a6ee499",class:"col-12 mt-4"},a("justifi-header",{key:"1682f909f22172a44da54118aefe428f92908e91",text:"Payment",level:"h2",class:"fs-5 fw-bold pb-3"}),this.showPaymentTypeHeader&&a("justifi-header",{key:"7942a12143bea0235705969737e11d59bc5180e1",text:"Select payment type",level:"h3",class:"fs-6 fw-bold lh-lg"}),a("div",{key:"497664d455695693c4f9a1a4465c62ad4d5b6bdf",class:"d-flex flex-column"},a("section",{key:"d3da4c18b430e1b36f7b9ba20be517994e763b5e"},a("div",{key:"1cc0f0462a0f70d2acc4c9fdee25fbb2fe953c22"},a("justifi-saved-payment-methods",{key:"576da27df84d67bc69f2d95f00a6c440fa73f7ed"}),a("justifi-sezzle-payment-method",{key:"6544a3a250ee012870a9edce71dd763553d44554"}),!this.disableCreditCard&&a("div",{key:"79050f768d8d76c4d882bed667e85391c230a960"},a("payment-method-option",{key:"5a6c1dc583766707e6215203fdba176bd65b501d",paymentMethodOptionId:o.card,isSelected:s.selectedPaymentMethod===o.card,clickHandler:()=>{s.selectedPaymentMethod=o.card},radioButtonHidden:this.disableCreditCard,label:h[o.card]}),s.selectedPaymentMethod===o.card&&a("div",{key:"5e6f0b854191a9a5db8936b2e30518fba251e478",class:"mt-4 mb-4"},a("justifi-card-form",{key:"6c3f72f27dfe36924fe94ab4f7c79b6b9ff19b47"}))),!this.disableBankAccount&&a("div",{key:"f6a88103b2c30e4dd10e733b19aaa29a7a44430c"},a("payment-method-option",{key:"67ef047a8caad5bc389238d54bb3d7056ca4b9e6",paymentMethodOptionId:o.bankAccount,isSelected:s.selectedPaymentMethod===o.bankAccount,clickHandler:()=>{s.selectedPaymentMethod=o.bankAccount},radioButtonHidden:this.disableBankAccount,label:h[o.bankAccount]}),s.selectedPaymentMethod===o.bankAccount&&a("div",{key:"e67924184fc43811523081711f59865a01d7cf9f",class:"mt-4 mb-4"},a("justifi-bank-account-form",{key:"a01cdfe8be1bc98d4c0f75c2a9f2ca1cce519042"}))))))),this.showBillingFormSection&&a("div",{key:"a15f1202548c7d6c302c2b2827168a6a119f8634",class:"col-12 mt-4"},this.showBillingForm&&a("justifi-header",{key:"ee654c812cb097449937da4253e191de1ee669d5",text:"Billing Address",level:"h2",class:"fs-5 fw-bold pb-3"}),this.showPostalCodeForm&&a("justifi-postal-code-form",{key:"2a5736e6da3354f7a9d1a5b8870a2f61c09c2592"}),this.showBillingForm&&a("justifi-billing-information-form",{key:"7dd63931e75d7583b4f51a1f6bb2b1e84a46e078"})),a("div",{key:"54aeb0f07f574ee004ec02cd279265202cffa9bf",class:"col-12"},this.canSavePaymentMethod&&a("justifi-save-new-payment-method",{key:"2e010be22091cee1ebc4353d5dac3b49639175e7"})),a("div",{key:"71df812c8a922ae8b447d647f69675230c092db9",class:"mt-4"},a("justifi-button",{key:"057cd18c6235c73cc69ca85e9cb35a2a614a4d9a",text:"Pay",type:"submit",variant:"primary",clickHandler:e=>this.submit(e),disabled:this.isSubmitting,isLoading:this.isSubmitting,customStyle:{width:"100%",textAlign:"center"}})))))}static get watchers(){return{authToken:["propChanged"],checkoutId:["propChanged"],disableCreditCard:["propChanged"],disableBankAccount:["propChanged"],disableBnpl:["propChanged"],disablePaymentMethodGroup:["propChanged"]}}};export{r as justifi_checkout}
1
+ import{r as e,c as t,h as a}from"./p-kpoIU4v_.js";import{c as d,J as i}from"./p-BhPJwhHm.js";import{c as s}from"./p-BYakc1Om.js";import{d as c}from"./p-D3G5aVLy.js";import{P as o}from"./p-BDUTtU21.js";import{S as f}from"./p-CRFzwZW6.js";import"./p-CZfYo5-1.js";import"./p-Byn89EGB.js";import"./p-Dj1uo4J3.js";import"./p-9y5MOK55.js";import"./p-7WIgS5RM.js";import"./p-B7jE0g5_.js";import"./p-Cjcsf8ku.js";import"./p-Bou1Z4Bm.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-7MWRbTXI.js";const h={bankAccount:"New bank account",card:"New credit or debit card"},r=class{constructor(a){e(this,a),this.errorEvent=t(this,"error-event"),this.loadedEvent=t(this,"loaded"),this.submitEvent=t(this,"submit-event"),this.errorMessage="",this.insuranceToggled=!1,this.isSubmitting=!1,this.paymentMethodOptions=[],this.savePaymentMethod=!1,this.disableBankAccount=!1,this.disableBnpl=!1,this.disableCreditCard=!1,this.disablePaymentMethodGroup=!1,this.hideBankAccountBillingForm=!1,this.hideCardBillingForm=!1}propChanged(){this.updateStore()}connectedCallback(){this.authToken&&this.checkoutId&&this.updateStore()}componentWillLoad(){d(),this.analytics=new i(this)}disconnectedCallback(){var e;null===(e=this.analytics)||void 0===e||e.cleanup()}savePaymentMethodChanged(e){this.savePaymentMethod=e.detail}checkoutComplete(e){this.isSubmitting=!1}checkoutError(e){this.isSubmitting=!1,console.error("checkout error",e.detail)}paymentMethodOptionSelected(e){s.selectedPaymentMethod=e.detail.id}async fillBillingForm(e){s.billingFormFields=e}async validate(){var e;return{isValid:await(null===(e=this.modularCheckoutRef)||void 0===e?void 0:e.validate())}}updateStore(){s.checkoutId=this.checkoutId,s.authToken=this.authToken,s.disableCreditCard=this.disableCreditCard,s.disableBankAccount=this.disableBankAccount,s.disableBnpl=this.disableBnpl,s.disablePaymentMethodGroup=this.disablePaymentMethodGroup}async submit(e){this.isSubmitting=!0,this.modularCheckoutRef.submitCheckout(s.billingFormFields)}get canSavePaymentMethod(){return s.selectedPaymentMethod===o.card||s.selectedPaymentMethod===o.bankAccount}get showBillingForm(){return s.selectedPaymentMethod===o.card&&!this.hideCardBillingForm||s.selectedPaymentMethod===o.bankAccount&&!this.hideBankAccountBillingForm}get showBillingFormSection(){return s.selectedPaymentMethod===o.card||s.selectedPaymentMethod===o.bankAccount}get showPaymentTypeHeader(){return!this.disableCreditCard&&!this.disableBankAccount}get showPostalCodeForm(){return s.selectedPaymentMethod===o.card&&this.hideCardBillingForm}render(){return a(f,{key:"4fb1d82b065de6c1e4651a246a53f8e58451d6f6"},a("justifi-modular-checkout",{key:"232cf32890422f474cf929b7c7ed7246d7b39c75",ref:e=>this.modularCheckoutRef=e,authToken:this.authToken,checkoutId:this.checkoutId,savePaymentMethod:this.canSavePaymentMethod&&this.savePaymentMethod},a("div",{key:"677ad110b05520be3b729995657086f0f6cbf337",class:"row gy-3 jfi-checkout-core"},a("div",{key:"458c84541dd154dd8b4ad1d0f2320e2308cc1785",class:"col-12",part:c},a("justifi-header",{key:"440a7d1ad7b21da3db66e6c6f1f9afefb434a089",text:"Summary",level:"h2",class:"fs-5 fw-bold pb-3"}),a("section",{key:"99bd431a8f70ce6e764cc04da3d0aaae6f0ebcbe"},a("justifi-checkout-summary",{key:"52da663e5bed35f0deb220800c7ede8835a3671b"}))),a("div",{key:"e95b1c6830d20c5af57c558badb04d07d3c48f23",class:"col-12 mt-4"},a("slot",{key:"527d58d4806d2e1bbcba499e97ab65f6c9c7efb9",name:"insurance"})),a("div",{key:"69d1319d1e05852de4f5566ad3be20bc9a6ee499",class:"col-12 mt-4"},a("justifi-header",{key:"1682f909f22172a44da54118aefe428f92908e91",text:"Payment",level:"h2",class:"fs-5 fw-bold pb-3"}),this.showPaymentTypeHeader&&a("justifi-header",{key:"7942a12143bea0235705969737e11d59bc5180e1",text:"Select payment type",level:"h3",class:"fs-6 fw-bold lh-lg"}),a("div",{key:"497664d455695693c4f9a1a4465c62ad4d5b6bdf",class:"d-flex flex-column"},a("section",{key:"d3da4c18b430e1b36f7b9ba20be517994e763b5e"},a("div",{key:"1cc0f0462a0f70d2acc4c9fdee25fbb2fe953c22"},a("justifi-saved-payment-methods",{key:"576da27df84d67bc69f2d95f00a6c440fa73f7ed"}),a("justifi-sezzle-payment-method",{key:"6544a3a250ee012870a9edce71dd763553d44554"}),!this.disableCreditCard&&a("div",{key:"79050f768d8d76c4d882bed667e85391c230a960"},a("payment-method-option",{key:"5a6c1dc583766707e6215203fdba176bd65b501d",paymentMethodOptionId:o.card,isSelected:s.selectedPaymentMethod===o.card,clickHandler:()=>{s.selectedPaymentMethod=o.card},radioButtonHidden:this.disableCreditCard,label:h[o.card]}),s.selectedPaymentMethod===o.card&&a("div",{key:"5e6f0b854191a9a5db8936b2e30518fba251e478",class:"mt-4 mb-4"},a("justifi-card-form",{key:"6c3f72f27dfe36924fe94ab4f7c79b6b9ff19b47"}))),!this.disableBankAccount&&a("div",{key:"f6a88103b2c30e4dd10e733b19aaa29a7a44430c"},a("payment-method-option",{key:"67ef047a8caad5bc389238d54bb3d7056ca4b9e6",paymentMethodOptionId:o.bankAccount,isSelected:s.selectedPaymentMethod===o.bankAccount,clickHandler:()=>{s.selectedPaymentMethod=o.bankAccount},radioButtonHidden:this.disableBankAccount,label:h[o.bankAccount]}),s.selectedPaymentMethod===o.bankAccount&&a("div",{key:"e67924184fc43811523081711f59865a01d7cf9f",class:"mt-4 mb-4"},a("justifi-bank-account-form",{key:"a01cdfe8be1bc98d4c0f75c2a9f2ca1cce519042"}))))))),this.showBillingFormSection&&a("div",{key:"a15f1202548c7d6c302c2b2827168a6a119f8634",class:"col-12 mt-4"},this.showBillingForm&&a("justifi-header",{key:"ee654c812cb097449937da4253e191de1ee669d5",text:"Billing Address",level:"h2",class:"fs-5 fw-bold pb-3"}),this.showPostalCodeForm&&a("justifi-postal-code-form",{key:"2a5736e6da3354f7a9d1a5b8870a2f61c09c2592"}),this.showBillingForm&&a("justifi-billing-information-form",{key:"7dd63931e75d7583b4f51a1f6bb2b1e84a46e078"})),a("div",{key:"54aeb0f07f574ee004ec02cd279265202cffa9bf",class:"col-12"},this.canSavePaymentMethod&&a("justifi-save-new-payment-method",{key:"2e010be22091cee1ebc4353d5dac3b49639175e7"})),a("div",{key:"71df812c8a922ae8b447d647f69675230c092db9",class:"mt-4"},a("justifi-button",{key:"057cd18c6235c73cc69ca85e9cb35a2a614a4d9a",text:"Pay",type:"submit",variant:"primary",clickHandler:e=>this.submit(e),disabled:this.isSubmitting,isLoading:this.isSubmitting,customStyle:{width:"100%",textAlign:"center"}})))))}static get watchers(){return{authToken:["propChanged"],checkoutId:["propChanged"],disableCreditCard:["propChanged"],disableBankAccount:["propChanged"],disableBnpl:["propChanged"],disablePaymentMethodGroup:["propChanged"]}}};export{r as justifi_checkout}