@justifi/webcomponents 6.12.1-rc.5 → 6.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/cjs/{Analytics-D4AupIs5.js → Analytics-C1Wd9OW4.js} +3 -3
- package/dist/cjs/{Plaid-DAigb4JE.js → Plaid-BlSGeGpn.js} +0 -4
- package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +12 -12
- package/dist/cjs/additional-questions_5.cjs.entry.js +6 -6
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +3 -3
- package/dist/cjs/bank-account-form.cjs.entry.js +4 -4
- package/dist/cjs/bank-account-read-only-value.cjs.entry.js +1 -1
- package/dist/cjs/{business.service-CdT38fur.js → business.service-BheJs82v.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +4 -4
- package/dist/cjs/{check-pkg-version-Cl1JxnNX.js → check-pkg-version-DMXmPDqZ.js} +1 -1
- package/dist/cjs/{checkout.service-BXK8cZfN.js → checkout.service-DZKdHQQq.js} +1 -1
- package/dist/cjs/{checkout.store-zTfjieKa.js → checkout.store-CztwuCnG.js} +2 -0
- package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -2
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/{dispute.service-CeBgrOjr.js → dispute.service-BbtwY673.js} +1 -1
- package/dist/cjs/form-address-fields_3.cjs.entry.js +4 -4
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-file.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number_3.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
- package/dist/cjs/{get-business-Cu7Avp2x.js → get-business-CKC1P4Qs.js} +2 -2
- package/dist/cjs/{get-payment-details-qWCANtqS.js → get-payment-details-DL5FmIyF.js} +2 -2
- package/dist/cjs/{get-subaccounts-D6z1oD7x.js → get-subaccounts-CVK4O7th.js} +2 -2
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +117 -53
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -5
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +58 -22
- package/dist/cjs/justifi-business-form.cjs.entry.js +7 -7
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkout.cjs.entry.js +9 -12
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +7 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +10 -10
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-details.cjs.entry.js +69 -30
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +132 -18
- package/dist/cjs/justifi-payout-details.cjs.entry.js +74 -18
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +169 -21
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +7 -7
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +183 -20
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-BRuzzVG1.js → package-CRaVpb0w.js} +1 -1
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-COLn1qHN.js → payment-provisioning-actions-BO7dzIm1.js} +2 -2
- package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +2 -2
- package/dist/cjs/{payment.service-CiOWHJtd.js → payment.service-sZKlg2Jq.js} +1 -1
- package/dist/cjs/{payout.service-U7tm4CKf.js → payout.service-BcQVsMCS.js} +1 -1
- package/dist/cjs/{payouts-status-DXZ5fl4v.js → payouts-status-CwgOMz-S.js} +21 -0
- package/dist/cjs/{plaid.service-DFL4b6_i.js → plaid.service-BcgO2VXC.js} +1 -1
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/save-new-payment-method.cjs.entry.js +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -3
- package/dist/cjs/{terminal-orders-table-D28SoPYI.js → terminal-orders-table-Cz6qvzVE.js} +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-Cl7Vp33V.js → terminal.service-CjMMWSh3.js} +1 -1
- package/dist/cjs/{utils-CIjcxKu1.js → utils-DbTucCTO.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Analytics.js +1 -1
- package/dist/collection/api/ApplePay.js +0 -4
- package/dist/collection/api/services/apple-pay.service.js +1 -6
- package/dist/collection/collection-manifest.json +0 -6
- package/dist/collection/components/business-details/justifi-business-details.js +56 -17
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -2
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +2 -2
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs-canada.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-read-only-value.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/form-address-fields/form-address-fields.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/justifi-payment-provisioning.js +3 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/billing-form/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +1 -1
- package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +1 -1
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/justifi-checkout.js +4 -8
- package/dist/collection/components/checkout/justifi-saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
- package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/justifi-shipping-details.js +1 -1
- package/dist/collection/components/dispute-management/justifi-dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/justifi-dispute-notification.js +2 -2
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +31 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +34 -15
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-google-pay.js +20 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-plaid-payment-method.js +27 -14
- package/dist/collection/components/modular-checkout/sub-components/justifi-saved-payment-methods.js +7 -5
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/justifi-payment-details.js +59 -17
- package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/justifi-payments-list.js +114 -5
- package/dist/collection/components/payout-details/justifi-payout-details.js +86 -8
- package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/justifi-payouts-list.js +166 -7
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list.js +153 -7
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
- package/dist/collection/store/checkout.store.js +2 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/internal-button.js +1 -1
- package/dist/collection/ui-components/radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +256 -995
- package/dist/esm/{Analytics-BCoK2BKE.js → Analytics-qafLCOEU.js} +4 -4
- package/dist/esm/{Api-BrYhtpEh.js → Api-DMd8hTI-.js} +1 -1
- package/dist/esm/{Plaid-BMnuSHeX.js → Plaid-BuKEVgbB.js} +2 -6
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/additional-questions-form-step_14.entry.js +18 -18
- package/dist/esm/additional-questions_5.entry.js +7 -7
- package/dist/esm/{badge-B_DdhQ3Q.js → badge-B6dp1XGV.js} +1 -1
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +5 -5
- package/dist/esm/bank-account-form.entry.js +7 -7
- package/dist/esm/bank-account-read-only-value.entry.js +2 -2
- package/dist/esm/{business.service-D47BEQPH.js → business.service-BPbZ5fxQ.js} +2 -2
- package/dist/esm/{button-B-Agn8yQ.js → button-DRdaAudE.js} +1 -1
- package/dist/esm/card-form.entry.js +7 -7
- package/dist/esm/{check-pkg-version-C1z6CAOx.js → check-pkg-version-BJtCbzf9.js} +1 -1
- package/dist/esm/{checkout.service-BDZroRf0.js → checkout.service-CJMfFKyS.js} +2 -2
- package/dist/esm/{checkout.store-C1TdhFf6.js → checkout.store-DFnkcDZ8.js} +2 -0
- package/dist/esm/checkouts-list-core.entry.js +8 -8
- package/dist/esm/{checkouts-table-BXm9GGFI.js → checkouts-table-C8sPHeTm.js} +3 -3
- package/dist/esm/custom-popper_2.entry.js +3 -3
- package/dist/esm/{dispute.service-CuBGEFgB.js → dispute.service-vlYGy0nR.js} +2 -2
- package/dist/esm/form-address-fields_3.entry.js +6 -6
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-DMKhr8QA.js → form-control-error-text-DVedKyhp.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/form-control-file.entry.js +4 -4
- package/dist/esm/{form-control-help-text-CsdCuw5-.js → form-control-help-text-D-349cNw.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +5 -5
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number_3.entry.js +9 -9
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_2.entry.js +6 -6
- package/dist/esm/{get-business-BsjvgFCj.js → get-business-DpFRs5dE.js} +2 -2
- package/dist/esm/{get-payment-details-Br1249qD.js → get-payment-details-DjBou5Fu.js} +2 -2
- package/dist/esm/{get-subaccounts-zrWoI4Bh.js → get-subaccounts-CgDWE_5o.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-bRxxOyI-.js → header-1-Bl7MHW0w.js} +1 -1
- package/dist/esm/{header-3-E533c0A3.js → header-3-C7JJVnMG.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{insurance-state-obAKb1XR.js → insurance-state-qTdpe84i.js} +1 -1
- package/dist/esm/internal-button.entry.js +3 -3
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-apple-pay_11.entry.js +124 -60
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +7 -7
- package/dist/esm/justifi-bank-account-form.entry.js +7 -7
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-billing-form.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +63 -27
- package/dist/esm/justifi-business-form.entry.js +13 -13
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +7 -7
- package/dist/esm/justifi-checkout.entry.js +12 -15
- package/dist/esm/justifi-checkouts-list-filters.entry.js +5 -5
- package/dist/esm/justifi-checkouts-list.entry.js +13 -13
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +9 -9
- package/dist/esm/justifi-dispute-notification_3.entry.js +15 -15
- package/dist/esm/justifi-gross-payment-chart.entry.js +9 -9
- package/dist/esm/justifi-order-terminals.entry.js +13 -13
- package/dist/esm/justifi-payment-details.entry.js +71 -32
- package/dist/esm/justifi-payment-provisioning.entry.js +16 -14
- package/dist/esm/justifi-payment-transactions-list.entry.js +12 -12
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +134 -20
- package/dist/esm/justifi-payout-details.entry.js +76 -20
- package/dist/esm/justifi-payout-transactions-list.entry.js +12 -12
- package/dist/esm/justifi-payouts-list-filters.entry.js +5 -5
- package/dist/esm/justifi-payouts-list.entry.js +170 -22
- package/dist/esm/justifi-refund-payment.entry.js +12 -12
- package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
- package/dist/esm/justifi-saved-payment-method.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +11 -11
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +6 -6
- package/dist/esm/justifi-terminal-orders-list.entry.js +11 -11
- package/dist/esm/justifi-terminals-list-filters.entry.js +4 -4
- package/dist/esm/justifi-terminals-list.entry.js +184 -21
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DbJ8_F44.js → package-BCgsLInF.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-D50Rx76J.js → parts-DnrawQn3.js} +1 -1
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment-provisioning-actions-B6LHK2Ka.js → payment-provisioning-actions-Dr0YIShV.js} +2 -2
- package/dist/esm/payment-provisioning-form-buttons_2.entry.js +4 -4
- package/dist/esm/{payment-provisioning-loading-BAoIyEOj.js → payment-provisioning-loading-DI2wDkhm.js} +1 -1
- package/dist/esm/{payment.service-C6ebnLOw.js → payment.service-Ckbb7gXA.js} +2 -2
- package/dist/esm/{payments-status-7P7L51CK.js → payments-status-BIDoGw-m.js} +1 -1
- package/dist/esm/{payout.service-B6KqlDyg.js → payout.service-BgFKxEoL.js} +2 -2
- package/dist/esm/{payouts-status-CGZRMu-q.js → payouts-status-1T2NZBoE.js} +22 -2
- package/dist/esm/{plaid.service-BS8Zt6ui.js → plaid.service-BLguQHs_.js} +2 -2
- package/dist/esm/radio-list-item.entry.js +2 -2
- package/dist/esm/save-new-payment-method.entry.js +2 -2
- package/dist/esm/{skeleton-DV6yJalo.js → skeleton-CXGFVqDf.js} +1 -1
- package/dist/esm/{spinner--fEgBBOG.js → spinner-kSw6PcwU.js} +1 -1
- package/dist/esm/{table-Deugl8h5.js → table-CcyuIutB.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +8 -8
- package/dist/esm/{terminal-orders-table-BKbTybx0.js → terminal-orders-table-C7KOcRpq.js} +4 -4
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-0AO0m5oh.js → terminal.service-0oISl5j-.js} +2 -2
- package/dist/esm/{utils-De6tr4ug.js → utils-BTtxWI2r.js} +1 -1
- package/dist/esm/{utils-DJOBwFeP.js → utils-BxYS3WDw.js} +1 -1
- package/dist/esm/{utils-DtiRLISl.js → utils-DcfpJGDZ.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +1 -1
- package/dist/module/ApplePay.js +0 -4
- package/dist/module/Plaid.js +2 -2
- package/dist/module/additional-questions2.js +1 -1
- package/dist/module/bank-account-billing-form-simple2.js +1 -1
- package/dist/module/bank-account-document-form-inputs2.js +1 -1
- package/dist/module/bank-account-form-inputs-canada2.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form2.js +2 -2
- package/dist/module/bank-account-read-only-value2.js +1 -1
- package/dist/module/business-bank-account-form-step2.js +1 -1
- package/dist/module/business-core-info2.js +2 -2
- package/dist/module/business-representative-form-inputs2.js +2 -2
- package/dist/module/business-representative2.js +2 -2
- package/dist/module/business-terms-conditions-form-step2.js +1 -1
- package/dist/module/card-billing-form-simple2.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +2 -0
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/form-address-fields2.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary-provisioning2.js +2 -2
- package/dist/module/form-control-monetary2.js +3 -3
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number2.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +2 -2
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/internal-button2.js +1 -1
- package/dist/module/justifi-additional-statement2.js +1 -1
- package/dist/module/justifi-apple-pay2.js +35 -21
- package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/module/justifi-bank-account-form.js +1 -1
- package/dist/module/justifi-billing-form-full.js +1 -1
- package/dist/module/justifi-billing-form.js +1 -1
- package/dist/module/justifi-business-details.js +64 -27
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-cancellation-policy2.js +1 -1
- package/dist/module/justifi-card-billing-form-simple.js +1 -1
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout-summary2.js +2 -2
- package/dist/module/justifi-checkout.js +4 -8
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-customer-details2.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-dispute-notification2.js +3 -3
- package/dist/module/justifi-dispute-response2.js +1 -1
- package/dist/module/justifi-duplicate-charge2.js +1 -1
- package/dist/module/justifi-electronic-evidence2.js +1 -1
- package/dist/module/justifi-google-pay2.js +6 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +31 -1
- package/dist/module/justifi-order-terminals.js +2 -2
- package/dist/module/justifi-payment-details.js +71 -29
- package/dist/module/justifi-payment-provisioning.js +4 -2
- package/dist/module/justifi-payment-transactions-list.js +2 -2
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +137 -18
- package/dist/module/justifi-payout-details.js +76 -21
- package/dist/module/justifi-payout-transactions-list.js +2 -2
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +174 -20
- package/dist/module/justifi-plaid-payment-method2.js +27 -14
- package/dist/module/justifi-product-or-service2.js +1 -1
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-refund-policy2.js +1 -1
- package/dist/module/justifi-save-new-payment-method.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-saved-payment-methods2.js +7 -5
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/justifi-sezzle-payment-method2.js +1 -1
- package/dist/module/justifi-shipping-details2.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -4
- package/dist/module/justifi-terminal-orders-list.js +2 -2
- package/dist/module/justifi-terminals-list-filters.js +2 -2
- package/dist/module/justifi-terminals-list.js +190 -20
- package/dist/module/justifi-tokenize-payment-method2.js +1 -1
- package/dist/module/legal-address-form2.js +1 -1
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/owner-form-inputs2.js +2 -2
- package/dist/module/owner-form2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-form-buttons2.js +1 -1
- package/dist/module/payment-provisioning-form-steps2.js +1 -1
- package/dist/module/payouts-status.js +21 -1
- package/dist/module/radio-list-item2.js +1 -1
- package/dist/module/representative-details2.js +1 -1
- package/dist/module/save-new-payment-method2.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +2 -2
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/utils2.js +1 -1
- package/dist/types/api/ApplePay.d.ts +0 -7
- package/dist/types/components/business-details/justifi-business-details.d.ts +7 -2
- package/dist/types/components/business-forms/payment-provisioning/justifi-payment-provisioning.d.ts +1 -1
- package/dist/types/components/checkout/justifi-checkout.d.ts +0 -1
- package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +2 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-apple-pay.d.ts +3 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-google-pay.d.ts +1 -0
- package/dist/types/components/modular-checkout/sub-components/justifi-plaid-payment-method.d.ts +2 -2
- package/dist/types/components/payment-details/justifi-payment-details.d.ts +7 -4
- package/dist/types/components/payments-list/justifi-payments-list.d.ts +19 -2
- package/dist/types/components/payout-details/justifi-payout-details.d.ts +10 -2
- package/dist/types/components/payouts-list/justifi-payouts-list.d.ts +25 -2
- package/dist/types/components/terminals-list/justifi-terminals-list.d.ts +24 -2
- package/dist/types/components.d.ts +10 -216
- package/dist/types/store/checkout.store.d.ts +2 -0
- package/dist/webcomponents/{p-C2h_HoOZ.js → p--e0ff06z.js} +1 -1
- package/dist/webcomponents/p-032b4553.entry.js +1 -0
- package/dist/webcomponents/p-042daaf8.entry.js +1 -0
- package/dist/webcomponents/{p-272cc70e.entry.js → p-0638f0bd.entry.js} +1 -1
- package/dist/webcomponents/p-06ecd4cb.entry.js +1 -0
- package/dist/webcomponents/{p-8d215ad8.entry.js → p-09d2efad.entry.js} +1 -1
- package/dist/webcomponents/p-0b3f4f22.entry.js +1 -0
- package/dist/webcomponents/{p-c499a613.entry.js → p-10be75b8.entry.js} +1 -1
- package/dist/webcomponents/p-164f95ec.entry.js +1 -0
- package/dist/webcomponents/p-174eb877.entry.js +1 -0
- package/dist/webcomponents/p-1e0be7b0.entry.js +1 -0
- package/dist/webcomponents/{p-de4c796a.entry.js → p-1e877e0a.entry.js} +1 -1
- package/dist/webcomponents/{p-5d2bcf39.entry.js → p-2425a375.entry.js} +1 -1
- package/dist/webcomponents/p-24935254.entry.js +1 -0
- package/dist/webcomponents/{p-938e4dc8.entry.js → p-256c5509.entry.js} +1 -1
- package/dist/webcomponents/p-2LVpxCS_.js +1 -0
- package/dist/webcomponents/{p-89bf64ef.entry.js → p-354fb3c4.entry.js} +1 -1
- package/dist/webcomponents/p-39cc6928.entry.js +1 -0
- package/dist/webcomponents/{p-257597f1.entry.js → p-3c046adc.entry.js} +1 -1
- package/dist/webcomponents/p-4226eb4a.entry.js +1 -0
- package/dist/webcomponents/p-474ee3f8.entry.js +1 -0
- package/dist/webcomponents/p-485b77ba.entry.js +1 -0
- package/dist/webcomponents/p-52908814.entry.js +1 -0
- package/dist/webcomponents/{p-b7ac15d8.entry.js → p-581808f0.entry.js} +1 -1
- package/dist/webcomponents/p-587886f1.entry.js +1 -0
- package/dist/webcomponents/p-5ef355ce.entry.js +1 -0
- package/dist/webcomponents/p-6917aa3c.entry.js +1 -0
- package/dist/webcomponents/{p-d072a65f.entry.js → p-6d81822f.entry.js} +1 -1
- package/dist/webcomponents/{p-3e74bd93.entry.js → p-6ecb3ef9.entry.js} +1 -1
- package/dist/webcomponents/p-79713014.entry.js +1 -0
- package/dist/webcomponents/p-798f4708.entry.js +1 -0
- package/dist/webcomponents/p-7f0f72c6.entry.js +1 -0
- package/dist/webcomponents/p-7f814609.entry.js +1 -0
- package/dist/webcomponents/p-80652cf8.entry.js +1 -0
- package/dist/webcomponents/{p-b322d2f3.entry.js → p-8253ef9f.entry.js} +1 -1
- package/dist/webcomponents/p-82fe02e4.entry.js +1 -0
- package/dist/webcomponents/p-83147f23.entry.js +1 -0
- package/dist/webcomponents/p-870fac9e.entry.js +1 -0
- package/dist/webcomponents/p-8c2427ed.entry.js +1 -0
- package/dist/webcomponents/p-92de00d7.entry.js +1 -0
- package/dist/webcomponents/p-956eca2e.entry.js +1 -0
- package/dist/webcomponents/p-9581d6a1.entry.js +1 -0
- package/dist/webcomponents/{p-7791b55e.entry.js → p-9db1444f.entry.js} +1 -1
- package/dist/webcomponents/p-9f74d7ea.entry.js +1 -0
- package/dist/webcomponents/{p-DV_3k3u_.js → p-B--N37zY.js} +1 -1
- package/dist/webcomponents/p-B5vVjDc_.js +1 -0
- package/dist/webcomponents/p-BArmtmkq.js +1 -0
- package/dist/webcomponents/p-BCgsLInF.js +1 -0
- package/dist/webcomponents/{p-D4DAh8XF.js → p-BJ7GFTiW.js} +1 -1
- package/dist/webcomponents/{p-CTwm3w6I.js → p-BRnBHsdq.js} +1 -1
- package/dist/webcomponents/{p-C7SCfFA7.js → p-BnaR7f2G.js} +1 -1
- package/dist/webcomponents/p-BsQy297i.js +1 -0
- package/dist/webcomponents/p-CDf5H0TB.js +1 -0
- package/dist/webcomponents/{p-eNNtSIbE.js → p-CR_-qIuN.js} +1 -1
- package/dist/webcomponents/{p-CprMk6Bv.js → p-CUI41_5y.js} +1 -1
- package/dist/webcomponents/p-CX36GHQP.js +1 -0
- package/dist/webcomponents/{p-CEnTtUmd.js → p-CYQvLgSs.js} +1 -1
- package/dist/webcomponents/p-Cej-1bD6.js +1 -0
- package/dist/webcomponents/p-Cf6HoQKl.js +1 -0
- package/dist/webcomponents/{p-s8zhbjC5.js → p-CsdYMTrc.js} +1 -1
- package/dist/webcomponents/{p-CzdAS9Jo.js → p-D1D2eC05.js} +1 -1
- package/dist/webcomponents/p-D4OlsyTo.js +1 -0
- package/dist/webcomponents/{p-CbM9cuX_.js → p-DPmnGTmg.js} +1 -1
- package/dist/webcomponents/p-DWevPe7C.js +1 -0
- package/dist/webcomponents/{p-Bo0dEB2o.js → p-Dbg501Lu.js} +1 -1
- package/dist/webcomponents/p-DcBvJu0k.js +1 -0
- package/dist/webcomponents/p-DkdzUTnl.js +1 -0
- package/dist/webcomponents/{p-D50Rx76J.js → p-DnrawQn3.js} +1 -1
- package/dist/webcomponents/p-GJyHX3us.js +1 -0
- package/dist/webcomponents/p-MDZuGvsl.js +1 -0
- package/dist/webcomponents/p-XrKLre8M.js +1 -0
- package/dist/webcomponents/p-a7a1b168.entry.js +1 -0
- package/dist/webcomponents/{p-c683cb34.entry.js → p-a80d958d.entry.js} +1 -1
- package/dist/webcomponents/p-b06910b0.entry.js +1 -0
- package/dist/webcomponents/p-b2447726.entry.js +1 -0
- package/dist/webcomponents/{p-d34f497c.entry.js → p-b483e71b.entry.js} +1 -1
- package/dist/webcomponents/{p-431ad048.entry.js → p-bc2af6b4.entry.js} +1 -1
- package/dist/webcomponents/p-befe01ef.entry.js +1 -0
- package/dist/webcomponents/p-bfe2583d.entry.js +1 -0
- package/dist/webcomponents/{p-CwdQ1VdH.js → p-bn_huKYG.js} +1 -1
- package/dist/webcomponents/p-c4767c7b.entry.js +1 -0
- package/dist/webcomponents/p-c73631f0.entry.js +1 -0
- package/dist/webcomponents/p-c8f7ebf6.entry.js +1 -0
- package/dist/webcomponents/p-d253a573.entry.js +1 -0
- package/dist/webcomponents/p-d7633e10.entry.js +1 -0
- package/dist/webcomponents/p-d878df6c.entry.js +1 -0
- package/dist/webcomponents/p-da882bd1.entry.js +1 -0
- package/dist/webcomponents/{p-2595b409.entry.js → p-dd1cfb9e.entry.js} +1 -1
- package/dist/webcomponents/{p-bbcaa5cc.entry.js → p-ddf699e6.entry.js} +4 -4
- package/dist/webcomponents/p-de836ec9.entry.js +1 -0
- package/dist/webcomponents/{p-1c54dc53.entry.js → p-e6e56dbb.entry.js} +1 -1
- package/dist/webcomponents/p-ea30cf08.entry.js +1 -0
- package/dist/webcomponents/p-edf5a854.entry.js +1 -0
- package/dist/webcomponents/p-f24563ab.entry.js +1 -0
- package/dist/webcomponents/p-f4aeda71.entry.js +1 -0
- package/dist/webcomponents/p-faa090a5.entry.js +1 -0
- package/dist/webcomponents/p-fc7ba195.entry.js +1 -0
- package/dist/webcomponents/{p-MvySE12i.js → p-hhdRync5.js} +1 -1
- package/dist/webcomponents/p-niGr4RT2.js +1 -0
- package/dist/webcomponents/{p-Da4efjxw.js → p-pL4dNfsl.js} +1 -1
- package/dist/webcomponents/p-qcQTYcr3.js +1 -0
- package/dist/webcomponents/p-uCg79W3M.js +1 -0
- package/dist/webcomponents/{p-CjuaXEuI.js → p-x9fFFf7F.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +14 -14
- package/dist/cjs/business-details-core.cjs.entry.js +0 -61
- package/dist/cjs/get-payout-csv-DDrtCacG.js +0 -24
- package/dist/cjs/payment-details-core.cjs.entry.js +0 -83
- package/dist/cjs/payments-list-core.cjs.entry.js +0 -112
- package/dist/cjs/payments-table-CUxpxNnc.js +0 -50
- package/dist/cjs/payout-details-core.cjs.entry.js +0 -89
- package/dist/cjs/payouts-list-core.cjs.entry.js +0 -162
- package/dist/cjs/payouts-table-Dex2W8r1.js +0 -34
- package/dist/cjs/terminals-list-core.cjs.entry.js +0 -146
- package/dist/cjs/terminals-table-DmnAuog5.js +0 -64
- package/dist/collection/components/business-details/business-details-core.js +0 -105
- package/dist/collection/components/payment-details/payment-details-core.js +0 -127
- package/dist/collection/components/payments-list/payments-list-core.js +0 -202
- package/dist/collection/components/payout-details/payout-details-core.js +0 -199
- package/dist/collection/components/payouts-list/payouts-list-core.js +0 -298
- package/dist/collection/components/terminals-list/terminals-list-core.js +0 -262
- package/dist/esm/business-details-core.entry.js +0 -59
- package/dist/esm/get-payout-csv-Dhezo7Ty.js +0 -22
- package/dist/esm/payment-details-core.entry.js +0 -81
- package/dist/esm/payments-list-core.entry.js +0 -110
- package/dist/esm/payments-table-n1VrIKIR.js +0 -46
- package/dist/esm/payout-details-core.entry.js +0 -87
- package/dist/esm/payouts-list-core.entry.js +0 -160
- package/dist/esm/payouts-table-CbzI90ci.js +0 -30
- package/dist/esm/terminals-list-core.entry.js +0 -144
- package/dist/esm/terminals-table-Bja7MP5H.js +0 -60
- package/dist/module/business-details-core.d.ts +0 -11
- package/dist/module/business-details-core.js +0 -6
- package/dist/module/business-details-core2.js +0 -117
- package/dist/module/get-payout-csv.js +0 -22
- package/dist/module/payment-details-core.d.ts +0 -11
- package/dist/module/payment-details-core.js +0 -6
- package/dist/module/payment-details-core2.js +0 -109
- package/dist/module/payments-list-core.d.ts +0 -11
- package/dist/module/payments-list-core.js +0 -6
- package/dist/module/payments-list-core2.js +0 -184
- package/dist/module/payout-details-core.d.ts +0 -11
- package/dist/module/payout-details-core.js +0 -6
- package/dist/module/payout-details-core2.js +0 -118
- package/dist/module/payouts-list-core.d.ts +0 -11
- package/dist/module/payouts-list-core.js +0 -6
- package/dist/module/payouts-list-core2.js +0 -221
- package/dist/module/terminals-list-core.d.ts +0 -11
- package/dist/module/terminals-list-core.js +0 -6
- package/dist/module/terminals-list-core2.js +0 -236
- package/dist/types/components/business-details/business-details-core.d.ts +0 -19
- package/dist/types/components/payment-details/payment-details-core.d.ts +0 -16
- package/dist/types/components/payments-list/payments-list-core.d.ts +0 -28
- package/dist/types/components/payout-details/payout-details-core.d.ts +0 -20
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +0 -36
- package/dist/types/components/terminals-list/terminals-list-core.d.ts +0 -34
- package/dist/webcomponents/p-0b95dd8f.entry.js +0 -1
- package/dist/webcomponents/p-0f961323.entry.js +0 -1
- package/dist/webcomponents/p-15dfb893.entry.js +0 -1
- package/dist/webcomponents/p-15f43759.entry.js +0 -1
- package/dist/webcomponents/p-1628613b.entry.js +0 -1
- package/dist/webcomponents/p-180a3b65.entry.js +0 -1
- package/dist/webcomponents/p-18fc10ca.entry.js +0 -1
- package/dist/webcomponents/p-1b610299.entry.js +0 -1
- package/dist/webcomponents/p-1b92fb9a.entry.js +0 -1
- package/dist/webcomponents/p-1srXnUJh.js +0 -1
- package/dist/webcomponents/p-22798967.entry.js +0 -1
- package/dist/webcomponents/p-26c419f3.entry.js +0 -1
- package/dist/webcomponents/p-2d680f77.entry.js +0 -1
- package/dist/webcomponents/p-30f61950.entry.js +0 -1
- package/dist/webcomponents/p-38281490.entry.js +0 -1
- package/dist/webcomponents/p-39bb134c.entry.js +0 -1
- package/dist/webcomponents/p-3a4e27f6.entry.js +0 -1
- package/dist/webcomponents/p-3c50f7aa.entry.js +0 -1
- package/dist/webcomponents/p-4db2e291.entry.js +0 -1
- package/dist/webcomponents/p-4df1d08d.entry.js +0 -1
- package/dist/webcomponents/p-548c411f.entry.js +0 -1
- package/dist/webcomponents/p-55e7e239.entry.js +0 -1
- package/dist/webcomponents/p-563097f0.entry.js +0 -1
- package/dist/webcomponents/p-605636be.entry.js +0 -1
- package/dist/webcomponents/p-6e5ec134.entry.js +0 -1
- package/dist/webcomponents/p-6efbbec1.entry.js +0 -1
- package/dist/webcomponents/p-71de86bf.entry.js +0 -1
- package/dist/webcomponents/p-7225bc77.entry.js +0 -1
- package/dist/webcomponents/p-7c244e99.entry.js +0 -1
- package/dist/webcomponents/p-84168bf0.entry.js +0 -1
- package/dist/webcomponents/p-84879c92.entry.js +0 -1
- package/dist/webcomponents/p-8d5138d8.entry.js +0 -1
- package/dist/webcomponents/p-8e9407a1.entry.js +0 -1
- package/dist/webcomponents/p-92e64f49.entry.js +0 -1
- package/dist/webcomponents/p-9805bc39.entry.js +0 -1
- package/dist/webcomponents/p-B--wlcf0.js +0 -1
- package/dist/webcomponents/p-BJtvT9BX.js +0 -1
- package/dist/webcomponents/p-BrO0HEFJ.js +0 -1
- package/dist/webcomponents/p-C-QiUcEa.js +0 -1
- package/dist/webcomponents/p-C6IaNDXe.js +0 -1
- package/dist/webcomponents/p-C95_YBmG.js +0 -1
- package/dist/webcomponents/p-CSW_ZzE9.js +0 -1
- package/dist/webcomponents/p-CV3lgp6D.js +0 -1
- package/dist/webcomponents/p-D5MdA21U.js +0 -1
- package/dist/webcomponents/p-D68EHdgA.js +0 -1
- package/dist/webcomponents/p-DB_pqjwH.js +0 -1
- package/dist/webcomponents/p-DU2RAZiD.js +0 -1
- package/dist/webcomponents/p-DbJ8_F44.js +0 -1
- package/dist/webcomponents/p-Df9FVwA7.js +0 -1
- package/dist/webcomponents/p-DgPbJiLD.js +0 -1
- package/dist/webcomponents/p-DmBX8khF.js +0 -1
- package/dist/webcomponents/p-DsYFjVQa.js +0 -1
- package/dist/webcomponents/p-EBsfAkrP.js +0 -1
- package/dist/webcomponents/p-N60pPiy5.js +0 -1
- package/dist/webcomponents/p-_fynNk40.js +0 -1
- package/dist/webcomponents/p-ad785edd.entry.js +0 -1
- package/dist/webcomponents/p-b1a947c8.entry.js +0 -1
- package/dist/webcomponents/p-b1c179d7.entry.js +0 -1
- package/dist/webcomponents/p-b822ab7e.entry.js +0 -1
- package/dist/webcomponents/p-bd3f7117.entry.js +0 -1
- package/dist/webcomponents/p-c29859d9.entry.js +0 -1
- package/dist/webcomponents/p-c30dd92c.entry.js +0 -1
- package/dist/webcomponents/p-c4c9f37b.entry.js +0 -1
- package/dist/webcomponents/p-cfd944e6.entry.js +0 -1
- package/dist/webcomponents/p-dc99d6b0.entry.js +0 -1
- package/dist/webcomponents/p-dd704b1a.entry.js +0 -1
- package/dist/webcomponents/p-e29f42c6.entry.js +0 -1
- package/dist/webcomponents/p-e322fcca.entry.js +0 -1
- package/dist/webcomponents/p-e360d88f.entry.js +0 -1
- package/dist/webcomponents/p-eadbb4dc.entry.js +0 -1
- package/dist/webcomponents/p-ef30afd5.entry.js +0 -1
- package/dist/webcomponents/p-eff6a50d.entry.js +0 -1
- package/dist/webcomponents/p-f266373d.entry.js +0 -1
- package/dist/webcomponents/p-fb04fa5a.entry.js +0 -1
- package/dist/webcomponents/p-feb19fa5.entry.js +0 -1
- package/dist/webcomponents/p-k4rghbOK.js +0 -1
- package/dist/webcomponents/p-xSaSp1Jy.js +0 -1
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent
|
|
2
|
-
import {
|
|
1
|
+
import { h, proxyCustomElement, HTMLElement, createEvent } from '@stencil/core/internal/client';
|
|
2
|
+
import { s as Terminal, C as ComponentErrorSeverity, a as ComponentErrorCodes } from './Plaid.js';
|
|
3
3
|
import { J as JustifiAnalytics } from './Analytics.js';
|
|
4
4
|
import { c as checkPkgVersion } from './check-pkg-version.js';
|
|
5
5
|
import { T as TerminalService } from './terminal.service.js';
|
|
6
6
|
import './config-state.js';
|
|
7
7
|
import './dinero.js';
|
|
8
|
-
import './Pagination.js';
|
|
8
|
+
import { p as pagingDefaults } from './Pagination.js';
|
|
9
9
|
import './Business.js';
|
|
10
10
|
import './ApplePay.js';
|
|
11
11
|
import { g as getErrorCode, a as getErrorMessage } from './utils3.js';
|
|
12
12
|
import { m as makeGetSubAccounts, S as SubAccountService } from './get-subaccounts.js';
|
|
13
13
|
import { S as StyledHost } from './styled-host.js';
|
|
14
14
|
import './justifi-details2.js';
|
|
15
|
-
import './
|
|
15
|
+
import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d as TableHeadRow, e as TableBody, f as TableLoadingState, g as TableEmptyState, h as TableErrorState, i as TableRow, j as TableFoot, k as TableFootRow, l as TableFootCell } from './table.js';
|
|
16
|
+
import { T as TableClickActions } from './event-types.js';
|
|
16
17
|
import './justifi-radio-list-item2.js';
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
18
|
+
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
19
|
+
import { B as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
|
|
20
|
+
import { n as capitalFirstLetter } from './utils2.js';
|
|
21
|
+
import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state.js';
|
|
22
|
+
import { d as defineCustomElement$2 } from './pagination-menu2.js';
|
|
19
23
|
|
|
20
24
|
const makeGetTerminals = ({ id, authToken, service }) => async ({ params, onSuccess, onError }) => {
|
|
21
25
|
var _a, _b;
|
|
@@ -46,6 +50,60 @@ const makeGetTerminals = ({ id, authToken, service }) => async ({ params, onSucc
|
|
|
46
50
|
}
|
|
47
51
|
};
|
|
48
52
|
|
|
53
|
+
const MapTerminalStatusToBadge = (status) => {
|
|
54
|
+
const statusToBadgeProps = {
|
|
55
|
+
connected: {
|
|
56
|
+
variant: BadgeVariant.SUCCESS,
|
|
57
|
+
title: 'This terminal is connected',
|
|
58
|
+
text: 'Connected',
|
|
59
|
+
},
|
|
60
|
+
disconnected: {
|
|
61
|
+
variant: BadgeVariant.DANGER,
|
|
62
|
+
title: 'This terminal is disconnected',
|
|
63
|
+
text: 'Disconnected',
|
|
64
|
+
},
|
|
65
|
+
unknown: {
|
|
66
|
+
variant: BadgeVariant.SECONDARY,
|
|
67
|
+
title: 'The status of this terminal is unknown',
|
|
68
|
+
text: 'Unknown',
|
|
69
|
+
},
|
|
70
|
+
pending_configuration: {
|
|
71
|
+
variant: BadgeVariant.WARNING,
|
|
72
|
+
title: 'This terminal is pending configuration',
|
|
73
|
+
text: 'Pending configuration',
|
|
74
|
+
},
|
|
75
|
+
archived: {
|
|
76
|
+
variant: BadgeVariant.SECONDARY,
|
|
77
|
+
title: 'This terminal is archived',
|
|
78
|
+
text: 'Archived',
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
const badgeProps = statusToBadgeProps[status];
|
|
82
|
+
return h(Badge, Object.assign({}, badgeProps));
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
const defaultColumnsKeys = 'nickname,provider_serial_number,status';
|
|
86
|
+
const terminalTableColumns = {
|
|
87
|
+
nickname: () => (h("th", { part: tableHeadCell, scope: "col", title: "The nickname associated with the terminal" }, "Nickname")),
|
|
88
|
+
model_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The model name of the terminal" }, "Model Name")),
|
|
89
|
+
id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The ID of the terminal" }, "ID")),
|
|
90
|
+
provider: () => (h("th", { part: tableHeadCell, scope: "col", title: "The provider of the terminal" }, "Provider")),
|
|
91
|
+
provider_serial_number: () => (h("th", { part: tableHeadCell, scope: "col", title: "The serial number of the terminal" }, "Serial Number")),
|
|
92
|
+
device_id: () => (h("th", { part: tableHeadCell, scope: "col", title: "The device/provider ID of the terminal" }, "Device ID")),
|
|
93
|
+
sub_account_name: () => (h("th", { part: tableHeadCell, scope: "col", title: "The sub account associated with the terminal" }, "Sub Account")),
|
|
94
|
+
status: () => (h("th", { part: tableHeadCell, scope: "col", title: "The current status of each terminal" }, "Status")),
|
|
95
|
+
};
|
|
96
|
+
const terminalTableCells = {
|
|
97
|
+
nickname: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.nickname)),
|
|
98
|
+
model_name: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.model_name)),
|
|
99
|
+
id: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.id)),
|
|
100
|
+
provider: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, capitalFirstLetter(terminal.provider))),
|
|
101
|
+
provider_serial_number: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.provider_serial_number)),
|
|
102
|
+
device_id: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.provider_id)),
|
|
103
|
+
sub_account_name: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, terminal.sub_account_name)),
|
|
104
|
+
status: (terminal, index) => (h("td", { part: getAlternateTableCellPart(index) }, MapTerminalStatusToBadge(terminal.status))),
|
|
105
|
+
};
|
|
106
|
+
|
|
49
107
|
const JustifiTerminalsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiTerminalsList extends HTMLElement {
|
|
50
108
|
constructor(registerHost) {
|
|
51
109
|
super();
|
|
@@ -53,18 +111,45 @@ const JustifiTerminalsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiTer
|
|
|
53
111
|
this.__registerHost();
|
|
54
112
|
}
|
|
55
113
|
this.__attachShadow();
|
|
114
|
+
this.clickEvent = createEvent(this, "click-event", 7);
|
|
56
115
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
57
|
-
this.
|
|
116
|
+
this.terminals = [];
|
|
117
|
+
this.subAccounts = [];
|
|
118
|
+
this.loading = true;
|
|
119
|
+
this.paging = pagingDefaults;
|
|
120
|
+
this.pagingParams = {};
|
|
58
121
|
this.columns = defaultColumnsKeys;
|
|
59
|
-
this.
|
|
60
|
-
this.
|
|
61
|
-
this.
|
|
122
|
+
this.handleClickPrevious = (beforeCursor) => {
|
|
123
|
+
this.pagingParams = { before_cursor: beforeCursor };
|
|
124
|
+
this.clickEvent.emit({ name: TableClickActions.previous });
|
|
125
|
+
};
|
|
126
|
+
this.handleClickNext = (afterCursor) => {
|
|
127
|
+
this.pagingParams = { after_cursor: afterCursor };
|
|
128
|
+
this.clickEvent.emit({ name: TableClickActions.next });
|
|
129
|
+
};
|
|
130
|
+
this.rowClickHandler = (e) => {
|
|
131
|
+
const clickedTerminalID = e.target.closest('tr').dataset.rowEntityId;
|
|
132
|
+
if (!clickedTerminalID)
|
|
133
|
+
return;
|
|
134
|
+
const terminalData = this.terminals.find((terminal) => terminal.id === clickedTerminalID);
|
|
135
|
+
this.clickEvent.emit({ name: TableClickActions.row, data: terminalData });
|
|
62
136
|
};
|
|
63
137
|
}
|
|
64
138
|
componentWillLoad() {
|
|
65
139
|
checkPkgVersion();
|
|
66
140
|
this.analytics = new JustifiAnalytics(this);
|
|
141
|
+
this.terminalsTable = new Table(this.terminals, this.columns, terminalTableColumns, terminalTableCells);
|
|
67
142
|
this.initializeGetData();
|
|
143
|
+
if (this.getTerminals && this.getSubAccounts) {
|
|
144
|
+
this.fetchData();
|
|
145
|
+
}
|
|
146
|
+
onQueryParamsChange('set', () => {
|
|
147
|
+
this.pagingParams = {};
|
|
148
|
+
});
|
|
149
|
+
onQueryParamsChange('reset', () => {
|
|
150
|
+
this.pagingParams = {};
|
|
151
|
+
this.errorMessage = '';
|
|
152
|
+
});
|
|
68
153
|
}
|
|
69
154
|
disconnectedCallback() {
|
|
70
155
|
var _a;
|
|
@@ -74,6 +159,9 @@ const JustifiTerminalsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiTer
|
|
|
74
159
|
propChanged() {
|
|
75
160
|
this.initializeGetData();
|
|
76
161
|
}
|
|
162
|
+
updateOnPropChange() {
|
|
163
|
+
this.fetchData();
|
|
164
|
+
}
|
|
77
165
|
initializeGetData() {
|
|
78
166
|
this.initializeGetTerminals();
|
|
79
167
|
this.initializeGetSubAccounts();
|
|
@@ -104,12 +192,89 @@ const JustifiTerminalsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiTer
|
|
|
104
192
|
});
|
|
105
193
|
}
|
|
106
194
|
}
|
|
195
|
+
fetchData() {
|
|
196
|
+
this.loading = true;
|
|
197
|
+
this.getTerminals({
|
|
198
|
+
params: this.terminalParams,
|
|
199
|
+
onSuccess: async ({ terminals, pagingInfo }) => {
|
|
200
|
+
this.terminals = terminals;
|
|
201
|
+
this.paging = pagingInfo;
|
|
202
|
+
this.terminalsTable.collectionData = this.terminals;
|
|
203
|
+
const shouldFetchSubAccounts = this.terminalsTable.columnKeys.includes('sub_account_name');
|
|
204
|
+
if (shouldFetchSubAccounts) {
|
|
205
|
+
await this.fetchSubAccounts();
|
|
206
|
+
}
|
|
207
|
+
else {
|
|
208
|
+
this.loading = false;
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
onError: ({ error, code, severity }) => {
|
|
212
|
+
this.errorMessage = error;
|
|
213
|
+
this.errorEvent.emit({
|
|
214
|
+
errorCode: code,
|
|
215
|
+
message: error,
|
|
216
|
+
severity,
|
|
217
|
+
});
|
|
218
|
+
this.loading = false;
|
|
219
|
+
},
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
async fetchSubAccounts() {
|
|
223
|
+
this.getSubAccounts({
|
|
224
|
+
params: this.subAccountParams,
|
|
225
|
+
onSuccess: ({ subAccounts }) => {
|
|
226
|
+
this.subAccounts = subAccounts;
|
|
227
|
+
this.terminals = this.terminals.map((terminal) => {
|
|
228
|
+
var _a;
|
|
229
|
+
terminal.sub_account_name = (_a = this.subAccounts.find((subAccount) => subAccount.id === terminal.account_id)) === null || _a === void 0 ? void 0 : _a.name;
|
|
230
|
+
return terminal;
|
|
231
|
+
});
|
|
232
|
+
this.loading = false;
|
|
233
|
+
},
|
|
234
|
+
onError: ({ error, code, severity }) => {
|
|
235
|
+
this.errorMessage = error;
|
|
236
|
+
this.errorEvent.emit({
|
|
237
|
+
errorCode: code,
|
|
238
|
+
message: error,
|
|
239
|
+
severity,
|
|
240
|
+
});
|
|
241
|
+
this.loading = false;
|
|
242
|
+
},
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
get terminalParams() {
|
|
246
|
+
const requestParams = getRequestParams();
|
|
247
|
+
const params = Object.assign(Object.assign({}, requestParams), this.pagingParams);
|
|
248
|
+
return params;
|
|
249
|
+
}
|
|
250
|
+
get subAccountParams() {
|
|
251
|
+
let accountIdNumbers = this.terminals.map((terminal) => terminal.account_id);
|
|
252
|
+
let uniqueAccountIds = [...new Set(accountIdNumbers)];
|
|
253
|
+
let accountIdString = uniqueAccountIds.join(',');
|
|
254
|
+
return { sub_account_id: accountIdString };
|
|
255
|
+
}
|
|
256
|
+
get entityId() {
|
|
257
|
+
return this.terminals.map((terminal) => terminal.id);
|
|
258
|
+
}
|
|
259
|
+
get showEmptyState() {
|
|
260
|
+
return !this.loading && !this.errorMessage && this.terminalsTable.rowData.length < 1;
|
|
261
|
+
}
|
|
262
|
+
get showErrorState() {
|
|
263
|
+
return !this.loading && !!this.errorMessage;
|
|
264
|
+
}
|
|
265
|
+
get showRowData() {
|
|
266
|
+
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
267
|
+
}
|
|
107
268
|
render() {
|
|
108
|
-
return (h(StyledHost, { key: '
|
|
269
|
+
return (h(StyledHost, { key: '3429d0dc6534dda4e9dc6417924040a53fd5a032' }, h(TableWrapper, { key: '00c6172e8bb77ed0824381785b17fdd556c942a1' }, h(TableComponent, { key: 'd0119d84743bb06d1e0562eee3124197d46f3b13' }, h(TableHead, { key: '9721788579474c7db31587f57ff1aa4159cae7c3' }, h(TableHeadRow, { key: 'e689b5546ad32ad75bcbedb0cf184b4a6adf1bf3' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '220a3f509f17333888640b0034da30d9375c4100' }, h(TableLoadingState, { key: 'd444e883ddd69ef5b05754476e6ea66c598a2c5f', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'a6ee22d5138114688ff2c8525e8b5ce8fb00a853', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: 'e151dba5915e622eb7a63ce7912fabe6924df7dd', 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: '91c0903d8c81817f82e7a8864a4188fac602af87' }, h(TableFootRow, { key: '322abe78babc127fccb9309c14c91b30a5d86700' }, h(TableFootCell, { key: 'e9843c61dd4eb031f514ff35f3354998dfaec59e', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: 'd6b0bdaa7459afb8cd164c540843e7a4d8376f53', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
109
270
|
}
|
|
110
271
|
static get watchers() { return {
|
|
111
272
|
"accountId": ["propChanged"],
|
|
112
|
-
"authToken": ["propChanged"]
|
|
273
|
+
"authToken": ["propChanged"],
|
|
274
|
+
"pagingParams": ["updateOnPropChange"],
|
|
275
|
+
"getTerminals": ["updateOnPropChange"],
|
|
276
|
+
"getSubAccounts": ["updateOnPropChange"],
|
|
277
|
+
"columns": ["updateOnPropChange"]
|
|
113
278
|
}; }
|
|
114
279
|
}, [257, "justifi-terminals-list", {
|
|
115
280
|
"accountId": [1, "account-id"],
|
|
@@ -117,16 +282,26 @@ const JustifiTerminalsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiTer
|
|
|
117
282
|
"columns": [1],
|
|
118
283
|
"getTerminals": [32],
|
|
119
284
|
"getSubAccounts": [32],
|
|
120
|
-
"
|
|
285
|
+
"terminals": [32],
|
|
286
|
+
"terminalsTable": [32],
|
|
287
|
+
"subAccounts": [32],
|
|
288
|
+
"loading": [32],
|
|
289
|
+
"errorMessage": [32],
|
|
290
|
+
"paging": [32],
|
|
291
|
+
"pagingParams": [32]
|
|
121
292
|
}, undefined, {
|
|
122
293
|
"accountId": ["propChanged"],
|
|
123
|
-
"authToken": ["propChanged"]
|
|
294
|
+
"authToken": ["propChanged"],
|
|
295
|
+
"pagingParams": ["updateOnPropChange"],
|
|
296
|
+
"getTerminals": ["updateOnPropChange"],
|
|
297
|
+
"getSubAccounts": ["updateOnPropChange"],
|
|
298
|
+
"columns": ["updateOnPropChange"]
|
|
124
299
|
}]);
|
|
125
300
|
function defineCustomElement$1() {
|
|
126
301
|
if (typeof customElements === "undefined") {
|
|
127
302
|
return;
|
|
128
303
|
}
|
|
129
|
-
const components = ["justifi-terminals-list", "pagination-menu"
|
|
304
|
+
const components = ["justifi-terminals-list", "pagination-menu"];
|
|
130
305
|
components.forEach(tagName => { switch (tagName) {
|
|
131
306
|
case "justifi-terminals-list":
|
|
132
307
|
if (!customElements.get(tagName)) {
|
|
@@ -134,11 +309,6 @@ function defineCustomElement$1() {
|
|
|
134
309
|
}
|
|
135
310
|
break;
|
|
136
311
|
case "pagination-menu":
|
|
137
|
-
if (!customElements.get(tagName)) {
|
|
138
|
-
defineCustomElement$3();
|
|
139
|
-
}
|
|
140
|
-
break;
|
|
141
|
-
case "terminals-list-core":
|
|
142
312
|
if (!customElements.get(tagName)) {
|
|
143
313
|
defineCustomElement$2();
|
|
144
314
|
}
|
|
@@ -294,7 +294,7 @@ const JustifiTokenizePaymentMethod = /*@__PURE__*/ proxyCustomElement(class Just
|
|
|
294
294
|
} }));
|
|
295
295
|
}
|
|
296
296
|
render() {
|
|
297
|
-
return (h(StyledHost, { key: '
|
|
297
|
+
return (h(StyledHost, { key: 'e426ad2935cf88bd5af628da9154cdaccc5e6be2' }, h("form", { key: '571fcd140680840f5b68ee08b9cb7d9a5c6156ed' }, h("fieldset", { key: 'b394ce7a04e7d57ce2f4eb787252412409c3703d' }, h("div", { key: '1eb916974b71ead6dda1c54c36f0cb8f90433190', class: "row gy-3" }, h("div", { key: '8fb01d0e321fd265ede20f712779f66cf4404d78', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '40f03fdb6df080a8d55b72a818b3eb42e56fd9f9', class: "col-12" }, h("internal-button", { key: 'b719a621d8a3592e8b4a193656672ab6dd799006', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
298
298
|
}
|
|
299
299
|
get host() { return this; }
|
|
300
300
|
static get watchers() { return {
|
|
@@ -25,7 +25,7 @@ const LegalAddressForm = /*@__PURE__*/ proxyCustomElement(class LegalAddressForm
|
|
|
25
25
|
render() {
|
|
26
26
|
var _a;
|
|
27
27
|
const legalAddressDefaultValue = this.formController.getInitialValues().legal_address;
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: '856cd25caef521b651b9dd8a40dc6f9f0c727706' }, h("fieldset", { key: '150ad1f56747aae80ae8d2610fa08fcabee27c87' }, h("legend", { key: '565a46bd0977680e400663ef0590d65e977135be', part: heading2 }, "Business Legal Address"), h("form-address-fields", { key: 'c2ce05c006ec80c5319b30b40387e400ec52ab86', country: this.country, errors: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.legal_address, defaultValues: legalAddressDefaultValue, inputHandler: this.inputHandler }))));
|
|
29
29
|
}
|
|
30
30
|
}, [256, "legal-address-form", {
|
|
31
31
|
"formController": [16],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { D as DetailSectionTitle, a as DetailItem } from './utils.js';
|
|
3
|
-
import {
|
|
3
|
+
import { c as formatMediumDate } from './utils2.js';
|
|
4
4
|
|
|
5
5
|
const OwnerDetails = /*@__PURE__*/ proxyCustomElement(class OwnerDetails extends HTMLElement {
|
|
6
6
|
constructor(registerHost) {
|
|
@@ -167,7 +167,7 @@ const OwnerFormCore = /*@__PURE__*/ proxyCustomElement(class OwnerFormCore exten
|
|
|
167
167
|
this.formController.errors.subscribe(errors => (this.errors = Object.assign({}, errors)));
|
|
168
168
|
}
|
|
169
169
|
render() {
|
|
170
|
-
return (h("form", { key: '
|
|
170
|
+
return (h("form", { key: '63cf9c7ab9031786f17ea4f3787deea081e305d3', onSubmit: this.validateAndSubmit }, h("fieldset", { key: 'cef59454c61515f702e846d43242f1576e604953' }, h("legend", { key: '355974c342272cd90c6596129a83866f8ad20e37', class: "fw-semibold fs-5", part: heading3 }, this.formTitle), h("br", { key: 'c78a4742ca2fa7bea462d4c7b1d3e73ccb8cccb9' }), h("div", { key: 'ec96fba914ce8eea8223efab633873c79741e29b', class: "row gy-3" }, h("owner-form-inputs", { key: '8b1b9118ac93457b38237387d478b3d084fad07d', ownerDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController, country: this.country }), h("div", { key: 'b599ded9cecb9999e3c8b3310f0c70fd07c64690', class: "d-flex gap-2 justify-content-start" }, h(Button, { key: '54bcdf883415ada89b81b4826cfea23061d4fc60', variant: "secondary", type: "button", onClick: this.handleRemoveOwner, hidden: !this.showRemoveButton }, "Remove"), h(Button, { key: 'eb990b891fe82108eae8c80da39e5ada7ef27f1e', variant: "primary", type: "submit", onClick: this.handleAddOwner, disabled: this.isLoading }, this.submitButtonText))), h("hr", { key: '7000dfde686b1879776ab63dcb6a203c0eb519c1' }))));
|
|
171
171
|
}
|
|
172
172
|
static get watchers() { return {
|
|
173
173
|
"isLoading": ["loadingWatcher"]
|
|
@@ -29,14 +29,14 @@ const OwnerFormInputs = /*@__PURE__*/ proxyCustomElement(class OwnerFormInputs e
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
var _a, _b, _c;
|
|
32
|
-
return (h("div", { key: '
|
|
32
|
+
return (h("div", { key: '212e1849ea4415835cb4f792cf5799b606ccd170', class: "row gy-3" }, h("div", { key: 'bc904468596d8a2b6cf82f9cca153d1db7fd9be3', class: "col-12 col-md-8" }, h("form-control-text", { key: '116f4a8124743a3bdd01489f7ac4964852d2f701', name: "name", label: "Full Name", defaultValue: this.ownerDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'd1de51aa5d3760553012ddc586dc6068c456463f', class: "col-12 col-md-4" }, h("form-control-text", { key: '542bd69f56380823a8a2fcf0f95df56a4802e52a', name: "title", label: "Title", defaultValue: this.ownerDefaultValue.title, errorText: this.errors.title, inputHandler: this.inputHandler, helpText: "Role at your business, e.g. President, CEO, Treasurer." })), h("div", { key: 'f8230d52a4a685e358bf118d4f77849e8e23f58e', class: "col-12 col-md-6" }, h("form-control-text", { key: '0d41fa107ba89a5a6a1dfe2b97d42a86feef3eb0', name: "email", label: "Email Address", defaultValue: this.ownerDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), h("div", { key: 'c403d5cf82cc89de42a31f3478e5cda3c2309dac', class: "col-12 col-md-6" }, h("form-control-number-masked", { key: 'bc0e1c91619857bcac7776e686534763898bdd79', name: "phone", label: "Phone Number", defaultValue: this.ownerDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: PHONE_MASKS.US })), h("div", { key: '43c3b72350a475defd393625a0d88e5720ab121c', class: "col-12 col-md-3" }, h("form-control-date", { key: '4f1bd966e4a28fdcfc3539cb51b97e73bf7bf242', name: "dob_full", label: "Birth Date", defaultValue: this.ownerDefaultValue.dob_full, errorText: this.errors.dob_full, inputHandler: this.inputHandler, onFormControlInput: (e) => updateDateOfBirthFormValues(e, this.formController), helpText: "Must be 18 or older." })), h("div", { key: '963e110d0f208730944fe7637ba0a3a9ada66a38', class: "col-12 col-md-3" }, h("form-control-number", { key: '182586a1b86d351cb5063c0ca0ee578959a93369', name: "ownership_percentage", label: "% of Ownership", defaultValue: (_a = this.ownerDefaultValue) === null || _a === void 0 ? void 0 : _a.ownership_percentage, errorText: this.errors.ownership_percentage, inputHandler: this.inputHandler })), h("div", { key: 'bf966123cd887a09b81e9e599118ee03cadabfe2', class: "col-12 col-md-6" }, (!((_b = this.ownerDefaultValue) === null || _b === void 0 ? void 0 : _b.ssn_last4) || this.isEditingIdentification) ? (h("form-control-number-masked", { name: "identification_number", label: countryLabels[this.country].idNumberLabel, defaultValue: this.isEditingIdentification ? '' : this.ownerDefaultValue.identification_number, errorText: this.errors.identification_number, inputHandler: this.inputHandler, mask: IDENTITY_MASKS[this.country], helpText: countryLabels[this.country].identityHelpText })) : (h("div", null, h("label", { class: "form-label", part: label }, countryLabels[this.country].idNumberLabel), h("div", { class: "input-group mb-3" }, h("input", { type: "text", class: "form-control", part: inputDisabled, value: `****${(_c = this.ownerDefaultValue) === null || _c === void 0 ? void 0 : _c.ssn_last4}`, disabled: true }), h("button", { class: "btn btn-secondary", type: "button", part: buttonSecondary, onClick: () => {
|
|
33
33
|
this.isEditingIdentification = true;
|
|
34
34
|
// Clear last4 and current value to force validation
|
|
35
35
|
updateFormValues(this.formController, {
|
|
36
36
|
ssn_last4: null,
|
|
37
37
|
identification_number: ''
|
|
38
38
|
});
|
|
39
|
-
} }, "Change"))))), h("div", { key: '
|
|
39
|
+
} }, "Change"))))), h("div", { key: 'da39a950fb0f4042d6047a88db4fb1cf7a7b9d07', class: "col-12" }, h("identity-address-form", { key: '7ef03a0303d6f62098b5c38d669648bd4557437f', errors: this.errors.address, defaultValues: this.ownerDefaultValue.address, handleFormUpdate: this.onAddressFormUpdate, country: this.country }))));
|
|
40
40
|
}
|
|
41
41
|
;
|
|
42
42
|
}, [256, "owner-form-inputs", {
|
|
@@ -53,7 +53,7 @@ const OwnerForm = /*@__PURE__*/ proxyCustomElement(class OwnerForm extends HTMLE
|
|
|
53
53
|
});
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h("owner-form-core", { key: '
|
|
56
|
+
return (h("owner-form-core", { key: '598c7413dbae853f432e64ac549025442083fbb9', ownerId: this.ownerId, businessId: this.businessId, getOwner: this.getOwner, patchOwner: this.patchOwner, postOwner: this.postOwner, allowOptionalFields: this.allowOptionalFields, removeOwner: this.removeOwner, newFormOpen: this.newFormOpen, ownersLength: this.ownersLength, country: this.country, ref: ref => this.coreComponent = ref }));
|
|
57
57
|
}
|
|
58
58
|
}, [256, "owner-form", {
|
|
59
59
|
"authToken": [1, "auth-token"],
|
package/dist/module/package.js
CHANGED
|
@@ -16,7 +16,7 @@ const PaymentMethodOption$1 = /*@__PURE__*/ proxyCustomElement(class PaymentMeth
|
|
|
16
16
|
this.__attachShadow();
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(StyledHost, { key: '
|
|
19
|
+
return (h(StyledHost, { key: 'f29f09a17a1b0f9c036051f57c3e42e8216c1236', class: "payment-method" }, h("div", { key: 'f61adf1dfa90d4526ff767be80eb795137ab723c', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: 'fe1b54ca437b0e7c20c9f7d9ea84c23b92e39412', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
|
|
20
20
|
}
|
|
21
21
|
}, [257, "payment-method-option", {
|
|
22
22
|
"paymentMethodOptionId": [1, "payment-method-option-id"],
|
|
@@ -23,7 +23,7 @@ const PaymentProvisioningFormButtons = /*@__PURE__*/ proxyCustomElement(class Pa
|
|
|
23
23
|
return this.currentStep === this.totalSteps;
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: '6fac4d1e92b732da3e7e867c091f23e9e3b7d6ab', class: 'd-flex gap-2' }, h(Button, { key: 'a96025bed24ade707d7f28561a12a9bcf62401e8', variant: "secondary", type: "button", onClick: () => this.previousStepButtonOnClick(), disabled: this.formDisabled, hidden: !this.showPreviousStepButton }, "Previous"), h(Button, { key: 'c4bd0d4a7f79942b307a4587e77c73158d4b704d', variant: "primary", type: "button", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.nextStep), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showNextStepButton }, "Next"), h(Button, { key: '5fa56e168646f4fa266fde124c78dc2564a6c311', variant: "primary", type: "submit", onClick: (e) => this.nextStepButtonOnClick(e, BusinessFormClickActions.submit), disabled: this.formDisabled, isLoading: this.formLoading, hidden: !this.showSubmitButton }, "Submit")));
|
|
27
27
|
}
|
|
28
28
|
}, [256, "payment-provisioning-form-buttons", {
|
|
29
29
|
"currentStep": [2, "current-step"],
|
|
@@ -52,7 +52,7 @@ const PaymentProvisioningFormSteps = /*@__PURE__*/ proxyCustomElement(class Paym
|
|
|
52
52
|
return this.componentStepMapping[this.currentStep]();
|
|
53
53
|
}
|
|
54
54
|
render() {
|
|
55
|
-
return (h("div", { key: '
|
|
55
|
+
return (h("div", { key: '6bd8ebe91fefb364dd29a741e2cdf8a90aa1351b', class: 'col-12 mb-4' }, this.currentStepComponent));
|
|
56
56
|
}
|
|
57
57
|
}, [256, "payment-provisioning-form-steps", {
|
|
58
58
|
"businessId": [1, "business-id"],
|
|
@@ -1,6 +1,26 @@
|
|
|
1
|
+
import { C as ComponentErrorSeverity } from './Plaid.js';
|
|
2
|
+
import { g as getErrorCode, a as getErrorMessage } from './utils3.js';
|
|
1
3
|
import { h } from '@stencil/core/internal/client';
|
|
2
4
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
3
5
|
|
|
6
|
+
const makeGetPayoutCSV = ({ authToken, service }) => async ({ payoutId, onError }) => {
|
|
7
|
+
try {
|
|
8
|
+
const { data } = await service.fetchCSV(payoutId, authToken);
|
|
9
|
+
const a = document.createElement('a');
|
|
10
|
+
a.href = data.csv_url;
|
|
11
|
+
a.click();
|
|
12
|
+
}
|
|
13
|
+
catch (error) {
|
|
14
|
+
const errorMessage = getErrorMessage(error);
|
|
15
|
+
const code = getErrorCode(error === null || error === void 0 ? void 0 : error.code);
|
|
16
|
+
onError({
|
|
17
|
+
error: errorMessage,
|
|
18
|
+
code,
|
|
19
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
|
|
4
24
|
const MapPayoutStatusToBadge = (status) => {
|
|
5
25
|
const statusToBadgeProps = {
|
|
6
26
|
canceled: {
|
|
@@ -48,4 +68,4 @@ const MapPayoutStatusToBadge = (status) => {
|
|
|
48
68
|
return h(Badge, Object.assign({}, badgeProps));
|
|
49
69
|
};
|
|
50
70
|
|
|
51
|
-
export { MapPayoutStatusToBadge as M };
|
|
71
|
+
export { MapPayoutStatusToBadge as M, makeGetPayoutCSV as m };
|
|
@@ -17,7 +17,7 @@ const RadioListItem = /*@__PURE__*/ proxyCustomElement(class RadioListItem exten
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h(Host, { key: '
|
|
20
|
+
return (h(Host, { key: 'df05a770b3b220ec3c11de2e3edfc3605c0ca909' }, h("div", { key: 'a349e3b2e2b464ed100cee165b8a0e60f25d2e97', class: `radio-list-item p-3 ${this.class || ''}`, part: radioListItem, onClick: this.handleClick, hidden: this.hidden }, h("form-control-radio", { key: 'df8a2643c0d236a0524ccde524396bf08597aee6', name: this.name, value: this.value, checked: this.checked, label: this.label, inputHandler: () => null }))));
|
|
21
21
|
}
|
|
22
22
|
}, [256, "radio-list-item", {
|
|
23
23
|
"name": [1],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { D as DetailSectionTitle, a as DetailItem } from './utils.js';
|
|
3
|
-
import { i as isEmptyObject,
|
|
3
|
+
import { i as isEmptyObject, c as formatMediumDate } from './utils2.js';
|
|
4
4
|
|
|
5
5
|
const RepresentativeDetails = /*@__PURE__*/ proxyCustomElement(class RepresentativeDetails extends HTMLElement {
|
|
6
6
|
constructor(registerHost) {
|
|
@@ -18,7 +18,7 @@ const SaveNewPaymentMethod = /*@__PURE__*/ proxyCustomElement(class SaveNewPayme
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: '42c0674b7d12f57ace0088c2ebb854521fed2abf', hidden: this.hidden }, h("form-control-checkbox", { key: 'c198bdd860f5c844bca6141e8d5c0bcf4de1fbec', label: this.label || 'Save New Payment Method', name: "saveNewPaymentMethod", checked: this.isChecked, inputHandler: this.handleCheckboxChange })));
|
|
22
22
|
}
|
|
23
23
|
}, [256, "save-new-payment-method", {
|
|
24
24
|
"label": [1],
|
|
@@ -31,7 +31,7 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
|
|
|
31
31
|
this.showClearButton = hasFilters(this.params);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: 'bf0722379c0f2d12f0d351f71a4cea18605a1a6c', class: "d-flex gap-2" }, h("div", { key: '68bf34efe0c7c82bfe66e1d1d386bb8f37efba11', class: "dropdown pb-3" }, h("button", { key: '413db165fa98008db838b6cb8541d7276bcd7a1b', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: '43acd10ad9666c281406bc9928da3d568868a831', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '52d302d40e503a7ebc311d603ab49a388c2e7fb1', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: '232f719456fe31e0e87abc49ec4f0f141a194cfc' })))), h("div", { key: '197f5034d8eb246a107f4e761478514d53c1c321' }, h(Button, { key: '5f17be2e3493b4e9e54035c4bc8a95b762161b3c', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
35
35
|
}
|
|
36
36
|
static get watchers() { return {
|
|
37
37
|
"params": ["watchParamsHandler"]
|
|
@@ -5,7 +5,7 @@ import { T as TableClickActions } from './event-types.js';
|
|
|
5
5
|
import './justifi-radio-list-item2.js';
|
|
6
6
|
import './config-state.js';
|
|
7
7
|
import './dinero.js';
|
|
8
|
-
import {
|
|
8
|
+
import { i as TerminalOrderType } from './Plaid.js';
|
|
9
9
|
import { p as pagingDefaults } from './Pagination.js';
|
|
10
10
|
import './Business.js';
|
|
11
11
|
import './ApplePay.js';
|
|
@@ -165,7 +165,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
|
|
|
165
165
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
166
166
|
}
|
|
167
167
|
render() {
|
|
168
|
-
return (h(TableWrapper, { key: '
|
|
168
|
+
return (h(TableWrapper, { key: '92fffc2d98e3a5176d80decaeddc8d3b0babca74' }, h(TableComponent, { key: '9a690f1298358fd1f22942cce38a99b157526d2a' }, h(TableHead, { key: '53275af95435cbc3fa01753e88ab6a9319aa678b' }, h(TableHeadRow, { key: '374db48f613bddaad4308e60700c1ea66a5c54dd' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '8e95036b34d7ed6712d64978923459b29c11fab8' }, h(TableLoadingState, { key: 'bf28d8b020cfc59f494eede313f9cb38265d702f', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '0361d8c68151065fe96a97a137aa06b510d2f2dd', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: 'b7bbf34d9c90f1757424afb9fa30617f61a4d564', 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: 'a0b4a423809b3b36211b7f59719642e48311d32e' }, h(TableFootRow, { key: '81a3dd146e0931f14ef6972e42f71b38c2f11239' }, h(TableFootCell, { key: '8e4afc9ea974aac2c693a60e3e0ea5f9915a199e', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '9d5afd8b9a09fc24f12c701e289c22a40ad77042', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
169
169
|
}
|
|
170
170
|
static get watchers() { return {
|
|
171
171
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -26,7 +26,7 @@ const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class Terminal
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h("div", { key: '
|
|
29
|
+
return (h("div", { key: '94b37f690afbe452cda9d074d97b3e6c7b91c096', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '7913be88b93a02e7499a59b416867c81e736a6cd', class: "d-flex gap-3" }, h("div", { key: '55f8b57b980689ed799c6a6ed798dd4c4ad0bd89', class: "d-flex align-items-center" }, h("img", { key: '8068f7f20ff719bed021f88e644dde9f8903de05', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: 'd86a6301ca11bcbe33920e5608bfb948dffdae6e', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '154c785be7d7785458eaeed6a9a516d4677b544c', class: "row" }, h("div", { key: '2adc08a9d50ca00c73317024ad1bde393d82efa0', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '21ea5803e18053463d343254d9ed29c98c76757f', helpText: this.description })), h("div", { key: 'e862c0de5720cfb876fcc47792c0e12a0266babd', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '50bb2dc585b0f49591871d6ae993eb2850892ffb', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: 'ceba1a29cb4779b9e057e3066072b21cef86dcfd', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '00dfc649818d014f065ee07da3b71c61c7cda03d', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
30
30
|
}
|
|
31
31
|
}, [256, "terminal-quantity-selector", {
|
|
32
32
|
"modelName": [1, "model-name"],
|
package/dist/module/utils2.js
CHANGED
|
@@ -22325,4 +22325,4 @@ function isTokenExpired(token) {
|
|
|
22325
22325
|
}
|
|
22326
22326
|
}
|
|
22327
22327
|
|
|
22328
|
-
export { formatTime as a,
|
|
22328
|
+
export { formatTime as a, formatCurrency as b, formatMediumDate as c, generateTabId as d, convertToUTC as e, formatDate as f, generateId as g, convertToLocal as h, isEmptyObject as i, capitalizeFirstLetter as j, formatDisplayDate as k, isTokenExpired as l, addAttribute as m, capitalFirstLetter as n, formatPhoneNumber as o, processHTML as p, removeAttribute as r, snakeCaseToHumanReadable as s };
|
|
@@ -44,7 +44,6 @@ export interface IApplePayPaymentRequest {
|
|
|
44
44
|
shippingMethods?: IApplePayShippingMethod[];
|
|
45
45
|
applicationData?: string;
|
|
46
46
|
supportedCountries?: string[];
|
|
47
|
-
requiredBillingContactFields?: string[];
|
|
48
47
|
}
|
|
49
48
|
export interface IApplePaySession {
|
|
50
49
|
canMakePayments(): boolean;
|
|
@@ -122,14 +121,10 @@ export interface IApplePayCancelEvent {
|
|
|
122
121
|
export interface IApplePayMethodSelectedEvent {
|
|
123
122
|
paymentMethod: IApplePayTokenPaymentMethod;
|
|
124
123
|
}
|
|
125
|
-
export interface IApplePayBillingContact {
|
|
126
|
-
name?: string;
|
|
127
|
-
}
|
|
128
124
|
export interface IApplePayPaymentProcessRequest {
|
|
129
125
|
paymentData: IApplePayTokenData;
|
|
130
126
|
paymentMethod: IApplePayTokenPaymentMethod;
|
|
131
127
|
transactionIdentifier: string;
|
|
132
|
-
billing_contact?: IApplePayBillingContact;
|
|
133
128
|
product_details?: {
|
|
134
129
|
name: string;
|
|
135
130
|
price: number;
|
|
@@ -174,7 +169,6 @@ export declare class ApplePayPaymentRequest implements IApplePayPaymentRequest {
|
|
|
174
169
|
shippingMethods?: IApplePayShippingMethod[];
|
|
175
170
|
applicationData?: string;
|
|
176
171
|
supportedCountries?: string[];
|
|
177
|
-
requiredBillingContactFields?: string[];
|
|
178
172
|
constructor(data: IApplePayPaymentRequest);
|
|
179
173
|
get isValid(): boolean;
|
|
180
174
|
}
|
|
@@ -187,7 +181,6 @@ export declare class ApplePayHelpers {
|
|
|
187
181
|
static createLineItem(label: string, amount: number, type?: 'final' | 'pending'): IApplePayLineItem;
|
|
188
182
|
static getDefaultSupportedNetworks(): string[];
|
|
189
183
|
static getDefaultMerchantCapabilities(): ApplePayMerchantCapability[];
|
|
190
|
-
static getDefaultBillingContactFields(): string[];
|
|
191
184
|
}
|
|
192
185
|
declare global {
|
|
193
186
|
interface Window {
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { Business } from '../../api/Business';
|
|
2
3
|
import JustifiAnalytics from '../../api/Analytics';
|
|
3
4
|
import { ComponentErrorEvent } from '../../api/ComponentEvents';
|
|
4
5
|
export declare class JustifiBusinessDetails {
|
|
5
6
|
businessId: string;
|
|
6
7
|
authToken: string;
|
|
7
|
-
errorMessage: string;
|
|
8
8
|
getBusiness: Function;
|
|
9
|
+
business: Business;
|
|
10
|
+
loading: boolean;
|
|
11
|
+
errorMessage: string;
|
|
9
12
|
analytics: JustifiAnalytics;
|
|
10
13
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
11
14
|
componentWillLoad(): void;
|
|
12
15
|
disconnectedCallback(): void;
|
|
13
|
-
|
|
16
|
+
propChanged(): void;
|
|
14
17
|
private initializeGetBusiness;
|
|
18
|
+
updateOnPropChange(): void;
|
|
19
|
+
fetchData(): void;
|
|
15
20
|
render(): any;
|
|
16
21
|
}
|