@justifi/webcomponents 6.1.0-rc.3 → 6.1.0

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 (801) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/{Api-DqzbA2qk.js → Api-CjtvTD2_.js} +2 -2
  3. package/dist/cjs/{Business-DWHy_-z9.js → Business-DCRzZf0w.js} +9 -299
  4. package/dist/cjs/{Refund-BPSBtjQC.js → Refund-BnhHNKLz.js} +4 -3
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +14 -13
  6. package/dist/cjs/{badge-BJVdpSU-.js → badge-CE3ss_OU.js} +2 -2
  7. package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +112 -0
  8. package/dist/cjs/bank-account-form.cjs.entry.js +8 -8
  9. package/dist/cjs/{business-additional-questions-schema-CetDMUp7.js → business-additional-questions-schema-b8P-0T0O.js} +4 -26
  10. package/dist/cjs/business-details-core.cjs.entry.js +5 -5
  11. package/dist/cjs/{business-form-options-e9UFw4P-.js → business-form-options-CMII7nIK.js} +1 -1
  12. package/dist/cjs/business-identity-schema-aFUle0C9.js +51 -0
  13. package/dist/cjs/{business.service-Bv9o99Ll.js → business.service-Cj_NUZsr.js} +3 -3
  14. package/dist/cjs/{button-_YJuE8cy.js → button-gPNZ9XRn.js} +2 -2
  15. package/dist/cjs/card-form.cjs.entry.js +8 -8
  16. package/dist/cjs/{check-pkg-version-CadxBsjl.js → check-pkg-version-C7b-OLb5.js} +4 -4
  17. package/dist/cjs/{checkout.service-dLB93w3Z.js → checkout.service-Bc8L9ixO.js} +3 -3
  18. package/dist/cjs/{checkout.store-DC4yVxDj.js → checkout.store-Bswr7kNY.js} +5 -1
  19. package/dist/cjs/checkouts-list-core.cjs.entry.js +15 -13
  20. package/dist/cjs/{terminal-orders-list-params-state-ARjo40Y9.js → checkouts-list-params-state-BYpq-c6X.js} +1 -1
  21. package/dist/cjs/{checkouts-table-C102WCfy.js → checkouts-table-C5AHeIr0.js} +4 -4
  22. package/dist/cjs/{config-state-BeZM7X7J.js → config-state-C7babhLh.js} +1 -1
  23. package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_2.cjs.entry.js} +23 -3
  24. package/dist/cjs/{dispute.service-BmAAnNky.js → dispute.service-DhO_tuDc.js} +3 -3
  25. package/dist/cjs/form-alert_5.cjs.entry.js +17 -27
  26. package/dist/cjs/form-control-checkbox.cjs.entry.js +6 -6
  27. package/dist/cjs/form-control-date.cjs.entry.js +5 -5
  28. package/dist/cjs/{form-control-error-text-DJzNQrEz.js → form-control-error-text-BnMWn8U_.js} +2 -2
  29. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +6 -6
  30. package/dist/cjs/{form-control-help-text-DII6UDeq.js → form-control-help-text-DEi5vSjN.js} +2 -2
  31. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  32. package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +7 -7
  33. package/dist/cjs/form-control-monetary.cjs.entry.js +7 -7
  34. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +107 -0
  35. package/dist/cjs/form-control-number.cjs.entry.js +6 -6
  36. package/dist/cjs/form-control-radio.cjs.entry.js +4 -4
  37. package/dist/cjs/{form-control-select_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +7 -26
  38. package/dist/cjs/{form-input-masks-BnNFJ3IJ.js → form-input-masks-DgXd0f4V.js} +4 -9
  39. package/dist/cjs/{get-business-D9ZHyPem.js → get-business-o5jPq_ME.js} +1 -1
  40. package/dist/cjs/{get-payment-details-BHPHzSkH.js → get-payment-details-BinT-ZEP.js} +3 -3
  41. package/dist/cjs/{get-subaccounts-Bw76aYu0.js → get-subaccounts-BoTVdl7v.js} +4 -4
  42. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +26 -17
  43. package/dist/cjs/{header-1-Da7oKhXY.js → header-1-D3r87SC6.js} +2 -2
  44. package/dist/cjs/{header-3-uBM_CzcP.js → header-3-BFQJJgBb.js} +2 -2
  45. package/dist/cjs/helpers-B5OCqlIM.js +35 -0
  46. package/dist/cjs/hidden-input_2.cjs.entry.js +9 -9
  47. package/dist/cjs/{index-CaAefsWD.js → index-Bhtk1qkX.js} +5 -2
  48. package/dist/cjs/{index-D-CfIyoF.js → index-CWM5ions.js} +1 -1
  49. package/dist/cjs/{input-handlers-D6QMwPTB.js → input-handlers-DYl_0IwC.js} +2 -2
  50. package/dist/cjs/{insurance-state-KJzYGtVr.js → insurance-state-JbqYvJN3.js} +3 -3
  51. package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +72 -129
  52. package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +26 -25
  53. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
  54. package/dist/cjs/{justifi-checkout-summary_7.cjs.entry.js → justifi-apple-pay_8.cjs.entry.js} +898 -25
  55. package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +32 -31
  56. package/dist/cjs/justifi-business-details.cjs.entry.js +15 -13
  57. package/dist/cjs/justifi-business-form.cjs.entry.js +23 -27
  58. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +8 -16
  59. package/dist/cjs/justifi-checkout.cjs.entry.js +16 -14
  60. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +12 -10
  61. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +18 -16
  62. package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
  63. package/dist/cjs/justifi-details.cjs.entry.js +4 -4
  64. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
  65. package/dist/cjs/justifi-dispute-management.cjs.entry.js +13 -11
  66. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +19 -17
  67. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -11
  68. package/dist/cjs/justifi-order-terminals.cjs.entry.js +18 -16
  69. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +21 -30
  70. package/dist/cjs/justifi-payment-details.cjs.entry.js +23 -14
  71. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +25 -40
  72. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +13 -11
  73. package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +17 -15
  74. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +8 -8
  75. package/dist/cjs/justifi-payments-list.cjs.entry.js +18 -16
  76. package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -13
  77. package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +17 -15
  78. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +8 -8
  79. package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -17
  80. package/dist/cjs/justifi-refund-payment.cjs.entry.js +17 -15
  81. package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
  82. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +16 -14
  83. package/dist/cjs/justifi-skeleton.cjs.entry.js +5 -5
  84. package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +13 -11
  85. package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +16 -14
  86. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +14 -11
  87. package/dist/cjs/justifi-terminals-list.cjs.entry.js +18 -16
  88. package/dist/cjs/loader.cjs.js +2 -2
  89. package/dist/cjs/{package-CVxkAS_m.js → package-BHmdO9eK.js} +1 -1
  90. package/dist/cjs/pagination-menu.cjs.entry.js +5 -5
  91. package/dist/cjs/{parts-9jMf1erK.js → parts-Pb06tUMp.js} +2 -0
  92. package/dist/cjs/payment-details-core.cjs.entry.js +34 -16
  93. package/dist/cjs/payment-method-option.cjs.entry.js +4 -4
  94. package/dist/cjs/{payment.service-DODmonNs.js → payment.service-C9thkR4g.js} +3 -3
  95. package/dist/cjs/payments-list-core.cjs.entry.js +16 -14
  96. package/dist/cjs/{payments-list-params-state-ARjo40Y9.js → payments-list-params-state-BYpq-c6X.js} +1 -1
  97. package/dist/cjs/{payments-status-5IzqwLep.js → payments-status-CnNXcRLO.js} +21 -3
  98. package/dist/cjs/{payments-table-BcZ6U6p8.js → payments-table-BGuCOPTJ.js} +4 -4
  99. package/dist/cjs/payout-details-core.cjs.entry.js +25 -12
  100. package/dist/cjs/{payout.service-Do8DxBxe.js → payout.service-CGZxpQMq.js} +3 -3
  101. package/dist/cjs/payouts-list-core.cjs.entry.js +16 -14
  102. package/dist/cjs/{checkouts-list-params-state-ARjo40Y9.js → payouts-list-params-state-BYpq-c6X.js} +1 -1
  103. package/dist/cjs/{payouts-status-D38A6UrI.js → payouts-status-2na6MMgV.js} +2 -2
  104. package/dist/cjs/{payouts-table-Cn_cCCOY.js → payouts-table-DXekpbYc.js} +4 -4
  105. package/dist/cjs/{schema-validations-0mjPveQ0.js → schema-validations-Bj7eYNO8.js} +6 -45
  106. package/dist/cjs/{skeleton-DlPP4i_w.js → skeleton-BvdAh448.js} +2 -2
  107. package/dist/cjs/{spinner-BNWG01hP.js → spinner-Rt52JMa2.js} +2 -2
  108. package/dist/cjs/state-options-CIT9xdTz.js +246 -0
  109. package/dist/cjs/{styled-host-DSpt9LtB.js → styled-host-BSooSIhA.js} +1 -1
  110. package/dist/cjs/{table-CAWBqvW5.js → table-Ccg4k90C.js} +3 -3
  111. package/dist/cjs/table-filters-menu.cjs.entry.js +4 -4
  112. package/dist/cjs/terminal-orders-list-core.cjs.entry.js +15 -13
  113. package/dist/cjs/{payouts-list-params-state-ARjo40Y9.js → terminal-orders-list-params-state-BYpq-c6X.js} +1 -1
  114. package/dist/cjs/{terminal-orders-table-BUA4LcEc.js → terminal-orders-table-7ew1vCKk.js} +7 -7
  115. package/dist/cjs/terminal-quantity-selector.cjs.entry.js +3 -3
  116. package/dist/cjs/{terminal.service-bxQnc1JY.js → terminal.service-BkKxH-k4.js} +3 -3
  117. package/dist/cjs/terminals-list-core.cjs.entry.js +15 -13
  118. package/dist/cjs/terminals-list-params-state-BYpq-c6X.js +22 -0
  119. package/dist/cjs/{terminals-table-C2_M7SWl.js → terminals-table-ByYs-pH7.js} +9 -4
  120. package/dist/cjs/{utils-ChCUZgUy.js → utils-Bab-tddY.js} +4 -0
  121. package/dist/cjs/{utils-C6mfHWv-.js → utils-CUcA4G_O.js} +5 -5
  122. package/dist/cjs/webcomponents.cjs.js +3 -3
  123. package/dist/collection/api/BankAccount.js +0 -4
  124. package/dist/collection/api/Business.js +1 -16
  125. package/dist/collection/api/Terminal.js +1 -0
  126. package/dist/collection/api/services/apple-pay.service.js +3 -0
  127. package/dist/collection/collection-manifest.json +3 -6
  128. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -1
  129. package/dist/collection/components/business-details/owner-details/owner-details.js +9 -8
  130. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -1
  131. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -7
  132. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -36
  133. package/dist/collection/components/business-forms/business-form/business-form.js +2 -6
  134. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +9 -46
  135. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +10 -32
  136. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +6 -26
  137. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +3 -29
  138. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +6 -48
  139. package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -26
  140. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
  141. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
  142. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -2
  143. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +5 -36
  144. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -26
  145. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +7 -47
  146. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -26
  147. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +1 -26
  148. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -26
  149. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +4 -43
  150. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +4 -33
  151. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -26
  152. package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
  153. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +10 -35
  154. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -26
  155. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +20 -39
  156. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
  157. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +6 -34
  158. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
  159. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
  160. package/dist/collection/components/business-forms/schemas/business-address-schema.js +19 -41
  161. package/dist/collection/components/business-forms/schemas/business-bank-account-schema.js +39 -74
  162. package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +4 -27
  163. package/dist/collection/components/business-forms/schemas/business-form-schema.js +4 -7
  164. package/dist/collection/components/business-forms/schemas/business-identity-schema.js +24 -53
  165. package/dist/collection/components/business-forms/schemas/schema-validations.js +4 -41
  166. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
  167. package/dist/collection/components/checkout/billing-form/billing-form.js +3 -2
  168. package/dist/collection/components/checkout/card-form/card-form.js +2 -2
  169. package/dist/collection/components/checkout/checkout.js +2 -2
  170. package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
  171. package/dist/collection/components/checkout/saved-payment-method.js +1 -1
  172. package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
  173. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
  174. package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
  175. package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
  176. package/dist/collection/components/dispute-management/dispute-management.js +1 -1
  177. package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
  178. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
  179. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
  180. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
  181. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
  182. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
  183. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
  184. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
  185. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
  186. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
  187. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
  188. package/dist/collection/components/filters/table-filters-menu.js +1 -1
  189. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
  190. package/dist/collection/components/modular-checkout/modular-checkout.js +10 -8
  191. package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +49 -2
  192. package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
  193. package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
  194. package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
  195. package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
  196. package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
  197. package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
  198. package/dist/collection/components/order-terminals/order-terminals.js +1 -1
  199. package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
  200. package/dist/collection/components/payment-details/payment-details-core.js +19 -9
  201. package/dist/collection/components/payment-details/payment-details.js +28 -1
  202. package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
  203. package/dist/collection/components/payments-list/payments-list-core.js +1 -1
  204. package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
  205. package/dist/collection/components/payments-list/payments-list.js +1 -1
  206. package/dist/collection/components/payments-list/payments-status.js +19 -1
  207. package/dist/collection/components/payout-details/payout-details-core.js +57 -4
  208. package/dist/collection/components/payout-details/payout-details.js +22 -1
  209. package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
  210. package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
  211. package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
  212. package/dist/collection/components/payouts-list/payouts-list.js +1 -1
  213. package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
  214. package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
  215. package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
  216. package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
  217. package/dist/collection/components/terminals-list/terminals-list-filters.js +4 -3
  218. package/dist/collection/components/terminals-list/terminals-list.js +1 -1
  219. package/dist/collection/components/terminals-list/terminals-status.js +5 -0
  220. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +4 -3
  221. package/dist/collection/store/checkout.store.js +4 -0
  222. package/dist/collection/styles/parts.js +1 -1
  223. package/dist/collection/ui-components/apple-pay-button.js +6 -8
  224. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  225. package/dist/collection/ui-components/details/details.js +1 -1
  226. package/dist/collection/ui-components/details/utils.js +4 -4
  227. package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
  228. package/dist/collection/ui-components/form/form-control-date.js +2 -2
  229. package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
  230. package/dist/collection/ui-components/form/form-control-file.js +2 -2
  231. package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
  232. package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
  233. package/dist/collection/ui-components/form/form-control-number.js +2 -2
  234. package/dist/collection/ui-components/form/form-control-radio.js +2 -2
  235. package/dist/collection/ui-components/form/form-control-select.js +2 -2
  236. package/dist/collection/ui-components/form/form-control-text.js +2 -2
  237. package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
  238. package/dist/collection/ui-components/form/hidden-input.js +1 -1
  239. package/dist/collection/ui-components/form/iframe-input.js +3 -3
  240. package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
  241. package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
  242. package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
  243. package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
  244. package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
  245. package/dist/collection/utils/form-input-masks.js +0 -8
  246. package/dist/collection/utils/utils.js +4 -0
  247. package/dist/docs.json +330 -1140
  248. package/dist/esm/{Api-DLf3ihCB.js → Api-DhiA2e_P.js} +2 -2
  249. package/dist/esm/{Business-B5rtFhtR.js → Business-BCoP0TAV.js} +3 -290
  250. package/dist/esm/{Refund-BeI1WGfx.js → Refund-B-iOTRxz.js} +3 -2
  251. package/dist/esm/additional-questions-details_5.entry.js +14 -13
  252. package/dist/esm/{badge-CkfrkCoy.js → badge-CtdO-tEY.js} +2 -2
  253. package/dist/esm/bank-account-document-form-inputs_4.entry.js +107 -0
  254. package/dist/esm/bank-account-form.entry.js +8 -8
  255. package/dist/esm/{business-additional-questions-schema-DSvdNuI1.js → business-additional-questions-schema-9FAJSx_D.js} +5 -26
  256. package/dist/esm/business-details-core.entry.js +5 -5
  257. package/dist/esm/{business-form-options-D6s5H4RI.js → business-form-options-CgssATyg.js} +2 -2
  258. package/dist/esm/business-identity-schema-CDJzknbg.js +48 -0
  259. package/dist/esm/{business.service-BIALik8Z.js → business.service-D55OVyco.js} +3 -3
  260. package/dist/esm/{button-CuZAKl_x.js → button-DtTaQHMK.js} +2 -2
  261. package/dist/esm/card-form.entry.js +8 -8
  262. package/dist/esm/{check-pkg-version-Bk5bgulF.js → check-pkg-version-xM0uWxbL.js} +4 -4
  263. package/dist/esm/{checkout.service-DZDZBIGQ.js → checkout.service-fwbqSq8g.js} +3 -3
  264. package/dist/esm/{checkout.store-DwJGKabu.js → checkout.store-4nUf2OuT.js} +5 -1
  265. package/dist/esm/checkouts-list-core.entry.js +15 -13
  266. package/dist/esm/{checkouts-list-params-state-BY5996_y.js → checkouts-list-params-state-C_fug9R3.js} +1 -1
  267. package/dist/esm/{checkouts-table-59DpP7zM.js → checkouts-table-B6gGDtOr.js} +4 -4
  268. package/dist/esm/{config-state-C83RkI9h.js → config-state-DiHV-4QK.js} +1 -1
  269. package/dist/esm/{custom-popper.entry.js → custom-popper_2.entry.js} +23 -4
  270. package/dist/esm/{dispute.service-ByJy64X7.js → dispute.service-Cdq3_yRo.js} +3 -3
  271. package/dist/esm/form-alert_5.entry.js +16 -26
  272. package/dist/esm/form-control-checkbox.entry.js +6 -6
  273. package/dist/esm/form-control-date.entry.js +5 -5
  274. package/dist/esm/{form-control-error-text-CjrxZorl.js → form-control-error-text-bprS-t9d.js} +2 -2
  275. package/dist/esm/form-control-file-v2_2.entry.js +6 -6
  276. package/dist/esm/{form-control-help-text-CMUgRhUf.js → form-control-help-text-Bvnp-IAG.js} +2 -2
  277. package/dist/esm/form-control-help-text.entry.js +1 -1
  278. package/dist/esm/form-control-monetary-provisioning.entry.js +7 -7
  279. package/dist/esm/form-control-monetary.entry.js +7 -7
  280. package/dist/esm/form-control-number-masked_2.entry.js +104 -0
  281. package/dist/esm/form-control-number.entry.js +6 -6
  282. package/dist/esm/form-control-radio.entry.js +4 -4
  283. package/dist/esm/{form-control-select_3.entry.js → form-control-select_2.entry.js} +8 -26
  284. package/dist/esm/{form-input-masks-CVaOFfrI.js → form-input-masks-B-iV5cYd.js} +3 -9
  285. package/dist/esm/{get-business-Xt7B5dSo.js → get-business-Crb6P-iI.js} +1 -1
  286. package/dist/esm/{get-payment-details-B00HoaFm.js → get-payment-details-sGoWyAat.js} +3 -3
  287. package/dist/esm/{get-subaccounts-C_yzcZq_.js → get-subaccounts-BsJSlShO.js} +4 -4
  288. package/dist/esm/gross-payment-chart-core.entry.js +26 -17
  289. package/dist/esm/{header-1-BukynbFR.js → header-1-C1Hnxki8.js} +2 -2
  290. package/dist/esm/{header-3-D87MAyMK.js → header-3-Bq8fpjm-.js} +2 -2
  291. package/dist/esm/helpers-Mu7LQT-w.js +29 -0
  292. package/dist/esm/hidden-input_2.entry.js +9 -9
  293. package/dist/esm/{index-NOsb-hYl.js → index-DJ9G-4S-.js} +1 -1
  294. package/dist/esm/{index-_b8l4IX7.js → index-DOjVAAtq.js} +5 -2
  295. package/dist/esm/{input-handlers-D3y0TzH9.js → input-handlers-CX6mSvOM.js} +1 -1
  296. package/dist/esm/{insurance-state-BjY1QRXI.js → insurance-state-CVme82j7.js} +3 -3
  297. package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +73 -130
  298. package/dist/esm/justifi-additional-questions-form-step_9.entry.js +26 -25
  299. package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
  300. package/dist/esm/{justifi-checkout-summary_7.entry.js → justifi-apple-pay_8.entry.js} +898 -26
  301. package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +31 -30
  302. package/dist/esm/justifi-business-details.entry.js +15 -13
  303. package/dist/esm/justifi-business-form.entry.js +23 -27
  304. package/dist/esm/justifi-business-representative-form-inputs.entry.js +8 -16
  305. package/dist/esm/justifi-checkout.entry.js +16 -14
  306. package/dist/esm/justifi-checkouts-list-filters.entry.js +12 -10
  307. package/dist/esm/justifi-checkouts-list.entry.js +18 -16
  308. package/dist/esm/justifi-config-provider.entry.js +3 -3
  309. package/dist/esm/justifi-details.entry.js +4 -4
  310. package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
  311. package/dist/esm/justifi-dispute-management.entry.js +13 -11
  312. package/dist/esm/justifi-dispute-notification_3.entry.js +19 -17
  313. package/dist/esm/justifi-gross-payment-chart.entry.js +13 -11
  314. package/dist/esm/justifi-order-terminals.entry.js +18 -16
  315. package/dist/esm/justifi-owner-form_3.entry.js +21 -30
  316. package/dist/esm/justifi-payment-details.entry.js +23 -14
  317. package/dist/esm/justifi-payment-provisioning-core.entry.js +25 -40
  318. package/dist/esm/justifi-payment-provisioning.entry.js +13 -11
  319. package/dist/esm/justifi-payment-transactions-list.entry.js +17 -15
  320. package/dist/esm/justifi-payments-list-filters.entry.js +8 -8
  321. package/dist/esm/justifi-payments-list.entry.js +18 -16
  322. package/dist/esm/justifi-payout-details.entry.js +16 -13
  323. package/dist/esm/justifi-payout-transactions-list.entry.js +17 -15
  324. package/dist/esm/justifi-payouts-list-filters.entry.js +8 -8
  325. package/dist/esm/justifi-payouts-list.entry.js +19 -17
  326. package/dist/esm/justifi-refund-payment.entry.js +17 -15
  327. package/dist/esm/justifi-saved-payment-method.entry.js +3 -3
  328. package/dist/esm/justifi-season-interruption-insurance.entry.js +16 -14
  329. package/dist/esm/justifi-skeleton.entry.js +5 -5
  330. package/dist/esm/justifi-terminal-orders-list-filters.entry.js +13 -11
  331. package/dist/esm/justifi-terminal-orders-list.entry.js +16 -14
  332. package/dist/esm/justifi-terminals-list-filters.entry.js +14 -11
  333. package/dist/esm/justifi-terminals-list.entry.js +18 -16
  334. package/dist/esm/loader.js +3 -3
  335. package/dist/esm/{package-BRhnhmpB.js → package-DL-q4EcN.js} +1 -1
  336. package/dist/esm/pagination-menu.entry.js +5 -5
  337. package/dist/esm/{parts-CA_TyBed.js → parts-xDbRW9xn.js} +2 -1
  338. package/dist/esm/payment-details-core.entry.js +34 -16
  339. package/dist/esm/payment-method-option.entry.js +4 -4
  340. package/dist/esm/{payment.service-B_NytmNz.js → payment.service-BoQ1MW1k.js} +3 -3
  341. package/dist/esm/payments-list-core.entry.js +16 -14
  342. package/dist/esm/{payments-list-params-state-BY5996_y.js → payments-list-params-state-C_fug9R3.js} +1 -1
  343. package/dist/esm/{payments-status-BWv1l1-e.js → payments-status-cvtVmtY5.js} +22 -4
  344. package/dist/esm/{payments-table-BSk36N1O.js → payments-table-D_BlyU1F.js} +4 -4
  345. package/dist/esm/payout-details-core.entry.js +25 -12
  346. package/dist/esm/{payout.service-BJQVlc_Z.js → payout.service-xcBdom3q.js} +3 -3
  347. package/dist/esm/payouts-list-core.entry.js +16 -14
  348. package/dist/esm/{payouts-list-params-state-BY5996_y.js → payouts-list-params-state-C_fug9R3.js} +1 -1
  349. package/dist/esm/{payouts-status-BujJlH_r.js → payouts-status-D-vjrqBb.js} +2 -2
  350. package/dist/esm/{payouts-table-5N7OylTW.js → payouts-table-Clj8YGLV.js} +4 -4
  351. package/dist/esm/{schema-validations-BFoU1cR8.js → schema-validations-B9dmY7ME.js} +6 -41
  352. package/dist/esm/{skeleton-C161KeYG.js → skeleton-B8EUwt4b.js} +2 -2
  353. package/dist/esm/{spinner-UiInIFXW.js → spinner-CYXkn1fh.js} +2 -2
  354. package/dist/esm/state-options-BX8GieXu.js +244 -0
  355. package/dist/esm/{styled-host-hSGxxyFZ.js → styled-host-OalOsPBp.js} +1 -1
  356. package/dist/esm/{table-9ewYPAZH.js → table-Bj20uWfu.js} +3 -3
  357. package/dist/esm/table-filters-menu.entry.js +4 -4
  358. package/dist/esm/terminal-orders-list-core.entry.js +15 -13
  359. package/dist/esm/{terminal-orders-list-params-state-BY5996_y.js → terminal-orders-list-params-state-C_fug9R3.js} +1 -1
  360. package/dist/esm/{terminal-orders-table-BcziGGSF.js → terminal-orders-table-DzBpIW8i.js} +7 -7
  361. package/dist/esm/terminal-quantity-selector.entry.js +3 -3
  362. package/dist/esm/{terminal.service-B9MOFa2c.js → terminal.service-l6zTIPZ3.js} +3 -3
  363. package/dist/esm/terminals-list-core.entry.js +15 -13
  364. package/dist/esm/terminals-list-params-state-C_fug9R3.js +16 -0
  365. package/dist/esm/{terminals-table-BoFlvdHS.js → terminals-table-BMS5tazC.js} +9 -4
  366. package/dist/esm/{utils-DeZftIgK.js → utils-BOijEGPV.js} +4 -1
  367. package/dist/esm/{utils-fntGABrK.js → utils-DRwofES0.js} +5 -5
  368. package/dist/esm/webcomponents.js +4 -4
  369. package/dist/module/Business.js +3 -290
  370. package/dist/module/Refund.js +2 -1
  371. package/dist/module/additional-questions-details2.js +1 -1
  372. package/dist/module/additional-questions.js +2 -2
  373. package/dist/module/additional-statement.js +1 -1
  374. package/dist/{esm/justifi-apple-pay.entry.js → module/apple-pay.js} +73 -31
  375. package/dist/module/badge.js +1 -1
  376. package/dist/module/bank-account-billing-form-simple.js +2 -2
  377. package/dist/module/bank-account-document-inputs.js +1 -1
  378. package/dist/module/bank-account-form-inputs2.js +2 -9
  379. package/dist/module/bank-account-form.js +3 -3
  380. package/dist/module/bank-account.js +2 -2
  381. package/dist/module/billing-form-full.js +2 -2
  382. package/dist/module/billing-form.js +3 -2
  383. package/dist/module/business-additional-questions-form-step.js +1 -1
  384. package/dist/module/business-address-schema.js +20 -40
  385. package/dist/module/business-bank-account-form-step-core.js +49 -102
  386. package/dist/module/business-bank-account-form-step.js +5 -18
  387. package/dist/module/business-core-info-form-step-core.js +7 -22
  388. package/dist/module/business-core-info-form-step.js +1 -2
  389. package/dist/module/business-core-info-schema.js +5 -26
  390. package/dist/module/business-core-info.js +4 -12
  391. package/dist/module/business-documents-on-file2.js +1 -1
  392. package/dist/module/business-identity-schema.js +25 -52
  393. package/dist/module/business-owners-form-step-core.js +13 -20
  394. package/dist/module/business-owners-form-step.js +15 -22
  395. package/dist/module/business-representative-form-inputs.js +17 -34
  396. package/dist/module/business-representative-form-step-core.js +18 -29
  397. package/dist/module/business-representative-form-step.js +17 -24
  398. package/dist/module/business-representative.js +19 -37
  399. package/dist/module/business-terms-conditions-form-step.js +1 -1
  400. package/dist/module/button.js +1 -1
  401. package/dist/module/cancellation-policy.js +1 -1
  402. package/dist/module/card-billing-form-simple.js +2 -2
  403. package/dist/module/card-form.js +3 -3
  404. package/dist/module/card-form2.js +2 -2
  405. package/dist/module/checkout.store.js +4 -0
  406. package/dist/module/checkouts-list-core2.js +2 -2
  407. package/dist/module/custom-popper2.js +2 -2
  408. package/dist/module/customer-details.js +1 -1
  409. package/dist/module/details.js +1 -1
  410. package/dist/module/dispute-management-core.js +1 -1
  411. package/dist/module/dispute-notification.js +1 -1
  412. package/dist/module/dispute-response-core.js +1 -1
  413. package/dist/module/dispute-response.js +1 -1
  414. package/dist/module/duplicate-charge.js +1 -1
  415. package/dist/module/electronic-evidence.js +1 -1
  416. package/dist/module/form-alert2.js +1 -1
  417. package/dist/module/form-control-checkbox2.js +3 -3
  418. package/dist/module/form-control-date2.js +3 -3
  419. package/dist/module/form-control-error-text.js +1 -1
  420. package/dist/module/form-control-file-v22.js +1 -1
  421. package/dist/module/form-control-file2.js +3 -3
  422. package/dist/module/form-control-monetary-provisioning2.js +3 -3
  423. package/dist/module/form-control-monetary2.js +3 -3
  424. package/dist/module/form-control-number-masked2.js +3 -3
  425. package/dist/module/form-control-number.js +3 -3
  426. package/dist/module/form-control-radio2.js +3 -3
  427. package/dist/module/form-control-select2.js +3 -3
  428. package/dist/module/form-control-text2.js +3 -3
  429. package/dist/module/form-control-textarea2.js +3 -3
  430. package/dist/module/form-control-tooltip2.js +1 -1
  431. package/dist/module/form-input-masks.js +3 -9
  432. package/dist/module/get-business.js +1 -1
  433. package/dist/module/gross-payment-chart-core2.js +22 -13
  434. package/dist/module/header-3.js +1 -1
  435. package/dist/module/helpers.js +29 -0
  436. package/dist/module/hidden-input2.js +2 -2
  437. package/dist/module/identity-address-form.js +14 -16
  438. package/dist/module/iframe-input2.js +4 -4
  439. package/dist/module/input-handlers.js +1 -1
  440. package/dist/module/justifi-apple-pay.js +1 -904
  441. package/dist/module/justifi-business-form.js +29 -41
  442. package/dist/module/justifi-button2.js +1 -1
  443. package/dist/module/justifi-checkout.js +27 -21
  444. package/dist/module/justifi-checkouts-list-filters.js +2 -2
  445. package/dist/module/justifi-checkouts-list.js +2 -2
  446. package/dist/module/justifi-dispute-management.js +1 -1
  447. package/dist/module/justifi-header2.js +1 -1
  448. package/dist/module/justifi-order-terminals.js +5 -5
  449. package/dist/module/justifi-payment-details.js +8 -1
  450. package/dist/module/justifi-payment-provisioning.js +49 -67
  451. package/dist/module/justifi-payment-transactions-list.js +3 -3
  452. package/dist/module/justifi-payments-list-filters.js +3 -3
  453. package/dist/module/justifi-payments-list.js +1 -1
  454. package/dist/module/justifi-payout-details.js +4 -2
  455. package/dist/module/justifi-payout-transactions-list.js +3 -3
  456. package/dist/module/justifi-payouts-list-filters.js +3 -3
  457. package/dist/module/justifi-payouts-list.js +2 -2
  458. package/dist/module/justifi-radio-list-item2.js +1 -1
  459. package/dist/module/justifi-refund-payment.js +1 -1
  460. package/dist/module/justifi-saved-payment-method.js +1 -1
  461. package/dist/module/justifi-season-interruption-insurance.js +2 -2
  462. package/dist/module/justifi-skeleton.js +1 -1
  463. package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
  464. package/dist/module/justifi-terminal-orders-list.js +2 -2
  465. package/dist/module/justifi-terminals-list-filters.js +5 -4
  466. package/dist/module/justifi-terminals-list.js +2 -2
  467. package/dist/module/legal-address-form-step-core.js +19 -26
  468. package/dist/module/legal-address-form-step.js +9 -16
  469. package/dist/module/legal-address-form.js +15 -18
  470. package/dist/module/modular-checkout.js +7 -6
  471. package/dist/module/owner-details2.js +8 -7
  472. package/dist/module/owner-form-core2.js +16 -24
  473. package/dist/module/owner-form-inputs2.js +15 -34
  474. package/dist/module/owner-form.js +13 -20
  475. package/dist/module/package.js +1 -1
  476. package/dist/module/pagination-menu2.js +4 -4
  477. package/dist/module/parts.js +2 -1
  478. package/dist/module/payment-details-core2.js +22 -9
  479. package/dist/module/payment-method-option.js +1 -1
  480. package/dist/module/payment-provisioning-core.js +69 -104
  481. package/dist/module/payment-provisioning-form-buttons.js +1 -1
  482. package/dist/module/payment-provisioning-form-steps.js +54 -75
  483. package/dist/module/payments-list-core2.js +2 -2
  484. package/dist/module/payments-status.js +20 -2
  485. package/dist/module/payout-details-core2.js +18 -4
  486. package/dist/module/payouts-list-core2.js +2 -2
  487. package/dist/module/product-or-service.js +1 -1
  488. package/dist/module/refund-policy.js +1 -1
  489. package/dist/module/representative-details2.js +1 -1
  490. package/dist/module/save-new-payment-method.js +1 -1
  491. package/dist/module/schema-validations.js +6 -41
  492. package/dist/module/shipping-details.js +1 -1
  493. package/dist/module/spinner.js +1 -1
  494. package/dist/module/state-options.js +244 -0
  495. package/dist/module/summary.js +1 -1
  496. package/dist/module/table-filters-menu2.js +2 -2
  497. package/dist/module/table.js +1 -1
  498. package/dist/module/terminal-orders-list-core2.js +3 -3
  499. package/dist/module/terminal-quantity-selector2.js +2 -2
  500. package/dist/module/terminals-list-core2.js +8 -3
  501. package/dist/module/tokenize-payment-method.js +1 -1
  502. package/dist/module/utils.js +4 -4
  503. package/dist/module/utils2.js +4 -1
  504. package/dist/types/api/BankAccount.d.ts +0 -6
  505. package/dist/types/api/Business.d.ts +0 -9
  506. package/dist/types/api/Checkout.d.ts +2 -0
  507. package/dist/types/api/ComponentEvents.d.ts +4 -0
  508. package/dist/types/api/Terminal.d.ts +2 -1
  509. package/dist/types/components/business-details/owner-details/owner-details.d.ts +1 -1
  510. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +0 -3
  511. package/dist/types/components/business-forms/business-form/business-form.d.ts +0 -2
  512. package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +1 -4
  513. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +0 -2
  514. package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +0 -2
  515. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +0 -2
  516. package/dist/types/components/business-forms/owner-form/owner-form-inputs.d.ts +0 -3
  517. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +0 -2
  518. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.d.ts +0 -5
  519. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +0 -2
  520. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +0 -3
  521. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +0 -2
  522. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +0 -2
  523. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +0 -2
  524. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.d.ts +0 -3
  525. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +0 -2
  526. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +0 -2
  527. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +0 -2
  528. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +0 -2
  529. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +2 -4
  530. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -2
  531. package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +2 -54
  532. package/dist/types/components/business-forms/schemas/business-bank-account-schema.d.ts +16 -14
  533. package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +3 -67
  534. package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +7 -165
  535. package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +2 -122
  536. package/dist/types/components/business-forms/schemas/schema-validations.d.ts +0 -5
  537. package/dist/types/components/modular-checkout/sub-components/apple-pay.d.ts +2 -0
  538. package/dist/types/components/payment-details/payment-details-core.d.ts +3 -1
  539. package/dist/types/components/payment-details/payment-details.d.ts +3 -1
  540. package/dist/types/components/payments-list/payments-status.d.ts +12 -0
  541. package/dist/types/components/payout-details/payout-details-core.d.ts +5 -1
  542. package/dist/types/components/payout-details/payout-details.d.ts +1 -0
  543. package/dist/types/components.d.ts +48 -121
  544. package/dist/types/stencil-public-runtime.d.ts +20 -10
  545. package/dist/types/store/checkout.store.d.ts +1 -0
  546. package/dist/types/styles/parts.d.ts +1 -1
  547. package/dist/types/ui-components/details/utils.d.ts +3 -2
  548. package/dist/types/utils/form-input-masks.d.ts +0 -1
  549. package/dist/types/utils/utils.d.ts +1 -0
  550. package/dist/webcomponents/p-0217783c.entry.js +20 -0
  551. package/dist/webcomponents/p-0256af65.entry.js +1 -0
  552. package/dist/webcomponents/p-0af5269e.entry.js +1 -0
  553. package/dist/webcomponents/p-0cac8468.entry.js +1 -0
  554. package/dist/webcomponents/{p-b59221a9.entry.js → p-0cf71cbd.entry.js} +1 -1
  555. package/dist/webcomponents/p-0eb69f41.entry.js +1 -0
  556. package/dist/webcomponents/p-0f47f052.entry.js +1 -0
  557. package/dist/webcomponents/p-0fgTPVV0.js +1 -0
  558. package/dist/webcomponents/{p-C77ElQ41.js → p-1ydcg9ti.js} +1 -1
  559. package/dist/webcomponents/p-28a3bf32.entry.js +1 -0
  560. package/dist/webcomponents/p-2b568e8e.entry.js +1 -0
  561. package/dist/webcomponents/p-2d300faa.entry.js +1 -0
  562. package/dist/webcomponents/{p-6ea75d39.entry.js → p-2f40f708.entry.js} +1 -1
  563. package/dist/webcomponents/p-30856338.entry.js +1 -0
  564. package/dist/webcomponents/p-328117e4.entry.js +1 -0
  565. package/dist/webcomponents/p-32978110.entry.js +1 -0
  566. package/dist/webcomponents/{p-c7390115.entry.js → p-37a93597.entry.js} +1 -1
  567. package/dist/webcomponents/p-47997bc2.entry.js +1 -0
  568. package/dist/webcomponents/p-50701f16.entry.js +1 -0
  569. package/dist/webcomponents/p-5235230f.entry.js +1 -0
  570. package/dist/webcomponents/p-526b7442.entry.js +1 -0
  571. package/dist/webcomponents/p-5aae36f3.entry.js +1 -0
  572. package/dist/webcomponents/p-5b5d7a8f.entry.js +1 -0
  573. package/dist/webcomponents/p-5bd3d86e.entry.js +1 -0
  574. package/dist/webcomponents/p-66db858a.entry.js +1 -0
  575. package/dist/webcomponents/p-720a2324.entry.js +1 -0
  576. package/dist/webcomponents/p-78cb62a8.entry.js +1 -0
  577. package/dist/webcomponents/p-7c8deca8.entry.js +1 -0
  578. package/dist/webcomponents/p-7dc9ef8a.entry.js +1 -0
  579. package/dist/webcomponents/p-84551ee4.entry.js +1 -0
  580. package/dist/webcomponents/p-854b3db0.entry.js +1 -0
  581. package/dist/webcomponents/p-85a2eac6.entry.js +1 -0
  582. package/dist/webcomponents/p-8663e8bd.entry.js +1 -0
  583. package/dist/webcomponents/p-89f6ad8f.entry.js +1 -0
  584. package/dist/webcomponents/p-8S_ROmnq.js +1 -0
  585. package/dist/webcomponents/p-8ca21fab.entry.js +1 -0
  586. package/dist/webcomponents/p-8cebc84b.entry.js +1 -0
  587. package/dist/webcomponents/p-8f8dfd4b.entry.js +1 -0
  588. package/dist/webcomponents/p-94237472.entry.js +1 -0
  589. package/dist/webcomponents/p-9ad7d724.entry.js +1 -0
  590. package/dist/webcomponents/p-B-iV5cYd.js +1 -0
  591. package/dist/webcomponents/p-B6IWa9Ph.js +1 -0
  592. package/dist/webcomponents/{p-BdREtifE.js → p-BBx_EQqR.js} +1 -1
  593. package/dist/webcomponents/p-BX8GieXu.js +1 -0
  594. package/dist/webcomponents/{p-xWrhxNNk.js → p-Bgnhf5c9.js} +1 -1
  595. package/dist/webcomponents/{p-DTwFW2k_.js → p-BhCH9S0e.js} +1 -1
  596. package/dist/webcomponents/p-BjNuRWXK.js +1 -0
  597. package/dist/webcomponents/p-BlJnA265.js +1 -0
  598. package/dist/webcomponents/p-BoQ6_4Ks.js +1 -0
  599. package/dist/webcomponents/{p-DWGKeoot.js → p-C0wTyoTh.js} +1 -1
  600. package/dist/webcomponents/p-C2JJBtMc.js +1 -0
  601. package/dist/webcomponents/{p-g2ubqhtv.js → p-C8k7a6D-.js} +1 -1
  602. package/dist/webcomponents/{p-BPDMo6us.js → p-C98BC5W5.js} +1 -1
  603. package/dist/webcomponents/p-C9EQ459H.js +1 -0
  604. package/dist/webcomponents/p-C9iide2W.js +1 -0
  605. package/dist/webcomponents/p-CCLgieAN.js +1 -0
  606. package/dist/webcomponents/p-CCmDcLao.js +1 -0
  607. package/dist/webcomponents/{p-qUCDGWNE.js → p-CEk3bv0x.js} +1 -1
  608. package/dist/webcomponents/p-CH8Y3GSr.js +1 -0
  609. package/dist/webcomponents/{p-D2hzOOMf.js → p-ClvhB3WW.js} +1 -1
  610. package/dist/webcomponents/{p-JSXyHheQ.js → p-CmBCj61h.js} +1 -1
  611. package/dist/webcomponents/p-D0Peuz-m.js +1 -0
  612. package/dist/webcomponents/{p-BaM0JBLn.js → p-D5Jb9OcR.js} +1 -1
  613. package/dist/webcomponents/p-D6BImiVi.js +1 -0
  614. package/dist/webcomponents/p-DGsXKF67.js +1 -0
  615. package/dist/webcomponents/p-DH8F0bsw.js +1 -0
  616. package/dist/webcomponents/p-DL-q4EcN.js +1 -0
  617. package/dist/webcomponents/{p-_b8l4IX7.js → p-DOjVAAtq.js} +2 -2
  618. package/dist/webcomponents/p-DQZ5VHTZ.js +1 -0
  619. package/dist/webcomponents/p-DWn9BiNn.js +1 -0
  620. package/dist/webcomponents/{p-hj8k0lRi.js → p-DdMxswn1.js} +1 -1
  621. package/dist/webcomponents/{p-M5r2kSbf.js → p-DdZLLkQ5.js} +1 -1
  622. package/dist/webcomponents/p-DfV3dFDB.js +1 -0
  623. package/dist/webcomponents/p-Dieke6TH.js +1 -0
  624. package/dist/webcomponents/p-Dt-vy9Le.js +1 -0
  625. package/dist/webcomponents/p-NAjz1Xfo.js +1 -0
  626. package/dist/webcomponents/p-NwmOm8Pg.js +1 -0
  627. package/dist/webcomponents/p-PSJOKMWp.js +1 -0
  628. package/dist/webcomponents/p-RQzxYnz_.js +1 -0
  629. package/dist/webcomponents/p-T2yENPvU.js +1 -0
  630. package/dist/webcomponents/{p-b46fe458.entry.js → p-a4846316.entry.js} +1 -1
  631. package/dist/webcomponents/p-a5c70eee.entry.js +1 -0
  632. package/dist/webcomponents/p-a6tcNl_T.js +1 -0
  633. package/dist/webcomponents/p-aa14cc74.entry.js +1 -0
  634. package/dist/webcomponents/p-ae7054bf.entry.js +1 -0
  635. package/dist/webcomponents/p-ae8ae5bb.entry.js +1 -0
  636. package/dist/webcomponents/{p-fVyCeQNq.js → p-au49QgoI.js} +1 -1
  637. package/dist/webcomponents/p-b095c781.entry.js +1 -0
  638. package/dist/webcomponents/p-b36adce3.entry.js +1 -0
  639. package/dist/webcomponents/{p-b17cb15d.entry.js → p-b608add9.entry.js} +1 -1
  640. package/dist/webcomponents/p-b612d870.entry.js +1 -0
  641. package/dist/webcomponents/p-baf0d3e7.entry.js +1 -0
  642. package/dist/webcomponents/p-bb53e2e9.entry.js +1 -0
  643. package/dist/webcomponents/p-be05d450.entry.js +1 -0
  644. package/dist/webcomponents/p-c089fb5f.entry.js +1 -0
  645. package/dist/webcomponents/p-ce652ff9.entry.js +1 -0
  646. package/dist/webcomponents/{p-c1f10a84.entry.js → p-cff5dd60.entry.js} +1 -1
  647. package/dist/webcomponents/p-d0a2035f.entry.js +1 -0
  648. package/dist/webcomponents/p-d1bceac6.entry.js +1 -0
  649. package/dist/webcomponents/p-d37d752e.entry.js +1 -0
  650. package/dist/webcomponents/p-d4476052.entry.js +1 -0
  651. package/dist/webcomponents/p-d7f91c48.entry.js +1 -0
  652. package/dist/webcomponents/p-d84f0122.entry.js +1 -0
  653. package/dist/webcomponents/p-e55a161f.entry.js +1 -0
  654. package/dist/webcomponents/p-e6be4e19.entry.js +1 -0
  655. package/dist/webcomponents/p-ec9514f8.entry.js +1 -0
  656. package/dist/webcomponents/p-f11a74c3.entry.js +1 -0
  657. package/dist/webcomponents/p-f705fc49.entry.js +1 -0
  658. package/dist/webcomponents/p-f930acaa.entry.js +1 -0
  659. package/dist/webcomponents/p-fe8c2243.entry.js +1 -0
  660. package/dist/webcomponents/p-fedfe376.entry.js +1 -0
  661. package/dist/webcomponents/p-ffefa09c.entry.js +1 -0
  662. package/dist/webcomponents/p-h5pyZngT.js +1 -0
  663. package/dist/webcomponents/p-hbWSMN3O.js +1 -0
  664. package/dist/webcomponents/p-lKnUT24T.js +1 -0
  665. package/dist/webcomponents/p-tYuXMkCd.js +1 -0
  666. package/dist/webcomponents/p-wQgEEOq_.js +1 -0
  667. package/dist/webcomponents/p-xDbRW9xn.js +1 -0
  668. package/dist/webcomponents/{p-CPpUGsw5.js → p-yH3TC3ZQ.js} +1 -1
  669. package/dist/webcomponents/webcomponents.esm.js +1 -1
  670. package/package.json +13 -13
  671. package/dist/cjs/bank-account-document-form-inputs_6.cjs.entry.js +0 -132
  672. package/dist/cjs/business-identity-schema-Cd0tvfJr.js +0 -101
  673. package/dist/cjs/country-config-MCOhn8o3.js +0 -68
  674. package/dist/cjs/form-control-number-masked_3.cjs.entry.js +0 -119
  675. package/dist/cjs/justifi-apple-pay.cjs.entry.js +0 -876
  676. package/dist/cjs/terminals-list-params-state-ARjo40Y9.js +0 -22
  677. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +0 -88
  678. package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +0 -50
  679. package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +0 -101
  680. package/dist/collection/components/business-forms/payment-provisioning/test/mockBusiness.js +0 -52
  681. package/dist/collection/components/business-forms/utils/country-config.js +0 -47
  682. package/dist/collection/utils/country-codes.js +0 -5
  683. package/dist/collection/utils/province-options.js +0 -20
  684. package/dist/esm/bank-account-document-form-inputs_6.entry.js +0 -125
  685. package/dist/esm/business-identity-schema-mN4VhA1v.js +0 -94
  686. package/dist/esm/country-config-BQ4D46Lb.js +0 -64
  687. package/dist/esm/form-control-number-masked_3.entry.js +0 -115
  688. package/dist/esm/terminals-list-params-state-BY5996_y.js +0 -16
  689. package/dist/module/bank-account-form-inputs-canada.d.ts +0 -11
  690. package/dist/module/bank-account-form-inputs-canada.js +0 -6
  691. package/dist/module/bank-account-form-inputs-canada2.js +0 -68
  692. package/dist/module/bank-account-read-only-value.d.ts +0 -11
  693. package/dist/module/bank-account-read-only-value.js +0 -6
  694. package/dist/module/bank-account-read-only-value2.js +0 -33
  695. package/dist/module/country-config.js +0 -64
  696. package/dist/module/form-address-fields.js +0 -65
  697. package/dist/module/justifi-form-address-fields.d.ts +0 -11
  698. package/dist/module/justifi-form-address-fields.js +0 -6
  699. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.d.ts +0 -7
  700. package/dist/types/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.d.ts +0 -5
  701. package/dist/types/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.d.ts +0 -8
  702. package/dist/types/components/business-forms/payment-provisioning/test/mockBusiness.d.ts +0 -12
  703. package/dist/types/utils/country-codes.d.ts +0 -4
  704. package/dist/types/utils/province-options.d.ts +0 -5
  705. package/dist/webcomponents/p-0254c06c.entry.js +0 -1
  706. package/dist/webcomponents/p-047fe97f.entry.js +0 -1
  707. package/dist/webcomponents/p-04ca6ff0.entry.js +0 -1
  708. package/dist/webcomponents/p-09d53b03.entry.js +0 -1
  709. package/dist/webcomponents/p-0c5e2fed.entry.js +0 -1
  710. package/dist/webcomponents/p-0ea48603.entry.js +0 -1
  711. package/dist/webcomponents/p-17e9d5c0.entry.js +0 -1
  712. package/dist/webcomponents/p-1ab4d6aa.entry.js +0 -1
  713. package/dist/webcomponents/p-1cf42bc9.entry.js +0 -1
  714. package/dist/webcomponents/p-1e7f4b4f.entry.js +0 -1
  715. package/dist/webcomponents/p-22defde6.entry.js +0 -20
  716. package/dist/webcomponents/p-242208d9.entry.js +0 -1
  717. package/dist/webcomponents/p-31ac0c3d.entry.js +0 -1
  718. package/dist/webcomponents/p-36e21b78.entry.js +0 -1
  719. package/dist/webcomponents/p-3a77a97c.entry.js +0 -1
  720. package/dist/webcomponents/p-40938820.entry.js +0 -1
  721. package/dist/webcomponents/p-40dc0c3c.entry.js +0 -1
  722. package/dist/webcomponents/p-42763479.entry.js +0 -1
  723. package/dist/webcomponents/p-430203b0.entry.js +0 -1
  724. package/dist/webcomponents/p-46d2d042.entry.js +0 -1
  725. package/dist/webcomponents/p-485516a1.entry.js +0 -1
  726. package/dist/webcomponents/p-4fb58ee6.entry.js +0 -1
  727. package/dist/webcomponents/p-54995a3d.entry.js +0 -1
  728. package/dist/webcomponents/p-56617fdd.entry.js +0 -1
  729. package/dist/webcomponents/p-592a45f6.entry.js +0 -1
  730. package/dist/webcomponents/p-5a044ca5.entry.js +0 -1
  731. package/dist/webcomponents/p-5ec18584.entry.js +0 -1
  732. package/dist/webcomponents/p-6122dc79.entry.js +0 -1
  733. package/dist/webcomponents/p-62858ba5.entry.js +0 -1
  734. package/dist/webcomponents/p-62b5e6cf.entry.js +0 -1
  735. package/dist/webcomponents/p-67dab4d9.entry.js +0 -1
  736. package/dist/webcomponents/p-6b791b1d.entry.js +0 -1
  737. package/dist/webcomponents/p-6ebf8f11.entry.js +0 -1
  738. package/dist/webcomponents/p-6fdac295.entry.js +0 -1
  739. package/dist/webcomponents/p-724cf90f.entry.js +0 -1
  740. package/dist/webcomponents/p-7ecca5fe.entry.js +0 -1
  741. package/dist/webcomponents/p-7ecf9bd0.entry.js +0 -1
  742. package/dist/webcomponents/p-850dd606.entry.js +0 -1
  743. package/dist/webcomponents/p-85af9d78.entry.js +0 -1
  744. package/dist/webcomponents/p-931003fc.entry.js +0 -1
  745. package/dist/webcomponents/p-9367e7e6.entry.js +0 -1
  746. package/dist/webcomponents/p-9c114674.entry.js +0 -1
  747. package/dist/webcomponents/p-9c267692.entry.js +0 -1
  748. package/dist/webcomponents/p-B5rtFhtR.js +0 -1
  749. package/dist/webcomponents/p-BRhnhmpB.js +0 -1
  750. package/dist/webcomponents/p-BgFM_jvF.js +0 -1
  751. package/dist/webcomponents/p-BqbXuOZP.js +0 -1
  752. package/dist/webcomponents/p-BwpdCtUc.js +0 -1
  753. package/dist/webcomponents/p-C6g4MbnB.js +0 -1
  754. package/dist/webcomponents/p-CA_TyBed.js +0 -1
  755. package/dist/webcomponents/p-CE-MNrID.js +0 -1
  756. package/dist/webcomponents/p-CMpATPXy.js +0 -1
  757. package/dist/webcomponents/p-CQUZeo9r.js +0 -1
  758. package/dist/webcomponents/p-CSeo7WDO.js +0 -1
  759. package/dist/webcomponents/p-CTJ3moi4.js +0 -1
  760. package/dist/webcomponents/p-CVaOFfrI.js +0 -1
  761. package/dist/webcomponents/p-CYNcSTQA.js +0 -1
  762. package/dist/webcomponents/p-CevVA9qy.js +0 -1
  763. package/dist/webcomponents/p-CkiX8OGy.js +0 -1
  764. package/dist/webcomponents/p-CtWnJFtW.js +0 -1
  765. package/dist/webcomponents/p-CycBoHSW.js +0 -1
  766. package/dist/webcomponents/p-D-RVXHwG.js +0 -1
  767. package/dist/webcomponents/p-D1Na2I0C.js +0 -1
  768. package/dist/webcomponents/p-D5lmImiz.js +0 -1
  769. package/dist/webcomponents/p-DMf85Fkr.js +0 -1
  770. package/dist/webcomponents/p-DNPS-Ypi.js +0 -1
  771. package/dist/webcomponents/p-DQ5V5-Jy.js +0 -1
  772. package/dist/webcomponents/p-DapORSs4.js +0 -1
  773. package/dist/webcomponents/p-DcPNd9_D.js +0 -1
  774. package/dist/webcomponents/p-DfKxeSrC.js +0 -1
  775. package/dist/webcomponents/p-Dkujm7_O.js +0 -1
  776. package/dist/webcomponents/p-Dv1Fyrn3.js +0 -1
  777. package/dist/webcomponents/p-DxVCqvBt.js +0 -1
  778. package/dist/webcomponents/p-DzWLLt4t.js +0 -1
  779. package/dist/webcomponents/p-LO0pl3n2.js +0 -1
  780. package/dist/webcomponents/p-PdQT2QcR.js +0 -1
  781. package/dist/webcomponents/p-a2817869.entry.js +0 -1
  782. package/dist/webcomponents/p-a291a90c.entry.js +0 -1
  783. package/dist/webcomponents/p-b0bc03e6.entry.js +0 -1
  784. package/dist/webcomponents/p-c2cb70c8.entry.js +0 -1
  785. package/dist/webcomponents/p-c540fe9d.entry.js +0 -1
  786. package/dist/webcomponents/p-c6093716.entry.js +0 -1
  787. package/dist/webcomponents/p-c6e43493.entry.js +0 -1
  788. package/dist/webcomponents/p-c780cc91.entry.js +0 -1
  789. package/dist/webcomponents/p-c9598246.entry.js +0 -1
  790. package/dist/webcomponents/p-c972a599.entry.js +0 -1
  791. package/dist/webcomponents/p-cc1d8649.entry.js +0 -1
  792. package/dist/webcomponents/p-ce4895ca.entry.js +0 -1
  793. package/dist/webcomponents/p-ce67282b.entry.js +0 -1
  794. package/dist/webcomponents/p-cef5c6e9.entry.js +0 -1
  795. package/dist/webcomponents/p-d21fa0c9.entry.js +0 -1
  796. package/dist/webcomponents/p-d236f152.entry.js +0 -1
  797. package/dist/webcomponents/p-d6ac11fc.entry.js +0 -1
  798. package/dist/webcomponents/p-e55ce6ad.entry.js +0 -1
  799. package/dist/webcomponents/p-f02bd076.entry.js +0 -1
  800. package/dist/webcomponents/p-lPeK9y_X.js +0 -1
  801. package/dist/webcomponents/p-sCHf--Vc.js +0 -1
@@ -1,5 +1,18 @@
1
1
  import { h } from "@stencil/core";
2
2
  import { Badge, BadgeVariant } from "../../ui-components/badge/badge";
3
+ export var PaymentStatusBadge;
4
+ (function (PaymentStatusBadge) {
5
+ PaymentStatusBadge["SUCCEEDED"] = "succeeded";
6
+ PaymentStatusBadge["AUTHORIZED"] = "authorized";
7
+ PaymentStatusBadge["PENDING"] = "pending";
8
+ PaymentStatusBadge["ACH_FAILED"] = "achFailed";
9
+ PaymentStatusBadge["FAILED"] = "failed";
10
+ PaymentStatusBadge["CANCELED"] = "canceled";
11
+ PaymentStatusBadge["DISPUTED"] = "disputed";
12
+ PaymentStatusBadge["DISPUTE_LOST"] = "dispute_lost";
13
+ PaymentStatusBadge["FULLY_REFUNDED"] = "fully_refunded";
14
+ PaymentStatusBadge["PARTIALLY_REFUNDED"] = "partially_refunded";
15
+ })(PaymentStatusBadge || (PaymentStatusBadge = {}));
3
16
  export const MapPaymentStatusToBadge = (status) => {
4
17
  const statusToBadgeProps = {
5
18
  succeeded: {
@@ -33,10 +46,15 @@ export const MapPaymentStatusToBadge = (status) => {
33
46
  text: 'Canceled',
34
47
  },
35
48
  disputed: {
36
- variant: BadgeVariant.SECONDARY,
49
+ variant: BadgeVariant.WARNING,
37
50
  title: 'The account holder disputed this payment. The amount has been returned and a fee assessed.',
38
51
  text: 'Disputed',
39
52
  },
53
+ dispute_lost: {
54
+ variant: BadgeVariant.SECONDARY,
55
+ title: 'The cardholder has won the dispute.',
56
+ text: 'Dispute Lost',
57
+ },
40
58
  fully_refunded: {
41
59
  variant: BadgeVariant.SECONDARY,
42
60
  title: 'The full amount of this payment has been refunded',
@@ -1,5 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
- import { formatDate, formatTime } from "../../utils/utils";
2
+ import { capitalizeFirstLetter, formatDate, formatTime } from "../../utils/utils";
3
3
  import { CodeBlock, DetailItem, DetailSectionTitle, EntityHeadInfo, EntityHeadInfoItem, ErrorState } from "../../ui-components/details/utils";
4
4
  import { Button, StyledHost } from "../../ui-components";
5
5
  import { MapPayoutStatusToBadge } from "../payouts-list/payouts-status";
@@ -7,6 +7,7 @@ import PayoutDetailsLoading from "./payout-details-loading";
7
7
  import { Badge, BadgeVariant } from "../../ui-components/badge/badge";
8
8
  export class PayoutDetailsCore {
9
9
  constructor() {
10
+ this.enableRecordClick = false;
10
11
  this.loading = true;
11
12
  this.errorMessage = null;
12
13
  this.downloadCSV = () => {
@@ -22,6 +23,12 @@ export class PayoutDetailsCore {
22
23
  },
23
24
  });
24
25
  };
26
+ this.handleRecordClick = (id) => {
27
+ this.recordClickEvent.emit({
28
+ id,
29
+ type: 'account'
30
+ });
31
+ };
25
32
  }
26
33
  componentWillLoad() {
27
34
  if (this.getPayout) {
@@ -50,11 +57,16 @@ export class PayoutDetailsCore {
50
57
  },
51
58
  });
52
59
  }
60
+ formatMethod(deliveryMethod) {
61
+ if (deliveryMethod === "ach")
62
+ return "ACH";
63
+ return capitalizeFirstLetter(deliveryMethod);
64
+ }
53
65
  render() {
54
66
  var _a;
55
- return (h(StyledHost, { key: '5568a561f38c1d899171163d23b029766adb0e8a' }, this.loading && h(PayoutDetailsLoading, { key: '1c17be181850fde8e996b526d76c0452e7353e16' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'd507119400ed8885a0b0f3061f54c82cd2d151ca', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '2d6192cc947a78b0566401b07b661b5116378798', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'd25b191987931a853b16d40b819c5e88ca3bba70', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: 'a669dae8e5699ca83326a799e07f5b9efb673850', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '2952d01e2d98ca87ad2a8f1349144dd8a0d6d87e', title: "ID", value: this.payout.id }), h("div", { key: '376886d0c0dfee789825f007f7bf17847a0e4f74', class: "m-4" }, h(Button, { key: '2ceae9f29c2b07efeba427a97a8ed79cac27c736', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: 'be5844790b248357d9d919830ee54f159f24268e', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '3a450675b1811d87cd61692f7a36443d56412e7b', sectionTitle: "Details" }), h("div", { key: 'c6fe4e20c5b7607cb7f7472a3f41245b1cccdf5c', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'aaa0e5d6d2d764e5b4ee430a21d94891cea55dd6', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '92f7534cc1cd4463ff9f4187dec79520bc728d38', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'd25daac9ecd7de9b3e379fbc6baeaba5f7c7db96', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: 'a648fbfdae282870dd7471d8e6fe414ca3e225d6', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '4720bfeae9fcb545aaa84b373bdea0000ab803ae', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '54d6f97ad54c2018d873062d15c63143ad899c4f', sectionTitle: "Account" }), h("div", { key: 'f46ec5329dc9a5301345fbff79cb95eada27c7d7', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '4b0432e3b43a54591bbcd007372d63359738e7f0', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'c4f24ea424336b398b73268869e42aa5efaba22c', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'a7735eff20bcd14399af5da2a1f83b308a5a7d1d', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '8f111b1b61509802d2fe743ca1b7f6197e5fd50b', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: '85dd7ec442ac9dafe7b87bf7b036088166acd7ab', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
56
- h(DetailSectionTitle, { key: '42bd46da966657dafe6db564829b6ecf41c0195e', sectionTitle: 'Metadata' }),
57
- h("div", { key: '41124e965bdc0d0429f16e7693894bfa6c62c9df', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '718b728f4aaab7092530ed52de11348b8e68a2f6', metadata: this.payout.metadata }))
67
+ return (h(StyledHost, { key: 'd81fd85bbfa1c54175b4055cfed2eb62c7db1735' }, this.loading && h(PayoutDetailsLoading, { key: '37fca566131507232afc04332989545f81f21ace' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '2135970df52759def666f17297f055b90fc61274', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '12d9f81cea53ea7f8636c3ed249f994f13ae1389', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: 'd3f061a66f4dd3bfee92e5de3b2ba8f245853c85', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '292267e98b0e12ef4fd365c0c972f9eccba0df09', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '0ca068bb4c8c2dea86feff59916b42871de799e7', title: "ID", value: this.payout.id }), h("div", { key: 'a97d286bf5eafce9cfbf81c6e7f62bb4e7b0849f', class: "m-4" }, h(Button, { key: '8a026a6f3819519815148115ffed876c18e37142', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '66520ccf02a84b4523552de31d43e2b5c75e16ae', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '27e9caef31af8e5d89141b5c0265e6ee9183809e', sectionTitle: "Details" }), h("div", { key: '2cb15bde0c567667978f482a55753c1355a359b9', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '5fe197ecc8f1aa79786a8da0092e7962095336a1', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '50d667f0b575e89b712832b3d70026c422119308', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '28f753d09ca0434ef6e913baa1c95e977657bdfe', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: '84eb131bc5493293e75d0c5eb5cf69379769843d', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '0fd9fc497e076165b9e5a70b385fdde44d9290fb', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '29b8ef5d56c77bc44bf0809acf3bf7235a5f678d', sectionTitle: "Account" }), h("div", { key: '49104b277fe2c27a28326bc6e84aa76713f355a5', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '7e8f4b347227c73ebfb28a3846c994943dc22b14', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: '594d4853374fdacde8c38c9409abe593acf3d1d8', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '86198dd9f123775d687df6a7efa7b17fae6f7fc0', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: 'ff5840da92dc48469915698937c52be1be6573f3', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'dae3be8251b99e92c14d19151f7fcf43e7d79d2b', title: "Account Number", value: `**** ${this.payout.bank_account.account_number_last4}` })), this.payout.metadata && [
68
+ h(DetailSectionTitle, { key: 'ab9280b8f08bfa10492d86d73d7fcc054602c23b', sectionTitle: 'Metadata' }),
69
+ h("div", { key: '91326afd6edbd573802684fa8518d6738cbcf4ff', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '7ac4be5f733114b2257eade5c315583b09643390', metadata: this.payout.metadata }))
58
70
  ])))));
59
71
  }
60
72
  static get is() { return "payout-details-core"; }
@@ -103,6 +115,26 @@ export class PayoutDetailsCore {
103
115
  },
104
116
  "getter": false,
105
117
  "setter": false
118
+ },
119
+ "enableRecordClick": {
120
+ "type": "boolean",
121
+ "mutable": false,
122
+ "complexType": {
123
+ "original": "boolean",
124
+ "resolved": "boolean",
125
+ "references": {}
126
+ },
127
+ "required": false,
128
+ "optional": false,
129
+ "docs": {
130
+ "tags": [],
131
+ "text": ""
132
+ },
133
+ "getter": false,
134
+ "setter": false,
135
+ "reflect": false,
136
+ "attribute": "enable-record-click",
137
+ "defaultValue": "false"
106
138
  }
107
139
  };
108
140
  }
@@ -135,6 +167,27 @@ export class PayoutDetailsCore {
135
167
  }
136
168
  }
137
169
  }
170
+ }, {
171
+ "method": "recordClickEvent",
172
+ "name": "record-click-event",
173
+ "bubbles": true,
174
+ "cancelable": true,
175
+ "composed": true,
176
+ "docs": {
177
+ "tags": [],
178
+ "text": ""
179
+ },
180
+ "complexType": {
181
+ "original": "RecordClickEvent",
182
+ "resolved": "RecordClickEvent",
183
+ "references": {
184
+ "RecordClickEvent": {
185
+ "location": "import",
186
+ "path": "../../api/ComponentEvents",
187
+ "id": "src/api/ComponentEvents.ts::RecordClickEvent"
188
+ }
189
+ }
190
+ }
138
191
  }];
139
192
  }
140
193
  static get watchers() {
@@ -8,6 +8,7 @@ import { makeGetPayoutCSV } from "./get-payout-csv";
8
8
  import { checkPkgVersion } from "../../utils/check-pkg-version";
9
9
  export class PayoutDetails {
10
10
  constructor() {
11
+ this.enableRecordClick = false;
11
12
  this.errorMessage = null;
12
13
  this.handleErrorEvent = (event) => {
13
14
  this.errorMessage = event.detail.message;
@@ -52,7 +53,7 @@ export class PayoutDetails {
52
53
  if (this.errorMessage) {
53
54
  return ErrorState(this.errorMessage);
54
55
  }
55
- return (h("payout-details-core", { getPayout: this.getPayout, getPayoutCSV: this.getPayoutCSV, "onError-event": this.handleErrorEvent }));
56
+ return (h("payout-details-core", { getPayout: this.getPayout, getPayoutCSV: this.getPayoutCSV, "onError-event": this.handleErrorEvent, enableRecordClick: this.enableRecordClick }));
56
57
  }
57
58
  static get is() { return "justifi-payout-details"; }
58
59
  static get encapsulation() { return "shadow"; }
@@ -95,6 +96,26 @@ export class PayoutDetails {
95
96
  "setter": false,
96
97
  "reflect": false,
97
98
  "attribute": "auth-token"
99
+ },
100
+ "enableRecordClick": {
101
+ "type": "boolean",
102
+ "mutable": false,
103
+ "complexType": {
104
+ "original": "boolean",
105
+ "resolved": "boolean",
106
+ "references": {}
107
+ },
108
+ "required": false,
109
+ "optional": false,
110
+ "docs": {
111
+ "tags": [],
112
+ "text": ""
113
+ },
114
+ "getter": false,
115
+ "setter": false,
116
+ "reflect": false,
117
+ "attribute": "enable-record-click",
118
+ "defaultValue": "false"
98
119
  }
99
120
  };
100
121
  }
@@ -95,7 +95,7 @@ export class PayoutTransactionsList {
95
95
  return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
96
96
  }
97
97
  render() {
98
- return (h(StyledHost, { key: '35037a26a2ad1df0d5580bc9cbdf678b68d75703' }, h(TableWrapper, { key: '98cccf52e705665e09aa1b203f745c93ab6fa0b9' }, h(TableComponent, { key: '7280cc3d85164c2b0433cf54e66f747d9bda8293' }, h(TableHead, { key: '180eb9f41e8dabc002ff69e5a6b6b36b46a6a6ce' }, h(TableHeadRow, { key: 'b1b9fa3bce94622657619b5652c27d2b2f4c75f1' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'ab53e54503eff3e104249160e043aa4050b9a2ed' }, h(TableLoadingState, { key: 'e178b2af718b595e9e3bb865f29b0db27d5a597b', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '4d17644347644ce12b168ec002e70ab49095eb70', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: 'c941389bfda963a3e607bed76d81d9d3d79e7ca3', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '87277e41a96e5f2bf20e71363c79bc7afbec948c' }, h(TableFootRow, { key: '43d1e1bc876e6f954592277dbd74e55252845172' }, h(TableFootCell, { key: 'a11739b6f62786e537a94519b145c6d416786e3c', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '80e172cce8cd3ffd76caaa9c8bc20fbfc7dc76f5', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
98
+ return (h(StyledHost, { key: 'a0ff80867bc3c0bf198165229f693d7748ffc7a4' }, h(TableWrapper, { key: '779cc5602f6221e0f704484bf962b72b266d95f8' }, h(TableComponent, { key: '7b4b56e9712533ba2b50a875d282ef4bd5efdcaf' }, h(TableHead, { key: '8ecd93d56bdbdb1417b260dd013315b21958f363' }, h(TableHeadRow, { key: '9fa0fea238a9f76c71d5b8fc5443ca2c9e56b13b' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'f7d94388eddaf848e4868005e985a1158577c70f' }, h(TableLoadingState, { key: 'c83742e9e3ecbcdaba29f2aa121ec4c101a55632', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: 'fa0404328357e11527cff2c3eb15536ee458557b', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '71add0ef95310fd49e403d65c2a23ea8f73c71b6', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '073af8dce5dabb2db604ae50e6ace6a4ace18e6f' }, h(TableFootRow, { key: '3f3906a106b3c41311a0e1309aea779e865bf0f5' }, h(TableFootCell, { key: '85b46ef2a297aab3a450d49dd086ec6e7e1ab027', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '548131521a5fcf1562b286097635f5f62414a28c', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
99
99
  }
100
100
  static get is() { return "justifi-payout-transactions-list"; }
101
101
  static get encapsulation() { return "shadow"; }
@@ -135,7 +135,7 @@ export class PayoutsListCore {
135
135
  return !this.showEmptyState && !this.showErrorState && !this.loading;
136
136
  }
137
137
  render() {
138
- return (h(TableWrapper, { key: '59994e4906090071601b397325d5f7069b8d8a22' }, h(TableComponent, { key: 'ce036662e9f46e7694dbc10b943fc1214f75daa0' }, h(TableHead, { key: 'af54a1f5719de98f09e328c38656d2c0118e15c4' }, h(TableHeadRow, { key: '2820111563b25c714bf471d899e138b6a2b6a364' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '133f14f906b44122d1bcfd24e03cda0056ace227' }, h(TableLoadingState, { key: 'b4332c9c89bbad2f06b2b69f533d3fcc70e6ec3d', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'd23e5d640e3fe1f38b6f437a96d0a5f6e7832c28', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'edf58fb04ebabdcb0678a551d7d87a236baba849', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '081f88093dda02c81346b9eda6c3105bc6c7c0f1' }, h(TableFootRow, { key: '1b579bb5c8feb1f388f3ad2c25543f5d8f6b154d' }, h(TableFootCell, { key: '6a6ac8031d15ed7e2fc158028bcc7b44901faca8', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'ef890187c152081d1daf8cc870a81d75db439128', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
138
+ return (h(TableWrapper, { key: '44f6c2c3a44435f30c61220114797c5938e475a8' }, h(TableComponent, { key: '756c4ea4ad9c59bea1241af2502c03ced6ec3623' }, h(TableHead, { key: '2748d99edcaea098b111954178cf799811be445c' }, h(TableHeadRow, { key: 'c824617152c899cdff946f979ac71dbdb8002ffa' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '4ae6368c8a634f0a1aa85117a2ead0dd66f9828c' }, h(TableLoadingState, { key: 'f6473742b82e604808474cf294aca1f09bcf820f', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '334eef7d28de693a0c5e4f413c72268acf00bc6d', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '6172568fd0282924413cbf28255d06f1651bcdbe', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '232dad4bfb95c707989633a1c0c198481aa3a5e1' }, h(TableFootRow, { key: '1bb1da49bef435aec118bc8c8eb5a96c0469f817' }, h(TableFootCell, { key: '481a46c6488f8652f6360725b45ec76baecc6ad4', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'd4fdb00ff58d674f77d99502d98c572562f516ea', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
139
139
  }
140
140
  static get is() { return "payouts-list-core"; }
141
141
  static get properties() {
@@ -26,8 +26,8 @@ export class PayoutsListFilters {
26
26
  }
27
27
  render() {
28
28
  const filterMenuParams = Object.assign({}, filterParams);
29
- return (h(StyledHost, { key: '93d251d08587d0e4a39f5e0361f642fdb25e682e' }, h("table-filters-menu", { key: 'be80812190551197cfaf82c45a696bcbf8e1830d', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: '983f3ff96bcddbda7e1a39f2c19d7886b5bad4f2', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'cb352ea18d854ab8a77361e544cbbbecf69baa58', class: "p-2" }, h("form-control-date", { key: '1c628e9d5be7d4c43b2a316a4bccbf4ee41f8652', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
30
- convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: 'd0649f25048043fbd6d12aa658162c4dbd084d75', class: "p-2" }, h("form-control-date", { key: '80550ba47ecdb6743d29ab9fb8ca66567992f91e', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
29
+ return (h(StyledHost, { key: '41eeb0429b0228f59f50b82fa8433dedacf56aed' }, h("table-filters-menu", { key: '10b29c5ab84d582867e7d58dae927ffceb20bf63', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: '9f1a6b6409b06c3b8c44f513834f9ff4b8c97657', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '886691c037614a7623b78b0b4010fc539b7a0e94', class: "p-2" }, h("form-control-date", { key: 'b6553e03f27a2a65d241e679515cf1e1ecf3ebb8', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
30
+ convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: '7609b6996b9e1dfab4c20bb68cde950cfea42442', class: "p-2" }, h("form-control-date", { key: '118337c44913278ccc71e833a8afdb1d61071592', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
31
31
  convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: createdBeforePayoutsListFilterParam }))))));
32
32
  }
33
33
  static get is() { return "justifi-payouts-list-filters"; }
@@ -64,7 +64,7 @@ export class PayoutsList {
64
64
  }
65
65
  }
66
66
  render() {
67
- return (h(StyledHost, { key: 'fb38191d2ab5c59dee8261a9ca5116e574f721fd' }, h("payouts-list-core", { key: '8e24bf8753a52c1faa41ee60330f9da4372afdd0', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
67
+ return (h(StyledHost, { key: 'fb8e3e21a4e5a0aa971a91eed4ef0b603dbd1b23' }, h("payouts-list-core", { key: 'c9fb97bd0d77d1989f346285cd5124121ad4ac83', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
68
68
  }
69
69
  static get is() { return "justifi-payouts-list"; }
70
70
  static get encapsulation() { return "shadow"; }
@@ -81,7 +81,7 @@ export class TerminalOrdersListCore {
81
81
  return !this.showEmptyState && !this.showErrorState && !this.loading;
82
82
  }
83
83
  render() {
84
- return (h(TableWrapper, { key: '71743bd2440b3b00ecafe74ddf9a0f48a96dbe6c' }, h(TableComponent, { key: '942af2def8486e3ff6d9cb9244bd88061b48db90' }, h(TableHead, { key: '32bcb4a7c21292ab9742dc509b921bd2f3b5ff5e' }, h(TableHeadRow, { key: '978a80218e60edd29d8799130c98f4772b471586' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'ef5a80cbc4868cc75fdfc19d58a6cee8928546ef' }, h(TableLoadingState, { key: 'dd773a17e38a975dd3821a104bfad75d83ed907e', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '8a857149326cc110d2daf440875cd977b8f2e2d6', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '1c9dfccef7c8675539290f53d3b6c615261c713a', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '2ba8b5c118f45affadf0bdf6ec9d013d4ac98636' }, h(TableFootRow, { key: 'a756ee19c1f4c36975f65aec354a4480f5563ea4' }, h(TableFootCell, { key: '7549ac667748d24c2f581eb13a5e0cd65c17697b', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '98178188d80869e44ceade1e225655a1f2d62ceb', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
84
+ return (h(TableWrapper, { key: 'f642f35fa0bd514d42f94a2991ec00923159d788' }, h(TableComponent, { key: 'dc6a0488729a57c4792ae84a16c8a7d4c00e16cb' }, h(TableHead, { key: '04ebae008a9e7c29b1a5bd2efb948605857743f0' }, h(TableHeadRow, { key: '61931ebd8258c4a6e83692de4dd43cb3766cad0e' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'f8acfec2e54c75df0c5e0082ed14693f1f01169a' }, h(TableLoadingState, { key: '095f29bb7c56371397c07a22f40b17b673d7c8d1', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'fc77d1eb81ec891fbe6345e4fd23028d70c60331', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '5a6e8f297219dc45d96d5d7e17a8636ca1b50648', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '66b118f9daba0f6b8a12869d3348a06e7425f1f0' }, h(TableFootRow, { key: 'a3e149e674bb6f5a9114da1b917ddb7addf6effb' }, h(TableFootCell, { key: '34eedd1c6d8ff11935a5b411d821efd4eba1381f', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '1374d80bd8c0307afae2c226f3e07b9e1cf21878', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
85
85
  }
86
86
  static get is() { return "terminal-orders-list-core"; }
87
87
  static get properties() {
@@ -47,8 +47,8 @@ export class TerminalOrdersListFilters {
47
47
  }
48
48
  render() {
49
49
  const filterMenuParams = Object.assign({}, filterParams);
50
- return (h(StyledHost, { key: '920c99fe5fd7e8392cf4c7dffa2e1b36c7415e1f' }, h("table-filters-menu", { key: 'c01527296d2abc356b5d717280d631e385dd38ec', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: 'cb73d65ed0097c0112ba8a6990002d7043cffe9a', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '96baa82b72d585e081b33397c62d05538c11f7a0', class: "p-2" }, h("form-control-select", { key: '134efdeaf6d72e17a123ee33f07eeb7e7725bd8a', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status, disabled: !!this.orderStatus, part: orderStatusTerminalOrdersListFilterParam })), h("div", { key: 'be7eaa48c38e424133dd898536c43487517097c6', class: "p-2" }, h("form-control-select", { key: 'dd54b28b9f54e5dbd320e48ade099cda1cf37a1d', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type, disabled: !!this.orderType, part: orderTypeTerminalOrdersListFilterParam })), h("div", { key: 'cf26545dca2f274b54c987fb6ea3a280f527025a', class: "p-2" }, h("form-control-date", { key: 'b61c7f8bd814c5b7bd5baf63453fa1aa4247b8a8', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
51
- convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: 'ddeb93a70d8d20e9c5d43fd5c8c8639c94174026', class: "p-2" }, h("form-control-date", { key: '8ebf3a23e3c2cfb178da6be69fa9e40caae65d0f', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
50
+ return (h(StyledHost, { key: 'e4220781c3a7878607a3fd369f6aef680caf7e3b' }, h("table-filters-menu", { key: 'a6d807965b30875ac0fc3b2a1c2fc016816515c1', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: '2dc1aa039a17ec35556ca87f69583f678ff98154', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '5c8487d29210150eef9cda19aa08098b94562735', class: "p-2" }, h("form-control-select", { key: 'd18aaaf9c0a0c7b35e5526cc0d13e63fa759827d', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status || '', disabled: !!this.orderStatus, part: orderStatusTerminalOrdersListFilterParam })), h("div", { key: '9830ad536337ff56460a97f2af7b1d593b26a617', class: "p-2" }, h("form-control-select", { key: 'ab793e61dfb3839d733f86fe3a432f6625a80007', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type || '', disabled: !!this.orderType, part: orderTypeTerminalOrdersListFilterParam })), h("div", { key: 'fc0ba6a18cbfbefc9ed93db3badb1dac6c65aaed', class: "p-2" }, h("form-control-date", { key: 'c8b8dcafd434382b14b4fc53ce995689605d2b30', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
51
+ convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '3d52eebcde6a0b866c2a10c78ec50ea28a216e41', class: "p-2" }, h("form-control-date", { key: '598cda521e3a1fbe6e68d219d0d49e013d0adb0a', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
52
52
  convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforeTerminalOrdersListFilterParam }))))));
53
53
  }
54
54
  static get is() { return "justifi-terminal-orders-list-filters"; }
@@ -43,7 +43,7 @@ export class TerminalOrdersList {
43
43
  }
44
44
  }
45
45
  render() {
46
- return (h(StyledHost, { key: '325e00fe580784e2898131a717a3e69ec3636e58' }, h("terminal-orders-list-core", { key: 'b4b577b99e07a2eafe8454ee96fba467c83fe1a4', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
46
+ return (h(StyledHost, { key: '2a1b18985b1775ef97f0ef03a122ecc42a66fe15' }, h("terminal-orders-list-core", { key: 'a5950f3c91a5bfb09202f2db5acd367635d7bd94', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
47
47
  }
48
48
  static get is() { return "justifi-terminal-orders-list"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -118,7 +118,7 @@ export class TerminalsListCore {
118
118
  return !this.showEmptyState && !this.showErrorState && !this.loading;
119
119
  }
120
120
  render() {
121
- return (h(TableWrapper, { key: 'cfe1ede487eed5a2723af6bc3df664b8a00803f8' }, h(TableComponent, { key: '7e14a73b25a1bd8fc929625baac78ad73b97f25a' }, h(TableHead, { key: 'e0e0f0b02883ea5568f8f9cef7efea7084421a2c' }, h(TableHeadRow, { key: 'fce520af31336e6ea90c47bc277f76f7e78f6708' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '59b20605909357d3bf5967c6e23041c07b1b5823' }, h(TableLoadingState, { key: 'c838ebc2443a857aa706d0bf495a19eb00b5af0d', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'a2a8eaaa3e2cbb1d8e64dce0ca55a0741ee857d2', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '2d323895c034ae25d4e4b440f0cf98c4de20efdf', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'c9f5a05d1c661f7e0780ec161b0afa6a74d5cf8e' }, h(TableFootRow, { key: '888f97557066f6003e1b09acf47aa4a75f6ff59d' }, h(TableFootCell, { key: 'db634074f6a089b52f7df8ce55af6f8499e3ba72', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: 'a30886dd1354edd40d3818215e29ec57cf70c7c1', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
121
+ return (h(TableWrapper, { key: 'dd5f6ca2944a4c612c5a99e7e70b64240ff77890' }, h(TableComponent, { key: '05c34cdbf22ec62b04165259fc456b8f7f94e166' }, h(TableHead, { key: '9d55c62444326c96a8cf81f2237d6bd16ecef155' }, h(TableHeadRow, { key: 'a0f923fb4937dad46d37085f15b93097aa9453bb' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: 'bb82808aaf16e572b90e09f9666384907317c617' }, h(TableLoadingState, { key: 'a5fad3901302bd468c1e8e312eb3fadedee709c4', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'f954dda201865b55141e9288219729561fc22240', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '8fce08061353a7ed9d5f364489cce99fb934e36c', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'e62da6a0cfca1447dce0e65999ecaee501cb1060' }, h(TableFootRow, { key: '12e0ac4fb55a6cb9960a4bc69296addccc629b54' }, h(TableFootCell, { key: '4024dfbee9409a2b1e9d22272ba23ed16c0afbe8', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '201eb194b2f8c620b5a775d7e2077c8e33de8aa2', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
122
122
  }
123
123
  static get is() { return "terminals-list-core"; }
124
124
  static get properties() {
@@ -30,12 +30,13 @@ export class TerminalsListFilters {
30
30
  { label: 'Connected', value: ITerminalStatus.connected },
31
31
  { label: 'Disconnected', value: ITerminalStatus.disconnected },
32
32
  { label: 'Unknown', value: ITerminalStatus.unknown },
33
- { label: 'Pending Configuration', value: ITerminalStatus.pending_configuration }
33
+ { label: 'Pending Configuration', value: ITerminalStatus.pending_configuration },
34
+ { label: 'Archived', value: ITerminalStatus.archived }
34
35
  ];
35
36
  }
36
37
  render() {
37
38
  const filterMenuParams = Object.assign({}, filterParams);
38
- return (h(StyledHost, { key: 'f9a009c6ec8e94cf4d580c50d510df652fa33ace' }, h("table-filters-menu", { key: 'dd27ab9f7e639785f81cf2389cd3da7b8e2627b0', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '1b2db646f0a60ab318bbab4eb8d780c16f7917c6', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '835db982f4394cd1a61938f7985d07f051d78b71', class: "p-2" }, h("form-control-text", { key: 'af7f08f938c9234de1581874be87d1fa0b2b3e06', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '7ff0b5676765cd38512a4f3944d5719af4c4c5e6', class: "p-2" }, h("form-control-text", { key: '2b0984ac67813efb517c9c25ea011c339fc2dd23', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: terminalOrderIdTerminalsListFilterParam })), h("div", { key: '9e26d822f9a111ed8006d3e763543a739c48d196', class: "p-2" }, h("form-control-select", { key: 'ca90a2bd5914685ccd6e618593553fb0f1c654d9', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
39
+ return (h(StyledHost, { key: 'ff589964b6a6e9f98e1ce5c5538f6232d7f27b38' }, h("table-filters-menu", { key: 'b852fcce0b550540854a7126ba5071a22fa24d7e', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '2a9d87170758781716319130c15472c227753a1d', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'ff7361cf9423a78c4131884a5c39824fab07f859', class: "p-2" }, h("form-control-text", { key: 'c06940487feba178c67b343addedd3f8ed5f34ed', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: 'a6602193febe8240e611dbaf3476791c623e925e', class: "p-2" }, h("form-control-text", { key: 'ae327625b6fcf26ff02bd6bfae61af933cd9c771', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: terminalOrderIdTerminalsListFilterParam })), h("div", { key: '3cdc430a8e360df60ca2d14c36df61570f7a0733', class: "p-2" }, h("form-control-select", { key: '71c43207f34d39a7207197e4a3e907f84988c1c4', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status || '', disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
39
40
  }
40
41
  static get is() { return "justifi-terminals-list-filters"; }
41
42
  static get encapsulation() { return "shadow"; }
@@ -84,7 +85,7 @@ export class TerminalsListFilters {
84
85
  "mutable": false,
85
86
  "complexType": {
86
87
  "original": "ITerminalStatus",
87
- "resolved": "ITerminalStatus.connected | ITerminalStatus.disconnected | ITerminalStatus.pending_configuration | ITerminalStatus.unknown",
88
+ "resolved": "ITerminalStatus.archived | ITerminalStatus.connected | ITerminalStatus.disconnected | ITerminalStatus.pending_configuration | ITerminalStatus.unknown",
88
89
  "references": {
89
90
  "ITerminalStatus": {
90
91
  "location": "import",
@@ -61,7 +61,7 @@ export class TerminalsList {
61
61
  }
62
62
  }
63
63
  render() {
64
- return (h(StyledHost, { key: '8be2d4a6da1e9e5e5dd5d86f1ef62fc693f57590' }, h("terminals-list-core", { key: '69badecd6e85df42bd303637d0aa201868efa9b6', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
64
+ return (h(StyledHost, { key: '33ad31c8b8748897664c91d3fc6349d76f276e9e' }, h("terminals-list-core", { key: 'dd16f1dd45b0c0d1d2f14469e4cc6f418b977ab7', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
65
65
  }
66
66
  static get is() { return "justifi-terminals-list"; }
67
67
  static get encapsulation() { return "shadow"; }
@@ -22,6 +22,11 @@ export const MapTerminalStatusToBadge = (status) => {
22
22
  title: 'This terminal is pending configuration',
23
23
  text: 'Pending configuration',
24
24
  },
25
+ archived: {
26
+ variant: BadgeVariant.SECONDARY,
27
+ title: 'This terminal is archived',
28
+ text: 'Archived',
29
+ }
25
30
  };
26
31
  const badgeProps = statusToBadgeProps[status];
27
32
  return h(Badge, Object.assign({}, badgeProps));
@@ -247,7 +247,7 @@ export class TokenizePaymentMethod {
247
247
  return paymentMethodType === PAYMENT_METHODS.NEW_CARD ? (h("justifi-card-form", { ref: (el) => (this.paymentMethodFormRef = el) })) : (h("justifi-bank-account-form", { ref: (el) => (this.paymentMethodFormRef = el) }));
248
248
  }
249
249
  render() {
250
- return (h(StyledHost, { key: '373ac317c7a4c4c808ca67e8bf63be28c5dd43b4' }, h("form", { key: 'da07764bca9a6af5baf6b3bf025c1abf9661e4b7' }, h("fieldset", { key: 'af277c0c07697969a2c83dcbac6017a596c22077' }, h("div", { key: '1dc0ea324a4ed69eceb240504f320f1c1dfcf6b3', class: "row gy-3" }, h("div", { key: 'feaaff69b06663e759864857f6d15eec2aa31819', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '0dbee981688f541bfcf638c55698444f6a4eb9b4', class: "col-12" }, h("justifi-button", { key: '851dfb38a1a92c9990050dc17c55a693f3875afd', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
250
+ return (h(StyledHost, { key: 'bf221d17739bf70c3f581f3b9791a725e76c3f35' }, h("form", { key: 'df117d42d4160f31df1fca5d6903967cc48ad573' }, h("fieldset", { key: '550e670feffb405c669d44c44eb9073f535c6cb6' }, h("div", { key: '8eff7d3ab19618da54161220b92641bf19bfa82d', class: "row gy-3" }, h("div", { key: 'bf9d19e92be74abf48ce65c97efb3f9df52d4c3c', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: 'eef1f4e1e03c2263efb51ae94085c5a3d73a9166', class: "col-12" }, h("justifi-button", { key: 'f0e5697e658236610da45c34e64a8cbb3f0f9d95', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
251
251
  }
252
252
  static get is() { return "justifi-tokenize-payment-method"; }
253
253
  static get properties() {
@@ -513,8 +513,9 @@ export class TokenizePaymentMethod {
513
513
  "id": "global::Promise"
514
514
  },
515
515
  "BillingFormFields": {
516
- "location": "global",
517
- "id": "global::BillingFormFields"
516
+ "location": "import",
517
+ "path": "../../components",
518
+ "id": "src/components.d.ts::BillingFormFields"
518
519
  }
519
520
  },
520
521
  "return": "Promise<void>"
@@ -7,6 +7,7 @@ const initialState = {
7
7
  address_postal_code: '',
8
8
  },
9
9
  bnplEnabled: false,
10
+ applePayEnabled: false,
10
11
  insuranceEnabled: false,
11
12
  bnplProviderApiVersion: '',
12
13
  bnplProviderCheckoutUrl: '',
@@ -61,6 +62,9 @@ export function getAvailablePaymentMethodTypes() {
61
62
  if (checkoutStore.bnplEnabled) {
62
63
  methods.push(PAYMENT_METHODS.SEZZLE);
63
64
  }
65
+ if (checkoutStore.applePayEnabled) {
66
+ methods.push(PAYMENT_METHODS.APPLE_PAY);
67
+ }
64
68
  if (checkoutStore.bankAccountVerification === true &&
65
69
  !checkoutStore.disableBankAccount) {
66
70
  methods.push(PAYMENT_METHODS.PLAID);
@@ -14,7 +14,7 @@ export const heading2 = `heading-2 ${heading}`;
14
14
  export const heading3 = `heading-3 ${heading}`;
15
15
  export const heading4 = `heading-4 ${heading}`;
16
16
  export const heading5 = `heading-5 ${heading}`;
17
- export const link = `link ${text}`;
17
+ export const link = `link text ${fontFamily}`;
18
18
  // Button
19
19
  export const button = `button ${text}`;
20
20
  export const buttonPrimary = `button-primary ${button}`;
@@ -33,12 +33,6 @@ export const ApplePayButton = (props) => {
33
33
  }
34
34
  return classes;
35
35
  };
36
- const getButtonStyles = () => {
37
- return {
38
- width: props.width || "200px",
39
- height: props.height || "48px",
40
- };
41
- };
42
36
  const handleClick = () => {
43
37
  if (!props.disabled &&
44
38
  !props.isProcessing &&
@@ -47,10 +41,14 @@ export const ApplePayButton = (props) => {
47
41
  props.clickHandler();
48
42
  }
49
43
  };
50
- return (h("div", { class: 'apple-pay-button-container' }, h("button", Object.assign({ class: getApplePayButtonClass(), style: getButtonStyles(), onClick: handleClick, disabled: props.disabled || props.isProcessing || !props.isAvailable, "aria-label": 'Pay with Apple Pay', type: 'button' }, props), props.isProcessing && ProcessingSpinner()), h("style", null, `
44
+ return (h("div", { class: 'apple-pay-button-container' }, h("button", Object.assign({ class: getApplePayButtonClass(), style: {
45
+ width: props.width,
46
+ height: props.height,
47
+ }, onClick: handleClick, disabled: props.disabled || props.isProcessing || !props.isAvailable, "aria-label": 'Pay with Apple Pay', type: 'button' }, props), props.isProcessing && ProcessingSpinner()), h("style", null, `
51
48
  .apple-pay-button-container {
52
- display: inline-block;
49
+ display: block;
53
50
  position: relative;
51
+ width: 100%;
54
52
  }
55
53
 
56
54
  /* Apple Pay CSS classes - these are the official Apple Pay button styles */
@@ -80,7 +80,7 @@ export class CustomPopper {
80
80
  this.hideEvent.emit();
81
81
  }
82
82
  render() {
83
- return (h("div", { key: '8f01710b6c352f39b35c5814cd6a876ab7e088c5' }, h("style", { key: 'e1885fe648eda95a8efa50a8f6cd46a09f59cc61' }, `
83
+ return (h("div", { key: '1cffb3170b4f1335737dcbb025250d69c20a94b0' }, h("style", { key: '9e325676460e77d3c887934f2f9c685690731eb5' }, `
84
84
  .popper-content {
85
85
  display: none;
86
86
  }
@@ -88,7 +88,7 @@ export class CustomPopper {
88
88
  display: block;
89
89
  z-index: 1030;
90
90
  }
91
- `), h("div", { key: 'b2d5d36d62207fceda79ad2d1d0d0680bee6a366', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '406218fe16ad4b65e3e80ca467c3c49a462dee18' }))));
91
+ `), h("div", { key: '4a519440ce0d71a71b99d64bae64be06d2ab9c2f', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '99aab485a231bd1f51ef0b5465e9e00e7c8178a6' }))));
92
92
  }
93
93
  static get is() { return "custom-popper"; }
94
94
  static get properties() {
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
2
2
  import { ErrorState } from "./utils";
3
3
  export class Details {
4
4
  render() {
5
- return (h("div", { key: '026afe404e83a58245d2c0d68b188a5b227933b4' }, this.errorMessage ?
5
+ return (h("div", { key: '3c1c4e729711c6676c176a5a04228ec7ebb7acfa' }, this.errorMessage ?
6
6
  ErrorState(this.errorMessage)
7
7
  :
8
8
  h("main", { class: "p-2" }, h("slot", { name: "head-info" }), h("slot", { name: 'detail-sections' }))));
@@ -1,8 +1,8 @@
1
1
  import { h } from "@stencil/core";
2
- import { heading1, heading2, text } from "../../styles/parts";
3
- export const ErrorState = (errorMessage) => (h("main", { class: "p-4 d-flex justify-content-center text-center", style: { fontSize: '1.2rem' } }, h("p", { part: text }, errorMessage)));
2
+ import { heading1, heading2, link, text } from "../../styles/parts";
3
+ export const ErrorState = (errorMessage) => (h("main", { class: "p-4 d-flex justify-content-center text-center", style: { fontSize: "1.2rem" } }, h("p", { part: text }, errorMessage)));
4
4
  export const DetailSectionTitle = (props) => (h("h2", { part: heading2, class: "mt-4 fs-5 border-bottom pb-3" }, props.sectionTitle));
5
- export const DetailItem = ({ title, value, }) => title && value ? (h("div", { class: "d-table-row gap-2" }, h("span", { class: "fw-bold d-table-cell px-2", part: text }, title), h("span", { class: "flex-1 d-table-cell px-2 text-wrap", part: text }, value))) : null;
5
+ export const DetailItem = ({ title, value, onClick, }) => title && value ? (h("div", { class: "row justify-content-between" }, h("div", { class: "col-12 col-md-4" }, h("span", { class: "fw-bold", part: text }, title)), h("div", { class: `col-12 col-md-8 ${onClick ? "text-decoration-underline text-primary" : ""}`, style: { cursor: onClick ? "pointer" : "auto" }, onClick: () => onClick && onClick() }, h("span", { class: "text-wrap", part: onClick ? link : text }, value)))) : null;
6
6
  export const EntityHeadInfoItem = ({ title, value, classes, }) => (h("div", { class: `d-flex flex-column ${classes}` }, h("span", { class: "fw-bold border-1 border-bottom ps-2 pe-2", part: heading2 }, title), h("span", { class: "pt-2 ps-2 pe-2", part: text }, value)));
7
7
  export const EntityHeadInfo = ({ title, slot, badge }, children) => (h("div", { slot: slot, class: "p-2" }, h("div", { class: "d-flex flex-row align-items-center gap-2 mb-2" }, h("h1", { class: "m-0", part: heading1 }, title), badge), h("div", { class: "d-flex flex-row align-items-top", part: text }, children)));
8
- export const CodeBlock = ({ metadata }) => metadata && Object.keys(metadata).length ? (h("div", { class: 'mt-4' }, h("pre", { class: "p-2", "aria-label": "metadata content" }, h("code", null, JSON.stringify(metadata, null, 2))))) : null;
8
+ export const CodeBlock = ({ metadata }) => metadata && Object.keys(metadata).length ? (h("div", { class: "mt-4" }, h("pre", { class: "p-2", "aria-label": "metadata content" }, h("code", null, JSON.stringify(metadata, null, 2))))) : null;
@@ -31,10 +31,10 @@ export class CheckboxInput {
31
31
  return inputCheckbox;
32
32
  }
33
33
  render() {
34
- return (h(Host, { key: 'b9f175598599477e4eab8b690e414539421368c9' }, h("div", { key: 'd775d704b4ec7d43ce3b973b38dfe145b99bc6b9', class: 'form-group d-flex flex-column' }, h("div", { key: '0c7b3e3a405f967914e270f84e9625074fb1fb05', class: "form-check" }, h("input", { key: '7cc316c6069fd7ca174a0f41c5e564f68147099d', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
34
+ return (h(Host, { key: '5f005eb28eba876fdb960c1f2f1dcde88eb3301e' }, h("div", { key: '09ee456c7f4339129b7b8b6a3988e460729a1b63', class: 'form-group d-flex flex-column' }, h("div", { key: '37ed948a6a54b5274416183130718d4edb5a0438', class: "form-check" }, h("input", { key: 'd787cb203ba00e73e802b9d4fb19176b3b773ada', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
35
35
  this.isFocused = false;
36
36
  this.formControlBlur.emit();
37
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '329eaefa881d6b6b15fe1aa910d605c3a81b1eac', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '0f2acd28cbd742726c50eac743bf96acaed8b9d3', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'c9837469aeb10591668c1e3d3db1e97047ac1bc1', errorText: this.errorText, name: this.name }))));
37
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '46548faac2cfe3d43ac71a68616ae3fb2d496d03', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: 'ac4d887f51e5a32bed3b57053f4fbdbff5bac22d', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '4e4274031280fe30b9b3c8089aa0b313ff2308c9', errorText: this.errorText, name: this.name }))));
38
38
  }
39
39
  static get is() { return "form-control-checkbox"; }
40
40
  static get properties() {
@@ -42,10 +42,10 @@ export class DateInput {
42
42
  return part;
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: 'be66385ae9cb403d1c94ef487ee42b6b98b63913' }, h("div", { key: 'eea4d3a39cb61ad2a54b0a3d184c984f26747c77', class: "form-group d-flex flex-column" }, h("div", { key: '787c9ba01d365f101d00e16d23506cb7af7cf7aa', class: "d-flex gap-2" }, h("label", { key: '286798b356618d38521da6c9f5dc381d4e68cb7e', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'fd04a23cb0be7da8b732efcaecd9853d10058d2b', helpText: this.helpText })), h("input", { key: 'a25ff1e3b236d6ed30e87033d665d3d136beffbc', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
45
+ return (h(Host, { key: '607129129bd143b24c20aa331484cd0d3d4f0655' }, h("div", { key: '9c4f1decc70e765b5a8e2e48521ca5fad3196368', class: "form-group d-flex flex-column" }, h("div", { key: 'f02ddd07ed0abd495b113fc3c558ec9266bbf9c0', class: "d-flex gap-2" }, h("label", { key: '13c995ca29975db2b8940cd044d1e0eb5a7639ae', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '3dbe855de95b7ddeaab7a14f5e3bb914a6330056', helpText: this.helpText })), h("input", { key: 'defe89403181e6d2b3466582a03491a3e4a0dc96', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
46
46
  this.isFocused = false;
47
47
  this.formControlBlur.emit();
48
- }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: 'f0363ed5549cb92b724367bef1cd025fbe597b8d', errorText: this.errorText, name: this.name }))));
48
+ }, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '6f53bc00b94123fef03ad278a19bff43fc2e52e9', errorText: this.errorText, name: this.name }))));
49
49
  }
50
50
  static get is() { return "form-control-date"; }
51
51
  static get properties() {
@@ -2,7 +2,7 @@ import { Host, h, } from "@stencil/core";
2
2
  import { FormControlErrorText } from "./form-helpers/form-control-error-text";
3
3
  export class FileInput {
4
4
  render() {
5
- return (h(Host, { key: '3e9e35e7c4c1166866e3cf94dd18bfda6d64222d', exportparts: "label,input,input-invalid" }, h("div", { key: 'f951ee548b004edd55957f2b34a8ab4cddb59bc7', class: "form-group d-flex flex-column" }, h("div", { key: '9b28774efa7c53871c23b2e66ea8b6434af3d07b', class: "d-flex align-items-start gap-2" }, h("label", { key: '783eb33e72b44bb42d01f7e474998d7fa2b58093', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'bbc906ac8482e5cf21af56cf841932b78cd5e015', helpText: this.helpText })), h("input", { key: '3670f289b59e5464c11ba8b5ef66af0a3a2d65ca', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: '11d9f49721bc8920c0fa917e6a406019aa29041e', errorText: this.errorText, name: this.name }))));
5
+ return (h(Host, { key: '54f8fba4d9bc07aafaa174983d2076ea0dcadc0a', exportparts: "label,input,input-invalid" }, h("div", { key: '2fe88af83e94677829c929ecc1e8a3e158d186d7', class: "form-group d-flex flex-column" }, h("div", { key: '70ba8fca4595554f0ebafe314570e6b7f257fe84', class: "d-flex align-items-start gap-2" }, h("label", { key: '3f2b47ce3509acfe5b52573b4742824ffd8b1a60', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '21fd8bb39e59287f546486ce2d3328c6a3eda5cb', helpText: this.helpText })), h("input", { key: 'a8713185858b865850f8f362367af36cfd7e712c', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: '5ccdf1adad43c5f7f789b292fc49584b23b69436', errorText: this.errorText, name: this.name }))));
6
6
  }
7
7
  static get is() { return "form-control-file-v2"; }
8
8
  static get properties() {
@@ -37,10 +37,10 @@ export class FileInput {
37
37
  return part;
38
38
  }
39
39
  render() {
40
- return (h(Host, { key: 'c1d92b4464500d430ad828ce374b864f0abf79dc' }, h("div", { key: '7753e5875afe4c6da178a088721b62590e104039', class: "form-group d-flex flex-column" }, h("div", { key: '35732250f1da24e5d8af9d6c984360402aa8c749', class: "d-flex align-items-start gap-2" }, h("label", { key: '1dbdb4c74c82415714295d882a48ea3634265cae', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '132b4e5b01986aba2f1999db2f19373477b0af9d', helpText: this.helpText })), h("input", { key: '4c371be7c4d784fb7ba3dc3244aaab5ef7dea763', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
40
+ return (h(Host, { key: '1c348aaabc1d1defcd6b43857d5f96c65081480a' }, h("div", { key: 'c4242a743ad5ad7dbd4ea33d94209f9e1f32a54b', class: "form-group d-flex flex-column" }, h("div", { key: 'fe9c313899afb870878f0b93c9d424efb4243bdf', class: "d-flex align-items-start gap-2" }, h("label", { key: '8229509739e4641da66d6ada865dd96d193c5189', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'cf9773e27c5e9af5f8dd1824dc4cc599ced525d2', helpText: this.helpText })), h("input", { key: '0de93e1cd1d87922682c6bdbc9d55f648659eeb9', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
41
41
  this.isFocused = false;
42
42
  this.formControlBlur.emit();
43
- } }), h(FormControlErrorText, { key: 'f9c2a057b20ccf863331c90156a5a9df65bb85a6', errorText: this.errorText, name: this.name }))));
43
+ } }), h(FormControlErrorText, { key: '0215ddf922a8f33ff7001ac2036a8f22a399266e', errorText: this.errorText, name: this.name }))));
44
44
  }
45
45
  static get is() { return "form-control-file"; }
46
46
  static get properties() {
@@ -42,10 +42,10 @@ export class MonetaryInput {
42
42
  return input;
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: 'dd501963b2b4c85eecd6c78ac8a1c38d6e30020c' }, h("div", { key: '4c130a5d956ab1caaab521930d29d666dfbfcf67', class: "form-group d-flex flex-column" }, h("label", { key: '59a59b0589b3555efcb509ebb0ca34a3cc01ce3a', part: label, class: "form-label", htmlFor: this.name }, this.label), h(FormControlHelpText, { key: '0290105bb2d69ae83d1583f2495557e1e11b2939', name: this.name, helpText: this.helpText }), h("div", { key: 'cf80c69cc63137195ef179dd12f726f34bf35780', class: "input-group" }, h("span", { key: '5ecc2e144e7fe9fde5a64e48d8b8471d446fdb5d', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: '585da3cd389904d002a545c01b4322c9aa9ea74e', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
45
+ return (h(Host, { key: '4608057454c832b6e42af88264675c9b128ab756' }, h("div", { key: '43d57d4620bec818fe83ac7ece2b4a778205b96b', class: "form-group d-flex flex-column" }, h("label", { key: '569fb6f7e0ce1488fc7caa7eca60c86b810c232b', part: label, class: "form-label", htmlFor: this.name }, this.label), h(FormControlHelpText, { key: 'eae2a633393231de6a83d7d0640fec025ae6bf10', name: this.name, helpText: this.helpText }), h("div", { key: 'e04b5ee1925a6172843e9dd2e1536349f41cdfa8', class: "input-group" }, h("span", { key: 'a8a80244ee29e4b9790e6424d12b5121a30143a8', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: '20b6917c428866d8191ed09d0d71c78b23c8a342', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
46
46
  this.isFocused = false;
47
47
  this.formControlBlur.emit();
48
- }, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), h(FormControlErrorText, { key: '52a6fef8192278acb9a3eb854f5cea8834ed5d0f', errorText: this.errorText, name: this.name }))));
48
+ }, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), h(FormControlErrorText, { key: '8999aa746df7b4a37b5c5a1c6f410698a0940d77', errorText: this.errorText, name: this.name }))));
49
49
  }
50
50
  static get is() { return "form-control-monetary"; }
51
51
  static get properties() {