@justifi/webcomponents 6.12.0 → 6.12.1-rc.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/dist/cjs/{Analytics-DZCXB2Za.js → Analytics-DN1vWC6J.js} +2 -3
- package/dist/cjs/{Plaid-DR9WDZ98.js → Plaid-6JK8xPnG.js} +47 -14
- package/dist/cjs/{additional-questions-form-step_9.cjs.entry.js → additional-questions-form-step_14.cjs.entry.js} +451 -58
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +2 -2
- package/dist/cjs/bank-account-form.cjs.entry.js +4 -4
- package/dist/cjs/bank-account-read-only-value.cjs.entry.js +15 -0
- package/dist/cjs/{business.service-mliLE8kX.js → business.service-XXjIL3rT.js} +1 -2
- package/dist/cjs/card-form.cjs.entry.js +4 -4
- package/dist/cjs/{check-pkg-version-CUhnNGii.js → check-pkg-version-DKEv2rPI.js} +1 -1
- package/dist/cjs/{checkout.service-Cok0vRot.js → checkout.service-BUpGS3Nm.js} +1 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +2 -3
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/{dispute.service-DEH_I2G9.js → dispute.service-BC_bJL60.js} +1 -2
- package/dist/cjs/form-address-fields_3.cjs.entry.js +3 -3
- 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 +59 -0
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number_3.cjs.entry.js +2 -2
- 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-DF-XBH8G.js → get-business-Dk1gjO4B.js} +4 -4
- package/dist/cjs/{get-payment-details-DNpOyUyR.js → get-payment-details-Cvi1hHGJ.js} +4 -5
- package/dist/cjs/{get-payout-csv-DE_D9y08.js → get-payout-csv-CFsWBUNg.js} +3 -3
- package/dist/cjs/{get-subaccounts-BQW_RPW5.js → get-subaccounts-BPJ2-LBo.js} +4 -5
- 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 +60 -59
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -6
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -6
- 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 +10 -11
- package/dist/cjs/justifi-business-form.cjs.entry.js +9 -10
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +5 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +6 -7
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -13
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +13 -14
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +19 -20
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +9 -10
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +14 -15
- package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +134 -18
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +11 -12
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +14 -15
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +13 -14
- 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 +11 -12
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +11 -12
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +13 -14
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CJg8qLYd.js → package-EwQYAMPH.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +9 -10
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-J6TGZZb9.js → payment-provisioning-actions-DscyasDY.js} +18 -18
- package/dist/cjs/payment-provisioning-form-buttons_2.cjs.entry.js +52 -0
- package/dist/cjs/{payment.service-Dl9UExDw.js → payment.service-DC2FVlv-.js} +1 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +2 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{payout.service-kaFewwx4.js → payout.service-Bjbt6USA.js} +1 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +4 -5
- package/dist/cjs/{plaid.service-CK1ouCBC.js → plaid.service-C0ZgOkwL.js} +1 -2
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +3 -4
- package/dist/cjs/{terminal-orders-table-07fV7wGh.js → terminal-orders-table-j_IoYD-2.js} +1 -2
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-UUoIe0IR.js → terminal.service-YAuPfEGz.js} +1 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +2 -3
- package/dist/cjs/{utils-DvUQQLmR.js → utils-C4CgQd55.js} +4 -4
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/ApplePay.js +4 -0
- package/dist/collection/api/services/apple-pay.service.js +1 -0
- package/dist/collection/collection-manifest.json +0 -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/justifi-payment-provisioning.js +181 -10
- 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 +2 -2
- 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 +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-apple-pay.js +1 -0
- 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/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/payment-details-core.js +8 -8
- 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 +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- 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 +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- 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 +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
- 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 +11 -320
- package/dist/esm/{Analytics-C2EVi4Am.js → Analytics-Ds-ogIwt.js} +3 -4
- package/dist/esm/{Api-DI0-itk3.js → Api-BrYhtpEh.js} +1 -1
- package/dist/esm/{Plaid-vwPGZ5y4.js → Plaid-D40pFwwP.js} +36 -3
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/{additional-questions-form-step_9.entry.js → additional-questions-form-step_14.entry.js} +423 -35
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +2 -2
- package/dist/esm/bank-account-form.entry.js +5 -5
- package/dist/esm/bank-account-read-only-value.entry.js +13 -0
- package/dist/esm/{business.service-M3YvwC-d.js → business.service-Bt68Uk7V.js} +2 -3
- package/dist/esm/card-form.entry.js +5 -5
- package/dist/esm/{check-pkg-version-qIHmWcbI.js → check-pkg-version-Bd_MOwNP.js} +1 -1
- package/dist/esm/{checkout.service-DdIBmfsp.js → checkout.service-B7K5LRx2.js} +2 -3
- package/dist/esm/checkouts-list-core.entry.js +4 -5
- package/dist/esm/{checkouts-table-4iLy6mvH.js → checkouts-table-BXm9GGFI.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +2 -2
- package/dist/esm/{dispute.service-BzzA0DeT.js → dispute.service-BPA0V42p.js} +2 -3
- package/dist/esm/form-address-fields_3.entry.js +3 -3
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +3 -3
- package/dist/esm/form-control-file.entry.js +57 -0
- package/dist/esm/form-control-monetary.entry.js +3 -3
- package/dist/esm/form-control-number_3.entry.js +2 -2
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/form-control-select_2.entry.js +4 -4
- package/dist/esm/{get-business-BtJWpVs_.js → get-business-CijoB3Df.js} +2 -2
- package/dist/esm/{get-payment-details-CN7gUjBc.js → get-payment-details-B9JipaKX.js} +2 -3
- package/dist/esm/{get-payout-csv-D-Lnooki.js → get-payout-csv-CzWaTjoV.js} +2 -2
- package/dist/esm/{get-subaccounts-Mwx-aVcG.js → get-subaccounts-Dfo7wGVE.js} +3 -4
- package/dist/esm/gross-payment-chart-core.entry.js +2 -2
- package/dist/esm/hidden-input_2.entry.js +5 -5
- package/dist/esm/internal-button.entry.js +1 -1
- package/dist/esm/justifi-additional-statement_8.entry.js +8 -8
- package/dist/esm/justifi-apple-pay_11.entry.js +16 -15
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +7 -8
- package/dist/esm/justifi-bank-account-form.entry.js +7 -8
- 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 +10 -11
- package/dist/esm/justifi-business-form.entry.js +9 -10
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +7 -8
- package/dist/esm/justifi-checkout.entry.js +8 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -5
- package/dist/esm/justifi-checkouts-list.entry.js +11 -12
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +10 -11
- package/dist/esm/justifi-dispute-notification_3.entry.js +13 -14
- package/dist/esm/justifi-gross-payment-chart.entry.js +7 -8
- package/dist/esm/justifi-order-terminals.entry.js +11 -12
- package/dist/esm/justifi-payment-details.entry.js +10 -11
- package/dist/esm/justifi-payment-provisioning.entry.js +133 -17
- package/dist/esm/justifi-payment-transactions-list.entry.js +9 -10
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +10 -11
- package/dist/esm/justifi-payout-details.entry.js +9 -10
- package/dist/esm/justifi-payout-transactions-list.entry.js +9 -10
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -5
- package/dist/esm/justifi-payouts-list.entry.js +12 -13
- package/dist/esm/justifi-refund-payment.entry.js +9 -10
- package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -8
- package/dist/esm/justifi-skeleton.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -6
- package/dist/esm/justifi-terminal-orders-list.entry.js +9 -10
- package/dist/esm/justifi-terminals-list-filters.entry.js +3 -4
- package/dist/esm/justifi-terminals-list.entry.js +11 -12
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-CIYOQWsL.js → package-B5w1e9rb.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +10 -11
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment-provisioning-actions-CBvplwPf.js → payment-provisioning-actions-Bv2HP9Cx.js} +3 -3
- package/dist/esm/payment-provisioning-form-buttons_2.entry.js +49 -0
- package/dist/esm/{payment.service-0k8z2rOV.js → payment.service-J7iQtC5z.js} +2 -3
- package/dist/esm/payments-list-core.entry.js +4 -5
- package/dist/esm/{payments-table-Bz7LmU_J.js → payments-table-n1VrIKIR.js} +1 -1
- package/dist/esm/payout-details-core.entry.js +4 -4
- package/dist/esm/{payout.service-C14YvCWQ.js → payout.service-Dsz8f37z.js} +2 -3
- package/dist/esm/payouts-list-core.entry.js +4 -5
- package/dist/esm/{payouts-table-Bpt__avQ.js → payouts-table-CbzI90ci.js} +1 -1
- package/dist/esm/{plaid.service-Dtxfrsm8.js → plaid.service-D1nDrcPY.js} +2 -3
- package/dist/esm/radio-list-item.entry.js +1 -1
- package/dist/esm/save-new-payment-method.entry.js +1 -1
- package/dist/esm/table-filters-menu.entry.js +1 -1
- package/dist/esm/terminal-orders-list-core.entry.js +4 -5
- package/dist/esm/{terminal-orders-table-DRnRR4zn.js → terminal-orders-table-DlVbBgNh.js} +2 -3
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-rxvEhqqF.js → terminal.service-Sg45obrZ.js} +2 -3
- package/dist/esm/terminals-list-core.entry.js +4 -5
- package/dist/esm/{terminals-table-DSDZgJ77.js → terminals-table-Bja7MP5H.js} +1 -1
- package/dist/esm/{utils-C_8ZxLti.js → utils-De6tr4ug.js} +1 -1
- package/dist/esm/{utils-BeQLScSm.js → utils-jaFbbifV.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/ApplePay.js +4 -0
- package/dist/module/Business.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-representative-form-inputs2.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/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-monetary2.js +2 -2
- 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/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 +2 -0
- 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-form.js +1 -1
- 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 +1 -1
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +1 -1
- 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 +2 -2
- 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-header2.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +1 -1
- package/dist/module/justifi-order-terminals.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +182 -65
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-product-or-service2.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-shipping-details2.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/justifi-tokenize-payment-method2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- 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/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/radio-list-item2.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 +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +2 -2
- package/dist/module/utils2.js +1 -1
- package/dist/types/api/ApplePay.d.ts +3 -0
- package/dist/types/components/business-forms/payment-provisioning/justifi-payment-provisioning.d.ts +26 -4
- package/dist/types/components.d.ts +4 -51
- package/dist/webcomponents/p-0b95dd8f.entry.js +1 -0
- package/dist/webcomponents/p-0ee11ceb.entry.js +1 -0
- package/dist/webcomponents/p-15377f17.entry.js +1 -0
- package/dist/webcomponents/p-15dfb893.entry.js +1 -0
- package/dist/webcomponents/{p-6372a42a.entry.js → p-15f43759.entry.js} +1 -1
- package/dist/webcomponents/p-1628613b.entry.js +1 -0
- package/dist/webcomponents/p-17fb6153.entry.js +1 -0
- package/dist/webcomponents/p-18fc10ca.entry.js +1 -0
- package/dist/webcomponents/{p-90f2c769.entry.js → p-1b92fb9a.entry.js} +1 -1
- package/dist/webcomponents/p-1c54dc53.entry.js +1 -0
- package/dist/webcomponents/p-1f2129ec.entry.js +1 -0
- package/dist/webcomponents/p-1fe99fde.entry.js +1 -0
- package/dist/webcomponents/p-20b0f88b.entry.js +1 -0
- package/dist/webcomponents/p-257597f1.entry.js +1 -0
- package/dist/webcomponents/{p-b31c9979.entry.js → p-26c419f3.entry.js} +1 -1
- package/dist/webcomponents/p-2f71285a.entry.js +1 -0
- package/dist/webcomponents/p-30662daa.entry.js +1 -0
- package/dist/webcomponents/p-30f61950.entry.js +1 -0
- package/dist/webcomponents/{p-3d135aee.entry.js → p-39bb134c.entry.js} +1 -1
- package/dist/webcomponents/p-3O6JkTxx.js +1 -0
- package/dist/webcomponents/p-3c50f7aa.entry.js +1 -0
- package/dist/webcomponents/p-3c59fe06.entry.js +1 -0
- package/dist/webcomponents/p-3e74bd93.entry.js +1 -0
- package/dist/webcomponents/p-45212820.entry.js +1 -0
- package/dist/webcomponents/p-46d8145c.entry.js +1 -0
- package/dist/webcomponents/{p-9838b5a7.entry.js → p-4db2e291.entry.js} +1 -1
- package/dist/webcomponents/{p-c07069f1.entry.js → p-55e7e239.entry.js} +1 -1
- package/dist/webcomponents/p-58e811cc.entry.js +1 -0
- package/dist/webcomponents/{p-534881d8.entry.js → p-5d2bcf39.entry.js} +1 -1
- package/dist/webcomponents/p-6ae9b2c5.entry.js +1 -0
- package/dist/webcomponents/p-6ba76fc2.entry.js +1 -0
- package/dist/webcomponents/p-6e5ec134.entry.js +1 -0
- package/dist/webcomponents/p-707e1e27.entry.js +1 -0
- package/dist/webcomponents/p-70a7c529.entry.js +1 -0
- package/dist/webcomponents/p-71de86bf.entry.js +1 -0
- package/dist/webcomponents/p-799e1a2f.entry.js +1 -0
- package/dist/webcomponents/p-80a9216a.entry.js +1 -0
- package/dist/webcomponents/p-8d215ad8.entry.js +1 -0
- package/dist/webcomponents/p-8d5138d8.entry.js +1 -0
- package/dist/webcomponents/p-8d88556f.entry.js +1 -0
- package/dist/webcomponents/p-8dc0e73a.entry.js +1 -0
- package/dist/webcomponents/p-8e9407a1.entry.js +1 -0
- package/dist/webcomponents/p-90d106c7.entry.js +1 -0
- package/dist/webcomponents/{p-d667138d.entry.js → p-938e4dc8.entry.js} +1 -1
- package/dist/webcomponents/p-99f3e1e0.entry.js +1 -0
- package/dist/webcomponents/{p-534833ca.entry.js → p-9a00cde1.entry.js} +1 -1
- package/dist/webcomponents/{p-J7WCmj-J.js → p-B--wlcf0.js} +1 -1
- package/dist/webcomponents/p-B2OPgLr1.js +1 -0
- package/dist/webcomponents/p-B5w1e9rb.js +1 -0
- package/dist/webcomponents/p-BIiEPAAI.js +1 -0
- package/dist/webcomponents/p-BMdYr88u.js +1 -0
- package/dist/webcomponents/p-BisDKGW5.js +1 -0
- package/dist/webcomponents/p-BlW92We8.js +1 -0
- package/dist/webcomponents/{p-D2muobcE.js → p-C-Uj-u5r.js} +1 -1
- package/dist/webcomponents/{p-D2TJwp13.js → p-C6IaNDXe.js} +1 -1
- package/dist/webcomponents/{p-DL0R5vDy.js → p-C95_YBmG.js} +1 -1
- package/dist/webcomponents/p-CASlE7cE.js +1 -0
- package/dist/webcomponents/{p-CMB3sNMT.js → p-CEnTtUmd.js} +1 -1
- package/dist/webcomponents/{p-Bwzxu5wV.js → p-CSW_ZzE9.js} +1 -1
- package/dist/webcomponents/{p-MkDHT9M4.js → p-CTwm3w6I.js} +1 -1
- package/dist/webcomponents/p-ChUBhd2W.js +1 -0
- package/dist/webcomponents/p-CpPclqiT.js +1 -0
- package/dist/webcomponents/{p-D0BjjvYt.js → p-DKzki_Iz.js} +1 -1
- package/dist/webcomponents/p-DtDYtwHR.js +1 -0
- package/dist/webcomponents/p-ZiYybdMz.js +1 -0
- package/dist/webcomponents/p-a00ccf58.entry.js +1 -0
- package/dist/webcomponents/p-a511a246.entry.js +1 -0
- package/dist/webcomponents/p-a9edf63a.entry.js +1 -0
- package/dist/webcomponents/p-ad785edd.entry.js +1 -0
- package/dist/webcomponents/p-afe956d9.entry.js +1 -0
- package/dist/webcomponents/p-b822ab7e.entry.js +1 -0
- package/dist/webcomponents/{p-1c95ec74.entry.js → p-bbcaa5cc.entry.js} +2 -2
- package/dist/webcomponents/p-bd3f7117.entry.js +1 -0
- package/dist/webcomponents/{p-2bec5dca.entry.js → p-c499a613.entry.js} +1 -1
- package/dist/webcomponents/p-c4d50650.entry.js +1 -0
- package/dist/webcomponents/p-c7ecb7d3.entry.js +1 -0
- package/dist/webcomponents/p-ce8de71b.entry.js +1 -0
- package/dist/webcomponents/{p-252a4f75.entry.js → p-d072a65f.entry.js} +1 -1
- package/dist/webcomponents/{p-ea84c544.entry.js → p-d34f497c.entry.js} +1 -1
- package/dist/webcomponents/p-d791e38e.entry.js +1 -0
- package/dist/webcomponents/p-d8918d5a.entry.js +1 -0
- package/dist/webcomponents/{p-42129686.entry.js → p-de4c796a.entry.js} +1 -1
- package/dist/webcomponents/p-e204efea.entry.js +1 -0
- package/dist/webcomponents/p-e70602bd.entry.js +1 -0
- package/dist/webcomponents/p-e751e2c3.entry.js +1 -0
- package/dist/webcomponents/{p-744f57f0.entry.js → p-ef30afd5.entry.js} +1 -1
- package/dist/webcomponents/p-f7522364.entry.js +1 -0
- package/dist/webcomponents/p-fNBks3-O.js +1 -0
- package/dist/webcomponents/p-facdac1b.entry.js +1 -0
- package/dist/webcomponents/p-g6a7Gl9y.js +1 -0
- package/dist/webcomponents/p-lFx33NDk.js +1 -0
- package/dist/webcomponents/p-x7WGc-xR.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +14 -14
- package/LICENSE +0 -21
- package/dist/cjs/ComponentError-D4OLnOkg.js +0 -31
- package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +0 -525
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +0 -151
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +0 -353
- package/dist/esm/ComponentError-Cjcsf8ku.js +0 -31
- package/dist/esm/bank-account-document-form-inputs_9.entry.js +0 -515
- package/dist/esm/justifi-payment-provisioning-core.entry.js +0 -149
- package/dist/module/justifi-payment-provisioning-core.d.ts +0 -11
- package/dist/module/justifi-payment-provisioning-core.js +0 -6
- package/dist/module/payment-provisioning-core.js +0 -367
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +0 -43
- package/dist/webcomponents/p-08424d71.entry.js +0 -1
- package/dist/webcomponents/p-089bc927.entry.js +0 -1
- package/dist/webcomponents/p-0b7fa323.entry.js +0 -1
- package/dist/webcomponents/p-16ae88d0.entry.js +0 -1
- package/dist/webcomponents/p-179fe9a0.entry.js +0 -1
- package/dist/webcomponents/p-1a9aecbf.entry.js +0 -1
- package/dist/webcomponents/p-1d1c48c3.entry.js +0 -1
- package/dist/webcomponents/p-1da3ba0f.entry.js +0 -1
- package/dist/webcomponents/p-26062991.entry.js +0 -1
- package/dist/webcomponents/p-26074643.entry.js +0 -1
- package/dist/webcomponents/p-2719f4db.entry.js +0 -1
- package/dist/webcomponents/p-2a0ce169.entry.js +0 -1
- package/dist/webcomponents/p-2b8df3c0.entry.js +0 -1
- package/dist/webcomponents/p-358f7121.entry.js +0 -1
- package/dist/webcomponents/p-383798ab.entry.js +0 -1
- package/dist/webcomponents/p-485a8795.entry.js +0 -1
- package/dist/webcomponents/p-4d222f42.entry.js +0 -1
- package/dist/webcomponents/p-53dd8569.entry.js +0 -1
- package/dist/webcomponents/p-56d58041.entry.js +0 -1
- package/dist/webcomponents/p-61784c6a.entry.js +0 -1
- package/dist/webcomponents/p-7108eead.entry.js +0 -1
- package/dist/webcomponents/p-729c9798.entry.js +0 -1
- package/dist/webcomponents/p-7742cf61.entry.js +0 -1
- package/dist/webcomponents/p-774b69a0.entry.js +0 -1
- package/dist/webcomponents/p-77600a47.entry.js +0 -1
- package/dist/webcomponents/p-783580d4.entry.js +0 -1
- package/dist/webcomponents/p-83fd4eae.entry.js +0 -1
- package/dist/webcomponents/p-848ae146.entry.js +0 -1
- package/dist/webcomponents/p-865d4604.entry.js +0 -1
- package/dist/webcomponents/p-8Kt4Rhcq.js +0 -1
- package/dist/webcomponents/p-8c52d10a.entry.js +0 -1
- package/dist/webcomponents/p-8df335d4.entry.js +0 -1
- package/dist/webcomponents/p-9639d9d0.entry.js +0 -1
- package/dist/webcomponents/p-97d16844.entry.js +0 -1
- package/dist/webcomponents/p-B6sIVWJW.js +0 -1
- package/dist/webcomponents/p-BmEX2SfZ.js +0 -1
- package/dist/webcomponents/p-C1olhiO9.js +0 -1
- package/dist/webcomponents/p-CAl_N2gi.js +0 -1
- package/dist/webcomponents/p-CBqZge6m.js +0 -1
- package/dist/webcomponents/p-CIYOQWsL.js +0 -1
- package/dist/webcomponents/p-CMqX6btO.js +0 -1
- package/dist/webcomponents/p-CWv3GX8X.js +0 -1
- package/dist/webcomponents/p-Cjcsf8ku.js +0 -1
- package/dist/webcomponents/p-CmXujxGp.js +0 -1
- package/dist/webcomponents/p-DLmWCafe.js +0 -1
- package/dist/webcomponents/p-DYGIC0QH.js +0 -1
- package/dist/webcomponents/p-Dvcgmvfg.js +0 -1
- package/dist/webcomponents/p-MLfmcsbZ.js +0 -1
- package/dist/webcomponents/p-R0FDNhyd.js +0 -1
- package/dist/webcomponents/p-a53fae42.entry.js +0 -1
- package/dist/webcomponents/p-a5640aa4.entry.js +0 -1
- package/dist/webcomponents/p-b21e5a85.entry.js +0 -1
- package/dist/webcomponents/p-b2d7a9dd.entry.js +0 -1
- package/dist/webcomponents/p-b596cbb3.entry.js +0 -1
- package/dist/webcomponents/p-b7ffdb30.entry.js +0 -1
- package/dist/webcomponents/p-bac16c16.entry.js +0 -1
- package/dist/webcomponents/p-bb4cc829.entry.js +0 -1
- package/dist/webcomponents/p-bbdae5b7.entry.js +0 -1
- package/dist/webcomponents/p-c4da12e0.entry.js +0 -1
- package/dist/webcomponents/p-c5be6300.entry.js +0 -1
- package/dist/webcomponents/p-c63b8c8f.entry.js +0 -1
- package/dist/webcomponents/p-d6350138.entry.js +0 -1
- package/dist/webcomponents/p-d6c2d51d.entry.js +0 -1
- package/dist/webcomponents/p-def798df.entry.js +0 -1
- package/dist/webcomponents/p-e2650fe5.entry.js +0 -1
- package/dist/webcomponents/p-e4ba0754.entry.js +0 -1
- package/dist/webcomponents/p-e939affa.entry.js +0 -1
- package/dist/webcomponents/p-e9c20b52.entry.js +0 -1
- package/dist/webcomponents/p-rz2BF2Sz.js +0 -1
|
@@ -4,22 +4,21 @@ var index = require('./index-p7cvUYAE.js');
|
|
|
4
4
|
var parts = require('./parts-BXshb_S-.js');
|
|
5
5
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
6
6
|
require('./event-types-YOY5TKUN.js');
|
|
7
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
8
|
-
var Analytics = require('./Analytics-
|
|
9
|
-
var
|
|
10
|
-
var business_service = require('./business.service-
|
|
7
|
+
var checkPkgVersion = require('./check-pkg-version-DKEv2rPI.js');
|
|
8
|
+
var Analytics = require('./Analytics-DN1vWC6J.js');
|
|
9
|
+
var Plaid = require('./Plaid-6JK8xPnG.js');
|
|
10
|
+
var business_service = require('./business.service-XXjIL3rT.js');
|
|
11
11
|
var Business = require('./Business-oBifyXkW.js');
|
|
12
|
-
var getBusiness = require('./get-business-
|
|
12
|
+
var getBusiness = require('./get-business-Dk1gjO4B.js');
|
|
13
13
|
var skeleton = require('./skeleton-DvRCiQlA.js');
|
|
14
14
|
require('./config-state-BIgGhhe9.js');
|
|
15
15
|
require('./dinero-BwNN_k7x.js');
|
|
16
|
-
var Plaid = require('./Plaid-DR9WDZ98.js');
|
|
17
16
|
require('./Pagination-Dediz133.js');
|
|
18
17
|
require('./Dispute-CruQTF6_.js');
|
|
19
|
-
var utils = require('./utils-
|
|
20
|
-
var terminal_service = require('./terminal.service-
|
|
18
|
+
var utils = require('./utils-C4CgQd55.js');
|
|
19
|
+
var terminal_service = require('./terminal.service-YAuPfEGz.js');
|
|
21
20
|
var utils$1 = require('./utils-BHi4j5rB.js');
|
|
22
|
-
require('./package-
|
|
21
|
+
require('./package-EwQYAMPH.js');
|
|
23
22
|
require('./Api-Bukk55YZ.js');
|
|
24
23
|
require('./index-W-zoNiyM.js');
|
|
25
24
|
|
|
@@ -47,7 +46,7 @@ const makeGetTerminalModels = ({ id, authToken, service }) => async ({ onSuccess
|
|
|
47
46
|
return onError({
|
|
48
47
|
error: responseError,
|
|
49
48
|
code,
|
|
50
|
-
severity:
|
|
49
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
51
50
|
});
|
|
52
51
|
}
|
|
53
52
|
}
|
|
@@ -56,7 +55,7 @@ const makeGetTerminalModels = ({ id, authToken, service }) => async ({ onSuccess
|
|
|
56
55
|
return onError({
|
|
57
56
|
error: error.message || error,
|
|
58
57
|
code,
|
|
59
|
-
severity:
|
|
58
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
60
59
|
});
|
|
61
60
|
}
|
|
62
61
|
};
|
|
@@ -75,7 +74,7 @@ const makeOrderTerminals = ({ authToken, service, apiOrigin = "https://wc-proxy.
|
|
|
75
74
|
return onError({
|
|
76
75
|
error: responseError,
|
|
77
76
|
code,
|
|
78
|
-
severity:
|
|
77
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
79
78
|
});
|
|
80
79
|
}
|
|
81
80
|
}
|
|
@@ -84,7 +83,7 @@ const makeOrderTerminals = ({ authToken, service, apiOrigin = "https://wc-proxy.
|
|
|
84
83
|
return onError({
|
|
85
84
|
error: error.message || error,
|
|
86
85
|
code,
|
|
87
|
-
severity:
|
|
86
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
88
87
|
});
|
|
89
88
|
}
|
|
90
89
|
};
|
|
@@ -125,7 +124,7 @@ const JustifiOrderTerminals = class {
|
|
|
125
124
|
}
|
|
126
125
|
loadData() {
|
|
127
126
|
if (!this.businessId || !this.authToken) {
|
|
128
|
-
this.handleError("Invalid business id or auth token",
|
|
127
|
+
this.handleError("Invalid business id or auth token", Plaid.ComponentErrorCodes.MISSING_PROPS, Plaid.ComponentErrorSeverity.ERROR);
|
|
129
128
|
return;
|
|
130
129
|
}
|
|
131
130
|
this.initializeGetBusiness();
|
|
@@ -204,7 +203,7 @@ const JustifiOrderTerminals = class {
|
|
|
204
203
|
return (index.h("div", { class: "mt-3" }, index.h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), index.h("div", { class: "d-flex justify-content-end mt-3" }, index.h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: parts.buttonPrimary }, this.submitting ? 'Submitting...' : this.submitButtonText))));
|
|
205
204
|
}
|
|
206
205
|
render() {
|
|
207
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
206
|
+
return (index.h(styledHost.StyledHost, { key: '383551442ee3c73ff4df3ffcca06f9c98519ee1a' }, index.h("div", { key: 'acc977cf9e43949c0c33c25ee9a4d449c5ece404', part: parts.text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
208
207
|
}
|
|
209
208
|
};
|
|
210
209
|
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var payment_service = require('./payment.service-
|
|
5
|
-
var getPaymentDetails = require('./get-payment-details-
|
|
4
|
+
var payment_service = require('./payment.service-DC2FVlv-.js');
|
|
5
|
+
var getPaymentDetails = require('./get-payment-details-Cvi1hHGJ.js');
|
|
6
6
|
var utils = require('./utils-8RGQVADu.js');
|
|
7
|
-
var
|
|
8
|
-
var Analytics = require('./Analytics-
|
|
9
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
7
|
+
var Plaid = require('./Plaid-6JK8xPnG.js');
|
|
8
|
+
var Analytics = require('./Analytics-DN1vWC6J.js');
|
|
9
|
+
var checkPkgVersion = require('./check-pkg-version-DKEv2rPI.js');
|
|
10
10
|
require('./Api-Bukk55YZ.js');
|
|
11
11
|
require('./config-state-BIgGhhe9.js');
|
|
12
12
|
require('./index-W-zoNiyM.js');
|
|
13
13
|
require('./utils-BHi4j5rB.js');
|
|
14
14
|
require('./dinero-BwNN_k7x.js');
|
|
15
|
-
require('./Plaid-DR9WDZ98.js');
|
|
16
|
-
require('./Dispute-CruQTF6_.js');
|
|
17
15
|
require('./Pagination-Dediz133.js');
|
|
18
16
|
require('./Business-oBifyXkW.js');
|
|
19
|
-
require('./
|
|
17
|
+
require('./Dispute-CruQTF6_.js');
|
|
18
|
+
require('./utils-C4CgQd55.js');
|
|
20
19
|
require('./parts-BXshb_S-.js');
|
|
21
|
-
require('./package-
|
|
20
|
+
require('./package-EwQYAMPH.js');
|
|
22
21
|
|
|
23
22
|
const JustifiPaymentDetails = class {
|
|
24
23
|
constructor(hostRef) {
|
|
@@ -63,8 +62,8 @@ const JustifiPaymentDetails = class {
|
|
|
63
62
|
this.errorMessage = 'Payment ID and Auth Token are required';
|
|
64
63
|
this.errorEvent.emit({
|
|
65
64
|
message: this.errorMessage,
|
|
66
|
-
errorCode:
|
|
67
|
-
severity:
|
|
65
|
+
errorCode: Plaid.ComponentErrorCodes.MISSING_PROPS,
|
|
66
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
68
67
|
});
|
|
69
68
|
}
|
|
70
69
|
}
|
|
@@ -1,22 +1,28 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var Analytics = require('./Analytics-
|
|
5
|
-
var
|
|
6
|
-
var paymentProvisioningActions = require('./payment-provisioning-actions-
|
|
7
|
-
var business_service = require('./business.service-
|
|
4
|
+
var Analytics = require('./Analytics-DN1vWC6J.js');
|
|
5
|
+
var Plaid = require('./Plaid-6JK8xPnG.js');
|
|
6
|
+
var paymentProvisioningActions = require('./payment-provisioning-actions-DscyasDY.js');
|
|
7
|
+
var business_service = require('./business.service-XXjIL3rT.js');
|
|
8
8
|
var Api = require('./Api-Bukk55YZ.js');
|
|
9
|
-
require('./Plaid-DR9WDZ98.js');
|
|
10
9
|
require('./Pagination-Dediz133.js');
|
|
11
|
-
require('./Business-oBifyXkW.js');
|
|
10
|
+
var Business = require('./Business-oBifyXkW.js');
|
|
12
11
|
require('./Dispute-CruQTF6_.js');
|
|
13
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
12
|
+
var checkPkgVersion = require('./check-pkg-version-DKEv2rPI.js');
|
|
14
13
|
var utils = require('./utils-BHi4j5rB.js');
|
|
15
|
-
require('./
|
|
16
|
-
require('./
|
|
14
|
+
var parts = require('./parts-BXshb_S-.js');
|
|
15
|
+
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
16
|
+
var header1 = require('./header-1-CsBQoo1f.js');
|
|
17
|
+
require('./event-types-YOY5TKUN.js');
|
|
18
|
+
var eventTypes = require('./event-types-DNOUef41.js');
|
|
19
|
+
var paymentProvisioningLoading = require('./payment-provisioning-loading-tM9WWmxv.js');
|
|
20
|
+
require('./package-EwQYAMPH.js');
|
|
21
|
+
require('./utils-C4CgQd55.js');
|
|
17
22
|
require('./config-state-BIgGhhe9.js');
|
|
18
23
|
require('./index-W-zoNiyM.js');
|
|
19
24
|
require('./dinero-BwNN_k7x.js');
|
|
25
|
+
require('./skeleton-DvRCiQlA.js');
|
|
20
26
|
|
|
21
27
|
const api = Api.Api();
|
|
22
28
|
class ProvisionService {
|
|
@@ -30,57 +36,167 @@ class ProvisionService {
|
|
|
30
36
|
}
|
|
31
37
|
}
|
|
32
38
|
|
|
39
|
+
const PaymentProvisioningAlreadyProvisioned = () => {
|
|
40
|
+
return (index.h("div", { class: "row gap-3 p-5" }, index.h("div", { class: "col-12" }, index.h(header1.Header1, { text: "Business Already Provisioned" })), index.h("div", { class: "col-12", part: parts.text }, index.h("p", null, "We have already received the onboarding information for this business."))));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
const PaymentProvisioningSubmissionComplete = () => {
|
|
44
|
+
return (index.h("div", { class: "row gap-3 p5" }, index.h("div", { class: "col-12" }, index.h(header1.Header1, { text: "You're all set for now" })), index.h("div", { class: "col-12", part: parts.text }, index.h("p", null, "We're reviewing your information and working on your approval. We'll be in touch to let you know once you've been approved (or if we find anything that needs fixing). Have a good one!"))));
|
|
45
|
+
};
|
|
46
|
+
|
|
33
47
|
const JustifiPaymentProvisioning = class {
|
|
34
48
|
constructor(hostRef) {
|
|
35
49
|
index.registerInstance(this, hostRef);
|
|
50
|
+
this.clickEvent = index.createEvent(this, "click-event", 7);
|
|
36
51
|
this.errorEvent = index.createEvent(this, "error-event", 7);
|
|
52
|
+
this.submitEvent = index.createEvent(this, "submit-event", 7);
|
|
53
|
+
this.loading = false;
|
|
54
|
+
this.businessLoading = true;
|
|
55
|
+
this.businessProvisioned = false;
|
|
56
|
+
this.formSubmitted = false;
|
|
57
|
+
this.currentStep = 0;
|
|
58
|
+
this.country = Business.CountryCode.USA;
|
|
37
59
|
this.allowOptionalFields = false;
|
|
38
60
|
this.formTitle = 'Business Information';
|
|
61
|
+
this.refs = [];
|
|
62
|
+
this.setBusinessProvisioned = () => {
|
|
63
|
+
return new Promise((resolve) => {
|
|
64
|
+
this.getBusiness({
|
|
65
|
+
onSuccess: (response) => {
|
|
66
|
+
const business = new Business.Business(response.data);
|
|
67
|
+
this.businessProvisioned = Business.checkProvisioningStatus(business);
|
|
68
|
+
this.country = business.country_of_establishment;
|
|
69
|
+
if (this.businessProvisioned) {
|
|
70
|
+
this.errorEvent.emit({
|
|
71
|
+
message: 'A request to provision payments for this business has already been submitted.',
|
|
72
|
+
errorCode: Plaid.ComponentErrorCodes.PROVISIONING_REQUESTED,
|
|
73
|
+
severity: Plaid.ComponentErrorSeverity.INFO,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
this.businessLoading = false;
|
|
77
|
+
resolve();
|
|
78
|
+
},
|
|
79
|
+
onError: ({ error, code, severity }) => {
|
|
80
|
+
this.errorEvent.emit({
|
|
81
|
+
message: error,
|
|
82
|
+
errorCode: code,
|
|
83
|
+
severity: severity,
|
|
84
|
+
});
|
|
85
|
+
this.businessLoading = false;
|
|
86
|
+
resolve();
|
|
87
|
+
},
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
};
|
|
91
|
+
this.postProvisioningData = () => {
|
|
92
|
+
this.postProvisioning({
|
|
93
|
+
onSuccess: (response) => {
|
|
94
|
+
this.formSubmitted = true;
|
|
95
|
+
this.submitEvent.emit({ response: response });
|
|
96
|
+
},
|
|
97
|
+
onError: ({ error, code, severity }) => {
|
|
98
|
+
this.submitEvent.emit({ response: { error } });
|
|
99
|
+
this.errorEvent.emit({
|
|
100
|
+
message: error,
|
|
101
|
+
errorCode: code,
|
|
102
|
+
severity: severity,
|
|
103
|
+
});
|
|
104
|
+
},
|
|
105
|
+
});
|
|
106
|
+
};
|
|
107
|
+
this.incrementSteps = () => {
|
|
108
|
+
if (this.currentStep < this.totalSteps) {
|
|
109
|
+
return this.currentStep++;
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
this.decrementSteps = () => {
|
|
113
|
+
return this.currentStep--;
|
|
114
|
+
};
|
|
115
|
+
this.previousStepButtonOnClick = () => {
|
|
116
|
+
this.clickEvent.emit({ name: eventTypes.BusinessFormClickActions.previousStep });
|
|
117
|
+
this.decrementSteps();
|
|
118
|
+
};
|
|
119
|
+
this.nextStepButtonOnClick = (e, clickEventName) => {
|
|
120
|
+
e.preventDefault();
|
|
121
|
+
this.clickEvent.emit({ name: clickEventName });
|
|
122
|
+
const currentStep = this.refs[this.currentStep];
|
|
123
|
+
currentStep.validateAndSubmit({ onSuccess: this.incrementSteps });
|
|
124
|
+
};
|
|
39
125
|
}
|
|
40
126
|
propChanged() {
|
|
41
127
|
this.initializeApi();
|
|
42
128
|
}
|
|
43
|
-
|
|
129
|
+
handleFormCompleted() {
|
|
130
|
+
this.postProvisioningData();
|
|
131
|
+
}
|
|
132
|
+
handleFormLoading(event) {
|
|
133
|
+
this.loading = event.detail;
|
|
134
|
+
}
|
|
135
|
+
async componentWillLoad() {
|
|
44
136
|
checkPkgVersion.checkPkgVersion();
|
|
45
137
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
46
138
|
this.initializeApi();
|
|
139
|
+
if (this.getBusiness) {
|
|
140
|
+
await this.setBusinessProvisioned();
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
this.businessLoading = false;
|
|
144
|
+
}
|
|
145
|
+
this.refs = new Array(7);
|
|
47
146
|
}
|
|
48
147
|
disconnectedCallback() {
|
|
49
148
|
var _a;
|
|
50
149
|
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
51
150
|
}
|
|
52
|
-
;
|
|
53
151
|
initializeApi() {
|
|
54
152
|
if (!this.authToken || !this.businessId) {
|
|
55
153
|
this.errorEvent.emit({
|
|
56
154
|
message: 'auth-token and business-id are required',
|
|
57
|
-
errorCode:
|
|
58
|
-
severity:
|
|
155
|
+
errorCode: Plaid.ComponentErrorCodes.MISSING_PROPS,
|
|
156
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
59
157
|
});
|
|
60
158
|
return;
|
|
61
159
|
}
|
|
62
160
|
if (utils.isTokenExpired(this.authToken)) {
|
|
63
161
|
this.errorEvent.emit({
|
|
64
162
|
message: 'auth-token is expired',
|
|
65
|
-
errorCode:
|
|
66
|
-
severity:
|
|
163
|
+
errorCode: Plaid.ComponentErrorCodes.NOT_AUTHENTICATED,
|
|
164
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
67
165
|
});
|
|
68
166
|
return;
|
|
69
167
|
}
|
|
70
168
|
this.getBusiness = paymentProvisioningActions.makeGetBusiness({
|
|
71
169
|
authToken: this.authToken,
|
|
72
170
|
businessId: this.businessId,
|
|
73
|
-
service: new business_service.BusinessService()
|
|
171
|
+
service: new business_service.BusinessService(),
|
|
74
172
|
});
|
|
75
173
|
this.postProvisioning = paymentProvisioningActions.makePostProvisioning({
|
|
76
174
|
authToken: this.authToken,
|
|
77
175
|
businessId: this.businessId,
|
|
78
176
|
product: 'payment',
|
|
79
|
-
service: new ProvisionService()
|
|
177
|
+
service: new ProvisionService(),
|
|
80
178
|
});
|
|
81
179
|
}
|
|
180
|
+
get formDisabled() {
|
|
181
|
+
return this.loading || this.businessProvisioned;
|
|
182
|
+
}
|
|
183
|
+
get totalSteps() {
|
|
184
|
+
return this.refs.length - 1;
|
|
185
|
+
}
|
|
186
|
+
get stepCounter() {
|
|
187
|
+
return `Step ${this.currentStep + 1} of ${this.totalSteps + 1}`;
|
|
188
|
+
}
|
|
82
189
|
render() {
|
|
83
|
-
|
|
190
|
+
if (this.businessLoading) {
|
|
191
|
+
return (index.h(styledHost.StyledHost, null, index.h(paymentProvisioningLoading.PaymentProvisioningLoading, null)));
|
|
192
|
+
}
|
|
193
|
+
if (this.businessProvisioned) {
|
|
194
|
+
return (index.h(styledHost.StyledHost, null, index.h(PaymentProvisioningAlreadyProvisioned, null)));
|
|
195
|
+
}
|
|
196
|
+
if (this.formSubmitted) {
|
|
197
|
+
return (index.h(styledHost.StyledHost, null, index.h(PaymentProvisioningSubmissionComplete, null)));
|
|
198
|
+
}
|
|
199
|
+
return (index.h(styledHost.StyledHost, null, index.h("div", { class: "row gap-3" }, index.h(header1.Header1, { text: this.formTitle }), index.h("payment-provisioning-form-steps", { businessId: this.businessId, authToken: this.authToken, refs: this.refs, currentStep: this.currentStep, allowOptionalFields: this.allowOptionalFields, country: this.country, handleFormLoading: this.handleFormLoading }), index.h("div", { class: "d-flex justify-content-between align-items-center" }, index.h("div", { class: "d-flex align-items-center", part: parts.text }, this.stepCounter), index.h("payment-provisioning-form-buttons", { currentStep: this.currentStep, totalSteps: this.totalSteps, formLoading: this.loading, formDisabled: this.formDisabled, previousStepButtonOnClick: this.previousStepButtonOnClick, nextStepButtonOnClick: this.nextStepButtonOnClick })))));
|
|
84
200
|
}
|
|
85
201
|
static get watchers() { return {
|
|
86
202
|
"authToken": ["propChanged"],
|
|
@@ -3,22 +3,21 @@
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
require('./config-state-BIgGhhe9.js');
|
|
5
5
|
require('./dinero-BwNN_k7x.js');
|
|
6
|
-
var
|
|
7
|
-
var Plaid = require('./Plaid-DR9WDZ98.js');
|
|
6
|
+
var Plaid = require('./Plaid-6JK8xPnG.js');
|
|
8
7
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
9
8
|
require('./Business-oBifyXkW.js');
|
|
10
9
|
require('./Dispute-CruQTF6_.js');
|
|
11
|
-
var Analytics = require('./Analytics-
|
|
12
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
13
|
-
var utils = require('./utils-
|
|
14
|
-
var payment_service = require('./payment.service-
|
|
10
|
+
var Analytics = require('./Analytics-DN1vWC6J.js');
|
|
11
|
+
var checkPkgVersion = require('./check-pkg-version-DKEv2rPI.js');
|
|
12
|
+
var utils = require('./utils-C4CgQd55.js');
|
|
13
|
+
var payment_service = require('./payment.service-DC2FVlv-.js');
|
|
15
14
|
var table = require('./table-DjbNv28p.js');
|
|
16
15
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
17
16
|
var eventTypes = require('./event-types-YOY5TKUN.js');
|
|
18
17
|
var utils$1 = require('./utils-BHi4j5rB.js');
|
|
19
18
|
var parts = require('./parts-BXshb_S-.js');
|
|
20
19
|
require('./index-W-zoNiyM.js');
|
|
21
|
-
require('./package-
|
|
20
|
+
require('./package-EwQYAMPH.js');
|
|
22
21
|
require('./Api-Bukk55YZ.js');
|
|
23
22
|
require('./spinner-C6ZGOB2P.js');
|
|
24
23
|
|
|
@@ -37,7 +36,7 @@ const makeGetPaymentTransactions = ({ id, authToken, service }) => async ({ para
|
|
|
37
36
|
onError({
|
|
38
37
|
error: responseError,
|
|
39
38
|
code,
|
|
40
|
-
severity:
|
|
39
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
41
40
|
});
|
|
42
41
|
}
|
|
43
42
|
}
|
|
@@ -46,7 +45,7 @@ const makeGetPaymentTransactions = ({ id, authToken, service }) => async ({ para
|
|
|
46
45
|
onError({
|
|
47
46
|
error: utils.getErrorMessage(error),
|
|
48
47
|
code,
|
|
49
|
-
severity:
|
|
48
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
50
49
|
});
|
|
51
50
|
}
|
|
52
51
|
finally {
|
|
@@ -171,7 +170,7 @@ const JustifiPaymentTransactionsList = class {
|
|
|
171
170
|
}
|
|
172
171
|
else {
|
|
173
172
|
this.errorMessage = 'payment-id and auth-token props are required';
|
|
174
|
-
this.handleError(
|
|
173
|
+
this.handleError(Plaid.ComponentErrorCodes.MISSING_PROPS, this.errorMessage, Plaid.ComponentErrorSeverity.ERROR);
|
|
175
174
|
}
|
|
176
175
|
}
|
|
177
176
|
get entityId() {
|
|
@@ -187,7 +186,7 @@ const JustifiPaymentTransactionsList = class {
|
|
|
187
186
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
188
187
|
}
|
|
189
188
|
render() {
|
|
190
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
189
|
+
return (index.h(styledHost.StyledHost, { key: 'e37b6e324069ec5ecac70b34058d476c661d36e3' }, index.h(table.TableWrapper, { key: 'cd7291ea2f1ce756fd90c877ad9378f0323ac8ca' }, index.h(table.TableComponent, { key: '52daba4c8aa7a918a5d126b64912d6784324a5a8' }, index.h(table.TableHead, { key: 'b73c79df19722ad10de0ce5f604dbdb7ccb7cdda' }, index.h(table.TableHeadRow, { key: '7ca076370634e96a8b356a10acea69d9e80bd482' }, this.transactionsTable.columnData.map((column) => column))), index.h(table.TableBody, { key: '52c751a3204c0df4829eaf9d60efaa64e2c9c09c' }, index.h(table.TableLoadingState, { key: 'f23c6b0f585cf2bf1a62d75c6b652941a4cad9fd', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), index.h(table.TableEmptyState, { key: '283c12b30f62396e3cf551360b7dc3a1e2079d03', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), index.h(table.TableErrorState, { key: '02501dfbb91e079b6eecc0260104f6b02a62b6d3', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index$1) => (index.h(table.TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h(table.TableFoot, { key: '2465201b12d25fbe1c8d7f23a5178b2b1aaa9896' }, index.h(table.TableFootRow, { key: '98b72bb125ba8db7d879cfd10bdeb3b2d7566951' }, index.h(table.TableFootCell, { key: '7f9c06cc8e60fa0e848db2fa9f2cfff465254a7b', colSpan: this.transactionsTable.columnData.length }, index.h("pagination-menu", { key: '14a74894ca178e16c627c7d0b8ced3ade5a7a5cb', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
191
190
|
}
|
|
192
191
|
static get watchers() { return {
|
|
193
192
|
"pagingParams": ["propChanged"],
|
|
@@ -62,8 +62,8 @@ const JustifiPaymentsListFilters = class {
|
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
64
|
const filterMenuParams = Object.assign({}, paymentsListParamsState.filterParams);
|
|
65
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
66
|
-
utils.convertToLocal(paymentsListParamsState.filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: parts.filterParam })), index.h("div", { key: '
|
|
65
|
+
return (index.h(styledHost.StyledHost, { key: '207e63a2da8b81ab308d51a2253d68296c92cc25' }, index.h("table-filters-menu", { key: 'cbac700ee156ab458ecf0d3f247daf47f312b22f', params: filterMenuParams, clearParams: paymentsListParamsState.clearParams, part: parts.filterMenu }, index.h("div", { key: 'f30ae88dbbf58d82f9346b5446162cb7bc9eb941', class: "grid-cols-2 gap-3 p-1" }, index.h("div", { key: 'b145a12bbf125e21cd7a509af7f8f469b0b12632', class: "p-2" }, index.h("form-control-text", { key: 'ca232fee8aae5b9dde54d0d1aeb434b94bc9f051', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || paymentsListParamsState.filterParams.payment_id, disabled: !!this.paymentId, part: parts.filterParam })), index.h("div", { key: 'bdb153b7aa40dae43cf263a570a64e2bc2864ec8', class: "p-2" }, index.h("form-control-text", { key: '5c51c88a7233d06a6b3614b244d2185eb1aba840', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || paymentsListParamsState.filterParams.terminal_id, disabled: !!this.terminalId, part: parts.filterParam })), index.h("div", { key: '67039d13a6c999feeb93ae79ca1ad822869e15de', class: "p-2" }, index.h("form-control-select", { key: '18e5d4e0dab9b2127a5308e7b0f5b689e68caead', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || paymentsListParamsState.filterParams.payment_status || '', disabled: !!this.paymentStatus, part: parts.filterParam })), index.h("div", { key: 'f4af14ee692a80e7d8ccdd0a35375d70035ee542', class: "p-2" }, index.h("form-control-select", { key: 'fa9600ca81d8ad37bea6f1c665853c6faa439b75', name: "payment_mode", label: "Payment Mode", options: this.paymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || paymentsListParamsState.filterParams.payment_mode || '', disabled: !!this.paymentMode, part: parts.filterParam })), index.h("div", { key: '6daa2ccec1eedd117b5d71c3d6bf25f02aea1801', class: "p-2" }, index.h("form-control-text", { key: '27fabe15bcc2c3b9fe1694c6a637523c5676eee4', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || paymentsListParamsState.filterParams.checkout_id, disabled: !!this.checkoutId, part: parts.filterParam })), index.h("div", { key: 'edbf45a5e54a3968eb6b12ece0084cfdad166b2a', class: "p-2" }, index.h("form-control-text", { key: 'fe1c023959280bf3e8ea087d8bd1f9fb63800637', name: "account_holder", label: "Account Holder", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.accountHolder || paymentsListParamsState.filterParams.account_holder, disabled: !!this.accountHolder, part: parts.filterParam })), index.h("div", { key: '73851511ecefbca4abfae459284571c077f4aef2', class: "p-2" }, index.h("form-control-date", { key: 'c0f34a0eded3ed2b941fdb1ec6f62d73d4d3e86b', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: utils.convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
66
|
+
utils.convertToLocal(paymentsListParamsState.filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: parts.filterParam })), index.h("div", { key: '98441cb89498d7e7174fac584b48d05eafd43cce', class: "p-2" }, index.h("form-control-date", { key: '56cb9cd19f1cf5534b168da26d96100608859bd7', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: utils.convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
67
67
|
utils.convertToLocal(paymentsListParamsState.filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: parts.filterParam }))))));
|
|
68
68
|
}
|
|
69
69
|
};
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var payment_service = require('./payment.service-
|
|
4
|
+
var payment_service = require('./payment.service-DC2FVlv-.js');
|
|
5
5
|
require('./config-state-BIgGhhe9.js');
|
|
6
6
|
require('./dinero-BwNN_k7x.js');
|
|
7
|
-
var
|
|
8
|
-
var Plaid = require('./Plaid-DR9WDZ98.js');
|
|
7
|
+
var Plaid = require('./Plaid-6JK8xPnG.js');
|
|
9
8
|
require('./Pagination-Dediz133.js');
|
|
10
9
|
require('./Business-oBifyXkW.js');
|
|
11
10
|
require('./Dispute-CruQTF6_.js');
|
|
12
|
-
var utils = require('./utils-
|
|
13
|
-
var Analytics = require('./Analytics-
|
|
14
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
11
|
+
var utils = require('./utils-C4CgQd55.js');
|
|
12
|
+
var Analytics = require('./Analytics-DN1vWC6J.js');
|
|
13
|
+
var checkPkgVersion = require('./check-pkg-version-DKEv2rPI.js');
|
|
15
14
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
16
15
|
require('./event-types-YOY5TKUN.js');
|
|
17
16
|
var paymentsTable = require('./payments-table-CUxpxNnc.js');
|
|
18
17
|
require('./Api-Bukk55YZ.js');
|
|
19
18
|
require('./utils-BHi4j5rB.js');
|
|
20
19
|
require('./index-W-zoNiyM.js');
|
|
21
|
-
require('./package-
|
|
20
|
+
require('./package-EwQYAMPH.js');
|
|
22
21
|
require('./payments-status-Bj_bCKUP.js');
|
|
23
22
|
require('./badge-GBNtUypt.js');
|
|
24
23
|
require('./parts-BXshb_S-.js');
|
|
@@ -38,7 +37,7 @@ const makeGetPayments = ({ id, authToken, service }) => async ({ params, onSucce
|
|
|
38
37
|
return onError({
|
|
39
38
|
error: responseError,
|
|
40
39
|
code,
|
|
41
|
-
severity:
|
|
40
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
42
41
|
});
|
|
43
42
|
}
|
|
44
43
|
}
|
|
@@ -47,7 +46,7 @@ const makeGetPayments = ({ id, authToken, service }) => async ({ params, onSucce
|
|
|
47
46
|
return onError({
|
|
48
47
|
error: error.message || error,
|
|
49
48
|
code,
|
|
50
|
-
severity:
|
|
49
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
51
50
|
});
|
|
52
51
|
}
|
|
53
52
|
finally {
|
|
@@ -90,14 +89,14 @@ const JustifiPaymentsList = class {
|
|
|
90
89
|
else {
|
|
91
90
|
this.errorMessage = 'Account ID and Auth Token are required';
|
|
92
91
|
this.errorEvent.emit({
|
|
93
|
-
errorCode:
|
|
92
|
+
errorCode: Plaid.ComponentErrorCodes.MISSING_PROPS,
|
|
94
93
|
message: this.errorMessage,
|
|
95
|
-
severity:
|
|
94
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
96
95
|
});
|
|
97
96
|
}
|
|
98
97
|
}
|
|
99
98
|
render() {
|
|
100
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
99
|
+
return (index.h(styledHost.StyledHost, { key: '1eb44d7abbd8ad6964538435786007fcd1792b41' }, index.h("payments-list-core", { key: '6e178dfa35e107c2d0653a9fc1e0d1247ef99bb0', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
101
100
|
}
|
|
102
101
|
static get watchers() { return {
|
|
103
102
|
"accountId": ["propChanged"],
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
|
-
var payout_service = require('./payout.service-
|
|
4
|
+
var payout_service = require('./payout.service-Bjbt6USA.js');
|
|
5
5
|
require('./config-state-BIgGhhe9.js');
|
|
6
6
|
require('./dinero-BwNN_k7x.js');
|
|
7
|
-
var
|
|
8
|
-
var Plaid = require('./Plaid-DR9WDZ98.js');
|
|
7
|
+
var Plaid = require('./Plaid-6JK8xPnG.js');
|
|
9
8
|
require('./Pagination-Dediz133.js');
|
|
10
9
|
require('./Business-oBifyXkW.js');
|
|
11
10
|
require('./Dispute-CruQTF6_.js');
|
|
12
|
-
var utils = require('./utils-
|
|
11
|
+
var utils = require('./utils-C4CgQd55.js');
|
|
13
12
|
var utils$1 = require('./utils-8RGQVADu.js');
|
|
14
|
-
var Analytics = require('./Analytics-
|
|
15
|
-
var getPayoutCsv = require('./get-payout-csv-
|
|
16
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
13
|
+
var Analytics = require('./Analytics-DN1vWC6J.js');
|
|
14
|
+
var getPayoutCsv = require('./get-payout-csv-CFsWBUNg.js');
|
|
15
|
+
var checkPkgVersion = require('./check-pkg-version-DKEv2rPI.js');
|
|
17
16
|
require('./Api-Bukk55YZ.js');
|
|
18
17
|
require('./utils-BHi4j5rB.js');
|
|
19
18
|
require('./index-W-zoNiyM.js');
|
|
20
19
|
require('./parts-BXshb_S-.js');
|
|
21
|
-
require('./package-
|
|
20
|
+
require('./package-EwQYAMPH.js');
|
|
22
21
|
|
|
23
22
|
const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
24
23
|
var _a;
|
|
@@ -34,7 +33,7 @@ const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess,
|
|
|
34
33
|
onError({
|
|
35
34
|
error: errorMessage,
|
|
36
35
|
code,
|
|
37
|
-
severity:
|
|
36
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
38
37
|
});
|
|
39
38
|
}
|
|
40
39
|
}
|
|
@@ -44,7 +43,7 @@ const makeGetPayoutDetails = ({ id, authToken, service }) => async ({ onSuccess,
|
|
|
44
43
|
onError({
|
|
45
44
|
error: errorMessage,
|
|
46
45
|
code,
|
|
47
|
-
severity:
|
|
46
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
48
47
|
});
|
|
49
48
|
}
|
|
50
49
|
};
|
|
@@ -89,8 +88,8 @@ const JustifiPayoutDetails = class {
|
|
|
89
88
|
this.errorMessage = 'Failed to load payout details. payoutId or authToken is not provided.';
|
|
90
89
|
this.errorEvent.emit({
|
|
91
90
|
message: this.errorMessage,
|
|
92
|
-
errorCode:
|
|
93
|
-
severity:
|
|
91
|
+
errorCode: Plaid.ComponentErrorCodes.MISSING_PROPS,
|
|
92
|
+
severity: Plaid.ComponentErrorSeverity.ERROR
|
|
94
93
|
});
|
|
95
94
|
}
|
|
96
95
|
}
|
|
@@ -3,22 +3,21 @@
|
|
|
3
3
|
var index = require('./index-p7cvUYAE.js');
|
|
4
4
|
var configState = require('./config-state-BIgGhhe9.js');
|
|
5
5
|
require('./dinero-BwNN_k7x.js');
|
|
6
|
-
var
|
|
7
|
-
var Plaid = require('./Plaid-DR9WDZ98.js');
|
|
6
|
+
var Plaid = require('./Plaid-6JK8xPnG.js');
|
|
8
7
|
var Pagination = require('./Pagination-Dediz133.js');
|
|
9
8
|
require('./Business-oBifyXkW.js');
|
|
10
9
|
require('./Dispute-CruQTF6_.js');
|
|
11
|
-
var Analytics = require('./Analytics-
|
|
12
|
-
var checkPkgVersion = require('./check-pkg-version-
|
|
13
|
-
var utils = require('./utils-
|
|
14
|
-
var payout_service = require('./payout.service-
|
|
10
|
+
var Analytics = require('./Analytics-DN1vWC6J.js');
|
|
11
|
+
var checkPkgVersion = require('./check-pkg-version-DKEv2rPI.js');
|
|
12
|
+
var utils = require('./utils-C4CgQd55.js');
|
|
13
|
+
var payout_service = require('./payout.service-Bjbt6USA.js');
|
|
15
14
|
var table = require('./table-DjbNv28p.js');
|
|
16
15
|
var styledHost = require('./styled-host-DAi5SuFa.js');
|
|
17
16
|
var eventTypes = require('./event-types-YOY5TKUN.js');
|
|
18
17
|
var utils$1 = require('./utils-BHi4j5rB.js');
|
|
19
18
|
var parts = require('./parts-BXshb_S-.js');
|
|
20
19
|
require('./index-W-zoNiyM.js');
|
|
21
|
-
require('./package-
|
|
20
|
+
require('./package-EwQYAMPH.js');
|
|
22
21
|
require('./Api-Bukk55YZ.js');
|
|
23
22
|
require('./spinner-C6ZGOB2P.js');
|
|
24
23
|
|
|
@@ -37,7 +36,7 @@ const makeGetPayoutTransactions = ({ accountId, authToken, service }) => async (
|
|
|
37
36
|
onError({
|
|
38
37
|
error: responseError,
|
|
39
38
|
code,
|
|
40
|
-
severity:
|
|
39
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
41
40
|
});
|
|
42
41
|
}
|
|
43
42
|
}
|
|
@@ -46,7 +45,7 @@ const makeGetPayoutTransactions = ({ accountId, authToken, service }) => async (
|
|
|
46
45
|
onError({
|
|
47
46
|
error: utils.getErrorMessage(error),
|
|
48
47
|
code,
|
|
49
|
-
severity:
|
|
48
|
+
severity: Plaid.ComponentErrorSeverity.ERROR,
|
|
50
49
|
});
|
|
51
50
|
}
|
|
52
51
|
finally {
|
|
@@ -169,7 +168,7 @@ const JustifiPayoutTransactionsList = class {
|
|
|
169
168
|
}
|
|
170
169
|
else {
|
|
171
170
|
this.errorMessage = 'payout-id and auth-token props are required';
|
|
172
|
-
this.handleError(
|
|
171
|
+
this.handleError(Plaid.ComponentErrorCodes.MISSING_PROPS, this.errorMessage, Plaid.ComponentErrorSeverity.ERROR);
|
|
173
172
|
}
|
|
174
173
|
}
|
|
175
174
|
get entityId() {
|
|
@@ -188,7 +187,7 @@ const JustifiPayoutTransactionsList = class {
|
|
|
188
187
|
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
189
188
|
}
|
|
190
189
|
render() {
|
|
191
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
190
|
+
return (index.h(styledHost.StyledHost, { key: '11a6336fb75a4286c102b935c7b175ce69c21521' }, index.h(table.TableWrapper, { key: '86f55e7840af3698d87965f638d7871d894110ec' }, index.h(table.TableComponent, { key: '2551d91ac0085cb5c0b15de9b3929b3dea004645' }, index.h(table.TableHead, { key: '97b793a3fb5f076618566253298bf315b67f0cdd' }, index.h(table.TableHeadRow, { key: '817fa7f9950e56a76661e8ff987c5c7035244907' }, this.transactionsTable.columnData.map((column) => column))), index.h(table.TableBody, { key: '367eb4f20acc3dc9a59dfb0389f296d687380e1b' }, index.h(table.TableLoadingState, { key: '594684a6762fd79fc797b195d5f6d296e893fd10', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), index.h(table.TableEmptyState, { key: '19b8983d2ea0c4a9fba4f44b404bd6901cc62137', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), index.h(table.TableErrorState, { key: '552c7c8291dde9f2a4fe0d15a999d077ef663c8f', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index$1) => (index.h(table.TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h(table.TableFoot, { key: '4486862a5aaa488014414e586d5f77d03ba7176c' }, index.h(table.TableFootRow, { key: '27a019583305eea31f402a8b3655686370f93c66' }, index.h(table.TableFootCell, { key: '6f42b298a2b2f8a5eeac49cd5bf4ca944d0be8a3', colSpan: this.transactionsTable.columnData.length }, index.h("pagination-menu", { key: 'c62634fb0f4b18c07334b99a9c083f398e8c2ecc', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
192
191
|
}
|
|
193
192
|
static get watchers() { return {
|
|
194
193
|
"pagingParams": ["propChanged"],
|