@justifi/webcomponents 5.4.3 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Api-KMweahmp.js +74 -0
- package/dist/cjs/{Business-d88b77fd.js → Business-DyiDiIuO.js} +1 -1
- package/dist/cjs/{Checkout-5352009d.js → Checkout-RAGvjVPj.js} +1 -1
- package/dist/cjs/{ComponentError-233ac749.js → ComponentError-C4MdBBMe.js} +1 -0
- package/dist/cjs/{Payment-bccd8f7d.js → Payment-CQCmj3Ck.js} +2 -2
- package/dist/cjs/{SubAccount-2a302ead.js → Refund-DpKGhW3o.js} +25 -1
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +5 -11
- package/dist/cjs/{badge-364e6311.js → badge-BXpCpcer.js} +2 -2
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +25 -43
- package/dist/cjs/bank-account-form_9.cjs.entry.js +93 -97
- package/dist/cjs/{business-additional-questions-schema-8568cb79.js → business-additional-questions-schema-mzZ2gYHQ.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +6 -10
- package/dist/cjs/{business-form-options-62e9c8ab.js → business-form-options-BCj0efiD.js} +1 -1
- package/dist/cjs/{business-identity-schema-518ab6eb.js → business-identity-schema-dt0zCW0R.js} +2 -2
- package/dist/cjs/{business.service-6e8a29a2.js → business.service-Crmkeulk.js} +23 -8
- package/dist/cjs/{button-4a9fd41e.js → button-KWTLx2LP.js} +2 -2
- package/dist/cjs/{check-pkg-version-64d3381a.js → check-pkg-version-CLsX6cK5.js} +3 -3
- package/dist/cjs/{checkout.service-0a7835dc.js → checkout.service-r90INf2g.js} +13 -10
- package/dist/cjs/checkouts-list-core.cjs.entry.js +25 -31
- package/dist/cjs/{payments-list-params-state-442d9944.js → checkouts-list-params-state-Cmfy_CND.js} +1 -1
- package/dist/cjs/{checkouts-table-8a1b49ff.js → checkouts-table-5jU4JUcM.js} +4 -4
- package/dist/cjs/custom-popper_4.cjs.entry.js +27 -52
- package/dist/cjs/{dispute.service-6efc7d7f.js → dispute.service-CGgfmGU-.js} +20 -11
- package/dist/cjs/{event-types-5a6ce2b0.js → event-types-CJapDsYA.js} +3 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +10 -19
- package/dist/cjs/form-control-checkbox.cjs.entry.js +9 -18
- package/dist/cjs/form-control-date.cjs.entry.js +9 -19
- package/dist/cjs/{form-control-error-text-3cff9b7b.js → form-control-error-text-D19AMaOO.js} +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +11 -30
- package/dist/cjs/{form-control-help-text-94ffed2c.js → form-control-help-text-CbrDvt9D.js} +2 -2
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -5
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +13 -22
- package/dist/cjs/form-control-monetary.cjs.entry.js +13 -22
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +12 -25
- package/dist/cjs/form-control-number.cjs.entry.js +9 -18
- package/dist/cjs/form-control-radio.cjs.entry.js +7 -17
- package/dist/cjs/{get-business-d8f5db51.js → get-business-BBzGEPBG.js} +3 -3
- package/dist/cjs/get-payment-details-CKg1Lb3_.js +42 -0
- package/dist/cjs/{get-payout-csv-7607c71e.js → get-payout-csv-DD9C5yMw.js} +11 -11
- package/dist/cjs/{get-subaccounts-ae5b35a8.js → get-subaccounts-YlFT-fBr.js} +11 -10
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +262 -270
- package/dist/cjs/{header-1-43b2b905.js → header-1-ZNnpq6yT.js} +2 -2
- package/dist/cjs/{header-3-eb250a04.js → header-3-D6LxdW_A.js} +2 -2
- package/dist/cjs/{helpers-602962eb.js → helpers-B5OCqlIM.js} +1 -1
- package/dist/cjs/{iframe-input-styles-state-d0de0b24.js → iframe-input-styles-state-CQL59u0d.js} +2 -2
- package/dist/cjs/iframe-input.cjs.entry.js +1640 -0
- package/dist/cjs/{index-750475a3.js → index-1MT3Z4XI.js} +1 -1
- package/dist/cjs/{index-d2d0b181.js → index-DhcqPIbT.js} +4 -5
- package/dist/cjs/{index-5b9a3b5f.js → index-DtkhH7sB.js} +460 -271
- package/dist/cjs/index.esm-CVuJLXJZ.js +11807 -0
- package/dist/cjs/{input-handlers-cff032bb.js → input-handlers-DYl_0IwC.js} +1 -1
- package/dist/cjs/{insurance-state-71f8b653.js → insurance-state-q5eNmjIK.js} +3 -3
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +64 -94
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +36 -86
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +36 -54
- package/dist/cjs/justifi-business-details.cjs.entry.js +16 -20
- package/dist/cjs/justifi-business-form.cjs.entry.js +34 -38
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +6 -11
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +31 -34
- package/dist/cjs/justifi-checkout.cjs.entry.js +23 -29
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +15 -18
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +25 -30
- package/dist/cjs/justifi-details.cjs.entry.js +3 -6
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +5 -11
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +19 -23
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +38 -52
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -16
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +30 -39
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +29 -52
- package/dist/cjs/justifi-payment-details.cjs.entry.js +24 -52
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +15 -23
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +15 -16
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +11 -17
- package/dist/cjs/justifi-payments-list.cjs.entry.js +25 -29
- package/dist/cjs/justifi-payout-details.cjs.entry.js +21 -26
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +9 -12
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +27 -33
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +189 -69
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +10 -27
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +24 -35
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +24 -26
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +29 -29
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +21 -25
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +26 -31
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +24 -28
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/lodash-CvSCBJ_8.js +17216 -0
- package/dist/cjs/package-5B4P3NpD.js +9 -0
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -5
- package/dist/cjs/{parts-5ca90f9a.js → parts-D_uKOPFe.js} +3 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +19 -22
- package/dist/cjs/{payment-provisioning-actions-382ab48c.js → payment-provisioning-actions-BkWSDJQQ.js} +2 -2
- package/dist/cjs/payment.service-BrHUGHYs.js +23 -0
- package/dist/cjs/payments-list-core.cjs.entry.js +25 -30
- package/dist/cjs/{terminal-orders-list-params-state-c419078f.js → payments-list-params-state-Cmfy_CND.js} +1 -1
- package/dist/cjs/{payments-status-075aad0a.js → payments-status-DAzq_Z13.js} +2 -2
- package/dist/cjs/{payments-table-a076755a.js → payments-table-BEpL6oJQ.js} +4 -4
- package/dist/cjs/payout-details-core.cjs.entry.js +14 -18
- package/dist/cjs/payouts-list-core.cjs.entry.js +26 -33
- package/dist/cjs/{checkouts-list-params-state-644d3639.js → payouts-list-params-state-Cmfy_CND.js} +1 -1
- package/dist/cjs/{payouts-status-ced97c2b.js → payouts-status-CYrKPRld.js} +2 -2
- package/dist/cjs/{payouts-table-aedce326.js → payouts-table-Bbi23U5v.js} +4 -4
- package/dist/cjs/{schema-validations-a7cefbdf.js → schema-validations-p4OCdblz.js} +4 -4
- package/dist/cjs/{skeleton-e8aa41d0.js → skeleton-C59M0QK2.js} +2 -2
- package/dist/cjs/{spinner-580453f2.js → spinner-736baCoH.js} +2 -2
- package/dist/cjs/{styled-host-94309bab.js → styled-host-JifnTMIV.js} +2 -3
- package/dist/cjs/table-filters-menu.cjs.entry.js +4 -10
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +24 -29
- package/dist/cjs/{payouts-list-params-state-033b76d6.js → terminal-orders-list-params-state-Cmfy_CND.js} +1 -1
- package/dist/cjs/{terminal-orders-table-3b247193.js → terminal-orders-table-w4Yaf83b.js} +35 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +6 -12
- package/dist/cjs/{terminal.service-ab62c344.js → terminal.service-BjSo5Cm4.js} +11 -11
- package/dist/cjs/terminals-list-core.cjs.entry.js +25 -31
- package/dist/cjs/terminals-list-params-state-Cmfy_CND.js +22 -0
- package/dist/cjs/{terminals-table-6710a76c.js → terminals-table-F6pkR97i.js} +6 -6
- package/dist/cjs/{utils-f8714daa.js → utils-D3seTk2e.js} +2 -2
- package/dist/cjs/utils-DmZ8Dia3.js +23987 -0
- package/dist/cjs/{utils-7a478c37.js → utils-l0veqT9y.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +7 -7
- package/dist/collection/actions/payment/get-payment-details.js +5 -2
- package/dist/collection/actions/refund/refund-actions.js +31 -0
- package/dist/collection/api/Api.js +32 -13
- package/dist/collection/api/ComponentError.js +1 -0
- package/dist/collection/api/Refund.js +32 -0
- package/dist/collection/api/TerminalOrder.js +3 -0
- package/dist/collection/api/index.js +1 -0
- package/dist/collection/api/services/analytics.service.js +1 -1
- package/dist/collection/api/services/business.service.js +22 -7
- package/dist/collection/api/services/checkout.service.js +6 -3
- package/dist/collection/api/services/dispute.service.js +13 -4
- package/dist/collection/api/services/insurance.service.js +8 -2
- package/dist/collection/api/services/payment.service.js +3 -3
- package/dist/collection/api/services/payout.service.js +3 -3
- package/dist/collection/api/services/provision.service.js +4 -1
- package/dist/collection/api/services/refund.service.js +10 -0
- package/dist/collection/api/services/reports.service.js +1 -1
- package/dist/collection/api/services/subaccounts.service.js +1 -1
- package/dist/collection/api/services/terminal.service.js +4 -4
- package/dist/collection/api/services/terminal_orders.service.js +5 -1
- package/dist/collection/collection-manifest.json +3 -5
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +4 -4
- package/dist/collection/components/business-details/business-details-core.js +4 -3
- package/dist/collection/components/business-details/business-details.js +6 -8
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +4 -4
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +4 -4
- package/dist/collection/components/business-details/owner-details/owner-details.js +4 -4
- package/dist/collection/components/business-details/representative-details/representative-details.js +4 -4
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +4 -2
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -2
- package/dist/collection/components/business-forms/business-form/business-form.js +20 -13
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +6 -4
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -3
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +11 -7
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +34 -22
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +10 -6
- package/dist/collection/components/business-forms/owner-form/owner-form.js +22 -19
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +15 -11
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +11 -8
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +13 -10
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +23 -16
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +9 -12
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +6 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +17 -12
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +20 -14
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +10 -6
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +14 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +31 -21
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +14 -10
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +24 -16
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +20 -14
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +21 -12
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +12 -8
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +13 -13
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +3 -2
- package/dist/collection/components/checkout/billing-form/billing-form-schema.js +21 -0
- package/dist/collection/components/checkout/billing-form/billing-form.js +203 -0
- package/dist/collection/components/checkout/card-form/card-form.js +5 -4
- package/dist/collection/components/checkout/checkout-core.js +88 -37
- package/dist/collection/components/checkout/checkout.js +70 -28
- package/dist/collection/components/checkout/new-payment-method.js +110 -30
- package/dist/collection/components/checkout/payment-method-options.js +91 -36
- package/dist/collection/components/checkout/saved-payment-method.js +7 -4
- package/dist/collection/components/checkout/sezzle-payment-method.js +19 -15
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +17 -14
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +7 -5
- package/dist/collection/components/checkouts-list/checkouts-list.js +16 -12
- package/dist/collection/components/dispute-management/dispute-management-core.js +11 -8
- package/dist/collection/components/dispute-management/dispute-management.js +12 -9
- package/dist/collection/components/dispute-management/dispute-notification.js +11 -9
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +10 -9
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +21 -14
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +16 -13
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +10 -8
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +5 -4
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +7 -6
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +44 -30
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +40 -32
- package/dist/collection/components/order-terminals/order-terminals.js +20 -16
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +19 -13
- package/dist/collection/components/payment-details/payment-details-core.js +13 -12
- package/dist/collection/components/payment-details/payment-details.js +29 -6
- package/dist/collection/components/payments-list/payments-list-core.js +12 -11
- package/dist/collection/components/payments-list/payments-list-filters.js +17 -12
- package/dist/collection/components/payments-list/payments-list.js +16 -11
- package/dist/collection/components/payout-details/payout-details-core.js +11 -8
- package/dist/collection/components/payout-details/payout-details.js +11 -9
- package/dist/collection/components/payouts-list/payouts-list-core.js +21 -16
- package/dist/collection/components/payouts-list/payouts-list-filters.js +8 -6
- package/dist/collection/components/payouts-list/payouts-list.js +16 -13
- package/dist/collection/components/refund-payment/refund-loading.js +6 -0
- package/dist/collection/components/refund-payment/refund-payment-schema.js +26 -11
- package/dist/collection/components/refund-payment/refund-payment.js +157 -57
- package/dist/collection/components/terminal-orders-list/terminal-order-status.js +15 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +12 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +18 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +16 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +11 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +17 -14
- package/dist/collection/components/terminals-list/terminals-list-filters.js +10 -7
- package/dist/collection/components/terminals-list/terminals-list.js +16 -12
- package/dist/collection/components/terminals-list/terminals-table.js +2 -2
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +71 -19
- package/dist/collection/styles/parts.js +2 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +19 -8
- package/dist/collection/ui-components/details/details.js +3 -4
- package/dist/collection/ui-components/filters/table-filters-menu.js +8 -7
- package/dist/collection/ui-components/form/form-control-checkbox.js +25 -17
- package/dist/collection/ui-components/form/form-control-date.js +32 -21
- package/dist/collection/ui-components/form/form-control-file-v2.js +23 -18
- package/dist/collection/ui-components/form/form-control-file.js +28 -21
- package/dist/collection/ui-components/form/form-control-monetary.js +35 -23
- package/dist/collection/ui-components/form/form-control-number-masked.js +28 -19
- package/dist/collection/ui-components/form/form-control-number.js +25 -17
- package/dist/collection/ui-components/form/form-control-radio.js +28 -19
- package/dist/collection/ui-components/form/form-control-select.js +29 -19
- package/dist/collection/ui-components/form/form-control-text.js +32 -21
- package/dist/collection/ui-components/form/form-control-textarea.js +32 -21
- package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +6 -6
- package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +6 -6
- package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +3 -6
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +14 -12
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +6 -0
- package/dist/collection/utils/utils.js +8 -0
- package/dist/docs.d.ts +8 -0
- package/dist/docs.json +1844 -905
- package/dist/esm/Api-C9CDE-UM.js +72 -0
- package/dist/esm/{Business-0855931c.js → Business-D6XNzizo.js} +2 -2
- package/dist/esm/{Checkout-18d8bf94.js → Checkout-Dfpql997.js} +1 -1
- package/dist/esm/{ComponentError-c61dce41.js → ComponentError-SdntD1xf.js} +2 -1
- package/dist/esm/{Document-1907c0d4.js → Document-Ct-uNz2r.js} +1 -1
- package/dist/esm/{Payment-806af354.js → Payment-BADkZFaz.js} +2 -2
- package/dist/esm/{SubAccount-7520271c.js → Refund-t_P1yy9d.js} +25 -2
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
- package/dist/esm/additional-questions-details_5.entry.js +5 -9
- package/dist/esm/{badge-1be14e8c.js → badge-C4TzL9CB.js} +3 -3
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +25 -41
- package/dist/esm/bank-account-form_9.entry.js +91 -93
- package/dist/esm/{business-additional-questions-schema-56308a54.js → business-additional-questions-schema-W6okG5Xu.js} +2 -2
- package/dist/esm/business-details-core.entry.js +6 -8
- package/dist/esm/{business-form-options-86a13078.js → business-form-options-Bn05PRR4.js} +1 -1
- package/dist/esm/{business-identity-schema-24fcc4ef.js → business-identity-schema-lqdJS3MT.js} +2 -2
- package/dist/esm/{business.service-999196a4.js → business.service-B136meVo.js} +23 -8
- package/dist/esm/{button-fcee4da7.js → button-CI85Rqy5.js} +2 -2
- package/dist/esm/{check-pkg-version-bbd75fa0.js → check-pkg-version-Wd4E_Njt.js} +3 -3
- package/dist/esm/{checkout.service-e38e477f.js → checkout.service-4tnXBKGq.js} +13 -10
- package/dist/esm/checkouts-list-core.entry.js +25 -29
- package/dist/esm/{checkouts-list-params-state-7bdf00bd.js → checkouts-list-params-state-Gbxdxjoi.js} +1 -1
- package/dist/esm/{checkouts-table-39a031a0.js → checkouts-table-CHM4YCCZ.js} +4 -4
- package/dist/esm/custom-popper_4.entry.js +27 -50
- package/dist/esm/{dispute.service-7ba6d5a4.js → dispute.service-Bwh8pBe9.js} +20 -11
- package/dist/esm/{event-types-1bc52f1f.js → event-types-CooIFpFI.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +10 -17
- package/dist/esm/form-control-checkbox.entry.js +9 -16
- package/dist/esm/form-control-date.entry.js +9 -17
- package/dist/esm/{form-control-error-text-176d20d8.js → form-control-error-text-3q5yVuMQ.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +11 -28
- package/dist/esm/{form-control-help-text-83764e14.js → form-control-help-text-BplkZkPF.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -3
- package/dist/esm/form-control-monetary-provisioning.entry.js +13 -20
- package/dist/esm/form-control-monetary.entry.js +13 -20
- package/dist/esm/form-control-number-masked_2.entry.js +12 -23
- package/dist/esm/form-control-number.entry.js +9 -16
- package/dist/esm/form-control-radio.entry.js +7 -15
- package/dist/esm/{get-business-b7511690.js → get-business-B3c5gg1D.js} +3 -3
- package/dist/esm/get-payment-details-BbZmEGge.js +40 -0
- package/dist/esm/{get-payout-csv-fa34f40b.js → get-payout-csv-BKq22mOI.js} +11 -11
- package/dist/esm/{get-subaccounts-3c6b9e84.js → get-subaccounts-58LQOtEI.js} +10 -9
- package/dist/esm/gross-payment-chart-core.entry.js +262 -268
- package/dist/esm/{header-1-215a146f.js → header-1-BX6i3__G.js} +2 -2
- package/dist/esm/{header-3-afd16f23.js → header-3-D0Sy-7DJ.js} +2 -2
- package/dist/esm/{helpers-96ea3464.js → helpers-Mu7LQT-w.js} +2 -2
- package/dist/esm/{iframe-input-styles-state-ff730fe5.js → iframe-input-styles-state-DyXIZw1A.js} +3 -3
- package/dist/esm/iframe-input.entry.js +1638 -0
- package/dist/esm/{index-29fcfdf5.js → index-BUM1DfV9.js} +459 -250
- package/dist/esm/{index-d9a73ce3.js → index-Ce_F4E0f.js} +1 -1
- package/dist/esm/{index-a47fdc7f.js → index-Cuk6aIda.js} +4 -5
- package/dist/esm/index.esm-BCNUj0Dx.js +11801 -0
- package/dist/esm/{input-handlers-270ac806.js → input-handlers-CX6mSvOM.js} +1 -1
- package/dist/esm/{insurance-state-d2df8e88.js → insurance-state-BhklYgGK.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +64 -92
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +36 -84
- package/dist/esm/justifi-additional-statement_8.entry.js +36 -52
- package/dist/esm/justifi-business-details.entry.js +16 -18
- package/dist/esm/justifi-business-form.entry.js +34 -36
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +6 -9
- package/dist/esm/justifi-checkout-core.entry.js +31 -32
- package/dist/esm/justifi-checkout.entry.js +23 -27
- package/dist/esm/justifi-checkouts-list-filters.entry.js +15 -16
- package/dist/esm/justifi-checkouts-list.entry.js +25 -28
- package/dist/esm/justifi-details.entry.js +3 -4
- package/dist/esm/justifi-dispute-management-core.entry.js +5 -9
- package/dist/esm/justifi-dispute-management.entry.js +19 -21
- package/dist/esm/justifi-dispute-notification_3.entry.js +38 -50
- package/dist/esm/justifi-gross-payment-chart.entry.js +13 -14
- package/dist/esm/justifi-order-terminals.entry.js +27 -34
- package/dist/esm/justifi-owner-form_3.entry.js +29 -50
- package/dist/esm/justifi-payment-details.entry.js +22 -48
- package/dist/esm/justifi-payment-provisioning-core.entry.js +15 -21
- package/dist/esm/justifi-payment-provisioning.entry.js +15 -14
- package/dist/esm/justifi-payments-list-filters.entry.js +11 -15
- package/dist/esm/justifi-payments-list.entry.js +25 -27
- package/dist/esm/justifi-payout-details.entry.js +20 -23
- package/dist/esm/justifi-payouts-list-filters.entry.js +9 -10
- package/dist/esm/justifi-payouts-list.entry.js +26 -30
- package/dist/esm/justifi-refund-payment.entry.js +189 -67
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +10 -25
- package/dist/esm/justifi-season-interruption-insurance.entry.js +24 -33
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +19 -19
- package/dist/esm/justifi-terminal-orders-list.entry.js +28 -26
- package/dist/esm/justifi-terminals-list-filters.entry.js +17 -19
- package/dist/esm/justifi-terminals-list.entry.js +25 -28
- package/dist/esm/justifi-tokenize-payment-method.entry.js +24 -26
- package/dist/esm/loader.js +4 -4
- package/dist/esm/lodash-BqWxUrkh.js +17214 -0
- package/dist/esm/package-gAO-RwrF.js +7 -0
- package/dist/esm/pagination-menu.entry.js +3 -3
- package/dist/esm/{parts-fd740f54.js → parts-CB88j97I.js} +3 -2
- package/dist/esm/payment-details-core.entry.js +19 -20
- package/dist/esm/{payment-provisioning-actions-beadac34.js → payment-provisioning-actions-CZYFFdTf.js} +3 -3
- package/dist/esm/payment.service-Co_fPTvK.js +21 -0
- package/dist/esm/payments-list-core.entry.js +25 -28
- package/dist/esm/{payments-list-params-state-d05b24aa.js → payments-list-params-state-Gbxdxjoi.js} +1 -1
- package/dist/esm/{payments-status-74d22728.js → payments-status-BLhcMfnC.js} +2 -2
- package/dist/esm/{payments-table-8134f5e1.js → payments-table-VcaC77NC.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +14 -16
- package/dist/esm/payouts-list-core.entry.js +26 -31
- package/dist/esm/{payouts-list-params-state-ebcee300.js → payouts-list-params-state-Gbxdxjoi.js} +1 -1
- package/dist/esm/{payouts-status-29d31099.js → payouts-status-B9SSljnL.js} +2 -2
- package/dist/esm/{payouts-table-c1ced46a.js → payouts-table-DWBaNPmV.js} +4 -4
- package/dist/esm/{schema-validations-5af4266a.js → schema-validations-BsbYeDDR.js} +5 -5
- package/dist/esm/{skeleton-ab3f676e.js → skeleton-B-oFGeeG.js} +2 -2
- package/dist/esm/{spinner-27479716.js → spinner-ptEcaLdc.js} +2 -2
- package/dist/esm/{styled-host-32228b45.js → styled-host-BHVh70Zk.js} +2 -3
- package/dist/esm/table-filters-menu.entry.js +4 -8
- package/dist/esm/terminal-orders-list-core.entry.js +24 -27
- package/dist/esm/{terminal-orders-list-params-state-8fec0a0b.js → terminal-orders-list-params-state-Gbxdxjoi.js} +1 -1
- package/dist/esm/{terminal-orders-table-93e84d25.js → terminal-orders-table-fuxIpfJ2.js} +35 -5
- package/dist/esm/terminal-quantity-selector.entry.js +6 -10
- package/dist/esm/{terminal.service-d173566d.js → terminal.service-BLOZ-ZlR.js} +11 -11
- package/dist/esm/terminals-list-core.entry.js +25 -29
- package/dist/esm/terminals-list-params-state-Gbxdxjoi.js +16 -0
- package/dist/esm/{terminals-table-5eb287ca.js → terminals-table-Dn71oQMb.js} +6 -6
- package/dist/esm/{utils-96d9c205.js → utils-B4pV3GWr.js} +2 -2
- package/dist/esm/utils-BWcTxbSg.js +23969 -0
- package/dist/esm/{utils-fd99b806.js → utils-Dccsn9BY.js} +2 -2
- package/dist/esm/webcomponents.js +6 -5
- package/dist/module/Api.js +32 -76
- package/dist/module/Business.js +2 -2
- package/dist/module/ComponentError.js +2 -1
- package/dist/module/Document.js +1 -1
- package/dist/module/{SubAccount.js → Refund.js} +24 -1
- package/dist/module/_commonjsHelpers.js +7 -0
- package/dist/module/additional-questions-details2.js +1 -2
- package/dist/module/additional-questions.js +2 -3
- package/dist/module/additional-statement.js +6 -9
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-document-inputs.js +4 -6
- package/dist/module/bank-account-form-inputs2.js +1 -5
- package/dist/module/bank-account-form2.js +0 -1
- package/dist/module/billing-form.js +122 -4
- package/dist/module/business-additional-questions-form-step-core.js +7 -11
- package/dist/module/business-additional-questions-form-step.js +1 -6
- package/dist/module/business-additional-questions-schema.js +1 -1
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +13 -18
- package/dist/module/business-bank-account-form-step.js +3 -9
- package/dist/module/business-core-info-form-step-core.js +6 -11
- package/dist/module/business-core-info-form-step.js +1 -6
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-core-info.js +2 -3
- package/dist/module/business-details-core2.js +1 -3
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-owners-form-step-core.js +5 -11
- package/dist/module/business-owners-form-step.js +1 -6
- package/dist/module/business-representative-form-inputs.js +1 -4
- package/dist/module/business-representative-form-step-core.js +5 -9
- package/dist/module/business-representative-form-step.js +1 -6
- package/dist/module/business-representative.js +3 -4
- package/dist/module/business-terms-conditions-form-step.js +6 -12
- package/dist/module/business.service.js +22 -7
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +6 -8
- package/dist/module/card-form2.js +2 -3
- package/dist/module/check-pkg-version.js +1 -1
- package/dist/module/checkout-core.js +57 -69
- package/dist/module/checkout.service.js +7 -4
- package/dist/module/checkouts-list-core2.js +12 -17
- package/dist/module/custom-popper2.js +13 -16
- package/dist/module/customer-details.js +6 -8
- package/dist/module/details.js +0 -1
- package/dist/module/dispute-management-core.js +4 -8
- package/dist/module/dispute-notification.js +3 -6
- package/dist/module/dispute-response-actions.js +16 -7
- package/dist/module/dispute-response-core.js +12 -16
- package/dist/module/dispute-response.js +6 -12
- package/dist/module/duplicate-charge.js +6 -8
- package/dist/module/electronic-evidence.js +5 -7
- package/dist/module/event-types2.js +21 -61
- package/dist/module/event-types3.js +61 -21
- package/dist/module/form-alert2.js +1 -3
- package/dist/module/form-control-checkbox2.js +6 -13
- package/dist/module/form-control-date2.js +6 -14
- package/dist/module/form-control-file-v22.js +2 -10
- package/dist/module/form-control-file2.js +5 -15
- package/dist/module/form-control-help-text.js +1 -1
- package/dist/module/form-control-help-text2.js +30 -9
- package/dist/module/form-control-help-text3.js +9 -32
- package/dist/module/form-control-monetary-provisioning2.js +8 -15
- package/dist/module/form-control-monetary2.js +9 -17
- package/dist/module/form-control-number-masked2.js +4 -12
- package/dist/module/form-control-number.js +6 -13
- package/dist/module/form-control-radio2.js +6 -14
- package/dist/module/form-control-select2.js +5 -13
- package/dist/module/form-control-text2.js +5 -14
- package/dist/module/form-control-textarea2.js +7 -16
- package/dist/module/form-control-tooltip2.js +0 -3
- package/dist/module/form.js +9773 -903
- package/dist/module/generic-info-details2.js +0 -1
- package/dist/module/get-business.js +2 -2
- package/dist/module/get-payment-details.js +40 -0
- package/dist/module/get-payout-csv.js +6 -6
- package/dist/module/get-subaccounts.js +5 -4
- package/dist/module/gross-payment-chart-core2.js +257 -264
- package/dist/module/helpers.js +1 -1
- package/dist/module/hidden-input2.js +3 -3
- package/dist/module/identity-address-form.js +2 -5
- package/dist/module/iframe-input-styles-state.js +2 -2
- package/dist/module/iframe-input2.js +1481 -1478
- package/dist/module/index2.js +3 -4
- package/dist/module/index3.js +1 -1
- package/dist/module/{billing-form.d.ts → justifi-billing-form.d.ts} +4 -4
- package/dist/module/justifi-billing-form.js +6 -0
- package/dist/module/justifi-business-details.js +1 -5
- package/dist/module/justifi-business-form.js +7 -10
- package/dist/module/justifi-checkout.js +47 -62
- package/dist/module/justifi-checkouts-list-filters.js +4 -5
- package/dist/module/justifi-checkouts-list.js +8 -11
- package/dist/module/justifi-dispute-management.js +6 -9
- package/dist/module/justifi-gross-payment-chart.js +4 -7
- package/dist/module/justifi-order-terminals.js +7 -15
- package/dist/module/justifi-payment-details.js +6 -38
- package/dist/module/justifi-payment-provisioning.js +5 -6
- package/dist/module/justifi-payments-list-filters.js +6 -11
- package/dist/module/justifi-payments-list.js +8 -10
- package/dist/module/justifi-payout-details.js +6 -9
- package/dist/module/justifi-payouts-list-filters.js +4 -6
- package/dist/module/justifi-payouts-list.js +8 -12
- package/dist/module/justifi-refund-payment.js +184 -61
- package/dist/module/justifi-season-interruption-insurance.js +13 -23
- package/dist/module/justifi-terminal-orders-list-filters.js +8 -9
- package/dist/module/justifi-terminal-orders-list.js +13 -11
- package/dist/module/justifi-terminals-list-filters.js +6 -8
- package/dist/module/justifi-terminals-list.js +8 -11
- package/dist/module/justifi-tokenize-payment-method.js +46 -58
- package/dist/module/legal-address-details2.js +1 -2
- package/dist/module/legal-address-form-step-core.js +6 -10
- package/dist/module/legal-address-form-step.js +1 -6
- package/dist/module/legal-address-form.js +1 -3
- package/dist/module/lodash.js +17201 -17191
- package/dist/module/new-payment-method.js +43 -55
- package/dist/module/owner-details2.js +0 -1
- package/dist/module/owner-form-core2.js +8 -18
- package/dist/module/owner-form-inputs2.js +1 -4
- package/dist/module/owner-form.js +1 -11
- package/dist/module/package.js +3 -77
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +3 -2
- package/dist/module/payment-details-core2.js +11 -13
- package/dist/module/payment-method-options.js +43 -61
- package/dist/module/payment-provisioning-actions.js +2 -2
- package/dist/module/payment-provisioning-core.js +8 -14
- package/dist/module/payment-provisioning-form-buttons.js +2 -8
- package/dist/module/payment-provisioning-form-steps.js +2 -7
- package/dist/module/payment.service.js +4 -4
- package/dist/module/payments-list-core2.js +10 -14
- package/dist/module/payout-details-core2.js +6 -9
- package/dist/module/payouts-list-core2.js +14 -20
- package/dist/module/product-or-service.js +5 -7
- package/dist/module/refund-policy.js +6 -8
- package/dist/module/representative-details2.js +0 -1
- package/dist/module/saved-payment-method.js +4 -6
- package/dist/module/schema-validations.js +2 -2
- package/dist/module/season-interruption-insurance-core.js +4 -20
- package/dist/module/sezzle-payment-method.js +3 -12
- package/dist/module/shipping-details.js +6 -8
- package/dist/module/spinner.js +1 -1
- package/dist/module/styled-host.js +1 -2
- package/dist/module/table-filters-menu2.js +3 -7
- package/dist/module/terminal-orders-list-core2.js +35 -15
- package/dist/module/terminal-quantity-selector2.js +4 -8
- package/dist/module/terminal.service.js +5 -5
- package/dist/module/terminals-list-core2.js +14 -19
- package/dist/module/utils.js +1 -1
- package/dist/module/utils2.js +23787 -3819
- package/dist/module/utils4.js +2 -2
- package/dist/types/actions/payment/get-payment-details.d.ts +4 -2
- package/dist/types/actions/refund/refund-actions.d.ts +12 -0
- package/dist/types/api/Api.d.ts +30 -5
- package/dist/types/api/ComponentError.d.ts +2 -1
- package/dist/types/api/Payment.d.ts +1 -11
- package/dist/types/api/Refund.d.ts +45 -0
- package/dist/types/api/TerminalOrder.d.ts +4 -1
- package/dist/types/api/index.d.ts +1 -0
- package/dist/types/api/services/payment.service.d.ts +2 -2
- package/dist/types/api/services/refund.service.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +1 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -3
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
- package/dist/types/components/checkout/{billing-forms → billing-form}/billing-form-schema.d.ts +1 -11
- package/dist/types/components/checkout/{billing-forms/billing-form → billing-form}/billing-form.d.ts +8 -6
- package/dist/types/components/checkout/checkout-core.d.ts +6 -2
- package/dist/types/components/checkout/checkout.d.ts +6 -2
- package/dist/types/components/checkout/new-payment-method.d.ts +7 -3
- package/dist/types/components/checkout/payment-method-options.d.ts +6 -2
- package/dist/types/components/order-terminals/order-terminals.d.ts +0 -1
- package/dist/types/components/payment-details/payment-details.d.ts +1 -0
- package/dist/types/components/refund-payment/refund-loading.d.ts +1 -0
- package/dist/types/components/refund-payment/refund-payment-schema.d.ts +6 -6
- package/dist/types/components/refund-payment/refund-payment.d.ts +18 -12
- package/dist/types/components/terminal-orders-list/terminal-orders-list-filters.d.ts +1 -1
- package/dist/types/components/terminals-list/terminals-table.d.ts +2 -2
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -0
- package/dist/types/components.d.ts +45 -74
- package/dist/types/stencil-public-runtime.d.ts +9 -0
- package/dist/types/styles/parts.d.ts +6 -5
- package/dist/types/ui-components/form/form-control-monetary.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/{p-701a13ca.js → p-01wziNa9.js} +1 -1
- package/dist/webcomponents/p-063dd981.entry.js +1 -0
- package/dist/webcomponents/p-08d5b491.entry.js +1 -0
- package/dist/webcomponents/p-0czqizJW.js +1 -0
- package/dist/webcomponents/p-1049c0c5.entry.js +1 -0
- package/dist/webcomponents/p-1ydcg9ti.js +1 -0
- package/dist/webcomponents/p-2c2f6743.entry.js +1 -0
- package/dist/webcomponents/p-2d80f427.entry.js +1 -0
- package/dist/webcomponents/p-2f6c0a07.entry.js +1 -0
- package/dist/webcomponents/p-2fe9576b.entry.js +1 -0
- package/dist/webcomponents/p-307a0db6.entry.js +1 -0
- package/dist/webcomponents/p-3147bfe2.entry.js +1 -0
- package/dist/webcomponents/p-332ce001.entry.js +1 -0
- package/dist/webcomponents/p-34cfafed.entry.js +1 -0
- package/dist/webcomponents/p-3995c8b8.entry.js +1 -0
- package/dist/webcomponents/p-3e084a0e.entry.js +1 -0
- package/dist/webcomponents/p-43c1c278.entry.js +1 -0
- package/dist/webcomponents/p-456f8c0a.entry.js +1 -0
- package/dist/webcomponents/p-4addd069.entry.js +1 -0
- package/dist/webcomponents/p-4ee6482d.entry.js +1 -0
- package/dist/webcomponents/p-507f7a31.entry.js +1 -0
- package/dist/webcomponents/p-50aa4e4d.entry.js +1 -0
- package/dist/webcomponents/p-5a07a84c.entry.js +1 -0
- package/dist/webcomponents/p-5dc3a795.entry.js +1 -0
- package/dist/webcomponents/p-62bdcca1.entry.js +1 -0
- package/dist/webcomponents/p-65345bd4.entry.js +1 -0
- package/dist/webcomponents/p-6a54d69b.entry.js +1 -0
- package/dist/webcomponents/p-6c4927e7.entry.js +1 -0
- package/dist/webcomponents/p-6d2a48f5.entry.js +1 -0
- package/dist/webcomponents/p-7414b942.entry.js +1 -0
- package/dist/webcomponents/p-7ddd7122.entry.js +20 -0
- package/dist/webcomponents/p-80dca817.entry.js +1 -0
- package/dist/webcomponents/p-815937bb.entry.js +1 -0
- package/dist/webcomponents/p-86fdc0a1.entry.js +1 -0
- package/dist/webcomponents/p-98111d03.entry.js +1 -0
- package/dist/webcomponents/p-9a9bb294.entry.js +1 -0
- package/dist/webcomponents/p-9bbfde16.entry.js +1 -0
- package/dist/webcomponents/p-B7ErpLYA.js +1 -0
- package/dist/webcomponents/p-BBsCnePk.js +1 -0
- package/dist/webcomponents/p-BFTU3MAI.js +1 -0
- package/dist/webcomponents/p-BHHWVg32.js +1 -0
- package/dist/webcomponents/p-BHbsXXRt.js +1 -0
- package/dist/webcomponents/p-BM61p7vG.js +1 -0
- package/dist/webcomponents/p-BODr6HXb.js +1 -0
- package/dist/webcomponents/p-BUM1DfV9.js +2 -0
- package/dist/webcomponents/p-BVwkHwTc.js +1 -0
- package/dist/webcomponents/p-BWFriesi.js +1 -0
- package/dist/webcomponents/p-Bde7dY9t.js +9 -0
- package/dist/webcomponents/{p-1366a019.js → p-BjB_yKBJ.js} +1 -1
- package/dist/webcomponents/p-Bo92MHrs.js +1 -0
- package/dist/webcomponents/p-BoPxMyJA.js +1 -0
- package/dist/webcomponents/{p-5d1d2fd7.js → p-BrvbVMVq.js} +1 -1
- package/dist/webcomponents/{p-a5579f53.js → p-BuYnqWwT.js} +1 -1
- package/dist/webcomponents/p-BxPlB-C5.js +1 -0
- package/dist/webcomponents/{p-3f5e6602.js → p-Bxs6fi7a.js} +1 -1
- package/dist/webcomponents/{p-bfe9748b.js → p-C3nDCvFQ.js} +1 -1
- package/dist/webcomponents/{p-87f8c596.js → p-C5RuuShs.js} +1 -1
- package/dist/webcomponents/p-CB88j97I.js +1 -0
- package/dist/webcomponents/p-CGz3XHQc.js +1 -0
- package/dist/webcomponents/p-CLBRsaLx.js +1 -0
- package/dist/webcomponents/{p-4cc3c7f9.js → p-CTBH4Lj9.js} +1 -1
- package/dist/webcomponents/p-CYsU0lEI.js +1 -0
- package/dist/webcomponents/p-CjunQqer.js +1 -0
- package/dist/webcomponents/{p-12074378.js → p-CnyMKcfC.js} +1 -1
- package/dist/webcomponents/p-CpTwq2jw.js +1 -0
- package/dist/webcomponents/{p-61f0a2ce.js → p-Ct-uNz2r.js} +1 -1
- package/dist/webcomponents/p-CwHcfOV7.js +1 -0
- package/dist/webcomponents/p-Cy4aIACq.js +1 -0
- package/dist/webcomponents/p-D7s2671S.js +1 -0
- package/dist/webcomponents/{p-ca6cdfe6.js → p-D89x2FYg.js} +1 -1
- package/dist/webcomponents/p-D9t-X0IY.js +1 -0
- package/dist/webcomponents/p-DLpKiPxJ.js +1 -0
- package/dist/webcomponents/p-DVnVdicA.js +1 -0
- package/dist/webcomponents/p-DhEfW-kS.js +1 -0
- package/dist/webcomponents/p-DhQ2XlhY.js +1 -0
- package/dist/webcomponents/p-Dna7whFY.js +1 -0
- package/dist/webcomponents/p-DoH48u6u.js +1 -0
- package/dist/webcomponents/p-Dt-vy9Le.js +1 -0
- package/dist/webcomponents/p-DzPbgN8M.js +1 -0
- package/dist/webcomponents/{p-c9b78275.js → p-IA90llLO.js} +1 -1
- package/dist/webcomponents/p-JcczGkik.js +1 -0
- package/dist/webcomponents/p-QYQ4VLoz.js +1 -0
- package/dist/webcomponents/{p-9dd8685c.js → p-SdntD1xf.js} +1 -1
- package/dist/webcomponents/p-ZUQEru6m.js +1 -0
- package/dist/webcomponents/p-a22974fd.entry.js +1 -0
- package/dist/webcomponents/p-a2bf5919.entry.js +1 -0
- package/dist/webcomponents/p-a9eff0f2.entry.js +1 -0
- package/dist/webcomponents/p-ab99e4c6.entry.js +1 -0
- package/dist/webcomponents/p-b7053613.entry.js +1 -0
- package/dist/webcomponents/p-bb8f7062.entry.js +1 -0
- package/dist/webcomponents/p-be04a09c.entry.js +1 -0
- package/dist/webcomponents/p-bplwtwD3.js +1 -0
- package/dist/webcomponents/p-c38c742e.entry.js +1 -0
- package/dist/webcomponents/p-c558725e.entry.js +1 -0
- package/dist/webcomponents/p-c6534f5f.entry.js +1 -0
- package/dist/webcomponents/p-c6cf707c.entry.js +1 -0
- package/dist/webcomponents/p-c70dcec1.entry.js +1 -0
- package/dist/webcomponents/p-c8d608a1.entry.js +1 -0
- package/dist/webcomponents/p-ce20d709.entry.js +1 -0
- package/dist/webcomponents/p-cf8f69de.entry.js +1 -0
- package/dist/webcomponents/p-d5675bf5.entry.js +1 -0
- package/dist/webcomponents/p-def42fc7.entry.js +1 -0
- package/dist/webcomponents/p-dfcf19f2.entry.js +1 -0
- package/dist/webcomponents/p-e0896deb.entry.js +1 -0
- package/dist/webcomponents/p-e3962860.entry.js +1 -0
- package/dist/webcomponents/p-e3cd72ad.entry.js +1 -0
- package/dist/webcomponents/p-e52d5ead.entry.js +1 -0
- package/dist/webcomponents/p-eYaGyUvS.js +1 -0
- package/dist/webcomponents/p-eb31e5c7.entry.js +1 -0
- package/dist/webcomponents/p-eb677eb2.entry.js +1 -0
- package/dist/webcomponents/p-f0301d11.entry.js +1 -0
- package/dist/webcomponents/p-f51e4213.entry.js +1 -0
- package/dist/webcomponents/p-gAO-RwrF.js +1 -0
- package/dist/webcomponents/p-hkXaxw9l.js +1 -0
- package/dist/webcomponents/p-p7aAf5_m.js +1 -0
- package/dist/webcomponents/p-sXe3gn-5.js +1 -0
- package/dist/webcomponents/p-y-Ys7Rd-.js +1 -0
- package/dist/webcomponents/p-z1GJDdMW.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +6 -7
- package/dist/cjs/Api-83d93333.js +0 -118
- package/dist/cjs/billing-form_3.cjs.entry.js +0 -1733
- package/dist/cjs/index.esm-544c08fd.js +0 -2937
- package/dist/cjs/lodash-dbf6a6a4.js +0 -17206
- package/dist/cjs/package-99f9fc82.js +0 -83
- package/dist/cjs/payment.service-537e049d.js +0 -23
- package/dist/cjs/terminals-list-params-state-236f06f6.js +0 -22
- package/dist/cjs/utils-4120664c.js +0 -4018
- package/dist/collection/components/checkout/billing-forms/billing-form/billing-form.js +0 -137
- package/dist/collection/components/checkout/billing-forms/billing-form-schema.js +0 -26
- package/dist/collection/components/checkout/billing-forms/billing-form-wrapper.js +0 -183
- package/dist/collection/components/checkout/billing-forms/postal-form/postal-form.js +0 -136
- package/dist/esm/Api-52242eb0.js +0 -116
- package/dist/esm/billing-form_3.entry.js +0 -1727
- package/dist/esm/index.esm-feedf26f.js +0 -2931
- package/dist/esm/lodash-faeb5a52.js +0 -17204
- package/dist/esm/package-01997353.js +0 -81
- package/dist/esm/payment.service-af5bd8be.js +0 -21
- package/dist/esm/terminals-list-params-state-e4b2ec23.js +0 -16
- package/dist/esm/utils-ec50661e.js +0 -4001
- package/dist/loader/package.json +0 -11
- package/dist/module/billing-form-schema.js +0 -16
- package/dist/module/billing-form-wrapper.js +0 -114
- package/dist/module/billing-form2.js +0 -90
- package/dist/module/justifi-billing-form-wrapper.d.ts +0 -11
- package/dist/module/justifi-billing-form-wrapper.js +0 -6
- package/dist/module/postal-form.d.ts +0 -11
- package/dist/module/postal-form.js +0 -6
- package/dist/module/postal-form2.js +0 -83
- package/dist/types/components/checkout/billing-forms/billing-form-wrapper.d.ts +0 -19
- package/dist/types/components/checkout/billing-forms/postal-form/postal-form.d.ts +0 -20
- package/dist/webcomponents/p-01033194.js +0 -1
- package/dist/webcomponents/p-07fbeff3.entry.js +0 -1
- package/dist/webcomponents/p-092515e0.js +0 -1
- package/dist/webcomponents/p-0b61d4d3.entry.js +0 -1
- package/dist/webcomponents/p-0c7ec110.entry.js +0 -1
- package/dist/webcomponents/p-0f0020e1.entry.js +0 -1
- package/dist/webcomponents/p-0fa216eb.entry.js +0 -1
- package/dist/webcomponents/p-0fc1d3bb.entry.js +0 -1
- package/dist/webcomponents/p-1134e1d3.entry.js +0 -1
- package/dist/webcomponents/p-13717638.entry.js +0 -1
- package/dist/webcomponents/p-142bfae3.js +0 -1
- package/dist/webcomponents/p-1c38ec65.entry.js +0 -1
- package/dist/webcomponents/p-1ce63001.entry.js +0 -1
- package/dist/webcomponents/p-1ff8810b.js +0 -1
- package/dist/webcomponents/p-2123c150.js +0 -1
- package/dist/webcomponents/p-23cd76af.entry.js +0 -1
- package/dist/webcomponents/p-25b82529.entry.js +0 -1
- package/dist/webcomponents/p-27546fa9.entry.js +0 -1
- package/dist/webcomponents/p-275c3dc9.js +0 -1
- package/dist/webcomponents/p-2783e363.js +0 -2
- package/dist/webcomponents/p-290fa30d.entry.js +0 -1
- package/dist/webcomponents/p-2a9d7f6b.js +0 -1
- package/dist/webcomponents/p-2b8aaa7d.entry.js +0 -1
- package/dist/webcomponents/p-3188f72a.js +0 -1
- package/dist/webcomponents/p-31dcaeaf.entry.js +0 -1
- package/dist/webcomponents/p-373a19fe.entry.js +0 -1
- package/dist/webcomponents/p-375657fe.entry.js +0 -1
- package/dist/webcomponents/p-3cc7527a.entry.js +0 -1
- package/dist/webcomponents/p-3cf317d3.entry.js +0 -1
- package/dist/webcomponents/p-4598482c.entry.js +0 -1
- package/dist/webcomponents/p-536497fe.entry.js +0 -1
- package/dist/webcomponents/p-536fb8e2.js +0 -1
- package/dist/webcomponents/p-537bce77.js +0 -1
- package/dist/webcomponents/p-54556fc6.js +0 -1
- package/dist/webcomponents/p-56c7fc8d.js +0 -1
- package/dist/webcomponents/p-58ee6ce9.js +0 -1
- package/dist/webcomponents/p-5a9d7ca0.entry.js +0 -1
- package/dist/webcomponents/p-5b76dbe1.entry.js +0 -1
- package/dist/webcomponents/p-5f6b4bc9.js +0 -1
- package/dist/webcomponents/p-645db2cb.entry.js +0 -1
- package/dist/webcomponents/p-65cb72e4.entry.js +0 -1
- package/dist/webcomponents/p-673c1bca.js +0 -1
- package/dist/webcomponents/p-6a5eab1f.entry.js +0 -1
- package/dist/webcomponents/p-753d983c.entry.js +0 -1
- package/dist/webcomponents/p-76549a24.js +0 -1
- package/dist/webcomponents/p-7b793901.entry.js +0 -1
- package/dist/webcomponents/p-7c333590.entry.js +0 -1
- package/dist/webcomponents/p-7d85af5c.js +0 -1
- package/dist/webcomponents/p-81a6c3e2.entry.js +0 -1
- package/dist/webcomponents/p-86605101.js +0 -1
- package/dist/webcomponents/p-87a4fb5b.js +0 -1
- package/dist/webcomponents/p-88a37837.js +0 -1
- package/dist/webcomponents/p-8a6a06e6.entry.js +0 -1
- package/dist/webcomponents/p-8d4a0192.entry.js +0 -1
- package/dist/webcomponents/p-927cb6df.js +0 -1
- package/dist/webcomponents/p-953e9dba.js +0 -1
- package/dist/webcomponents/p-96c23cda.entry.js +0 -1
- package/dist/webcomponents/p-9a9732e1.js +0 -1
- package/dist/webcomponents/p-9fecad5a.js +0 -1
- package/dist/webcomponents/p-a07e021f.entry.js +0 -1
- package/dist/webcomponents/p-a3cced75.entry.js +0 -1
- package/dist/webcomponents/p-a5f5cc2e.entry.js +0 -1
- package/dist/webcomponents/p-a6976c9c.entry.js +0 -1
- package/dist/webcomponents/p-a8c69f51.entry.js +0 -1
- package/dist/webcomponents/p-ab3a8004.entry.js +0 -1
- package/dist/webcomponents/p-ab45511e.js +0 -1
- package/dist/webcomponents/p-adecb91a.entry.js +0 -1
- package/dist/webcomponents/p-ae7edce5.js +0 -1
- package/dist/webcomponents/p-ae891abb.entry.js +0 -1
- package/dist/webcomponents/p-af3315b5.entry.js +0 -1
- package/dist/webcomponents/p-b082f07a.entry.js +0 -1
- package/dist/webcomponents/p-b218af87.entry.js +0 -1
- package/dist/webcomponents/p-b84ee6d8.js +0 -1
- package/dist/webcomponents/p-b979fcb0.entry.js +0 -1
- package/dist/webcomponents/p-bb4b3f79.entry.js +0 -1
- package/dist/webcomponents/p-beec0b60.js +0 -1
- package/dist/webcomponents/p-bf12999f.js +0 -1
- package/dist/webcomponents/p-bf195b35.js +0 -1
- package/dist/webcomponents/p-bfc2d88a.js +0 -1
- package/dist/webcomponents/p-c6be72b0.js +0 -10
- package/dist/webcomponents/p-c8b78136.js +0 -1
- package/dist/webcomponents/p-caa29469.entry.js +0 -1
- package/dist/webcomponents/p-cbad44b7.js +0 -1
- package/dist/webcomponents/p-cc2f75a3.entry.js +0 -1
- package/dist/webcomponents/p-ccb9ee53.js +0 -1
- package/dist/webcomponents/p-cd93c62b.entry.js +0 -19
- package/dist/webcomponents/p-d757fcf5.js +0 -1
- package/dist/webcomponents/p-dbc1a95b.js +0 -1
- package/dist/webcomponents/p-dd2938d3.entry.js +0 -1
- package/dist/webcomponents/p-dec18cc4.js +0 -1
- package/dist/webcomponents/p-e3855f51.entry.js +0 -1
- package/dist/webcomponents/p-e73be1b9.entry.js +0 -1
- package/dist/webcomponents/p-e817d131.entry.js +0 -1
- package/dist/webcomponents/p-e9867f8b.entry.js +0 -1
- package/dist/webcomponents/p-f20466f7.entry.js +0 -1
- package/dist/webcomponents/p-f20b6ce1.js +0 -1
- package/dist/webcomponents/p-f4739d31.js +0 -1
- package/dist/webcomponents/p-f4aeb100.js +0 -1
- package/dist/webcomponents/p-f8fccf44.js +0 -1
- package/dist/webcomponents/p-f930504f.entry.js +0 -1
- package/dist/webcomponents/p-faa35b47.entry.js +0 -1
- package/dist/webcomponents/p-fb2db8da.entry.js +0 -1
- package/dist/webcomponents/p-fca89e9b.entry.js +0 -1
- /package/dist/cjs/{Dispute-eb6bad54.js → Dispute-CruQTF6_.js} +0 -0
- /package/dist/cjs/{Document-0b828345.js → Document-rXGBUaOh.js} +0 -0
- /package/dist/cjs/{Pagination-0da8f095.js → Pagination-Dediz133.js} +0 -0
- /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
- /package/dist/cjs/{event-types-8edaabbb.js → event-types-BWQT2lwu.js} +0 -0
- /package/dist/cjs/{event-types-180a85a9.js → event-types-DNOUef41.js} +0 -0
- /package/dist/cjs/{form-input-masks-0879c139.js → form-input-masks-DgXd0f4V.js} +0 -0
- /package/dist/cjs/{state-options-4fbcb48a.js → state-options-CIT9xdTz.js} +0 -0
- /package/dist/cjs/{utils-bc03ca40.js → utils-DAyWinG2.js} +0 -0
- /package/dist/esm/{Dispute-5fd28ec9.js → Dispute-7MWRbTXI.js} +0 -0
- /package/dist/esm/{Pagination-afc8f96d.js → Pagination-CLHwhyvu.js} +0 -0
- /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
- /package/dist/esm/{event-types-07cdb9a0.js → event-types-Bg2SZArf.js} +0 -0
- /package/dist/esm/{event-types-5c87de02.js → event-types-XYgDHrVL.js} +0 -0
- /package/dist/esm/{form-input-masks-0e18300f.js → form-input-masks-B-iV5cYd.js} +0 -0
- /package/dist/esm/{state-options-a356fb11.js → state-options-BX8GieXu.js} +0 -0
- /package/dist/esm/{utils-20cdf321.js → utils-BnjCmwMr.js} +0 -0
- /package/dist/webcomponents/{p-abdbcd8e.js → p-7MWRbTXI.js} +0 -0
- /package/dist/webcomponents/{p-525db3e8.js → p-B-iV5cYd.js} +0 -0
- /package/dist/webcomponents/{p-6078a370.js → p-BX8GieXu.js} +0 -0
- /package/dist/webcomponents/{p-667ebd79.js → p-Bg2SZArf.js} +0 -0
- /package/dist/webcomponents/{p-e3c22aa9.js → p-BnjCmwMr.js} +0 -0
- /package/dist/webcomponents/{p-56f6ce4c.js → p-CLHwhyvu.js} +0 -0
- /package/dist/webcomponents/{p-1ad5995e.js → p-Ce_F4E0f.js} +0 -0
- /package/dist/webcomponents/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
- /package/dist/webcomponents/{p-73f9be7c.js → p-XYgDHrVL.js} +0 -0
|
@@ -143,7 +143,7 @@ function effect$2(_ref2) {
|
|
|
143
143
|
} // eslint-disable-next-line import/no-unused-modules
|
|
144
144
|
|
|
145
145
|
|
|
146
|
-
|
|
146
|
+
var applyStyles$1 = {
|
|
147
147
|
name: 'applyStyles',
|
|
148
148
|
enabled: true,
|
|
149
149
|
phase: 'write',
|
|
@@ -458,7 +458,7 @@ function effect$1(_ref2) {
|
|
|
458
458
|
} // eslint-disable-next-line import/no-unused-modules
|
|
459
459
|
|
|
460
460
|
|
|
461
|
-
|
|
461
|
+
var arrow$1 = {
|
|
462
462
|
name: 'arrow',
|
|
463
463
|
enabled: true,
|
|
464
464
|
phase: 'main',
|
|
@@ -625,7 +625,7 @@ function computeStyles(_ref5) {
|
|
|
625
625
|
} // eslint-disable-next-line import/no-unused-modules
|
|
626
626
|
|
|
627
627
|
|
|
628
|
-
|
|
628
|
+
var computeStyles$1 = {
|
|
629
629
|
name: 'computeStyles',
|
|
630
630
|
enabled: true,
|
|
631
631
|
phase: 'beforeWrite',
|
|
@@ -672,7 +672,7 @@ function effect(_ref) {
|
|
|
672
672
|
} // eslint-disable-next-line import/no-unused-modules
|
|
673
673
|
|
|
674
674
|
|
|
675
|
-
|
|
675
|
+
var eventListeners = {
|
|
676
676
|
name: 'eventListeners',
|
|
677
677
|
enabled: true,
|
|
678
678
|
phase: 'write',
|
|
@@ -982,7 +982,6 @@ function detectOverflow(state, options) {
|
|
|
982
982
|
var popperOffsets = computeOffsets({
|
|
983
983
|
reference: referenceClientRect,
|
|
984
984
|
element: popperRect,
|
|
985
|
-
strategy: 'absolute',
|
|
986
985
|
placement: placement
|
|
987
986
|
});
|
|
988
987
|
var popperClientRect = rectToClientRect(Object.assign({}, popperRect, popperOffsets));
|
|
@@ -1178,7 +1177,7 @@ function flip(_ref) {
|
|
|
1178
1177
|
} // eslint-disable-next-line import/no-unused-modules
|
|
1179
1178
|
|
|
1180
1179
|
|
|
1181
|
-
|
|
1180
|
+
var flip$1 = {
|
|
1182
1181
|
name: 'flip',
|
|
1183
1182
|
enabled: true,
|
|
1184
1183
|
phase: 'main',
|
|
@@ -1240,7 +1239,7 @@ function hide(_ref) {
|
|
|
1240
1239
|
} // eslint-disable-next-line import/no-unused-modules
|
|
1241
1240
|
|
|
1242
1241
|
|
|
1243
|
-
|
|
1242
|
+
var hide$1 = {
|
|
1244
1243
|
name: 'hide',
|
|
1245
1244
|
enabled: true,
|
|
1246
1245
|
phase: 'main',
|
|
@@ -1292,7 +1291,7 @@ function offset(_ref2) {
|
|
|
1292
1291
|
} // eslint-disable-next-line import/no-unused-modules
|
|
1293
1292
|
|
|
1294
1293
|
|
|
1295
|
-
|
|
1294
|
+
var offset$1 = {
|
|
1296
1295
|
name: 'offset',
|
|
1297
1296
|
enabled: true,
|
|
1298
1297
|
phase: 'main',
|
|
@@ -1310,13 +1309,12 @@ function popperOffsets(_ref) {
|
|
|
1310
1309
|
state.modifiersData[name] = computeOffsets({
|
|
1311
1310
|
reference: state.rects.reference,
|
|
1312
1311
|
element: state.rects.popper,
|
|
1313
|
-
strategy: 'absolute',
|
|
1314
1312
|
placement: state.placement
|
|
1315
1313
|
});
|
|
1316
1314
|
} // eslint-disable-next-line import/no-unused-modules
|
|
1317
1315
|
|
|
1318
1316
|
|
|
1319
|
-
|
|
1317
|
+
var popperOffsets$1 = {
|
|
1320
1318
|
name: 'popperOffsets',
|
|
1321
1319
|
enabled: true,
|
|
1322
1320
|
phase: 'read',
|
|
@@ -1451,7 +1449,7 @@ function preventOverflow(_ref) {
|
|
|
1451
1449
|
} // eslint-disable-next-line import/no-unused-modules
|
|
1452
1450
|
|
|
1453
1451
|
|
|
1454
|
-
|
|
1452
|
+
var preventOverflow$1 = {
|
|
1455
1453
|
name: 'preventOverflow',
|
|
1456
1454
|
enabled: true,
|
|
1457
1455
|
phase: 'main',
|
|
@@ -1800,8 +1798,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1800
1798
|
this.placement = 'bottom';
|
|
1801
1799
|
this.offset = [0, 10];
|
|
1802
1800
|
this.strategy = 'absolute';
|
|
1803
|
-
this.trigger = 'click';
|
|
1804
|
-
this.anchorRef = undefined;
|
|
1801
|
+
this.trigger = 'click'; // 'click', 'hover', 'focus'
|
|
1805
1802
|
this.isOpen = false;
|
|
1806
1803
|
}
|
|
1807
1804
|
componentDidLoad() {
|
|
@@ -1876,7 +1873,7 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1876
1873
|
this.hideEvent.emit();
|
|
1877
1874
|
}
|
|
1878
1875
|
render() {
|
|
1879
|
-
return (h("div", { key: '
|
|
1876
|
+
return (h("div", { key: '93ef772e6f341891914bc0d105103268819025bb' }, h("style", { key: '190ce08d03bdac571064457b8c88862957eb29c9' }, `
|
|
1880
1877
|
.popper-content {
|
|
1881
1878
|
display: none;
|
|
1882
1879
|
}
|
|
@@ -1884,14 +1881,14 @@ const CustomPopper = /*@__PURE__*/ proxyCustomElement(class CustomPopper extends
|
|
|
1884
1881
|
display: block;
|
|
1885
1882
|
z-index: 1030;
|
|
1886
1883
|
}
|
|
1887
|
-
`), h("div", { key: '
|
|
1884
|
+
`), h("div", { key: '81f42aa1231eee2f8df55958bddc59c0c517e4f1', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: 'bc13e2c3da97458ceb210719b68547f6944f5437' }))));
|
|
1888
1885
|
}
|
|
1889
1886
|
}, [4, "custom-popper", {
|
|
1890
1887
|
"placement": [1],
|
|
1891
1888
|
"offset": [16],
|
|
1892
1889
|
"strategy": [1],
|
|
1893
1890
|
"trigger": [1],
|
|
1894
|
-
"anchorRef": [16],
|
|
1891
|
+
"anchorRef": [16, "anchor-ref"],
|
|
1895
1892
|
"isOpen": [32]
|
|
1896
1893
|
}]);
|
|
1897
1894
|
function defineCustomElement() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { W as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$5 } from './form-control-file-v22.js';
|
|
7
|
-
import { d as defineCustomElement$4 } from './form-control-help-
|
|
7
|
+
import { d as defineCustomElement$4 } from './form-control-help-text2.js';
|
|
8
8
|
import { d as defineCustomElement$3 } from './form-control-text2.js';
|
|
9
9
|
import { d as defineCustomElement$2 } from './form-control-textarea2.js';
|
|
10
10
|
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
@@ -19,14 +19,12 @@ const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails e
|
|
|
19
19
|
constructor() {
|
|
20
20
|
super();
|
|
21
21
|
this.__registerHost();
|
|
22
|
-
this.inputHandler = (name, value) => {
|
|
23
|
-
this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
|
|
24
|
-
};
|
|
25
|
-
this.disputeResponse = undefined;
|
|
26
22
|
this.documentErrors = {};
|
|
27
|
-
this.form = undefined;
|
|
28
23
|
this.errors = {};
|
|
29
24
|
this.documents = { customer_signature: [], customer_communication: [] };
|
|
25
|
+
this.inputHandler = (name, value) => {
|
|
26
|
+
this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
|
|
27
|
+
};
|
|
30
28
|
}
|
|
31
29
|
async validateAndSubmit(onSuccess) {
|
|
32
30
|
const documentList = Object.values(this.documents).flat();
|
|
@@ -43,7 +41,7 @@ const CustomerDetails = /*@__PURE__*/ proxyCustomElement(class CustomerDetails e
|
|
|
43
41
|
}
|
|
44
42
|
render() {
|
|
45
43
|
var _a, _b, _c, _d, _e;
|
|
46
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: 'aa6d9ce0e3f4fed7bbec20ae012dc4281d1463fb' }, h("div", { key: 'b456cd10529c362d671567acb2c51b309c587873', class: "row gy-3" }, h("div", { key: '1f46068f107c6cb63cf44beda7cd208581732ffd', class: "col-12" }, h("h2", { key: '1c2b3ffcbaff446509f38304f768fc0e1ee8cb20', class: "h5", part: heading5 }, "Customer Details")), h("div", { key: '7f24c6aa8d2221d1319a7adbef3fed710806fe8d', class: "col-12" }, h("form-control-text", { key: '8ac22164468ba524e3936ac6ea4452eb0e9ec041', label: "Full Name", name: "customer_name", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_name, inputHandler: this.inputHandler, errorText: this.errors.customer_name })), h("div", { key: 'bd7462028ae2be56b2d91fe216e723624c35bc9f', class: "col-12" }, h("form-control-text", { key: '024fa329a590d1c72496f88c676a0a773e2c17db', label: "Email", name: "customer_email_address", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.customer_email_address, inputHandler: this.inputHandler, errorText: this.errors.customer_email_address })), h("div", { key: '62289ab9f0963a7263caf551205b775b7088a1e5', class: "col-12" }, h("form-control-textarea", { key: '38ec0bfdd5de12c896dfee034cc0c838ae368dec', label: "Billing Address", name: "customer_billing_address", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.customer_billing_address, inputHandler: this.inputHandler, errorText: this.errors.customer_billing_address })), h("div", { key: '939e0ae33c789e107a06ef0ff863c068d39d6e71', class: "col-12" }, h("form-control-file-v2", { key: 'f6e270b3621e53814f947ee9d6668a64759af2fa', label: "Customer Signature", name: "customer_signature", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.customer_signature })), h("div", { key: 'e21ababbc4d31128a58234443e9ed846f816c80b', class: "col-12" }, h("form-control-file-v2", { key: 'f011192607cb4a24b4a1efe47ce5364e3f5c315d', label: "Customer Communication", name: "customer_communication", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.customer_communication })))));
|
|
47
45
|
}
|
|
48
46
|
}, [0, "justifi-customer-details", {
|
|
49
47
|
"disputeResponse": [8, "dispute-response"],
|
package/dist/module/details.js
CHANGED
|
@@ -5,7 +5,6 @@ const Details = /*@__PURE__*/ proxyCustomElement(class Details extends HTMLEleme
|
|
|
5
5
|
constructor() {
|
|
6
6
|
super();
|
|
7
7
|
this.__registerHost();
|
|
8
|
-
this.errorMessage = undefined;
|
|
9
8
|
}
|
|
10
9
|
render() {
|
|
11
10
|
return (h(Host, { key: 'd00d3b1c3b5d73af5a0eb1a18f2095f023aeb816' }, this.errorMessage ?
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { D as DisputeManagementClickActions } from './event-
|
|
2
|
+
import { D as DisputeManagementClickActions } from './event-types2.js';
|
|
3
3
|
import { D as Dispute, a as DisputeStatus } from './Payment.js';
|
|
4
4
|
import { d as defineCustomElement$i } from './custom-popper2.js';
|
|
5
5
|
import { d as defineCustomElement$h } from './form-control-date2.js';
|
|
6
6
|
import { d as defineCustomElement$g } from './form-control-file-v22.js';
|
|
7
|
-
import { d as defineCustomElement$f } from './form-control-help-
|
|
7
|
+
import { d as defineCustomElement$f } from './form-control-help-text2.js';
|
|
8
8
|
import { d as defineCustomElement$e } from './form-control-text2.js';
|
|
9
9
|
import { d as defineCustomElement$d } from './form-control-textarea2.js';
|
|
10
10
|
import { d as defineCustomElement$c } from './form-control-tooltip2.js';
|
|
@@ -25,10 +25,6 @@ const DisputeManagementCore = /*@__PURE__*/ proxyCustomElement(class DisputeMana
|
|
|
25
25
|
super();
|
|
26
26
|
this.__registerHost();
|
|
27
27
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
28
|
-
this.getDispute = undefined;
|
|
29
|
-
this.disputeId = undefined;
|
|
30
|
-
this.authToken = undefined;
|
|
31
|
-
this.dispute = undefined;
|
|
32
28
|
this.isLoading = true;
|
|
33
29
|
this.showDisputeResponseForm = false;
|
|
34
30
|
}
|
|
@@ -72,13 +68,13 @@ const DisputeManagementCore = /*@__PURE__*/ proxyCustomElement(class DisputeMana
|
|
|
72
68
|
});
|
|
73
69
|
}
|
|
74
70
|
render() {
|
|
75
|
-
return (h("div", { key: '
|
|
71
|
+
return (h("div", { key: '2d18538755406216b66ec416da158044945530ee' }, this.showDisputeResponseForm ? (h("justifi-dispute-response", { disputeId: this.disputeId, disputeResponse: this.dispute.dispute_response, authToken: this.authToken })) : (h("justifi-dispute-notification", { dispute: this.dispute, authToken: this.authToken, isLoading: this.isLoading }))));
|
|
76
72
|
}
|
|
77
73
|
static get watchers() { return {
|
|
78
74
|
"getDispute": ["updateOnPropChange"]
|
|
79
75
|
}; }
|
|
80
76
|
}, [0, "justifi-dispute-management-core", {
|
|
81
|
-
"getDispute": [16],
|
|
77
|
+
"getDispute": [16, "get-dispute"],
|
|
82
78
|
"disputeId": [1, "dispute-id"],
|
|
83
79
|
"authToken": [1, "auth-token"],
|
|
84
80
|
"dispute": [32],
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { f as formatCurrency } from './utils2.js';
|
|
3
|
-
import { t as text,
|
|
3
|
+
import { t as text, U as heading4 } from './parts.js';
|
|
4
4
|
import { B as Button } from './button.js';
|
|
5
5
|
import { S as StyledHost } from './styled-host.js';
|
|
6
6
|
import { S as Skeleton } from './skeleton.js';
|
|
7
7
|
import './details.js';
|
|
8
8
|
import { m as makeSubmitDisputeResponse, D as DisputeService } from './dispute-response-actions.js';
|
|
9
|
-
import { D as DisputeManagementClickActions } from './event-
|
|
9
|
+
import { D as DisputeManagementClickActions } from './event-types2.js';
|
|
10
10
|
|
|
11
11
|
const DisputeNotification = /*@__PURE__*/ proxyCustomElement(class DisputeNotification extends HTMLElement {
|
|
12
12
|
constructor() {
|
|
@@ -16,9 +16,6 @@ const DisputeNotification = /*@__PURE__*/ proxyCustomElement(class DisputeNotifi
|
|
|
16
16
|
this.clickEvent = createEvent(this, "click-event", 7);
|
|
17
17
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
18
18
|
this.submitEvent = createEvent(this, "submit-event", 7);
|
|
19
|
-
this.dispute = undefined;
|
|
20
|
-
this.authToken = undefined;
|
|
21
|
-
this.isLoading = undefined;
|
|
22
19
|
}
|
|
23
20
|
acceptDispute() {
|
|
24
21
|
makeSubmitDisputeResponse({
|
|
@@ -44,7 +41,7 @@ const DisputeNotification = /*@__PURE__*/ proxyCustomElement(class DisputeNotifi
|
|
|
44
41
|
}
|
|
45
42
|
render() {
|
|
46
43
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
47
|
-
return (h(StyledHost, { key: '
|
|
44
|
+
return (h(StyledHost, { key: 'c7b0e27df3ff2b6c3d7896b643dafa22ecbfc12f' }, this.isLoading && (h("div", { key: '18146e1d3c1dbe3c0d13373c271f6f0c2a14e577', style: { marginBottom: '8px' } }, h(Skeleton, { key: '4549fd59a8f667f3f20eee3ad7f222e3482ddd90', height: '28px', width: '70%', styles: { marginBottom: '16px' } }), h(Skeleton, { key: '7eb2385f0ffd5ff987e744cfa63b21c2b287b8c7', height: '18px', styles: { marginBottom: '8px' } }), h(Skeleton, { key: '573f29b4ab58f7e0e40b92ba66f72301b554c747', height: '18px', styles: { marginBottom: '8px' } }))), ((_a = this.dispute) === null || _a === void 0 ? void 0 : _a.needsResponse) && (h("div", { key: 'cbca9793cb135c38a44990123eabf1356f956611', part: text }, h("h1", { key: '753e802679bac3750d29956ff36405acd382e63a', class: "h4", part: heading4 }, "This payment is disputed"), h("p", { key: 'b61db99b9cd660cc275f95f54cdd6c83f8225875' }, "The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."), h("h2", { key: '9d5121aaeca16f9aa7a95783c1051c82aa9c8411', class: "h5" }, "Dispute details"), h("div", { key: '9283a15923b110e0b3fa88d626b6f35382c1d140', class: "d-table gap-2" }, h("div", { key: '2e55561fe97701ab94ea24b6959971c74ca6e729', class: "d-table-row gap-2" }, h("span", { key: 'f00c9fd6f56714465930707eb4b5d62089e7d267', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Amount"), h("span", { key: '49df6471bb1b23a17c9e94bec38a4790a4c201c9', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, formatCurrency((_b = this.dispute) === null || _b === void 0 ? void 0 : _b.amount))), h("div", { key: '82c0acacdf47345bdb164b8e478e5f00231a6c91', class: "d-table-row gap-2" }, h("span", { key: '9e5ffb7a87c37bddb5f3ac06b5cd5b0cb13a8f16', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Reason"), h("span", { key: '1ce8f6455621793c8cc529db0ad7e00edd7c56f7', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_c = this.dispute) === null || _c === void 0 ? void 0 : _c.reason)), h("div", { key: '2387aca8911939e4a38001aa4b027e4347b53f67', class: "d-table-row gap-2" }, h("span", { key: '6bae0054cd63fa4079aad94b1d59ebae82a5f29f', part: "detail-section-item-title", class: "fw-bold d-table-cell pe-4" }, "Dispute ID"), h("span", { key: '9902828da0416de007183640132b13b3b3876ab5', part: "detail-section-item-data", class: "flex-1 d-table-cell text-wrap" }, (_d = this.dispute) === null || _d === void 0 ? void 0 : _d.id))), h("div", { key: '488bf8b0f522eb80dc7875a05e5bcd9ecadc2e9f', class: "d-flex gap-2 mt-4 justify-content-end" }, h(Button, { key: '4a1ac98e4e10ef9eb6583266e822e9f92f37bb7a', variant: "secondary", onClick: () => this.acceptDispute() }, "Accept dispute"), h(Button, { key: '9636fef3a69df92ad8d5361f60374ee185c684f6', variant: "primary", onClick: () => this.initiateRespondToDispute() }, "Counter dispute")))), ((_e = this.dispute) === null || _e === void 0 ? void 0 : _e.underReview) && (h("div", { key: '80161e317bf111f13bd5305a427862a5c8533c6b' }, h("h1", { key: 'c5f43507dbb2b82b7098143b8397a6321e98201c', class: "h4" }, "This payment is disputed and under review"), h("p", { key: 'a31b3e8e72a8936ba3016e8f1f08505025d36372' }, "The cardholder is disputing this payment. A counter dispute has been submitted and is under review."))), ((_f = this.dispute) === null || _f === void 0 ? void 0 : _f.won) && (h("div", { key: '0033197d2d6c036de59dab25ec7238664bd52726' }, h("h1", { key: 'ef352a480feefb8e7aa22e27b86395baaedddaa5', class: "h4" }, "This payment was disputed"), h("p", { key: '258eeb510b153e46468889685f6abfcd88671be8' }, "The cardholder disputed this payment and the card issuer has settled it in your favor."))), ((_g = this.dispute) === null || _g === void 0 ? void 0 : _g.lost) && (h("div", { key: 'fa49089194fd3462be03ac147c0f414bcd2ff936' }, h("h1", { key: 'cad5f4223d4394adb1630268ec1dbce4b8e7de97', class: "h4" }, "This payment was disputed"), h("p", { key: 'befc6125e3d2548576c2072ebdf509f39afd93d3' }, "The cardholder disputed this payment and the card issuer has settled it in their favor.")))));
|
|
48
45
|
}
|
|
49
46
|
}, [1, "justifi-dispute-notification", {
|
|
50
47
|
"dispute": [16],
|
|
@@ -1,28 +1,37 @@
|
|
|
1
1
|
import { A as Api } from './Api.js';
|
|
2
|
-
import {
|
|
2
|
+
import { C as ComponentErrorSeverity } from './ComponentError.js';
|
|
3
3
|
import './Checkout.js';
|
|
4
4
|
import './Pagination.js';
|
|
5
5
|
import './Payment.js';
|
|
6
|
-
import './
|
|
6
|
+
import './Refund.js';
|
|
7
7
|
import './Document.js';
|
|
8
|
-
import { g as
|
|
8
|
+
import { g as getErrorCode, a as getErrorMessage } from './utils4.js';
|
|
9
9
|
|
|
10
10
|
class DisputeService {
|
|
11
11
|
async fetchDispute(disputeId, authToken) {
|
|
12
12
|
const endpoint = `disputes/${disputeId}`;
|
|
13
|
-
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get(endpoint);
|
|
13
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).get({ endpoint });
|
|
14
14
|
}
|
|
15
15
|
async updateDisputeResponse(disputeId, authToken, payload) {
|
|
16
16
|
const endpoint = `disputes/${disputeId}/response`;
|
|
17
|
-
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).patch(
|
|
17
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).patch({
|
|
18
|
+
endpoint,
|
|
19
|
+
body: payload,
|
|
20
|
+
});
|
|
18
21
|
}
|
|
19
22
|
async submitDisputeResponse(disputeId, authToken, payload) {
|
|
20
23
|
const endpoint = `disputes/${disputeId}/response`;
|
|
21
|
-
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post(
|
|
24
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).post({
|
|
25
|
+
endpoint,
|
|
26
|
+
body: payload,
|
|
27
|
+
});
|
|
22
28
|
}
|
|
23
29
|
async createDisputeEvidence(disputeId, authToken, payload) {
|
|
24
30
|
const endpoint = `disputes/${disputeId}/evidence`;
|
|
25
|
-
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).put(
|
|
31
|
+
return Api({ authToken, apiOrigin: "https://wc-proxy.justifi.ai" }).put({
|
|
32
|
+
endpoint,
|
|
33
|
+
body: payload,
|
|
34
|
+
});
|
|
26
35
|
}
|
|
27
36
|
}
|
|
28
37
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { D as DisputeManagementClickActions } from './event-
|
|
3
|
-
import {
|
|
2
|
+
import { D as DisputeManagementClickActions } from './event-types2.js';
|
|
3
|
+
import { U as heading4 } from './parts.js';
|
|
4
4
|
import { B as Button } from './button.js';
|
|
5
5
|
import { d as defineCustomElement$f } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$e } from './form-control-date2.js';
|
|
7
7
|
import { d as defineCustomElement$d } from './form-control-file-v22.js';
|
|
8
|
-
import { d as defineCustomElement$c } from './form-control-help-
|
|
8
|
+
import { d as defineCustomElement$c } from './form-control-help-text2.js';
|
|
9
9
|
import { d as defineCustomElement$b } from './form-control-text2.js';
|
|
10
10
|
import { d as defineCustomElement$a } from './form-control-textarea2.js';
|
|
11
11
|
import { d as defineCustomElement$9 } from './form-control-tooltip2.js';
|
|
@@ -26,6 +26,11 @@ const DisputeResponseCore = /*@__PURE__*/ proxyCustomElement(class DisputeRespon
|
|
|
26
26
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
27
27
|
this.stepCompleteEvent = createEvent(this, "complete-form-step-event", 7);
|
|
28
28
|
this.submitEvent = createEvent(this, "submit-event", 7);
|
|
29
|
+
this.disputeResponse = {};
|
|
30
|
+
this.isLoading = false;
|
|
31
|
+
this.documentList = [];
|
|
32
|
+
this.documentErrors = {};
|
|
33
|
+
this.currentStep = 0;
|
|
29
34
|
this.componentStepMapping = [
|
|
30
35
|
() => h("justifi-product-or-service", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
|
|
31
36
|
() => h("justifi-customer-details", { ref: (el) => this.currentStepComponentRef = el, disputeResponse: this.disputeResponse, documentErrors: this.documentErrors }),
|
|
@@ -162,15 +167,6 @@ const DisputeResponseCore = /*@__PURE__*/ proxyCustomElement(class DisputeRespon
|
|
|
162
167
|
await this.handleSubmit(submitData, documentList, formStep);
|
|
163
168
|
});
|
|
164
169
|
};
|
|
165
|
-
this.updateDisputeResponse = undefined;
|
|
166
|
-
this.submitDisputeResponse = undefined;
|
|
167
|
-
this.createDisputeEvidence = undefined;
|
|
168
|
-
this.disputeResponse = {};
|
|
169
|
-
this.isLoading = false;
|
|
170
|
-
this.documentList = [];
|
|
171
|
-
this.documentErrors = {};
|
|
172
|
-
this.currentStep = 0;
|
|
173
|
-
this.currentStepComponentRef = undefined;
|
|
174
170
|
}
|
|
175
171
|
get currentStepComponent() {
|
|
176
172
|
return this.componentStepMapping[this.currentStep]();
|
|
@@ -182,12 +178,12 @@ const DisputeResponseCore = /*@__PURE__*/ proxyCustomElement(class DisputeRespon
|
|
|
182
178
|
return this.currentStep === 0;
|
|
183
179
|
}
|
|
184
180
|
render() {
|
|
185
|
-
return (h("div", { key: '
|
|
181
|
+
return (h("div", { key: '925abd40942ff12e2e6a86a3c929848694713b15', class: "row gy-3" }, h("div", { key: 'd5f26db74f10893a9cde0758902c0b035a61a2c1', class: "col-12" }, h("h1", { key: '97a51d22b0e540b72f91f0a1a7bd813c8fb8d82d', class: "h4", part: heading4 }, "Counter dispute")), h("div", { key: 'fad6269029d7c647b0fdfef74b51ae10b57c3c25', class: "col-12" }, this.currentStepComponent), h("div", { key: 'ddc092e8ec7d7e65944ec0d543ee77d002430f5a', class: "col-12" }, h("div", { key: 'ba9acd77d6aaa6aeb302cecc9d3f5d5b429214c5', class: "d-flex gap-2 mt-4 justify-content-end" }, this.isFirstStep ? (h(Button, { variant: "secondary", onClick: () => this.onCancel(), disabled: this.isLoading, isLoading: this.isLoading }, "Cancel")) : (h(Button, { variant: "secondary", onClick: () => this.onBack(), disabled: this.isLoading, isLoading: this.isLoading }, "Back")), this.isLastStep ? (h(Button, { variant: "primary", onClick: () => this.onSubmit(), disabled: this.isLoading, isLoading: this.isLoading }, "Submit Counter Dispute")) : (h(Button, { variant: "primary", onClick: () => this.onNext(), disabled: this.isLoading, isLoading: this.isLoading }, "Next"))))));
|
|
186
182
|
}
|
|
187
183
|
}, [0, "justifi-dispute-response-core", {
|
|
188
|
-
"updateDisputeResponse": [16],
|
|
189
|
-
"submitDisputeResponse": [16],
|
|
190
|
-
"createDisputeEvidence": [16],
|
|
184
|
+
"updateDisputeResponse": [16, "update-dispute-response"],
|
|
185
|
+
"submitDisputeResponse": [16, "submit-dispute-response"],
|
|
186
|
+
"createDisputeEvidence": [16, "create-dispute-evidence"],
|
|
191
187
|
"disputeResponse": [8, "dispute-response"],
|
|
192
188
|
"isLoading": [32],
|
|
193
189
|
"documentList": [32],
|
|
@@ -3,11 +3,11 @@ import { c as checkPkgVersion, J as JustifiAnalytics } from './check-pkg-version
|
|
|
3
3
|
import { S as StyledHost } from './styled-host.js';
|
|
4
4
|
import './details.js';
|
|
5
5
|
import { a as makeUpdateDisputeResponse, b as makeCreateDisputeEvidence, m as makeSubmitDisputeResponse, D as DisputeService } from './dispute-response-actions.js';
|
|
6
|
-
import { C as
|
|
6
|
+
import { C as ComponentErrorSeverity, a as ComponentErrorCodes } from './ComponentError.js';
|
|
7
7
|
import { d as defineCustomElement$g } from './custom-popper2.js';
|
|
8
8
|
import { d as defineCustomElement$f } from './form-control-date2.js';
|
|
9
9
|
import { d as defineCustomElement$e } from './form-control-file-v22.js';
|
|
10
|
-
import { d as defineCustomElement$d } from './form-control-help-
|
|
10
|
+
import { d as defineCustomElement$d } from './form-control-help-text2.js';
|
|
11
11
|
import { d as defineCustomElement$c } from './form-control-text2.js';
|
|
12
12
|
import { d as defineCustomElement$b } from './form-control-textarea2.js';
|
|
13
13
|
import { d as defineCustomElement$a } from './form-control-tooltip2.js';
|
|
@@ -27,18 +27,12 @@ const DisputeResponse = /*@__PURE__*/ proxyCustomElement(class DisputeResponse e
|
|
|
27
27
|
this.__registerHost();
|
|
28
28
|
this.__attachShadow();
|
|
29
29
|
this.errorEvent = createEvent(this, "error-event", 7);
|
|
30
|
+
this.errorMessage = null;
|
|
31
|
+
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
30
32
|
this.handleErrorEvent = (event) => {
|
|
31
33
|
this.errorMessage = event.detail.message;
|
|
32
34
|
this.errorEvent.emit(event.detail);
|
|
33
35
|
};
|
|
34
|
-
this.updateDisputeResponse = undefined;
|
|
35
|
-
this.submitDisputeResponse = undefined;
|
|
36
|
-
this.createDisputeEvidence = undefined;
|
|
37
|
-
this.errorMessage = null;
|
|
38
|
-
this.authToken = undefined;
|
|
39
|
-
this.disputeId = undefined;
|
|
40
|
-
this.disputeResponse = undefined;
|
|
41
|
-
this.apiOrigin = "https://wc-proxy.justifi.ai";
|
|
42
36
|
}
|
|
43
37
|
componentWillLoad() {
|
|
44
38
|
checkPkgVersion();
|
|
@@ -79,7 +73,7 @@ const DisputeResponse = /*@__PURE__*/ proxyCustomElement(class DisputeResponse e
|
|
|
79
73
|
}
|
|
80
74
|
}
|
|
81
75
|
render() {
|
|
82
|
-
return (h(StyledHost, { key: '
|
|
76
|
+
return (h(StyledHost, { key: 'f9f1f5840fdcbde1bff206516b1ab5777e29e101' }, h("justifi-dispute-response-core", { key: '8ead7c944c233a6fa5fc6bf1cdd04670d446948e', "onError-event": this.handleErrorEvent, "dispute-id": this.disputeId, disputeResponse: this.disputeResponse, createDisputeEvidence: this.createDisputeEvidence, updateDisputeResponse: this.updateDisputeResponse, submitDisputeResponse: this.submitDisputeResponse })));
|
|
83
77
|
}
|
|
84
78
|
;
|
|
85
79
|
static get watchers() { return {
|
|
@@ -89,7 +83,7 @@ const DisputeResponse = /*@__PURE__*/ proxyCustomElement(class DisputeResponse e
|
|
|
89
83
|
}, [1, "justifi-dispute-response", {
|
|
90
84
|
"authToken": [1, "auth-token"],
|
|
91
85
|
"disputeId": [1, "dispute-id"],
|
|
92
|
-
"disputeResponse": [16],
|
|
86
|
+
"disputeResponse": [16, "dispute-response"],
|
|
93
87
|
"apiOrigin": [1, "api-origin"],
|
|
94
88
|
"updateDisputeResponse": [32],
|
|
95
89
|
"submitDisputeResponse": [32],
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { W as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$6 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$5 } from './form-control-file-v22.js';
|
|
7
|
-
import { d as defineCustomElement$4 } from './form-control-help-
|
|
7
|
+
import { d as defineCustomElement$4 } from './form-control-help-text2.js';
|
|
8
8
|
import { d as defineCustomElement$3 } from './form-control-text2.js';
|
|
9
9
|
import { d as defineCustomElement$2 } from './form-control-textarea2.js';
|
|
10
10
|
import { d as defineCustomElement$1 } from './form-control-tooltip2.js';
|
|
@@ -18,14 +18,12 @@ const DuplicateCharge = /*@__PURE__*/ proxyCustomElement(class DuplicateCharge e
|
|
|
18
18
|
constructor() {
|
|
19
19
|
super();
|
|
20
20
|
this.__registerHost();
|
|
21
|
-
this.inputHandler = (name, value) => {
|
|
22
|
-
this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
|
|
23
|
-
};
|
|
24
|
-
this.disputeResponse = undefined;
|
|
25
21
|
this.documentErrors = {};
|
|
26
|
-
this.form = undefined;
|
|
27
22
|
this.errors = {};
|
|
28
23
|
this.documents = { duplicate_charge_documentation: [] };
|
|
24
|
+
this.inputHandler = (name, value) => {
|
|
25
|
+
this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
|
|
26
|
+
};
|
|
29
27
|
}
|
|
30
28
|
async validateAndSubmit(onSuccess) {
|
|
31
29
|
const documentList = Object.values(this.documents).flat();
|
|
@@ -42,7 +40,7 @@ const DuplicateCharge = /*@__PURE__*/ proxyCustomElement(class DuplicateCharge e
|
|
|
42
40
|
}
|
|
43
41
|
render() {
|
|
44
42
|
var _a, _b, _c;
|
|
45
|
-
return (h("div", { key: '
|
|
43
|
+
return (h("div", { key: 'a66b6bb52fe1b0fb8e212dc00727e76340d7ca0c' }, h("div", { key: 'a318705438874cd947565be981b46723c178cbe4', class: "row gy-3" }, h("div", { key: '207fd1e636d499f03d905cd66121487550fae4ee', class: "col-12" }, h("h2", { key: '7e13abfa26ea8c64df319377dc72bb92895bdba4', class: "h5", part: heading5 }, "Duplicate Charge")), h("div", { key: '9f8c7054328beb116790026cb24a4d3e324edcac', class: "col-12" }, h("form-control-text", { key: '1ffb43f1c395eac1fbb4922eecf9ba4cf55e132f', label: "Original Payment ID", name: "duplicate_charge_original_payment_id", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.duplicate_charge_original_payment_id, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_original_payment_id })), h("div", { key: 'f8157dbd195d769860dfbf8e096612b8bfe8fe05', class: "col-12" }, h("form-control-textarea", { key: 'bb9e98c90935059a99f7251e54a2e10cd2d8e6b0', label: "Duplicate Charge Explanation", name: "duplicate_charge_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.duplicate_charge_explanation, inputHandler: this.inputHandler, errorText: this.errors.duplicate_charge_explanation })), h("div", { key: '5f81e93eb28f2aaf4a0b26a1fc38a843de40faa2', class: "col-12" }, h("form-control-file-v2", { key: 'c62471bd7cb1304ff04d15ae6527885d1658d8cb', label: "Duplicate Charge Documentation", name: "duplicate_charge_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.duplicate_charge_documentation })))));
|
|
46
44
|
}
|
|
47
45
|
}, [0, "justifi-duplicate-charge", {
|
|
48
46
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { W as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$4 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$3 } from './form-control-file-v22.js';
|
|
7
7
|
import { d as defineCustomElement$2 } from './form-control-text2.js';
|
|
@@ -15,14 +15,12 @@ const ElectronicEvidence = /*@__PURE__*/ proxyCustomElement(class ElectronicEvid
|
|
|
15
15
|
constructor() {
|
|
16
16
|
super();
|
|
17
17
|
this.__registerHost();
|
|
18
|
-
this.inputHandler = (name, value) => {
|
|
19
|
-
this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
|
|
20
|
-
};
|
|
21
|
-
this.disputeResponse = undefined;
|
|
22
18
|
this.documentErrors = {};
|
|
23
|
-
this.form = undefined;
|
|
24
19
|
this.errors = {};
|
|
25
20
|
this.documents = { activity_log: [] };
|
|
21
|
+
this.inputHandler = (name, value) => {
|
|
22
|
+
this.form.setValues(Object.assign(Object.assign({}, this.form.values.getValue()), { [name]: value }));
|
|
23
|
+
};
|
|
26
24
|
}
|
|
27
25
|
async validateAndSubmit(onSuccess) {
|
|
28
26
|
const documentList = Object.values(this.documents).flat();
|
|
@@ -39,7 +37,7 @@ const ElectronicEvidence = /*@__PURE__*/ proxyCustomElement(class ElectronicEvid
|
|
|
39
37
|
}
|
|
40
38
|
render() {
|
|
41
39
|
var _a, _b;
|
|
42
|
-
return (h("div", { key: '
|
|
40
|
+
return (h("div", { key: 'dfd89ee2ac10d21896550590e2bc16c93cf5d250' }, h("div", { key: '1a80252467cdd2425aef5aadc5eb15114b979c72', class: "row gy-3" }, h("div", { key: '0d15a99118ea22fb60d59295fc8027e46cec9894', class: "col-12" }, h("h2", { key: 'b1a4523bbe0fbb9cab857ac5652c4b8f09d51a06', class: "h5", part: heading5 }, "Electronic Evidence")), h("div", { key: '0e12afb8381bc6ecc923f28be5a5445003e5a55e', class: "col-12" }, h("form-control-text", { key: '509d4621fdd6f346f4c1987b919386960dd6b4e6', label: "Purchase IP Address", name: "customer_purchase_ip_address", helpText: "The IP address used by the customer during the purchase.", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.customer_purchase_ip_address, inputHandler: this.inputHandler, errorText: this.errors.customer_purchase_ip_address })), h("div", { key: 'c52b67e91e30f2be088837215b9b96f7deafea71', class: "col-12" }, h("form-control-file-v2", { key: 'd3fee7102a66df9cb39c1463247b27b5c5c3a934', label: "Activity Logs", name: "activity_log", helpText: "Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity.", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_b = this.documentErrors) === null || _b === void 0 ? void 0 : _b.activity_log })))));
|
|
43
41
|
}
|
|
44
42
|
}, [0, "justifi-electronic-evidence", {
|
|
45
43
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -1,62 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
var DisputeManagementClickActions;
|
|
2
|
+
(function (DisputeManagementClickActions) {
|
|
3
|
+
DisputeManagementClickActions["nextStep"] = "nextStep";
|
|
4
|
+
DisputeManagementClickActions["previousStep"] = "previousStep";
|
|
5
|
+
DisputeManagementClickActions["cancelDispute"] = "cancelDispute";
|
|
6
|
+
DisputeManagementClickActions["respondToDispute"] = "respondToDispute";
|
|
7
|
+
DisputeManagementClickActions["submit"] = "submit";
|
|
8
|
+
})(DisputeManagementClickActions || (DisputeManagementClickActions = {}));
|
|
9
|
+
var DisputeResponseFormStep;
|
|
10
|
+
(function (DisputeResponseFormStep) {
|
|
11
|
+
DisputeResponseFormStep["disputeReason"] = "dispute_reason";
|
|
12
|
+
DisputeResponseFormStep["productOrService"] = "product_or_service";
|
|
13
|
+
DisputeResponseFormStep["customerDetails"] = "customer_details";
|
|
14
|
+
DisputeResponseFormStep["cancellationPolicy"] = "cancellation_policy";
|
|
15
|
+
DisputeResponseFormStep["refundPolicy"] = "refund_policy";
|
|
16
|
+
DisputeResponseFormStep["duplicateCharge"] = "duplicate_charge";
|
|
17
|
+
DisputeResponseFormStep["electronicEvidence"] = "electronic_evidence";
|
|
18
|
+
DisputeResponseFormStep["shippingDetails"] = "shipping_details";
|
|
19
|
+
DisputeResponseFormStep["additionalStatement"] = "additional_statement";
|
|
20
|
+
})(DisputeResponseFormStep || (DisputeResponseFormStep = {}));
|
|
4
21
|
|
|
5
|
-
|
|
6
|
-
const { columnSpan, isEmpty } = props;
|
|
7
|
-
if (!columnSpan || !isEmpty) {
|
|
8
|
-
return null;
|
|
9
|
-
}
|
|
10
|
-
return (h("tr", null,
|
|
11
|
-
h("td", { class: "empty-state", part: tableEmpty, colSpan: columnSpan, style: { textAlign: 'center' } }, "No results")));
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
const TableErrorState = (props) => {
|
|
15
|
-
const { columnSpan, errorMessage } = props;
|
|
16
|
-
if (!columnSpan || !errorMessage) {
|
|
17
|
-
return null;
|
|
18
|
-
}
|
|
19
|
-
return (h("tr", null,
|
|
20
|
-
h("td", { class: "error-state", part: tableError, colSpan: columnSpan, "data-test-id": "table-error-state", style: { textAlign: 'center' } },
|
|
21
|
-
"An unexpected error occurred: ",
|
|
22
|
-
errorMessage)));
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
const TableLoadingState = (props) => {
|
|
26
|
-
const { columnSpan, isLoading } = props;
|
|
27
|
-
if (!columnSpan || !isLoading) {
|
|
28
|
-
return null;
|
|
29
|
-
}
|
|
30
|
-
return (h("tr", null,
|
|
31
|
-
h("td", { class: "loading-state", part: tableCell, colSpan: columnSpan, style: { textAlign: 'center' } },
|
|
32
|
-
h(Spinner, null))));
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
class Table {
|
|
36
|
-
get columnData() {
|
|
37
|
-
return this.columnKeys.map((key) => this.tableColumns[key]());
|
|
38
|
-
}
|
|
39
|
-
get rowData() {
|
|
40
|
-
return this.collection.map((dataEntry, index) => {
|
|
41
|
-
return this.columnKeys.map((key) => this.tableCells[key](dataEntry, index));
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
set collectionData(collection) {
|
|
45
|
-
this.collection = collection;
|
|
46
|
-
}
|
|
47
|
-
constructor(collection, columns, tableColumns, tableCells) {
|
|
48
|
-
this.columnKeys = columns.split(',');
|
|
49
|
-
this.collection = collection;
|
|
50
|
-
this.tableColumns = tableColumns;
|
|
51
|
-
this.tableCells = tableCells;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
var TableClickActions;
|
|
56
|
-
(function (TableClickActions) {
|
|
57
|
-
TableClickActions["row"] = "tableRow";
|
|
58
|
-
TableClickActions["next"] = "nextPage";
|
|
59
|
-
TableClickActions["previous"] = "previousPage";
|
|
60
|
-
})(TableClickActions || (TableClickActions = {}));
|
|
61
|
-
|
|
62
|
-
export { TableClickActions as T, Table as a, TableLoadingState as b, TableEmptyState as c, TableErrorState as d };
|
|
22
|
+
export { DisputeManagementClickActions as D };
|