@justifi/webcomponents 5.4.2 → 5.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/dist/cjs/{SubAccount-06f9030b.js → SubAccount-2a302ead.js} +1 -0
  2. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +1 -1
  3. package/dist/cjs/billing-form_3.cjs.entry.js +1 -1
  4. package/dist/cjs/{check-pkg-version-15023e22.js → check-pkg-version-64d3381a.js} +1 -1
  5. package/dist/cjs/{checkout.service-ab658f38.js → checkout.service-0a7835dc.js} +1 -1
  6. package/dist/cjs/checkouts-list-core.cjs.entry.js +1 -1
  7. package/dist/cjs/{dispute.service-1494b42c.js → dispute.service-6efc7d7f.js} +1 -1
  8. package/dist/cjs/{get-payout-csv-4240b172.js → get-payout-csv-7607c71e.js} +1 -1
  9. package/dist/cjs/{get-subaccounts-fa8dc254.js → get-subaccounts-ae5b35a8.js} +1 -1
  10. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +1 -1
  11. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +1 -1
  12. package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
  13. package/dist/cjs/justifi-business-form.cjs.entry.js +3 -3
  14. package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
  15. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
  16. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +5 -5
  17. package/dist/cjs/justifi-dispute-management.cjs.entry.js +4 -4
  18. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +4 -4
  19. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
  20. package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -7
  21. package/dist/cjs/justifi-payment-details.cjs.entry.js +4 -4
  22. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
  23. package/dist/cjs/justifi-payments-list.cjs.entry.js +4 -4
  24. package/dist/cjs/justifi-payout-details.cjs.entry.js +4 -4
  25. package/dist/cjs/justifi-payouts-list.cjs.entry.js +5 -5
  26. package/dist/cjs/justifi-refund-payment.cjs.entry.js +26 -29
  27. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +3 -3
  28. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +1 -1
  29. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +4 -4
  30. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
  31. package/dist/cjs/justifi-terminals-list.cjs.entry.js +5 -5
  32. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +3 -3
  33. package/dist/cjs/loader.cjs.js +1 -1
  34. package/dist/cjs/{package-868b01af.js → package-99f9fc82.js} +1 -1
  35. package/dist/cjs/{payment.service-97bef4f8.js → payment.service-537e049d.js} +1 -1
  36. package/dist/cjs/payments-list-core.cjs.entry.js +1 -1
  37. package/dist/cjs/payouts-list-core.cjs.entry.js +1 -1
  38. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +2 -2
  39. package/dist/cjs/{terminal-orders-table-050e673f.js → terminal-orders-table-3b247193.js} +2 -0
  40. package/dist/cjs/{terminal.service-0aac977d.js → terminal.service-ab62c344.js} +1 -1
  41. package/dist/cjs/terminals-list-core.cjs.entry.js +1 -1
  42. package/dist/cjs/webcomponents.cjs.js +1 -1
  43. package/dist/collection/api/TerminalOrder.js +1 -0
  44. package/dist/collection/components/order-terminals/order-terminals.js +23 -3
  45. package/dist/collection/components/refund-payment/refund-payment.js +97 -52
  46. package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +2 -0
  47. package/dist/docs.json +116 -43
  48. package/dist/esm/{SubAccount-837658ae.js → SubAccount-7520271c.js} +1 -0
  49. package/dist/esm/bank-account-document-form-inputs_4.entry.js +1 -1
  50. package/dist/esm/billing-form_3.entry.js +1 -1
  51. package/dist/esm/{check-pkg-version-a8dd8455.js → check-pkg-version-bbd75fa0.js} +1 -1
  52. package/dist/esm/{checkout.service-87cd501d.js → checkout.service-e38e477f.js} +1 -1
  53. package/dist/esm/checkouts-list-core.entry.js +1 -1
  54. package/dist/esm/{dispute.service-1f79929b.js → dispute.service-7ba6d5a4.js} +1 -1
  55. package/dist/esm/{get-payout-csv-6139c5fc.js → get-payout-csv-fa34f40b.js} +1 -1
  56. package/dist/esm/{get-subaccounts-c4b2b829.js → get-subaccounts-3c6b9e84.js} +1 -1
  57. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +1 -1
  58. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +1 -1
  59. package/dist/esm/justifi-business-details.entry.js +2 -2
  60. package/dist/esm/justifi-business-form.entry.js +3 -3
  61. package/dist/esm/justifi-checkout.entry.js +4 -4
  62. package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
  63. package/dist/esm/justifi-checkouts-list.entry.js +5 -5
  64. package/dist/esm/justifi-dispute-management.entry.js +4 -4
  65. package/dist/esm/justifi-dispute-notification_3.entry.js +4 -4
  66. package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
  67. package/dist/esm/justifi-order-terminals.entry.js +9 -7
  68. package/dist/esm/justifi-payment-details.entry.js +4 -4
  69. package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
  70. package/dist/esm/justifi-payments-list.entry.js +4 -4
  71. package/dist/esm/justifi-payout-details.entry.js +4 -4
  72. package/dist/esm/justifi-payouts-list.entry.js +5 -5
  73. package/dist/esm/justifi-refund-payment.entry.js +26 -29
  74. package/dist/esm/justifi-season-interruption-insurance.entry.js +3 -3
  75. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +1 -1
  76. package/dist/esm/justifi-terminal-orders-list.entry.js +4 -4
  77. package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
  78. package/dist/esm/justifi-terminals-list.entry.js +5 -5
  79. package/dist/esm/justifi-tokenize-payment-method.entry.js +3 -3
  80. package/dist/esm/loader.js +1 -1
  81. package/dist/esm/{package-f0bb46fd.js → package-01997353.js} +1 -1
  82. package/dist/esm/{payment.service-bc99d372.js → payment.service-af5bd8be.js} +1 -1
  83. package/dist/esm/payments-list-core.entry.js +1 -1
  84. package/dist/esm/payouts-list-core.entry.js +1 -1
  85. package/dist/esm/terminal-orders-list-core.entry.js +2 -2
  86. package/dist/esm/{terminal-orders-table-65d59323.js → terminal-orders-table-93e84d25.js} +2 -0
  87. package/dist/esm/{terminal.service-a8a968ac.js → terminal.service-d173566d.js} +1 -1
  88. package/dist/esm/terminals-list-core.entry.js +1 -1
  89. package/dist/esm/webcomponents.js +1 -1
  90. package/dist/module/SubAccount.js +1 -0
  91. package/dist/module/justifi-order-terminals.js +6 -3
  92. package/dist/module/justifi-refund-payment.js +31 -31
  93. package/dist/module/package.js +1 -1
  94. package/dist/module/terminal-orders-list-core2.js +2 -0
  95. package/dist/types/api/TerminalOrder.d.ts +2 -0
  96. package/dist/types/components/order-terminals/order-terminals.d.ts +2 -0
  97. package/dist/types/components/refund-payment/refund-payment.d.ts +9 -36
  98. package/dist/types/components/terminal-orders-list/terminal-orders-table.d.ts +2 -0
  99. package/dist/types/components.d.ts +11 -35
  100. package/dist/webcomponents/{p-74711d79.entry.js → p-07fbeff3.entry.js} +1 -1
  101. package/dist/webcomponents/{p-5bd1c32c.entry.js → p-0fa216eb.entry.js} +1 -1
  102. package/dist/webcomponents/{p-d86add24.entry.js → p-0fc1d3bb.entry.js} +1 -1
  103. package/dist/webcomponents/{p-60ec062a.entry.js → p-1134e1d3.entry.js} +1 -1
  104. package/dist/webcomponents/p-1c38ec65.entry.js +1 -0
  105. package/dist/webcomponents/{p-b5c7cb4c.entry.js → p-1ce63001.entry.js} +1 -1
  106. package/dist/webcomponents/{p-913e28d6.entry.js → p-290fa30d.entry.js} +1 -1
  107. package/dist/webcomponents/{p-0d7d61ac.js → p-2a9d7f6b.js} +1 -1
  108. package/dist/webcomponents/{p-9c4e3bac.js → p-3188f72a.js} +1 -1
  109. package/dist/webcomponents/{p-a589b3a1.entry.js → p-3cc7527a.entry.js} +1 -1
  110. package/dist/webcomponents/{p-ebd814ab.entry.js → p-3cf317d3.entry.js} +1 -1
  111. package/dist/webcomponents/{p-c438d1c8.entry.js → p-4598482c.entry.js} +1 -1
  112. package/dist/webcomponents/{p-96783edf.js → p-536fb8e2.js} +1 -1
  113. package/dist/webcomponents/{p-9e49cf17.js → p-54556fc6.js} +1 -1
  114. package/dist/webcomponents/{p-8c70396c.entry.js → p-645db2cb.entry.js} +1 -1
  115. package/dist/webcomponents/{p-14cfb25e.entry.js → p-65cb72e4.entry.js} +1 -1
  116. package/dist/webcomponents/{p-b299b597.entry.js → p-6a5eab1f.entry.js} +1 -1
  117. package/dist/webcomponents/p-7b793901.entry.js +1 -0
  118. package/dist/webcomponents/{p-e309516a.entry.js → p-7c333590.entry.js} +1 -1
  119. package/dist/webcomponents/p-81a6c3e2.entry.js +1 -0
  120. package/dist/webcomponents/{p-ac9f2e2b.js → p-87a4fb5b.js} +1 -1
  121. package/dist/webcomponents/{p-b99817a0.js → p-88a37837.js} +1 -1
  122. package/dist/webcomponents/{p-187d456b.entry.js → p-8a6a06e6.entry.js} +1 -1
  123. package/dist/webcomponents/{p-190ee091.entry.js → p-8d4a0192.entry.js} +1 -1
  124. package/dist/webcomponents/{p-72e71b3c.js → p-9a9732e1.js} +1 -1
  125. package/dist/webcomponents/p-9fecad5a.js +1 -0
  126. package/dist/webcomponents/{p-a2d30370.entry.js → p-a07e021f.entry.js} +1 -1
  127. package/dist/webcomponents/p-a6976c9c.entry.js +1 -0
  128. package/dist/webcomponents/{p-90b82e40.entry.js → p-a8c69f51.entry.js} +1 -1
  129. package/dist/webcomponents/{p-150e80db.entry.js → p-ab3a8004.entry.js} +1 -1
  130. package/dist/webcomponents/{p-746894be.entry.js → p-b082f07a.entry.js} +1 -1
  131. package/dist/webcomponents/{p-2819e94a.entry.js → p-b218af87.entry.js} +1 -1
  132. package/dist/webcomponents/{p-c00ef77b.entry.js → p-b979fcb0.entry.js} +1 -1
  133. package/dist/webcomponents/{p-45fda0bc.entry.js → p-caa29469.entry.js} +1 -1
  134. package/dist/webcomponents/{p-6a594a9f.js → p-cbad44b7.js} +1 -1
  135. package/dist/webcomponents/{p-5c5c1e82.entry.js → p-dd2938d3.entry.js} +1 -1
  136. package/dist/webcomponents/{p-431670c6.entry.js → p-e3855f51.entry.js} +1 -1
  137. package/dist/webcomponents/{p-1da00a0c.entry.js → p-e73be1b9.entry.js} +1 -1
  138. package/dist/webcomponents/p-e817d131.entry.js +1 -0
  139. package/dist/webcomponents/{p-3da2652e.js → p-f4aeb100.js} +1 -1
  140. package/dist/webcomponents/webcomponents.esm.js +1 -1
  141. package/package.json +1 -1
  142. package/dist/webcomponents/p-507d8aa4.entry.js +0 -1
  143. package/dist/webcomponents/p-b26fb429.js +0 -1
  144. package/dist/webcomponents/p-c7313123.entry.js +0 -1
  145. package/dist/webcomponents/p-cf9e893a.entry.js +0 -1
  146. package/dist/webcomponents/p-dcff8139.entry.js +0 -1
  147. package/dist/webcomponents/p-f0a56d96.entry.js +0 -1
@@ -90,6 +90,7 @@ class TerminalOrder {
90
90
  constructor(data) {
91
91
  this.id = data.id;
92
92
  this.business_id = data.business_id;
93
+ this.company_name = data.company_name;
93
94
  this.sub_account_id = data.sub_account_id;
94
95
  this.provider = data.provider || TerminalProviders.verifone;
95
96
  this.order_items = [];
@@ -7,7 +7,7 @@ require('./ComponentError-233ac749.js');
7
7
  require('./Checkout-5352009d.js');
8
8
  require('./Pagination-0da8f095.js');
9
9
  require('./Payment-bccd8f7d.js');
10
- require('./SubAccount-06f9030b.js');
10
+ require('./SubAccount-2a302ead.js');
11
11
  const Document = require('./Document-0b828345.js');
12
12
  const businessFormOptions = require('./business-form-options-62e9c8ab.js');
13
13
  require('./event-types-180a85a9.js');
@@ -8,7 +8,7 @@ const schemaValidations = require('./schema-validations-a7cefbdf.js');
8
8
  const utils = require('./utils-bc03ca40.js');
9
9
  const stateOptions = require('./state-options-4fbcb48a.js');
10
10
  const formControlErrorText = require('./form-control-error-text-3cff9b7b.js');
11
- const _package = require('./package-868b01af.js');
11
+ const _package = require('./package-99f9fc82.js');
12
12
  const iframeInputStylesState = require('./iframe-input-styles-state-d0de0b24.js');
13
13
  const parts = require('./parts-5ca90f9a.js');
14
14
  require('./business-form-options-62e9c8ab.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- const _package = require('./package-868b01af.js');
3
+ const _package = require('./package-99f9fc82.js');
4
4
  const Api = require('./Api-83d93333.js');
5
5
 
6
6
  class AnalyticsService {
@@ -5,7 +5,7 @@ require('./ComponentError-233ac749.js');
5
5
  require('./Checkout-5352009d.js');
6
6
  require('./Pagination-0da8f095.js');
7
7
  require('./Payment-bccd8f7d.js');
8
- require('./SubAccount-06f9030b.js');
8
+ require('./SubAccount-2a302ead.js');
9
9
  require('./Document-0b828345.js');
10
10
 
11
11
  class CheckoutService {
@@ -7,7 +7,7 @@ require('./ComponentError-233ac749.js');
7
7
  require('./Checkout-5352009d.js');
8
8
  const Pagination = require('./Pagination-0da8f095.js');
9
9
  require('./Payment-bccd8f7d.js');
10
- require('./SubAccount-06f9030b.js');
10
+ require('./SubAccount-2a302ead.js');
11
11
  require('./Document-0b828345.js');
12
12
  const parts = require('./parts-5ca90f9a.js');
13
13
  const eventTypes = require('./event-types-5a6ce2b0.js');
@@ -5,7 +5,7 @@ require('./ComponentError-233ac749.js');
5
5
  require('./Checkout-5352009d.js');
6
6
  require('./Pagination-0da8f095.js');
7
7
  require('./Payment-bccd8f7d.js');
8
- require('./SubAccount-06f9030b.js');
8
+ require('./SubAccount-2a302ead.js');
9
9
  require('./Document-0b828345.js');
10
10
 
11
11
  class DisputeService {
@@ -5,7 +5,7 @@ const ComponentError = require('./ComponentError-233ac749.js');
5
5
  require('./Checkout-5352009d.js');
6
6
  require('./Pagination-0da8f095.js');
7
7
  require('./Payment-bccd8f7d.js');
8
- require('./SubAccount-06f9030b.js');
8
+ require('./SubAccount-2a302ead.js');
9
9
  require('./Document-0b828345.js');
10
10
  const utils = require('./utils-7a478c37.js');
11
11
 
@@ -5,7 +5,7 @@ const ComponentError = require('./ComponentError-233ac749.js');
5
5
  require('./Checkout-5352009d.js');
6
6
  require('./Pagination-0da8f095.js');
7
7
  require('./Payment-bccd8f7d.js');
8
- const SubAccount = require('./SubAccount-06f9030b.js');
8
+ const SubAccount = require('./SubAccount-2a302ead.js');
9
9
  require('./Document-0b828345.js');
10
10
  const utils = require('./utils-7a478c37.js');
11
11
 
@@ -16,7 +16,7 @@ const ComponentError = require('./ComponentError-233ac749.js');
16
16
  require('./Checkout-5352009d.js');
17
17
  require('./Pagination-0da8f095.js');
18
18
  require('./Payment-bccd8f7d.js');
19
- require('./SubAccount-06f9030b.js');
19
+ require('./SubAccount-2a302ead.js');
20
20
  const Document = require('./Document-0b828345.js');
21
21
  const utils = require('./utils-bc03ca40.js');
22
22
  const button = require('./button-4a9fd41e.js');
@@ -9,7 +9,7 @@ const business_service = require('./business.service-6e8a29a2.js');
9
9
  require('./Checkout-5352009d.js');
10
10
  require('./Pagination-0da8f095.js');
11
11
  require('./Payment-bccd8f7d.js');
12
- require('./SubAccount-06f9030b.js');
12
+ require('./SubAccount-2a302ead.js');
13
13
  require('./Document-0b828345.js');
14
14
  const index_esm = require('./index.esm-544c08fd.js');
15
15
  const Api = require('./Api-83d93333.js');
@@ -7,14 +7,14 @@ const utils = require('./utils-f8714daa.js');
7
7
  const business_service = require('./business.service-6e8a29a2.js');
8
8
  const getBusiness = require('./get-business-d8f5db51.js');
9
9
  const ComponentError = require('./ComponentError-233ac749.js');
10
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
10
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
11
11
  require('./parts-5ca90f9a.js');
12
12
  require('./Api-83d93333.js');
13
13
  require('./Business-d88b77fd.js');
14
14
  require('./helpers-602962eb.js');
15
15
  require('./state-options-4fbcb48a.js');
16
16
  require('./utils-7a478c37.js');
17
- require('./package-868b01af.js');
17
+ require('./package-99f9fc82.js');
18
18
 
19
19
  const BusinessDetails = class {
20
20
  constructor(hostRef) {
@@ -11,10 +11,10 @@ require('./ComponentError-233ac749.js');
11
11
  require('./Checkout-5352009d.js');
12
12
  require('./Pagination-0da8f095.js');
13
13
  require('./Payment-bccd8f7d.js');
14
- require('./SubAccount-06f9030b.js');
14
+ require('./SubAccount-2a302ead.js');
15
15
  require('./Document-0b828345.js');
16
16
  const Business = require('./Business-d88b77fd.js');
17
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
17
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
18
18
  const button = require('./button-4a9fd41e.js');
19
19
  const styledHost = require('./styled-host-94309bab.js');
20
20
  const header1 = require('./header-1-43b2b905.js');
@@ -26,7 +26,7 @@ require('./business-form-options-62e9c8ab.js');
26
26
  require('./utils-4120664c.js');
27
27
  require('./Dispute-eb6bad54.js');
28
28
  require('./helpers-602962eb.js');
29
- require('./package-868b01af.js');
29
+ require('./package-99f9fc82.js');
30
30
  require('./parts-5ca90f9a.js');
31
31
 
32
32
  const businessFormSchema = index_esm.create$3(Object.assign(Object.assign({}, businessAdditionalQuestionsSchema.businessCoreInfoSchema().fields), { legal_address: businessIdentitySchema.addressSchema(), additional_questions: businessAdditionalQuestionsSchema.additionalQuestionsSchema(), representative: businessIdentitySchema.identitySchema('representative') }));
@@ -5,17 +5,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const ComponentError = require('./ComponentError-233ac749.js');
7
7
  const utils = require('./utils-7a478c37.js');
8
- const checkout_service = require('./checkout.service-ab658f38.js');
9
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
8
+ const checkout_service = require('./checkout.service-0a7835dc.js');
9
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
10
10
  require('./Api-83d93333.js');
11
11
  require('./Checkout-5352009d.js');
12
12
  require('./utils-4120664c.js');
13
13
  require('./Pagination-0da8f095.js');
14
14
  require('./Payment-bccd8f7d.js');
15
15
  require('./Dispute-eb6bad54.js');
16
- require('./SubAccount-06f9030b.js');
16
+ require('./SubAccount-2a302ead.js');
17
17
  require('./Document-0b828345.js');
18
- require('./package-868b01af.js');
18
+ require('./package-99f9fc82.js');
19
19
 
20
20
  const makeGetCheckout = ({ authToken, checkoutId, service }) => async ({ onSuccess, onError }) => {
21
21
  var _a;
@@ -7,7 +7,7 @@ require('./ComponentError-233ac749.js');
7
7
  const Checkout = require('./Checkout-5352009d.js');
8
8
  require('./Pagination-0da8f095.js');
9
9
  require('./Payment-bccd8f7d.js');
10
- require('./SubAccount-06f9030b.js');
10
+ require('./SubAccount-2a302ead.js');
11
11
  require('./Document-0b828345.js');
12
12
  const checkoutsListParamsState = require('./checkouts-list-params-state-644d3639.js');
13
13
  const parts = require('./parts-5ca90f9a.js');
@@ -7,17 +7,17 @@ const ComponentError = require('./ComponentError-233ac749.js');
7
7
  const Checkout = require('./Checkout-5352009d.js');
8
8
  require('./Pagination-0da8f095.js');
9
9
  require('./Payment-bccd8f7d.js');
10
- require('./SubAccount-06f9030b.js');
10
+ require('./SubAccount-2a302ead.js');
11
11
  require('./Document-0b828345.js');
12
12
  const utils = require('./utils-7a478c37.js');
13
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
14
- const checkout_service = require('./checkout.service-ab658f38.js');
15
- const getSubaccounts = require('./get-subaccounts-fa8dc254.js');
13
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
14
+ const checkout_service = require('./checkout.service-0a7835dc.js');
15
+ const getSubaccounts = require('./get-subaccounts-ae5b35a8.js');
16
16
  const styledHost = require('./styled-host-94309bab.js');
17
17
  const checkoutsTable = require('./checkouts-table-8a1b49ff.js');
18
18
  require('./utils-4120664c.js');
19
19
  require('./Dispute-eb6bad54.js');
20
- require('./package-868b01af.js');
20
+ require('./package-99f9fc82.js');
21
21
  require('./Api-83d93333.js');
22
22
  require('./badge-364e6311.js');
23
23
  require('./parts-5ca90f9a.js');
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const ComponentError = require('./ComponentError-233ac749.js');
7
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
7
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
8
8
  const Dispute = require('./Dispute-eb6bad54.js');
9
9
  const utils = require('./utils-7a478c37.js');
10
- const dispute_service = require('./dispute.service-1494b42c.js');
11
- require('./package-868b01af.js');
10
+ const dispute_service = require('./dispute.service-6efc7d7f.js');
11
+ require('./package-99f9fc82.js');
12
12
  require('./Api-83d93333.js');
13
13
  require('./Checkout-5352009d.js');
14
14
  require('./utils-4120664c.js');
15
15
  require('./Pagination-0da8f095.js');
16
16
  require('./Payment-bccd8f7d.js');
17
- require('./SubAccount-06f9030b.js');
17
+ require('./SubAccount-2a302ead.js');
18
18
  require('./Document-0b828345.js');
19
19
 
20
20
  const makeGetDispute = ({ id, authToken, service, apiOrigin }) => async ({ onSuccess, onError }) => {
@@ -10,17 +10,17 @@ const styledHost = require('./styled-host-94309bab.js');
10
10
  const skeleton = require('./skeleton-e8aa41d0.js');
11
11
  const ComponentError = require('./ComponentError-233ac749.js');
12
12
  const utils = require('./utils-7a478c37.js');
13
- const dispute_service = require('./dispute.service-1494b42c.js');
13
+ const dispute_service = require('./dispute.service-6efc7d7f.js');
14
14
  const eventTypes = require('./event-types-8edaabbb.js');
15
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
15
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
16
16
  require('./Api-83d93333.js');
17
17
  require('./Checkout-5352009d.js');
18
18
  require('./Pagination-0da8f095.js');
19
19
  require('./Payment-bccd8f7d.js');
20
20
  require('./Dispute-eb6bad54.js');
21
- require('./SubAccount-06f9030b.js');
21
+ require('./SubAccount-2a302ead.js');
22
22
  require('./Document-0b828345.js');
23
- require('./package-868b01af.js');
23
+ require('./package-99f9fc82.js');
24
24
 
25
25
  const makeUpdateDisputeResponse = ({ authToken, disputeId, service }) => async ({ payload, onSuccess, onError, final = () => { } }) => {
26
26
  var _a;
@@ -7,9 +7,9 @@ const Api = require('./Api-83d93333.js');
7
7
  const ComponentError = require('./ComponentError-233ac749.js');
8
8
  const utils = require('./utils-7a478c37.js');
9
9
  const utils$1 = require('./utils-f8714daa.js');
10
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
10
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
11
11
  require('./parts-5ca90f9a.js');
12
- require('./package-868b01af.js');
12
+ require('./package-99f9fc82.js');
13
13
 
14
14
  class ReportsService {
15
15
  async fetchGrossVolumeChartData(accountId, authToken) {
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const parts = require('./parts-5ca90f9a.js');
7
7
  const styledHost = require('./styled-host-94309bab.js');
8
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
8
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
9
9
  const ComponentError = require('./ComponentError-233ac749.js');
10
10
  const business_service = require('./business.service-6e8a29a2.js');
11
11
  const Business = require('./Business-d88b77fd.js');
@@ -14,12 +14,12 @@ const skeleton = require('./skeleton-e8aa41d0.js');
14
14
  require('./Checkout-5352009d.js');
15
15
  require('./Pagination-0da8f095.js');
16
16
  require('./Payment-bccd8f7d.js');
17
- const SubAccount = require('./SubAccount-06f9030b.js');
17
+ const SubAccount = require('./SubAccount-2a302ead.js');
18
18
  require('./Document-0b828345.js');
19
19
  const utils = require('./utils-7a478c37.js');
20
- const terminal_service = require('./terminal.service-0aac977d.js');
20
+ const terminal_service = require('./terminal.service-ab62c344.js');
21
21
  const utils$1 = require('./utils-4120664c.js');
22
- require('./package-868b01af.js');
22
+ require('./package-99f9fc82.js');
23
23
  require('./Api-83d93333.js');
24
24
  require('./helpers-602962eb.js');
25
25
  require('./state-options-4fbcb48a.js');
@@ -124,11 +124,13 @@ const OrderTerminals = class {
124
124
  index.registerInstance(this, hostRef);
125
125
  this.errorEvent = index.createEvent(this, "error-event", 7);
126
126
  this.submitted = index.createEvent(this, "submit-event", 7);
127
+ this.addressHeader = this.shipping ? "Shipping Address:" : "Business Address:";
127
128
  this.businessId = undefined;
128
129
  this.authToken = undefined;
129
130
  this.accountId = undefined;
130
131
  this.shipping = false;
131
132
  this.apiOrigin = "https://wc-proxy.justifi.ai";
133
+ this.submitButtonText = 'Submit Order';
132
134
  this.loading = {
133
135
  business: true,
134
136
  terminals: true,
@@ -227,7 +229,7 @@ const OrderTerminals = class {
227
229
  renderBusinessDetails() {
228
230
  var _a, _b, _c, _d, _e, _f, _g, _h;
229
231
  if (!this.loading.business && this.business) {
230
- return (index.h("div", { class: "d-flex flex-column gap-4 mb-5 pt-5" }, index.h("div", { class: "row" }, index.h("div", { class: "col-12" }, index.h("h2", { part: parts.heading4 }, this.business.legal_name))), index.h("div", { class: "row" }, index.h("div", { class: "col-6" }, index.h("h5", { part: parts.heading5 }, "Representative:"), index.h("div", null, index.h("div", null, (_b = (_a = this.business) === null || _a === void 0 ? void 0 : _a.representative) === null || _b === void 0 ? void 0 : _b.name), index.h("div", null, (_d = (_c = this.business) === null || _c === void 0 ? void 0 : _c.representative) === null || _d === void 0 ? void 0 : _d.title), index.h("div", null, (_f = (_e = this.business) === null || _e === void 0 ? void 0 : _e.representative) === null || _f === void 0 ? void 0 : _f.email), index.h("div", null, utils$1.formatPhoneNumber((_h = (_g = this.business) === null || _g === void 0 ? void 0 : _g.representative) === null || _h === void 0 ? void 0 : _h.phone)))), this.shipping && (index.h("div", { class: "col-6" }, index.h("h5", { part: parts.heading5 }, "Shipping Address:"), index.h("div", null, this.business.legal_address.line1, this.business.legal_address.line2 ? `, ${this.business.legal_address.line2}` : "", index.h("br", null), this.business.legal_address.city, ", ", this.business.legal_address.state, " ", this.business.legal_address.postal_code))))));
232
+ return (index.h("div", { class: "d-flex flex-column gap-4 mb-5 pt-5" }, index.h("div", { class: "row" }, index.h("div", { class: "col-12" }, index.h("h2", { part: parts.heading4 }, this.business.legal_name))), index.h("div", { class: "row" }, index.h("div", { class: "col-6" }, index.h("h5", { part: parts.heading5 }, "Representative:"), index.h("div", null, index.h("div", null, (_b = (_a = this.business) === null || _a === void 0 ? void 0 : _a.representative) === null || _b === void 0 ? void 0 : _b.name), index.h("div", null, (_d = (_c = this.business) === null || _c === void 0 ? void 0 : _c.representative) === null || _d === void 0 ? void 0 : _d.title), index.h("div", null, (_f = (_e = this.business) === null || _e === void 0 ? void 0 : _e.representative) === null || _f === void 0 ? void 0 : _f.email), index.h("div", null, utils$1.formatPhoneNumber((_h = (_g = this.business) === null || _g === void 0 ? void 0 : _g.representative) === null || _h === void 0 ? void 0 : _h.phone)))), index.h("div", { class: "col-6" }, index.h("h5", { part: parts.heading5 }, this.addressHeader), index.h("div", null, this.business.legal_address.line1, this.business.legal_address.line2 ? `, ${this.business.legal_address.line2}` : "", index.h("br", null), this.business.legal_address.city, ", ", this.business.legal_address.state, " ", this.business.legal_address.postal_code)))));
231
233
  }
232
234
  }
233
235
  renderTerminals() {
@@ -236,10 +238,10 @@ const OrderTerminals = class {
236
238
  }
237
239
  }
238
240
  renderOrderSection() {
239
- return (index.h("div", { class: "mt-3" }, index.h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), index.h("div", { class: "d-flex justify-content-end mt-3" }, index.h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: parts.buttonPrimary }, this.submitting ? 'Submitting...' : 'Submit Order'))));
241
+ return (index.h("div", { class: "mt-3" }, index.h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), index.h("div", { class: "d-flex justify-content-end mt-3" }, index.h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: parts.buttonPrimary }, this.submitting ? 'Submitting...' : this.submitButtonText))));
240
242
  }
241
243
  render() {
242
- return (index.h(styledHost.StyledHost, { key: 'ff0a0b45e2c76f106df29422c3ba3391de7fc267' }, index.h("div", { key: 'daad918582cad630ba6081288aafc6df9391236b', part: parts.text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
244
+ return (index.h(styledHost.StyledHost, { key: 'e41920bc976c976932d5abdbb2da088a0e35a9f3' }, index.h("div", { key: '5237d2dcb456ee143f75b5562cf655ed695ab0e8', part: parts.text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
243
245
  }
244
246
  };
245
247
 
@@ -3,21 +3,21 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const payment_service = require('./payment.service-97bef4f8.js');
6
+ const payment_service = require('./payment.service-537e049d.js');
7
7
  const ComponentError = require('./ComponentError-233ac749.js');
8
8
  require('./Checkout-5352009d.js');
9
9
  require('./Pagination-0da8f095.js');
10
10
  const Payment = require('./Payment-bccd8f7d.js');
11
- require('./SubAccount-06f9030b.js');
11
+ require('./SubAccount-2a302ead.js');
12
12
  require('./Document-0b828345.js');
13
13
  const utils = require('./utils-7a478c37.js');
14
14
  const utils$1 = require('./utils-f8714daa.js');
15
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
15
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
16
16
  require('./Api-83d93333.js');
17
17
  require('./utils-4120664c.js');
18
18
  require('./Dispute-eb6bad54.js');
19
19
  require('./parts-5ca90f9a.js');
20
- require('./package-868b01af.js');
20
+ require('./package-99f9fc82.js');
21
21
 
22
22
  const makeGetPaymentDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
23
23
  var _a;
@@ -3,12 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
6
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
7
7
  const ComponentError = require('./ComponentError-233ac749.js');
8
8
  const paymentProvisioningActions = require('./payment-provisioning-actions-382ab48c.js');
9
9
  const business_service = require('./business.service-6e8a29a2.js');
10
10
  const Api = require('./Api-83d93333.js');
11
- require('./package-868b01af.js');
11
+ require('./package-99f9fc82.js');
12
12
  require('./utils-7a478c37.js');
13
13
 
14
14
  class ProvisionService {
@@ -3,21 +3,21 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const payment_service = require('./payment.service-97bef4f8.js');
6
+ const payment_service = require('./payment.service-537e049d.js');
7
7
  const ComponentError = require('./ComponentError-233ac749.js');
8
8
  require('./Checkout-5352009d.js');
9
9
  require('./Pagination-0da8f095.js');
10
10
  const Payment = require('./Payment-bccd8f7d.js');
11
- require('./SubAccount-06f9030b.js');
11
+ require('./SubAccount-2a302ead.js');
12
12
  require('./Document-0b828345.js');
13
13
  const utils = require('./utils-7a478c37.js');
14
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
14
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
15
15
  const styledHost = require('./styled-host-94309bab.js');
16
16
  const paymentsTable = require('./payments-table-a076755a.js');
17
17
  require('./Api-83d93333.js');
18
18
  require('./utils-4120664c.js');
19
19
  require('./Dispute-eb6bad54.js');
20
- require('./package-868b01af.js');
20
+ require('./package-99f9fc82.js');
21
21
  require('./payments-status-075aad0a.js');
22
22
  require('./badge-364e6311.js');
23
23
  require('./parts-5ca90f9a.js');
@@ -3,21 +3,21 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
- const getPayoutCsv = require('./get-payout-csv-4240b172.js');
6
+ const getPayoutCsv = require('./get-payout-csv-7607c71e.js');
7
7
  const ComponentError = require('./ComponentError-233ac749.js');
8
8
  require('./Checkout-5352009d.js');
9
9
  require('./Pagination-0da8f095.js');
10
10
  require('./Payment-bccd8f7d.js');
11
- const SubAccount = require('./SubAccount-06f9030b.js');
11
+ const SubAccount = require('./SubAccount-2a302ead.js');
12
12
  require('./Document-0b828345.js');
13
13
  const utils = require('./utils-7a478c37.js');
14
14
  const utils$1 = require('./utils-f8714daa.js');
15
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
15
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
16
16
  require('./Api-83d93333.js');
17
17
  require('./utils-4120664c.js');
18
18
  require('./Dispute-eb6bad54.js');
19
19
  require('./parts-5ca90f9a.js');
20
- require('./package-868b01af.js');
20
+ require('./package-99f9fc82.js');
21
21
 
22
22
  const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
23
23
  var _a;
@@ -4,18 +4,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const ComponentError = require('./ComponentError-233ac749.js');
7
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
8
- const getPayoutCsv = require('./get-payout-csv-4240b172.js');
7
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
8
+ const getPayoutCsv = require('./get-payout-csv-7607c71e.js');
9
9
  require('./Checkout-5352009d.js');
10
10
  require('./Pagination-0da8f095.js');
11
11
  require('./Payment-bccd8f7d.js');
12
- const SubAccount = require('./SubAccount-06f9030b.js');
12
+ const SubAccount = require('./SubAccount-2a302ead.js');
13
13
  require('./Document-0b828345.js');
14
14
  const utils = require('./utils-7a478c37.js');
15
- const getSubaccounts = require('./get-subaccounts-fa8dc254.js');
15
+ const getSubaccounts = require('./get-subaccounts-ae5b35a8.js');
16
16
  const styledHost = require('./styled-host-94309bab.js');
17
17
  const payoutsTable = require('./payouts-table-aedce326.js');
18
- require('./package-868b01af.js');
18
+ require('./package-99f9fc82.js');
19
19
  require('./Api-83d93333.js');
20
20
  require('./utils-4120664c.js');
21
21
  require('./Dispute-eb6bad54.js');
@@ -6,14 +6,14 @@ const index = require('./index-5b9a3b5f.js');
6
6
  const index_esm = require('./index.esm-544c08fd.js');
7
7
  const utils = require('./utils-4120664c.js');
8
8
  const Api = require('./Api-83d93333.js');
9
- require('./ComponentError-233ac749.js');
9
+ const ComponentError = require('./ComponentError-233ac749.js');
10
10
  require('./Checkout-5352009d.js');
11
11
  require('./Pagination-0da8f095.js');
12
12
  require('./Payment-bccd8f7d.js');
13
- require('./SubAccount-06f9030b.js');
13
+ require('./SubAccount-2a302ead.js');
14
14
  require('./Document-0b828345.js');
15
+ const button = require('./button-4a9fd41e.js');
15
16
  const styledHost = require('./styled-host-94309bab.js');
16
- const header1 = require('./header-1-43b2b905.js');
17
17
  require('./Dispute-eb6bad54.js');
18
18
  require('./parts-5ca90f9a.js');
19
19
 
@@ -52,14 +52,17 @@ const refundReasonOptions = [
52
52
  const RefundPayment = class {
53
53
  constructor(hostRef) {
54
54
  index.registerInstance(this, hostRef);
55
- this.submitted = index.createEvent(this, "submitted", 7);
55
+ this.errorEvent = index.createEvent(this, "error-event", 7);
56
+ this.submitEvent = index.createEvent(this, "submit-event", 7);
56
57
  this.authToken = undefined;
57
58
  this.paymentId = undefined;
59
+ this.hideSubmitButton = false;
60
+ this.apiOrigin = "https://wc-proxy.justifi.ai";
58
61
  this.paymentAmountRefundable = 0;
59
- this.withButton = undefined;
62
+ this.errorMessage = null;
60
63
  this.errors = {};
61
64
  this.values = {};
62
- this.isSubmitting = false;
65
+ this.isLoading = false;
63
66
  }
64
67
  componentWillLoad() {
65
68
  this.formController = new index_esm.FormController(RefundPaymentSchema(this.paymentAmountRefundable.toString()));
@@ -73,49 +76,43 @@ const RefundPayment = class {
73
76
  this.values = Object.assign({}, values);
74
77
  });
75
78
  }
76
- /**
77
- * Handles the form submission.
78
- * Prevents the default form action, validates the form, and emits the 'submitted' event.
79
- */
80
79
  async handleSubmit(event) {
81
80
  event.preventDefault();
82
81
  this.formController.validateAndSubmit(this.submitRefund);
83
82
  }
84
- /**
85
- * Submits the refund request to the API.
86
- */
87
83
  async submitRefund(values) {
88
- this.isSubmitting = true;
84
+ this.isLoading = true;
85
+ let refundResponse;
89
86
  try {
90
- const response = await this.api.post(`payments/${this.paymentId}/refunds`, values);
91
- this.submitted.emit(response);
87
+ refundResponse = await this.api.post(`payments/${this.paymentId}/refunds`, values);
92
88
  }
93
89
  catch (error) {
94
90
  console.error('Error submitting refund:', error);
95
- this.submitted.emit(error);
91
+ this.errorEvent.emit(error);
96
92
  }
97
93
  finally {
98
- this.isSubmitting = false;
94
+ this.submitEvent.emit({ response: refundResponse });
95
+ this.isLoading = false;
99
96
  }
100
97
  }
101
- /**
102
- * Handles input changes, updating the refundFields state.
103
- */
104
98
  handleInput(field, value) {
105
99
  this.formController.setValues(Object.assign(Object.assign({}, this.formController.values.getValue()), { [field]: value }));
106
100
  }
107
- /**
108
- * Initializes the API with the given authentication token.
109
- * Logs a warning if the auth token is missing.
110
- */
111
101
  initializeApi() {
112
- if (!this.authToken) {
113
- console.warn('Warning: Missing auth-token.');
102
+ if (this.paymentId && this.authToken) {
103
+ this.api = Api.Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
104
+ }
105
+ else {
106
+ this.errorMessage = 'Payment ID and Auth Token are required';
107
+ this.errorEvent.emit({
108
+ errorCode: ComponentError.ComponentErrorCodes.MISSING_PROPS,
109
+ message: this.errorMessage,
110
+ severity: ComponentError.ComponentErrorSeverity.ERROR,
111
+ });
114
112
  }
115
- this.api = Api.Api({ authToken: this.authToken, apiOrigin: "https://wc-proxy.justifi.ai" });
116
113
  }
117
114
  render() {
118
- return (index.h(styledHost.StyledHost, { key: 'f9aa3650a61fce55ce094e48cb23cc62caf4c434' }, index.h(header1.Header1, { key: 'def40858b3cf9188362848703e6425cc1273b1ee', text: "Refund Payment", class: "fs-5 fw-bold pb-3" }), index.h("form", { key: '20fcdff2467713eb3502959d0186de900a400207', onSubmit: e => this.handleSubmit(e), class: "d-grid gap-4" }, index.h("div", { key: '5e838c432e5e0fafdfd153de327548a2d2d7f388', class: "form-group" }, index.h("form-control-monetary", { key: '151d529e7422073da4244f9bc81166f6a54ad9b0', name: "amount", label: "Refund Amount", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount, defaultValue: this.paymentAmountRefundable.toString() })), index.h("div", { key: '7d69e721b5f346d854f8b1914199c56fb062694d', class: "form-group" }, index.h("form-control-select", { key: '791d41bf86e856a7694afb0db20607ba792459b9', label: "Reason for refund (optional)", options: refundReasonOptions, name: "reason", defaultValue: '' })), index.h("div", { key: 'b8a67a5d091ad11a410d157cf6706023b3af139c', class: "form-group" }, index.h("form-control-textarea", { key: 'eee0ab29c728a64435c2836361eb2c2645fce1ea', name: "description", label: "Note (optional)", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.description, maxLength: 250 })), this.withButton && (index.h("div", { key: '3504774504825ffdace54ebf41f496aa58395648', class: "form-group d-flex flex-row-reverse" }, index.h("button", { key: '27179c019afbec3d136c959657e6e6cbec892a27', type: "submit", disabled: !!this.isSubmitting, class: "btn btn-primary ml-auto" }, `Refund ${utils.formatCurrency(+this.values.amount)}`))))));
115
+ return (index.h(styledHost.StyledHost, { key: 'ea0429d62ea383b6525251150978bb0ebfb2704e' }, index.h("form", { key: '8f2e00b871ee896ba82311d8975574e5a2cbf6e3' }, index.h("div", { key: 'fa6476367e4a8b7fd7cdfff906671ef597b453de', class: "row gy-3" }, index.h("div", { key: '72a48181200d6116ceb4bb511bdd33c8c8197742', class: "form-group" }, index.h("form-control-monetary", { key: 'f6a3b3a7d8d8c733cb032db96878ad64ff712356', name: "amount", label: "Refund Amount", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.amount, defaultValue: this.paymentAmountRefundable.toString() })), index.h("div", { key: '47e6dc07510e192caf00ce959348a2a9472f48f8', class: "form-group" }, index.h("form-control-select", { key: '9f9b761eea9964c7f6ac1dd907a4fee8cd63c906', label: "Reason for refund (optional)", options: refundReasonOptions, name: "reason", defaultValue: '' })), index.h("div", { key: 'daa4bf44ec311e0554ea28f97a0932673d542a31', class: "form-group" }, index.h("form-control-textarea", { key: 'a03d055e6462b9a23e714ca58a942a6da0365919', name: "description", label: "Note (optional)", inputHandler: (name, value) => this.handleInput(name, value), errorText: this.errors.description, maxLength: 250 })), index.h("div", { key: 'b744d28ff0a2d6aa37b1ebe2b7ea6d9b3edbbc39', class: "form-group d-flex flex-row-reverse" }, index.h(button.Button, { key: '3f62881a5fa333277478d35a7c19a8c4ca8bb929', variant: "primary", type: "submit", onClick: e => this.handleSubmit(e), isLoading: this.isLoading, hidden: this.hideSubmitButton }, `Refund ${utils.formatCurrency(+this.values.amount)}`))))));
119
116
  }
120
117
  };
121
118
 
@@ -8,13 +8,13 @@ const ComponentError = require('./ComponentError-233ac749.js');
8
8
  require('./Checkout-5352009d.js');
9
9
  require('./Pagination-0da8f095.js');
10
10
  require('./Payment-bccd8f7d.js');
11
- require('./SubAccount-06f9030b.js');
11
+ require('./SubAccount-2a302ead.js');
12
12
  require('./Document-0b828345.js');
13
13
  const utils = require('./utils-7a478c37.js');
14
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
14
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
15
15
  require('./utils-4120664c.js');
16
16
  require('./Dispute-eb6bad54.js');
17
- require('./package-868b01af.js');
17
+ require('./package-99f9fc82.js');
18
18
 
19
19
  class InsuranceService {
20
20
  async fetchQuote(authToken, payload) {
@@ -10,7 +10,7 @@ require('./ComponentError-233ac749.js');
10
10
  require('./Checkout-5352009d.js');
11
11
  require('./Pagination-0da8f095.js');
12
12
  require('./Payment-bccd8f7d.js');
13
- const SubAccount = require('./SubAccount-06f9030b.js');
13
+ const SubAccount = require('./SubAccount-2a302ead.js');
14
14
  require('./Document-0b828345.js');
15
15
  const utils = require('./utils-4120664c.js');
16
16
  require('./index-d2d0b181.js');
@@ -4,17 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const index = require('./index-5b9a3b5f.js');
6
6
  const styledHost = require('./styled-host-94309bab.js');
7
- const checkPkgVersion = require('./check-pkg-version-15023e22.js');
8
- const terminalOrdersTable = require('./terminal-orders-table-050e673f.js');
7
+ const checkPkgVersion = require('./check-pkg-version-64d3381a.js');
8
+ const terminalOrdersTable = require('./terminal-orders-table-3b247193.js');
9
9
  const ComponentError = require('./ComponentError-233ac749.js');
10
10
  require('./Checkout-5352009d.js');
11
11
  require('./Pagination-0da8f095.js');
12
12
  require('./Payment-bccd8f7d.js');
13
- const SubAccount = require('./SubAccount-06f9030b.js');
13
+ const SubAccount = require('./SubAccount-2a302ead.js');
14
14
  require('./Document-0b828345.js');
15
15
  const utils = require('./utils-7a478c37.js');
16
16
  const Api = require('./Api-83d93333.js');
17
- require('./package-868b01af.js');
17
+ require('./package-99f9fc82.js');
18
18
  require('./parts-5ca90f9a.js');
19
19
  require('./utils-4120664c.js');
20
20
  require('./badge-364e6311.js');