@justifi/webcomponents 6.12.1 → 6.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/dist/cjs/{Analytics-BhduX1FR.js → Analytics-DcqsdFaD.js} +2 -2
  2. package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
  3. package/dist/cjs/card-form.cjs.entry.js +2 -2
  4. package/dist/cjs/{check-pkg-version-Bd2yxoh4.js → check-pkg-version-DFTQGZz1.js} +1 -1
  5. package/dist/cjs/{get-business-CKC1P4Qs.js → get-business-TFzhaBXn.js} +4 -1
  6. package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
  7. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
  8. package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +74 -36
  9. package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +3 -3
  10. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +3 -3
  11. package/dist/cjs/justifi-business-details.cjs.entry.js +4 -4
  12. package/dist/cjs/justifi-business-form.cjs.entry.js +3 -3
  13. package/dist/cjs/justifi-card-form.cjs.entry.js +3 -3
  14. package/dist/cjs/justifi-checkout.cjs.entry.js +5 -6
  15. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +3 -3
  16. package/dist/cjs/justifi-dispute-management.cjs.entry.js +4 -4
  17. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +7 -7
  18. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +3 -3
  19. package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -7
  20. package/dist/cjs/justifi-payment-details.cjs.entry.js +3 -3
  21. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +6 -4
  22. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +3 -3
  23. package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
  24. package/dist/cjs/justifi-payout-details.cjs.entry.js +3 -3
  25. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +3 -3
  26. package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
  27. package/dist/cjs/justifi-refund-payment.cjs.entry.js +3 -3
  28. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
  29. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
  30. package/dist/cjs/justifi-terminals-list.cjs.entry.js +3 -3
  31. package/dist/cjs/{package-CjFkmEML.js → package-bM0MyhTf.js} +1 -1
  32. package/dist/collection/actions/business/get-business.js +4 -1
  33. package/dist/collection/api/Analytics.js +1 -1
  34. package/dist/collection/collection-manifest.json +6 -6
  35. package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +3 -1
  36. package/dist/collection/components/checkout/justifi-checkout.js +2 -3
  37. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  38. package/dist/collection/components/dispute-management/dispute-response/justifi-additional-statement.js +1 -1
  39. package/dist/collection/components/dispute-management/dispute-response/justifi-cancellation-policy.js +1 -1
  40. package/dist/collection/components/dispute-management/dispute-response/justifi-customer-details.js +1 -1
  41. package/dist/collection/components/dispute-management/dispute-response/justifi-dispute-response.js +1 -1
  42. package/dist/collection/components/dispute-management/dispute-response/justifi-duplicate-charge.js +1 -1
  43. package/dist/collection/components/dispute-management/dispute-response/justifi-electronic-evidence.js +1 -1
  44. package/dist/collection/components/dispute-management/dispute-response/justifi-product-or-service.js +1 -1
  45. package/dist/collection/components/dispute-management/dispute-response/justifi-refund-policy.js +1 -1
  46. package/dist/collection/components/dispute-management/dispute-response/justifi-shipping-details.js +1 -1
  47. package/dist/collection/components/dispute-management/justifi-dispute-management.js +1 -1
  48. package/dist/collection/components/dispute-management/justifi-dispute-notification.js +2 -2
  49. package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +34 -14
  50. package/dist/collection/components/modular-checkout/sub-components/justifi-google-pay.js +4 -1
  51. package/dist/collection/components/modular-checkout/sub-components/justifi-plaid-payment-method.js +27 -14
  52. package/dist/collection/components/modular-checkout/sub-components/justifi-saved-payment-methods.js +7 -5
  53. package/dist/collection/components/order-terminals/justifi-order-terminals.js +4 -3
  54. package/dist/docs.json +6 -6
  55. package/dist/esm/{Analytics-4PEV3c9V.js → Analytics-Cyc3ZLPx.js} +2 -2
  56. package/dist/esm/bank-account-form.entry.js +2 -2
  57. package/dist/esm/card-form.entry.js +2 -2
  58. package/dist/esm/{check-pkg-version-BmgaID9z.js → check-pkg-version-6iGDh82c.js} +1 -1
  59. package/dist/esm/{get-business-DpFRs5dE.js → get-business-DIpEbczl.js} +4 -1
  60. package/dist/esm/hidden-input_2.entry.js +1 -1
  61. package/dist/esm/justifi-additional-statement_8.entry.js +8 -8
  62. package/dist/esm/justifi-apple-pay_11.entry.js +75 -37
  63. package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +3 -3
  64. package/dist/esm/justifi-bank-account-form.entry.js +3 -3
  65. package/dist/esm/justifi-business-details.entry.js +4 -4
  66. package/dist/esm/justifi-business-form.entry.js +3 -3
  67. package/dist/esm/justifi-card-form.entry.js +3 -3
  68. package/dist/esm/justifi-checkout.entry.js +5 -6
  69. package/dist/esm/justifi-checkouts-list.entry.js +3 -3
  70. package/dist/esm/justifi-dispute-management.entry.js +4 -4
  71. package/dist/esm/justifi-dispute-notification_3.entry.js +7 -7
  72. package/dist/esm/justifi-gross-payment-chart.entry.js +3 -3
  73. package/dist/esm/justifi-order-terminals.entry.js +8 -7
  74. package/dist/esm/justifi-payment-details.entry.js +3 -3
  75. package/dist/esm/justifi-payment-provisioning.entry.js +6 -4
  76. package/dist/esm/justifi-payment-transactions-list.entry.js +3 -3
  77. package/dist/esm/justifi-payments-list.entry.js +3 -3
  78. package/dist/esm/justifi-payout-details.entry.js +3 -3
  79. package/dist/esm/justifi-payout-transactions-list.entry.js +3 -3
  80. package/dist/esm/justifi-payouts-list.entry.js +3 -3
  81. package/dist/esm/justifi-refund-payment.entry.js +3 -3
  82. package/dist/esm/justifi-season-interruption-insurance.entry.js +3 -3
  83. package/dist/esm/justifi-terminal-orders-list.entry.js +3 -3
  84. package/dist/esm/justifi-terminals-list.entry.js +3 -3
  85. package/dist/esm/{package-CXKOe1m5.js → package-beXEDfB9.js} +1 -1
  86. package/dist/module/Analytics.js +1 -1
  87. package/dist/module/dispute-response-core.js +1 -1
  88. package/dist/module/get-business.js +4 -1
  89. package/dist/module/justifi-additional-statement2.js +1 -1
  90. package/dist/module/justifi-apple-pay2.js +34 -14
  91. package/dist/module/justifi-cancellation-policy2.js +1 -1
  92. package/dist/module/justifi-checkout.js +2 -3
  93. package/dist/module/justifi-customer-details2.js +1 -1
  94. package/dist/module/justifi-dispute-management.js +1 -1
  95. package/dist/module/justifi-dispute-notification2.js +2 -2
  96. package/dist/module/justifi-dispute-response2.js +1 -1
  97. package/dist/module/justifi-duplicate-charge2.js +1 -1
  98. package/dist/module/justifi-electronic-evidence2.js +1 -1
  99. package/dist/module/justifi-google-pay2.js +4 -1
  100. package/dist/module/justifi-order-terminals.js +4 -3
  101. package/dist/module/justifi-payment-provisioning.js +3 -1
  102. package/dist/module/justifi-plaid-payment-method2.js +27 -14
  103. package/dist/module/justifi-product-or-service2.js +1 -1
  104. package/dist/module/justifi-refund-policy2.js +1 -1
  105. package/dist/module/justifi-saved-payment-methods2.js +7 -5
  106. package/dist/module/justifi-shipping-details2.js +1 -1
  107. package/dist/module/package.js +1 -1
  108. package/dist/types/actions/business/get-business.d.ts +2 -1
  109. package/dist/types/components/business-forms/payment-provisioning/justifi-payment-provisioning.d.ts +1 -1
  110. package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +3 -0
  111. package/dist/types/components/modular-checkout/sub-components/justifi-plaid-payment-method.d.ts +2 -2
  112. package/dist/webcomponents/{p-647668b6.entry.js → p-1c4f5f1d.entry.js} +1 -1
  113. package/dist/webcomponents/{p-f4b390bc.entry.js → p-1e8135f0.entry.js} +1 -1
  114. package/dist/webcomponents/{p-017edf85.entry.js → p-2a755daf.entry.js} +1 -1
  115. package/dist/webcomponents/{p-0e9cb724.entry.js → p-31e74a5a.entry.js} +1 -1
  116. package/dist/webcomponents/{p-2b25c768.entry.js → p-3488951f.entry.js} +1 -1
  117. package/dist/webcomponents/p-437a99dc.entry.js +1 -0
  118. package/dist/webcomponents/p-49c0cd3a.entry.js +1 -0
  119. package/dist/webcomponents/p-4d21df48.entry.js +1 -0
  120. package/dist/webcomponents/p-50f5e313.entry.js +1 -0
  121. package/dist/webcomponents/{p-06e88d51.entry.js → p-5ef854e0.entry.js} +1 -1
  122. package/dist/webcomponents/{p-cd267d76.entry.js → p-67498c25.entry.js} +1 -1
  123. package/dist/webcomponents/{p-61ebdd8b.entry.js → p-6f0c582a.entry.js} +1 -1
  124. package/dist/webcomponents/{p-f481695c.entry.js → p-94306884.entry.js} +1 -1
  125. package/dist/webcomponents/{p-b76b743e.entry.js → p-9937e2e7.entry.js} +1 -1
  126. package/dist/webcomponents/{p-b6d59ff4.entry.js → p-9dca1331.entry.js} +1 -1
  127. package/dist/webcomponents/{p-GP5gWjhc.js → p-DgH-jcIo.js} +1 -1
  128. package/dist/webcomponents/p-a75d76ff.entry.js +1 -0
  129. package/dist/webcomponents/p-a7778957.entry.js +1 -0
  130. package/dist/webcomponents/p-a9d7cdae.entry.js +1 -0
  131. package/dist/webcomponents/p-b060a9c9.entry.js +1 -0
  132. package/dist/webcomponents/p-bdf21f71.entry.js +1 -0
  133. package/dist/webcomponents/{p-259ea5e0.entry.js → p-be5d1005.entry.js} +1 -1
  134. package/dist/webcomponents/p-beXEDfB9.js +1 -0
  135. package/dist/webcomponents/{p-d3829e18.entry.js → p-c09fccd3.entry.js} +1 -1
  136. package/dist/webcomponents/p-c827cbc9.entry.js +1 -0
  137. package/dist/webcomponents/{p-1e080e95.entry.js → p-c9e1df15.entry.js} +1 -1
  138. package/dist/webcomponents/p-cc5b7c27.entry.js +1 -0
  139. package/dist/webcomponents/{p-1e66d430.entry.js → p-e0b3735f.entry.js} +1 -1
  140. package/dist/webcomponents/p-ef89824b.entry.js +1 -0
  141. package/dist/webcomponents/p-qrNmDp6K.js +1 -0
  142. package/dist/webcomponents/{p-cXPhRFs-.js → p-zi3ljCdQ.js} +1 -1
  143. package/dist/webcomponents/webcomponents.esm.js +1 -1
  144. package/package.json +1 -1
  145. package/dist/webcomponents/p-11faee45.entry.js +0 -1
  146. package/dist/webcomponents/p-238163d8.entry.js +0 -1
  147. package/dist/webcomponents/p-4f57368a.entry.js +0 -1
  148. package/dist/webcomponents/p-608a41d2.entry.js +0 -1
  149. package/dist/webcomponents/p-6ecb3ef9.entry.js +0 -1
  150. package/dist/webcomponents/p-87a4b33f.entry.js +0 -1
  151. package/dist/webcomponents/p-9870fff0.entry.js +0 -1
  152. package/dist/webcomponents/p-CXKOe1m5.js +0 -1
  153. package/dist/webcomponents/p-GJyHX3us.js +0 -1
  154. package/dist/webcomponents/p-b8c59954.entry.js +0 -1
  155. package/dist/webcomponents/p-cf31ccdd.entry.js +0 -1
  156. package/dist/webcomponents/p-d58a330d.entry.js +0 -1
  157. package/dist/webcomponents/p-ed580b3c.entry.js +0 -1
  158. package/dist/webcomponents/p-f91c49a2.entry.js +0 -1
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var _package = require('./package-CjFkmEML.js');
3
+ var _package = require('./package-bM0MyhTf.js');
4
4
  var Api = require('./Api-Bukk55YZ.js');
5
5
  require('./Plaid-BlSGeGpn.js');
6
6
  require('./Pagination-Dediz133.js');
@@ -65,7 +65,7 @@ class JustifiAnalytics {
65
65
  if (typeof this.componentInstance.addEventListener === 'function') {
66
66
  const boundHandler = (event) => this.handleCustomEvent({
67
67
  event_type: eventName,
68
- data: Object.assign(Object.assign({}, this.basicData), { error: event.detail }),
68
+ data: Object.assign(Object.assign({}, this.basicData), (eventName === 'error-event' && { error: event.detail })),
69
69
  });
70
70
  this.eventListeners.set(eventName, boundHandler);
71
71
  this.componentInstance.addEventListener(eventName, boundHandler);
@@ -4,11 +4,11 @@ var index = require('./index-p7cvUYAE.js');
4
4
  var skeleton = require('./skeleton-DvRCiQlA.js');
5
5
  var configState = require('./config-state-BIgGhhe9.js');
6
6
  var utils = require('./utils-BHi4j5rB.js');
7
- var checkPkgVersion = require('./check-pkg-version-Bd2yxoh4.js');
7
+ var checkPkgVersion = require('./check-pkg-version-DFTQGZz1.js');
8
8
  require('./parts-BXshb_S-.js');
9
9
  require('./index-W-zoNiyM.js');
10
10
  require('./dinero-BwNN_k7x.js');
11
- require('./package-CjFkmEML.js');
11
+ require('./package-bM0MyhTf.js');
12
12
 
13
13
  const BankAccountFormSkeleton = (props) => {
14
14
  const { isReady } = props;
@@ -4,11 +4,11 @@ var index = require('./index-p7cvUYAE.js');
4
4
  var skeleton = require('./skeleton-DvRCiQlA.js');
5
5
  var configState = require('./config-state-BIgGhhe9.js');
6
6
  var utils = require('./utils-BHi4j5rB.js');
7
- var checkPkgVersion = require('./check-pkg-version-Bd2yxoh4.js');
7
+ var checkPkgVersion = require('./check-pkg-version-DFTQGZz1.js');
8
8
  require('./parts-BXshb_S-.js');
9
9
  require('./index-W-zoNiyM.js');
10
10
  require('./dinero-BwNN_k7x.js');
11
- require('./package-CjFkmEML.js');
11
+ require('./package-bM0MyhTf.js');
12
12
 
13
13
  const CardFormSkeleton = (props) => {
14
14
  const { isReady } = props;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var _package = require('./package-CjFkmEML.js');
3
+ var _package = require('./package-bM0MyhTf.js');
4
4
 
5
5
  const JUSTIFI_VERSION_KEY = '__JUSTIFI_WC_VERSION__';
6
6
  const detectDuplicateVersion = () => {
@@ -4,7 +4,7 @@ var Business = require('./Business-oBifyXkW.js');
4
4
  var Plaid = require('./Plaid-BlSGeGpn.js');
5
5
  var utils = require('./utils-DbTucCTO.js');
6
6
 
7
- const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
7
+ const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError, final }) => {
8
8
  var _a;
9
9
  try {
10
10
  const response = await service.fetchBusiness(id, authToken);
@@ -29,6 +29,9 @@ const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onEr
29
29
  severity: Plaid.ComponentErrorSeverity.ERROR,
30
30
  });
31
31
  }
32
+ finally {
33
+ final();
34
+ }
32
35
  };
33
36
 
34
37
  exports.makeGetBusiness = makeGetBusiness;
@@ -5,7 +5,7 @@ var index = require('./index-W-zoNiyM.js');
5
5
  var parts = require('./parts-BXshb_S-.js');
6
6
  var _commonjsHelpers = require('./_commonjsHelpers-BJu3ubxk.js');
7
7
  var formControlErrorText = require('./form-control-error-text-BO58Y6zF.js');
8
- var _package = require('./package-CjFkmEML.js');
8
+ var _package = require('./package-bM0MyhTf.js');
9
9
 
10
10
  const iframeInputStylesStore = index.createStore({
11
11
  focused: {
@@ -100,7 +100,7 @@ const JustifiAdditionalStatement = class {
100
100
  }
101
101
  render() {
102
102
  var _a, _b;
103
- return (index.h("div", { key: 'b39c3dae3e2e49a06221a15fb61de218bb76f059' }, index.h("div", { key: '9bb1d748a648fefe903174dfe5cb8999e31fbb74', class: "row gy-3" }, index.h("div", { key: 'fac36e2ebbf99362a2a4ad5e1248eaf9e8aef15f', class: "col-12" }, index.h("h2", { key: '83c3f2be493b847a7e4d0f630407da381f573885', class: "h5", part: parts.heading5 }, "Additional Evidence")), index.h("div", { key: '13a30f25350f6455fc7c9b8aad1ed7370b94d7fb', class: "col-12" }, index.h("form-control-textarea", { key: 'ad10db3c159e19d42ccaca20674d13435f01e30f', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), index.h("div", { key: '6f9b8c602f5ecc3d657c785d5b268b9962a7b52e', class: "col-12" }, index.h("form-control-file-v2", { key: 'dd9577a255014dbadd3b340435d956b5e0ba748f', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
103
+ return (index.h("div", { key: '97175b1ff6bee9154ec66df8710c7343cdd9a2dd' }, index.h("div", { key: 'f36de20ce5e724780550bcb0eaa4512b5d1559ef', class: "row gy-3" }, index.h("div", { key: 'bf5002c5e8b8c3f516fa8cad1f42e7b7ca9e55f9', class: "col-12" }, index.h("h2", { key: '64f6517d1029463cfe07c435f6b4a1cdca95f097', class: "h5", part: parts.heading5 }, "Additional Evidence")), index.h("div", { key: '81ced6dd86b41293b6692d3023fbe5e9e11cc392', class: "col-12" }, index.h("form-control-textarea", { key: 'd5f28108a9dbea3e0f2634b1cd96316a9f986c90', label: "Is there anything else you would like to say about this dispute?", name: "additional_statement", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.additional_statement, inputHandler: this.inputHandler, errorText: this.errors.additional_statement })), index.h("div", { key: '19d8047c4fc03376f77f5331f2fcfea6cd20e2b9', class: "col-12" }, index.h("form-control-file-v2", { key: '871bc06d4f7b5e3d56dd73ddfc9a8061d701f501', label: "Additional files", name: "uncategorized_file", multiple: true, helpText: "Upload any additional pieces of evidence that have not already been provided.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.uncategorized_file })))));
104
104
  }
105
105
  };
106
106
 
@@ -134,7 +134,7 @@ const JustifiCancellationPolicy = class {
134
134
  }
135
135
  render() {
136
136
  var _a, _b, _c;
137
- return (index.h("div", { key: '06da02c750e3281c8e9a92c4d1957d1ceb9097ae' }, index.h("div", { key: '8ec6ebf90b3beb3d3a24c6fee0427f2ba949aba7', class: "row gy-3" }, index.h("div", { key: '3a465a5a53f8795fdc20845bef945a8aa4cf8b3d', class: "col-12" }, index.h("h2", { key: '6193c10bed3c100ef63b302db15473965669c0ec', class: "h5", part: parts.heading5 }, "Cancellation Policy")), index.h("div", { key: '0d68bbb77217df1e9ed067593a76eddfc76f20ff', class: "col-12" }, index.h("form-control-textarea", { key: 'd5a3157c26687247d23d558c25f0687e339191bc', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), index.h("div", { key: '6fbc16ced9bbb9188f683f5493902d8982d61e5a', class: "col-12" }, index.h("form-control-textarea", { key: 'fa009aa03035ccc1c42a70337f1502276e0d9499', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), index.h("div", { key: '3267fe5bd07181b17fe1875dac501f7ca827900d', class: "col-12" }, index.h("form-control-file-v2", { key: '6fd33a1194be752f078c1aab7924bf1502177fb2', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
137
+ return (index.h("div", { key: 'f5f98ed91abdb767d3f48efaa9d69a5445d6a5bf' }, index.h("div", { key: 'b7a2539c1c5971267eb469fb0011508e5c3aa163', class: "row gy-3" }, index.h("div", { key: '82666927fa4daccb9ea2ad511e445201d216775e', class: "col-12" }, index.h("h2", { key: '7cf97383cee9cd3c5c95cc20374826b7f0d0ebe3', class: "h5", part: parts.heading5 }, "Cancellation Policy")), index.h("div", { key: '8a4691ee688de45f97dd624310ca5fc39cf20db2', class: "col-12" }, index.h("form-control-textarea", { key: '27ce967696f3f89c8b91d5892f7dfffefacd8536', label: "Cancellation Policy Disclosure", name: "cancellation_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.cancellation_policy_disclosure, inputHandler: this.inputHandler, errorText: this.errors.cancellation_policy_disclosure })), index.h("div", { key: '12a25c0dc23b528b412e1b19fd9b7071967fd411', class: "col-12" }, index.h("form-control-textarea", { key: '81ceef5f5b94ad31eb1cd36991a13e099b13725c', label: "Cancellation Rebuttal", name: "cancellation_rebuttal", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.cancellation_rebuttal, inputHandler: this.inputHandler, errorText: this.errors.cancellation_rebuttal })), index.h("div", { key: '9afbe3a16b1da50afea763c66e4ee0b5b388b137', class: "col-12" }, index.h("form-control-file-v2", { key: '9a613e293af4d48354859bfd2329afce152a5f89', label: "Upload Cancellation Policy", name: "cancellation_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.cancellation_policy })))));
138
138
  }
139
139
  };
140
140
 
@@ -169,7 +169,7 @@ const JustifiCustomerDetails = class {
169
169
  }
170
170
  render() {
171
171
  var _a, _b, _c, _d, _e;
172
- return (index.h("div", { key: '99a3ca32c4f0867f1c9ce8be6e24de3206111b2b' }, index.h("div", { key: 'd7e62b1331acdcdff20c6a8141d2447d070d338d', class: "row gy-3" }, index.h("div", { key: '7c6d1924454163791d3e220d000a4d37588d4eb8', class: "col-12" }, index.h("h2", { key: '25cd3fac6addfe1d66052de8d5fbae6204168409', class: "h5", part: parts.heading5 }, "Customer Details")), index.h("div", { key: 'f6335d63a564fbfa597129e55939e8958dbc156e', class: "col-12" }, index.h("form-control-text", { key: 'af06a0b36a775d3f8fcf88e9294be3241f0c45b7', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), index.h("div", { key: '7e0f3c1c8a354ece07ccbadd32f1d21f184a6eed', class: "col-12" }, index.h("form-control-text", { key: '34e43daff0a9335fd55ddd1511b39738f20947bc', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), index.h("div", { key: 'c88f74e81d377f328e82020134d679fc402b884c', class: "col-12" }, index.h("form-control-textarea", { key: '785d88c1a038a7a6f3417d13620b7f8104e23c5f', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), index.h("div", { key: '7d3d38d2a781eebac7bb77a9bacb816547060a7d', class: "col-12" }, index.h("form-control-file-v2", { key: '3fc2ada66ba9be0a9a5d65f380237ac044134e27', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), index.h("div", { key: '30c6c70d765fd4b1f7e37ee2f37b01e9b3ec2b4f', class: "col-12" }, index.h("form-control-file-v2", { key: 'a84cd87563ad2fa2c7dcf832d3b1219bfded150c', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
172
+ return (index.h("div", { key: '8bc10877cfabb168cd717d463a1ae252809275f5' }, index.h("div", { key: '12dc083ba94dfbb7b20671c636a0be03f3b67070', class: "row gy-3" }, index.h("div", { key: '429c91062e19b12711baa35d14b1337f8fbfc9d6', class: "col-12" }, index.h("h2", { key: '406723145d3bdbaa52b2897a5dc4347be34e7eea', class: "h5", part: parts.heading5 }, "Customer Details")), index.h("div", { key: '40d5e8bd7c2b1fe8786c38fc2b7a3789278f3497', class: "col-12" }, index.h("form-control-text", { key: 'ade5ccaf5a45ba5f3f81c68196bfc7879da03315', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), index.h("div", { key: 'baf8a129aa64d4507bce0d1f9ed7077f0911715e', class: "col-12" }, index.h("form-control-text", { key: '786f84b55ffec13cc937dff50e587e28865c7114', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), index.h("div", { key: '2805d754316314934648955b34e8c6da5f709192', class: "col-12" }, index.h("form-control-textarea", { key: '95a7a8a9d1d9ea70478021110808545c0730ffec', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), index.h("div", { key: '78fa90926cc11695379a95dde849cfb28cf829f5', class: "col-12" }, index.h("form-control-file-v2", { key: '984ab42f7742afcb0b74ccf65f313ead0542f75d', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), index.h("div", { key: 'de0bf546a3e767ec1e362446f14edea449643b2b', class: "col-12" }, index.h("form-control-file-v2", { key: '4124feba010476d48ab052142b7fb962d1550934', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
173
173
  }
174
174
  };
175
175
 
@@ -203,7 +203,7 @@ const JustifiDuplicateCharge = class {
203
203
  }
204
204
  render() {
205
205
  var _a, _b, _c;
206
- return (index.h("div", { key: '98ca80e403dd32506af99145e08204be5eec4b31' }, index.h("div", { key: 'a8eeafb1ba7af0cb64b739a6c433c9a8ff9d5d92', class: "row gy-3" }, index.h("div", { key: 'be0573c9b62984e6b2bcf01242e75cca0ae8cc8c', class: "col-12" }, index.h("h2", { key: '6c40320a1da739177366d671ff2cff3688ab157e', class: "h5", part: parts.heading5 }, "Duplicate Charge")), index.h("div", { key: '4778b442ff686afeebcf9d19d6d91847ae3e7e5d', class: "col-12" }, index.h("form-control-text", { key: '7413dbaba70c32f8982b9719a2b27398aaa6f33a', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), index.h("div", { key: '53da7a4a0143e14ec5a334b3181d5e3d0588a634', class: "col-12" }, index.h("form-control-textarea", { key: 'c26aaeea93f882d9baa35cf9d5ba5e26b86a83dc', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), index.h("div", { key: '9e0f630e9211f701d7949c2d96e69dd62d221bd2', class: "col-12" }, index.h("form-control-file-v2", { key: '1f6495ddc4c034337b860208721a703416ae5c0d', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
206
+ return (index.h("div", { key: 'a34d10b642c601ff1a2e6109bdad5550afef0dc7' }, index.h("div", { key: '65dfe9ecb13d4038fbceb5b3f88313e473ad0f2f', class: "row gy-3" }, index.h("div", { key: '5ec12191f9e56396ff1e67b53dcdfecdca8f21e9', class: "col-12" }, index.h("h2", { key: 'b5bf89077f1ae3dcbb6c37e28b2728a0c88ed1b4', class: "h5", part: parts.heading5 }, "Duplicate Charge")), index.h("div", { key: '52cdf5962d03f1724dc610a4525a4bf09a68fe4e', class: "col-12" }, index.h("form-control-text", { key: '785cc51d4491326c3e7555404e47726cb6f6f0ea', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), index.h("div", { key: 'c3142d3b716cb3a191d930a5961d8361e4ef6204', class: "col-12" }, index.h("form-control-textarea", { key: 'd6cd675e958cd0685a89812891c599393a309fef', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), index.h("div", { key: 'e805678d04d01f4763ee663590e89e96be9fcfb4', class: "col-12" }, index.h("form-control-file-v2", { key: 'c83c4e91ebba42be4a6e640aa73186f6b461c42f', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
207
207
  }
208
208
  };
209
209
 
@@ -236,7 +236,7 @@ const JustifiElectronicEvidence = class {
236
236
  }
237
237
  render() {
238
238
  var _a, _b;
239
- return (index.h("div", { key: 'cfa8c6c92bb2790dbaea1939e6acc7539fd848d7' }, index.h("div", { key: '63d38a0c614f932ef018791fb1388b3dc49c7e5c', class: "row gy-3" }, index.h("div", { key: '6140c07a8c354d9339509a00141fbc7a1de146f4', class: "col-12" }, index.h("h2", { key: '40c755fe0938930e0283c391df12c417850eecb4', class: "h5", part: parts.heading5 }, "Electronic Evidence")), index.h("div", { key: 'e5145c83af0623fe602ea51a171d97e2e4064e19', class: "col-12" }, index.h("form-control-text", { key: 'c1886a0f25a6955526dd07ae9a5e00a29172a716', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), index.h("div", { key: 'fd6fa580702047999cfd94fddccd3e9185d61201', class: "col-12" }, index.h("form-control-file-v2", { key: '816fb2eb5d3ca714e7b4e35398cfce41a5a02ae1', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
239
+ return (index.h("div", { key: '3b0122e517065a72f2d7b8411d75067db093e284' }, index.h("div", { key: '3f6b7c42a8e6419a4890ae29c41afd98ecdd8f11', class: "row gy-3" }, index.h("div", { key: 'f807c043be7f75e7f9befd24cb80fd93f56678d5', class: "col-12" }, index.h("h2", { key: '3c4315f405ab5cead5eebe48975f26e9d93e0d84', class: "h5", part: parts.heading5 }, "Electronic Evidence")), index.h("div", { key: 'd84fa8fcc504137031181fdb1974f50d1bc49ef8', class: "col-12" }, index.h("form-control-text", { key: 'db3862f6a1ebd5afcf5e1ff2943de3d977e56bbe', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), index.h("div", { key: '4e882539af79b200962740ae5645df663c82bde9', class: "col-12" }, index.h("form-control-file-v2", { key: '2be5e0f0d1ad5b47d41fabb1f2fe25397e7cc69f', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
240
240
  }
241
241
  };
242
242
 
@@ -270,7 +270,7 @@ const JustifiProductOrService = class {
270
270
  }
271
271
  render() {
272
272
  var _a, _b, _c;
273
- return (index.h("div", { key: 'e43f3118bb3b607e3af86cbdf8cba319bd0c7f26' }, index.h("div", { key: 'ab2452d038e39e3b2781d72b0b43c42899734fce', class: "row gy-3" }, index.h("div", { key: '04a31b25a688803623882e91e6d27ebdcab3fc99', class: "col-12" }, index.h("h2", { key: 'c32d209d8c441287353316222a2ad11d66ad3022', class: "h5", part: parts.heading5 }, "Product & Service Details")), index.h("div", { key: '936a6427c3531df4dcc096ff50bc31a0b85a4bcb', class: "col-12" }, index.h("form-control-text", { key: 'e7c77f6b3f35ff66935e2c48c4a6c7b203cdc3ea', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), index.h("div", { key: '51e374b7cf4053261f0bc44a19ee13c39e4b8a88', class: "col-12" }, index.h("form-control-date", { key: '0b11a59dbd74b0e6fe568a948c643722542647ab', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), index.h("div", { key: 'e18ae7ebca9050fc87aed1d51d664c278b16c341', class: "col-12" }, index.h("form-control-file-v2", { key: 'dd7567eb79c3d273bfa3b4464dd39b9508d8a018', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
273
+ return (index.h("div", { key: '4587b32b05500749ada539467d8eb2409d0180bd' }, index.h("div", { key: 'b6696b8324fff8752b227ae3ba41a13ba1ac9063', class: "row gy-3" }, index.h("div", { key: '013ea18c3848964f098d18c13caf3dde4670093a', class: "col-12" }, index.h("h2", { key: '6329d4950881a7856b8b47c9e047c8d25e48aaac', class: "h5", part: parts.heading5 }, "Product & Service Details")), index.h("div", { key: 'c30067cffb73b64e57ee0189ef53ef04337a8cf3', class: "col-12" }, index.h("form-control-text", { key: '23060ee222508fe8ef1e4063bd19a95cb4fab288', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), index.h("div", { key: '05902305859cbbfa5572fdc2303ef27c4533cbda', class: "col-12" }, index.h("form-control-date", { key: 'cc4ca8d15ab2d04863323fdb73f4f3cde363b61d', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), index.h("div", { key: 'a0986336639e8ff22cfa7fd10eb761fa5159e8e7', class: "col-12" }, index.h("form-control-file-v2", { key: '352467c92329bbf22535a38ee4c2a14d9a9110c6', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
274
274
  }
275
275
  };
276
276
 
@@ -304,7 +304,7 @@ const JustifiRefundPolicy = class {
304
304
  }
305
305
  render() {
306
306
  var _a, _b, _c, _d;
307
- return (index.h("div", { key: 'c5a20cda29feb1dd2bc608a34f1d479e75218606' }, index.h("div", { key: '137aeb0f70a8ae6daba6f44d0128098c1580d91a', class: "row gy-3" }, index.h("div", { key: '9a5839b430e5dc73b6543f17fc53c927859a36c9', class: "col-12" }, index.h("h2", { key: 'bdd71c1c572428ba0d274e7319786a5236de193b', class: "h5", part: parts.heading5 }, "Refund Policy and Receipt")), index.h("div", { key: '191121597d2277907a526d1c3ea1662e40c5ffc0', class: "col-12" }, index.h("form-control-textarea", { key: '131ecd8df82112e62825c821e3408f721b65486d', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), index.h("div", { key: 'ea28978ddac1ca271b4d2685559c30564756e24c', class: "col-12" }, index.h("form-control-textarea", { key: 'dbf87760ec66daffe670e13014d69bb899fb4e6f', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), index.h("div", { key: 'f04e0f3e88971625b296c9a13d2e4c66ca0ee431', class: "col-12" }, index.h("form-control-file-v2", { key: 'fa4b249335a73a479c8e6abbc4c44e2fe3ab11e6', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), index.h("div", { key: 'e06df78e4ee3b06278850d53d0484fd750ee48ed', class: "col-12" }, index.h("form-control-file-v2", { key: '82980ca492c41b2e705ad1e686af84122a94b7a2', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
307
+ return (index.h("div", { key: 'e59738a3425e348d989077da9353aa12293cea2f' }, index.h("div", { key: '32365305802a0584b959e04268796b21ca73fe21', class: "row gy-3" }, index.h("div", { key: 'ab46282525e6afb9b4db2f82ea6a716e1bd32649', class: "col-12" }, index.h("h2", { key: 'b1c9fbfccf63eee921a734e0e82cc868ddfb6652', class: "h5", part: parts.heading5 }, "Refund Policy and Receipt")), index.h("div", { key: '1287269e5c352018fd289c64e876b985137c36c8', class: "col-12" }, index.h("form-control-textarea", { key: '217292c1ea3a92c3a1cfb68c6d1cbe5b4c532262', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), index.h("div", { key: '7b54f191e06110c1c186ae316558d7617bd3fc93', class: "col-12" }, index.h("form-control-textarea", { key: 'ec77cd98d1c77c88e74655b430f89bb2e79bb125', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), index.h("div", { key: '68971eb2d792f9f733e68b6e9bcab8965cc51412', class: "col-12" }, index.h("form-control-file-v2", { key: '991ef9fa96a95a52caf72b723d854f17d2c76a0c', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), index.h("div", { key: '22528492e08a56f5b72ad11ef754d1a46884093f', class: "col-12" }, index.h("form-control-file-v2", { key: '4ea877eeef562dd232bdf5d1359d54cc4e030365', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
308
308
  }
309
309
  };
310
310
 
@@ -341,7 +341,7 @@ const JustifiShippingDetails = class {
341
341
  }
342
342
  render() {
343
343
  var _a, _b, _c, _d, _e;
344
- return (index.h("div", { key: '5095dc339b43e49c59b6efcfacacbb680408edf5' }, index.h("div", { key: '1fbe12df13f6013c2223b60b94ac0a5fa4596dc0', class: "row gy-3" }, index.h("div", { key: 'd31cb56b51c77a39125f3531e9513ebc51155277', class: "col-12" }, index.h("h2", { key: '317c209a7e3168e85b4e0c672a6c8cb8f5e2177c', class: "h5", part: parts.heading5 }, "Shipping Details")), index.h("div", { key: '27f75f17046c752629058d496cb7820b23dcbc2c', class: "col-12" }, index.h("form-control-text", { key: '3640223bb57f4d6eea09df3d3a0c66b7f5cce998', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), index.h("div", { key: 'e31d26c7622a07833814aba997c25fa114dfd276', class: "col-12" }, index.h("form-control-text", { key: 'e6cc2d569c05e28452428577c9991d3f45ab97c8', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), index.h("div", { key: '6ebb9e323186e4db61e42c68757f218b6d412253', class: "col-12" }, index.h("form-control-date", { key: 'aee185a1e9a7bdf3a9ff79d4cef4937dae6b9eaf', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), index.h("div", { key: 'afee1bf9054a4d43b1c708a254459134453e014c', class: "col-12" }, index.h("form-control-textarea", { key: 'b238c60b5fc8805d5969ceb271ecbb0b5f77f7b4', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), index.h("div", { key: '631889f4538c546dc386009b229acd9fb7a98a6c', class: "col-12" }, index.h("form-control-file-v2", { key: 'd960f9f6494ffd3f5bc4b62fa66f3466974f07c5', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
344
+ return (index.h("div", { key: '66ab4f496a037d4724fcc127803d2fd4c72ad2a8' }, index.h("div", { key: 'a650a56e124ecc55aaa383a32e27cad862801d01', class: "row gy-3" }, index.h("div", { key: 'aedaacba104b8540eedafcbc8f7c776fa99ab387', class: "col-12" }, index.h("h2", { key: 'b4e2dc10ef6cbdab47143f2cc64a484050bfc416', class: "h5", part: parts.heading5 }, "Shipping Details")), index.h("div", { key: '7110551e0ecf98b149f008eb7105235b8d601454', class: "col-12" }, index.h("form-control-text", { key: '2c17294567ff47b181c8d11cfda7651671adac92', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), index.h("div", { key: '031476a2435c80b8ae27fb50303f14797d84a801', class: "col-12" }, index.h("form-control-text", { key: '67441fbba00af48235867763561cf8adf66b9e69', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), index.h("div", { key: '1fcc1bf129d3ec577f4f36a2801422044ec0a59e', class: "col-12" }, index.h("form-control-date", { key: 'aa0464427d083dceba8e1604e045c707366d6046', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), index.h("div", { key: 'f61850943df4c9d6605cde9d86b2e8275ced0af4', class: "col-12" }, index.h("form-control-textarea", { key: 'a1d4997810348a93f26a9f4932890ffd911ea062', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), index.h("div", { key: '9dd41ee3436d63e0c89318129e811630e4aad75d', class: "col-12" }, index.h("form-control-file-v2", { key: 'fe1879caad49f44f1abd312a3925a20e6bdc11bf', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
345
345
  }
346
346
  };
347
347
 
@@ -13,8 +13,8 @@ var configState = require('./config-state-BIgGhhe9.js');
13
13
  var header1 = require('./header-1-CsBQoo1f.js');
14
14
  var insuranceState = require('./insurance-state-Xe2auE-N.js');
15
15
  var header3 = require('./header-3-DCYJhPro.js');
16
- var Analytics = require('./Analytics-BhduX1FR.js');
17
- var checkPkgVersion = require('./check-pkg-version-Bd2yxoh4.js');
16
+ var Analytics = require('./Analytics-DcqsdFaD.js');
17
+ var checkPkgVersion = require('./check-pkg-version-DFTQGZz1.js');
18
18
  require('./dinero-BwNN_k7x.js');
19
19
  require('./Pagination-Dediz133.js');
20
20
  require('./Business-oBifyXkW.js');
@@ -25,7 +25,7 @@ var plaid_service = require('./plaid.service-BcgO2VXC.js');
25
25
  var index$1 = require('./index-CajjbB9t.js');
26
26
  var paymentMethodOptionUtils = require('./payment-method-option-utils-WYHIHy-l.js');
27
27
  require('./index-W-zoNiyM.js');
28
- require('./package-CjFkmEML.js');
28
+ require('./package-bM0MyhTf.js');
29
29
 
30
30
  const JustifiRadioListItem = class {
31
31
  constructor(hostRef) {
@@ -539,6 +539,7 @@ const JustifiApplePay = class {
539
539
  this.applePayCompleted = index.createEvent(this, "applePayCompleted", 7);
540
540
  this.applePayCancelled = index.createEvent(this, "applePayCancelled", 7);
541
541
  this.applePayError = index.createEvent(this, "applePayError", 7);
542
+ this.sdkLoaded = false;
542
543
  this.countryCode = "US";
543
544
  this.merchantIdentifier = "merchant.com.staging-justifi.checkout-dev";
544
545
  this.merchantDisplayName = "JustiFi Checkout";
@@ -613,6 +614,32 @@ const JustifiApplePay = class {
613
614
  }
614
615
  };
615
616
  }
617
+ componentWillLoad() {
618
+ this.isAvailable = Plaid.ApplePayHelpers.isApplePaySupported();
619
+ if (!this.isAvailable) {
620
+ this.isLoading = false;
621
+ return;
622
+ }
623
+ if (checkout_store.checkoutStore.checkoutLoaded) {
624
+ this.loadApplePaySDK();
625
+ }
626
+ else {
627
+ checkout_store.onChange('checkoutLoaded', (loaded) => {
628
+ if (loaded)
629
+ this.loadApplePaySDK();
630
+ });
631
+ }
632
+ }
633
+ loadApplePaySDK() {
634
+ if (this.sdkLoaded)
635
+ return;
636
+ this.sdkLoaded = true;
637
+ const script = document.createElement('script');
638
+ script.src = 'https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js';
639
+ script.async = true;
640
+ script.onload = () => this.initializeApplePay();
641
+ document.head.appendChild(script);
642
+ }
616
643
  async initializeApplePay() {
617
644
  try {
618
645
  this.isLoading = true;
@@ -624,12 +651,6 @@ const JustifiApplePay = class {
624
651
  if (!hasRequiredConfig) {
625
652
  this.error = "Missing required Apple Pay configuration";
626
653
  this.isConfigValid = false;
627
- console.error("Apple Pay config error: missing required values", {
628
- paymentAmount: checkout_store.checkoutStore.paymentAmount,
629
- paymentCurrency: checkout_store.checkoutStore.paymentCurrency,
630
- hasAuthToken: Boolean(checkout_store.checkoutStore.authToken),
631
- accountId: checkout_store.checkoutStore.accountId,
632
- });
633
654
  this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.CONFIG_ERROR });
634
655
  this.isLoading = false;
635
656
  return;
@@ -638,14 +659,12 @@ const JustifiApplePay = class {
638
659
  this.canMakePayments = Plaid.ApplePayHelpers.canMakePayments();
639
660
  if (!this.isAvailable) {
640
661
  this.error = "Apple Pay is not supported on this device";
641
- console.error(this.error);
642
662
  this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.NOT_SUPPORTED });
643
663
  this.isLoading = false;
644
664
  return;
645
665
  }
646
666
  if (!this.canMakePayments) {
647
667
  this.error = "Apple Pay is not available";
648
- console.error(this.error);
649
668
  this.applePayError.emit({ error: this.error, code: JustifiApplePay.ErrorCode.NOT_AVAILABLE });
650
669
  this.isLoading = false;
651
670
  return;
@@ -666,7 +685,6 @@ const JustifiApplePay = class {
666
685
  }
667
686
  }
668
687
  catch (error) {
669
- console.error("Apple Pay initialization error:", error);
670
688
  this.error =
671
689
  error instanceof Error
672
690
  ? error.message
@@ -687,7 +705,8 @@ const JustifiApplePay = class {
687
705
  return Plaid.ApplePayHelpers.getDefaultSupportedNetworks();
688
706
  }
689
707
  async abort() {
690
- this.applePayService.abortPaymentSession();
708
+ var _a;
709
+ (_a = this.applePayService) === null || _a === void 0 ? void 0 : _a.abortPaymentSession();
691
710
  this.isProcessing = false;
692
711
  this.applePayCancelled.emit();
693
712
  }
@@ -696,13 +715,14 @@ const JustifiApplePay = class {
696
715
  // Render nothing when Apple Pay is disabled at the checkout settings level
697
716
  return null;
698
717
  }
718
+ if (!this.isAvailable) {
719
+ return null;
720
+ }
699
721
  const isReady = !this.isLoading &&
700
722
  this.isAvailable &&
701
723
  this.canMakePayments &&
702
724
  this.isConfigValid;
703
- return (index.h(styledHost.StyledHost, null, checkout_store.checkoutStore.checkoutLoaded && (index.h("script", { async: true, src: 'https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js', onLoad: () => {
704
- this.initializeApplePay();
705
- } })), index.h("div", { class: 'apple-pay-container' }, index.h(ApplePaySkeleton, { isLoading: this.isLoading }), isReady && (index.h(ApplePayButton, { buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick, width: this.width, height: this.height }))), index.h("style", null, `
725
+ return (index.h(styledHost.StyledHost, null, index.h("div", { class: 'apple-pay-container' }, index.h(ApplePaySkeleton, { isLoading: this.isLoading }), isReady && (index.h(ApplePayButton, { buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick, width: this.width, height: this.height }))), index.h("style", null, `
706
726
  .apple-pay-container {
707
727
  width: 100%;
708
728
  }
@@ -854,11 +874,14 @@ const JustifiGooglePay = class {
854
874
  }, this.iframeOrigin);
855
875
  }
856
876
  render() {
877
+ if (!checkout_store.checkoutStore.checkoutLoaded) {
878
+ return null;
879
+ }
857
880
  if (!checkout_store.checkoutStore.googlePayEnabled) {
858
881
  console.warn("Google Pay is not enabled for this checkout");
859
882
  return null;
860
883
  }
861
- return (index.h(index.Host, null, index.h(GooglePaySkeleton, { isLoading: !this.isReadyToPay }), index.h("iframe", { ref: (el) => (this.iframeElement = el), src: `${this.iframeOrigin}/v2/googlePay`, style: {
884
+ return (index.h(index.Host, null, index.h(GooglePaySkeleton, { isLoading: !this.isReadyToPay }), index.h("iframe", { ref: (el) => (this.iframeElement = el), src: `${this.iframeOrigin}/v2/googlePay`, allow: "payment", style: {
862
885
  border: "none",
863
886
  width: "100%",
864
887
  height: "48px",
@@ -1402,6 +1425,7 @@ const JustifiPlaidPaymentMethod = class {
1402
1425
  this.isSelected = false;
1403
1426
  this.retryCount = 0;
1404
1427
  this.isRetrying = false;
1428
+ this.sdkLoaded = false;
1405
1429
  this.plaidService = new plaid_service.PlaidService();
1406
1430
  this.maxRetries = 3;
1407
1431
  this.retryDelay = 2000; // 2 seconds
@@ -1748,15 +1772,31 @@ const JustifiPlaidPaymentMethod = class {
1748
1772
  this.openPlaidLink();
1749
1773
  }
1750
1774
  }
1751
- componentDidRender() {
1752
- if (!this.scriptRef)
1775
+ componentWillLoad() {
1776
+ var _a;
1777
+ this.isSelected = ((_a = checkout_store.checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === index$1.PAYMENT_METHODS.PLAID;
1778
+ if (checkout_store.checkoutStore.bankAccountVerification !== true)
1753
1779
  return;
1754
- this.scriptRef.onload = () => {
1755
- // Wait for store to be populated before initializing
1756
- this.waitForStoreAndInitialize();
1757
- };
1758
- // Add error handler for script loading failures
1759
- this.scriptRef.onerror = () => {
1780
+ if (checkout_store.checkoutStore.checkoutLoaded) {
1781
+ this.loadPlaidSDK();
1782
+ }
1783
+ else {
1784
+ checkout_store.onChange('checkoutLoaded', (loaded) => {
1785
+ if (loaded && checkout_store.checkoutStore.bankAccountVerification === true) {
1786
+ this.loadPlaidSDK();
1787
+ }
1788
+ });
1789
+ }
1790
+ }
1791
+ loadPlaidSDK() {
1792
+ if (this.sdkLoaded)
1793
+ return;
1794
+ this.sdkLoaded = true;
1795
+ const script = document.createElement('script');
1796
+ script.src = 'https://cdn.plaid.com/link/v2/stable/link-initialize.js';
1797
+ script.async = true;
1798
+ script.onload = () => this.initializePlaidLink();
1799
+ script.onerror = () => {
1760
1800
  this.handleError({
1761
1801
  code: Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED,
1762
1802
  message: Plaid.PLAID_ERROR_MESSAGES[Plaid.PlaidErrorCodes.PLAID_SDK_LOAD_FAILED],
@@ -1765,11 +1805,7 @@ const JustifiPlaidPaymentMethod = class {
1765
1805
  userAction: 'Refresh the page and try again'
1766
1806
  });
1767
1807
  };
1768
- }
1769
- componentWillLoad() {
1770
- var _a;
1771
- // Initialize selection state based on store
1772
- this.isSelected = ((_a = checkout_store.checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === index$1.PAYMENT_METHODS.PLAID;
1808
+ document.head.appendChild(script);
1773
1809
  }
1774
1810
  async resolvePaymentMethod() {
1775
1811
  if (!this.publicToken) {
@@ -1915,7 +1951,7 @@ const JustifiPlaidPaymentMethod = class {
1915
1951
  }
1916
1952
  return null;
1917
1953
  };
1918
- return (index.h(styledHost.StyledHost, { class: "payment-method" }, index.h("script", { src: "https://cdn.plaid.com/link/v2/stable/link-initialize.js", async: true, ref: (el) => (this.scriptRef = el) }), index.h("div", { title: "Pay with Plaid" }, index.h("div", { onClick: (event) => { event.preventDefault(); this.handleSelectionClick(); } }, "Pay with Bank Account ", plaidLogo, " "), renderErrorState(), renderStatusState())));
1954
+ return (index.h(styledHost.StyledHost, { class: "payment-method" }, index.h("div", { title: "Pay with Plaid" }, index.h("div", { onClick: (event) => { event.preventDefault(); this.handleSelectionClick(); } }, "Pay with Bank Account ", plaidLogo, " "), renderErrorState(), renderStatusState())));
1919
1955
  }
1920
1956
  static get watchers() { return {
1921
1957
  "isSelected": ["onSelectionChange"]
@@ -1943,11 +1979,13 @@ const JustifiSavedPaymentMethods = class {
1943
1979
  };
1944
1980
  }
1945
1981
  componentWillLoad() {
1946
- if (!checkout_store.checkoutStore.paymentMethods.length) {
1947
- console.warn('No saved payment methods available.');
1948
- }
1949
- if (checkout_store.checkoutStore.disablePaymentMethodGroup) {
1950
- console.warn('Payment method group is disabled.');
1982
+ if (checkout_store.checkoutStore.checkoutLoaded) {
1983
+ if (!checkout_store.checkoutStore.paymentMethods.length) {
1984
+ console.warn('No saved payment methods available.');
1985
+ }
1986
+ if (checkout_store.checkoutStore.disablePaymentMethodGroup) {
1987
+ console.warn('Payment method group is disabled.');
1988
+ }
1951
1989
  }
1952
1990
  }
1953
1991
  render() {
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var Analytics = require('./Analytics-BhduX1FR.js');
5
- var checkPkgVersion = require('./check-pkg-version-Bd2yxoh4.js');
4
+ var Analytics = require('./Analytics-DcqsdFaD.js');
5
+ var checkPkgVersion = require('./check-pkg-version-DFTQGZz1.js');
6
6
  var configState = require('./config-state-BIgGhhe9.js');
7
7
  var styledHost = require('./styled-host-DAi5SuFa.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
- require('./package-CjFkmEML.js');
9
+ require('./package-bM0MyhTf.js');
10
10
  require('./Api-Bukk55YZ.js');
11
11
  require('./utils-BHi4j5rB.js');
12
12
  require('./dinero-BwNN_k7x.js');
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var checkPkgVersion = require('./check-pkg-version-Bd2yxoh4.js');
5
- var Analytics = require('./Analytics-BhduX1FR.js');
4
+ var checkPkgVersion = require('./check-pkg-version-DFTQGZz1.js');
5
+ var Analytics = require('./Analytics-DcqsdFaD.js');
6
6
  var configState = require('./config-state-BIgGhhe9.js');
7
7
  var styledHost = require('./styled-host-DAi5SuFa.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
- require('./package-CjFkmEML.js');
9
+ require('./package-bM0MyhTf.js');
10
10
  require('./Api-Bukk55YZ.js');
11
11
  require('./utils-BHi4j5rB.js');
12
12
  require('./dinero-BwNN_k7x.js');
@@ -3,10 +3,10 @@
3
3
  var index = require('./index-p7cvUYAE.js');
4
4
  var utils = require('./utils-8RGQVADu.js');
5
5
  var business_service = require('./business.service-BheJs82v.js');
6
- var getBusiness = require('./get-business-CKC1P4Qs.js');
6
+ var getBusiness = require('./get-business-TFzhaBXn.js');
7
7
  var Plaid = require('./Plaid-BlSGeGpn.js');
8
- var Analytics = require('./Analytics-BhduX1FR.js');
9
- var checkPkgVersion = require('./check-pkg-version-Bd2yxoh4.js');
8
+ var Analytics = require('./Analytics-DcqsdFaD.js');
9
+ var checkPkgVersion = require('./check-pkg-version-DFTQGZz1.js');
10
10
  var styledHost = require('./styled-host-DAi5SuFa.js');
11
11
  require('./event-types-YOY5TKUN.js');
12
12
  var skeleton = require('./skeleton-DvRCiQlA.js');
@@ -20,7 +20,7 @@ require('./Pagination-Dediz133.js');
20
20
  require('./Business-oBifyXkW.js');
21
21
  require('./Dispute-CruQTF6_.js');
22
22
  require('./utils-DbTucCTO.js');
23
- require('./package-CjFkmEML.js');
23
+ require('./package-bM0MyhTf.js');
24
24
 
25
25
  const BusinessDetailsLoading = () => {
26
26
  const Block = () => (index.h("div", { class: "mt-5" }, index.h(skeleton.Skeleton, { width: "40%", height: "1.5rem" }), index.h("hr", null), index.h("div", { class: "row g-3" }, index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)), index.h("div", { class: "col-12 col-md-6" }, index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null), index.h(skeleton.Skeleton, null)))));
@@ -10,12 +10,12 @@ var Plaid = require('./Plaid-BlSGeGpn.js');
10
10
  require('./Pagination-Dediz133.js');
11
11
  var Business = require('./Business-oBifyXkW.js');
12
12
  require('./Dispute-CruQTF6_.js');
13
- var Analytics = require('./Analytics-BhduX1FR.js');
13
+ var Analytics = require('./Analytics-DcqsdFaD.js');
14
14
  var button = require('./button-CR9Rl1-o.js');
15
15
  var styledHost = require('./styled-host-DAi5SuFa.js');
16
16
  var header1 = require('./header-1-CsBQoo1f.js');
17
17
  require('./event-types-YOY5TKUN.js');
18
- var checkPkgVersion = require('./check-pkg-version-Bd2yxoh4.js');
18
+ var checkPkgVersion = require('./check-pkg-version-DFTQGZz1.js');
19
19
  var skeleton = require('./skeleton-DvRCiQlA.js');
20
20
  var eventTypes = require('./event-types-DNOUef41.js');
21
21
  var paymentProvisioningActions = require('./payment-provisioning-actions-BO7dzIm1.js');
@@ -26,7 +26,7 @@ require('./country-config-D7fss2oF.js');
26
26
  require('./business-form-options-D_nM7NDk.js');
27
27
  require('./index-W-zoNiyM.js');
28
28
  require('./utils-BHi4j5rB.js');
29
- require('./package-CjFkmEML.js');
29
+ require('./package-bM0MyhTf.js');
30
30
  require('./Api-Bukk55YZ.js');
31
31
  require('./parts-BXshb_S-.js');
32
32
  require('./utils-DbTucCTO.js');
@@ -1,12 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var Analytics = require('./Analytics-BhduX1FR.js');
5
- var checkPkgVersion = require('./check-pkg-version-Bd2yxoh4.js');
4
+ var Analytics = require('./Analytics-DcqsdFaD.js');
5
+ var checkPkgVersion = require('./check-pkg-version-DFTQGZz1.js');
6
6
  var configState = require('./config-state-BIgGhhe9.js');
7
7
  var styledHost = require('./styled-host-DAi5SuFa.js');
8
8
  require('./event-types-YOY5TKUN.js');
9
- require('./package-CjFkmEML.js');
9
+ require('./package-bM0MyhTf.js');
10
10
  require('./Api-Bukk55YZ.js');
11
11
  require('./utils-BHi4j5rB.js');
12
12
  require('./dinero-BwNN_k7x.js');
@@ -1,14 +1,14 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-p7cvUYAE.js');
4
- var Analytics = require('./Analytics-BhduX1FR.js');
5
- var checkPkgVersion = require('./check-pkg-version-Bd2yxoh4.js');
4
+ var Analytics = require('./Analytics-DcqsdFaD.js');
5
+ var checkPkgVersion = require('./check-pkg-version-DFTQGZz1.js');
6
6
  var checkout_store = require('./checkout.store-CztwuCnG.js');
7
7
  var parts = require('./parts-BXshb_S-.js');
8
8
  var styledHost = require('./styled-host-DAi5SuFa.js');
9
9
  require('./event-types-YOY5TKUN.js');
10
10
  var index$1 = require('./index-CajjbB9t.js');
11
- require('./package-CjFkmEML.js');
11
+ require('./package-bM0MyhTf.js');
12
12
  require('./Api-Bukk55YZ.js');
13
13
  require('./config-state-BIgGhhe9.js');
14
14
  require('./index-W-zoNiyM.js');
@@ -55,7 +55,6 @@ const JustifiCheckout = class {
55
55
  checkout_store.checkoutStore.isSubmitting = false;
56
56
  }
57
57
  checkoutError(_event) {
58
- console.error('[justifi-checkout] error-event received', _event === null || _event === void 0 ? void 0 : _event.detail);
59
58
  checkout_store.checkoutStore.isSubmitting = false;
60
59
  }
61
60
  checkoutChanged(event) {
@@ -90,9 +89,9 @@ const JustifiCheckout = class {
90
89
  }
91
90
  render() {
92
91
  var _a, _b;
93
- return (index.h(styledHost.StyledHost, { key: '3d9d149e2fe85c02aae2ca21a1dc655eda9e4af8' }, index.h("justifi-modular-checkout", { key: 'f1af5a7f23e895338500cb81e0f618b1bc911a84', ref: (el) => {
92
+ return (index.h(styledHost.StyledHost, { key: 'ffd2abaacc7edae588a9abe3a4ff96807b34fcff' }, index.h("justifi-modular-checkout", { key: '9196c278e24353aeb1ac02c85253d629f683522b', ref: (el) => {
94
93
  this.modularCheckoutRef = el;
95
- }, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, index.h("div", { key: '9ccf111654a251e0836c75ec9c696459dc20173f', class: "row gy-3 jfi-checkout-core" }, index.h("div", { key: 'b89f34eb2441b4ccf1b62de860440aef1aaa29e0', class: "col-12", part: parts.checkoutSummary }, index.h("justifi-header", { key: '04cb13fa1980b6b762ab920b1200173f004d84e2', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), index.h("section", { key: '15e13cb04cd7d402ff06a252dcee9e57ad33aa54' }, index.h("justifi-checkout-summary", { key: 'dd03dfa689be11328f2a9a955582bb144f765649' }))), index.h("div", { key: '2cbf3b6cd39027a5af4338e8dddf96d82b06e317', class: "col-12 mt-4" }, index.h("slot", { key: 'cc22673d5d7a6abed5dec41fb426b411bcb40bd9', name: "insurance" })), index.h("div", { key: '36793dae298583ecf989dcd0d875ca256899026f', class: "col-12 mt-4" }, index.h("justifi-header", { key: 'd343214c1b13f18d8c12a2734df74392b4eeeda6', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (index.h("justifi-header", { key: '4c301118984abf62e283244270d283211052ea35', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), index.h("div", { key: 'd94d75d2c4966aa3a5b1971c278d549cab084373', class: "d-flex flex-column" }, index.h("section", { key: '034d710eeb6a034e2e5ab4a9f035097ca090d95f' }, index.h("div", { key: '085a5cf1f48dda17aecb94cd3571c209b26cada9' }, this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.APPLE_PAY) && (index.h("div", { key: '866d933df84c42a656a25c4efb8e8248a66c83fa', class: "mb-3" }, index.h("justifi-apple-pay", { key: 'b1779224cb632c0be71f1656f0741240393c9305' }))), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.GOOGLE_PAY) && (index.h("div", { key: '6d0ccb9db6ae00463c619306d288234da77522bd', class: "mb-3" }, index.h("justifi-google-pay", { key: '10b8ef6bf5e8113be078e481ba966d554c4cb8de', ref: (el) => (this.googlePayRef = el) }))), index.h("justifi-saved-payment-methods", { key: '3018b688d7f59501d444c0129e492e6b04c656f8' }), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.SEZZLE) && (index.h("justifi-radio-list-item", { key: 'a61ee95ee25e5ec034c7cc4f4ab0f2f081acf6f6', name: "paymentMethodType", value: index$1.PAYMENT_METHODS.SEZZLE, checked: ((_a = checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === index$1.PAYMENT_METHODS.SEZZLE, label: index.h("justifi-sezzle-payment-method", { ref: (el) => (this.sezzlePaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.sezzlePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.PLAID) && !this.disableBnpl && (index.h("justifi-radio-list-item", { key: '99236535da0076054f9314ae188c7262651874cd', name: "paymentMethodType", value: index$1.PAYMENT_METHODS.PLAID, checked: ((_b = checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === index$1.PAYMENT_METHODS.PLAID, label: index.h("justifi-plaid-payment-method", { ref: (el) => (this.plaidPaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.plaidPaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), index.h("justifi-tokenize-payment-method", { key: 'd72193f53af86d07313e68fcffab022749c708ee', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkout_store.checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkout_store.checkoutStore.paymentMethodGroupId }))))), index.h("div", { key: '2cbfec00fbd62b19aae94f8cb4d9a29dd9c3ac70', class: "mt-4" }, index.h("justifi-button", { key: '92120dc18d5244fe867e03e03cebe110681a1975', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: checkout_store.checkoutStore.isSubmitting || checkout_store.checkoutStore.isWalletProcessing, isLoading: checkout_store.checkoutStore.isSubmitting || checkout_store.checkoutStore.isWalletProcessing, customStyle: { width: '100%', textAlign: "center" } }))))));
94
+ }, authToken: this.authToken, checkoutId: this.checkoutId, preCompleteHook: this.preCompleteHook }, index.h("div", { key: '895298286bc0aa6acbda896a4f148dd4f8d7e7d2', class: "row gy-3 jfi-checkout-core" }, index.h("div", { key: 'dd186ed2f0fd479cd60024423b6d55625b962e55', class: "col-12", part: parts.checkoutSummary }, index.h("justifi-header", { key: '920d4eca26846aa1cbc16693fa45a9d8054d95a7', text: "Summary", level: "h2", class: "fs-5 fw-bold pb-3" }), index.h("section", { key: '560f8c3757a7cf53fd0aa898fd243b16a2f8e8d5' }, index.h("justifi-checkout-summary", { key: '31faa6ca984aa22985927a1f80273c86a67c7025' }))), index.h("div", { key: '3128ae40a739573da32598213a289d8751503fb0', class: "col-12 mt-4" }, index.h("slot", { key: '4a310881bbc4017734082d5c4f6b41d3d5f2a424', name: "insurance" })), index.h("div", { key: '8047c4da62e2fd67bd0b3f8654c6a19c0cacc255', class: "col-12 mt-4" }, index.h("justifi-header", { key: '631ff14201f6246906e3e1572515de21a7977773', text: "Payment", level: "h2", class: "fs-5 fw-bold pb-3" }), this.showPaymentTypeHeader && (index.h("justifi-header", { key: '7fdc560ef42a5c2e8571f332e3c4ce8ff460d235', text: "Select payment type", level: "h3", class: "fs-6 fw-bold lh-lg" })), index.h("div", { key: '81dcb52c051044adb4dbd92ac73ee3096edc592b', class: "d-flex flex-column" }, index.h("section", { key: '4359903b195009a2e8fb997a1f77880cba40dea4' }, index.h("div", { key: '21728867e6288c3fb7d5e5a6ee3d15974568b866' }, this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.APPLE_PAY) && (index.h("div", { key: 'bdaa6b6c6d09cba294b2e46b85270241c86d2251', class: "mb-3" }, index.h("justifi-apple-pay", { key: '150d707bff7b79a1d19141f21a9c47e00e54418a' }))), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.GOOGLE_PAY) && (index.h("div", { key: 'ce2be06b20a1e7d0159fde68a1c5c349c2d11998', class: "mb-3" }, index.h("justifi-google-pay", { key: '0fc867ce77467eb1f1fd198a62e88bd2795f4914', ref: (el) => (this.googlePayRef = el) }))), index.h("justifi-saved-payment-methods", { key: '0bb1999c093b3837bfdb879134dc54f66c90e164' }), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.SEZZLE) && (index.h("justifi-radio-list-item", { key: '1599be9bcea7569d822a204c805f08f18a4e00a4', name: "paymentMethodType", value: index$1.PAYMENT_METHODS.SEZZLE, checked: ((_a = checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === index$1.PAYMENT_METHODS.SEZZLE, label: index.h("justifi-sezzle-payment-method", { ref: (el) => (this.sezzlePaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.sezzlePaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), this.availablePaymentMethods.includes(index$1.PAYMENT_METHODS.PLAID) && !this.disableBnpl && (index.h("justifi-radio-list-item", { key: 'c1de230257d290efa05f7a7166c2f069451c71a3', name: "paymentMethodType", value: index$1.PAYMENT_METHODS.PLAID, checked: ((_b = checkout_store.checkoutStore === null || checkout_store.checkoutStore === void 0 ? void 0 : checkout_store.checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === index$1.PAYMENT_METHODS.PLAID, label: index.h("justifi-plaid-payment-method", { ref: (el) => (this.plaidPaymentMethodRef = el) }), "onRadio-click": () => { var _a; (_a = this.plaidPaymentMethodRef) === null || _a === void 0 ? void 0 : _a.handleSelectionClick(); } })), index.h("justifi-tokenize-payment-method", { key: '44bca4ee57857afd4eee213cef98db2d4bd42490', ref: (el) => (this.tokenizePaymentMethodRef = el), authToken: this.authToken, accountId: checkout_store.checkoutStore.accountId, disableCreditCard: this.disableCreditCard, disableBankAccount: this.disableBankAccount, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, hideSubmitButton: true, paymentMethodGroupId: checkout_store.checkoutStore.paymentMethodGroupId }))))), index.h("div", { key: 'e5b6b4ac6b0fcec20380082f1b4cc5ba73bb88aa', class: "mt-4" }, index.h("justifi-button", { key: '188a8f46fd37b5f4f2d9b3ba7ff179d44d4a6656', text: "Pay", type: "submit", variant: "primary", clickHandler: (e) => this.submit(e), disabled: checkout_store.checkoutStore.isSubmitting || checkout_store.checkoutStore.isWalletProcessing, isLoading: checkout_store.checkoutStore.isSubmitting || checkout_store.checkoutStore.isWalletProcessing, customStyle: { width: '100%', textAlign: "center" } }))))));
96
95
  }
97
96
  static get watchers() { return {
98
97
  "authToken": ["propChanged"],