@justifi/webcomponents 6.12.3 → 6.13.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Analytics-DcqsdFaD.js → Analytics-Be2I_aiS.js} +2 -3
- package/dist/cjs/{Plaid-BlSGeGpn.js → Plaid-Aw35bhCX.js} +62 -6
- package/dist/cjs/additional-questions-form-step_14.cjs.entry.js +151 -19
- package/dist/cjs/{justifi-additional-statement_8.cjs.entry.js → additional-statement_8.cjs.entry.js} +24 -24
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business-identity-schema-DWWtSiUF.js → business-identity-schema-DI9XFbaD.js} +67 -0
- package/dist/cjs/{business.service-BheJs82v.js → business.service-CylI3Qrg.js} +1 -2
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-DFTQGZz1.js → check-pkg-version-BLLLh6v-.js} +1 -1
- package/dist/cjs/checkout-actions-8-MUczKw.js +62 -0
- package/dist/cjs/{checkout.service-DZKdHQQq.js → checkout.service-BYpinbSR.js} +1 -2
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/{justifi-dispute-notification_3.cjs.entry.js → dispute-notification_2.cjs.entry.js} +67 -90
- package/dist/cjs/{event-types-BWQT2lwu.js → event-types-DptNnCEP.js} +30 -0
- package/dist/cjs/form-address-fields_3.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-file.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number_2.cjs.entry.js +89 -0
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
- package/dist/cjs/{get-business-TFzhaBXn.js → get-business-D10Tmct1.js} +2 -2
- package/dist/cjs/{get-payment-details-DL5FmIyF.js → get-payment-details-BB5aa48u.js} +2 -3
- package/dist/cjs/{get-subaccounts-CVK4O7th.js → get-subaccounts-CSD2nAqD.js} +2 -3
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_11.cjs.entry.js +15 -70
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +5 -6
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +5 -6
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +7 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +10 -12
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +5 -6
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +3141 -0
- package/dist/cjs/justifi-checkout.cjs.entry.js +4 -5
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +190 -27
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +65 -18
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +11071 -23
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +9 -10
- package/dist/cjs/justifi-payment-details.cjs.entry.js +16 -17
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -11
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +7 -8
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +9 -10
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +208 -0
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +7 -8
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -6
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -5
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +178 -24
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +8 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-bM0MyhTf.js → package-gx36QXN1.js} +1 -1
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-BO7dzIm1.js → payment-provisioning-actions-DimM0KGV.js} +2 -2
- package/dist/cjs/{payment.service-sZKlg2Jq.js → payment.service-fy5bXXmA.js} +1 -2
- package/dist/cjs/{payout.service-BcQVsMCS.js → payout.service-hp3PTXWI.js} +1 -2
- package/dist/cjs/{payouts-status-CwgOMz-S.js → payouts-status-CF1YT_RL.js} +2 -2
- package/dist/cjs/{plaid.service-BcgO2VXC.js → plaid.service-9PmS4X0g.js} +1 -2
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-CjMMWSh3.js → terminal.service-D5D76Cnn.js} +1 -2
- package/dist/cjs/{utils-DbTucCTO.js → utils-Dcde8Zpt.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Terminal.js +1 -1
- package/dist/collection/collection-manifest.json +12 -16
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +2 -2
- package/dist/collection/components/business-forms/owner-form/owner-form.js +226 -12
- package/dist/collection/components/checkout-qr-code/justifi-checkout-qr-code.js +128 -0
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +2 -2
- package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +166 -16
- package/dist/collection/components/dispute-management/{justifi-dispute-notification.js → dispute-notification.js} +5 -6
- package/dist/collection/components/dispute-management/dispute-response/{justifi-additional-statement.js → additional-statement.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-cancellation-policy.js → cancellation-policy.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-customer-details.js → customer-details.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{dispute-response-core.js → dispute-response.js} +105 -77
- package/dist/collection/components/dispute-management/dispute-response/{justifi-duplicate-charge.js → duplicate-charge.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-electronic-evidence.js → electronic-evidence.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-product-or-service.js → product-or-service.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-refund-policy.js → refund-policy.js} +3 -3
- package/dist/collection/components/dispute-management/dispute-response/{justifi-shipping-details.js → shipping-details.js} +3 -3
- package/dist/collection/components/dispute-management/justifi-dispute-management.js +78 -11
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/justifi-gross-payment-chart.js +79 -15
- package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/justifi-payment-details.js +8 -8
- package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/justifi-payments-list.js +1 -1
- package/dist/collection/components/payout-details/justifi-payout-details.js +3 -3
- package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/justifi-payouts-list.js +1 -1
- package/dist/collection/components/qr-terminal/justifi-qr-terminal.js +349 -0
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +134 -10
- package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/internal-button.js +1 -1
- package/dist/collection/ui-components/radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +5878 -6778
- package/dist/esm/{Analytics-Cyc3ZLPx.js → Analytics-DZWGizAK.js} +2 -3
- package/dist/esm/{Plaid-BuKEVgbB.js → Plaid-fhlY0CIN.js} +58 -3
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/additional-questions-form-step_14.entry.js +156 -24
- package/dist/esm/additional-questions_5.entry.js +2 -2
- package/dist/esm/{justifi-additional-statement_8.entry.js → additional-statement_8.entry.js} +19 -19
- package/dist/esm/{badge-B6dp1XGV.js → badge-Dlcl9qdm.js} +1 -1
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +5 -5
- package/dist/esm/bank-account-form.entry.js +4 -4
- package/dist/esm/bank-account-read-only-value.entry.js +1 -1
- package/dist/esm/business-identity-schema-D-Nk9aGV.js +163 -0
- package/dist/esm/{business.service-BPbZ5fxQ.js → business.service-Crs-0Mdy.js} +1 -2
- package/dist/esm/{button-DRdaAudE.js → button-BvzOzV4l.js} +1 -1
- package/dist/esm/card-form.entry.js +4 -4
- package/dist/esm/{check-pkg-version-6iGDh82c.js → check-pkg-version-CVyuA8aH.js} +1 -1
- package/dist/esm/checkout-actions-BMnp3uHK.js +59 -0
- package/dist/esm/{checkout.service-CJMfFKyS.js → checkout.service-BMAQVmHa.js} +1 -2
- package/dist/esm/{country-config-P042rrI3.js → country-config-B_fuF6JU.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +3 -3
- package/dist/esm/{justifi-dispute-notification_3.entry.js → dispute-notification_2.entry.js} +68 -90
- package/dist/esm/{event-types-Bg2SZArf.js → event-types-CVVB5p_Q.js} +29 -1
- package/dist/esm/form-address-fields_3.entry.js +5 -5
- package/dist/esm/form-control-checkbox.entry.js +3 -3
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-DVedKyhp.js → form-control-error-text-Di9QePY5.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/form-control-file.entry.js +4 -4
- package/dist/esm/{form-control-help-text-D-349cNw.js → form-control-help-text-DGMpMuAm.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number_2.entry.js +86 -0
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_2.entry.js +6 -6
- package/dist/esm/{get-business-DIpEbczl.js → get-business-B9ZS1tVq.js} +2 -2
- package/dist/esm/{get-payment-details-DjBou5Fu.js → get-payment-details-CiR6FrkO.js} +2 -3
- package/dist/esm/{get-subaccounts-CgDWE_5o.js → get-subaccounts-VpDr7yN4.js} +2 -3
- package/dist/esm/{header-1-Bl7MHW0w.js → header-1-evYxFIGN.js} +1 -1
- package/dist/esm/{header-3-C7JJVnMG.js → header-3-BUDap2xY.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{index.esm-BHdVU4hV.js → index.esm-CgNcFueq.js} +1 -1
- package/dist/esm/{insurance-state-qTdpe84i.js → insurance-state-CLGc1-_4.js} +1 -1
- package/dist/esm/internal-button.entry.js +3 -3
- package/dist/esm/justifi-apple-pay_11.entry.js +18 -73
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +5 -6
- package/dist/esm/justifi-bank-account-form.entry.js +5 -6
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +10 -11
- package/dist/esm/justifi-business-form.entry.js +15 -17
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +5 -6
- package/dist/esm/justifi-checkout-qr-code.entry.js +3139 -0
- package/dist/esm/justifi-checkout.entry.js +5 -6
- package/dist/esm/justifi-checkouts-list-filters.entry.js +4 -5
- package/dist/esm/justifi-checkouts-list.entry.js +190 -27
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +64 -17
- package/dist/esm/justifi-gross-payment-chart.entry.js +11071 -23
- package/dist/esm/justifi-order-terminals.entry.js +11 -12
- package/dist/esm/justifi-payment-details.entry.js +20 -21
- package/dist/esm/justifi-payment-provisioning.entry.js +11 -12
- package/dist/esm/justifi-payment-transactions-list.entry.js +10 -11
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +12 -13
- package/dist/esm/justifi-payout-details.entry.js +15 -16
- package/dist/esm/justifi-payout-transactions-list.entry.js +10 -11
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -5
- package/dist/esm/justifi-payouts-list.entry.js +13 -14
- package/dist/esm/justifi-qr-terminal.entry.js +206 -0
- package/dist/esm/justifi-refund-payment.entry.js +11 -12
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -9
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +5 -6
- package/dist/esm/justifi-terminal-orders-list.entry.js +175 -21
- package/dist/esm/justifi-terminals-list-filters.entry.js +3 -4
- package/dist/esm/justifi-terminals-list.entry.js +12 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-beXEDfB9.js → package-CZa-hHhJ.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-DnrawQn3.js → parts-CPKMvyV_.js} +1 -1
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment-provisioning-actions-Dr0YIShV.js → payment-provisioning-actions-CcDadiRe.js} +2 -2
- package/dist/esm/payment-provisioning-form-buttons_2.entry.js +2 -2
- package/dist/esm/{payment-provisioning-loading-DI2wDkhm.js → payment-provisioning-loading-Dve2xQA4.js} +1 -1
- package/dist/esm/{payment.service-Ckbb7gXA.js → payment.service-BiKQPL4M.js} +1 -2
- package/dist/esm/{payments-status-BIDoGw-m.js → payments-status-BlVUt4C1.js} +1 -1
- package/dist/esm/{payout.service-BgFKxEoL.js → payout.service-B9_cyUiU.js} +1 -2
- package/dist/esm/{payouts-status-1T2NZBoE.js → payouts-status-xOa5tT66.js} +3 -3
- package/dist/esm/{plaid.service-BLguQHs_.js → plaid.service-bU3qIoKd.js} +1 -2
- package/dist/esm/radio-list-item.entry.js +2 -2
- package/dist/esm/{schema-validations-v6WGlZkq.js → schema-validations-u9_XnlUL.js} +2 -2
- package/dist/esm/{skeleton-CXGFVqDf.js → skeleton-BEHo2ypu.js} +1 -1
- package/dist/esm/{spinner-kSw6PcwU.js → spinner-DIiQZd6_.js} +1 -1
- package/dist/esm/{table-CcyuIutB.js → table-DqGfsdys.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-0oISl5j-.js → terminal.service-BM6BvevW.js} +1 -2
- package/dist/esm/{utils-DcfpJGDZ.js → utils-BogmBHgt.js} +1 -1
- package/dist/esm/{utils-BxYS3WDw.js → utils-CX6puxwf.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Plaid.js +2 -2
- package/dist/module/{justifi-refund-policy.d.ts → additional-statement.d.ts} +4 -4
- package/dist/module/additional-statement.js +6 -0
- package/dist/module/{justifi-additional-statement2.js → additional-statement2.js} +8 -8
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-billing-form-simple2.js +1 -1
- package/dist/module/billing-form-full2.js +1 -1
- package/dist/module/business-owners-form-step2.js +20 -26
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.d.ts +11 -0
- package/dist/module/cancellation-policy.js +6 -0
- package/dist/module/{justifi-cancellation-policy2.js → cancellation-policy2.js} +8 -8
- package/dist/module/card-billing-form-simple2.js +1 -1
- package/dist/module/checkout-actions.js +59 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.d.ts +11 -0
- package/dist/module/customer-details.js +6 -0
- package/dist/module/{justifi-customer-details2.js → customer-details2.js} +8 -8
- package/dist/module/dispute-notification.d.ts +11 -0
- package/dist/module/dispute-notification.js +6 -0
- package/dist/module/dispute-notification2.js +82 -0
- package/dist/module/dispute-response.d.ts +11 -0
- package/dist/module/dispute-response.js +6 -0
- package/dist/module/{dispute-response-core.js → dispute-response2.js} +105 -53
- package/dist/module/duplicate-charge.d.ts +11 -0
- package/dist/module/duplicate-charge.js +6 -0
- package/dist/module/{justifi-duplicate-charge2.js → duplicate-charge2.js} +8 -8
- package/dist/module/electronic-evidence.d.ts +11 -0
- package/dist/module/electronic-evidence.js +6 -0
- package/dist/module/{justifi-electronic-evidence2.js → electronic-evidence2.js} +8 -8
- package/dist/module/event-types3.js +119 -1
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number2.js +3 -3
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +3 -3
- package/dist/module/hidden-input2.js +2 -2
- package/dist/module/iframe-input2.js +4 -4
- package/dist/module/internal-button2.js +1 -1
- package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/module/justifi-bank-account-form.js +1 -1
- package/dist/module/justifi-billing-form-full.js +1 -1
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-card-billing-form-simple.js +1 -1
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout-qr-code.d.ts +11 -0
- package/dist/module/justifi-checkout-qr-code.js +6 -0
- package/dist/module/justifi-checkout-qr-code2.js +3154 -0
- package/dist/module/justifi-checkout-summary2.js +1 -1
- package/dist/module/justifi-checkouts-list-filters.js +3 -3
- package/dist/module/justifi-checkouts-list.js +197 -28
- package/dist/module/justifi-dispute-management.js +103 -62
- package/dist/module/justifi-gross-payment-chart.js +11074 -24
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +3 -58
- package/dist/module/justifi-order-terminals.js +4 -4
- package/dist/module/justifi-payment-details.js +9 -9
- package/dist/module/justifi-payment-provisioning.js +53 -59
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-details.js +3 -3
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +3 -3
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/{checkouts-list-core.d.ts → justifi-qr-terminal.d.ts} +4 -4
- package/dist/module/justifi-qr-terminal.js +234 -0
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +184 -22
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +2 -2
- package/dist/module/justifi-tokenize-payment-method2.js +1 -1
- package/dist/module/owner-form-inputs2.js +2 -2
- package/dist/module/owner-form2.js +177 -33
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +1 -1
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payment-provisioning-form-steps2.js +52 -58
- package/dist/module/product-or-service.d.ts +11 -0
- package/dist/module/product-or-service.js +6 -0
- package/dist/module/{justifi-product-or-service2.js → product-or-service2.js} +8 -8
- package/dist/module/radio-list-item2.js +1 -1
- package/dist/module/{owner-form-core.d.ts → refund-policy.d.ts} +4 -4
- package/dist/module/refund-policy.js +6 -0
- package/dist/module/{justifi-refund-policy2.js → refund-policy2.js} +8 -8
- package/dist/module/shipping-details.d.ts +11 -0
- package/dist/module/shipping-details.js +6 -0
- package/dist/module/{justifi-shipping-details2.js → shipping-details2.js} +8 -8
- package/dist/module/spinner.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/utils2.js +1 -1
- package/dist/types/api/Checkout.d.ts +1 -2
- package/dist/types/api/Terminal.d.ts +1 -1
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +69 -5
- package/dist/types/components/checkout-qr-code/justifi-checkout-qr-code.d.ts +18 -0
- package/dist/types/components/checkouts-list/justifi-checkouts-list.d.ts +28 -6
- package/dist/types/components/dispute-management/{justifi-dispute-notification.d.ts → dispute-notification.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-additional-statement.d.ts → additional-statement.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-cancellation-policy.d.ts → cancellation-policy.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-customer-details.d.ts → customer-details.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{dispute-response-core.d.ts → dispute-response.d.ts} +21 -10
- package/dist/types/components/dispute-management/dispute-response/{justifi-duplicate-charge.d.ts → duplicate-charge.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-electronic-evidence.d.ts → electronic-evidence.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-product-or-service.d.ts → product-or-service.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-refund-policy.d.ts → refund-policy.d.ts} +1 -1
- package/dist/types/components/dispute-management/dispute-response/{justifi-shipping-details.d.ts → shipping-details.d.ts} +1 -1
- package/dist/types/components/dispute-management/justifi-dispute-management.d.ts +10 -2
- package/dist/types/components/gross-payment-chart/justifi-gross-payment-chart.d.ts +13 -2
- package/dist/types/components/qr-terminal/justifi-qr-terminal.d.ts +42 -0
- package/dist/types/components/terminal-orders-list/justifi-terminal-orders-list.d.ts +21 -3
- package/dist/types/components.d.ts +388 -543
- package/dist/webcomponents/p-06e8df55.entry.js +1 -0
- package/dist/webcomponents/p-0708cb76.entry.js +1 -0
- package/dist/webcomponents/p-07f2f1bf.entry.js +1 -0
- package/dist/webcomponents/p-0fb8fb8c.entry.js +1 -0
- package/dist/webcomponents/p-10087a53.entry.js +1 -0
- package/dist/webcomponents/p-12ae030d.entry.js +1 -0
- package/dist/webcomponents/p-1d7b8c21.entry.js +1 -0
- package/dist/webcomponents/p-21c89e22.entry.js +1 -0
- package/dist/webcomponents/{p-256c5509.entry.js → p-22d19755.entry.js} +1 -1
- package/dist/webcomponents/{p-2425a375.entry.js → p-2dfdecbb.entry.js} +1 -1
- package/dist/webcomponents/p-2ec7cd88.entry.js +1 -0
- package/dist/webcomponents/p-2qotS5d_.js +1 -0
- package/dist/webcomponents/p-355a5c8d.entry.js +1 -0
- package/dist/webcomponents/p-37b95a11.entry.js +1 -0
- package/dist/webcomponents/p-37fd1862.entry.js +1 -0
- package/dist/webcomponents/{p-4d21df48.entry.js → p-383b8317.entry.js} +1 -1
- package/dist/webcomponents/p-392f0c1c.entry.js +1 -0
- package/dist/webcomponents/{p-1e877e0a.entry.js → p-3d6b9434.entry.js} +1 -1
- package/dist/webcomponents/p-44cf13ac.entry.js +1 -0
- package/dist/webcomponents/p-46477dfe.entry.js +1 -0
- package/dist/webcomponents/{p-befe01ef.entry.js → p-49c13952.entry.js} +1 -1
- package/dist/webcomponents/p-4ccf9cd7.entry.js +1 -0
- package/dist/webcomponents/p-55fdab4e.entry.js +1 -0
- package/dist/webcomponents/p-5ccb46ee.entry.js +1 -0
- package/dist/webcomponents/p-5f8dfa8d.entry.js +1 -0
- package/dist/webcomponents/{p-8253ef9f.entry.js → p-605bd107.entry.js} +1 -1
- package/dist/webcomponents/p-63b7abf3.entry.js +1 -0
- package/dist/webcomponents/p-6RTf1SXX.js +1 -0
- package/dist/webcomponents/p-70cd2808.entry.js +1 -0
- package/dist/webcomponents/{p-3c046adc.entry.js → p-70dcd833.entry.js} +1 -1
- package/dist/webcomponents/p-769d3d93.entry.js +1 -0
- package/dist/webcomponents/p-79bd744e.entry.js +1 -0
- package/dist/webcomponents/{p-31e74a5a.entry.js → p-7a4cd292.entry.js} +1 -1
- package/dist/webcomponents/p-89cd31f2.entry.js +1 -0
- package/dist/webcomponents/p-8d602e60.entry.js +1 -0
- package/dist/webcomponents/p-9153c121.entry.js +1 -0
- package/dist/webcomponents/p-94f14640.entry.js +1 -0
- package/dist/webcomponents/p-98f399ec.entry.js +1 -0
- package/dist/webcomponents/p-9b944aa4.entry.js +1 -0
- package/dist/webcomponents/{p-bc2af6b4.entry.js → p-9fc7714d.entry.js} +1 -1
- package/dist/webcomponents/p-9fca25fc.entry.js +1 -0
- package/dist/webcomponents/p-B5gBiARs.js +1 -0
- package/dist/webcomponents/p-BGvaX-lJ.js +1 -0
- package/dist/webcomponents/{p-bn_huKYG.js → p-BICxxa69.js} +1 -1
- package/dist/webcomponents/{p-2LVpxCS_.js → p-CHo7TfsM.js} +1 -1
- package/dist/webcomponents/p-CHw7tICr.js +1 -0
- package/dist/webcomponents/{p-DnrawQn3.js → p-CPKMvyV_.js} +1 -1
- package/dist/webcomponents/p-CSgcCWLS.js +1 -0
- package/dist/webcomponents/p-CZa-hHhJ.js +1 -0
- package/dist/webcomponents/p-Ce_W43gc.js +1 -0
- package/dist/webcomponents/p-Cg_3KsGO.js +1 -0
- package/dist/webcomponents/p-CqPcl9v7.js +1 -0
- package/dist/webcomponents/p-CqiVXthx.js +1 -0
- package/dist/webcomponents/{p-x9fFFf7F.js → p-Cu7hgXL1.js} +1 -1
- package/dist/webcomponents/p-CvgL8YaH.js +1 -0
- package/dist/webcomponents/p-D-zwk1J3.js +1 -0
- package/dist/webcomponents/{p-D1D2eC05.js → p-D1_eip6x.js} +1 -1
- package/dist/webcomponents/p-D4E9P7df.js +1 -0
- package/dist/webcomponents/p-DD-_8sbs.js +1 -0
- package/dist/webcomponents/{p-DgH-jcIo.js → p-DHFQtPCq.js} +1 -1
- package/dist/webcomponents/p-DMqJWUK2.js +1 -0
- package/dist/webcomponents/p-DSclFZ32.js +1 -0
- package/dist/webcomponents/p-DYHjzFnJ.js +1 -0
- package/dist/webcomponents/p-DZAMzLxa.js +1 -0
- package/dist/webcomponents/p-DbOUuBHs.js +1 -0
- package/dist/webcomponents/{p-CKiAlBsU.js → p-DwoT0UoX.js} +1 -1
- package/dist/webcomponents/{p-_-2E_vYf.js → p-DyucNSA4.js} +1 -1
- package/dist/webcomponents/p-Eb1f86_V.js +1 -0
- package/dist/webcomponents/p-KXLYEe1D.js +1 -0
- package/dist/webcomponents/p-XxG-t-Sl.js +1 -0
- package/dist/webcomponents/{p-10be75b8.entry.js → p-a80f69a9.entry.js} +1 -1
- package/dist/webcomponents/{p-9581d6a1.entry.js → p-a9695714.entry.js} +1 -1
- package/dist/webcomponents/p-aee2295b.entry.js +1 -0
- package/dist/webcomponents/p-b0b6083f.entry.js +1 -0
- package/dist/webcomponents/p-b20b8805.entry.js +1 -0
- package/dist/webcomponents/p-b341efd6.entry.js +1 -0
- package/dist/webcomponents/{p-e6e56dbb.entry.js → p-b62ff001.entry.js} +1 -1
- package/dist/webcomponents/p-bb5de874.entry.js +1 -0
- package/dist/webcomponents/p-bd678d4a.entry.js +1 -0
- package/dist/webcomponents/p-c1539656.entry.js +1 -0
- package/dist/webcomponents/p-c8ee1e4c.entry.js +1 -0
- package/dist/webcomponents/{p-09d2efad.entry.js → p-ca87c609.entry.js} +1 -1
- package/dist/webcomponents/p-ce1dde85.entry.js +1 -0
- package/dist/webcomponents/p-d620d4b4.entry.js +1 -0
- package/dist/webcomponents/{p-9db1444f.entry.js → p-db09f306.entry.js} +1 -1
- package/dist/webcomponents/{p-c9e1df15.entry.js → p-dcd600ca.entry.js} +1 -1
- package/dist/webcomponents/{p-354fb3c4.entry.js → p-e020f003.entry.js} +1 -1
- package/dist/webcomponents/p-e4cb7c21.entry.js +1 -0
- package/dist/webcomponents/p-e5c2215a.entry.js +1 -0
- package/dist/webcomponents/p-e6b9dfe1.entry.js +1 -0
- package/dist/webcomponents/p-eCeOsPHx.js +1 -0
- package/dist/webcomponents/p-eK8hZOMg.js +1 -0
- package/dist/webcomponents/p-f1b9cbf0.entry.js +1 -0
- package/dist/webcomponents/p-f9aafb21.entry.js +1 -0
- package/dist/webcomponents/p-ff5c5499.entry.js +20 -0
- package/dist/webcomponents/p-jIDKmNHy.js +1 -0
- package/dist/webcomponents/{p-Cej-1bD6.js → p-qju4tNG1.js} +1 -1
- package/dist/webcomponents/p-uZ5KAseb.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +16 -14
- package/LICENSE +0 -21
- package/dist/cjs/Dispute-CruQTF6_.js +0 -59
- package/dist/cjs/business-additional-questions-schema-CI80eZLJ.js +0 -73
- package/dist/cjs/checkouts-list-core.cjs.entry.js +0 -146
- package/dist/cjs/checkouts-table-CCxrsy0x.js +0 -55
- package/dist/cjs/dispute.service-BbtwY673.js +0 -32
- package/dist/cjs/form-control-number_3.cjs.entry.js +0 -249
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +0 -11075
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +0 -61
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +0 -108
- package/dist/cjs/terminal-orders-table-Cz6qvzVE.js +0 -83
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +0 -523
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +0 -262
- package/dist/collection/components/dispute-management/dispute-management-core.js +0 -169
- package/dist/collection/components/dispute-management/dispute-response/justifi-dispute-response.js +0 -190
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +0 -139
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +0 -199
- package/dist/esm/Dispute-BH0Xfn-F.js +0 -57
- package/dist/esm/business-additional-questions-schema-DKudYaoE.js +0 -69
- package/dist/esm/business-identity-schema-CFhSc0cA.js +0 -99
- package/dist/esm/checkouts-list-core.entry.js +0 -144
- package/dist/esm/checkouts-table-C8sPHeTm.js +0 -51
- package/dist/esm/dispute.service-vlYGy0nR.js +0 -30
- package/dist/esm/form-control-number_3.entry.js +0 -245
- package/dist/esm/gross-payment-chart-core.entry.js +0 -11073
- package/dist/esm/justifi-dispute-management-core.entry.js +0 -59
- package/dist/esm/terminal-orders-list-core.entry.js +0 -106
- package/dist/esm/terminal-orders-table-C7KOcRpq.js +0 -79
- package/dist/module/checkouts-list-core.js +0 -6
- package/dist/module/checkouts-list-core2.js +0 -227
- package/dist/module/dispute-management-core.js +0 -193
- package/dist/module/dispute-response-actions.js +0 -119
- package/dist/module/gross-payment-chart-core.d.ts +0 -11
- package/dist/module/gross-payment-chart-core.js +0 -6
- package/dist/module/gross-payment-chart-core2.js +0 -11096
- package/dist/module/justifi-additional-statement.d.ts +0 -11
- package/dist/module/justifi-additional-statement.js +0 -6
- package/dist/module/justifi-cancellation-policy.d.ts +0 -11
- package/dist/module/justifi-cancellation-policy.js +0 -6
- package/dist/module/justifi-customer-details.d.ts +0 -11
- package/dist/module/justifi-customer-details.js +0 -6
- package/dist/module/justifi-dispute-management-core.d.ts +0 -11
- package/dist/module/justifi-dispute-management-core.js +0 -6
- package/dist/module/justifi-dispute-notification.d.ts +0 -11
- package/dist/module/justifi-dispute-notification.js +0 -6
- package/dist/module/justifi-dispute-notification2.js +0 -85
- package/dist/module/justifi-dispute-response-core.d.ts +0 -11
- package/dist/module/justifi-dispute-response-core.js +0 -6
- package/dist/module/justifi-dispute-response.d.ts +0 -11
- package/dist/module/justifi-dispute-response.js +0 -6
- package/dist/module/justifi-dispute-response2.js +0 -198
- package/dist/module/justifi-duplicate-charge.d.ts +0 -11
- package/dist/module/justifi-duplicate-charge.js +0 -6
- package/dist/module/justifi-electronic-evidence.d.ts +0 -11
- package/dist/module/justifi-electronic-evidence.js +0 -6
- package/dist/module/justifi-product-or-service.d.ts +0 -11
- package/dist/module/justifi-product-or-service.js +0 -6
- package/dist/module/justifi-refund-policy.js +0 -6
- package/dist/module/justifi-shipping-details.d.ts +0 -11
- package/dist/module/justifi-shipping-details.js +0 -6
- package/dist/module/owner-form-core.js +0 -6
- package/dist/module/owner-form-core2.js +0 -262
- package/dist/module/terminal-orders-list-core.d.ts +0 -11
- package/dist/module/terminal-orders-list-core.js +0 -6
- package/dist/module/terminal-orders-list-core2.js +0 -209
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +0 -88
- package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +0 -34
- package/dist/types/components/dispute-management/dispute-management-core.d.ts +0 -18
- package/dist/types/components/dispute-management/dispute-response/justifi-dispute-response.d.ts +0 -35
- package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +0 -21
- package/dist/types/components/terminal-orders-list/terminal-orders-list-core.d.ts +0 -28
- package/dist/webcomponents/p--e0ff06z.js +0 -1
- package/dist/webcomponents/p-032b4553.entry.js +0 -1
- package/dist/webcomponents/p-042daaf8.entry.js +0 -1
- package/dist/webcomponents/p-0638f0bd.entry.js +0 -1
- package/dist/webcomponents/p-0b3f4f22.entry.js +0 -1
- package/dist/webcomponents/p-1c4f5f1d.entry.js +0 -1
- package/dist/webcomponents/p-1e8135f0.entry.js +0 -1
- package/dist/webcomponents/p-24935254.entry.js +0 -1
- package/dist/webcomponents/p-2a755daf.entry.js +0 -1
- package/dist/webcomponents/p-3488951f.entry.js +0 -1
- package/dist/webcomponents/p-437a99dc.entry.js +0 -1
- package/dist/webcomponents/p-49c0cd3a.entry.js +0 -1
- package/dist/webcomponents/p-50f5e313.entry.js +0 -1
- package/dist/webcomponents/p-52908814.entry.js +0 -1
- package/dist/webcomponents/p-587886f1.entry.js +0 -1
- package/dist/webcomponents/p-5ef355ce.entry.js +0 -1
- package/dist/webcomponents/p-5ef854e0.entry.js +0 -1
- package/dist/webcomponents/p-67498c25.entry.js +0 -1
- package/dist/webcomponents/p-6917aa3c.entry.js +0 -1
- package/dist/webcomponents/p-6d81822f.entry.js +0 -1
- package/dist/webcomponents/p-6f0c582a.entry.js +0 -1
- package/dist/webcomponents/p-80652cf8.entry.js +0 -1
- package/dist/webcomponents/p-82fe02e4.entry.js +0 -1
- package/dist/webcomponents/p-83147f23.entry.js +0 -1
- package/dist/webcomponents/p-8c2427ed.entry.js +0 -1
- package/dist/webcomponents/p-92de00d7.entry.js +0 -1
- package/dist/webcomponents/p-94306884.entry.js +0 -1
- package/dist/webcomponents/p-9937e2e7.entry.js +0 -1
- package/dist/webcomponents/p-9dca1331.entry.js +0 -1
- package/dist/webcomponents/p-9f74d7ea.entry.js +0 -1
- package/dist/webcomponents/p-B--N37zY.js +0 -1
- package/dist/webcomponents/p-B5vVjDc_.js +0 -1
- package/dist/webcomponents/p-BH0Xfn-F.js +0 -1
- package/dist/webcomponents/p-Bg2SZArf.js +0 -1
- package/dist/webcomponents/p-BovgIz83.js +0 -1
- package/dist/webcomponents/p-BsQy297i.js +0 -1
- package/dist/webcomponents/p-CDf5H0TB.js +0 -1
- package/dist/webcomponents/p-CR_-qIuN.js +0 -1
- package/dist/webcomponents/p-CUI41_5y.js +0 -1
- package/dist/webcomponents/p-CX36GHQP.js +0 -1
- package/dist/webcomponents/p-Cf6HoQKl.js +0 -1
- package/dist/webcomponents/p-CsdYMTrc.js +0 -1
- package/dist/webcomponents/p-D4OlsyTo.js +0 -1
- package/dist/webcomponents/p-D8EGHc_m.js +0 -1
- package/dist/webcomponents/p-DPmnGTmg.js +0 -1
- package/dist/webcomponents/p-DWevPe7C.js +0 -1
- package/dist/webcomponents/p-Dbg501Lu.js +0 -1
- package/dist/webcomponents/p-DcBvJu0k.js +0 -1
- package/dist/webcomponents/p-DkdzUTnl.js +0 -1
- package/dist/webcomponents/p-HT_4DkD0.js +0 -1
- package/dist/webcomponents/p-MDZuGvsl.js +0 -1
- package/dist/webcomponents/p-XrKLre8M.js +0 -1
- package/dist/webcomponents/p-a75d76ff.entry.js +0 -1
- package/dist/webcomponents/p-a7778957.entry.js +0 -1
- package/dist/webcomponents/p-a9d7cdae.entry.js +0 -1
- package/dist/webcomponents/p-b060a9c9.entry.js +0 -1
- package/dist/webcomponents/p-b06910b0.entry.js +0 -1
- package/dist/webcomponents/p-b483e71b.entry.js +0 -1
- package/dist/webcomponents/p-bdf21f71.entry.js +0 -1
- package/dist/webcomponents/p-be5d1005.entry.js +0 -1
- package/dist/webcomponents/p-beXEDfB9.js +0 -1
- package/dist/webcomponents/p-bfe2583d.entry.js +0 -1
- package/dist/webcomponents/p-c09fccd3.entry.js +0 -1
- package/dist/webcomponents/p-c827cbc9.entry.js +0 -1
- package/dist/webcomponents/p-cc5b7c27.entry.js +0 -1
- package/dist/webcomponents/p-d878df6c.entry.js +0 -1
- package/dist/webcomponents/p-ddf699e6.entry.js +0 -20
- package/dist/webcomponents/p-e0b3735f.entry.js +0 -1
- package/dist/webcomponents/p-ea30cf08.entry.js +0 -1
- package/dist/webcomponents/p-edf5a854.entry.js +0 -1
- package/dist/webcomponents/p-ef89824b.entry.js +0 -1
- package/dist/webcomponents/p-fc7ba195.entry.js +0 -1
- package/dist/webcomponents/p-hhdRync5.js +0 -1
- package/dist/webcomponents/p-niGr4RT2.js +0 -1
- package/dist/webcomponents/p-pL4dNfsl.js +0 -1
- package/dist/webcomponents/p-qcQTYcr3.js +0 -1
- package/dist/webcomponents/p-qrNmDp6K.js +0 -1
- package/dist/webcomponents/p-uCg79W3M.js +0 -1
- package/dist/webcomponents/p-zi3ljCdQ.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as a}from"./p-CV0Pyo1O.js";import{J as i}from"./p-DbOUuBHs.js";import{c as s}from"./p-DHFQtPCq.js";import{c as d}from"./p-BArmtmkq.js";import{c}from"./p-CPKMvyV_.js";import{S as o}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import{P as h}from"./p-DkoufM1t.js";import"./p-CZa-hHhJ.js";import"./p-CYQvLgSs.js";import"./p-DVJaoI_m.js";import"./p-D8GTwl9v.js";import"./p-BRnBHsdq.js";import"./p-HXpYMWUU.js";import"./p-CSgcCWLS.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";const f=class{constructor(a){e(this,a),this.errorEvent=t(this,"error-event",7),this.loadedEvent=t(this,"loaded",7),this.submitEvent=t(this,"submit-event",7),this.availablePaymentMethods=[],this.errorMessage="",this.insuranceToggled=!1,this.disableBankAccount=!1,this.disableBnpl=!1,this.disableCreditCard=!1,this.disablePaymentMethodGroup=!1,this.hideBankAccountBillingForm=!1,this.hideCardBillingForm=!1}propChanged(){this.updateStore()}connectedCallback(){this.authToken&&this.checkoutId&&this.updateStore()}componentWillLoad(){s(),this.analytics=new i(this)}disconnectedCallback(){var e;null===(e=this.analytics)||void 0===e||e.cleanup()}checkoutComplete(e){d.isSubmitting=!1}checkoutError(e){d.isSubmitting=!1}checkoutChanged(e){this.availablePaymentMethods=this.disableBnpl?e.detail.availablePaymentMethodTypes.filter((e=>e!==h.SEZZLE)):e.detail.availablePaymentMethodTypes}async fillBillingForm(e){d.billingFormFields=e}async validate(){var e;return{isValid:await(null===(e=this.modularCheckoutRef)||void 0===e?void 0:e.validate())}}updateStore(){d.checkoutId=this.checkoutId,d.authToken=this.authToken,d.disableCreditCard=this.disableCreditCard,d.disableBankAccount=this.disableBankAccount,d.disablePaymentMethodGroup=this.disablePaymentMethodGroup}async submit(e){var t;null===(t=this.modularCheckoutRef)||void 0===t||t.submitCheckout(d.billingFormFields)}get showPaymentTypeHeader(){return!this.disableCreditCard&&!this.disableBankAccount}render(){var e,t;return a(o,{key:"ffd2abaacc7edae588a9abe3a4ff96807b34fcff"},a("justifi-modular-checkout",{key:"9196c278e24353aeb1ac02c85253d629f683522b",ref:e=>{this.modularCheckoutRef=e},authToken:this.authToken,checkoutId:this.checkoutId,preCompleteHook:this.preCompleteHook},a("div",{key:"895298286bc0aa6acbda896a4f148dd4f8d7e7d2",class:"row gy-3 jfi-checkout-core"},a("div",{key:"dd186ed2f0fd479cd60024423b6d55625b962e55",class:"col-12",part:c},a("justifi-header",{key:"920d4eca26846aa1cbc16693fa45a9d8054d95a7",text:"Summary",level:"h2",class:"fs-5 fw-bold pb-3"}),a("section",{key:"560f8c3757a7cf53fd0aa898fd243b16a2f8e8d5"},a("justifi-checkout-summary",{key:"31faa6ca984aa22985927a1f80273c86a67c7025"}))),a("div",{key:"3128ae40a739573da32598213a289d8751503fb0",class:"col-12 mt-4"},a("slot",{key:"4a310881bbc4017734082d5c4f6b41d3d5f2a424",name:"insurance"})),a("div",{key:"8047c4da62e2fd67bd0b3f8654c6a19c0cacc255",class:"col-12 mt-4"},a("justifi-header",{key:"631ff14201f6246906e3e1572515de21a7977773",text:"Payment",level:"h2",class:"fs-5 fw-bold pb-3"}),this.showPaymentTypeHeader&&a("justifi-header",{key:"7fdc560ef42a5c2e8571f332e3c4ce8ff460d235",text:"Select payment type",level:"h3",class:"fs-6 fw-bold lh-lg"}),a("div",{key:"81dcb52c051044adb4dbd92ac73ee3096edc592b",class:"d-flex flex-column"},a("section",{key:"4359903b195009a2e8fb997a1f77880cba40dea4"},a("div",{key:"21728867e6288c3fb7d5e5a6ee3d15974568b866"},this.availablePaymentMethods.includes(h.APPLE_PAY)&&a("div",{key:"bdaa6b6c6d09cba294b2e46b85270241c86d2251",class:"mb-3"},a("justifi-apple-pay",{key:"150d707bff7b79a1d19141f21a9c47e00e54418a"})),this.availablePaymentMethods.includes(h.GOOGLE_PAY)&&a("div",{key:"ce2be06b20a1e7d0159fde68a1c5c349c2d11998",class:"mb-3"},a("justifi-google-pay",{key:"0fc867ce77467eb1f1fd198a62e88bd2795f4914",ref:e=>this.googlePayRef=e})),a("justifi-saved-payment-methods",{key:"0bb1999c093b3837bfdb879134dc54f66c90e164"}),this.availablePaymentMethods.includes(h.SEZZLE)&&a("justifi-radio-list-item",{key:"1599be9bcea7569d822a204c805f08f18a4e00a4",name:"paymentMethodType",value:h.SEZZLE,checked:(null===(e=null==d?void 0:d.selectedPaymentMethod)||void 0===e?void 0:e.type)===h.SEZZLE,label:a("justifi-sezzle-payment-method",{ref:e=>this.sezzlePaymentMethodRef=e}),"onRadio-click":()=>{var e;null===(e=this.sezzlePaymentMethodRef)||void 0===e||e.handleSelectionClick()}}),this.availablePaymentMethods.includes(h.PLAID)&&!this.disableBnpl&&a("justifi-radio-list-item",{key:"c1de230257d290efa05f7a7166c2f069451c71a3",name:"paymentMethodType",value:h.PLAID,checked:(null===(t=null==d?void 0:d.selectedPaymentMethod)||void 0===t?void 0:t.type)===h.PLAID,label:a("justifi-plaid-payment-method",{ref:e=>this.plaidPaymentMethodRef=e}),"onRadio-click":()=>{var e;null===(e=this.plaidPaymentMethodRef)||void 0===e||e.handleSelectionClick()}}),a("justifi-tokenize-payment-method",{key:"44bca4ee57857afd4eee213cef98db2d4bd42490",ref:e=>this.tokenizePaymentMethodRef=e,authToken:this.authToken,accountId:d.accountId,disableCreditCard:this.disableCreditCard,disableBankAccount:this.disableBankAccount,hideCardBillingForm:this.hideCardBillingForm,hideBankAccountBillingForm:this.hideBankAccountBillingForm,hideSubmitButton:!0,paymentMethodGroupId:d.paymentMethodGroupId}))))),a("div",{key:"e5b6b4ac6b0fcec20380082f1b4cc5ba73bb88aa",class:"mt-4"},a("justifi-button",{key:"188a8f46fd37b5f4f2d9b3ba7ff179d44d4a6656",text:"Pay",type:"submit",variant:"primary",clickHandler:e=>this.submit(e),disabled:d.isSubmitting||d.isWalletProcessing,isLoading:d.isSubmitting||d.isWalletProcessing,customStyle:{width:"100%",textAlign:"center"}})))))}static get watchers(){return{authToken:["propChanged"],checkoutId:["propChanged"],disableCreditCard:["propChanged"],disableBankAccount:["propChanged"],disablePaymentMethodGroup:["propChanged"]}}};export{f as justifi_checkout}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-CV0Pyo1O.js";import{l as t}from"./p-C_ifLmT1.js";import{f as s,p as d,c as l}from"./p-Dm07nLGs.js";import{f as i,a as c}from"./p-CPKMvyV_.js";import{S as r}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import{c as f,a as o}from"./p-BRnBHsdq.js";import"./p-BFTU3MAI.js";import"./p-D8GTwl9v.js";import"./p-HXpYMWUU.js";const n=class{constructor(a){e(this,a),this.setParamsOnChange=(e,a)=>{s[e]=a},this.handleDateInput=(e,a)=>{const t=f(a,{setExactTime:!0});this.setParamsOnChange(e,t)}}componentWillLoad(){this.debouncedSetParamsOnChange=t.debounce(this.setParamsOnChange,300),Object.entries({payment_id:this.paymentId,terminal_id:this.terminalId,payment_status:this.paymentStatus,payment_mode:this.paymentMode,checkout_id:this.checkoutId,account_holder:this.accountHolder,created_after:this.createdAfter,created_before:this.createdBefore}).forEach((([e,a])=>{a&&(d[e]=a)}))}get paymentStatusOptions(){return[{label:"All",value:""},{label:"Pending",value:"pending"},{label:"Authorized",value:"authorized"},{label:"Succeeded",value:"succeeded"},{label:"Failed",value:"failed"},{label:"Disputed",value:"disputed"},{label:"Refunded",value:"refunded"}]}get paymentModeOptions(){return[{label:"All",value:""},{label:"E-commerce",value:"ecom"},{label:"ACH",value:"ach"},{label:"Card Present",value:"card_present"}]}render(){const e=Object.assign({},s);return a(r,{key:"5a68fb9c6ed40a558aee38624c4a1a1f0bde51c9"},a("table-filters-menu",{key:"5f99ec7b728aa7398176ce4e3cb1d574b7533f05",params:e,clearParams:l,part:i},a("div",{key:"c2602fcc45ef5304e9931a54e638e64307134816",class:"grid-cols-2 gap-3 p-1"},a("div",{key:"f3ca5428d5acb61baa1d63efe8e7c5ff50bba432",class:"p-2"},a("form-control-text",{key:"5a8ff71ff5f86cdc0084b9fd6db6b84a6874cec0",name:"payment_id",label:"Payment ID",inputHandler:this.debouncedSetParamsOnChange,defaultValue:this.paymentId||s.payment_id,disabled:!!this.paymentId,part:c})),a("div",{key:"52b7938337c6dd390c0a4d042a229f83195ed4b1",class:"p-2"},a("form-control-text",{key:"6ac6132cfc26906541cd77f9d3a6f90a9405b708",name:"terminal_id",label:"Terminal ID",inputHandler:this.debouncedSetParamsOnChange,defaultValue:this.terminalId||s.terminal_id,disabled:!!this.terminalId,part:c})),a("div",{key:"e325e13074ec776c8bb1663bd754d13002b64fd7",class:"p-2"},a("form-control-select",{key:"0dd0ff17f1b59bfb0731bbb0c3a918330f9f817a",name:"payment_status",label:"Status",options:this.paymentStatusOptions,inputHandler:this.setParamsOnChange,defaultValue:this.paymentStatus||s.payment_status||"",disabled:!!this.paymentStatus,part:c})),a("div",{key:"516164e1f585029e9f8a292fb6a2c7cc721767ec",class:"p-2"},a("form-control-select",{key:"caa3da5823cce6611055376ed4bb859e9ab8938f",name:"payment_mode",label:"Payment Mode",options:this.paymentModeOptions,inputHandler:this.setParamsOnChange,defaultValue:this.paymentMode||s.payment_mode||"",disabled:!!this.paymentMode,part:c})),a("div",{key:"acee82424117854be377c1e4d9c9f46b3f078941",class:"p-2"},a("form-control-text",{key:"b8958e92f3d19fe142150a28c81182d7549da0fe",name:"checkout_id",label:"Checkout ID",inputHandler:this.debouncedSetParamsOnChange,defaultValue:this.checkoutId||s.checkout_id,disabled:!!this.checkoutId,part:c})),a("div",{key:"0674143ab47a1e58ac00dd621da1242c8250e4e8",class:"p-2"},a("form-control-text",{key:"90ba16232f5dcb96eea87f1cd3c5fa139dbabd35",name:"account_holder",label:"Account Holder",inputHandler:this.debouncedSetParamsOnChange,defaultValue:this.accountHolder||s.account_holder,disabled:!!this.accountHolder,part:c})),a("div",{key:"8ece87138034cd810c5dfcf17952fa8fe7112013",class:"p-2"},a("form-control-date",{key:"f927af3216ba515c174ebc89b45277bf769f6a06",name:"created_after",label:"Created After",inputHandler:this.handleDateInput,defaultValue:o(this.createdAfter,{showInputDateTime:!0})||o(s.created_after,{showInputDateTime:!0}),showTime:!0,disabled:!!this.createdAfter,part:c})),a("div",{key:"76536d176806d29c904365d19270492e3c6d6d4b",class:"p-2"},a("form-control-date",{key:"bae8982af239d24f82a0b6298694749fd554868a",name:"created_before",label:"Created Before",inputHandler:this.handleDateInput,defaultValue:o(this.createdBefore,{showInputDateTime:!0})||o(s.created_before,{showInputDateTime:!0}),showTime:!0,disabled:!!this.createdBefore,part:c})))))}};export{n as justifi_payments_list_filters}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e,r as t,c as a}from"./p-CV0Pyo1O.js";import{P as s}from"./p-DMqJWUK2.js";import{m as i}from"./p-CvgL8YaH.js";import{C as d,b as c,i as f,h as l}from"./p-CSgcCWLS.js";import{J as h}from"./p-DbOUuBHs.js";import{c as r}from"./p-DHFQtPCq.js";import"./p-DVJaoI_m.js";import{b as o,d as b,s as p}from"./p-BRnBHsdq.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import{P as n,M as m}from"./p-D1_eip6x.js";import{a as y,b as u,D as v,c as k,C,E as g}from"./p-Cu7hgXL1.js";import{S as j}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import{S as w}from"./p-uZ5KAseb.js";import{a as D,B as P}from"./p-CHw7tICr.js";import"./p-CYQvLgSs.js";import"./p-HXpYMWUU.js";import"./p-Cg_3KsGO.js";import"./p-CZa-hHhJ.js";import"./p-D8GTwl9v.js";import"./p-CPKMvyV_.js";const x=()=>e("div",{class:"row gap-3"},e("div",{class:"col-12"},e(w,{width:"35%",height:"30px"})),e("div",{class:"col-12"},e(w,{width:"70%"})),e("div",{class:"col-12"},e(w,{width:"40%"})),e("div",{class:"col-12"},e(w,{width:"40%"})),e("div",{class:"col-12"},e(w,{width:"100%"})),e("div",{class:"col-12"},e(w,{width:"80%"}))),S=class{constructor(e){t(this,e),this.errorEvent=a(this,"error-event",7),this.recordClickEvent=a(this,"record-click-event",7),this.loading=!0}componentWillLoad(){r(),this.analytics=new h(this),this.initializeGetPaymentDetails()}disconnectedCallback(){var e;null===(e=this.analytics)||void 0===e||e.cleanup()}propChanged(){this.initializeGetPaymentDetails()}initializeGetPaymentDetails(){this.paymentId&&this.authToken?(this.getPaymentDetails=i({id:this.paymentId,authToken:this.authToken,service:new s}),this.fetchData()):(this.errorMessage="Payment ID and Auth Token are required",this.errorEvent.emit({message:this.errorMessage,errorCode:c.MISSING_PROPS,severity:d.ERROR}))}updateOnPropChange(){this.getPaymentDetails&&this.fetchData()}fetchData(){this.loading=!0,this.getPaymentDetails({onSuccess:({payment:e})=>{this.payment=e,this.errorMessage=null},onError:({error:e,code:t,severity:a})=>{this.errorMessage=e,this.errorEvent.emit({errorCode:t,message:e,severity:a})},final:()=>{this.loading=!1}})}get PaymentStatus(){return this.payment.status===f.disputed&&this.payment.disputes.some((e=>e.status===l.lost))?n.DISPUTE_LOST:this.payment.status}render(){return e(j,{key:"f4952600aea69aae085ac57364e96397d1a20e51"},this.loading&&e(x,{key:"2f819c97a1a6ddb9df2a11e0cd6a5bc013ed19ae"}),!this.loading&&this.errorMessage&&g(this.errorMessage),!this.loading&&!this.errorMessage&&this.payment&&e("justifi-details",{key:"35a58e3917bdc3133f02374c0e031374be7c728c",errorMessage:this.errorMessage},e(y,{key:"dad5f79ea18ef718b92bf2c2abbbba34542d6caa",slot:"head-info",badge:e("div",{class:"d-flex gap-1"},m(this.PaymentStatus),this.payment.expedited?e(D,{variant:P.WARNING,title:"Expedited",text:"Expedited"}):null),title:this.payment.formattedPaymentAmount(this.payment.amount)},e(u,{key:"12e7cfb4f4f56a1af8403b935cb51db3751f1395",classes:"border-1 border-end",title:"Updated At",value:`${o(this.payment.updated_at)} ${b(this.payment.updated_at)}`}),e(u,{key:"023945353c0cbab340f4f510951164f110045ea5",classes:"border-1 border-end",title:"Created At",value:`${o(this.payment.created_at)} ${b(this.payment.created_at)}`}),e(u,{key:"dcb261f7c4faf53eb686cfd5c8e0ade39a72bdea",title:"ID",value:this.payment.id})),e("div",{key:"a7774df4ece900dc67494377cf648bf64f558490",slot:"detail-sections"},e(v,{key:"ef4a9197d4eb47d81c11c7f974f1e4058d5e3166",sectionTitle:"Details"}),e("div",{key:"17ef105d1b37ad34cce4bdd17cbf2e4023c0e2e5",class:"d-flex flex-column gap-2 w-100"},e(k,{key:"dbb764a1a6cbe949d2e281334e2f420f957b98fe",title:"Amount",value:this.payment.formattedPaymentAmount(this.payment.amount)}),e(k,{key:"7a3547ade7107456956618c72a95056a0771d219",title:"Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(k,{key:"94df0647f7286a4a7c9001f9e82b4277fe0f8457",title:"Refunded",value:this.payment.formattedPaymentAmount(this.payment.amount_refunded)}),e(k,{key:"59c13e257938124af50adfaa73571f152c402bd4",title:"Net",value:this.payment.formattedPaymentAmount(this.payment.balance)}),e(k,{key:"6abf719a072a3a1ea5878d999e517dafb7ba19d5",title:"Status",value:m(this.PaymentStatus)}),e(k,{key:"c494d2b4be8c9e13747f0299a618ea6c9ff723d7",title:"Payment ID",value:this.payment.id}),e(k,{key:"1024b282558896dcb2c4ab7718045d98a6f6853e",title:"Processing Fees",value:this.payment.formattedPaymentAmount(this.payment.fee_amount)}),e(k,{key:"6bf6fb7f648609fdeaa4e5a0b6f3d4c7bcd4af97",title:"Statement Descriptor",value:this.payment.statement_descriptor}),e(k,{key:"43da8b6ab1aa87b6b938f1d0fd95708399cb9cc0",title:"Description",value:this.payment.description}),e(k,{key:"e6180466f4341e2c438f09cc42feb518f59aded4",title:"Expedited",value:this.payment.expedited?"Yes":"No"})),this.payment.payment_method.card&&[e(v,{key:"289f80acfa3cd41f82637e8f9d9e63dac4c11b5b",sectionTitle:"Payment Method"}),e("div",{key:"616a2e7ae000581dd481725c57a644fc3e0a9b7c",class:"d-flex flex-column gap-2 w-100"},e(k,{key:"2c13ea8a771e2f155a9e3d5dbae78c7800f31adb",title:"ID",value:this.payment.payment_method.card.id}),e(k,{key:"62700836b3bd9656d07dc58d0d07d164c091cd74",title:"Payment Type",value:"Card"}),e(k,{key:"528ad4dddccaa7f5bc274b3b297557f659d46789",title:"Last 4 Numbers",value:this.payment.payment_method.lastFourDigits}),e(k,{key:"fdf2ad89e4e7ad253e16bff9038dc79da5a71b19",title:"Brand",value:p(this.payment.payment_method.card.brand)}),e(k,{key:"0b2c505e1fae49414414d5e839b1bdc849290c41",title:"Cardholder",value:this.payment.payment_method.payersName}))],this.payment.payment_method.bank_account&&[e(v,{key:"2a04be5ee508a547661e1ff947c2c9b40da2a192",sectionTitle:"Payment Method"}),e("div",{key:"1316f9c749960ca0ab4967ff03697583e690007d",class:"d-flex flex-column gap-2 w-100"},e(k,{key:"46fe5297825ef0b9e3f34fdee6f47f3dd3b9272d",title:"ID",value:this.payment.payment_method.bank_account.id}),e(k,{key:"44f1f47522b94ce5e403d766ee71645b4285d675",title:"Last 4 Numbers",value:this.payment.last_four_digits}),e(k,{key:"f03369474996dc0ae52c7d909ac1bba51e291668",title:"Bank Name",value:this.payment.payment_method.bank_account.brand}),e(k,{key:"d697a0e2a954f0e4efb4cec27dcae9c57fa0ce54",title:"Account Owner",value:this.payment.payment_method.payersName}))],this.payment.metadata&&[e(v,{key:"7cdd88cc59c7852574b05e1709f85afe3bf7367e",sectionTitle:"Metadata"}),e("div",{key:"bde3519c811862185b0757fd7c8a2a0a05117466",class:"d-table gap-2 w-100"},e(C,{key:"7675f134c9580381d495a1d7534e73b77583cb8b",metadata:this.payment.metadata}))])))}static get watchers(){return{paymentId:["propChanged"],authToken:["propChanged"],getPaymentDetails:["updateOnPropChange"]}}};export{S as justifi_payment_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as s,r as t,c as i}from"./p-CV0Pyo1O.js";import{A as e}from"./p-CYQvLgSs.js";import{C as r,b as o}from"./p-CSgcCWLS.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import{g as a,a as n}from"./p-Cg_3KsGO.js";import{J as c}from"./p-DbOUuBHs.js";import{c as l}from"./p-DHFQtPCq.js";import{c as h}from"./p-BArmtmkq.js";import{p as d,f as p,r as u,j as v}from"./p-BRnBHsdq.js";import{v as m,i as y,a as f,H as j}from"./p-D-zwk1J3.js";import{t as _,z as g}from"./p-CPKMvyV_.js";import{S as C}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import{S as b}from"./p-uZ5KAseb.js";import"./p-DVJaoI_m.js";import"./p-D8GTwl9v.js";import"./p-CZa-hHhJ.js";import"./p-DkoufM1t.js";import"./p-HXpYMWUU.js";const k=e();class w{async fetchQuote(s,t){return k.post({endpoint:"insurance/quotes",body:t,authToken:s})}async toggleCoverage(s,t,i){return k.post({endpoint:`insurance/quotes/${t}/toggle`,body:i,authToken:s})}}const H=()=>s("div",{class:"row gap-3"},s("div",{class:"col-12"},s(b,{width:"35%",height:"30px"})),s("div",{class:"col-12"},s(b,{width:"70%"})),s("div",{class:"col-12"},s(b,{width:"40%"})),s("div",{class:"col-12"},s(b,{width:"40%"})),s("div",{class:"col-12"},s(b,{width:"100%"})),s("div",{class:"col-12"},s(b,{width:"80%"}))),q=class{constructor(s){t(this,s),this.insuranceUpdated=i(this,"insurance-updated",7),this.errorEvent=i(this,"error-event",7),this.isLoading=!0}async validate(){return m()}processHTMLContent(s){return d(s,[s=>u(s,"style"),s=>v(s,"a","part",_),s=>v(s,"p","part",_)])}componentWillLoad(){l(),this.analytics=new c(this),this.initializeServiceMethods(),this.getQuote&&this.fetchData()}disconnectedCallback(){var s;null===(s=this.analytics)||void 0===s||s.cleanup()}initializeServiceMethods(){const s=this.authToken||h.authToken;if(!s)return void this.errorEvent.emit({errorCode:o.MISSING_PROPS,message:"Missing authToken",severity:r.ERROR});const t={authToken:s,service:new w};this.getQuote=(({authToken:s,service:t})=>async({payload:i,onSuccess:e,onError:o})=>{var c;try{const l=await t.fetchQuote(s,i);if(l.error)return o({error:n(l.error),code:a(null===(c=l.error)||void 0===c?void 0:c.code),severity:r.ERROR});e({quote:l.data})}catch(s){const t=a(null==s?void 0:s.code);return o({error:s.message||s,code:t,severity:r.ERROR})}})(t),this.toggleCoverage=(({authToken:s,service:t})=>async({quoteId:i,payload:e,onSuccess:o,onError:c})=>{var l;try{const h=await t.toggleCoverage(s,i,e);if(h.error)return c({error:n(h.error),code:a(null===(l=h.error)||void 0===l?void 0:l.code),severity:r.ERROR});o({quote:h.data})}catch(s){const t=a(null==s?void 0:s.code);return c({error:s.message||s,code:t,severity:r.ERROR})}})(t)}fetchData(){this.isLoading=!0,this.getQuote({payload:{checkout_id:this.checkoutId||h.checkoutId,policy_type:"season_interruption",primary_identity:{state:this.primaryIdentityState,email:this.primaryIdentityEmailAddress,first_name:this.primaryIdentityFirstName,last_name:this.primaryIdentityLastName,postal_code:this.primaryIdentityPostalCode,country:this.primaryIdentityCountry},policy_attributes:{insurable_amount:this.policyAttributesInsurableAmount,start_date:this.policyAttributesStartDate,end_date:this.policyAttributesEndDate,covered_identity:{first_name:this.coveredIdentityFirstName,last_name:this.coveredIdentityLastName}}},onSuccess:({quote:s})=>{this.quote=s,this.quote.product.description=this.processHTMLContent(this.quote.product.description),this.quote.product.legal_disclaimer=this.processHTMLContent(this.quote.product.legal_disclaimer),y[s.policy_type]=s.accepted,this.isLoading=!1},onError:({error:s,code:t,severity:i})=>{this.isLoading=!1,this.errorEvent.emit({errorCode:t,message:s,severity:i})}})}onChangeHandler(s,t){this.accepted=t,f[this.quote.policy_type]=!1,this.toggleCoverage({quoteId:this.quote.id,payload:{accepted:this.accepted},onSuccess:()=>{this.insuranceUpdated.emit(),y[this.quote.policy_type]=this.accepted},onError:({error:s,code:t,severity:i})=>{this.errorEvent.emit({errorCode:t,message:s,severity:i})}})}get error(){var s;return f[null===(s=this.quote)||void 0===s?void 0:s.policy_type]}render(){var t,i,e,r;return h&&!1===h.insuranceEnabled?(console.warn("[justifi-season-interruption-insurance] Insurance is disabled for this checkout (payment_settings.insurance_payments=false)."),null):s(C,null,this.isLoading?s(H,null):s("div",null,s(j,{text:null===(t=this.quote)||void 0===t?void 0:t.product.title,class:"fs-5 fw-bold pb-3"}),s("small",{part:_,innerHTML:null===(i=this.quote)||void 0===i?void 0:i.product.description}),s("form-control-radio",{label:`Accept coverage for ${p(null===(e=this.quote)||void 0===e?void 0:e.total_cents)}`,name:"opt-in",value:"true",checked:"true"===this.accepted,inputHandler:this.onChangeHandler.bind(this),errorText:this.error?" ":void 0}),s("form-control-radio",{label:"Decline coverage",name:"opt-in",value:"false",checked:"false"===this.accepted,inputHandler:this.onChangeHandler.bind(this),errorText:this.error?" ":void 0}),s("div",{class:"invalid-feedback",style:{display:this.error?"block":"none"},part:g},"Please select an option"),s("small",{part:_,innerHTML:null===(r=this.quote)||void 0===r?void 0:r.product.legal_disclaimer})))}};export{q as justifi_season_interruption_insurance}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t,r as e,c as a}from"./p-CV0Pyo1O.js";import"./p-DVJaoI_m.js";import"./p-HXpYMWUU.js";import{j as s,C as i,b as r}from"./p-CSgcCWLS.js";import{p as n}from"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import{J as o}from"./p-DbOUuBHs.js";import{c}from"./p-DHFQtPCq.js";import{g as p,a as h}from"./p-Cg_3KsGO.js";import{P as d}from"./p-DMqJWUK2.js";import{T as f,a as l,b as u,c as m,d as y,e as b,f as _,g,h as j,i as C,j as T,k as w,l as k}from"./p-BICxxa69.js";import{S as v}from"./p-BqNNwq6C.js";import{T as D}from"./p-CZfYo5-1.js";import{a as S}from"./p-BRnBHsdq.js";import{a6 as F,a7 as P}from"./p-CPKMvyV_.js";import"./p-D8GTwl9v.js";import"./p-CZa-hHhJ.js";import"./p-CYQvLgSs.js";import"./p-CqiVXthx.js";const R={created_at:()=>t("th",{part:F,scope:"col",title:"The date and time each transaction was made"},"Processed On"),type:()=>t("th",{part:F,scope:"col",title:"The type of each transaction"},"Type"),id:()=>t("th",{part:F,scope:"col",title:"The unique identifier of each transaction"},"ID"),amount:()=>t("th",{part:F,scope:"col",title:"The dollar amount of each transaction",class:"text-end"},"Amount"),balance:()=>t("th",{part:F,scope:"col",title:"The running total amount of this payment that belongs to you",class:"text-end"},"Balance"),currency:()=>t("th",{part:F,scope:"col",title:"The currency of each transaction"},"Currency"),financial_transaction_id:()=>t("th",{part:F,scope:"col",title:"The unique identifier of the financial transaction associated with the payment balance transaction"},"Financial Transaction ID"),payment_id:()=>t("th",{part:F,scope:"col",title:"The unique identifier of the payment associated with the payment balance transaction"},"Payment ID"),payment_balance_txn_type:()=>t("th",{part:F,scope:"col",title:"The type of the payment balance transaction"},"Transaction Type"),source_id:()=>t("th",{part:F,scope:"col",title:"The unique identifier of the source object associated with the payment balance transaction"},"Source ID"),source_type:()=>t("th",{part:F,scope:"col",title:"The type of the source object associated with the payment balance transaction"},"Source Type")},q={ach_return:"ACH Return",ach_return_fee:"ACH Return Fee",dispute:"Dispute",dispute_fee:"Dispute Fee",dispute_fee_refund:"Dispute Fee Refund",dispute_refund:"Dispute Refund",payment:"Payment",payment_fee:"Fee",platform_fee:"Platform Fee",platform_fee_return:"Platform Fee Return",processing_fee:"Processing Fee",processing_fee_return:"Processing Fee Return",refund:"Refund",fee_refund:"Fee Refund",application_fee_returned:"Application Fee Returned",refund_failure:"Refund Failure",void:"Void"},x={created_at:(e,a)=>t("td",{part:P(a)},t("div",{class:"fw-bold"},S(e.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},S(e.created_at,{showTime:!0}))),type:(e,a)=>t("td",{part:P(a)},q[e.payment_balance_txn_type]),id:(e,a)=>t("td",{part:P(a)},e.id),amount:(e,a)=>t("td",{part:P(a),class:"text-end"},e.formattedPaymentAmount(e.amount)),balance:(e,a)=>t("td",{part:P(a),class:"text-end"},e.formattedPaymentAmount(e.balance)),currency:(e,a)=>t("td",{part:P(a)},e.currency),financial_transaction_id:(e,a)=>t("td",{part:P(a)},e.financial_transaction_id),payment_id:(e,a)=>t("td",{part:P(a)},e.payment_id),payment_balance_txn_type:(e,a)=>t("td",{part:P(a)},e.payment_balance_txn_type),source_id:(e,a)=>t("td",{part:P(a)},e.source_id),source_type:(e,a)=>t("td",{part:P(a)},e.source_type)},I=class{constructor(t){e(this,t),this.clickEvent=a(this,"click-event",7),this.errorEvent=a(this,"error-event",7),this.balanceTransactions=[],this.isLoading=!0,this.errorMessage=null,this.paging=n,this.pagingParams={},this.columns="created_at,type,id,amount,balance",this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:D.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:D.next})},this.rowClickHandler=t=>{const e=t.target.closest("tr").dataset.rowEntityId;if(!e)return;const a=this.balanceTransactions.find((t=>t.id===e));this.clickEvent.emit({name:D.row,data:a})}}componentWillLoad(){this.transactionsTable=new f(this.balanceTransactions,this.columns,R,x),c(),this.analytics=new o(this),this.initializeApi()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeApi()}handleError(t,e,a){this.isLoading=!1,this.errorEvent.emit({errorCode:t,message:e,severity:a})}initializeApi(){this.paymentId&&this.authToken?(({id:t,authToken:e,service:a})=>async({params:r,onSuccess:n,onError:o,final:c})=>{var d;try{const c=await a.fetchPaymentTransactions(t,e,r);c.error?o({error:h(c.error),code:p(null===(d=c.error)||void 0===d?void 0:d.code),severity:i.ERROR}):n({balanceTransactions:c.data.map((t=>new s(t))),pagingInfo:Object.assign({},c.page_info)})}catch(t){const e=p(null==t?void 0:t.code);o({error:h(t),code:e,severity:i.ERROR})}finally{c()}})({id:this.paymentId,authToken:this.authToken,service:new d})({params:this.pagingParams,onSuccess:({balanceTransactions:t,pagingInfo:e})=>{this.balanceTransactions=t,this.paging=e,this.transactionsTable.collectionData=this.balanceTransactions},onError:({error:t,code:e,severity:a})=>{this.errorMessage=t.message,this.handleError(t,e,a)},final:()=>{this.isLoading=!1}}):(this.errorMessage="payment-id and auth-token props are required",this.handleError(r.MISSING_PROPS,this.errorMessage,i.ERROR))}get entityId(){return this.balanceTransactions.map((t=>t.id))}get showEmptyState(){return!this.isLoading&&!this.errorMessage&&this.transactionsTable.rowData.length<1}get showErrorState(){return!this.isLoading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.isLoading}render(){return t(v,{key:"a458269a6f875672be4d480411fc209c870fcc05"},t(l,{key:"6d072c9f1f3def61bfe10173220188da0b2c381f"},t(u,{key:"41b8cabf14b498e4035db4d36ef9d4dcd4d10867"},t(m,{key:"e77f2d5cd1347c2771584dadf619a1f21f7bdd5c"},t(y,{key:"053904f66c5d4ebcb33cb5b1d2ca3cdf5fd1c290"},this.transactionsTable.columnData.map((t=>t)))),t(b,{key:"5db67b01c7defdf97d2d2b305422254f9440564c"},t(_,{key:"24a110c7377f2f9e9b98302237221d168756593d",columnSpan:this.transactionsTable.columnKeys.length,isLoading:this.isLoading}),t(g,{key:"195b3cdf57087d986ee1db13b0bb5b65a417f380",isEmpty:this.showEmptyState,columnSpan:this.transactionsTable.columnKeys.length}),t(j,{key:"4e747cbbac4ffe88a9fe8bca59738feb8a0876bc",columnSpan:this.transactionsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.transactionsTable.rowData.map(((e,a)=>t(C,{"data-test-id":"table-row","data-row-entity-id":this.entityId[a],onClick:this.rowClickHandler},e)))),this.paging&&t(T,{key:"052862a5252fef6f4a466c667d4444778d4b84b0"},t(w,{key:"61d2a980ba3dd3c05955829741023ba814581f6c"},t(k,{key:"1e40eb28e0bb75ae6e044c4730c76fbd5054c654",colSpan:this.transactionsTable.columnData.length},t("pagination-menu",{key:"e066808fae97d39fd1f81924d5de32767f1a5c97",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})})))))))}static get watchers(){return{pagingParams:["propChanged"],paymentId:["propChanged"],authToken:["propChanged"]}}};export{I as justifi_payment_transactions_list}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as e,H as i}from"./p-CV0Pyo1O.js";import{P as h,Q as a,R as r,S as o,T as c,x as f}from"./p-CPKMvyV_.js";const l=class{constructor(e){t(this,e),this.formControlInput=s(this,"formControlInput",7),this.formControlBlur=s(this,"formControlBlur",7),this.isFocused=!1,this.inputHandler=()=>{},this.disabled=!1,this.errorText="",this.handleFormControlInput=t=>{const s=t.target.getAttribute("name");this.inputHandler(s,this.value),this.formControlInput.emit({name:s,value:this.value})}}get part(){return this.errorText?h:this.isFocused&&this.checked?a:this.checked?r:this.isFocused?o:c}render(){return e(i,{key:"155f8db94cbc78a33daeaace0ea6b9e403d6856d",class:"form-group d-flex flex-column"},e("div",{key:"f2c34e5513e584a68c6117775124eeb40d8a4de3",class:"form-check"},e("input",{key:"50114b7a8428cc78b963442cf92eda6d0146f824",ref:t=>this.radioElement=t,type:"radio",id:`${this.name}-${this.value}`,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onChange:this.handleFormControlInput,part:this.part,class:this.errorText?"form-check-input is-invalid":"form-check-input",disabled:this.disabled,value:this.value,checked:this.checked}),e("label",{key:"759a69de65a6fc043494d394a118c55b1e948e75",class:"form-check-label",htmlFor:`${this.name}-${this.value}`,part:f},this.label)),e("form-control-help-text",{key:"18ca0f0b27657d1a159b9eb4839290969f349d7e",helpText:this.helpText,name:this.name}),e("form-control-error-text",{key:"e4bffdf3cd4596a3b42fb6098be620005d68296e",errorText:this.errorText,name:this.name}))}};export{l as form_control_radio}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as s}from"./p-CV0Pyo1O.js";import{f as i}from"./p-BRnBHsdq.js";import{t as a,a8 as r}from"./p-CPKMvyV_.js";import{B as d}from"./p-CHo7TfsM.js";import{S as c}from"./p-uZ5KAseb.js";import"./p-CZfYo5-1.js";import{C as o,b as n}from"./p-CSgcCWLS.js";import{g as h,a as p}from"./p-Cg_3KsGO.js";import{D as l,a as f}from"./p-D4E9P7df.js";import{c as u}from"./p-DHFQtPCq.js";import{J as b}from"./p-DbOUuBHs.js";import"./p-HXpYMWUU.js";import"./p-CYQvLgSs.js";import"./p-DVJaoI_m.js";import"./p-D8GTwl9v.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import"./p-CZa-hHhJ.js";const y=({authToken:e,disputeId:t,service:s})=>async({payload:i,onSuccess:a,onError:r,final:d=()=>{}})=>{var c;try{const d=await s.submitDisputeResponse(t,e,i);if(d.error){return r({error:p(d.error),code:h(null===(c=d.error)||void 0===c?void 0:c.code),severity:o.ERROR})}a(d)}catch(e){const t=h(null==e?void 0:e.code);return r({error:e.message||e,code:t,severity:o.ERROR})}finally{return d()}},v=class{constructor(s){e(this,s),this.clickEvent=t(this,"click-event",7),this.errorEvent=t(this,"error-event",7),this.submitEvent=t(this,"submit-event",7)}acceptDispute(){y({disputeId:this.dispute.id,authToken:this.authToken,service:new f})({payload:{forfeit:!0},onSuccess:e=>{this.submitEvent.emit({response:e})},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({errorCode:t,message:e,severity:s})}})}initiateRespondToDispute(){this.clickEvent.emit({name:l.respondToDispute})}isDueDatePassed(){var e;if(!(null===(e=this.dispute)||void 0===e?void 0:e.due_date))return!1;const t=new Date(this.dispute.due_date.replace(/-/g,"/").replace(/T.+/,"")),s=new Date;return s.setHours(0,0,0,0),t.setHours(0,0,0,0),t<s}render(){var e,t,o,n,h,p,l,f,u;return s("div",{key:"c5963c0823e635ee0c2e88979b174c89c96af134",class:"dispute-notification-root"},this.isLoading&&s("div",{key:"4de146d999a16e1b4ad3e393285a843d86febdda",style:{marginBottom:"8px"}},s(c,{key:"ccbf1fe76ac5582cb2536548901c12768096e867",height:"28px",width:"70%",styles:{marginBottom:"16px"}}),s(c,{key:"06ede07362fe88dfd4ec6b38c80bf619b9c7a134",height:"18px",styles:{marginBottom:"8px"}}),s(c,{key:"768613c5b20ef403c468b12d5dacbea4b211ebef",height:"18px",styles:{marginBottom:"8px"}})),(null===(e=this.dispute)||void 0===e?void 0:e.needsResponse)&&this.isDueDatePassed()&&s("div",{key:"a22e18df2764ddb6bee0db7e4da388bd9aec0d99",part:a},s("h1",{key:"b602464b54aacc6c0776975921dbe3fceeda1f04",class:"h4",part:r},"The due date (",null===(t=this.dispute)||void 0===t?void 0:t.due_date,") for this dispute has passed"),s("p",{key:"e4b8615f75914e7aa613f6120172bc2cc0f6dd31"},"You can no longer submit evidence to counter this dispute.")),(null===(o=this.dispute)||void 0===o?void 0:o.needsResponse)&&!this.isDueDatePassed()&&s("div",{key:"2b09cc88b63ca582e2ef8cb83ef4455d4af493cc",part:a},s("h1",{key:"74ac700bc104aac085712a30da0b968a1bec41fe",class:"h4",part:r},"This payment is disputed"),s("p",{key:"2d133967991c3ee44f022ac925c873c198b71315"},"The cardholder is disputing this payment. You may accept this dispute, or proceed to provide evidence in a counter dispute."),s("h2",{key:"376936590aaeb5903f430eedb84984704966563d",class:"h5"},"Dispute details"),s("div",{key:"8afea9772ee48495c8b731ba8602c48e00061f8c",class:"d-table gap-2"},s("div",{key:"14630372fff051e1baadb7239ced63ae56edaf7e",class:"d-table-row gap-2"},s("span",{key:"4ec3fc5233e87b07021eeb78ac7d4e09666502c7",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Amount"),s("span",{key:"fe19ae497136c8ef5511a0197952c6d3cd889b84",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},i(null===(n=this.dispute)||void 0===n?void 0:n.amount))),s("div",{key:"0f955e0707a9b8126868a34dafa39320e00d7706",class:"d-table-row gap-2"},s("span",{key:"63dc2ebf125f6ec52a155ced1324a02b0735c78b",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Reason"),s("span",{key:"5a6e543559e873811348fa0b68d21fe0f1dac781",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},null===(h=this.dispute)||void 0===h?void 0:h.reason)),s("div",{key:"7656de07c60c137dd7005f96370a71442dcdb526",class:"d-table-row gap-2"},s("span",{key:"817a89c84f605cbfac346f0d39790b35a73d51a4",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Due Date"),s("span",{key:"e0e7c74f85934f6a1d2e02bc24d5563e1a37222e",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},null===(p=this.dispute)||void 0===p?void 0:p.due_date))),s("div",{key:"2ef721cebd617709242a0b4b9713ff264f73eac0",class:"d-flex gap-2 mt-4 justify-content-end"},s(d,{key:"530f16709538e4146e542b88177145e4b2c9808a",variant:"secondary",onClick:()=>this.acceptDispute()},"Accept dispute"),s(d,{key:"a498af8eb2d5a41e75a8fb044b981463b8e3bbd4",variant:"primary",onClick:()=>this.initiateRespondToDispute()},"Counter dispute"))),(null===(l=this.dispute)||void 0===l?void 0:l.underReview)&&s("div",{key:"f01a89cda469402b5543b64b02ddfc9ec66cc62b",part:a},s("h1",{key:"15f0173bdfc20dea6fb16b030479f8554e40b716",class:"h4",part:r},"This payment is disputed and under review"),s("p",{key:"a444d77fad985cddf37a0386db7ee65f321fa11c"},"The cardholder is disputing this payment. A counter dispute has been submitted and is under review.")),(null===(f=this.dispute)||void 0===f?void 0:f.won)&&s("div",{key:"08bf0f31e5fe43dbf1058709f500d0b592827dcb",part:a},s("h1",{key:"e9925566140ac26b9fb42026258f3ca2bebc002f",class:"h4",part:r},"This payment was disputed"),s("p",{key:"b0dd7cec8cad943d46d7e2d7d919f15b29d08fbd"},"The cardholder disputed this payment and the card issuer has settled it in your favor.")),(null===(u=this.dispute)||void 0===u?void 0:u.lost)&&s("div",{key:"4b037a462c3e9b3c7b7296e15b443c94a4310f46",part:a},s("h1",{key:"b614282d90adb69e9c638ed7a6f80566033c69ed",class:"h4",part:r},"This payment was disputed"),s("p",{key:"3808b99fb69241784c6f3e09bbd6b13636cb26a3"},"The cardholder disputed this payment and the card issuer has settled it in their favor.")))}},m=class{constructor(i){e(this,i),this.clickEvent=t(this,"click-event",7),this.errorEvent=t(this,"error-event",7),this.stepCompleteEvent=t(this,"complete-form-step-event",7),this.submitEvent=t(this,"submit-event",7),this.errorMessage=null,this.disputeResponse={},this.apiOrigin="https://wc-proxy.justifi.ai",this.isLoading=!1,this.documentList=[],this.documentErrors={},this.currentStep=0,this.componentStepMapping=[()=>s("product-or-service",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("customer-details",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("cancellation-policy",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("refund-policy",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("duplicate-charge",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("electronic-evidence",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("shipping-details",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors}),()=>s("additional-statement",{ref:e=>this.currentStepComponentRef=e,disputeResponse:this.disputeResponse,documentErrors:this.documentErrors})],this.saveData=async(e,t)=>{if(Object.keys(e).length)return this.isLastStep?this.submitDisputeResponse({payload:e,onSuccess:e=>{this.submitEvent.emit({response:e}),this.stepCompleteEvent.emit({response:e,formStep:t})},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({errorCode:t,message:e,severity:s})}}):this.updateDisputeResponse({payload:e,onSuccess:e=>{this.disputeResponse=Object.assign({},e.data),this.stepCompleteEvent.emit({response:e,formStep:t})},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({errorCode:t,message:e,severity:s})}});this.stepCompleteEvent.emit({response:null,formStep:t})},this.initializeMakePresignedURLs=async()=>{const e=this.documentList.map((e=>this.getPresignedFileUrl(e)));return await Promise.all(e)},this.initializeFileUploads=async()=>{const e=this.documentList.map((e=>this.uploadDocument(e)));return Promise.all(e)},this.getPresignedFileUrl=async e=>this.createDisputeEvidence({payload:{file_name:e.file_name,file_type:e.file_type,dispute_evidence_type:e.dispute_evidence_type},onSuccess:t=>{e.presignedUrl=t.data.presigned_url},onError:({error:t,code:s,severity:i})=>{const a={[e.dispute_evidence_type]:t};this.documentErrors=Object.assign(Object.assign({},this.documentErrors),a),this.errorEvent.emit({errorCode:s,message:t,severity:i})}}),this.uploadDocument=async e=>{const t=await e.getFileString();if(!e.presignedUrl)throw new Error("Presigned URL is not set");return await fetch(e.presignedUrl,{method:"PUT",body:t})},this.handleSubmit=async(e,t,s)=>{if(this.isLoading=!0,t.length){if(this.documentErrors={},this.documentList=t,await this.initializeMakePresignedURLs(),Object.keys(this.documentErrors).length)throw this.isLoading=!1,new Error("Could not presign all documents");await this.initializeFileUploads()}await this.saveData(e,s),this.isLoading=!1},this.onCancel=()=>{this.clickEvent.emit({name:l.cancelDispute})},this.onBack=async()=>{await this.currentStepComponentRef.validateAndSubmit((async(e,t,s)=>{this.clickEvent.emit({name:l.previousStep}),await this.handleSubmit(e,t,s),this.currentStep--}))},this.onNext=async()=>{await this.currentStepComponentRef.validateAndSubmit((async(e,t,s)=>{this.clickEvent.emit({name:l.nextStep}),await this.handleSubmit(e,t,s),this.currentStep++}))},this.onSubmit=async()=>{await this.currentStepComponentRef.validateAndSubmit((async(e,t,s)=>{this.clickEvent.emit({name:l.submit});const i=Object.assign(Object.assign({},e),{forfeit:!1});await this.handleSubmit(i,t,s)}))}}componentWillLoad(){u(),this.analytics=new b(this),this.initializeDisputeServiceMethods()}disconnectedCallback(){var e;null===(e=this.analytics)||void 0===e||e.cleanup()}propChanged(){this.initializeDisputeServiceMethods()}initializeDisputeServiceMethods(){this.disputeId&&this.authToken?(this.updateDisputeResponse=(({authToken:e,disputeId:t,service:s})=>async({payload:i,onSuccess:a,onError:r,final:d=()=>{}})=>{var c;try{const d=await s.updateDisputeResponse(t,e,i);if(d.error)return r({error:p(d.error),code:h(null===(c=d.error)||void 0===c?void 0:c.code),severity:o.ERROR});a(d)}catch(e){const t=h(null==e?void 0:e.code);return r({error:e.message||e,code:t,severity:o.ERROR})}finally{return d()}})({disputeId:this.disputeId,authToken:this.authToken,service:new f}),this.createDisputeEvidence=(({authToken:e,disputeId:t,service:s})=>async({payload:i,onSuccess:a,onError:r,final:d=()=>{}})=>{var c;try{const d=await s.createDisputeEvidence(t,e,i);if(d.error)return r({error:p(d.error),code:h(null===(c=d.error)||void 0===c?void 0:c.code),severity:o.ERROR});a(d)}catch(e){const t=h(null==e?void 0:e.code);return r({error:e.message||e,code:t,severity:o.ERROR})}finally{return d()}})({disputeId:this.disputeId,authToken:this.authToken,service:new f}),this.submitDisputeResponse=y({disputeId:this.disputeId,authToken:this.authToken,service:new f})):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:n.MISSING_PROPS,message:this.errorMessage,severity:o.ERROR}))}get currentStepComponent(){return this.componentStepMapping[this.currentStep]()}get isLastStep(){return this.currentStep===this.componentStepMapping.length-1}get isFirstStep(){return 0===this.currentStep}render(){return s("div",{key:"50f6bf79c7590ef3591e2163dbcd89241ca17b62",class:"dispute-response-root"},s("div",{key:"5345d5a3c5e7ff2d4c56f438fe623578e3d2029e",class:"row gy-3"},s("div",{key:"8925276a290105b2fde5cd6bfdf0390c3a0c95f9",class:"col-12"},s("h1",{key:"b8eb14deedc748b3612f11fad9d94fa38020a7f8",class:"h4",part:r},"Counter dispute")),s("div",{key:"50afe487bdb21d3ea2dc149c662a284f5ebb4d9b",class:"col-12"},this.currentStepComponent),s("div",{key:"cde242630fdc12e82ee5a77a199c4f6a7858371e",class:"col-12"},s("div",{key:"ce548b753ec56df34e23eb33649a27449d49b712",class:"d-flex gap-2 mt-4 justify-content-end"},this.isFirstStep?s(d,{variant:"secondary",onClick:()=>this.onCancel(),disabled:this.isLoading,isLoading:this.isLoading},"Cancel"):s(d,{variant:"secondary",onClick:()=>this.onBack(),disabled:this.isLoading,isLoading:this.isLoading},"Back"),this.isLastStep?s(d,{variant:"primary",onClick:()=>this.onSubmit(),disabled:this.isLoading,isLoading:this.isLoading},"Submit Counter Dispute"):s(d,{variant:"primary",onClick:()=>this.onNext(),disabled:this.isLoading,isLoading:this.isLoading},"Next")))))}static get watchers(){return{disputeId:["propChanged"],authToken:["propChanged"]}}};export{v as dispute_notification,m as dispute_response}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as o}from"./p-CV0Pyo1O.js";import{c as a}from"./p-DHFQtPCq.js";import{J as s}from"./p-DbOUuBHs.js";import{w as r}from"./p-DVJaoI_m.js";import{S as p}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import"./p-CZa-hHhJ.js";import"./p-CYQvLgSs.js";import"./p-BRnBHsdq.js";import"./p-HXpYMWUU.js";import"./p-CSgcCWLS.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import"./p-D8GTwl9v.js";const i=class{constructor(o){t(this,o)}async componentWillLoad(){await r(),a(),this.analytics=new s(this)}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}async validate(){return this.bankAccountFormElement.validate()}async tokenize({clientId:t,paymentMethodMetadata:o,account:a}){return this.bankAccountFormElement.tokenize({clientId:t,paymentMethodMetadata:o,account:a})}render(){return o(p,{key:"3a267a32b400d122cd124245979218ffc45453ee"},o("bank-account-form",{key:"72044965224da0d85455ad7688b3d1852a46126e",ref:t=>this.bankAccountFormElement=t}))}};export{i as justifi_bank_account_form}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as n,h as e}from"./p-CV0Pyo1O.js";import{an as r,ao as i,ap as o}from"./p-DnrawQn3.js";var a="top",u="bottom",f="right",s="left",c="auto",l=[a,u,f,s],h="start",d="end",p="viewport",v="popper",b=l.reduce((function(t,n){return t.concat([n+"-"+h,n+"-"+d])}),[]),m=[].concat(l,[c]).reduce((function(t,n){return t.concat([n,n+"-"+h,n+"-"+d])}),[]),y=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function w(t){return t?(t.nodeName||"").toLowerCase():null}function x(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function g(t){return t instanceof x(t).Element||t instanceof Element}function O(t){return t instanceof x(t).HTMLElement||t instanceof HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof x(t).ShadowRoot||t instanceof ShadowRoot)}function k(t){return t.split("-")[0]}var M=Math.max,A=Math.min,E=Math.round;function R(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function q(){return!/^((?!chrome|android).)*safari/i.test(R())}function C(t,n,e){void 0===n&&(n=!1),void 0===e&&(e=!1);var r=t.getBoundingClientRect(),i=1,o=1;n&&O(t)&&(i=t.offsetWidth>0&&E(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&E(r.height)/t.offsetHeight||1);var a=(g(t)?x(t):window).visualViewport,u=!q()&&e,f=(r.left+(u&&a?a.offsetLeft:0))/i,s=(r.top+(u&&a?a.offsetTop:0))/o,c=r.width/i,l=r.height/o;return{width:c,height:l,top:s,right:f+c,bottom:s+l,left:f,x:f,y:s}}function P(t){var n=C(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function B(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&j(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function L(t){return x(t).getComputedStyle(t)}function S(t){return["table","td","th"].indexOf(w(t))>=0}function W(t){return((g(t)?t.ownerDocument:t.document)||window.document).documentElement}function z(t){return"html"===w(t)?t:t.assignedSlot||t.parentNode||(j(t)?t.host:null)||W(t)}function H(t){return O(t)&&"fixed"!==L(t).position?t.offsetParent:null}function T(t){for(var n=x(t),e=H(t);e&&S(e)&&"static"===L(e).position;)e=H(e);return e&&("html"===w(e)||"body"===w(e)&&"static"===L(e).position)?n:e||function(t){var n=/firefox/i.test(R());if(/Trident/i.test(R())&&O(t)&&"fixed"===L(t).position)return null;var e=z(t);for(j(e)&&(e=e.host);O(e)&&["html","body"].indexOf(w(e))<0;){var r=L(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function I(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function V(t,n,e){return M(t,A(n,e))}function _(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function D(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function F(t){return t.split("-")[1]}var Q={top:"auto",right:"auto",bottom:"auto",left:"auto"};function U(t){var n,e=t.popper,r=t.popperRect,i=t.placement,o=t.variation,c=t.offsets,l=t.position,h=t.gpuAcceleration,p=t.adaptive,v=t.roundOffsets,b=t.isFixed,m=c.x,y=void 0===m?0:m,w=c.y,g=void 0===w?0:w,O="function"==typeof v?v({x:y,y:g}):{x:y,y:g};y=O.x,g=O.y;var j=c.hasOwnProperty("x"),k=c.hasOwnProperty("y"),M=s,A=a,R=window;if(p){var q=T(e),C="clientHeight",P="clientWidth";q===x(e)&&"static"!==L(q=W(e)).position&&"absolute"===l&&(C="scrollHeight",P="scrollWidth"),(i===a||(i===s||i===f)&&o===d)&&(A=u,g-=(b&&q===R&&R.visualViewport?R.visualViewport.height:q[C])-r.height,g*=h?1:-1),i!==s&&(i!==a&&i!==u||o!==d)||(M=f,y-=(b&&q===R&&R.visualViewport?R.visualViewport.width:q[P])-r.width,y*=h?1:-1)}var B,S=Object.assign({position:l},p&&Q),z=!0===v?function(t,n){var e=t.y,r=n.devicePixelRatio||1;return{x:E(t.x*r)/r||0,y:E(e*r)/r||0}}({x:y,y:g},x(e)):{x:y,y:g};return y=z.x,g=z.y,Object.assign({},S,h?((B={})[A]=k?"0":"",B[M]=j?"0":"",B.transform=(R.devicePixelRatio||1)<=1?"translate("+y+"px, "+g+"px)":"translate3d("+y+"px, "+g+"px, 0)",B):((n={})[A]=k?g+"px":"",n[M]=j?y+"px":"",n.transform="",n))}var G={passive:!0},J={left:"right",right:"left",bottom:"top",top:"bottom"};function K(t){return t.replace(/left|right|bottom|top/g,(function(t){return J[t]}))}var N={start:"end",end:"start"};function X(t){return t.replace(/start|end/g,(function(t){return N[t]}))}function Y(t){var n=x(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function Z(t){return C(W(t)).left+Y(t).scrollLeft}function $(t){var n=L(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function tt(t){return["html","body","#document"].indexOf(w(t))>=0?t.ownerDocument.body:O(t)&&$(t)?t:tt(z(t))}function nt(t,n){var e;void 0===n&&(n=[]);var r=tt(t),i=r===(null==(e=t.ownerDocument)?void 0:e.body),o=x(r),a=i?[o].concat(o.visualViewport||[],$(r)?r:[]):r,u=n.concat(a);return i?u:u.concat(nt(z(a)))}function et(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function rt(t,n,e){return n===p?et(function(t,n){var e=x(t),r=W(t),i=e.visualViewport,o=r.clientWidth,a=r.clientHeight,u=0,f=0;if(i){o=i.width,a=i.height;var s=q();(s||!s&&"fixed"===n)&&(u=i.offsetLeft,f=i.offsetTop)}return{width:o,height:a,x:u+Z(t),y:f}}(t,e)):g(n)?function(t,n){var e=C(t,!1,"fixed"===n);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(n,e):et(function(t){var n,e=W(t),r=Y(t),i=null==(n=t.ownerDocument)?void 0:n.body,o=M(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=M(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-r.scrollLeft+Z(t),f=-r.scrollTop;return"rtl"===L(i||e).direction&&(u+=M(e.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:u,y:f}}(W(t)))}function it(t){var n,e=t.reference,r=t.element,i=t.placement,o=i?k(i):null,c=i?F(i):null,l=e.x+e.width/2-r.width/2,p=e.y+e.height/2-r.height/2;switch(o){case a:n={x:l,y:e.y-r.height};break;case u:n={x:l,y:e.y+e.height};break;case f:n={x:e.x+e.width,y:p};break;case s:n={x:e.x-r.width,y:p};break;default:n={x:e.x,y:e.y}}var v=o?I(o):null;if(null!=v){var b="y"===v?"height":"width";switch(c){case h:n[v]=n[v]-(e[b]/2-r[b]/2);break;case d:n[v]=n[v]+(e[b]/2-r[b]/2)}}return n}function ot(t,n){void 0===n&&(n={});var e=n.placement,r=void 0===e?t.placement:e,i=n.strategy,o=void 0===i?t.strategy:i,s=n.boundary,c=void 0===s?"clippingParents":s,h=n.rootBoundary,d=void 0===h?p:h,b=n.elementContext,m=void 0===b?v:b,y=n.altBoundary,x=void 0!==y&&y,j=n.padding,k=void 0===j?0:j,E=_("number"!=typeof k?k:D(k,l)),R=t.rects.popper,q=t.elements[x?m===v?"reference":v:m],P=function(t,n,e,r){var i="clippingParents"===n?function(t){var n=nt(z(t)),e=["absolute","fixed"].indexOf(L(t).position)>=0&&O(t)?T(t):t;return g(e)?n.filter((function(t){return g(t)&&B(t,e)&&"body"!==w(t)})):[]}(t):[].concat(n),o=[].concat(i,[e]),a=o.reduce((function(n,e){var i=rt(t,e,r);return n.top=M(i.top,n.top),n.right=A(i.right,n.right),n.bottom=A(i.bottom,n.bottom),n.left=M(i.left,n.left),n}),rt(t,o[0],r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(g(q)?q:q.contextElement||W(t.elements.popper),c,d,o),S=C(t.elements.reference),H=it({reference:S,element:R,placement:r}),I=et(Object.assign({},R,H)),V=m===v?I:S,F={top:P.top-V.top+E.top,bottom:V.bottom-P.bottom+E.bottom,left:P.left-V.left+E.left,right:V.right-P.right+E.right},Q=t.modifiersData.offset;if(m===v&&Q){var U=Q[r];Object.keys(F).forEach((function(t){var n=[f,u].indexOf(t)>=0?1:-1,e=[a,u].indexOf(t)>=0?"y":"x";F[t]+=U[e]*n}))}return F}function at(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,i=n.padding,o=n.flipVariations,a=n.allowedAutoPlacements,u=void 0===a?m:a,f=F(n.placement),s=f?o?b:b.filter((function(t){return F(t)===f})):l,c=s.filter((function(t){return u.indexOf(t)>=0}));0===c.length&&(c=s);var h=c.reduce((function(n,o){return n[o]=ot(t,{placement:o,boundary:e,rootBoundary:r,padding:i})[k(o)],n}),{});return Object.keys(h).sort((function(t,n){return h[t]-h[n]}))}var ut={name:"flip",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,r=t.name;if(!n.modifiersData[r]._skip){for(var i=e.mainAxis,o=void 0===i||i,l=e.altAxis,d=void 0===l||l,p=e.fallbackPlacements,v=e.padding,b=e.boundary,m=e.rootBoundary,y=e.altBoundary,w=e.flipVariations,x=void 0===w||w,g=e.allowedAutoPlacements,O=n.options.placement,j=k(O),M=p||(j!==O&&x?function(t){if(k(t)===c)return[];var n=K(t);return[X(t),n,X(n)]}(O):[K(O)]),A=[O].concat(M).reduce((function(t,e){return t.concat(k(e)===c?at(n,{placement:e,boundary:b,rootBoundary:m,padding:v,flipVariations:x,allowedAutoPlacements:g}):e)}),[]),E=n.rects.reference,R=n.rects.popper,q=new Map,C=!0,P=A[0],B=0;B<A.length;B++){var L=A[B],S=k(L),W=F(L)===h,z=[a,u].indexOf(S)>=0,H=z?"width":"height",T=ot(n,{placement:L,boundary:b,rootBoundary:m,altBoundary:y,padding:v}),I=z?W?f:s:W?u:a;E[H]>R[H]&&(I=K(I));var V=K(I),_=[];if(o&&_.push(T[S]<=0),d&&_.push(T[I]<=0,T[V]<=0),_.every((function(t){return t}))){P=L,C=!1;break}q.set(L,_)}if(C)for(var D=function(t){var n=A.find((function(n){var e=q.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return P=n,"break"},Q=x?3:1;Q>0&&"break"!==D(Q);Q--);n.placement!==P&&(n.modifiersData[r]._skip=!0,n.placement=P,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ft(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function st(t){return[a,f,u,s].some((function(n){return t[n]>=0}))}function ct(t,n,e){void 0===e&&(e=!1);var r,i,o=O(n),a=O(n)&&function(t){var n=t.getBoundingClientRect(),e=E(n.width)/t.offsetWidth||1,r=E(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),u=W(n),f=C(t,a,e),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!e)&&(("body"!==w(n)||$(u))&&(s=(r=n)!==x(r)&&O(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Y(r)),O(n)?((c=C(n,!0)).x+=n.clientLeft,c.y+=n.clientTop):u&&(c.x=Z(u))),{x:f.left+s.scrollLeft-c.x,y:f.top+s.scrollTop-c.y,width:f.width,height:f.height}}function lt(t){var n=new Map,e=new Set,r=[];function i(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&i(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||i(t)})),r}var ht={placement:"bottom",modifiers:[],strategy:"absolute"};function dt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function pt(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?ht:r;return function(t,n,r){void 0===r&&(r=i);var o,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},ht,i),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},f=[],s=!1,c={state:u,setOptions:function(r){var o="function"==typeof r?r(u.options):r;l(),u.options=Object.assign({},i,u.options,o),u.scrollParents={reference:g(t)?nt(t):t.contextElement?nt(t.contextElement):[],popper:nt(n)};var a,s,h=function(t){var n=lt(t);return y.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((a=[].concat(e,u.options.modifiers),s=a.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return u.orderedModifiers=h.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:c,options:void 0===n?{}:n});f.push(r||function(){})}})),c.update()},forceUpdate:function(){if(!s){var t=u.elements,n=t.reference,e=t.popper;if(dt(n,e)){u.rects={reference:ct(n,T(e),"fixed"===u.options.strategy),popper:P(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var i=u.orderedModifiers[r],o=i.fn,a=i.options;"function"==typeof o&&(u=o({state:u,options:void 0===a?{}:a,name:i.name,instance:c})||u)}else u.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(t){c.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(o())}))}))),a}),destroy:function(){l(),s=!0}};if(!dt(t,n))return c;function l(){f.forEach((function(t){return t()})),f=[]}return c.setOptions(r).then((function(t){!s&&r.onFirstUpdate&&r.onFirstUpdate(t)})),c}}var vt=pt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,i=r.scroll,o=void 0===i||i,a=r.resize,u=void 0===a||a,f=x(n.elements.popper),s=[].concat(n.scrollParents.reference,n.scrollParents.popper);return o&&s.forEach((function(t){t.addEventListener("scroll",e.update,G)})),u&&f.addEventListener("resize",e.update,G),function(){o&&s.forEach((function(t){t.removeEventListener("scroll",e.update,G)})),u&&f.removeEventListener("resize",e.update,G)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=it({reference:n.rects.reference,element:n.rects.popper,placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,i=void 0===r||r,o=e.adaptive,a=void 0===o||o,u=e.roundOffsets,f=void 0===u||u,s={placement:k(n.placement),variation:F(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:i,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,U(Object.assign({},s,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,U(Object.assign({},s,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},i=n.elements[t];O(i)&&w(i)&&(Object.assign(i.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?i.removeAttribute(t):i.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],i=n.attributes[t]||{},o=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});O(r)&&w(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var n=t.state,e=t.name,r=t.options.offset,i=void 0===r?[0,0]:r,o=m.reduce((function(t,e){return t[e]=function(t,n,e){var r=k(t),i=[s,a].indexOf(r)>=0?-1:1,o="function"==typeof e?e(Object.assign({},n,{placement:t})):e,u=o[0],c=o[1];return u=u||0,c=(c||0)*i,[s,f].indexOf(r)>=0?{x:c,y:u}:{x:u,y:c}}(e,n.rects,i),t}),{}),u=o[n.placement],c=u.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=u.x,n.modifiersData.popperOffsets.y+=c),n.modifiersData[e]=o}},ut,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,r=t.name,i=e.mainAxis,o=void 0===i||i,c=e.altAxis,l=void 0!==c&&c,d=e.tether,p=void 0===d||d,v=e.tetherOffset,b=void 0===v?0:v,m=ot(n,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),y=k(n.placement),w=F(n.placement),x=!w,g=I(y),O="x"===g?"y":"x",j=n.modifiersData.popperOffsets,E=n.rects.reference,R=n.rects.popper,q="function"==typeof b?b(Object.assign({},n.rects,{placement:n.placement})):b,C="number"==typeof q?{mainAxis:q,altAxis:q}:Object.assign({mainAxis:0,altAxis:0},q),B=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,L={x:0,y:0};if(j){if(o){var S,W="y"===g?a:s,z="y"===g?u:f,H="y"===g?"height":"width",_=j[g],D=_+m[W],Q=_-m[z],U=p?-R[H]/2:0,G=w===h?E[H]:R[H],J=w===h?-R[H]:-E[H],K=n.elements.arrow,N=p&&K?P(K):{width:0,height:0},X=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Y=X[W],Z=X[z],$=V(0,E[H],N[H]),tt=x?E[H]/2-U-$-Y-C.mainAxis:G-$-Y-C.mainAxis,nt=x?-E[H]/2+U+$+Z+C.mainAxis:J+$+Z+C.mainAxis,et=n.elements.arrow&&T(n.elements.arrow),rt=null!=(S=null==B?void 0:B[g])?S:0,it=_+nt-rt,at=V(p?A(D,_+tt-rt-(et?"y"===g?et.clientTop||0:et.clientLeft||0:0)):D,_,p?M(Q,it):Q);j[g]=at,L[g]=at-_}if(l){var ut,ft=j[O],st="y"===O?"height":"width",ct=ft+m["x"===g?a:s],lt=ft-m["x"===g?u:f],ht=-1!==[a,s].indexOf(y),dt=null!=(ut=null==B?void 0:B[O])?ut:0,pt=ht?ct:ft-E[st]-R[st]-dt+C.altAxis,vt=ht?ft+E[st]+R[st]-dt-C.altAxis:lt,bt=p&&ht?function(t,n,e){var r=V(t,n,e);return r>e?e:r}(pt,ft,vt):V(p?pt:ct,ft,p?vt:lt);j[O]=bt,L[O]=bt-ft}n.modifiersData[r]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var n,e=t.state,r=t.name,i=t.options,o=e.elements.arrow,c=e.modifiersData.popperOffsets,h=k(e.placement),d=I(h),p=[s,f].indexOf(h)>=0?"height":"width";if(o&&c){var v=function(t,n){return _("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:D(t,l))}(i.padding,e),b=P(o),m="y"===d?a:s,y="y"===d?u:f,w=e.rects.reference[p]+e.rects.reference[d]-c[d]-e.rects.popper[p],x=c[d]-e.rects.reference[d],g=T(o),O=g?"y"===d?g.clientHeight||0:g.clientWidth||0:0,j=O/2-b[p]/2+(w/2-x/2),M=V(v[m],j,O-b[p]-v[y]);e.modifiersData[r]=((n={})[d]=M,n.centerOffset=M-j,n)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&B(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,i=n.rects.popper,o=n.modifiersData.preventOverflow,a=ot(n,{elementContext:"reference"}),u=ot(n,{altBoundary:!0}),f=ft(a,r),s=ft(u,i,o),c=st(f),l=st(s);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:s,isReferenceHidden:c,hasPopperEscaped:l},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":l})}}]});const bt=class{constructor(e){t(this,e),this.showEvent=n(this,"showEvent",7),this.hideEvent=n(this,"hideEvent",7),this.placement="bottom",this.offset=[0,10],this.strategy="absolute",this.trigger="click",this.isOpen=!1,this.initialized=!1,this.boundHandlers={show:null,hide:null,handleClick:null}}onAnchorRefChange(t){t&&this.popperContentRef&&!this.initialized&&this.initPopper()}componentDidLoad(){this.anchorRef&&this.popperContentRef&&this.initPopper()}initPopper(){this.initialized||(this.initialized=!0,this.boundHandlers.show=this.show.bind(this),this.boundHandlers.hide=this.hide.bind(this),this.boundHandlers.handleClick=this.handleClick.bind(this),this.popperInstance=vt(this.anchorRef,this.popperContentRef,this.popperOptions),"click"===this.trigger?window.addEventListener("click",this.boundHandlers.handleClick):"hover"===this.trigger?(this.anchorRef.addEventListener("mouseenter",this.boundHandlers.show),this.anchorRef.addEventListener("mouseleave",this.boundHandlers.hide),this.popperContentRef.addEventListener("mouseenter",this.boundHandlers.show),this.popperContentRef.addEventListener("mouseleave",this.boundHandlers.hide)):"focus"===this.trigger&&(this.anchorRef.addEventListener("focus",this.boundHandlers.show),this.anchorRef.addEventListener("blur",this.boundHandlers.hide)))}disconnectedCallback(){var t,n,e,r,i,o,a;this.initialized&&(null===(t=this.popperInstance)||void 0===t||t.destroy(),"click"===this.trigger?window.removeEventListener("click",this.boundHandlers.handleClick):"hover"===this.trigger?(null===(n=this.anchorRef)||void 0===n||n.removeEventListener("mouseenter",this.boundHandlers.show),null===(e=this.anchorRef)||void 0===e||e.removeEventListener("mouseleave",this.boundHandlers.hide),null===(r=this.popperContentRef)||void 0===r||r.removeEventListener("mouseenter",this.boundHandlers.show),null===(i=this.popperContentRef)||void 0===i||i.removeEventListener("mouseleave",this.boundHandlers.hide)):"focus"===this.trigger&&(null===(o=this.anchorRef)||void 0===o||o.removeEventListener("focus",this.boundHandlers.show),null===(a=this.anchorRef)||void 0===a||a.removeEventListener("blur",this.boundHandlers.hide)))}handleClick(t){const n=t.composedPath(),e=n.includes(this.anchorRef),r=n.includes(this.popperContentRef);!this.isOpen&&e?this.show():(this.isOpen&&!r||this.isOpen&&e)&&this.hide()}get popperOptions(){return{placement:this.placement,modifiers:[{name:"offset",options:{offset:this.offset}}],strategy:this.strategy}}show(){this.isOpen=!0,this.popperContentRef.setAttribute("data-show",""),this.popperInstance.update(),this.showEvent.emit()}hide(){this.isOpen=!1,this.popperContentRef.removeAttribute("data-show"),this.popperInstance.update(),this.hideEvent.emit()}render(){return e("div",{key:"7a5bab9f568f74c4cc7635a5844ca9a48c506521"},e("style",{key:"9d073f9cc6b46141f05def0a5fa51d61ce2ec1b0"},"\n .popper-content {\n display: none;\n }\n .popper-content[data-show] {\n display: block;\n z-index: 1030;\n }\n "),e("div",{key:"7cea0b75df433ed9b5a8e46b015814a954f47c99",class:"popper-content",ref:t=>this.popperContentRef=t},e("slot",{key:"6a6f628864ce86989413f80b8a39f7fe089d6633"})))}static get watchers(){return{anchorRef:["onAnchorRefChange"]}}},mt=class{constructor(n){t(this,n)}show(){this.tooltip.classList.add("show")}hide(){this.tooltip.classList.remove("show")}render(){return this.helpText?e("div",{class:"tooltip-container"},e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-question-square tooltip-icon",viewBox:"0 0 16 16",ref:t=>this.anchorIcon=t,part:o},e("path",{d:"M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z"}),e("path",{d:"M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94"})),e("custom-popper",{trigger:"hover",placement:"top",anchorRef:this.anchorIcon},e("div",{class:"tooltip bs-tooltip-top",part:r,role:"tooltip",ref:t=>this.tooltip=t},e("div",{class:"tooltip-inner",part:i},this.helpText)))):null}};export{bt as custom_popper,mt as form_control_tooltip}
|
|
1
|
+
import{r as t,c as n,h as e}from"./p-CV0Pyo1O.js";import{an as r,ao as i,ap as o}from"./p-CPKMvyV_.js";var a="top",u="bottom",f="right",s="left",c="auto",l=[a,u,f,s],h="start",d="end",p="viewport",v="popper",b=l.reduce((function(t,n){return t.concat([n+"-"+h,n+"-"+d])}),[]),m=[].concat(l,[c]).reduce((function(t,n){return t.concat([n,n+"-"+h,n+"-"+d])}),[]),y=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function w(t){return t?(t.nodeName||"").toLowerCase():null}function x(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function g(t){return t instanceof x(t).Element||t instanceof Element}function O(t){return t instanceof x(t).HTMLElement||t instanceof HTMLElement}function j(t){return"undefined"!=typeof ShadowRoot&&(t instanceof x(t).ShadowRoot||t instanceof ShadowRoot)}function k(t){return t.split("-")[0]}var M=Math.max,A=Math.min,C=Math.round;function E(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function P(){return!/^((?!chrome|android).)*safari/i.test(E())}function R(t,n,e){void 0===n&&(n=!1),void 0===e&&(e=!1);var r=t.getBoundingClientRect(),i=1,o=1;n&&O(t)&&(i=t.offsetWidth>0&&C(r.width)/t.offsetWidth||1,o=t.offsetHeight>0&&C(r.height)/t.offsetHeight||1);var a=(g(t)?x(t):window).visualViewport,u=!P()&&e,f=(r.left+(u&&a?a.offsetLeft:0))/i,s=(r.top+(u&&a?a.offsetTop:0))/o,c=r.width/i,l=r.height/o;return{width:c,height:l,top:s,right:f+c,bottom:s+l,left:f,x:f,y:s}}function q(t){var n=R(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function B(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&j(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function L(t){return x(t).getComputedStyle(t)}function S(t){return["table","td","th"].indexOf(w(t))>=0}function W(t){return((g(t)?t.ownerDocument:t.document)||window.document).documentElement}function z(t){return"html"===w(t)?t:t.assignedSlot||t.parentNode||(j(t)?t.host:null)||W(t)}function H(t){return O(t)&&"fixed"!==L(t).position?t.offsetParent:null}function T(t){for(var n=x(t),e=H(t);e&&S(e)&&"static"===L(e).position;)e=H(e);return e&&("html"===w(e)||"body"===w(e)&&"static"===L(e).position)?n:e||function(t){var n=/firefox/i.test(E());if(/Trident/i.test(E())&&O(t)&&"fixed"===L(t).position)return null;var e=z(t);for(j(e)&&(e=e.host);O(e)&&["html","body"].indexOf(w(e))<0;){var r=L(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function V(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function _(t,n,e){return M(t,A(n,e))}function I(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function D(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function F(t){return t.split("-")[1]}var K={top:"auto",right:"auto",bottom:"auto",left:"auto"};function U(t){var n,e=t.popper,r=t.popperRect,i=t.placement,o=t.variation,c=t.offsets,l=t.position,h=t.gpuAcceleration,p=t.adaptive,v=t.roundOffsets,b=t.isFixed,m=c.x,y=void 0===m?0:m,w=c.y,g=void 0===w?0:w,O="function"==typeof v?v({x:y,y:g}):{x:y,y:g};y=O.x,g=O.y;var j=c.hasOwnProperty("x"),k=c.hasOwnProperty("y"),M=s,A=a,E=window;if(p){var P=T(e),R="clientHeight",q="clientWidth";P===x(e)&&"static"!==L(P=W(e)).position&&"absolute"===l&&(R="scrollHeight",q="scrollWidth"),(i===a||(i===s||i===f)&&o===d)&&(A=u,g-=(b&&P===E&&E.visualViewport?E.visualViewport.height:P[R])-r.height,g*=h?1:-1),i!==s&&(i!==a&&i!==u||o!==d)||(M=f,y-=(b&&P===E&&E.visualViewport?E.visualViewport.width:P[q])-r.width,y*=h?1:-1)}var B,S=Object.assign({position:l},p&&K),z=!0===v?function(t,n){var e=t.y,r=n.devicePixelRatio||1;return{x:C(t.x*r)/r||0,y:C(e*r)/r||0}}({x:y,y:g},x(e)):{x:y,y:g};return y=z.x,g=z.y,Object.assign({},S,h?((B={})[A]=k?"0":"",B[M]=j?"0":"",B.transform=(E.devicePixelRatio||1)<=1?"translate("+y+"px, "+g+"px)":"translate3d("+y+"px, "+g+"px, 0)",B):((n={})[A]=k?g+"px":"",n[M]=j?y+"px":"",n.transform="",n))}var G={passive:!0},J={left:"right",right:"left",bottom:"top",top:"bottom"};function N(t){return t.replace(/left|right|bottom|top/g,(function(t){return J[t]}))}var Q={start:"end",end:"start"};function X(t){return t.replace(/start|end/g,(function(t){return Q[t]}))}function Y(t){var n=x(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function Z(t){return R(W(t)).left+Y(t).scrollLeft}function $(t){var n=L(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function tt(t){return["html","body","#document"].indexOf(w(t))>=0?t.ownerDocument.body:O(t)&&$(t)?t:tt(z(t))}function nt(t,n){var e;void 0===n&&(n=[]);var r=tt(t),i=r===(null==(e=t.ownerDocument)?void 0:e.body),o=x(r),a=i?[o].concat(o.visualViewport||[],$(r)?r:[]):r,u=n.concat(a);return i?u:u.concat(nt(z(a)))}function et(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function rt(t,n,e){return n===p?et(function(t,n){var e=x(t),r=W(t),i=e.visualViewport,o=r.clientWidth,a=r.clientHeight,u=0,f=0;if(i){o=i.width,a=i.height;var s=P();(s||!s&&"fixed"===n)&&(u=i.offsetLeft,f=i.offsetTop)}return{width:o,height:a,x:u+Z(t),y:f}}(t,e)):g(n)?function(t,n){var e=R(t,!1,"fixed"===n);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(n,e):et(function(t){var n,e=W(t),r=Y(t),i=null==(n=t.ownerDocument)?void 0:n.body,o=M(e.scrollWidth,e.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),a=M(e.scrollHeight,e.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-r.scrollLeft+Z(t),f=-r.scrollTop;return"rtl"===L(i||e).direction&&(u+=M(e.clientWidth,i?i.clientWidth:0)-o),{width:o,height:a,x:u,y:f}}(W(t)))}function it(t){var n,e=t.reference,r=t.element,i=t.placement,o=i?k(i):null,c=i?F(i):null,l=e.x+e.width/2-r.width/2,p=e.y+e.height/2-r.height/2;switch(o){case a:n={x:l,y:e.y-r.height};break;case u:n={x:l,y:e.y+e.height};break;case f:n={x:e.x+e.width,y:p};break;case s:n={x:e.x-r.width,y:p};break;default:n={x:e.x,y:e.y}}var v=o?V(o):null;if(null!=v){var b="y"===v?"height":"width";switch(c){case h:n[v]=n[v]-(e[b]/2-r[b]/2);break;case d:n[v]=n[v]+(e[b]/2-r[b]/2)}}return n}function ot(t,n){void 0===n&&(n={});var e=n.placement,r=void 0===e?t.placement:e,i=n.strategy,o=void 0===i?t.strategy:i,s=n.boundary,c=void 0===s?"clippingParents":s,h=n.rootBoundary,d=void 0===h?p:h,b=n.elementContext,m=void 0===b?v:b,y=n.altBoundary,x=void 0!==y&&y,j=n.padding,k=void 0===j?0:j,C=I("number"!=typeof k?k:D(k,l)),E=t.rects.popper,P=t.elements[x?m===v?"reference":v:m],q=function(t,n,e,r){var i="clippingParents"===n?function(t){var n=nt(z(t)),e=["absolute","fixed"].indexOf(L(t).position)>=0&&O(t)?T(t):t;return g(e)?n.filter((function(t){return g(t)&&B(t,e)&&"body"!==w(t)})):[]}(t):[].concat(n),o=[].concat(i,[e]),a=o.reduce((function(n,e){var i=rt(t,e,r);return n.top=M(i.top,n.top),n.right=A(i.right,n.right),n.bottom=A(i.bottom,n.bottom),n.left=M(i.left,n.left),n}),rt(t,o[0],r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(g(P)?P:P.contextElement||W(t.elements.popper),c,d,o),S=R(t.elements.reference),H=it({reference:S,element:E,placement:r}),V=et(Object.assign({},E,H)),_=m===v?V:S,F={top:q.top-_.top+C.top,bottom:_.bottom-q.bottom+C.bottom,left:q.left-_.left+C.left,right:_.right-q.right+C.right},K=t.modifiersData.offset;if(m===v&&K){var U=K[r];Object.keys(F).forEach((function(t){var n=[f,u].indexOf(t)>=0?1:-1,e=[a,u].indexOf(t)>=0?"y":"x";F[t]+=U[e]*n}))}return F}function at(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,i=n.padding,o=n.flipVariations,a=n.allowedAutoPlacements,u=void 0===a?m:a,f=F(n.placement),s=f?o?b:b.filter((function(t){return F(t)===f})):l,c=s.filter((function(t){return u.indexOf(t)>=0}));0===c.length&&(c=s);var h=c.reduce((function(n,o){return n[o]=ot(t,{placement:o,boundary:e,rootBoundary:r,padding:i})[k(o)],n}),{});return Object.keys(h).sort((function(t,n){return h[t]-h[n]}))}var ut={name:"flip",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,r=t.name;if(!n.modifiersData[r]._skip){for(var i=e.mainAxis,o=void 0===i||i,l=e.altAxis,d=void 0===l||l,p=e.fallbackPlacements,v=e.padding,b=e.boundary,m=e.rootBoundary,y=e.altBoundary,w=e.flipVariations,x=void 0===w||w,g=e.allowedAutoPlacements,O=n.options.placement,j=k(O),M=p||(j!==O&&x?function(t){if(k(t)===c)return[];var n=N(t);return[X(t),n,X(n)]}(O):[N(O)]),A=[O].concat(M).reduce((function(t,e){return t.concat(k(e)===c?at(n,{placement:e,boundary:b,rootBoundary:m,padding:v,flipVariations:x,allowedAutoPlacements:g}):e)}),[]),C=n.rects.reference,E=n.rects.popper,P=new Map,R=!0,q=A[0],B=0;B<A.length;B++){var L=A[B],S=k(L),W=F(L)===h,z=[a,u].indexOf(S)>=0,H=z?"width":"height",T=ot(n,{placement:L,boundary:b,rootBoundary:m,altBoundary:y,padding:v}),V=z?W?f:s:W?u:a;C[H]>E[H]&&(V=N(V));var _=N(V),I=[];if(o&&I.push(T[S]<=0),d&&I.push(T[V]<=0,T[_]<=0),I.every((function(t){return t}))){q=L,R=!1;break}P.set(L,I)}if(R)for(var D=function(t){var n=A.find((function(n){var e=P.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return q=n,"break"},K=x?3:1;K>0&&"break"!==D(K);K--);n.placement!==q&&(n.modifiersData[r]._skip=!0,n.placement=q,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ft(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function st(t){return[a,f,u,s].some((function(n){return t[n]>=0}))}function ct(t,n,e){void 0===e&&(e=!1);var r,i,o=O(n),a=O(n)&&function(t){var n=t.getBoundingClientRect(),e=C(n.width)/t.offsetWidth||1,r=C(n.height)/t.offsetHeight||1;return 1!==e||1!==r}(n),u=W(n),f=R(t,a,e),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(o||!o&&!e)&&(("body"!==w(n)||$(u))&&(s=(r=n)!==x(r)&&O(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:Y(r)),O(n)?((c=R(n,!0)).x+=n.clientLeft,c.y+=n.clientTop):u&&(c.x=Z(u))),{x:f.left+s.scrollLeft-c.x,y:f.top+s.scrollTop-c.y,width:f.width,height:f.height}}function lt(t){var n=new Map,e=new Set,r=[];function i(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&i(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||i(t)})),r}var ht={placement:"bottom",modifiers:[],strategy:"absolute"};function dt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function pt(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?ht:r;return function(t,n,r){void 0===r&&(r=i);var o,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},ht,i),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},f=[],s=!1,c={state:u,setOptions:function(r){var o="function"==typeof r?r(u.options):r;l(),u.options=Object.assign({},i,u.options,o),u.scrollParents={reference:g(t)?nt(t):t.contextElement?nt(t.contextElement):[],popper:nt(n)};var a,s,h=function(t){var n=lt(t);return y.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((a=[].concat(e,u.options.modifiers),s=a.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(s).map((function(t){return s[t]}))));return u.orderedModifiers=h.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:c,options:void 0===n?{}:n});f.push(r||function(){})}})),c.update()},forceUpdate:function(){if(!s){var t=u.elements,n=t.reference,e=t.popper;if(dt(n,e)){u.rects={reference:ct(n,T(e),"fixed"===u.options.strategy),popper:q(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var i=u.orderedModifiers[r],o=i.fn,a=i.options;"function"==typeof o&&(u=o({state:u,options:void 0===a?{}:a,name:i.name,instance:c})||u)}else u.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(t){c.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(o())}))}))),a}),destroy:function(){l(),s=!0}};if(!dt(t,n))return c;function l(){f.forEach((function(t){return t()})),f=[]}return c.setOptions(r).then((function(t){!s&&r.onFirstUpdate&&r.onFirstUpdate(t)})),c}}var vt=pt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,i=r.scroll,o=void 0===i||i,a=r.resize,u=void 0===a||a,f=x(n.elements.popper),s=[].concat(n.scrollParents.reference,n.scrollParents.popper);return o&&s.forEach((function(t){t.addEventListener("scroll",e.update,G)})),u&&f.addEventListener("resize",e.update,G),function(){o&&s.forEach((function(t){t.removeEventListener("scroll",e.update,G)})),u&&f.removeEventListener("resize",e.update,G)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=it({reference:n.rects.reference,element:n.rects.popper,placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,i=void 0===r||r,o=e.adaptive,a=void 0===o||o,u=e.roundOffsets,f=void 0===u||u,s={placement:k(n.placement),variation:F(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:i,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,U(Object.assign({},s,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,U(Object.assign({},s,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},i=n.elements[t];O(i)&&w(i)&&(Object.assign(i.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?i.removeAttribute(t):i.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],i=n.attributes[t]||{},o=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});O(r)&&w(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var n=t.state,e=t.name,r=t.options.offset,i=void 0===r?[0,0]:r,o=m.reduce((function(t,e){return t[e]=function(t,n,e){var r=k(t),i=[s,a].indexOf(r)>=0?-1:1,o="function"==typeof e?e(Object.assign({},n,{placement:t})):e,u=o[0],c=o[1];return u=u||0,c=(c||0)*i,[s,f].indexOf(r)>=0?{x:c,y:u}:{x:u,y:c}}(e,n.rects,i),t}),{}),u=o[n.placement],c=u.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=u.x,n.modifiersData.popperOffsets.y+=c),n.modifiersData[e]=o}},ut,{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,r=t.name,i=e.mainAxis,o=void 0===i||i,c=e.altAxis,l=void 0!==c&&c,d=e.tether,p=void 0===d||d,v=e.tetherOffset,b=void 0===v?0:v,m=ot(n,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),y=k(n.placement),w=F(n.placement),x=!w,g=V(y),O="x"===g?"y":"x",j=n.modifiersData.popperOffsets,C=n.rects.reference,E=n.rects.popper,P="function"==typeof b?b(Object.assign({},n.rects,{placement:n.placement})):b,R="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),B=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,L={x:0,y:0};if(j){if(o){var S,W="y"===g?a:s,z="y"===g?u:f,H="y"===g?"height":"width",I=j[g],D=I+m[W],K=I-m[z],U=p?-E[H]/2:0,G=w===h?C[H]:E[H],J=w===h?-E[H]:-C[H],N=n.elements.arrow,Q=p&&N?q(N):{width:0,height:0},X=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Y=X[W],Z=X[z],$=_(0,C[H],Q[H]),tt=x?C[H]/2-U-$-Y-R.mainAxis:G-$-Y-R.mainAxis,nt=x?-C[H]/2+U+$+Z+R.mainAxis:J+$+Z+R.mainAxis,et=n.elements.arrow&&T(n.elements.arrow),rt=null!=(S=null==B?void 0:B[g])?S:0,it=I+nt-rt,at=_(p?A(D,I+tt-rt-(et?"y"===g?et.clientTop||0:et.clientLeft||0:0)):D,I,p?M(K,it):K);j[g]=at,L[g]=at-I}if(l){var ut,ft=j[O],st="y"===O?"height":"width",ct=ft+m["x"===g?a:s],lt=ft-m["x"===g?u:f],ht=-1!==[a,s].indexOf(y),dt=null!=(ut=null==B?void 0:B[O])?ut:0,pt=ht?ct:ft-C[st]-E[st]-dt+R.altAxis,vt=ht?ft+C[st]+E[st]-dt-R.altAxis:lt,bt=p&&ht?function(t,n,e){var r=_(t,n,e);return r>e?e:r}(pt,ft,vt):_(p?pt:ct,ft,p?vt:lt);j[O]=bt,L[O]=bt-ft}n.modifiersData[r]=L}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var n,e=t.state,r=t.name,i=t.options,o=e.elements.arrow,c=e.modifiersData.popperOffsets,h=k(e.placement),d=V(h),p=[s,f].indexOf(h)>=0?"height":"width";if(o&&c){var v=function(t,n){return I("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:D(t,l))}(i.padding,e),b=q(o),m="y"===d?a:s,y="y"===d?u:f,w=e.rects.reference[p]+e.rects.reference[d]-c[d]-e.rects.popper[p],x=c[d]-e.rects.reference[d],g=T(o),O=g?"y"===d?g.clientHeight||0:g.clientWidth||0:0,j=O/2-b[p]/2+(w/2-x/2),M=_(v[m],j,O-b[p]-v[y]);e.modifiersData[r]=((n={})[d]=M,n.centerOffset=M-j,n)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&B(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,i=n.rects.popper,o=n.modifiersData.preventOverflow,a=ot(n,{elementContext:"reference"}),u=ot(n,{altBoundary:!0}),f=ft(a,r),s=ft(u,i,o),c=st(f),l=st(s);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:s,isReferenceHidden:c,hasPopperEscaped:l},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":l})}}]});const bt=class{constructor(e){t(this,e),this.showEvent=n(this,"showEvent",7),this.hideEvent=n(this,"hideEvent",7),this.placement="bottom",this.offset=[0,10],this.strategy="absolute",this.trigger="click",this.isOpen=!1,this.initialized=!1,this.boundHandlers={show:null,hide:null,handleClick:null}}onAnchorRefChange(t){t&&this.popperContentRef&&!this.initialized&&this.initPopper()}componentDidLoad(){this.anchorRef&&this.popperContentRef&&this.initPopper()}initPopper(){this.initialized||(this.initialized=!0,this.boundHandlers.show=this.show.bind(this),this.boundHandlers.hide=this.hide.bind(this),this.boundHandlers.handleClick=this.handleClick.bind(this),this.popperInstance=vt(this.anchorRef,this.popperContentRef,this.popperOptions),"click"===this.trigger?window.addEventListener("click",this.boundHandlers.handleClick):"hover"===this.trigger?(this.anchorRef.addEventListener("mouseenter",this.boundHandlers.show),this.anchorRef.addEventListener("mouseleave",this.boundHandlers.hide),this.popperContentRef.addEventListener("mouseenter",this.boundHandlers.show),this.popperContentRef.addEventListener("mouseleave",this.boundHandlers.hide)):"focus"===this.trigger&&(this.anchorRef.addEventListener("focus",this.boundHandlers.show),this.anchorRef.addEventListener("blur",this.boundHandlers.hide)))}disconnectedCallback(){var t,n,e,r,i,o,a;this.initialized&&(null===(t=this.popperInstance)||void 0===t||t.destroy(),"click"===this.trigger?window.removeEventListener("click",this.boundHandlers.handleClick):"hover"===this.trigger?(null===(n=this.anchorRef)||void 0===n||n.removeEventListener("mouseenter",this.boundHandlers.show),null===(e=this.anchorRef)||void 0===e||e.removeEventListener("mouseleave",this.boundHandlers.hide),null===(r=this.popperContentRef)||void 0===r||r.removeEventListener("mouseenter",this.boundHandlers.show),null===(i=this.popperContentRef)||void 0===i||i.removeEventListener("mouseleave",this.boundHandlers.hide)):"focus"===this.trigger&&(null===(o=this.anchorRef)||void 0===o||o.removeEventListener("focus",this.boundHandlers.show),null===(a=this.anchorRef)||void 0===a||a.removeEventListener("blur",this.boundHandlers.hide)))}handleClick(t){const n=t.composedPath(),e=n.includes(this.anchorRef),r=n.includes(this.popperContentRef);!this.isOpen&&e?this.show():(this.isOpen&&!r||this.isOpen&&e)&&this.hide()}get popperOptions(){return{placement:this.placement,modifiers:[{name:"offset",options:{offset:this.offset}}],strategy:this.strategy}}show(){this.isOpen=!0,this.popperContentRef.setAttribute("data-show",""),this.popperInstance.update(),this.showEvent.emit()}hide(){this.isOpen=!1,this.popperContentRef.removeAttribute("data-show"),this.popperInstance.update(),this.hideEvent.emit()}render(){return e("div",{key:"eb1e7317215bc36f340ac0cd8b5826cc302c3693"},e("style",{key:"1acdb1992e684a654d659e7472758e016b4b11d6"},"\n .popper-content {\n display: none;\n }\n .popper-content[data-show] {\n display: block;\n z-index: 1030;\n }\n "),e("div",{key:"53ff89449687b84469c9cfbb83c7807b6e95e003",class:"popper-content",ref:t=>this.popperContentRef=t},e("slot",{key:"f8f516747c2ad6c2e32efefeaa33f319a202bba6"})))}static get watchers(){return{anchorRef:["onAnchorRefChange"]}}},mt=class{constructor(n){t(this,n)}show(){this.tooltip.classList.add("show")}hide(){this.tooltip.classList.remove("show")}render(){return this.helpText?e("div",{class:"tooltip-container"},e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-question-square tooltip-icon",viewBox:"0 0 16 16",ref:t=>this.anchorIcon=t,part:o},e("path",{d:"M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z"}),e("path",{d:"M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286m1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94"})),e("custom-popper",{trigger:"hover",placement:"top",anchorRef:this.anchorIcon},e("div",{class:"tooltip bs-tooltip-top",part:r,role:"tooltip",ref:t=>this.tooltip=t},e("div",{class:"tooltip-inner",part:i},this.helpText)))):null}};export{bt as custom_popper,mt as form_control_tooltip}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,c as t,h as o,H as i}from"./p-CV0Pyo1O.js";import{C as s}from"./p-ZpPDShvP.js";import{r as a}from"./p-
|
|
1
|
+
import{r as e,c as t,h as o,H as i}from"./p-CV0Pyo1O.js";import{C as s}from"./p-ZpPDShvP.js";import{r as a}from"./p-CPKMvyV_.js";import"./p-HXpYMWUU.js";const r=class{constructor(o){e(this,o),this.paymentMethodOptionSelected=t(this,"paymentMethodOptionSelected",7),this.onPaymentMethodOptionClick=e=>{e.preventDefault(),this.paymentMethodOptionSelected.emit(this.paymentMethodOption)}}async resolvePaymentMethod(e){var t;return e.isValid?{token:null===(t=this.paymentMethodOption)||void 0===t?void 0:t.id}:{validationError:!0}}render(){var e,t,r;return o(i,{key:"66b8725a684241fc105d182ee5982167b2007506",class:"payment-method"},o("div",{key:"d0370f70b880f6a83b18eaeeefce7b8fde342ce9",class:"radio-list-item p-3",part:a,onClick:this.onPaymentMethodOptionClick},o("form-control-radio",{key:"76ed425815f77082ba1145aa2df04beef6044e07",name:"paymentMethodType",value:null===(e=this.paymentMethodOption)||void 0===e?void 0:e.id,checked:this.isSelected,label:`${s[null===(t=this.paymentMethodOption)||void 0===t?void 0:t.brand]||""} *${null===(r=this.paymentMethodOption)||void 0===r?void 0:r.acct_last_four}`})))}};export{r as justifi_saved_payment_method}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as e}from"./p-CV0Pyo1O.js";import{f as t,p as s,c as l}from"./p-AMVhBsGv.js";import{f as r,a as f}from"./p-CPKMvyV_.js";import{S as d}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import{c as i,a as o}from"./p-BRnBHsdq.js";import"./p-DVJaoI_m.js";import{P as c}from"./p-CSgcCWLS.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import"./p-D8GTwl9v.js";import"./p-HXpYMWUU.js";const p=class{constructor(e){a(this,e),this.setParamsOnChange=(a,e)=>{t[a]=e},this.handleDateInput=(a,e)=>{const t=i(e,{setEndOfDay:!0});this.setParamsOnChange(a,t)}}componentWillLoad(){Object.entries({status:this.status,created_after:this.createdAfter,created_before:this.createdBefore}).forEach((([a,e])=>{e&&(s[a]=e)}))}get statusOptions(){return[{label:"All",value:""},{label:c.paid,value:"paid"},{label:c.failed,value:"failed"},{label:c.forwarded,value:"forwarded"},{label:c.scheduled,value:"scheduled"},{label:c.in_transit,value:"in_transit"},{label:c.canceled,value:"canceled"}]}render(){const a=Object.assign({},t);return e(d,{key:"3625f5efccbe6a0715abb425731f53ab4ff89b05"},e("table-filters-menu",{key:"ce1fad33a28dd75075ec382e73f1822170061215",params:a,clearParams:l,part:r},e("div",{key:"613d95baab2642c7e9d032476dbf66529a64f10f",class:"grid-cols-2 gap-3 p-1"},e("div",{key:"39096bd7917514f0f7fddc98520ff78b1ac38e99",class:"p-2"},e("form-control-select",{key:"dd93b57d82296c2ea79a76a52e499123bffcf346",name:"status",label:"Status",options:this.statusOptions,inputHandler:this.setParamsOnChange,defaultValue:this.status||t.status||"",disabled:!!this.status,part:f})),e("div",{key:"323b2e91854d75266135cf6af37aacb86c9776d1",class:"p-2"},e("form-control-date",{key:"b3c67ec5e63fc5484a153689bbd56666d7679a4c",name:"created_after",label:"Created After",inputHandler:this.handleDateInput,defaultValue:o(this.createdAfter,{showInputDate:!0})||o(t.created_after,{showInputDate:!0}),disabled:!!this.createdAfter,part:f})),e("div",{key:"6a949567f2c4183f4431ffb07fbcbb61b33f1044",class:"p-2"},e("form-control-date",{key:"8ad670d02f45ea839c712b2cfe5cf7bade503554",name:"created_before",label:"Created Before",inputHandler:this.handleDateInput,defaultValue:o(this.createdBefore,{showInputDate:!0})||o(t.created_before,{showInputDate:!0}),disabled:!!this.createdBefore,part:f})))))}};export{p as justifi_payouts_list_filters}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{B as r}from"./p-BcNb9bVO.js";import{C as o}from"./p-CSgcCWLS.js";import{g as s,a as e}from"./p-Cg_3KsGO.js";const i=({id:i,authToken:n,service:t})=>async({onSuccess:a,onError:c,final:l})=>{var m;try{const l=await t.fetchBusiness(i,n);if(l.error){return c({error:e(l.error),code:s(null===(m=l.error)||void 0===m?void 0:m.code),severity:o.ERROR})}a({business:new r(l.data)})}catch(r){const e=s(null==r?void 0:r.code);return c({error:r.message||r,code:e,severity:o.ERROR})}finally{l()}};export{i as m}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as s,F as e,r as t,c as i}from"./p-CV0Pyo1O.js";import{E as a}from"./p-Cu7hgXL1.js";import{B as r}from"./p-eK8hZOMg.js";import{m as o}from"./p-2qotS5d_.js";import{C as n,b as l}from"./p-CSgcCWLS.js";import{J as h}from"./p-DbOUuBHs.js";import{c}from"./p-DHFQtPCq.js";import{S as d}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import{S as p}from"./p-uZ5KAseb.js";import"./p-CPKMvyV_.js";import"./p-CYQvLgSs.js";import"./p-DVJaoI_m.js";import"./p-D8GTwl9v.js";import"./p-BRnBHsdq.js";import"./p-HXpYMWUU.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import"./p-Cg_3KsGO.js";import"./p-CZa-hHhJ.js";const u=()=>{const t=()=>s("div",{class:"mt-5"},s(p,{width:"40%",height:"1.5rem"}),s("hr",null),s("div",{class:"row g-3"},s("div",{class:"col-12 col-md-6"},s(p,null),s(p,null),s(p,null)),s("div",{class:"col-12 col-md-6"},s(p,null),s(p,null),s(p,null))));return s(e,null,s(t,null),s(t,null),s(t,null),s(t,null))},m=class{constructor(s){t(this,s),this.errorEvent=i(this,"error-event",7),this.loading=!0}componentWillLoad(){c(),this.analytics=new h(this),this.initializeGetBusiness()}disconnectedCallback(){var s;null===(s=this.analytics)||void 0===s||s.cleanup()}propChanged(){this.initializeGetBusiness()}initializeGetBusiness(){this.businessId&&this.authToken?(this.getBusiness=o({id:this.businessId,authToken:this.authToken,service:new r}),this.fetchData()):(this.errorMessage="Invalid business id or auth token",this.errorEvent.emit({errorCode:l.MISSING_PROPS,message:this.errorMessage,severity:n.ERROR}))}updateOnPropChange(){this.getBusiness&&this.fetchData()}fetchData(){this.loading=!0,this.getBusiness({onSuccess:({business:s})=>{this.business=s,this.errorMessage=null},onError:({error:s,code:e,severity:t})=>{this.errorMessage=s,this.errorEvent.emit({errorCode:e,message:s,severity:t})},final:()=>{this.loading=!1}})}render(){return s(d,{key:"7ce48e6905cdbbf8f94470913ecfa3ef8dbb76c7"},this.loading&&s(u,{key:"7c3439e0c247436cd7951d3bdc32e7672c9f8447"}),!this.loading&&this.errorMessage&&a(this.errorMessage),!this.loading&&!this.errorMessage&&this.business&&s("justifi-details",{key:"bf57dacf2067f2704014ce3e002958e3306bba73",errorMessage:this.errorMessage},s("div",{key:"46d19a178ba0d33aa21a4f3900128e3e905731a9",slot:"detail-sections"},s("core-info-details",{key:"ac217a4cfe6b45810a85ca320760b7331f76e60b",business:this.business}),s("legal-address-details",{key:"1fc1a196a43bcf5f9eafd09bfe74c8bb7c409797",legalAddress:this.business.legal_address}),s("representative-details",{key:"1e0833606b129f69a05946726172963cbec05189",representative:this.business.representative}),s("owner-details",{key:"c974111dc67a8961ef6435c34843ca927ad8a7e5",owners:this.business.owners}),s("additional-questions-details",{key:"0951d284a373457e98a1dafc80231ec3ee057e0a",additionalQuestions:this.business.additional_questions}))))}static get watchers(){return{businessId:["propChanged"],authToken:["propChanged"],getBusiness:["updateOnPropChange"]}}};export{m as justifi_business_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-CV0Pyo1O.js";import{l as t}from"./p-C_ifLmT1.js";import"./p-DVJaoI_m.js";import{c as s,a as l}from"./p-BRnBHsdq.js";import{I as c,a as i}from"./p-CSgcCWLS.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import{f as d,p as o,c as r}from"./p-CpGEMRkH.js";import{f as p,a as b}from"./p-CPKMvyV_.js";import{S as f}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import"./p-BFTU3MAI.js";import"./p-D8GTwl9v.js";import"./p-HXpYMWUU.js";const m=class{constructor(a){e(this,a),this.setParamsOnChange=(e,a)=>{d[e]=a},this.handleDateInput=(e,a)=>{const t=s(a,{setExactTime:!0});this.setParamsOnChange(e,t)}}componentWillLoad(){this.debouncedSetParamsOnChange=t.debounce(this.setParamsOnChange,300),Object.entries({status:this.checkoutStatus,payment_mode:this.paymentMode,checkout_id:this.checkoutId,successful_payment_id:this.successfulPaymentId,created_after:this.createdAfter,created_before:this.createdBefore}).forEach((([e,a])=>{a&&(o[e]=a)}))}get checkoutStatusOptions(){return[{label:"All",value:""},{label:"Created",value:c.created},{label:"Completed",value:c.completed},{label:"Attempted",value:c.attempted},{label:"Expired",value:c.expired}]}get checkoutPaymentModeOptions(){return[{label:"All",value:""},{label:"E-commerce",value:i.ecom},{label:"BNPL",value:i.bnpl},{label:"Apple Pay",value:i.apple_pay}]}render(){const e=Object.assign({},d);return a(f,{key:"1bb72de3ffad74d0e287f6f988f2737a94190709"},a("table-filters-menu",{key:"e7e1c2d657b5af5dfcf6e13b262dbd3787583206",params:e,clearParams:r,part:p},a("div",{key:"df26c6a8c7ec477103995c07c079c01a4bea0729",class:"grid-cols-2 gap-3 p-1"},a("div",{key:"6fd0f286cb30997439879d1c9b69b8ab39651a99",class:"p-2"},a("form-control-text",{key:"b6a070c40b1da5ea9f59c8c6f47f517181948230",name:"checkout_id",label:"Checkout ID",inputHandler:this.debouncedSetParamsOnChange,defaultValue:this.checkoutId||d.checkout_id,disabled:!!this.checkoutId,part:b})),a("div",{key:"f6ae07ac4b9afcb307fa6ce5ff6a0b6610169a69",class:"p-2"},a("form-control-text",{key:"c27c86b9a14d806bcd6d2d2a070812e31ae558ee",name:"successful_payment_id",label:"Successful Payment ID",inputHandler:this.debouncedSetParamsOnChange,defaultValue:this.successfulPaymentId||d.successful_payment_id,disabled:!!this.successfulPaymentId,part:b})),a("div",{key:"54b26c583902c853db8709b311870c94d5332bd2",class:"p-2"},a("form-control-select",{key:"3747bd2c6f2196a56059f36febc30057b8dc13de",name:"status",label:"Status",options:this.checkoutStatusOptions,inputHandler:this.setParamsOnChange,defaultValue:this.checkoutStatus||d.status||"",disabled:!!this.checkoutStatus,part:b})),a("div",{key:"5a875750872d5446c42db9a840c3670425c46ebb",class:"p-2"},a("form-control-select",{key:"58eff7fbca6653532540506c7cef66df0f54af38",name:"payment_mode",label:"Payment Mode",options:this.checkoutPaymentModeOptions,inputHandler:this.setParamsOnChange,defaultValue:this.paymentMode||d.payment_mode||"",disabled:!!this.paymentMode,part:b})),a("div",{key:"dca10b3b14055c6c2351f4fa8f11b609625f1a26",class:"p-2"},a("form-control-date",{key:"bfb85e61a9ee01a1cb3c2907ad06b6d37bbdc081",name:"created_after",label:"Created After",inputHandler:this.handleDateInput,defaultValue:l(this.createdAfter,{showInputDateTime:!0})||l(d.created_after,{showInputDateTime:!0}),showTime:!0,disabled:!!this.createdAfter,part:b})),a("div",{key:"1772c182c957b053e77599935e3d61c1a66186a6",class:"p-2"},a("form-control-date",{key:"f7965bd4b2689359e76d3cec250bfd7eb5ba7870",name:"created_before",label:"Created Before",inputHandler:this.handleDateInput,defaultValue:l(this.createdBefore,{showInputDateTime:!0})||l(d.created_before,{showInputDateTime:!0}),showTime:!0,disabled:!!this.createdBefore,part:b})))))}};export{m as justifi_checkouts_list_filters}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,c as t,h as i}from"./p-CV0Pyo1O.js";import{D as e,C as r,b as o,h}from"./p-CSgcCWLS.js";import{J as p}from"./p-DbOUuBHs.js";import{c as a}from"./p-DHFQtPCq.js";import{g as n,a as c}from"./p-Cg_3KsGO.js";import{D as d,a as u}from"./p-D4E9P7df.js";import{S as m}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import"./p-BRnBHsdq.js";import"./p-HXpYMWUU.js";import"./p-CZa-hHhJ.js";import"./p-CYQvLgSs.js";import"./p-DVJaoI_m.js";import"./p-D8GTwl9v.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";const j=class{constructor(i){s(this,i),this.errorEvent=t(this,"error-event",7),this.isLoading=!0,this.showDisputeResponseForm=!1,this.fetchDisputePending=!1}scheduleFetchDispute(){this.getDispute&&!this.fetchDisputePending&&(this.fetchDisputePending=!0,queueMicrotask((()=>{this.fetchDisputePending=!1,this.getDispute&&this.fetchData()})))}disputeResponseHandler(s){s.detail.name===d.respondToDispute&&(this.showDisputeResponseForm=!0),s.detail.name===d.cancelDispute&&(this.showDisputeResponseForm=!1)}disputeSubmittedHandler(){this.fetchData()}componentWillLoad(){a(),this.analytics=new p(this),this.initializeGetDispute()}componentDidLoad(){this.scheduleFetchDispute()}disconnectedCallback(){var s;null===(s=this.analytics)||void 0===s||s.cleanup()}propChanged(){this.initializeGetDispute(),this.scheduleFetchDispute()}initializeGetDispute(){this.disputeId&&this.authToken?this.getDispute=(({id:s,authToken:t,service:i})=>async({onSuccess:o,onError:h})=>{var p;try{const a=await i.fetchDispute(s,t);if(a.error)return h({error:c(a.error),code:n(null===(p=a.error)||void 0===p?void 0:p.code),severity:r.ERROR});{const s=Object.assign({},a.page_info);o({dispute:new e(a.data),pagingInfo:s})}}catch(s){const t=n(null==s?void 0:s.code);return h({error:s.message||s,code:t,severity:r.ERROR})}})({id:this.disputeId,authToken:this.authToken,service:new u}):this.errorEvent.emit({message:"Dispute ID and Auth Token are required",errorCode:o.MISSING_PROPS,severity:r.ERROR})}fetchData(){this.getDispute&&(this.isLoading=!0,this.getDispute({onSuccess:({dispute:s})=>{this.dispute=new e(s),this.isLoading=!1,this.dispute.status!==h.needsResponse&&(this.showDisputeResponseForm=!1)},onError:({error:s,code:t,severity:i})=>{this.errorEvent.emit({errorCode:t,message:s,severity:i}),this.isLoading=!1}}))}render(){return i(m,{key:"a9185f55e6f2704ec8ba85c5061e8c46338481e3"},i("div",{key:"e4851b3fa85ec428929b7868c0748b56c0172c8b"},this.showDisputeResponseForm?i("dispute-response",{disputeId:this.disputeId,disputeResponse:this.dispute.dispute_response,authToken:this.authToken}):i("dispute-notification",{dispute:this.dispute,authToken:this.authToken,isLoading:this.isLoading})))}static get watchers(){return{disputeId:["propChanged"],authToken:["propChanged"]}}};export{j as justifi_dispute_management}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-CV0Pyo1O.js";import{c as t,a as i,F as c}from"./p-CKiAlBsU.js";import{a9 as d}from"./p-DnrawQn3.js";import"./p-BFTU3MAI.js";const s=t({additional_statement:i().nullable()});var o,l;!function(e){e.disputeReason="dispute_reason",e.productOrService="product_or_service",e.customerDetails="customer_details",e.cancellationPolicy="cancellation_policy",e.refundPolicy="refund_policy",e.duplicateCharge="duplicate_charge",e.electronicEvidence="electronic_evidence",e.shippingDetails="shipping_details",e.additionalStatement="additional_statement"}(o||(o={})),function(e){e.activity_log="activity_log",e.cancellationPolicy="cancellation_policy",e.customerCommunication="customer_communication",e.customerSignature="customer_signature",e.duplicateChargeDocumentation="duplicate_charge_documentation",e.receipt="receipt",e.refundPolicy="refund_policy",e.serviceDocumentation="service_documentation",e.shippingDocumentation="shipping_documentation",e.uncategorizedFile="uncategorized_file"}(l||(l={}));class n{set presignedUrl(e){this._presignedUrl=e}get presignedUrl(){return this._presignedUrl}async getFileString(){const e=new Promise(((e,a)=>{const t=new FileReader;t.onload=a=>{e(a.target.result)},t.onerror=()=>{a(new Error("Error reading file"))},t.readAsArrayBuffer(this._file)}));return await e}constructor(e,a){this._file=e,this.file_name=e.name,this.file_type=e.type,this.dispute_evidence_type=a}}const r=(e,a)=>{const t=e.target,i=t.name,c=t.files;a[i]=[];for(const e of c)a[i].push(new n(e,i))},f=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.acceptedTerms=!1,this.documents={uncategorized_file:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.additionalStatement)))}componentWillLoad(){this.form=new c(s)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"97175b1ff6bee9154ec66df8710c7343cdd9a2dd"},a("div",{key:"f36de20ce5e724780550bcb0eaa4512b5d1559ef",class:"row gy-3"},a("div",{key:"bf5002c5e8b8c3f516fa8cad1f42e7b7ca9e55f9",class:"col-12"},a("h2",{key:"64f6517d1029463cfe07c435f6b4a1cdca95f097",class:"h5",part:d},"Additional Evidence")),a("div",{key:"81ced6dd86b41293b6692d3023fbe5e9e11cc392",class:"col-12"},a("form-control-textarea",{key:"d5f28108a9dbea3e0f2634b1cd96316a9f986c90",label:"Is there anything else you would like to say about this dispute?",name:"additional_statement",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.additional_statement,inputHandler:this.inputHandler,errorText:this.errors.additional_statement})),a("div",{key:"19d8047c4fc03376f77f5331f2fcfea6cd20e2b9",class:"col-12"},a("form-control-file-v2",{key:"871bc06d4f7b5e3d56dd73ddfc9a8061d701f501",label:"Additional files",name:"uncategorized_file",multiple:!0,helpText:"Upload any additional pieces of evidence that have not already been provided.",onChange:e=>r(e,this.documents),errorText:null===(t=this.documentErrors)||void 0===t?void 0:t.uncategorized_file}))))}},b=t({cancellation_policy_disclosure:i().nullable(),cancellation_rebuttal:i().nullable()}),h=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={cancellation_policy:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.cancellationPolicy)))}componentWillLoad(){this.form=new c(b)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"f5f98ed91abdb767d3f48efaa9d69a5445d6a5bf"},a("div",{key:"b7a2539c1c5971267eb469fb0011508e5c3aa163",class:"row gy-3"},a("div",{key:"82666927fa4daccb9ea2ad511e445201d216775e",class:"col-12"},a("h2",{key:"7cf97383cee9cd3c5c95cc20374826b7f0d0ebe3",class:"h5",part:d},"Cancellation Policy")),a("div",{key:"8a4691ee688de45f97dd624310ca5fc39cf20db2",class:"col-12"},a("form-control-textarea",{key:"27ce967696f3f89c8b91d5892f7dfffefacd8536",label:"Cancellation Policy Disclosure",name:"cancellation_policy_disclosure",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.cancellation_policy_disclosure,inputHandler:this.inputHandler,errorText:this.errors.cancellation_policy_disclosure})),a("div",{key:"12a25c0dc23b528b412e1b19fd9b7071967fd411",class:"col-12"},a("form-control-textarea",{key:"81ceef5f5b94ad31eb1cd36991a13e099b13725c",label:"Cancellation Rebuttal",name:"cancellation_rebuttal",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.cancellation_rebuttal,inputHandler:this.inputHandler,errorText:this.errors.cancellation_rebuttal})),a("div",{key:"9afbe3a16b1da50afea763c66e4ee0b5b388b137",class:"col-12"},a("form-control-file-v2",{key:"9a613e293af4d48354859bfd2329afce152a5f89",label:"Upload Cancellation Policy",name:"cancellation_policy",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.cancellation_policy}))))}},u=t({customer_name:i().nullable(),customer_email_address:i().nullable(),customer_billing_address:i().nullable()}),v=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={customer_signature:[],customer_communication:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.customerDetails)))}componentWillLoad(){this.form=new c(u)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c,s;return a("div",{key:"8bc10877cfabb168cd717d463a1ae252809275f5"},a("div",{key:"12dc083ba94dfbb7b20671c636a0be03f3b67070",class:"row gy-3"},a("div",{key:"429c91062e19b12711baa35d14b1337f8fbfc9d6",class:"col-12"},a("h2",{key:"406723145d3bdbaa52b2897a5dc4347be34e7eea",class:"h5",part:d},"Customer Details")),a("div",{key:"40d5e8bd7c2b1fe8786c38fc2b7a3789278f3497",class:"col-12"},a("form-control-text",{key:"ade5ccaf5a45ba5f3f81c68196bfc7879da03315",label:"Full Name",name:"customer_name",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.customer_name,inputHandler:this.inputHandler,errorText:this.errors.customer_name})),a("div",{key:"baf8a129aa64d4507bce0d1f9ed7077f0911715e",class:"col-12"},a("form-control-text",{key:"786f84b55ffec13cc937dff50e587e28865c7114",label:"Email",name:"customer_email_address",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.customer_email_address,inputHandler:this.inputHandler,errorText:this.errors.customer_email_address})),a("div",{key:"2805d754316314934648955b34e8c6da5f709192",class:"col-12"},a("form-control-textarea",{key:"95a7a8a9d1d9ea70478021110808545c0730ffec",label:"Billing Address",name:"customer_billing_address",defaultValue:null===(i=this.disputeResponse)||void 0===i?void 0:i.customer_billing_address,inputHandler:this.inputHandler,errorText:this.errors.customer_billing_address})),a("div",{key:"78fa90926cc11695379a95dde849cfb28cf829f5",class:"col-12"},a("form-control-file-v2",{key:"984ab42f7742afcb0b74ccf65f313ead0542f75d",label:"Customer Signature",name:"customer_signature",onChange:e=>r(e,this.documents),errorText:null===(c=this.documentErrors)||void 0===c?void 0:c.customer_signature})),a("div",{key:"de0bf546a3e767ec1e362446f14edea449643b2b",class:"col-12"},a("form-control-file-v2",{key:"4124feba010476d48ab052142b7fb962d1550934",label:"Customer Communication",name:"customer_communication",onChange:e=>r(e,this.documents),errorText:null===(s=this.documentErrors)||void 0===s?void 0:s.customer_communication}))))}},p=t({duplicate_charge_original_payment_id:i().nullable(),duplicate_charge_explanation:i().nullable()}),m=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={duplicate_charge_documentation:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.duplicateCharge)))}componentWillLoad(){this.form=new c(p)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"a34d10b642c601ff1a2e6109bdad5550afef0dc7"},a("div",{key:"65dfe9ecb13d4038fbceb5b3f88313e473ad0f2f",class:"row gy-3"},a("div",{key:"5ec12191f9e56396ff1e67b53dcdfecdca8f21e9",class:"col-12"},a("h2",{key:"b5bf89077f1ae3dcbb6c37e28b2728a0c88ed1b4",class:"h5",part:d},"Duplicate Charge")),a("div",{key:"52cdf5962d03f1724dc610a4525a4bf09a68fe4e",class:"col-12"},a("form-control-text",{key:"785cc51d4491326c3e7555404e47726cb6f6f0ea",label:"Original Payment ID",name:"duplicate_charge_original_payment_id",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.duplicate_charge_original_payment_id,inputHandler:this.inputHandler,errorText:this.errors.duplicate_charge_original_payment_id})),a("div",{key:"c3142d3b716cb3a191d930a5961d8361e4ef6204",class:"col-12"},a("form-control-textarea",{key:"d6cd675e958cd0685a89812891c599393a309fef",label:"Duplicate Charge Explanation",name:"duplicate_charge_explanation",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.duplicate_charge_explanation,inputHandler:this.inputHandler,errorText:this.errors.duplicate_charge_explanation})),a("div",{key:"e805678d04d01f4763ee663590e89e96be9fcfb4",class:"col-12"},a("form-control-file-v2",{key:"c83c4e91ebba42be4a6e640aa73186f6b461c42f",label:"Duplicate Charge Documentation",name:"duplicate_charge_documentation",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.duplicate_charge_documentation}))))}},y=t({customer_purchase_ip_address:i().nullable()}),_=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={activity_log:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.electronicEvidence)))}componentWillLoad(){this.form=new c(y)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"3b0122e517065a72f2d7b8411d75067db093e284"},a("div",{key:"3f6b7c42a8e6419a4890ae29c41afd98ecdd8f11",class:"row gy-3"},a("div",{key:"f807c043be7f75e7f9befd24cb80fd93f56678d5",class:"col-12"},a("h2",{key:"3c4315f405ab5cead5eebe48975f26e9d93e0d84",class:"h5",part:d},"Electronic Evidence")),a("div",{key:"d84fa8fcc504137031181fdb1974f50d1bc49ef8",class:"col-12"},a("form-control-text",{key:"db3862f6a1ebd5afcf5e1ff2943de3d977e56bbe",label:"Purchase IP Address",name:"customer_purchase_ip_address",helpText:"The IP address used by the customer during the purchase.",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.customer_purchase_ip_address,inputHandler:this.inputHandler,errorText:this.errors.customer_purchase_ip_address})),a("div",{key:"4e882539af79b200962740ae5645df663c82bde9",class:"col-12"},a("form-control-file-v2",{key:"2be5e0f0d1ad5b47d41fabb1f2fe25397e7cc69f",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=>r(e,this.documents),errorText:null===(t=this.documentErrors)||void 0===t?void 0:t.activity_log}))))}},k=t({product_description:i().nullable(),service_date:i().nullable()}),g=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={service_documentation:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.productOrService)))}componentWillLoad(){this.form=new c(k)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"4587b32b05500749ada539467d8eb2409d0180bd"},a("div",{key:"b6696b8324fff8752b227ae3ba41a13ba1ac9063",class:"row gy-3"},a("div",{key:"013ea18c3848964f098d18c13caf3dde4670093a",class:"col-12"},a("h2",{key:"6329d4950881a7856b8b47c9e047c8d25e48aaac",class:"h5",part:d},"Product & Service Details")),a("div",{key:"c30067cffb73b64e57ee0189ef53ef04337a8cf3",class:"col-12"},a("form-control-text",{key:"23060ee222508fe8ef1e4063bd19a95cb4fab288",label:"Product Description",name:"product_description",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.product_description,inputHandler:this.inputHandler,errorText:this.errors.product_description})),a("div",{key:"05902305859cbbfa5572fdc2303ef27c4533cbda",class:"col-12"},a("form-control-date",{key:"cc4ca8d15ab2d04863323fdb73f4f3cde363b61d",label:"Service Date",name:"service_date",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.service_date,inputHandler:this.inputHandler,errorText:this.errors.service_date})),a("div",{key:"a0986336639e8ff22cfa7fd10eb761fa5159e8e7",class:"col-12"},a("form-control-file-v2",{key:"352467c92329bbf22535a38ee4c2a14d9a9110c6",label:"Service Documentation",name:"service_documentation",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.service_documentation}))))}},x=t({refund_policy_disclosure:i().nullable(),refund_refusal_explanation:i().nullable()}),j=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={refund_policy:[],receipt:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.refundPolicy)))}componentWillLoad(){this.form=new c(x)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c;return a("div",{key:"e59738a3425e348d989077da9353aa12293cea2f"},a("div",{key:"32365305802a0584b959e04268796b21ca73fe21",class:"row gy-3"},a("div",{key:"ab46282525e6afb9b4db2f82ea6a716e1bd32649",class:"col-12"},a("h2",{key:"b1c9fbfccf63eee921a734e0e82cc868ddfb6652",class:"h5",part:d},"Refund Policy and Receipt")),a("div",{key:"1287269e5c352018fd289c64e876b985137c36c8",class:"col-12"},a("form-control-textarea",{key:"217292c1ea3a92c3a1cfb68c6d1cbe5b4c532262",label:"Refund Policy Disclosure",name:"refund_policy_disclosure",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.refund_policy_disclosure,inputHandler:this.inputHandler})),a("div",{key:"7b54f191e06110c1c186ae316558d7617bd3fc93",class:"col-12"},a("form-control-textarea",{key:"ec77cd98d1c77c88e74655b430f89bb2e79bb125",label:"Refund Refusal Explanation",name:"refund_refusal_explanation",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.refund_refusal_explanation,inputHandler:this.inputHandler})),a("div",{key:"68971eb2d792f9f733e68b6e9bcab8965cc51412",class:"col-12"},a("form-control-file-v2",{key:"991ef9fa96a95a52caf72b723d854f17d2c76a0c",label:"Upload Refund Policy",name:"refund_policy",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.refund_policy})),a("div",{key:"22528492e08a56f5b72ad11ef754d1a46884093f",class:"col-12"},a("form-control-file-v2",{key:"4ea877eeef562dd232bdf5d1359d54cc4e030365",label:"Upload Receipt",name:"receipt",onChange:e=>r(e,this.documents),errorText:null===(c=this.documentErrors)||void 0===c?void 0:c.receipt}))))}},O=t({shipping_carrier:i().nullable(),shipping_tracking_number:i().nullable(),shipping_date:i().nullable(),shipping_address:i().nullable()}),T=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={shipping_documentation:[]},this.documentList=[],this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.shippingDetails)))}componentWillLoad(){this.form=new c(O)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c,s;return a("div",{key:"66ab4f496a037d4724fcc127803d2fd4c72ad2a8"},a("div",{key:"a650a56e124ecc55aaa383a32e27cad862801d01",class:"row gy-3"},a("div",{key:"aedaacba104b8540eedafcbc8f7c776fa99ab387",class:"col-12"},a("h2",{key:"b4e2dc10ef6cbdab47143f2cc64a484050bfc416",class:"h5",part:d},"Shipping Details")),a("div",{key:"7110551e0ecf98b149f008eb7105235b8d601454",class:"col-12"},a("form-control-text",{key:"2c17294567ff47b181c8d11cfda7651671adac92",label:"Shipping Carrier Name",name:"shipping_carrier",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.shipping_carrier,inputHandler:this.inputHandler,errorText:this.errors.shipping_carrier})),a("div",{key:"031476a2435c80b8ae27fb50303f14797d84a801",class:"col-12"},a("form-control-text",{key:"67441fbba00af48235867763561cf8adf66b9e69",label:"Tracking Number",name:"shipping_tracking_number",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.shipping_tracking_number,inputHandler:this.inputHandler,errorText:this.errors.shipping_tracking_number})),a("div",{key:"1fcc1bf129d3ec577f4f36a2801422044ec0a59e",class:"col-12"},a("form-control-date",{key:"aa0464427d083dceba8e1604e045c707366d6046",label:"Date Shipped",name:"shipping_date",defaultValue:null===(i=this.disputeResponse)||void 0===i?void 0:i.shipping_date,inputHandler:this.inputHandler,errorText:this.errors.shipping_date})),a("div",{key:"f61850943df4c9d6605cde9d86b2e8275ced0af4",class:"col-12"},a("form-control-textarea",{key:"a1d4997810348a93f26a9f4932890ffd911ea062",label:"Shipping Address",name:"shipping_address",defaultValue:null===(c=this.disputeResponse)||void 0===c?void 0:c.shipping_address,inputHandler:this.inputHandler,errorText:this.errors.shipping_address})),a("div",{key:"9dd41ee3436d63e0c89318129e811630e4aad75d",class:"col-12"},a("form-control-file-v2",{key:"fe1879caad49f44f1abd312a3925a20e6bdc11bf",label:"Shipping Documentation",name:"shipping_documentation",onChange:e=>r(e,this.documents),errorText:null===(s=this.documentErrors)||void 0===s?void 0:s.shipping_documentation}))))}};export{f as justifi_additional_statement,h as justifi_cancellation_policy,v as justifi_customer_details,m as justifi_duplicate_charge,_ as justifi_electronic_evidence,g as justifi_product_or_service,j as justifi_refund_policy,T as justifi_shipping_details}
|
|
1
|
+
import{r as e,h as a}from"./p-CV0Pyo1O.js";import{a as t,c as i,F as c}from"./p-DwoT0UoX.js";import{a9 as d}from"./p-CPKMvyV_.js";import"./p-BFTU3MAI.js";const s=t({additional_statement:i().nullable()});var o,l;!function(e){e.disputeReason="dispute_reason",e.productOrService="product_or_service",e.customerDetails="customer_details",e.cancellationPolicy="cancellation_policy",e.refundPolicy="refund_policy",e.duplicateCharge="duplicate_charge",e.electronicEvidence="electronic_evidence",e.shippingDetails="shipping_details",e.additionalStatement="additional_statement"}(o||(o={})),function(e){e.activity_log="activity_log",e.cancellationPolicy="cancellation_policy",e.customerCommunication="customer_communication",e.customerSignature="customer_signature",e.duplicateChargeDocumentation="duplicate_charge_documentation",e.receipt="receipt",e.refundPolicy="refund_policy",e.serviceDocumentation="service_documentation",e.shippingDocumentation="shipping_documentation",e.uncategorizedFile="uncategorized_file"}(l||(l={}));class n{set presignedUrl(e){this._presignedUrl=e}get presignedUrl(){return this._presignedUrl}async getFileString(){const e=new Promise(((e,a)=>{const t=new FileReader;t.onload=a=>{e(a.target.result)},t.onerror=()=>{a(new Error("Error reading file"))},t.readAsArrayBuffer(this._file)}));return await e}constructor(e,a){this._file=e,this.file_name=e.name,this.file_type=e.type,this.dispute_evidence_type=a}}const r=(e,a)=>{const t=e.target,i=t.name,c=t.files;a[i]=[];for(const e of c)a[i].push(new n(e,i))},f=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.acceptedTerms=!1,this.documents={uncategorized_file:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.additionalStatement)))}componentWillLoad(){this.form=new c(s)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"6981b81dee8ead47d8e86c501b82d61aa4c337b9"},a("div",{key:"0bf8ad743eaf5fe2e8c68d79947a4c2303e782f1",class:"row gy-3"},a("div",{key:"bdd3e46477ed7667a73a81d98c62e1121660b820",class:"col-12"},a("h2",{key:"b0b8e093b3c7204526b19fc54f80ea8c681ff22e",class:"h5",part:d},"Additional Evidence")),a("div",{key:"15570a6b33fab873a7fc9faa544c8fb234515f38",class:"col-12"},a("form-control-textarea",{key:"68e08b8e96dbb74c35f1fabbb769aa95a3e0ada9",label:"Is there anything else you would like to say about this dispute?",name:"additional_statement",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.additional_statement,inputHandler:this.inputHandler,errorText:this.errors.additional_statement})),a("div",{key:"f684ffc7e55aac7d0667326c99480b796f2a9cfc",class:"col-12"},a("form-control-file-v2",{key:"8ea248120f9f2ed5fb689a1a25855266dbe561a0",label:"Additional files",name:"uncategorized_file",multiple:!0,helpText:"Upload any additional pieces of evidence that have not already been provided.",onChange:e=>r(e,this.documents),errorText:null===(t=this.documentErrors)||void 0===t?void 0:t.uncategorized_file}))))}},b=t({cancellation_policy_disclosure:i().nullable(),cancellation_rebuttal:i().nullable()}),h=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={cancellation_policy:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.cancellationPolicy)))}componentWillLoad(){this.form=new c(b)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"debb9fe05382d0806038547b61fe3201845db2a1"},a("div",{key:"030d5be9a41dff1954049c6ac33a79024741c43c",class:"row gy-3"},a("div",{key:"d5da527af347d6c29c30f5ed5b5295b9ef693e7f",class:"col-12"},a("h2",{key:"3f8d2da0485bd28220ae9f66db87fab49e86a734",class:"h5",part:d},"Cancellation Policy")),a("div",{key:"d7fa3aacd80ad375ba58d1c86d8cf9d00c4cce6e",class:"col-12"},a("form-control-textarea",{key:"ca14e78ef0dcbad3b2a76cb230c2eb4a7c56f877",label:"Cancellation Policy Disclosure",name:"cancellation_policy_disclosure",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.cancellation_policy_disclosure,inputHandler:this.inputHandler,errorText:this.errors.cancellation_policy_disclosure})),a("div",{key:"e8f10ab0e5e3e9c7a0f90aa13e8680607bb64a3e",class:"col-12"},a("form-control-textarea",{key:"5ca2d11d67301b512756cbc4355939b9433be033",label:"Cancellation Rebuttal",name:"cancellation_rebuttal",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.cancellation_rebuttal,inputHandler:this.inputHandler,errorText:this.errors.cancellation_rebuttal})),a("div",{key:"36b8ef8f62721f220a05b1571bb347641b433b56",class:"col-12"},a("form-control-file-v2",{key:"c04f383cf55abd36b753718c2170d64f97935e7f",label:"Upload Cancellation Policy",name:"cancellation_policy",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.cancellation_policy}))))}},u=t({customer_name:i().nullable(),customer_email_address:i().nullable(),customer_billing_address:i().nullable()}),v=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={customer_signature:[],customer_communication:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.customerDetails)))}componentWillLoad(){this.form=new c(u)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c,s;return a("div",{key:"91e26b2e75fdd29814c58122e5aeae0d4d696032"},a("div",{key:"029a3828b8682fdd10af400dccceff109f866509",class:"row gy-3"},a("div",{key:"71fa3ded5566c5c18c682b8cfdfdcc5ebba2db44",class:"col-12"},a("h2",{key:"95eb1ed9da9cd955fa9c4c7a83368ac3c3378d5b",class:"h5",part:d},"Customer Details")),a("div",{key:"9450f8bd033efc7d48d62ce343b8b43833887f63",class:"col-12"},a("form-control-text",{key:"5690f7d9a46e2d58bdc24af0aab3798664f21745",label:"Full Name",name:"customer_name",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.customer_name,inputHandler:this.inputHandler,errorText:this.errors.customer_name})),a("div",{key:"a12aa4cb464e5df7f045302b08801adca70005f6",class:"col-12"},a("form-control-text",{key:"39cdb0b558b87a7eae0528ea40b9ca4175b4cf7c",label:"Email",name:"customer_email_address",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.customer_email_address,inputHandler:this.inputHandler,errorText:this.errors.customer_email_address})),a("div",{key:"13604ae63374c6fa1805d8c4be0ba55fc166a924",class:"col-12"},a("form-control-textarea",{key:"60a110f277175418c2ec0938600ad4b04f885ee3",label:"Billing Address",name:"customer_billing_address",defaultValue:null===(i=this.disputeResponse)||void 0===i?void 0:i.customer_billing_address,inputHandler:this.inputHandler,errorText:this.errors.customer_billing_address})),a("div",{key:"abaa8888fff9952b3433c49e82a7150d6cd971dd",class:"col-12"},a("form-control-file-v2",{key:"e2e79edd8eaafd93cfdb91fd6a3b77645c1d28f2",label:"Customer Signature",name:"customer_signature",onChange:e=>r(e,this.documents),errorText:null===(c=this.documentErrors)||void 0===c?void 0:c.customer_signature})),a("div",{key:"04bfc4bf3e735cccf70fb83d2e0882662b389727",class:"col-12"},a("form-control-file-v2",{key:"476d3df1f072afdf95a6ad83e8b94b5946d66186",label:"Customer Communication",name:"customer_communication",onChange:e=>r(e,this.documents),errorText:null===(s=this.documentErrors)||void 0===s?void 0:s.customer_communication}))))}},p=t({duplicate_charge_original_payment_id:i().nullable(),duplicate_charge_explanation:i().nullable()}),m=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={duplicate_charge_documentation:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.duplicateCharge)))}componentWillLoad(){this.form=new c(p)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"4bd4aad3fbdaac994ee97aa1421a6f380657cfee"},a("div",{key:"53548ff2b4bb09c2b1d078b2657127802422558a",class:"row gy-3"},a("div",{key:"25658729932e2eb1d0706bd83106a92976e09b91",class:"col-12"},a("h2",{key:"885bf37ba0a013397d4fef68683b24e9e8e1bed6",class:"h5",part:d},"Duplicate Charge")),a("div",{key:"2f38e6451c2d982900729639994977b8ef8f8c04",class:"col-12"},a("form-control-text",{key:"8cf20ffcd748bee860c1c8a52326a265bbe32696",label:"Original Payment ID",name:"duplicate_charge_original_payment_id",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.duplicate_charge_original_payment_id,inputHandler:this.inputHandler,errorText:this.errors.duplicate_charge_original_payment_id})),a("div",{key:"e61d85188051830d2e674cfc39dab73ada597c66",class:"col-12"},a("form-control-textarea",{key:"762f300d71a99a31030ed052299129ae8457ad4c",label:"Duplicate Charge Explanation",name:"duplicate_charge_explanation",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.duplicate_charge_explanation,inputHandler:this.inputHandler,errorText:this.errors.duplicate_charge_explanation})),a("div",{key:"c5a1d7368132ba063d080ec7d071bd9131381ad2",class:"col-12"},a("form-control-file-v2",{key:"3bd9928e8a212e1665d446cb31ae9e02d6645437",label:"Duplicate Charge Documentation",name:"duplicate_charge_documentation",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.duplicate_charge_documentation}))))}},y=t({customer_purchase_ip_address:i().nullable()}),_=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={activity_log:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.electronicEvidence)))}componentWillLoad(){this.form=new c(y)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t;return a("div",{key:"00fa5deacbf19befd07d7d8764db8e3474377d5a"},a("div",{key:"be3d0b6775e78352bdaf4d0e739da61444fae572",class:"row gy-3"},a("div",{key:"e55a58628d1baad34be38d5d21598c6a372dd3c3",class:"col-12"},a("h2",{key:"463ec945a9cc0e46350b13c774b634ef25bde2e9",class:"h5",part:d},"Electronic Evidence")),a("div",{key:"5576a4d1b32a0c2d2d4341bf591721aed6fcf6a4",class:"col-12"},a("form-control-text",{key:"9f64b68724ba8b2bdf435b02077fd362f8fe1ab1",label:"Purchase IP Address",name:"customer_purchase_ip_address",helpText:"The IP address used by the customer during the purchase.",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.customer_purchase_ip_address,inputHandler:this.inputHandler,errorText:this.errors.customer_purchase_ip_address})),a("div",{key:"e5b2635ede15e41e9e686ab338448d3c2fdf8166",class:"col-12"},a("form-control-file-v2",{key:"5137a992c79a1ccfcb8f3a114d1a12823b597dd2",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=>r(e,this.documents),errorText:null===(t=this.documentErrors)||void 0===t?void 0:t.activity_log}))))}},k=t({product_description:i().nullable(),service_date:i().nullable()}),g=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={service_documentation:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.productOrService)))}componentWillLoad(){this.form=new c(k)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i;return a("div",{key:"d0b168de486d51cd6141f2d80441b7e5f4fac5cc"},a("div",{key:"bea13ed13614f43b801be60c46673fb98ff09cc8",class:"row gy-3"},a("div",{key:"1163ad6cff89e6fb29b16622e1aed6e55a5ee435",class:"col-12"},a("h2",{key:"6f4fc9439e0a95d6e5992d7655f1c6e8f1b2b7bd",class:"h5",part:d},"Product & Service Details")),a("div",{key:"3111413dc874eaa80e21ec6838d8c0896f38ce2e",class:"col-12"},a("form-control-text",{key:"3a18e08d653c67912f904337e37d786588e50217",label:"Product Description",name:"product_description",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.product_description,inputHandler:this.inputHandler,errorText:this.errors.product_description})),a("div",{key:"ea2202cf65741022ff7363cc325948944a18afb2",class:"col-12"},a("form-control-date",{key:"c8ceda1e61e9dbf7496173ec30e0c8f6d1b48f91",label:"Service Date",name:"service_date",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.service_date,inputHandler:this.inputHandler,errorText:this.errors.service_date})),a("div",{key:"fb3e555b7781977e80541d1b2d6e7bd10b4ec087",class:"col-12"},a("form-control-file-v2",{key:"2b459a198427db073a6d5e2a1ed5141cc6fc2d20",label:"Service Documentation",name:"service_documentation",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.service_documentation}))))}},x=t({refund_policy_disclosure:i().nullable(),refund_refusal_explanation:i().nullable()}),j=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={refund_policy:[],receipt:[]},this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.refundPolicy)))}componentWillLoad(){this.form=new c(x)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c;return a("div",{key:"f04cacfa7617a6430a0e4d264248dfa1606ef988"},a("div",{key:"aa3b2d3fcd2263e6d5033b68b9524250bb51d7fa",class:"row gy-3"},a("div",{key:"e2154a203be02f1f6ed60666799db30f6b2e10fe",class:"col-12"},a("h2",{key:"2856f16f60d6310c7dd64c86de1ebf7e01fac1fc",class:"h5",part:d},"Refund Policy and Receipt")),a("div",{key:"94187589fdeb685fcc99e5ea2c6868ceedfd5ed2",class:"col-12"},a("form-control-textarea",{key:"fbaa1a08ab910c4ac31a53bd1385a05abcff0bb5",label:"Refund Policy Disclosure",name:"refund_policy_disclosure",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.refund_policy_disclosure,inputHandler:this.inputHandler})),a("div",{key:"45e893fa517222ac88333b306ae28fc1eb09daa0",class:"col-12"},a("form-control-textarea",{key:"646a2b77b2e896523a5e3ec3da07e020c5a72c32",label:"Refund Refusal Explanation",name:"refund_refusal_explanation",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.refund_refusal_explanation,inputHandler:this.inputHandler})),a("div",{key:"3f4369cb2f2aac9ede8f386b338c9637ab4f5b8f",class:"col-12"},a("form-control-file-v2",{key:"867c6f97af1710b6119984bd1f87f3a5eb358dc6",label:"Upload Refund Policy",name:"refund_policy",onChange:e=>r(e,this.documents),errorText:null===(i=this.documentErrors)||void 0===i?void 0:i.refund_policy})),a("div",{key:"066f2d66a0dd5be5c47d44620c295b952a4755cd",class:"col-12"},a("form-control-file-v2",{key:"2036cbddd0ebf663401154120b5c1627fdc93df3",label:"Upload Receipt",name:"receipt",onChange:e=>r(e,this.documents),errorText:null===(c=this.documentErrors)||void 0===c?void 0:c.receipt}))))}},O=t({shipping_carrier:i().nullable(),shipping_tracking_number:i().nullable(),shipping_date:i().nullable(),shipping_address:i().nullable()}),T=class{constructor(a){e(this,a),this.documentErrors={},this.errors={},this.documents={shipping_documentation:[]},this.documentList=[],this.inputHandler=(e,a)=>{this.form.setValues(Object.assign(Object.assign({},this.form.values.getValue()),{[e]:a}))}}async validateAndSubmit(e){const a=Object.values(this.documents).flat();this.form.validateAndSubmit((t=>e(t,a,o.shippingDetails)))}componentWillLoad(){this.form=new c(O)}componentDidLoad(){this.form.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,c,s;return a("div",{key:"3b414c89e4d310b598685ef4e0595361edbe4783"},a("div",{key:"8f630c3bff6432da2184524865d8f322c53c3685",class:"row gy-3"},a("div",{key:"116988f4f62d30c4b5312604b3cc3d1df831a5bd",class:"col-12"},a("h2",{key:"f79794380f6b9ff7e964bea19a1898f9f190f0ff",class:"h5",part:d},"Shipping Details")),a("div",{key:"b7448564e27dd9237f61df0e7c690c5705f97941",class:"col-12"},a("form-control-text",{key:"d03af28966dec1ba0ba16f8adf34ee4aae7a077e",label:"Shipping Carrier Name",name:"shipping_carrier",defaultValue:null===(e=this.disputeResponse)||void 0===e?void 0:e.shipping_carrier,inputHandler:this.inputHandler,errorText:this.errors.shipping_carrier})),a("div",{key:"5632f97cacae9d17864e14a41789ead3b39f2ca0",class:"col-12"},a("form-control-text",{key:"9f6ff174dfcedb7a7f74a9e75a46164fcebe6095",label:"Tracking Number",name:"shipping_tracking_number",defaultValue:null===(t=this.disputeResponse)||void 0===t?void 0:t.shipping_tracking_number,inputHandler:this.inputHandler,errorText:this.errors.shipping_tracking_number})),a("div",{key:"e7fb2b0187e8e4ea8fb30fd316291465b41f4a9d",class:"col-12"},a("form-control-date",{key:"06f39b93c95cbe6b4897585dd9ab06ad636dd933",label:"Date Shipped",name:"shipping_date",defaultValue:null===(i=this.disputeResponse)||void 0===i?void 0:i.shipping_date,inputHandler:this.inputHandler,errorText:this.errors.shipping_date})),a("div",{key:"1d0a48b701a12129ebfa39b7482145b32006d854",class:"col-12"},a("form-control-textarea",{key:"f98b3cc3ef9423c31e3dc195a4b9896fbc3da1c9",label:"Shipping Address",name:"shipping_address",defaultValue:null===(c=this.disputeResponse)||void 0===c?void 0:c.shipping_address,inputHandler:this.inputHandler,errorText:this.errors.shipping_address})),a("div",{key:"82379a765e791a5b373a3c01b8fec6fe05ffa2d5",class:"col-12"},a("form-control-file-v2",{key:"cff1198af3f29e837b48b46eed5f385da9994a66",label:"Shipping Documentation",name:"shipping_documentation",onChange:e=>r(e,this.documents),errorText:null===(s=this.documentErrors)||void 0===s?void 0:s.shipping_documentation}))))}};export{f as additional_statement,h as cancellation_policy,v as customer_details,m as duplicate_charge,_ as electronic_evidence,g as product_or_service,j as refund_policy,T as shipping_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t,r as e,c as s}from"./p-CV0Pyo1O.js";import"./p-DVJaoI_m.js";import"./p-HXpYMWUU.js";import{m as a,C as i,b as o}from"./p-CSgcCWLS.js";import{p as r}from"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import{g as c,a as h}from"./p-Cg_3KsGO.js";import{c as n}from"./p-DHFQtPCq.js";import{J as p}from"./p-DbOUuBHs.js";import{C as d}from"./p-DZAMzLxa.js";import{m as u,S as m}from"./p-Eb1f86_V.js";import{S as f}from"./p-BqNNwq6C.js";import{T as b,a as l,b as y,c as g,d as k,e as C,f as v,g as j,h as _,i as w,j as S,k as T,l as P}from"./p-BICxxa69.js";import{T as O}from"./p-CZfYo5-1.js";import{d as x,b as A}from"./p-BRnBHsdq.js";import{B as I,a as D}from"./p-CHw7tICr.js";import{a6 as E,a7 as H}from"./p-CPKMvyV_.js";import{o as B,g as q}from"./p-CpGEMRkH.js";import"./p-D8GTwl9v.js";import"./p-CZa-hHhJ.js";import"./p-CYQvLgSs.js";import"./p-CqiVXthx.js";const G={created_at:()=>t("th",{part:E,scope:"col",title:"The date each checkout occurred"},"Processed On"),payment_amount:()=>t("th",{part:E,scope:"col",title:"The dollar amount of each checkout"},"Payment Amount"),payment_description:()=>t("th",{part:E,scope:"col",title:"The description of each checkout"},"Payment Description"),sub_account_name:()=>t("th",{part:E,scope:"col",title:"The sub account associated with the checkout"},"Sub Account"),payment_mode:()=>t("th",{part:E,scope:"col",title:"The payment mode of each checkout"},"Payment Mode"),status:()=>t("th",{part:E,scope:"col",title:"The current status of each checkout"},"Status")},L={created_at:(e,s)=>t("td",{part:H(s)},t("div",{class:"fw-bold"},A(e.created_at)),t("div",{class:"fw-bold"},x(e.created_at))),payment_amount:(e,s)=>t("td",{part:H(s)},e.formattedPaymentAmount(e.payment_amount)),payment_description:(e,s)=>t("td",{part:H(s)},e.payment_description),sub_account_name:(e,s)=>t("td",{part:H(s)},e.sub_account_name),payment_mode:(e,s)=>t("td",{part:H(s)},e.payment_mode),status:(e,s)=>t("td",{part:H(s)},t(D,Object.assign({},{created:{variant:I.PRIMARY,title:"The checkout has been created",text:"Created"},completed:{variant:I.SUCCESS,title:"The checkout has been completed",text:"Completed"},attempted:{variant:I.SECONDARY,title:"The checkout has been attempted",text:"Attempted"},expired:{variant:I.DANGER,title:"The checkout has expired",text:"Expired"}}[e.status])))},M=class{constructor(t){e(this,t),this.clickEvent=s(this,"click-event",7),this.errorEvent=s(this,"error-event",7),this.columns="created_at,payment_amount,payment_description,payment_mode,status",this.checkouts=[],this.subAccounts=[],this.loading=!0,this.paging=r,this.pagingParams={},this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:O.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:O.next})},this.rowClickHandler=t=>{const e=t.target.closest("tr").dataset.rowEntityId;if(!e)return;const s=this.checkouts.find((t=>t.id===e));this.clickEvent.emit({name:O.row,data:s})}}componentWillLoad(){n(),this.analytics=new p(this),this.checkoutsTable=new b(this.checkouts,this.columns,G,L),this.initializeGetData(),this.getCheckouts&&this.fetchData(),B("set",(()=>{this.pagingParams={}})),B("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}authPropChanged(){this.initializeGetData(),this.getCheckouts&&this.fetchData()}pagingOrColumnsChanged(){this.getCheckouts&&this.fetchData()}initializeGetData(){this.initializeGetCheckouts(),this.initializeGetSubAccounts()}initializeGetCheckouts(){const t=this.subAccountId||this.accountId;t&&this.authToken?this.getCheckouts=(({accountId:t,authToken:e,service:s})=>async({params:o,onSuccess:r,onError:n})=>{var p,d;try{const u=await s.fetchCheckouts(t,e,o);if(u.error)return n({error:h(u.error),code:c(null===(d=u.error)||void 0===d?void 0:d.code),severity:i.ERROR});{const t=Object.assign({},u.page_info);r({checkouts:(null===(p=u.data)||void 0===p?void 0:p.map((t=>new a(t))))||[],pagingInfo:t})}}catch(t){const e=c(null==t?void 0:t.code);return n({error:t.message||t,code:e,severity:i.ERROR})}})({accountId:t,authToken:this.authToken,service:new d}):(this.errorMessage="Account ID/Sub Account ID and Auth Token are required",this.errorEvent.emit({errorCode:o.MISSING_PROPS,message:this.errorMessage,severity:i.ERROR}))}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=u({primaryAccountId:this.accountId,authToken:this.authToken,service:new m}))}fetchData(){this.getCheckouts&&(this.loading=!0,this.getCheckouts({params:this.checkoutParams,onSuccess:async({checkouts:t,pagingInfo:e})=>{this.checkouts=t,this.paging=e,this.checkoutsTable.collectionData=this.checkouts,this.checkoutsTable.columnKeys.includes("sub_account_name")?await this.fetchSubAccounts():this.loading=!1},onError:({error:t,code:e,severity:s})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:e,message:t,severity:s}),this.loading=!1}}))}async fetchSubAccounts(){this.getSubAccounts?this.getSubAccounts({params:this.subAccountParams,onSuccess:({subAccounts:t})=>{this.subAccounts=t,this.checkouts=this.checkouts.map((t=>{var e;return t.sub_account_name=null===(e=this.subAccounts.find((e=>e.id===t.account_id)))||void 0===e?void 0:e.name,t})),this.loading=!1},onError:({error:t,code:e,severity:s})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:e,message:t,severity:s}),this.loading=!1}}):this.loading=!1}get checkoutParams(){const t=q();return Object.assign(Object.assign({},t),this.pagingParams)}get subAccountParams(){const t=this.checkouts.map((t=>t.account_id));return{sub_account_id:[...new Set(t)].join(",")}}get entityId(){return this.checkouts.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.checkoutsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return t(f,{key:"2f9efac8723333029415ef131516946912bb313c"},t(l,{key:"024c7a532533721acda9740a0888b1c15fa624fe"},t(y,{key:"06bf1c6db731eb5857b08615222ca47a85ffc4a8"},t(g,{key:"0754f9cd87a3b32a5368e7fb7538071cf6be0505"},t(k,{key:"5db4c5beea0e6e9afc29e16b5789a32ad94509dd"},this.checkoutsTable.columnData.map((t=>t)))),t(C,{key:"9140294035b04b549578d74374271f8a9fd78162"},t(v,{key:"bf495d00b9bc4ee28b67c8f1b3258306f9202142",columnSpan:this.checkoutsTable.columnKeys.length,isLoading:this.loading}),t(j,{key:"92f8a1245cc022fa3b254bb1fe8d659f75c62923",isEmpty:this.showEmptyState,columnSpan:this.checkoutsTable.columnKeys.length}),t(_,{key:"2e6ab100026afb29f199dd33e52de5ae77e6576c",columnSpan:this.checkoutsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.checkoutsTable.rowData.map(((e,s)=>t(w,{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler},e)))),this.paging&&t(S,{key:"3a1b55572eb0fc2ffcef1a39f6bfae5693056752"},t(T,{key:"f61a3cc86fda3ec95075381403916f5fb1c46ca6"},t(P,{key:"7d937a0d228062f42f49dca5bdb436d54354563e",colSpan:this.checkoutsTable.columnData.length},t("pagination-menu",{key:"05454876b7faeeb73fb8f896a2425e5f9db12ee3",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})})))))))}static get watchers(){return{accountId:["authPropChanged"],authToken:["authPropChanged"],subAccountId:["authPropChanged"],pagingParams:["pagingOrColumnsChanged"],columns:["pagingOrColumnsChanged"]}}};export{M as justifi_checkouts_list}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as l,h as i,H as t}from"./p-CV0Pyo1O.js";import{c as e,D as s}from"./p-
|
|
1
|
+
import{r as l,h as i,H as t}from"./p-CV0Pyo1O.js";import{c as e,D as s}from"./p-Cu7hgXL1.js";import{m as o,s as d,n as v}from"./p-BRnBHsdq.js";import"./p-CPKMvyV_.js";import"./p-HXpYMWUU.js";const u=class{constructor(i){l(this,i)}render(){return!this.additionalQuestions||o(this.additionalQuestions)?null:i("div",null,i(s,{sectionTitle:"Additional Questions"}),i("div",{class:"d-flex flex-column gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Business Revenue",value:this.additionalQuestions.business_revenue}),i(e,{title:"Business Payment Volume",value:this.additionalQuestions.business_payment_volume})))))}},a=class{constructor(i){l(this,i)}render(){return this.business?i("div",null,i(s,{sectionTitle:"Business Core Info Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Legal Name",value:this.business.legal_name}),i(e,{title:"Doing Business As (DBA)",value:this.business.doing_business_as}),i(e,{title:"Business Classification",value:d(this.business.classification)}),i(e,{title:"Industry",value:this.business.industry})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Tax ID",value:this.business.tax_id}),i(e,{title:"Website URL",value:this.business.website_url}),i(e,{title:"Email Address",value:this.business.email}),i(e,{title:"Phone Number",value:this.business.phone}))))):null}},n=class{constructor(i){l(this,i)}render(){var l,t,d,v,u,a,n;return!this.legalAddress||o(this.legalAddress)?null:i("div",null,i(s,{sectionTitle:"Business Legal Address Details"}),i("div",{class:"d-table gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Country",value:null===(l=this.legalAddress)||void 0===l?void 0:l.country}),i(e,{title:"Legal Address",value:null===(t=this.legalAddress)||void 0===t?void 0:t.line1}),i(e,{title:"Address Line 2",value:null===(d=this.legalAddress)||void 0===d?void 0:d.line2})),i("div",{class:"col-12 col-md-6"},i(e,{title:"City",value:null===(v=this.legalAddress)||void 0===v?void 0:v.city}),i(e,{title:"State",value:null===(u=this.legalAddress)||void 0===u?void 0:u.state}),i(e,{title:"Postal Code",value:null===(n=null===(a=this.legalAddress)||void 0===a?void 0:a.postal_code)||void 0===n?void 0:n.toString()})))))}},r=class{constructor(i){l(this,i)}render(){var l;return(null===(l=null==this?void 0:this.owners)||void 0===l?void 0:l.length)?i(t,null,!!(null==this?void 0:this.owners.length)&&this.owners.map((l=>{var t,o,d,u,a;return[i(s,{sectionTitle:`Owner ${null==l?void 0:l.name}'s Details`}),i("div",{class:"d-flex flex-column gap-2 w-100 mt-3"},i("div",{class:"col-md-6"},i(e,{title:"Name",value:null==l?void 0:l.name}),i(e,{title:"Title",value:null==l?void 0:l.title}),i(e,{title:"Email",value:null==l?void 0:l.email}),i(e,{title:"Phone",value:null==l?void 0:l.phone}),i(e,{title:"Date of Birth",value:v(new Date(Number(null==l?void 0:l.dob_day),Number(null==l?void 0:l.dob_month),Number(null==l?void 0:l.dob_year)))}),i(e,{title:"Identification Number",value:`********${null==l?void 0:l.ssn_last4}`}),i(e,{title:"Line 1",value:null===(t=null==l?void 0:l.address)||void 0===t?void 0:t.line1}),i(e,{title:"Line 2",value:null===(o=null==l?void 0:l.address)||void 0===o?void 0:o.line2}),i(e,{title:"City",value:null===(d=null==l?void 0:l.address)||void 0===d?void 0:d.city}),i(e,{title:"State",value:null===(u=null==l?void 0:l.address)||void 0===u?void 0:u.state}),i(e,{title:"Zip",value:null===(a=null==l?void 0:l.address)||void 0===a?void 0:a.postal_code})))]}))):null}},c=class{constructor(i){l(this,i)}render(){var l,t,d,u,a,n,r,c,h,m,p,f,g,w;return!this.representative||o(this.representative)?null:i("div",null,i(s,{sectionTitle:"Representative Details"}),i("div",{class:"d-flex flex-column gap-2 w-100 mt-3"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Name",value:null===(l=this.representative)||void 0===l?void 0:l.name}),i(e,{title:"ID",value:null===(t=this.representative)||void 0===t?void 0:t.id}),i(e,{title:"Address",value:null===(u=null===(d=this.representative)||void 0===d?void 0:d.address)||void 0===u?void 0:u.line1}),i(e,{title:"Created At",value:(null===(a=this.representative)||void 0===a?void 0:a.created_at)&&v(null===(n=this.representative)||void 0===n?void 0:n.created_at)})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Title",value:null===(r=this.representative)||void 0===r?void 0:r.title}),i(e,{title:"Is Owner?",value:null===(c=this.representative)||void 0===c?void 0:c.is_owner.toString()}),i(e,{title:"Date Of Birth",value:this.representative&&v(new Date(Number(null===(h=this.representative)||void 0===h?void 0:h.dob_year),Number(null===(m=this.representative)||void 0===m?void 0:m.dob_month)-1,Number(null===(p=this.representative)||void 0===p?void 0:p.dob_day)))}),i(e,{title:"Email",value:null===(f=this.representative)||void 0===f?void 0:f.email}),i(e,{title:"Phone",value:null===(g=this.representative)||void 0===g?void 0:g.phone}),i(e,{title:"Updated At",value:this.representative&&v(null===(w=this.representative)||void 0===w?void 0:w.updated_at)})))))}};export{u as additional_questions_details,a as core_info_details,n as legal_address_details,r as owner_details,c as representative_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as i}from"./p-CV0Pyo1O.js";import{J as o}from"./p-DbOUuBHs.js";import{c as r}from"./p-DHFQtPCq.js";import{w as t}from"./p-DVJaoI_m.js";import{S as a}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import"./p-CZa-hHhJ.js";import"./p-CYQvLgSs.js";import"./p-BRnBHsdq.js";import"./p-HXpYMWUU.js";import"./p-CSgcCWLS.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import"./p-D8GTwl9v.js";const p=class{constructor(i){s(this,i)}async componentWillLoad(){await t(),r(),this.analytics=new o(this)}disconnectedCallback(){var s;null===(s=this.analytics)||void 0===s||s.cleanup()}async getValues(){var s,i;return null!==(i=null===(s=this.bankAccountBillingFormSimpleRef)||void 0===s?void 0:s.getValues())&&void 0!==i?i:{}}async validate(){var s,i;return null!==(i=null===(s=this.bankAccountBillingFormSimpleRef)||void 0===s?void 0:s.validate())&&void 0!==i?i:{isValid:!1,errors:{}}}render(){return i(a,{key:"1ed5d8cfc7f594e00f01fc765c3e04acd80b90a9"},i("bank-account-billing-form-simple",{key:"2058a974df2f57da2c731d2d5a78799ac5de0e41",legend:this.legend,ref:s=>this.bankAccountBillingFormSimpleRef=s}))}};export{p as justifi_bank_account_billing_form_simple}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t}from"./p-CV0Pyo1O.js";import{B as a}from"./p-CHo7TfsM.js";import{a4 as s,a5 as r}from"./p-CPKMvyV_.js";const o=e=>{const t=["after_cursor","before_cursor"];return!!Object.keys(e).filter((e=>!t.includes(e))).length},d=class{constructor(t){e(this,t),this.showClearButton=!1}watchParamsHandler(e){this.showClearButton=o(e)}show(){this.menu.classList.add("show")}hide(){this.menu.classList.remove("show")}componentWillLoad(){this.showClearButton=o(this.params)}render(){return t("div",{key:"558098c56df448d5d7e46e40e8d2d9226c77e10a",class:"d-flex gap-2"},t("div",{key:"60a8b41ec1467700ee2151367a51e7b7b79d7f40",class:"dropdown pb-3"},t("button",{key:"abbdc79ae0b11244b0a8824b389156ca34a00e0c",type:"button dropdown-toggle",ref:e=>this.anchorButton=e,class:"btn btn-primary dropdown-toggle",part:s,"data-test-id":"open-filters-button","data-bs-toggle":"dropdown"},"Filters"),t("custom-popper",{key:"3fb6cac1e6b06e2846b07182f76a58c88832005a",offset:[20,10],strategy:"fixed",anchorRef:this.anchorButton,trigger:"click"},t("form",{key:"e70d27c540efdd6c96d5734e1470f0673e29aaee",class:"dropdown-menu",part:r,"data-test-id":"filter-menu",ref:e=>this.menu=e,onSubmit:e=>e.preventDefault()},t("slot",{key:"a229adc49fc6c7e754c8bb509d537e17381c927d"})))),t("div",{key:"bb3359efbf4a0018f9e9431cb773b6b43d9b736e"},t(a,{key:"8415c1939e05e1a282eff4fc1b6eb96d2d21fde4",variant:"secondary",onClick:()=>this.clearParams(),hidden:!this.showClearButton,"data-test-id":"clear-filters-button"},"Clear Filters")))}static get watchers(){return{params:["watchParamsHandler"]}}};export{d as table_filters_menu}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-CV0Pyo1O.js";import{t as r}from"./p-
|
|
1
|
+
import{r as e,h as a}from"./p-CV0Pyo1O.js";import{t as r}from"./p-CPKMvyV_.js";const s=class{constructor(a){e(this,a)}render(){return a("div",{key:"5e9a8a093224b9fba7e1bfe06e2fe7f6bd8d7de4"},a("label",{key:"a2a061298482f337999184c670be06e8414e41e8",class:"form-label",part:r},this.label),a("div",{key:"aad70e49dd889c6276ec0745d7bff8ae2fc6f53a",part:r},this.value||""))}};export{s as bank_account_read_only_value}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as s,H as a,g as i}from"./p-CV0Pyo1O.js";import{F as r}from"./p-Ce_W43gc.js";import{a3 as o,q as h,v as l,u as c,w as n,x as f}from"./p-CPKMvyV_.js";const d=class{constructor(s){t(this,s),this.formControlInput=e(this,"formControlInput",7),this.formControlBlur=e(this,"formControlBlur",7),this.errorText="",this.inputHandler=()=>{},this.disabled=!1}render(){return s(a,{key:"5df12f5dc87f1c7d5b18676a9d4a7b257719b2fa",exportparts:"label,input,input-invalid"},s("div",{key:"57b02e11bd44c405635a2f6253637b288bafdd41",class:"form-group d-flex flex-column"},s("div",{key:"d62f4ae4183e33af3105d76d0180ebe0f54983e5",class:"d-flex align-items-start gap-2"},s("label",{key:"82d8b58d0147f4fc6302c3852a44a73d9fcf34e0",part:"label",class:"form-label",htmlFor:this.name},this.label),s("form-control-tooltip",{key:"ec4e21a9d4105b751b099378ce49c55a95ef36b2",helpText:this.helpText})),s("input",{key:"332527088f01b11bb06af38c73f39d3040d925b7",type:"file",name:this.name,part:`input ${this.errorText?"input-invalid ":""}${this.disabled?"input-disabled":""}`,class:this.errorText?"form-control is-invalid":"form-control",multiple:this.multiple,disabled:this.disabled,onBlur:()=>this.formControlBlur.emit(),onChange:()=>this.errorText=""}),s(r,{key:"d7caedcf4b1263e3c133310312374bc6d61b82c2",errorText:this.errorText,name:this.name})))}get el(){return i(this)}},b=class{constructor(s){t(this,s),this.formControlInput=e(this,"formControlInput",7),this.formControlBlur=e(this,"formControlBlur",7),this.isFocused=!1,this.helpText="",this.errorText="",this.inputHandler=()=>{},this.disabled=!1,this.handleFormControlInput=t=>{const e=t.target,s=e.getAttribute("name");this.inputHandler(s,e.value),this.formControlInput.emit({name:s,value:e.value})},this.updateInput=t=>{const e=this.el.querySelector("textarea");e&&(e.value=t||"")}}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}get part(){return this.isFocused&&this.errorText?o:this.errorText?h:this.isFocused?l:this.disabled?c:n}render(){return s(a,{key:"1e73c7219f321b73bc6001cde222b33ba79a7338"},s("div",{key:"dc682efd7a21e80ed1936cf69a186d3fab258de8",class:"form-group d-flex flex-column"},s("label",{key:"526bcc6604b03b79737e4211c6d7a282cbd71979",part:f,class:"form-label",htmlFor:this.name},this.label),s("textarea",{key:"4dab395c565c7180631042f99ac3b91382df4ca1",id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,onKeyDown:this.keyDownHandler,onPaste:this.keyDownHandler,maxLength:this.maxLength,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",disabled:this.disabled}),s("form-control-help-text",{key:"dc851b2b46a3be03c65121a7e1f957f6c6d20c1b",helpText:this.helpText,name:this.name}),s("form-control-error-text",{key:"3f09a6b275b4218aff7588f90a3cdb0de02ae8bb",errorText:this.errorText,name:this.name})))}get el(){return i(this)}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{d as form_control_file_v2,b as form_control_textarea}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as e,r as t}from"./p-CV0Pyo1O.js";import{S as i}from"./p-uZ5KAseb.js";import{w as a,c as s}from"./p-DVJaoI_m.js";import{e as c}from"./p-BRnBHsdq.js";import{c as d}from"./p-DHFQtPCq.js";import"./p-CPKMvyV_.js";import"./p-D8GTwl9v.js";import"./p-HXpYMWUU.js";import"./p-CZa-hHhJ.js";const r=t=>{const{isReady:a}=t;return a?null:e("div",{class:"container-fluid p-0"},e("div",{class:"row mb-3"},e("div",{class:"col-12 align-content-end"},e(i,{height:"18px",width:"120px"}),e(i,{height:"36px"}))),e("div",{class:"row"},e("div",{class:"col-12 align-content-end"},e(i,{height:"18px",width:"110px"}),e(i,{height:"36px"}))))},o=class{constructor(e){t(this,e),this.isReady=!1}async componentWillLoad(){await a(),this.iframeOrigin=s.iframeOrigin,this.tabId=c(),d()}componentDidRender(){Promise.all([this.accountNumberIframeElement,this.routingNumberIframeElement].map((e=>new Promise((t=>{e.addEventListener("iframeLoaded",(()=>{t()}))}))))).then((()=>{this.isReady=!0}))}async validate(){const e=await this.accountNumberIframeElement.validate(),t=await this.routingNumberIframeElement.validate();return e&&t}async tokenize({clientId:e,paymentMethodMetadata:t,account:i}){return await this.accountNumberIframeElement.tokenize(e,t,i)}render(){return e("div",{key:"85e116539bb4721484d9877706ff93de1a68ec59"},e(r,{key:"b12a13d02b004e2957a55eb00fb38178dc283a92",isReady:this.isReady}),e("hidden-input",{key:"657ed7946158788e9291906ec0966eb3bd3c544c"}),e("div",{key:"321fddef9af616686d525af94dc4a65b5a4c18e6",class:"container-fluid p-0",style:{opacity:this.isReady?"1":"0",height:this.isReady?"auto":"0"}},e("div",{key:"cee2dcc5bf8032ca95dc6b46e6a2bb47b371986b",class:"row mb-3"},e("iframe-input",{key:"50dfad1fc1eb41a87f2964e80d39036da1fc89ce",inputId:"accountNumber",ref:e=>this.accountNumberIframeElement=e,label:"Account Number",iframeOrigin:`${this.iframeOrigin}/v2/accountNumber?tabId=${this.tabId}`})),e("div",{key:"bd47ac6ff7c687ce9eb7e6ea2a66628392f73cdc",class:"row"},e("iframe-input",{key:"bbe98adda61bc72925e77714139b604d2959e156",inputId:"routingNumber",ref:e=>this.routingNumberIframeElement=e,label:"Routing Number",iframeOrigin:`${this.iframeOrigin}/v2/routingNumber?tabId=${this.tabId}`}))))}};export{o as bank_account_form}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as s}from"./p-CV0Pyo1O.js";import{J as o}from"./p-DbOUuBHs.js";import{c as r}from"./p-DHFQtPCq.js";import{w as a}from"./p-DVJaoI_m.js";import{S as p}from"./p-BqNNwq6C.js";import"./p-CZfYo5-1.js";import"./p-CZa-hHhJ.js";import"./p-CYQvLgSs.js";import"./p-BRnBHsdq.js";import"./p-HXpYMWUU.js";import"./p-CSgcCWLS.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import"./p-D8GTwl9v.js";const i=class{constructor(s){t(this,s)}async componentWillLoad(){await a(),r(),this.analytics=new o(this)}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}async validate(){return this.cardFormElement.validate()}async tokenize({clientId:t,paymentMethodMetadata:s,account:o}){return this.cardFormElement.tokenize({clientId:t,paymentMethodMetadata:s,account:o})}render(){return s(p,{key:"c571f41c79f46143bbee7063a05f8b973b7732d0"},s("card-form",{key:"a70c853efeddcedd71343208ab29d89231b6c8fa",ref:t=>this.cardFormElement=t}))}};export{i as justifi_card_form}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as t,r as e,c as a}from"./p-CV0Pyo1O.js";import{P as s}from"./p-DMqJWUK2.js";import"./p-DVJaoI_m.js";import"./p-HXpYMWUU.js";import{e as i,C as r,b as o}from"./p-CSgcCWLS.js";import{p as n}from"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import{g as h,a as c}from"./p-Cg_3KsGO.js";import{J as p}from"./p-DbOUuBHs.js";import{c as d}from"./p-DHFQtPCq.js";import{S as m}from"./p-BqNNwq6C.js";import{T as f,a as l,b as u,c as y,d as b,e as g,f as v,g as C,h as j,i as _,j as k,k as w,l as T}from"./p-BICxxa69.js";import{T as D}from"./p-CZfYo5-1.js";import{M as P}from"./p-D1_eip6x.js";import{a as S}from"./p-BRnBHsdq.js";import{a6 as O,a7 as I}from"./p-CPKMvyV_.js";import{o as x,g as B}from"./p-Dm07nLGs.js";import"./p-CYQvLgSs.js";import"./p-D8GTwl9v.js";import"./p-CZa-hHhJ.js";import"./p-CqiVXthx.js";import"./p-CHw7tICr.js";const H={created_at:()=>t("th",{part:O,scope:"col",title:"The date and time each payment was made"},"Date"),amount:()=>t("th",{part:O,scope:"col",title:"The dollar amount of each payment"},"Amount"),status:()=>t("th",{part:O,scope:"col",title:"The current status of each payment"},"Status"),payment_type:()=>t("th",{part:O,scope:"col",title:"The type of each payment"},"Type"),description:()=>t("th",{part:O,scope:"col",title:"The payment description, if you provided one"},"Description"),payers_name:()=>t("th",{part:O,scope:"col",title:"The name associated with the payment method"},"Account Holder"),last_four_digits:()=>t("th",{part:O,scope:"col",title:"The brand and last 4 digits of the payment method"},"Payment Method"),card_brand:()=>t("th",{part:O,scope:"col",title:"The brand of the payment method"},"Card Brand")},q={created_at:(e,a)=>t("td",{part:I(a)},t("div",{class:"fw-bold"},S(e.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},S(e.created_at,{showTime:!0}))),amount:(e,a)=>t("td",{part:I(a)},e.formattedPaymentAmount(e.amount)),status:(e,a)=>t("td",{part:I(a)},P(e.status)),payment_type:(e,a)=>t("td",{part:I(a)},e.payment_type),description:(e,a)=>t("td",{part:I(a)},e.description),payers_name:(e,a)=>t("td",{part:I(a)},e.payers_name),last_four_digits:(e,a)=>t("td",{part:I(a)},e.last_four_digits),card_brand:(e,a)=>{var s,i,r;return t("td",{part:I(a)},(r=(null===(s=e.payment_method.card)||void 0===s?void 0:s.brand)||(null===(i=e.payment_method.bank_account)||void 0===i?void 0:i.brand))?{visa:"VISA",mastercard:"Mastercard",american_express:"American Express",discover:"Discover",diners_club:"Diners Club",jcb:"JCB",china_unionpay:"China UnionPay",unknown:"Unknown"}[r.toLowerCase()]||r:"N/A")}},A=class{constructor(t){e(this,t),this.errorEvent=a(this,"error-event",7),this.clickEvent=a(this,"click-event",7),this.errorMessage=null,this.payments=[],this.loading=!0,this.paging=n,this.pagingParams={},this.columns="created_at,amount,status,payment_type,description,payers_name,last_four_digits,card_brand",this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:D.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:D.next})},this.rowClickHandler=t=>{const e=t.target.closest("tr").dataset.rowEntityId;if(!e)return;const a=this.payments.find((t=>t.id===e));this.clickEvent.emit({name:D.row,data:a})}}componentWillLoad(){d(),this.analytics=new p(this),this.paymentsTable=new f(this.payments,this.columns,H,q),this.initializeGetPayments(),x("set",(()=>{this.pagingParams={},this.errorMessage=""})),x("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeGetPayments()}updateOnPropChange(){this.fetchData()}initializeGetPayments(){this.accountId&&this.authToken?this.getPayments=(({id:t,authToken:e,service:a})=>async({params:s,onSuccess:o,onError:n,final:p})=>{var d,m;try{const p=await a.fetchPayments(t,e,s);if(p.error)return n({error:c(p.error),code:h(null===(m=p.error)||void 0===m?void 0:m.code),severity:r.ERROR});{const t=Object.assign({},p.page_info);o({payments:(null===(d=p.data)||void 0===d?void 0:d.map((t=>new i(t))))||[],pagingInfo:t})}}catch(t){const e=h(null==t?void 0:t.code);return n({error:t.message||t,code:e,severity:r.ERROR})}finally{return p()}})({id:this.accountId,authToken:this.authToken,service:new s}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:o.MISSING_PROPS,message:this.errorMessage,severity:r.ERROR}))}fetchData(){this.getPayments&&(this.loading=!0,this.getPayments({params:this.paymentParams,onSuccess:({payments:t,pagingInfo:e})=>{this.payments=t,this.paging=e,this.paymentsTable.collectionData=this.payments},onError:({error:t,code:e,severity:a})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:e,message:t,severity:a})},final:()=>{this.loading=!1}}))}get paymentParams(){const t=B();return Object.assign(Object.assign({},t),this.pagingParams)}get entityId(){return this.payments.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.paymentsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return t(m,{key:"66f641cbde94ea4332bef30308047ecc98cf6476"},t(l,{key:"5d5d4190722ddf09e31de6d680b3df248b41325c"},t(u,{key:"b5ab4878004d4911129941cd48a85564cada1f87"},t(y,{key:"14aeb8df18cdde57c028d741f11a011060c0b1b4"},t(b,{key:"ba5a4643b5fff9c0f9975ae5d350f9db8cc5d7b2"},this.paymentsTable.columnData.map((t=>t)))),t(g,{key:"0b26316eb9193cab9001a31a7f268cd5156d13e3"},t(v,{key:"37c3545775d6e1586af72baf195f6a861fba0081",columnSpan:this.paymentsTable.columnData.length,isLoading:this.loading}),t(C,{key:"e3cde204ba86bab4813d6a06f948532c30271bb9",isEmpty:this.showEmptyState,columnSpan:this.paymentsTable.columnData.length}),t(j,{key:"202602af08813968a81743c8966ecb17e3a67043",columnSpan:this.paymentsTable.columnData.length,errorMessage:this.errorMessage}),this.showRowData&&this.paymentsTable.rowData.map(((e,a)=>t(_,{"data-test-id":"table-row","data-row-entity-id":this.entityId[a],onClick:this.rowClickHandler},e)))),this.paging&&t(k,{key:"b59fa3315491975cf7e5dd0ec26a4b1e0574438c"},t(w,{key:"e974cf1d3ec92fa89139982030791d69e6d02b10"},t(T,{key:"74405261ad2cae3dc6267aab06ec1dd81f4d4ba8",colSpan:this.paymentsTable.columnData.length},t("pagination-menu",{key:"cdcca8506afafb661d0c90ffe9a09f41f94a0862",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})})))))))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"],pagingParams:["updateOnPropChange"],getPayments:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{A as justifi_payments_list}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,h as t}from"./p-CV0Pyo1O.js";import{E as i}from"./p-
|
|
1
|
+
import{r as s,h as t}from"./p-CV0Pyo1O.js";import{E as i}from"./p-Cu7hgXL1.js";import"./p-CPKMvyV_.js";const o=class{constructor(t){s(this,t)}render(){return t("div",{key:"b91f85e2f62f1ea80409367208117f805299c397"},this.errorMessage?i(this.errorMessage):t("main",{class:"p-2"},t("slot",{name:"head-info"}),t("slot",{name:"detail-sections"})))}};export{o as justifi_details}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as a}from"./p-CV0Pyo1O.js";import{B as s,C as c,D as i}from"./p-CPKMvyV_.js";const f=class{constructor(a){e(this,a),this.selectedQuantityChange=t(this,"selectedQuantityChange",7),this.limit=1/0,this.selectedQuantity=0,this.removeUnit=()=>{this.selectedQuantity>0&&(this.selectedQuantity--,this.selectedQuantityChange.emit({modelName:this.modelName,quantity:this.selectedQuantity}))},this.addUnit=()=>{this.limit>0&&(this.selectedQuantity++,this.selectedQuantityChange.emit({modelName:this.modelName,quantity:this.selectedQuantity}))}}render(){return a("div",{key:"031eab044914be9f082d5f93f7813f4e61e5a6f1",class:"rounded shadow-sm card p-2",part:i},a("div",{key:"ccb7b2047fe47ff9d895df5fa56db8dc6aa7b573",class:"d-flex gap-3"},a("div",{key:"0145845c698712ac65accf781f7e347c0c539c58",class:"d-flex align-items-center"},a("img",{key:"3e48fa3175a3bcdae16e0d66c3627a4e84faf3d9",src:this.imageUrl,alt:this.modelName,height:75,width:75,part:s})),a("div",{key:"df45bb639c3f22da69847be20bfb0867acb592f4",class:"d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center"},a("div",{key:"3e75a2b6a4e512e08edd4e5662878f27e656f076",class:"row"},a("div",{key:"12495ac532ed376c365893cfc3b85552ead99568",class:"col-6 d-flex gap-2"},this.modelName,a("form-control-tooltip",{key:"110ea9b505c790cfca4fbae78c3c6fb6f348b143",helpText:this.description})),a("div",{key:"47d0a8888279556ced19646bf8f27c8c0fa91d27",class:"col-6 d-flex justify-content-end align-items-center"},a("button",{key:"53bea293f4d25a0e3fbdfc72321d33ebdb117be9",class:"p-0 minus btn",onClick:this.removeUnit,part:c},"-"),a("div",{key:"9effca42d38cb2eb5433a83c95a5aa243c3de1f9",class:"w-25 text-center"},this.selectedQuantity),a("button",{key:"3e5a395703f88e10a2a0cf18c121280ec4035a54",class:"p-0 plus btn",onClick:this.addUnit,part:c},"+"))))))}};export{f as terminal_quantity_selector}
|