@justifi/webcomponents 6.0.5 → 6.0.6-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Api-DHhR05W5.js → Api-CjtvTD2_.js} +2 -2
- package/dist/cjs/{Refund-CFOz9QoU.js → Refund-BnhHNKLz.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +4 -4
- package/dist/cjs/{badge-C1lVkjn6.js → badge-CE3ss_OU.js} +2 -2
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +10 -10
- package/dist/cjs/bank-account-form.cjs.entry.js +8 -8
- package/dist/cjs/business-details-core.cjs.entry.js +5 -5
- package/dist/cjs/{business.service-Dx2FS4K-.js → business.service-Cj_NUZsr.js} +2 -2
- package/dist/cjs/{button-C8gOSOdZ.js → button-gPNZ9XRn.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +8 -8
- package/dist/cjs/{check-pkg-version-Ct0jrAH4.js → check-pkg-version-BXAxVT0S.js} +3 -3
- package/dist/cjs/{checkout.service-DRV9oDxT.js → checkout.service-Bc8L9ixO.js} +2 -2
- package/dist/cjs/{checkout.store-WVXAN_mi.js → checkout.store-CS7dpzYF.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +12 -12
- package/dist/cjs/{checkouts-list-params-state-B3dEHKgs.js → checkouts-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{checkouts-table-A2cMCczU.js → checkouts-table-C5AHeIr0.js} +4 -4
- package/dist/cjs/{config-state-B5-AuTAI.js → config-state-C7babhLh.js} +1 -1
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/{dispute.service-DaPbzqUr.js → dispute.service-DhO_tuDc.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +6 -6
- package/dist/cjs/form-control-checkbox.cjs.entry.js +6 -6
- package/dist/cjs/form-control-date.cjs.entry.js +3 -3
- package/dist/cjs/{form-control-error-text-Bm5PuYuo.js → form-control-error-text-BnMWn8U_.js} +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/{form-control-help-text-DH-ddiz4.js → form-control-help-text-DEi5vSjN.js} +2 -2
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +6 -6
- package/dist/cjs/form-control-monetary.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number.cjs.entry.js +4 -4
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +3 -3
- package/dist/cjs/{get-payment-details-DbxyqeB1.js → get-payment-details-BinT-ZEP.js} +2 -2
- package/dist/cjs/{get-subaccounts-B8O_HimP.js → get-subaccounts-BoTVdl7v.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-8mY0uvLp.js → header-1-D3r87SC6.js} +2 -2
- package/dist/cjs/{header-3-BkMrxDLW.js → header-3-BFQJJgBb.js} +2 -2
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/{index-CoKhq0yT.js → index-Bhtk1qkX.js} +1 -1
- package/dist/cjs/{index-B8q7TYrk.js → index-CWM5ions.js} +1 -1
- package/dist/cjs/{insurance-state-CN0jLsMn.js → insurance-state-JbqYvJN3.js} +3 -3
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +8 -8
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +18 -18
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +2 -2
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +12 -9
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +18 -18
- package/dist/cjs/justifi-business-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +15 -15
- package/dist/cjs/justifi-checkout.cjs.entry.js +13 -13
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +9 -9
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-config-provider.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +9 -9
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +13 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +10 -10
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +13 -13
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payment-details.cjs.entry.js +20 -13
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payout-details.cjs.entry.js +13 -12
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +15 -15
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +14 -14
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +3 -3
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +13 -13
- package/dist/cjs/justifi-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +14 -14
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-BJCoGNzK.js → package-D8-S3yHl.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +5 -5
- package/dist/cjs/{parts-9jMf1erK.js → parts-Pb06tUMp.js} +2 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +11 -11
- package/dist/cjs/payment-method-option.cjs.entry.js +3 -3
- package/dist/cjs/{payment.service-CYAqnKsH.js → payment.service-C9thkR4g.js} +2 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +12 -12
- package/dist/cjs/{payments-list-params-state-B3dEHKgs.js → payments-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{payments-status-Cwp_sPLb.js → payments-status-CnNXcRLO.js} +2 -2
- package/dist/cjs/{payments-table-D9ZL7KEZ.js → payments-table-BGuCOPTJ.js} +4 -4
- package/dist/cjs/payout-details-core.cjs.entry.js +25 -12
- package/dist/cjs/{payout.service-B5WqvvSO.js → payout.service-CGZxpQMq.js} +2 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +12 -12
- package/dist/cjs/{payouts-list-params-state-B3dEHKgs.js → payouts-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{payouts-status-gUEqx_45.js → payouts-status-2na6MMgV.js} +2 -2
- package/dist/cjs/{payouts-table-CxUxBIEg.js → payouts-table-DXekpbYc.js} +4 -4
- package/dist/cjs/{skeleton-WNwMpTOZ.js → skeleton-BvdAh448.js} +2 -2
- package/dist/cjs/{spinner-DP-6z8gb.js → spinner-Rt52JMa2.js} +2 -2
- package/dist/cjs/{styled-host-BeBLN_42.js → styled-host-BSooSIhA.js} +1 -1
- package/dist/cjs/{table-POSNlW0c.js → table-Ccg4k90C.js} +3 -3
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{terminal-orders-list-params-state-B3dEHKgs.js → terminal-orders-list-params-state-BYpq-c6X.js} +1 -1
- package/dist/cjs/{terminal-orders-table-OBx67Idp.js → terminal-orders-table-7ew1vCKk.js} +6 -6
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-DxxgZygg.js → terminal.service-BkKxH-k4.js} +2 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +11 -11
- package/dist/cjs/terminals-list-params-state-BYpq-c6X.js +22 -0
- package/dist/cjs/{terminals-table-ByPkFcIa.js → terminals-table-ByYs-pH7.js} +4 -4
- package/dist/cjs/{utils-ChCUZgUy.js → utils-Bab-tddY.js} +4 -0
- package/dist/cjs/{utils-DS7YWKMB.js → utils-CUcA4G_O.js} +5 -5
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/services/apple-pay.service.js +3 -0
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +7 -6
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +7 -6
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +7 -6
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +7 -6
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +2 -3
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/payment-details/payment-details.js +28 -1
- package/dist/collection/components/payout-details/payout-details-core.js +57 -4
- package/dist/collection/components/payout-details/payout-details.js +22 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +2 -3
- package/dist/collection/styles/parts.js +1 -1
- package/dist/collection/ui-components/details/details.js +1 -1
- package/dist/collection/ui-components/details/utils.js +4 -4
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
- package/dist/collection/utils/utils.js +4 -0
- package/dist/docs.json +126 -98
- package/dist/esm/{Api-GDDXjRV1.js → Api-DhiA2e_P.js} +2 -2
- package/dist/esm/{Refund-C3Rj8ucO.js → Refund-B-iOTRxz.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +4 -4
- package/dist/esm/{badge-DrV8suYS.js → badge-BYEj23zk.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +10 -10
- package/dist/esm/bank-account-form.entry.js +8 -8
- package/dist/esm/business-details-core.entry.js +5 -5
- package/dist/esm/{business.service-BZPNzxOH.js → business.service-D55OVyco.js} +2 -2
- package/dist/esm/{button-Dz7L1sRR.js → button-BQetT-FB.js} +2 -2
- package/dist/esm/card-form.entry.js +8 -8
- package/dist/esm/{check-pkg-version-zAOGtbuB.js → check-pkg-version-DdZIl21c.js} +3 -3
- package/dist/esm/{checkout.service-_dbCJ4H4.js → checkout.service-fwbqSq8g.js} +2 -2
- package/dist/esm/{checkout.store-CpBg1CFX.js → checkout.store-CWAkbFJL.js} +1 -1
- package/dist/esm/checkouts-list-core.entry.js +12 -12
- package/dist/esm/{checkouts-list-params-state-DKBoAgAJ.js → checkouts-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{checkouts-table-BIuJBjFX.js → checkouts-table-D7-slfUE.js} +4 -4
- package/dist/esm/{config-state-BJ800oYx.js → config-state-DiHV-4QK.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +2 -2
- package/dist/esm/{dispute.service-DX3dxl7L.js → dispute.service-Cdq3_yRo.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +6 -6
- package/dist/esm/form-control-checkbox.entry.js +6 -6
- package/dist/esm/form-control-date.entry.js +3 -3
- package/dist/esm/{form-control-error-text-BybKqTXI.js → form-control-error-text-DU4UNQlE.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +3 -3
- package/dist/esm/{form-control-help-text-zXEGK2O9.js → form-control-help-text-DDLwbCDl.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +6 -6
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_2.entry.js +4 -4
- package/dist/esm/form-control-number.entry.js +4 -4
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/form-control-select_2.entry.js +3 -3
- package/dist/esm/{get-payment-details-KXwiFeJs.js → get-payment-details-sGoWyAat.js} +2 -2
- package/dist/esm/{get-subaccounts-DGclXJlZ.js → get-subaccounts-BsJSlShO.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-oPO-WOI8.js → header-1-CIfsspQD.js} +2 -2
- package/dist/esm/{header-3-DWKhJ_Et.js → header-3-0vgSYspf.js} +2 -2
- package/dist/esm/hidden-input_2.entry.js +5 -5
- package/dist/esm/{index-Cuq3wBDS.js → index-DJ9G-4S-.js} +1 -1
- package/dist/esm/{index-DyGx8Avl.js → index-DOjVAAtq.js} +1 -1
- package/dist/esm/{insurance-state-DVxPVMxW.js → insurance-state-QGyiPZ_-.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +8 -8
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +18 -18
- package/dist/esm/justifi-additional-statement_8.entry.js +2 -2
- package/dist/esm/justifi-apple-pay.entry.js +12 -9
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +18 -18
- package/dist/esm/justifi-business-details.entry.js +11 -11
- package/dist/esm/justifi-business-form.entry.js +14 -14
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +3 -3
- package/dist/esm/justifi-checkout-summary_7.entry.js +15 -15
- package/dist/esm/justifi-checkout.entry.js +13 -13
- package/dist/esm/justifi-checkouts-list-filters.entry.js +9 -9
- package/dist/esm/justifi-checkouts-list.entry.js +15 -15
- package/dist/esm/justifi-config-provider.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +4 -4
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +9 -9
- package/dist/esm/justifi-dispute-notification_3.entry.js +13 -13
- package/dist/esm/justifi-gross-payment-chart.entry.js +10 -10
- package/dist/esm/justifi-order-terminals.entry.js +13 -13
- package/dist/esm/justifi-owner-form_3.entry.js +12 -12
- package/dist/esm/justifi-payment-details.entry.js +20 -13
- package/dist/esm/justifi-payment-provisioning-core.entry.js +5 -5
- package/dist/esm/justifi-payment-provisioning.entry.js +10 -10
- package/dist/esm/justifi-payment-transactions-list.entry.js +13 -13
- package/dist/esm/justifi-payments-list-filters.entry.js +6 -6
- package/dist/esm/justifi-payments-list.entry.js +14 -14
- package/dist/esm/justifi-payout-details.entry.js +13 -12
- package/dist/esm/justifi-payout-transactions-list.entry.js +13 -13
- package/dist/esm/justifi-payouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-payouts-list.entry.js +15 -15
- package/dist/esm/justifi-refund-payment.entry.js +14 -14
- package/dist/esm/justifi-saved-payment-method.entry.js +3 -3
- package/dist/esm/justifi-season-interruption-insurance.entry.js +13 -13
- package/dist/esm/justifi-skeleton.entry.js +4 -4
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -8
- package/dist/esm/justifi-terminal-orders-list.entry.js +12 -12
- package/dist/esm/justifi-terminals-list-filters.entry.js +8 -8
- package/dist/esm/justifi-terminals-list.entry.js +14 -14
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-Dpi2ut8h.js → package-DlT1rYmL.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +5 -5
- package/dist/esm/{parts-RvUQ__Pq.js → parts-DS3KdLWS.js} +2 -1
- package/dist/esm/payment-details-core.entry.js +11 -11
- package/dist/esm/payment-method-option.entry.js +3 -3
- package/dist/esm/{payment.service-oJkZDCjF.js → payment.service-BoQ1MW1k.js} +2 -2
- package/dist/esm/payments-list-core.entry.js +12 -12
- package/dist/esm/{payments-list-params-state-DKBoAgAJ.js → payments-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{payments-status-BMCeFxof.js → payments-status-DpKZIq0D.js} +2 -2
- package/dist/esm/{payments-table-2pRUlnGQ.js → payments-table-BhUsDP9C.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +25 -12
- package/dist/esm/{payout.service-DY-EKu-S.js → payout.service-xcBdom3q.js} +2 -2
- package/dist/esm/payouts-list-core.entry.js +12 -12
- package/dist/esm/{payouts-list-params-state-DKBoAgAJ.js → payouts-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{payouts-status-DBkurhQF.js → payouts-status-CZxWiR6g.js} +2 -2
- package/dist/esm/{payouts-table-DXyLrcja.js → payouts-table-C6bACVT_.js} +4 -4
- package/dist/esm/{skeleton-BagMauL8.js → skeleton-CtxvPKqv.js} +2 -2
- package/dist/esm/{spinner-DOyR5em0.js → spinner-DSSWDOaz.js} +2 -2
- package/dist/esm/{styled-host-BQjsup-P.js → styled-host-OalOsPBp.js} +1 -1
- package/dist/esm/{table-D-zEX8E8.js → table-C7Sw1Lk-.js} +3 -3
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +11 -11
- package/dist/esm/{terminal-orders-list-params-state-DKBoAgAJ.js → terminal-orders-list-params-state-C_fug9R3.js} +1 -1
- package/dist/esm/{terminal-orders-table-COcJMPaL.js → terminal-orders-table-Cdv_O1iI.js} +6 -6
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-fDtEdpf-.js → terminal.service-l6zTIPZ3.js} +2 -2
- package/dist/esm/terminals-list-core.entry.js +11 -11
- package/dist/esm/terminals-list-params-state-C_fug9R3.js +16 -0
- package/dist/esm/{terminals-table-CyL85b_g.js → terminals-table-BBUVz5oU.js} +4 -4
- package/dist/esm/{utils-BscIVFn8.js → utils-BOijEGPV.js} +4 -1
- package/dist/esm/{utils-CUglovmh.js → utils-DkhVjdbQ.js} +5 -5
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-billing-form-simple.js +2 -2
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form.js +3 -3
- package/dist/module/billing-form-full.js +1 -1
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-bank-account-form-step.js +1 -1
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-representative.js +2 -2
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-billing-form-simple.js +2 -2
- package/dist/module/card-form.js +3 -3
- package/dist/module/checkouts-list-core2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/details.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-alert2.js +1 -1
- package/dist/module/form-control-checkbox2.js +3 -3
- package/dist/module/form-control-date2.js +1 -1
- package/dist/module/form-control-error-text.js +1 -1
- package/dist/module/form-control-file2.js +1 -1
- package/dist/module/form-control-monetary-provisioning2.js +3 -3
- package/dist/module/form-control-monetary2.js +1 -1
- package/dist/module/form-control-number-masked2.js +1 -1
- package/dist/module/form-control-number.js +1 -1
- package/dist/module/form-control-radio2.js +1 -1
- package/dist/module/form-control-select2.js +1 -1
- package/dist/module/form-control-text2.js +1 -1
- package/dist/module/form-control-textarea2.js +1 -1
- package/dist/module/form-control-tooltip2.js +1 -1
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/header-3.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/iframe-input2.js +1 -1
- package/dist/module/justifi-apple-pay.js +3 -0
- package/dist/module/justifi-checkout.js +3 -3
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-order-terminals.js +2 -2
- package/dist/module/justifi-payment-details.js +8 -1
- package/dist/module/justifi-payment-provisioning.js +1 -1
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +1 -1
- package/dist/module/justifi-payout-details.js +3 -1
- package/dist/module/justifi-payout-transactions-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +1 -1
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +2 -2
- package/dist/module/justifi-terminal-orders-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/legal-address-form.js +2 -2
- package/dist/module/owner-form-core2.js +2 -2
- package/dist/module/owner-form-inputs2.js +2 -2
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +4 -4
- package/dist/module/parts.js +2 -1
- package/dist/module/payment-provisioning-core.js +1 -1
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +1 -1
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +18 -4
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/spinner.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +2 -2
- package/dist/module/utils.js +4 -4
- package/dist/module/utils2.js +4 -1
- package/dist/types/api/ComponentEvents.d.ts +4 -0
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +1 -1
- package/dist/types/components/payment-details/payment-details.d.ts +3 -1
- package/dist/types/components/payout-details/payout-details-core.d.ts +5 -1
- package/dist/types/components/payout-details/payout-details.d.ts +1 -0
- package/dist/types/components.d.ts +30 -12
- package/dist/types/stencil-public-runtime.d.ts +19 -10
- package/dist/types/styles/parts.d.ts +1 -1
- package/dist/types/ui-components/details/utils.d.ts +3 -2
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/p-064578b9.entry.js +1 -0
- package/dist/webcomponents/{p-838bc453.entry.js → p-065999a7.entry.js} +1 -1
- package/dist/webcomponents/p-0fgTPVV0.js +1 -0
- package/dist/webcomponents/{p-7ee67a7b.entry.js → p-1162b2fc.entry.js} +1 -1
- package/dist/webcomponents/{p-8b1abbf4.entry.js → p-145a2370.entry.js} +1 -1
- package/dist/webcomponents/{p-0d0ecbec.entry.js → p-185550b1.entry.js} +1 -1
- package/dist/webcomponents/p-188f921f.entry.js +1 -0
- package/dist/webcomponents/p-20c42901.entry.js +1 -0
- package/dist/webcomponents/{p-b38cd527.entry.js → p-22b3b0c2.entry.js} +1 -1
- package/dist/webcomponents/{p-4f6732e7.entry.js → p-25dffee2.entry.js} +1 -1
- package/dist/webcomponents/{p-2aec0fec.entry.js → p-263ee88e.entry.js} +1 -1
- package/dist/webcomponents/{p-07b3bfd0.entry.js → p-2b1b815a.entry.js} +1 -1
- package/dist/webcomponents/p-2bb49747.entry.js +1 -0
- package/dist/webcomponents/{p-7b5bfe7c.entry.js → p-2f40f708.entry.js} +1 -1
- package/dist/webcomponents/{p-03c6003e.entry.js → p-32b0593d.entry.js} +1 -1
- package/dist/webcomponents/p-341eb162.entry.js +1 -0
- package/dist/webcomponents/{p-49ffd557.entry.js → p-368aad3e.entry.js} +1 -1
- package/dist/webcomponents/{p-f58866c6.entry.js → p-38f4b133.entry.js} +1 -1
- package/dist/webcomponents/p-3cd7efc1.entry.js +1 -0
- package/dist/webcomponents/p-4633e577.entry.js +1 -0
- package/dist/webcomponents/{p-89a4decb.entry.js → p-4941bcaf.entry.js} +1 -1
- package/dist/webcomponents/{p-839b3217.entry.js → p-49998d80.entry.js} +1 -1
- package/dist/webcomponents/{p-4337111b.entry.js → p-4b1a3cf6.entry.js} +1 -1
- package/dist/webcomponents/{p-e77cc776.entry.js → p-4c7b6e72.entry.js} +1 -1
- package/dist/webcomponents/{p-97a600d5.entry.js → p-507ab3f1.entry.js} +1 -1
- package/dist/webcomponents/{p-Dlgl52fA.js → p-53MvfN19.js} +1 -1
- package/dist/webcomponents/{p-c75848a9.entry.js → p-59b4454a.entry.js} +1 -1
- package/dist/webcomponents/p-5ca7a03f.entry.js +1 -0
- package/dist/webcomponents/p-6217eb14.entry.js +1 -0
- package/dist/webcomponents/{p-5c025a41.entry.js → p-62fab960.entry.js} +1 -1
- package/dist/webcomponents/{p-6ed3d557.entry.js → p-6de344f8.entry.js} +1 -1
- package/dist/webcomponents/p-72e0698c.entry.js +1 -0
- package/dist/webcomponents/{p-lmpjoGKk.js → p-7663hWTF.js} +1 -1
- package/dist/webcomponents/p-789e86ef.entry.js +1 -0
- package/dist/webcomponents/{p-bcc66eb6.entry.js → p-79a55ed5.entry.js} +1 -1
- package/dist/webcomponents/p-7bdaf07c.entry.js +1 -0
- package/dist/webcomponents/{p-c3e3c368.entry.js → p-7c4a3118.entry.js} +1 -1
- package/dist/webcomponents/{p-ea7fc5b2.entry.js → p-7c7666ad.entry.js} +1 -1
- package/dist/webcomponents/p-7fc37722.entry.js +1 -0
- package/dist/webcomponents/{p-9aa425e5.entry.js → p-8696cf1e.entry.js} +4 -4
- package/dist/webcomponents/{p-24b38502.entry.js → p-8948b298.entry.js} +1 -1
- package/dist/webcomponents/p-8S_ROmnq.js +1 -0
- package/dist/webcomponents/{p-2d3edc42.entry.js → p-8e6ae277.entry.js} +1 -1
- package/dist/webcomponents/p-924a25d4.entry.js +1 -0
- package/dist/webcomponents/{p-9c39ba10.entry.js → p-96cc471a.entry.js} +1 -1
- package/dist/webcomponents/{p-d182e0a4.entry.js → p-97ea8a2a.entry.js} +1 -1
- package/dist/webcomponents/p-98ae711c.entry.js +1 -0
- package/dist/webcomponents/p-9b14089f.entry.js +1 -0
- package/dist/webcomponents/p-9f35781b.entry.js +1 -0
- package/dist/webcomponents/{p-DijYoVj9.js → p-B7TpAe2k.js} +1 -1
- package/dist/webcomponents/p-BBzXThAT.js +1 -0
- package/dist/webcomponents/p-BCE-dTDp.js +1 -0
- package/dist/webcomponents/{p-CoHTj6Zv.js → p-BIKX2tSN.js} +1 -1
- package/dist/webcomponents/{p-CjiooCZL.js → p-Baf5crBG.js} +1 -1
- package/dist/webcomponents/{p-BXSa6F0A.js → p-BbbgFMaz.js} +1 -1
- package/dist/webcomponents/{p-BHf9IqGw.js → p-Bgnhf5c9.js} +1 -1
- package/dist/webcomponents/{p-BzUsLFRB.js → p-BhCH9S0e.js} +1 -1
- package/dist/webcomponents/{p-B2zYNTMd.js → p-BjNuRWXK.js} +1 -1
- package/dist/webcomponents/p-C2JJBtMc.js +1 -0
- package/dist/webcomponents/p-C4AUlhx6.js +1 -0
- package/dist/webcomponents/p-C8k7a6D-.js +1 -0
- package/dist/webcomponents/{p-BrUSZwNP.js → p-C98BC5W5.js} +1 -1
- package/dist/webcomponents/{p-DEPTsxWg.js → p-CCLgieAN.js} +1 -1
- package/dist/webcomponents/p-CEk3bv0x.js +1 -0
- package/dist/webcomponents/p-CqFjmIng.js +1 -0
- package/dist/webcomponents/{p-B1kr3GUW.js → p-Cqe5a-d3.js} +1 -1
- package/dist/webcomponents/p-D5KZeFMv.js +1 -0
- package/dist/webcomponents/p-DFEINx3E.js +1 -0
- package/dist/webcomponents/{p-DqKxycem.js → p-DQZ5VHTZ.js} +1 -1
- package/dist/webcomponents/p-DS3KdLWS.js +1 -0
- package/dist/webcomponents/p-DWn9BiNn.js +1 -0
- package/dist/webcomponents/{p-CTqY6NgS.js → p-DdMxswn1.js} +1 -1
- package/dist/webcomponents/{p-B63vgBnY.js → p-DdZLLkQ5.js} +1 -1
- package/dist/webcomponents/p-DfV3dFDB.js +1 -0
- package/dist/webcomponents/p-Dieke6TH.js +1 -0
- package/dist/webcomponents/p-DlT1rYmL.js +1 -0
- package/dist/webcomponents/{p-6EvNOn3-.js → p-DrrHSa75.js} +1 -1
- package/dist/webcomponents/p-DszoS3BO.js +1 -0
- package/dist/webcomponents/p-NwmOm8Pg.js +1 -0
- package/dist/webcomponents/p-SPYUZxQ9.js +1 -0
- package/dist/webcomponents/{p-YFacIs1k.js → p-SWI5-Jo-.js} +1 -1
- package/dist/webcomponents/{p-wyo7gH76.js → p-YXBIe5uT.js} +1 -1
- package/dist/webcomponents/{p-11a6e8b2.entry.js → p-a3a2f508.entry.js} +1 -1
- package/dist/webcomponents/p-a44c1cae.entry.js +1 -0
- package/dist/webcomponents/{p-fb4c5873.entry.js → p-a4846316.entry.js} +1 -1
- package/dist/webcomponents/{p-42934a93.entry.js → p-a4a57240.entry.js} +1 -1
- package/dist/webcomponents/p-a6008498.entry.js +1 -0
- package/dist/webcomponents/{p-DMEQUc2C.js → p-a6tcNl_T.js} +1 -1
- package/dist/webcomponents/p-a871b38b.entry.js +1 -0
- package/dist/webcomponents/{p-18703b42.entry.js → p-a9e7b25b.entry.js} +1 -1
- package/dist/webcomponents/{p-e9527758.entry.js → p-b2816bb2.entry.js} +1 -1
- package/dist/webcomponents/{p-a4a2899d.entry.js → p-b3517f18.entry.js} +1 -1
- package/dist/webcomponents/p-b57ba0c7.entry.js +1 -0
- package/dist/webcomponents/{p-ef03a84f.entry.js → p-b701fcf0.entry.js} +1 -1
- package/dist/webcomponents/{p-1f241a23.entry.js → p-b82b685d.entry.js} +1 -1
- package/dist/webcomponents/p-bcc22295.entry.js +1 -0
- package/dist/webcomponents/p-bcc7ebb5.entry.js +1 -0
- package/dist/webcomponents/p-cf37b3bb.entry.js +1 -0
- package/dist/webcomponents/p-d55e5756.entry.js +1 -0
- package/dist/webcomponents/p-db03d37a.entry.js +1 -0
- package/dist/webcomponents/p-dce78317.entry.js +1 -0
- package/dist/webcomponents/{p-1cd888c2.entry.js → p-e1e13e85.entry.js} +1 -1
- package/dist/webcomponents/{p-d8a01f34.entry.js → p-f1915a72.entry.js} +1 -1
- package/dist/webcomponents/p-f605af1c.entry.js +1 -0
- package/dist/webcomponents/{p-BgUmsFt9.js → p-f6_r41aD.js} +1 -1
- package/dist/webcomponents/{p-fec2335a.entry.js → p-f7977891.entry.js} +1 -1
- package/dist/webcomponents/{p-a1f46b01.entry.js → p-fc5eeb40.entry.js} +1 -1
- package/dist/webcomponents/p-iT-AQTXJ.js +1 -0
- package/dist/webcomponents/p-lKnUT24T.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +13 -13
- package/LICENSE +0 -21
- package/dist/cjs/terminals-list-params-state-B3dEHKgs.js +0 -22
- package/dist/esm/terminals-list-params-state-DKBoAgAJ.js +0 -16
- package/dist/webcomponents/p-02d3b1a9.entry.js +0 -1
- package/dist/webcomponents/p-0c1afe6a.entry.js +0 -1
- package/dist/webcomponents/p-12e0f6d0.entry.js +0 -1
- package/dist/webcomponents/p-1ba5b6b5.entry.js +0 -1
- package/dist/webcomponents/p-1deab386.entry.js +0 -1
- package/dist/webcomponents/p-3b42f47c.entry.js +0 -1
- package/dist/webcomponents/p-3b6ff2c7.entry.js +0 -1
- package/dist/webcomponents/p-3d626ed6.entry.js +0 -1
- package/dist/webcomponents/p-45c41bf9.entry.js +0 -1
- package/dist/webcomponents/p-4b2b7192.entry.js +0 -1
- package/dist/webcomponents/p-4c151c69.entry.js +0 -1
- package/dist/webcomponents/p-5cf11be2.entry.js +0 -1
- package/dist/webcomponents/p-61028395.entry.js +0 -1
- package/dist/webcomponents/p-68ff0209.entry.js +0 -1
- package/dist/webcomponents/p-6e7eda7b.entry.js +0 -1
- package/dist/webcomponents/p-731e895a.entry.js +0 -1
- package/dist/webcomponents/p-89b69a99.entry.js +0 -1
- package/dist/webcomponents/p-8cb3af20.entry.js +0 -1
- package/dist/webcomponents/p-8e59fd48.entry.js +0 -1
- package/dist/webcomponents/p-9d656297.entry.js +0 -1
- package/dist/webcomponents/p-B7MgZiYt.js +0 -1
- package/dist/webcomponents/p-BAP2_n0C.js +0 -1
- package/dist/webcomponents/p-CFJORLxe.js +0 -1
- package/dist/webcomponents/p-CaCRHEeS.js +0 -1
- package/dist/webcomponents/p-CiGtDYf9.js +0 -1
- package/dist/webcomponents/p-CpicmCYr.js +0 -1
- package/dist/webcomponents/p-Cs66SeCx.js +0 -1
- package/dist/webcomponents/p-D5GwdE1-.js +0 -1
- package/dist/webcomponents/p-DMlQVSDm.js +0 -1
- package/dist/webcomponents/p-DPWdvb1b.js +0 -1
- package/dist/webcomponents/p-DVFJ02AX.js +0 -1
- package/dist/webcomponents/p-DgsBfaBV.js +0 -1
- package/dist/webcomponents/p-DmwN1pQC.js +0 -1
- package/dist/webcomponents/p-Dpi2ut8h.js +0 -1
- package/dist/webcomponents/p-DqEiwSTX.js +0 -1
- package/dist/webcomponents/p-FS-_U_DC.js +0 -1
- package/dist/webcomponents/p-RvUQ__Pq.js +0 -1
- package/dist/webcomponents/p-TLJ8o8BU.js +0 -1
- package/dist/webcomponents/p-a212213f.entry.js +0 -1
- package/dist/webcomponents/p-b2c0b4c2.entry.js +0 -1
- package/dist/webcomponents/p-bffb50ef.entry.js +0 -1
- package/dist/webcomponents/p-c4b0da5d.entry.js +0 -1
- package/dist/webcomponents/p-d704cc01.entry.js +0 -1
- package/dist/webcomponents/p-dbaa74cc.entry.js +0 -1
- package/dist/webcomponents/p-e7686f74.entry.js +0 -1
- package/dist/webcomponents/p-f9bab8cf.entry.js +0 -1
- package/dist/webcomponents/p-gpZ4wrS9.js +0 -1
- package/dist/webcomponents/p-jdnTIfew.js +0 -1
- package/dist/webcomponents/p-xgpMjz3-.js +0 -1
- /package/dist/webcomponents/{p-DyGx8Avl.js → p-DOjVAAtq.js} +0 -0
|
@@ -9,8 +9,8 @@ import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d a
|
|
|
9
9
|
import { T as TableClickActions } from './event-types.js';
|
|
10
10
|
import './justifi-radio-list-item2.js';
|
|
11
11
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
12
|
+
import { w as tableHeadCell, a9 as getAlternateTableCellPart } from './parts.js';
|
|
13
|
+
import { l as capitalFirstLetter } from './utils2.js';
|
|
14
14
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state.js';
|
|
15
15
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
16
16
|
|
package/dist/module/utils.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h } from '@stencil/core/internal/client';
|
|
2
|
-
import { h as heading2, t as text, a as heading1 } from './parts.js';
|
|
2
|
+
import { h as heading2, t as text, l as link, a as heading1 } from './parts.js';
|
|
3
3
|
|
|
4
|
-
const ErrorState = (errorMessage) => (h("main", { class: "p-4 d-flex justify-content-center text-center", style: { fontSize:
|
|
4
|
+
const ErrorState = (errorMessage) => (h("main", { class: "p-4 d-flex justify-content-center text-center", style: { fontSize: "1.2rem" } }, h("p", { part: text }, errorMessage)));
|
|
5
5
|
const DetailSectionTitle = (props) => (h("h2", { part: heading2, class: "mt-4 fs-5 border-bottom pb-3" }, props.sectionTitle));
|
|
6
|
-
const DetailItem = ({ title, value, }) => title && value ? (h("div", { class: "row justify-content-between" }, h("div", { class: "col-12 col-md-4" }, h("span", { class: "fw-bold", part: text }, title)), h("div", { class:
|
|
6
|
+
const DetailItem = ({ title, value, onClick, }) => title && value ? (h("div", { class: "row justify-content-between" }, h("div", { class: "col-12 col-md-4" }, h("span", { class: "fw-bold", part: text }, title)), h("div", { class: `col-12 col-md-8 ${onClick ? "text-decoration-underline text-primary" : ""}`, style: { cursor: onClick ? "pointer" : "auto" }, onClick: () => onClick && onClick() }, h("span", { class: "text-wrap", part: onClick ? link : text }, value)))) : null;
|
|
7
7
|
const EntityHeadInfoItem = ({ title, value, classes, }) => (h("div", { class: `d-flex flex-column ${classes}` }, h("span", { class: "fw-bold border-1 border-bottom ps-2 pe-2", part: heading2 }, title), h("span", { class: "pt-2 ps-2 pe-2", part: text }, value)));
|
|
8
8
|
const EntityHeadInfo = ({ title, slot, badge }, children) => (h("div", { slot: slot, class: "p-2" }, h("div", { class: "d-flex flex-row align-items-center gap-2 mb-2" }, h("h1", { class: "m-0", part: heading1 }, title), badge), h("div", { class: "d-flex flex-row align-items-top", part: text }, children)));
|
|
9
|
-
const CodeBlock = ({ metadata }) => metadata && Object.keys(metadata).length ? (h("div", { class:
|
|
9
|
+
const CodeBlock = ({ metadata }) => metadata && Object.keys(metadata).length ? (h("div", { class: "mt-4" }, h("pre", { class: "p-2", "aria-label": "metadata content" }, h("code", null, JSON.stringify(metadata, null, 2))))) : null;
|
|
10
10
|
|
|
11
11
|
export { CodeBlock as C, DetailSectionTitle as D, ErrorState as E, DetailItem as a, EntityHeadInfo as b, EntityHeadInfoItem as c };
|
package/dist/module/utils2.js
CHANGED
|
@@ -22300,5 +22300,8 @@ function generateTabId() {
|
|
|
22300
22300
|
return (((_a = crypto.randomUUID) === null || _a === void 0 ? void 0 : _a.call(crypto)) ||
|
|
22301
22301
|
`${Date.now()}-${Math.random().toString(36).slice(2)}`);
|
|
22302
22302
|
}
|
|
22303
|
+
function capitalizeFirstLetter(str) {
|
|
22304
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
22305
|
+
}
|
|
22303
22306
|
|
|
22304
|
-
export { formatDate as a, formatTimeSeconds as b, formatCurrency as c, formatTime as d, convertToLocal as e, formatMediumDate as f, generateId as g, convertToUTC as h, isEmptyObject as i,
|
|
22307
|
+
export { formatDate as a, formatTimeSeconds as b, formatCurrency as c, formatTime as d, convertToLocal as e, formatMediumDate as f, generateId as g, convertToUTC as h, isEmptyObject as i, capitalizeFirstLetter as j, generateTabId as k, capitalFirstLetter as l, formatDisplayDate as m, addAttribute as n, formatPhoneNumber as o, processHTML as p, removeAttribute as r, snakeCaseToHumanReadable as s };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { PaymentService } from '../../api/services/payment.service';
|
|
3
3
|
import JustifiAnalytics from '../../api/Analytics';
|
|
4
|
-
import { ComponentErrorEvent } from '../../api/ComponentEvents';
|
|
4
|
+
import { ComponentErrorEvent, RecordClickEvent } from '../../api/ComponentEvents';
|
|
5
5
|
export declare class PaymentDetails {
|
|
6
6
|
paymentId: string;
|
|
7
7
|
authToken: string;
|
|
8
8
|
getPaymentDetails: Function;
|
|
9
9
|
errorMessage: string;
|
|
10
10
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
11
|
+
recordClickEvent: EventEmitter<RecordClickEvent>;
|
|
11
12
|
analytics: JustifiAnalytics;
|
|
12
13
|
componentWillLoad(): void;
|
|
13
14
|
disconnectedCallback(): void;
|
|
@@ -15,5 +16,6 @@ export declare class PaymentDetails {
|
|
|
15
16
|
private initializeGetPaymentDetails;
|
|
16
17
|
paymentService: PaymentService;
|
|
17
18
|
handleErrorEvent: (event: any) => void;
|
|
19
|
+
handleRecordClickEvent: (event: CustomEvent<RecordClickEvent>) => void;
|
|
18
20
|
render(): any;
|
|
19
21
|
}
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { Payout } from '../../api';
|
|
3
|
-
import { ComponentErrorEvent } from '../../api/ComponentEvents';
|
|
3
|
+
import { ComponentErrorEvent, RecordClickEvent } from '../../api/ComponentEvents';
|
|
4
4
|
export declare class PayoutDetailsCore {
|
|
5
5
|
getPayout: Function;
|
|
6
6
|
getPayoutCSV: Function;
|
|
7
|
+
enableRecordClick: boolean;
|
|
7
8
|
payout: Payout;
|
|
8
9
|
loading: boolean;
|
|
9
10
|
errorMessage: string;
|
|
10
11
|
errorEvent: EventEmitter<ComponentErrorEvent>;
|
|
12
|
+
recordClickEvent: EventEmitter<RecordClickEvent>;
|
|
11
13
|
componentWillLoad(): void;
|
|
12
14
|
getPayoutWatcher(): void;
|
|
13
15
|
fetchData(): void;
|
|
14
16
|
downloadCSV: () => void;
|
|
17
|
+
formatMethod(deliveryMethod: string): string;
|
|
18
|
+
handleRecordClick: (id: string) => void;
|
|
15
19
|
render(): any;
|
|
16
20
|
}
|
|
@@ -7,16 +7,15 @@
|
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { Business, IAdditionalQuestions, IAddress } from "./api/Business";
|
|
9
9
|
import { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, ICheckoutPaymentModeParam, ICheckoutStatus, ILoadedEventResponse, IRefund, ITerminalStatus, TerminalModelName, TerminalOrderStatus, TerminalOrderType } from "./api";
|
|
10
|
-
import { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
|
|
10
|
+
import { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent, RecordClickEvent } from "./api/ComponentEvents";
|
|
11
11
|
import { Placement, PositioningStrategy } from "@popperjs/core";
|
|
12
12
|
import { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
|
|
13
13
|
import { IPaymentMethodMetadata } from "./api/PaymentMethod";
|
|
14
|
-
import { BillingFormFields as BillingFormFields1, FormController } from "./components";
|
|
15
14
|
import { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
16
15
|
import { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
17
16
|
import { ApplePayButtonStyle, ApplePayButtonType, IApplePayToken } from "./api/ApplePay";
|
|
18
17
|
import { BillingFormFields } from "./components/checkout/billing-form/billing-form-schema";
|
|
19
|
-
import { FormController
|
|
18
|
+
import { FormController } from "./ui-components/form/form";
|
|
20
19
|
import { Dispute, IDispute } from "./api/Dispute";
|
|
21
20
|
import { CheckoutChangedEventDetail, SelectedPaymentMethod } from "./components/modular-checkout/ModularCheckout";
|
|
22
21
|
import { PaymentMethodPayload } from "./components/checkout/payment-method-payload";
|
|
@@ -25,16 +24,15 @@ import { Identity } from "./api/Identity";
|
|
|
25
24
|
import { PaginationProps } from "./ui-components/pagination-menu/pagination-menu";
|
|
26
25
|
export { Business, IAdditionalQuestions, IAddress } from "./api/Business";
|
|
27
26
|
export { ComponentClickEvent as ComponentClickEvent1, ComponentErrorCodes, ComponentErrorEvent as ComponentErrorEvent1, ComponentFormStepCompleteEvent as ComponentFormStepCompleteEvent1, ComponentSubmitEvent as ComponentSubmitEvent1, FileSelectEvent, IApiResponse, ICheckoutPaymentModeParam, ICheckoutStatus, ILoadedEventResponse, IRefund, ITerminalStatus, TerminalModelName, TerminalOrderStatus, TerminalOrderType } from "./api";
|
|
28
|
-
export { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent } from "./api/ComponentEvents";
|
|
27
|
+
export { ComponentClickEvent, ComponentErrorEvent, ComponentFormStepCompleteEvent, ComponentSubmitEvent, RecordClickEvent } from "./api/ComponentEvents";
|
|
29
28
|
export { Placement, PositioningStrategy } from "@popperjs/core";
|
|
30
29
|
export { EntityDocumentType, FileSelectEvent as FileSelectEvent1 } from "./api/Document";
|
|
31
30
|
export { IPaymentMethodMetadata } from "./api/PaymentMethod";
|
|
32
|
-
export { BillingFormFields as BillingFormFields1, FormController } from "./components";
|
|
33
31
|
export { DisputeEvidenceDocument } from "./api/DisputeEvidenceDocument";
|
|
34
32
|
export { DisputeResponseFormStep } from "./components/dispute-management/dispute-response/dispute-response-form-types";
|
|
35
33
|
export { ApplePayButtonStyle, ApplePayButtonType, IApplePayToken } from "./api/ApplePay";
|
|
36
34
|
export { BillingFormFields } from "./components/checkout/billing-form/billing-form-schema";
|
|
37
|
-
export { FormController
|
|
35
|
+
export { FormController } from "./ui-components/form/form";
|
|
38
36
|
export { Dispute, IDispute } from "./api/Dispute";
|
|
39
37
|
export { CheckoutChangedEventDetail, SelectedPaymentMethod } from "./components/modular-checkout/ModularCheckout";
|
|
40
38
|
export { PaymentMethodPayload } from "./components/checkout/payment-method-payload";
|
|
@@ -362,7 +360,7 @@ export namespace Components {
|
|
|
362
360
|
* and the other one is meant to be just read only.
|
|
363
361
|
*/
|
|
364
362
|
interface JustifiBusinessCoreInfo {
|
|
365
|
-
"formController":
|
|
363
|
+
"formController": FormController;
|
|
366
364
|
}
|
|
367
365
|
interface JustifiBusinessCoreInfoFormStep {
|
|
368
366
|
"allowOptionalFields"?: boolean;
|
|
@@ -416,7 +414,7 @@ export namespace Components {
|
|
|
416
414
|
}
|
|
417
415
|
interface JustifiBusinessRepresentativeFormInputs {
|
|
418
416
|
"errors": any;
|
|
419
|
-
"formController":
|
|
417
|
+
"formController": FormController;
|
|
420
418
|
"representativeDefaultValue": any;
|
|
421
419
|
}
|
|
422
420
|
interface JustifiBusinessRepresentativeFormStep {
|
|
@@ -636,7 +634,7 @@ export namespace Components {
|
|
|
636
634
|
"authToken": string;
|
|
637
635
|
"checkoutId": string;
|
|
638
636
|
"setSelectedPaymentMethod": (paymentMethod: SelectedPaymentMethod) => Promise<void>;
|
|
639
|
-
"submitCheckout": (submitCheckoutArgs?:
|
|
637
|
+
"submitCheckout": (submitCheckoutArgs?: BillingFormFields) => Promise<void>;
|
|
640
638
|
"validate": () => Promise<boolean>;
|
|
641
639
|
}
|
|
642
640
|
interface JustifiOrderTerminals {
|
|
@@ -735,6 +733,10 @@ export namespace Components {
|
|
|
735
733
|
}
|
|
736
734
|
interface JustifiPayoutDetails {
|
|
737
735
|
"authToken": string;
|
|
736
|
+
/**
|
|
737
|
+
* @default false
|
|
738
|
+
*/
|
|
739
|
+
"enableRecordClick": boolean;
|
|
738
740
|
"payoutId": string;
|
|
739
741
|
}
|
|
740
742
|
interface JustifiPayoutTransactionsList {
|
|
@@ -889,7 +891,7 @@ export namespace Components {
|
|
|
889
891
|
"authToken"?: string;
|
|
890
892
|
"disableBankAccount"?: boolean;
|
|
891
893
|
"disableCreditCard"?: boolean;
|
|
892
|
-
"fillBillingForm": (fields:
|
|
894
|
+
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
893
895
|
"hideBankAccountBillingForm"?: boolean;
|
|
894
896
|
"hideCardBillingForm"?: boolean;
|
|
895
897
|
"hideSubmitButton"?: boolean;
|
|
@@ -954,6 +956,10 @@ export namespace Components {
|
|
|
954
956
|
"getPayments": Function;
|
|
955
957
|
}
|
|
956
958
|
interface PayoutDetailsCore {
|
|
959
|
+
/**
|
|
960
|
+
* @default false
|
|
961
|
+
*/
|
|
962
|
+
"enableRecordClick": boolean;
|
|
957
963
|
"getPayout": Function;
|
|
958
964
|
"getPayoutCSV": Function;
|
|
959
965
|
}
|
|
@@ -2281,6 +2287,7 @@ declare global {
|
|
|
2281
2287
|
};
|
|
2282
2288
|
interface HTMLJustifiPaymentDetailsElementEventMap {
|
|
2283
2289
|
"error-event": ComponentErrorEvent;
|
|
2290
|
+
"record-click-event": RecordClickEvent;
|
|
2284
2291
|
}
|
|
2285
2292
|
interface HTMLJustifiPaymentDetailsElement extends Components.JustifiPaymentDetails, HTMLStencilElement {
|
|
2286
2293
|
addEventListener<K extends keyof HTMLJustifiPaymentDetailsElementEventMap>(type: K, listener: (this: HTMLJustifiPaymentDetailsElement, ev: JustifiPaymentDetailsCustomEvent<HTMLJustifiPaymentDetailsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -2747,6 +2754,7 @@ declare global {
|
|
|
2747
2754
|
};
|
|
2748
2755
|
interface HTMLPayoutDetailsCoreElementEventMap {
|
|
2749
2756
|
"error-event": ComponentErrorEvent;
|
|
2757
|
+
"record-click-event": RecordClickEvent;
|
|
2750
2758
|
}
|
|
2751
2759
|
interface HTMLPayoutDetailsCoreElement extends Components.PayoutDetailsCore, HTMLStencilElement {
|
|
2752
2760
|
addEventListener<K extends keyof HTMLPayoutDetailsCoreElementEventMap>(type: K, listener: (this: HTMLPayoutDetailsCoreElement, ev: PayoutDetailsCoreCustomEvent<HTMLPayoutDetailsCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -3315,7 +3323,7 @@ declare namespace LocalJSX {
|
|
|
3315
3323
|
* and the other one is meant to be just read only.
|
|
3316
3324
|
*/
|
|
3317
3325
|
interface JustifiBusinessCoreInfo {
|
|
3318
|
-
"formController"?:
|
|
3326
|
+
"formController"?: FormController;
|
|
3319
3327
|
}
|
|
3320
3328
|
interface JustifiBusinessCoreInfoFormStep {
|
|
3321
3329
|
"allowOptionalFields"?: boolean;
|
|
@@ -3378,7 +3386,7 @@ declare namespace LocalJSX {
|
|
|
3378
3386
|
}
|
|
3379
3387
|
interface JustifiBusinessRepresentativeFormInputs {
|
|
3380
3388
|
"errors"?: any;
|
|
3381
|
-
"formController"?:
|
|
3389
|
+
"formController"?: FormController;
|
|
3382
3390
|
"representativeDefaultValue"?: any;
|
|
3383
3391
|
}
|
|
3384
3392
|
interface JustifiBusinessRepresentativeFormStep {
|
|
@@ -3640,6 +3648,7 @@ declare namespace LocalJSX {
|
|
|
3640
3648
|
interface JustifiPaymentDetails {
|
|
3641
3649
|
"authToken"?: string;
|
|
3642
3650
|
"onError-event"?: (event: JustifiPaymentDetailsCustomEvent<ComponentErrorEvent>) => void;
|
|
3651
|
+
"onRecord-click-event"?: (event: JustifiPaymentDetailsCustomEvent<RecordClickEvent>) => void;
|
|
3643
3652
|
"paymentId"?: string;
|
|
3644
3653
|
}
|
|
3645
3654
|
interface JustifiPaymentProvisioning {
|
|
@@ -3716,6 +3725,10 @@ declare namespace LocalJSX {
|
|
|
3716
3725
|
}
|
|
3717
3726
|
interface JustifiPayoutDetails {
|
|
3718
3727
|
"authToken"?: string;
|
|
3728
|
+
/**
|
|
3729
|
+
* @default false
|
|
3730
|
+
*/
|
|
3731
|
+
"enableRecordClick"?: boolean;
|
|
3719
3732
|
"onError-event"?: (event: JustifiPayoutDetailsCustomEvent<ComponentErrorEvent>) => void;
|
|
3720
3733
|
"payoutId"?: string;
|
|
3721
3734
|
}
|
|
@@ -3935,9 +3948,14 @@ declare namespace LocalJSX {
|
|
|
3935
3948
|
"onError-event"?: (event: PaymentsListCoreCustomEvent<ComponentErrorEvent>) => void;
|
|
3936
3949
|
}
|
|
3937
3950
|
interface PayoutDetailsCore {
|
|
3951
|
+
/**
|
|
3952
|
+
* @default false
|
|
3953
|
+
*/
|
|
3954
|
+
"enableRecordClick"?: boolean;
|
|
3938
3955
|
"getPayout"?: Function;
|
|
3939
3956
|
"getPayoutCSV"?: Function;
|
|
3940
3957
|
"onError-event"?: (event: PayoutDetailsCoreCustomEvent<ComponentErrorEvent>) => void;
|
|
3958
|
+
"onRecord-click-event"?: (event: PayoutDetailsCoreCustomEvent<RecordClickEvent>) => void;
|
|
3941
3959
|
}
|
|
3942
3960
|
interface PayoutsListCore {
|
|
3943
3961
|
"columns"?: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
type CustomMethodDecorator<T> = (target: object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T>) => TypedPropertyDescriptor<T> | void;
|
|
2
|
-
type UnionToIntersection<U> = (U extends any ? (
|
|
2
|
+
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void ? I : never;
|
|
3
|
+
type MixinInstance<F> = F extends (base: MixedInCtor) => MixedInCtor<infer I> ? I : never;
|
|
3
4
|
export interface ComponentDecorator {
|
|
4
5
|
(opts?: ComponentOptions): ClassDecorator;
|
|
5
6
|
}
|
|
@@ -340,7 +341,6 @@ export declare function forceUpdate(ref: any): void;
|
|
|
340
341
|
export declare function getRenderingRef(): any;
|
|
341
342
|
export interface HTMLStencilElement extends Omit<HTMLElement, 'autocorrect'> {
|
|
342
343
|
componentOnReady(): Promise<this>;
|
|
343
|
-
autocorrect: 'on' | 'off';
|
|
344
344
|
}
|
|
345
345
|
/**
|
|
346
346
|
* Schedules a DOM-write task. The provided callback will be executed
|
|
@@ -365,18 +365,27 @@ export declare function readTask(task: RafCallback): void;
|
|
|
365
365
|
* Unhandled exception raised while rendering, during event handling, or lifecycles will trigger the custom event handler.
|
|
366
366
|
*/
|
|
367
367
|
export declare const setErrorHandler: (handler: ErrorHandler) => void;
|
|
368
|
-
|
|
368
|
+
/**
|
|
369
|
+
* @deprecated - Use `MixedInCtor` instead:
|
|
370
|
+
* ```ts
|
|
371
|
+
* import { MixedInCtor } from '@stencil/core';
|
|
372
|
+
*
|
|
373
|
+
* const AFactoryFn = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
|
|
374
|
+
* ```
|
|
375
|
+
*/
|
|
376
|
+
export type MixinFactory = (base: MixedInCtor) => MixedInCtor;
|
|
377
|
+
export type MixedInCtor<T = {}> = new (...args: any[]) => T;
|
|
369
378
|
/**
|
|
370
379
|
* Compose multiple mixin classes into a single constructor.
|
|
371
380
|
* The resulting class has the combined instance types of all mixed-in classes.
|
|
372
381
|
*
|
|
373
382
|
* Example:
|
|
374
|
-
* ```
|
|
375
|
-
* import { Mixin,
|
|
383
|
+
* ```ts
|
|
384
|
+
* import { Mixin, MixedInCtor } from '@stencil/core';
|
|
376
385
|
*
|
|
377
|
-
* const AWrap
|
|
378
|
-
* const BWrap
|
|
379
|
-
* const CWrap
|
|
386
|
+
* const AWrap = <B extends MixedInCtor>(Base: B) => {class A extends Base { propA = A }; return A;}
|
|
387
|
+
* const BWrap = <B extends MixedInCtor>(Base: B) => {class B extends Base { propB = B }; return B;}
|
|
388
|
+
* const CWrap = <B extends MixedInCtor>(Base: B) => {class C extends Base { propC = C }; return C;}
|
|
380
389
|
*
|
|
381
390
|
* class X extends Mixin(AWrap, BWrap, CWrap) {
|
|
382
391
|
* render() { return <div>{this.propA} {this.propB} {this.propC}</div>; }
|
|
@@ -384,9 +393,9 @@ export type MixinFactory = <TBase extends new (...args: any[]) => any>(base: TBa
|
|
|
384
393
|
* ```
|
|
385
394
|
*
|
|
386
395
|
* @param mixinFactories mixin factory functions that return a class which extends from the provided class.
|
|
387
|
-
* @returns a class that
|
|
396
|
+
* @returns a class that is composed from extending each of the provided classes in the order they were provided.
|
|
388
397
|
*/
|
|
389
|
-
export declare function Mixin<TMixins extends readonly MixinFactory[]>(...mixinFactories: TMixins): abstract new (...args: any[]) => UnionToIntersection<
|
|
398
|
+
export declare function Mixin<const TMixins extends readonly MixinFactory[]>(...mixinFactories: TMixins): abstract new (...args: any[]) => UnionToIntersection<MixinInstance<TMixins[number]>>;
|
|
390
399
|
/**
|
|
391
400
|
* This file gets copied to all distributions of stencil component collections.
|
|
392
401
|
* - no imports
|
|
@@ -12,7 +12,7 @@ export declare const heading2 = "heading-2 heading text color font-family";
|
|
|
12
12
|
export declare const heading3 = "heading-3 heading text color font-family";
|
|
13
13
|
export declare const heading4 = "heading-4 heading text color font-family";
|
|
14
14
|
export declare const heading5 = "heading-5 heading text color font-family";
|
|
15
|
-
export declare const link = "link text
|
|
15
|
+
export declare const link = "link text font-family";
|
|
16
16
|
export declare const button = "button text color font-family";
|
|
17
17
|
export declare const buttonPrimary = "button-primary button text color font-family";
|
|
18
18
|
export declare const buttonSecondary = "button-secondary button text color font-family";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { FunctionalComponent } from
|
|
1
|
+
import { FunctionalComponent } from "../../stencil-public-runtime";
|
|
2
2
|
export declare const ErrorState: (errorMessage: string) => any;
|
|
3
3
|
export declare const DetailSectionTitle: FunctionalComponent<{
|
|
4
4
|
sectionTitle: string;
|
|
5
5
|
}>;
|
|
6
|
-
export declare const DetailItem: ({ title, value, }: {
|
|
6
|
+
export declare const DetailItem: ({ title, value, onClick, }: {
|
|
7
7
|
title: string;
|
|
8
8
|
value: string;
|
|
9
|
+
onClick?: () => void;
|
|
9
10
|
}) => any;
|
|
10
11
|
export declare const EntityHeadInfoItem: ({ title, value, classes, }: {
|
|
11
12
|
title: string;
|
|
@@ -31,4 +31,5 @@ export declare function processHTML(htmlString: any, functions: any): any;
|
|
|
31
31
|
export declare function formatPhoneNumber(number: any): string;
|
|
32
32
|
export declare function generateId(length?: number): string;
|
|
33
33
|
export declare function generateTabId(): string;
|
|
34
|
+
export declare function capitalizeFirstLetter(str: string): string;
|
|
34
35
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i}from"./p-DOjVAAtq.js";import{P as e}from"./p-BjNuRWXK.js";import{m as r}from"./p-DWn9BiNn.js";import{E as p}from"./p-CqFjmIng.js";import{C as o,a as n}from"./p-Cjcsf8ku.js";import{c as a,J as h}from"./p-Cqe5a-d3.js";import"./p-DdZLLkQ5.js";import"./p-a6tcNl_T.js";import"./p-DdMxswn1.js";import"./p-Bgnhf5c9.js";import"./p-HXpYMWUU.js";import"./p-C98BC5W5.js";import"./p-BH0Xfn-F.js";import"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-D2muobcE.js";import"./p-DS3KdLWS.js";import"./p-DlT1rYmL.js";const m=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event"),this.recordClickEvent=s(this,"record-click-event"),this.errorMessage=null,this.paymentService=new e,this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.handleRecordClickEvent=t=>{this.recordClickEvent.emit({id:t.detail.id,type:t.detail.type})}}componentWillLoad(){a(),this.analytics=new h(this),this.initializeGetPaymentDetails()}disconnectedCallback(){var t;null===(t=this.analytics)||void 0===t||t.cleanup()}propChanged(){this.initializeGetPaymentDetails()}initializeGetPaymentDetails(){this.paymentId&&this.authToken?this.getPaymentDetails=r({id:this.paymentId,authToken:this.authToken,service:new e}):(this.errorMessage="Payment ID and Auth Token are required",this.errorEvent.emit({message:this.errorMessage,errorCode:n.MISSING_PROPS,severity:o.ERROR}))}render(){return this.errorMessage?p(this.errorMessage):i("payment-details-core",{getPaymentDetails:this.getPaymentDetails,"onError-event":this.handleErrorEvent,"onRecord-click-event":this.handleRecordClickEvent,"enable-record-click":"true"})}static get watchers(){return{paymentId:["propChanged"],authToken:["propChanged"]}}};export{m as justifi_payment_details}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as a}from"./p-
|
|
1
|
+
import{r as t,c as s,h as a}from"./p-DOjVAAtq.js";import{T as e,a as i,b as r,c as h,d as o,e as c,f as n,g as p,h as d,i as f,j as m,k as b,l as j}from"./p-SWI5-Jo-.js";import{T as g}from"./p-CZfYo5-1.js";import"./p-a6tcNl_T.js";import"./p-HXpYMWUU.js";import"./p-Cjcsf8ku.js";import"./p-C98BC5W5.js";import{p as u}from"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";import{t as l,a as y}from"./p-BIKX2tSN.js";import{o as k,g as C}from"./p-0fgTPVV0.js";import"./p-DS3KdLWS.js";import"./p-BBzXThAT.js";import"./p-DdMxswn1.js";import"./p-Bgnhf5c9.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-f6_r41aD.js";const O=class{constructor(a){t(this,a),this.clickEvent=s(this,"click-event"),this.errorEvent=s(this,"error-event"),this.terminalOrders=[],this.loading=!0,this.paging=u,this.pagingParams={},this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:g.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:g.next})},this.rowClickHandler=t=>{const s=t.target.closest("tr").dataset.rowEntityId;if(!s)return;const a=this.terminalOrders.find((t=>t.id===s));this.clickEvent.emit({name:g.row,data:a})}}updateOnPropChange(){this.fetchData()}componentWillLoad(){this.terminalOrdersTable=new e(this.terminalOrders,this.columns,l,y),this.getTerminalOrders&&this.fetchData(),k("set",(()=>{this.pagingParams={}})),k("reset",(()=>{this.pagingParams={},this.errorMessage=""}))}fetchData(){this.loading=!0,this.getTerminalOrders({params:this.terminalOrderParams,onSuccess:async({terminalOrders:t,pagingInfo:s})=>{this.terminalOrders=t,this.paging=s,this.terminalOrdersTable.collectionData=this.terminalOrders},onError:({error:t,code:s,severity:a})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:a})},final:()=>{this.loading=!1}})}get terminalOrderParams(){const t=C();return Object.assign(Object.assign({},t),this.pagingParams)}get entityId(){return this.terminalOrders.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.terminalOrdersTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return a(j,{key:"a8131df17851ab1468e025932371fa4b97ccc144"},a(i,{key:"0fc81f64fb8a8f138f25c70522d046921edbd094"},a(r,{key:"7cc8be0184008cf08128eb1f241ab670538ecc65"},a(h,{key:"5a7aa37a2b8f02469ca6c703e098da9431c0b45f"},this.terminalOrdersTable.columnData.map((t=>t)))),a(o,{key:"ff32aad8d5c4f319550d47ae1e0f77b617aa3d70"},a(c,{key:"dcc25430c77867a2c9639eba359c0d54cbacb73a",columnSpan:this.terminalOrdersTable.columnKeys.length,isLoading:this.loading}),a(n,{key:"474ecda7420d595f49777f31910a380b48a8a1bc",isEmpty:this.showEmptyState,columnSpan:this.terminalOrdersTable.columnKeys.length}),a(p,{key:"d91e28581823ca91778159914157a003b011caaf",columnSpan:this.terminalOrdersTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.terminalOrdersTable.rowData.map(((t,s)=>a(d,{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler},t)))),this.paging&&a(f,{key:"6dea4a93ab757d35916b9351e4e5fa7f76b4afd9"},a(m,{key:"5098c2d994bb0ba397bc94d7a0e9419b06e582a5"},a(b,{key:"5a8f90708691987f672cde0c102323225568d989",colSpan:this.terminalOrdersTable.columnData.length},a("pagination-menu",{key:"509e53f4c070fc9a8b479dc673c526417aceb5ef",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})}))))))}static get watchers(){return{pagingParams:["updateOnPropChange"],getTerminalOrders:["updateOnPropChange"],columns:["updateOnPropChange"]}}};export{O as terminal_orders_list_core}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as s}from"./p-DdMxswn1.js";const t={},a={},o=s((()=>t)),{state:c,on:e}=o,p=s((()=>a)),{state:j}=p,n=()=>Object.assign(Object.assign({},c),j),r=()=>{o.reset()};export{r as c,c as f,n as g,e as o,j as p}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,c as t,h as e}from"./p-
|
|
1
|
+
import{r as s,c as t,h as e}from"./p-DOjVAAtq.js";import{C as i,a as r}from"./p-Cjcsf8ku.js";import{c as o}from"./p-Dt-vy9Le.js";import{z as h}from"./p-DS3KdLWS.js";import{S as a}from"./p-BhCH9S0e.js";import{H as n}from"./p-DszoS3BO.js";import"./p-CZfYo5-1.js";import{B as d}from"./p-XYgDHrVL.js";import"./p-BX8GieXu.js";const p=class{constructor(e){s(this,e),this.clickEvent=t(this,"click-event"),this.errorEvent=t(this,"error-event"),this.submitEvent=t(this,"submit-event"),this.loading=!1,this.businessProvisioned=!1,this.currentStep=0,this.allowOptionalFields=!1,this.setBusinessProvisioned=()=>{this.getBusiness({onSuccess:s=>{this.businessProvisioned=o(s.data),this.businessProvisioned&&this.errorEvent.emit({message:"A request to provision payments for this business has already been submitted.",errorCode:r.PROVISIONING_REQUESTED,severity:i.INFO})},onError:({error:s,code:t,severity:e})=>{this.errorEvent.emit({message:s,errorCode:t,severity:e})}})},this.postProvisioningData=()=>{this.postProvisioning({onSuccess:s=>{this.submitEvent.emit({response:s})},onError:({error:s,code:t,severity:e})=>{this.submitEvent.emit({response:{error:s}}),this.errorEvent.emit({message:s,errorCode:t,severity:e})}})},this.refs=[],this.incrementSteps=()=>{if(this.currentStep<this.totalSteps)return this.currentStep++},this.decrementSteps=()=>this.currentStep--,this.previousStepButtonOnClick=()=>{this.clickEvent.emit({name:d.previousStep}),this.decrementSteps()},this.nextStepButtonOnClick=(s,t)=>{s.preventDefault(),this.clickEvent.emit({name:t}),this.refs[this.currentStep].validateAndSubmit({onSuccess:this.incrementSteps})}}handleFormCompleted(){this.postProvisioningData()}componentWillLoad(){this.getBusiness&&this.setBusinessProvisioned(),this.refs=[this.coreInfoRef,this.legalAddressRef,this.additionalQuestionsRef,this.representativeRef,this.ownersRef,this.bankAccountRef,this.termsRef]}get businessEndpoint(){return`entities/business/${this.businessId}`}get formDisabled(){return this.loading||this.businessProvisioned}get totalSteps(){return this.refs.length-1}get stepCounter(){return`${this.currentStep+1} of ${this.totalSteps+1}`}handleFormLoading(s){this.loading=s.detail}render(){return e(a,{key:"24a788f8930d61992cdfe9aaa22271e2b72b5a64"},e("div",{key:"1b6f7fea61b3df2dab251883deb92a5b2ab1746d",class:"row gap-3"},e(n,{key:"39f8f198de6f822c32efd5252cbbd207dc0ae619",text:this.formTitle}),e("justifi-payment-provisioning-form-steps",{key:"d37cb2952eba674fd928fffca80de684b5ae6c45",businessId:this.businessId,authToken:this.authToken,refs:this.refs,currentStep:this.currentStep,allowOptionalFields:this.allowOptionalFields,handleFormLoading:this.handleFormLoading}),e("div",{key:"8d4ab45ab2a4589a04d76602923d4bf68d0aed1b",class:"d-flex justify-content-between align-items-center"},e("div",{key:"b351fd2eaeb4481ca3d173b1dc98774a96a1af5b",class:"d-flex align-items-center",part:h},this.stepCounter),e("justifi-payment-provisioning-form-buttons",{key:"c4a7ac39c8e83b55353c83509f5d8b765af1d9b4",currentStep:this.currentStep,totalSteps:this.totalSteps,formLoading:this.loading,formDisabled:this.formDisabled,previousStepButtonOnClick:this.previousStepButtonOnClick,nextStepButtonOnClick:this.nextStepButtonOnClick}))))}};export{p as justifi_payment_provisioning_core}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as i,r as s,c as t}from"./p-
|
|
1
|
+
import{h as i,r as s,c as t}from"./p-DOjVAAtq.js";import{am as e,aj as r,af as o,z as l}from"./p-DS3KdLWS.js";import{S as d}from"./p-BhCH9S0e.js";import"./p-CZfYo5-1.js";import{c as n,J as a}from"./p-Cqe5a-d3.js";import{C as h,a as c}from"./p-Cjcsf8ku.js";import{B as u}from"./p-DQZ5VHTZ.js";import{B as v}from"./p-BlJnA265.js";import{m as p}from"./p-DH8F0bsw.js";import{S as m}from"./p-BCE-dTDp.js";import"./p-a6tcNl_T.js";import"./p-HXpYMWUU.js";import{j as f,i as w,b}from"./p-C98BC5W5.js";import"./p-CLHwhyvu.js";import"./p-BH0Xfn-F.js";import{g as j,a as g}from"./p-D2muobcE.js";import{T as x}from"./p-CCLgieAN.js";import{l as y}from"./p-Bgnhf5c9.js";import"./p-DlT1rYmL.js";import"./p-DdZLLkQ5.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-DdMxswn1.js";const C=()=>i("div",{class:"row gap-3"},i("div",{class:"col-12"},i(m,{width:"25%"})),i("div",{class:"col-12"},i(m,{width:"100%"})),i("div",{class:"col-12 d-flex gap-3"},i(m,{width:"50%"}),i(m,{width:"50%"})),i("div",{class:"col-12 d-flex gap-3"},i(m,{width:"65%"}),i(m,{width:"35%"}))),S=()=>i("div",{class:"row gap-5"},i("div",{class:"col-12"},i(m,{width:"40%",height:"40px"})),i(C,null)),k=()=>i("div",{class:"terminal-selector-skeleton mt-4 rounded shadow-sm"},i("div",{class:"d-flex align-items-center gap-3"},i(m,{width:"125px",height:"125px",styles:{borderRadius:"8px"}}),i("div",{class:"flex-grow-1"},i("div",{class:"d-flex row flex-row"},i("div",{class:"col-6 flex-column"},i(m,null),i(m,{width:"60%"})),i("div",{class:"d-flex justify-content-end align-items-center gap-2 col-6"},i(m,{width:"32px",height:"32px",styles:{borderRadius:"50%"}}),i(m,{width:"80px",height:"32px"}),i(m,{width:"32px",height:"32px",styles:{borderRadius:"50%"}}))),i("div",{class:"mt-4"},i("div",{class:"d-flex flex-column gap-2"},i(m,null),i(m,null)))))),B=class{constructor(i){s(this,i),this.errorEvent=t(this,"error-event"),this.submitted=t(this,"submit-event"),this.shipping=!1,this.submitButtonText="Submit Order",this.loading={business:!0,terminals:!0},this.submitting=!1,this.error=null,this.totalQuantity=0}componentWillLoad(){this.order=new w({business_id:this.businessId,sub_account_id:this.accountId,order_type:this.shipping?b.boardingShipping:b.boardingOnly}),n(),this.analytics=new a(this),this.loadData()}disconnectedCallback(){var i;null===(i=this.analytics)||void 0===i||i.cleanup()}handleError(i,s,t){this.error={message:i,code:s,severity:t},this.errorEvent.emit({errorCode:s,message:i,severity:t})}loadData(){this.businessId&&this.authToken?(this.initializeGetBusiness(),this.initializeGetTerminalModels()):this.handleError("Invalid business id or auth token",c.MISSING_PROPS,h.ERROR)}initializeGetBusiness(){p({id:this.businessId,authToken:this.authToken,service:new u})({onSuccess:({business:i})=>{this.business=new v(i),this.loading.business=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.loading.business=!1}})}initializeGetTerminalModels(){(({id:i,authToken:s,service:t})=>async({onSuccess:e,onError:r})=>{var o,l,d,n;try{const a=await t.fetchTerminalModels(i,s);if(a.error)return r({error:g(a.error),code:j(null===(n=a.error)||void 0===n?void 0:n.code),severity:h.ERROR});e({terminals:(null===(l=null===(o=a.data)||void 0===o?void 0:o.terminal_order_models)||void 0===l?void 0:l.map((i=>new f(i))))||[],orderLimit:null===(d=a.data)||void 0===d?void 0:d.order_limit})}catch(i){const s=j(null==i?void 0:i.code);return r({error:i.message||i,code:s,severity:h.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new x})({onSuccess:({terminals:i,orderLimit:s})=>{this.terminalModels=i,this.orderLimit=s,this.loading.terminals=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.loading.terminals=!1}})}submitOrder(){const i=(({authToken:i,service:s,apiOrigin:t="https://wc-proxy.justifi.ai"})=>async({terminalOrder:e,onSuccess:r,onError:o})=>{var l;try{const d=await s.orderTerminals(i,e,t);if(d.error)return o({error:g(d.error),code:j(null===(l=d.error)||void 0===l?void 0:l.code),severity:h.ERROR});{const{data:i}=d;r({data:i})}}catch(i){const s=j(null==i?void 0:i.code);return o({error:i.message||i,code:s,severity:h.ERROR})}})({authToken:this.authToken,service:new x});this.submitting=!0,i({terminalOrder:this.order.payload,onSuccess:({data:i})=>{this.submitted.emit(i),this.submitting=!1},onError:({error:i,code:s,severity:t})=>{this.handleError(i,s,t),this.submitting=!1}})}onSelectedQuantityChange(i){this.order.updateTerminal(i.detail.modelName,i.detail.quantity),this.totalQuantity=this.order.totalQuantity}renderLoading(){return i("div",null,this.loading.business&&i(S,null),this.loading.terminals&&i("div",{class:"mt-5"},i(k,null),i(k,null),i(k,null)))}renderBusinessDetails(){var s,t,o,l,d,n,a,h;if(!this.loading.business&&this.business)return i("div",{class:"d-flex flex-column gap-4 mb-5 pt-5"},i("div",{class:"row"},i("div",{class:"col-12"},i("h2",{part:r},this.business.legal_name))),i("div",{class:"row"},i("div",{class:"col-6"},i("h5",{part:e},"Representative:"),i("div",null,i("div",null,null===(t=null===(s=this.business)||void 0===s?void 0:s.representative)||void 0===t?void 0:t.name),i("div",null,null===(l=null===(o=this.business)||void 0===o?void 0:o.representative)||void 0===l?void 0:l.title),i("div",null,null===(n=null===(d=this.business)||void 0===d?void 0:d.representative)||void 0===n?void 0:n.email),i("div",null,y(null===(h=null===(a=this.business)||void 0===a?void 0:a.representative)||void 0===h?void 0:h.phone)))),i("div",{class:"col-6"},i("h5",{part:e},this.shipping?"Shipping Address:":"Business Address:"),i("div",null,this.business.legal_address.line1,this.business.legal_address.line2?`, ${this.business.legal_address.line2}`:"",i("br",null),this.business.legal_address.city,", ",this.business.legal_address.state," ",this.business.legal_address.postal_code))))}renderTerminals(){if(!this.loading.terminals&&this.terminalModels)return i("div",{class:"d-flex flex-column gap-2 mt-5"},this.terminalModels.map((s=>i("terminal-quantity-selector",{modelName:s.model_name,description:s.description,imageUrl:s.image_url,helpUrl:s.help_url,limit:this.orderLimit-this.order.totalQuantity,onSelectedQuantityChange:this.onSelectedQuantityChange.bind(this)}))))}renderOrderSection(){return i("div",{class:"mt-3"},i("div",{class:"text-end"},"Order limit: ",this.orderLimit),i("div",{class:"d-flex justify-content-end mt-3"},i("button",{class:"btn btn-primary submit-btn",onClick:this.submitOrder.bind(this),disabled:0===this.order.totalQuantity||this.submitting,part:o},this.submitting?"Submitting...":this.submitButtonText)))}render(){return i(d,{key:"3ea6cebd4ab6bc47090056581482dab8502175c1"},i("div",{key:"383dc710920b5119841d5cf6f1b596ebc349fd5a",part:l},this.renderLoading(),this.renderBusinessDetails(),this.renderTerminals(),this.renderOrderSection()))}};export{B as justifi_order_terminals}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,c as s,h as a,H as e}from"./p-
|
|
1
|
+
import{r as t,c as s,h as a,H as e}from"./p-DOjVAAtq.js";import{b as i,U as o,a as r,c as h,l as c,V as n}from"./p-DS3KdLWS.js";import{F as d}from"./p-iT-AQTXJ.js";import{F as f}from"./p-DFEINx3E.js";import"./p-CZfYo5-1.js";import{f as l}from"./p-Bgnhf5c9.js";import"./p-HXpYMWUU.js";const p=class{constructor(a){t(this,a),this.formControlInput=s(this,"formControlInput"),this.formControlBlur=s(this,"formControlBlur"),this.isFocused=!1,this.defaultValue="0",this.formatRawValue=t=>t.replace(/\D/g,""),this.formatDisplayValue=t=>l(+t,void 0,!0),this.updateInput=t=>{const s=this.formControl.name,a=this.formatRawValue(t);this.formControl.value=this.formatDisplayValue(a),this.inputHandler(s,a),this.formControlInput.emit({name:s,value:a})}}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}get inputPart(){return this.errorText?i:this.disabled?o:this.isFocused?r:h}render(){return a(e,{key:"fdd31eca7047ab022668fd4ad9ebbde3ec691508"},a("div",{key:"fda274a4e96edc22bb99e699faaa91b37b95a856",class:"form-group d-flex flex-column"},a("label",{key:"72e259579224953c92c9df1f7e32cda7344019ac",part:c,class:"form-label",htmlFor:this.name},this.label),a(d,{key:"f548c208758806082639372954d1634cd7202570",name:this.name,helpText:this.helpText}),a("div",{key:"3365f9842f780d2ce8903a798fdf71df7673aae7",class:"input-group"},a("span",{key:"c6f8169b97667ee821ba79aec2ea2e1b0d35e3f6",class:"input-group-text",part:n},"$"),a("input",{key:"d8995e95fd187dda908dbacba511547c13bb4b27",ref:t=>this.formControl=t,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:t=>this.updateInput(t.target.value),onKeyDown:this.keyDownHandler,onPaste:this.keyDownHandler,maxLength:this.maxLength,part:this.inputPart,class:this.errorText?"form-control is-invalid":"form-control",type:"text",disabled:this.disabled})),a(f,{key:"00127c5cdce079d88a8b902c16d960201ff3bce1",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{p as form_control_monetary}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as s,h as i,H as a}from"./p-DOjVAAtq.js";import{I as e}from"./p-Ce_F4E0f.js";import{C as r}from"./p-B-iV5cYd.js";import{a3 as h,l as o,V as n,b as c,U as l,a as f}from"./p-DS3KdLWS.js";import{F as d}from"./p-iT-AQTXJ.js";import{F as p}from"./p-DFEINx3E.js";import"./p-CZfYo5-1.js";const m=class{constructor(i){t(this,i),this.formControlInput=s(this,"formControlInput"),this.formControlBlur=s(this,"formControlBlur"),this.imask=null,this.isFocused=!1,this.maskOptions=r.DECIMAL,this.initializeIMask=()=>{this.textInput&&(this.imask=e(this.textInput,this.maskOptions),this.imask.on("accept",(()=>{const t=this.imask.unmaskedValue;this.inputHandler(this.name,t),this.formControlInput.emit({name:this.name,value:t})})),this.textInput.addEventListener("blur",(()=>this.formControlBlur.emit())))},this.handleFormControlInput=t=>{const s=t.target.getAttribute("name");this.formControlInput.emit({name:s,value:this.imask.unmaskedValue})},this.updateInput=t=>{this.imask&&(this.imask.value=String(t))}}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.initializeIMask(),this.updateInput(this.defaultValue)}disconnectedCallback(){var t;null===(t=this.imask)||void 0===t||t.destroy()}get inputPart(){let t=h;return this.errorText&&(t=c),this.disabled&&(t=l),this.isFocused&&(t=f),t}render(){return i(a,{key:"8378b6d06aeeb48d1e3efed4d16b22655e2c23ff"},i("div",{key:"cc432cb0a138c336def8b55ac06aa933407d38ef",class:"form-group d-flex flex-column"},i("label",{key:"08119d56a108275c4f25d28f7b8074ca134c3b72",part:o,class:"form-label",htmlFor:this.name},this.label),i("div",{key:"bcf621d3cae2636304185197cb8d3f40f3f0f173",class:"input-group"},i("span",{key:"3ee602416b555c9bf561abc4055f0a2485762551",class:"input-group-text",part:n},"$"),i("input",{key:"54c1257a97daae319f5c0ce7556638790e3f286b",ref:t=>this.textInput=t,id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.inputPart,class:this.errorText?"form-control monetary is-invalid":"form-control monetary",type:"text",disabled:this.disabled})),i(d,{key:"b7458313a43d454ad8988f1e4548c7034a5d09d8",helpText:this.helpText,name:this.name}),i(p,{key:"8e59747949f4fa6697a3b7c083bcd6584d1f5411",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{m as form_control_monetary_provisioning}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as i,H as o}from"./p-DOjVAAtq.js";import{C as s}from"./p-ZpPDShvP.js";import{r as a}from"./p-DS3KdLWS.js";import"./p-HXpYMWUU.js";const d=class{constructor(i){e(this,i),this.paymentMethodOptionSelected=t(this,"paymentMethodOptionSelected"),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,d;return i(o,{key:"5ec0e8509e57396844602de87fde994f5da2ba83",class:"payment-method"},i("div",{key:"f2a45d84e969cd04aca91d61f5819bfc85f558c9",class:"radio-list-item p-3",part:a,onClick:this.onPaymentMethodOptionClick},i("form-control-radio",{key:"1f4c35b2b6faa8ee42a1ee7347ddf2238b47fe50",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===(d=this.paymentMethodOption)||void 0===d?void 0:d.acct_last_four}`})))}};export{d as justifi_saved_payment_method}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as t,r as e,c as a}from"./p-
|
|
1
|
+
import{h as t,r as e,c as a}from"./p-DOjVAAtq.js";import{c as i}from"./p-a6tcNl_T.js";import"./p-HXpYMWUU.js";import{C as s,a as o}from"./p-Cjcsf8ku.js";import{h as r}from"./p-C98BC5W5.js";import{p as c}from"./p-CLHwhyvu.js";import"./p-BlJnA265.js";import"./p-BH0Xfn-F.js";import{c as n,J as d}from"./p-Cqe5a-d3.js";import{g as p,a as h}from"./p-D2muobcE.js";import{P as l}from"./p-8S_ROmnq.js";import{T as f,l as u,a as m,b,c as y,d as _,e as w,f as j,g as T,h as v,i as g,j as k,k as D}from"./p-SWI5-Jo-.js";import{S as C}from"./p-BhCH9S0e.js";import{T as S}from"./p-CZfYo5-1.js";import{a as P}from"./p-Bgnhf5c9.js";import{O as I,P as q}from"./p-DS3KdLWS.js";import"./p-DdMxswn1.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-DlT1rYmL.js";import"./p-DdZLLkQ5.js";import"./p-BBzXThAT.js";const O={id:()=>t("th",{part:I,scope:"col",title:"The unique identifier of each transaction"},"ID"),account_id:()=>t("th",{part:I,scope:"col",title:"The unique identifier of the account associated with each transaction"},"Account ID"),payout_id:()=>t("th",{part:I,scope:"col",title:"The unique identifier of the payout associated with each transaction"},"Payout ID"),financial_transaction_id:()=>t("th",{part:I,scope:"col",title:"The unique identifier of the financial transaction associated with the payment balance transaction"},"Financial Transaction ID"),amount:()=>t("th",{part:I,scope:"col",title:"The dollar amount of each transaction"},"Amount"),fee:()=>t("th",{part:I,scope:"col",title:"The fee associated with each transaction"},"Fee"),net:()=>t("th",{part:I,scope:"col",title:"The net amount of each transaction"},"Net"),currency:()=>t("th",{part:I,scope:"col",title:"The currency of each transaction"},"Currency"),description:()=>t("th",{part:I,scope:"col",title:"The description of each transaction"},"Description"),source_id:()=>t("th",{part:I,scope:"col",title:"The unique identifier of the source object associated with the payment balance transaction"},"Source ID"),txn_type:()=>t("th",{part:I,scope:"col",title:"The type of each transaction"},"Type"),created_at:()=>t("th",{part:I,scope:"col",title:"The date and time each transaction was made"},"Processed On"),available_on:()=>t("th",{part:I,scope:"col",title:"The date and time each transaction will be available"},"Available On"),updated_at:()=>t("th",{part:I,scope:"col",title:"The date and time each transaction was last updated"},"Updated On")},A={fee:"Fee",payment:"Payment",payout:"Payout",seller_payment_refund:"Seller Payment Refund",dispute_amount_collected:"Dispute Amount Collected",dispute_fee_collected:"Dispute Fee Collected",seller_payment:"Seller Payment",transfer:"Transfer",partner_platform_proceeds_credit:"Partner Platform Proceeds Credit"},B={id:e=>t("td",{part:q(e.id)},e.id),account_id:e=>t("td",{part:q(e.account_id)},e.account_id),payout_id:e=>t("td",{part:q(e.payout_id)},e.payout_id),financial_transaction_id:e=>t("td",{part:q(e.financial_transaction_id)},e.financial_transaction_id),amount:e=>t("td",{part:q(e.amount)},e.formattedPaymentAmount(e.amount)),fee:e=>t("td",{part:q(e.fee)},e.formattedPaymentAmount(e.fee)),net:e=>t("td",{part:q(e.net)},e.formattedPaymentAmount(e.net)),currency:e=>t("td",{part:q(e.currency)},e.currency),description:e=>t("td",{part:q(e.description)},e.description),source_id:e=>t("td",{part:q(e.source_id)},e.source_id),txn_type:e=>t("td",{part:q(e.txn_type)},A[e.txn_type]),created_at:e=>t("td",{part:q(e.created_at)},t("div",{class:"fw-bold"},P(e.created_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},P(e.created_at,{showTime:!0}))),available_on:e=>t("td",{part:q(e.available_on)},t("div",{class:"fw-bold"},P(e.available_on,{showDisplayDate:!0})),t("div",{class:"fw-bold"},P(e.available_on,{showTime:!0}))),updated_at:e=>t("td",{part:q(e.updated_at)},t("div",{class:"fw-bold"},P(e.updated_at,{showDisplayDate:!0})),t("div",{class:"fw-bold"},P(e.updated_at,{showTime:!0})))},L=class{constructor(t){e(this,t),this.clickEvent=a(this,"click-event"),this.errorEvent=a(this,"error-event"),this.balanceTransactions=[],this.isLoading=!0,this.errorMessage=null,this.paging=c,this.pagingParams={},this.columns="created_at,txn_type,description,amount,fee,net",this.handleClickPrevious=t=>{this.pagingParams={before_cursor:t},this.clickEvent.emit({name:S.previous})},this.handleClickNext=t=>{this.pagingParams={after_cursor:t},this.clickEvent.emit({name:S.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:S.row,data:a})}}componentWillLoad(){this.transactionsTable=new f(this.balanceTransactions,this.columns,O,B),n(),this.analytics=new d(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.payoutId&&this.authToken?(({accountId:t,authToken:e,service:a})=>async({params:i,onSuccess:o,onError:c,final:n})=>{var d;try{const n=await a.fetchPayoutTransactions(t,e,i);n.error?c({error:h(n.error),code:p(null===(d=n.error)||void 0===d?void 0:d.code),severity:s.ERROR}):o({balanceTransactions:n.data.map((t=>new r(t))),pagingInfo:Object.assign({},n.page_info)})}catch(t){const e=p(null==t?void 0:t.code);c({error:h(t),code:e,severity:s.ERROR})}finally{n()}})({accountId:i.accountId,authToken:this.authToken,service:new l})({params:this.requestParams,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="payout-id and auth-token props are required",this.handleError(o.MISSING_PROPS,this.errorMessage,s.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}get requestParams(){return Object.assign({payout_id:this.payoutId,limit:"15"},this.pagingParams)}render(){return t(C,{key:"f795f89fe39f8cded7f0d9c671df8e3e86de6f03"},t(u,{key:"5bb5f805a78965068f675012a1a491e5dd3d4416"},t(m,{key:"c75e72fb5bde6b3f8f127be4d76ef1fa66ce6781"},t(b,{key:"3dfb03ed0205f6fff21953e0a4c85e8b151680a1"},t(y,{key:"169156e61bdf1ce6e10b89c660526a7ec9efb860"},this.transactionsTable.columnData.map((t=>t)))),t(_,{key:"1e59e340e98ace8291acfbe26836e5b2b7b7dd29"},t(w,{key:"3c1a420d293d24ac9434f034c7e6de7a83698b63",columnSpan:this.transactionsTable.columnKeys.length,isLoading:this.isLoading}),t(j,{key:"2038ebb6ff5480d74b0bb6a6ecf31a9531f606ef",isEmpty:this.showEmptyState,columnSpan:this.transactionsTable.columnKeys.length}),t(T,{key:"48582c83e384b4e5ba81c4d0055dc9e727a81cdd",columnSpan:this.transactionsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.transactionsTable.rowData.map(((e,a)=>t(v,{"data-test-id":"table-row","data-row-entity-id":this.entityId[a],onClick:this.rowClickHandler},e)))),this.paging&&t(g,{key:"0bb2c1f4085278db7b114c8b9c5a11702a1840d1"},t(k,{key:"2cc9fe5d66b433b392da1e0a1ae265db6404002d"},t(D,{key:"cb21e30d68c92758efa03fbd16509ff28ab5e316",colSpan:this.transactionsTable.columnData.length},t("pagination-menu",{key:"e5ac8aa63ddb08d7f70976cfceccbadab3b8efa9",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext})})))))))}static get watchers(){return{pagingParams:["propChanged"],payoutId:["propChanged"],authToken:["propChanged"]}}};export{L as justifi_payout_transactions_list}
|