@justifi/webcomponents 5.5.0 → 5.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Refund-DpKGhW3o.js → Refund-CpurRc4w.js} +79 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-BXpCpcer.js → badge-DwSZ83Bm.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +6 -6
- package/dist/cjs/bank-account-form_9.cjs.entry.js +6 -6
- package/dist/cjs/business-details-core.cjs.entry.js +4 -4
- package/dist/cjs/{button-KWTLx2LP.js → button-Cp4u5YgP.js} +1 -1
- package/dist/cjs/{check-pkg-version-CLsX6cK5.js → check-pkg-version-C4d9pl8G.js} +1 -1
- package/dist/cjs/{checkout.service-r90INf2g.js → checkout.service-DP9FnXBx.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +9 -9
- package/dist/cjs/{payouts-list-params-state-Cmfy_CND.js → checkouts-list-params-state-DX4jg37H.js} +1 -1
- package/dist/cjs/{checkouts-table-5jU4JUcM.js → checkouts-table-nsXjlcI1.js} +2 -2
- package/dist/cjs/custom-popper_4.cjs.entry.js +8 -8
- package/dist/cjs/{dispute.service-CGgfmGU-.js → dispute.service-F-M8EJxq.js} +1 -1
- package/dist/cjs/{event-types-CJapDsYA.js → event-types-CjInBN20.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-D19AMaOO.js → form-control-error-text-NbHDc1JL.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-CbrDvt9D.js → form-control-help-text-bc3qGHAG.js} +1 -1
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +3 -3
- 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 +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/{get-payment-details-CKg1Lb3_.js → get-payment-details-DQyJtwTw.js} +1 -1
- package/dist/cjs/get-payout-csv-Jr_0DmmY.js +24 -0
- package/dist/cjs/{get-subaccounts-YlFT-fBr.js → get-subaccounts-zwxhG-O3.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-ZNnpq6yT.js → header-1-kwWMtg3s.js} +1 -1
- package/dist/cjs/{header-3-D6LxdW_A.js → header-3-CNWIH9ZU.js} +1 -1
- package/dist/cjs/{iframe-input-styles-state-CQL59u0d.js → iframe-input-styles-state-jHHRvqzM.js} +1 -1
- package/dist/cjs/iframe-input.cjs.entry.js +8 -8
- package/dist/cjs/{index-DtkhH7sB.js → index-BRQfozbS.js} +1 -1
- package/dist/cjs/{index-DhcqPIbT.js → index-DzQdh5ij.js} +1 -1
- package/dist/cjs/{insurance-state-q5eNmjIK.js → insurance-state-DbXkNYds.js} +2 -2
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +4 -4
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +3 -3
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-business-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-form.cjs.entry.js +8 -8
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +7 -7
- package/dist/cjs/justifi-checkout.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +6 -6
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +11 -11
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -8
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +195 -0
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -8
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +203 -0
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -12
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +9 -9
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +5 -5
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +5 -5
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +7 -7
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{package-5B4P3NpD.js → package-S6wVKDKx.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
- package/dist/cjs/{payment.service-BrHUGHYs.js → payment.service-BstXaxH5.js} +5 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{terminal-orders-list-params-state-Cmfy_CND.js → payments-list-params-state-DX4jg37H.js} +1 -1
- package/dist/cjs/{payments-status-DAzq_Z13.js → payments-status-CQq7KrHL.js} +2 -2
- package/dist/cjs/{payments-table-BEpL6oJQ.js → payments-table-ClOxMnZ8.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
- package/dist/cjs/{get-payout-csv-DD9C5yMw.js → payout.service-DWOtnFdn.js} +7 -22
- package/dist/cjs/payouts-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{payments-list-params-state-Cmfy_CND.js → payouts-list-params-state-DX4jg37H.js} +1 -1
- package/dist/cjs/{payouts-status-CYrKPRld.js → payouts-status-BdfV3jvX.js} +2 -2
- package/dist/cjs/{payouts-table-Bbi23U5v.js → payouts-table-Bo3pLf4Z.js} +2 -2
- package/dist/cjs/{skeleton-C59M0QK2.js → skeleton-BXVndBVC.js} +1 -1
- package/dist/cjs/{spinner-736baCoH.js → spinner-CSH2OUiV.js} +1 -1
- package/dist/cjs/{styled-host-JifnTMIV.js → styled-host-CzJ8Ux1t.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +9 -9
- package/dist/cjs/{checkouts-list-params-state-Cmfy_CND.js → terminal-orders-list-params-state-DX4jg37H.js} +1 -1
- package/dist/cjs/{terminal-orders-table-w4Yaf83b.js → terminal-orders-table-CXmVc7uU.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-BjSo5Cm4.js → terminal.service-ghxwDinY.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +9 -9
- package/dist/cjs/terminals-list-params-state-DX4jg37H.js +22 -0
- package/dist/cjs/{terminals-table-F6pkR97i.js → terminals-table-vYbTPOpy.js} +2 -2
- package/dist/cjs/{utils-D3seTk2e.js → utils-DxbncJhj.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/actions/payment/get-payment-transactions.js +34 -0
- package/dist/collection/actions/payout/get-payout-transactions.js +34 -0
- package/dist/collection/api/PaymentBalanceTransaction.js +45 -0
- package/dist/collection/api/PayoutBalanceTransaction.js +35 -0
- package/dist/collection/api/index.js +2 -0
- package/dist/collection/api/services/payment.service.js +4 -0
- package/dist/collection/api/services/payout.service.js +5 -0
- package/dist/collection/collection-manifest.json +3 -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/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +248 -0
- package/dist/collection/components/payment-transactions-list/payment-transactions-table.js +45 -0
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +250 -0
- package/dist/collection/components/payout-transactions-list/payout-transactions-table.js +47 -0
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/docs.json +335 -5
- package/dist/esm/{Refund-t_P1yy9d.js → Refund-DOvd7RJp.js} +78 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-C4TzL9CB.js → badge-D5PvLnZT.js} +2 -2
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +7 -7
- package/dist/esm/bank-account-form_9.entry.js +7 -7
- package/dist/esm/business-details-core.entry.js +5 -5
- package/dist/esm/{button-CI85Rqy5.js → button-wgHJf7hN.js} +2 -2
- package/dist/esm/{check-pkg-version-Wd4E_Njt.js → check-pkg-version-iIBw3nCc.js} +1 -1
- package/dist/esm/{checkout.service-4tnXBKGq.js → checkout.service-92ld4w-G.js} +1 -1
- package/dist/esm/checkouts-list-core.entry.js +10 -10
- package/dist/esm/{checkouts-list-params-state-Gbxdxjoi.js → checkouts-list-params-state-qgJxi6iW.js} +1 -1
- package/dist/esm/{checkouts-table-CHM4YCCZ.js → checkouts-table-DQfjKgR-.js} +3 -3
- package/dist/esm/custom-popper_4.entry.js +9 -9
- package/dist/esm/{dispute.service-Bwh8pBe9.js → dispute.service-H2Oaq2af.js} +1 -1
- package/dist/esm/{event-types-CooIFpFI.js → event-types-Dv-I6YqZ.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +2 -2
- package/dist/esm/form-control-checkbox.entry.js +6 -6
- package/dist/esm/form-control-date.entry.js +5 -5
- package/dist/esm/{form-control-error-text-3q5yVuMQ.js → form-control-error-text-nyeinPVQ.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +6 -6
- package/dist/esm/{form-control-help-text-BplkZkPF.js → form-control-help-text-QhxeQeTV.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +4 -4
- package/dist/esm/form-control-monetary.entry.js +6 -6
- package/dist/esm/form-control-number-masked_2.entry.js +5 -5
- package/dist/esm/form-control-number.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +4 -4
- package/dist/esm/{get-payment-details-BbZmEGge.js → get-payment-details-Bzh5t6A8.js} +1 -1
- package/dist/esm/get-payout-csv-bM3pZLKB.js +22 -0
- package/dist/esm/{get-subaccounts-58LQOtEI.js → get-subaccounts-BB3Sqb3H.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-BX6i3__G.js → header-1-DNg4xuR6.js} +2 -2
- package/dist/esm/{header-3-D0Sy-7DJ.js → header-3-BD_mh7vB.js} +2 -2
- package/dist/esm/{iframe-input-styles-state-DyXIZw1A.js → iframe-input-styles-state-DeH54Fkx.js} +1 -1
- package/dist/esm/iframe-input.entry.js +9 -9
- package/dist/esm/{index-Cuk6aIda.js → index-4sfb1rKO.js} +1 -1
- package/dist/esm/{index-BUM1DfV9.js → index-D4-FKsCU.js} +1 -1
- package/dist/esm/{insurance-state-BhklYgGK.js → insurance-state-CXUWRQQk.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +5 -5
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +4 -4
- package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
- package/dist/esm/justifi-business-details.entry.js +5 -5
- package/dist/esm/justifi-business-form.entry.js +9 -9
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +8 -8
- package/dist/esm/justifi-checkout.entry.js +5 -5
- package/dist/esm/justifi-checkouts-list-filters.entry.js +7 -7
- package/dist/esm/justifi-checkouts-list.entry.js +11 -11
- package/dist/esm/justifi-details.entry.js +3 -3
- package/dist/esm/justifi-dispute-management-core.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +6 -6
- package/dist/esm/justifi-dispute-notification_3.entry.js +12 -12
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/justifi-order-terminals.entry.js +9 -9
- package/dist/esm/justifi-owner-form_3.entry.js +3 -3
- package/dist/esm/justifi-payment-details.entry.js +8 -8
- package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
- package/dist/esm/justifi-payment-transactions-list.entry.js +193 -0
- package/dist/esm/justifi-payments-list-filters.entry.js +7 -7
- package/dist/esm/justifi-payments-list.entry.js +11 -11
- package/dist/esm/justifi-payout-details.entry.js +8 -7
- package/dist/esm/justifi-payout-transactions-list.entry.js +201 -0
- package/dist/esm/justifi-payouts-list-filters.entry.js +7 -7
- package/dist/esm/justifi-payouts-list.entry.js +13 -12
- package/dist/esm/justifi-refund-payment.entry.js +10 -10
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +6 -6
- package/dist/esm/justifi-season-interruption-insurance.entry.js +5 -5
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +8 -8
- package/dist/esm/justifi-terminal-orders-list.entry.js +9 -9
- package/dist/esm/justifi-terminals-list-filters.entry.js +7 -7
- package/dist/esm/justifi-terminals-list.entry.js +11 -11
- package/dist/esm/justifi-tokenize-payment-method.entry.js +8 -8
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{package-gAO-RwrF.js → package-DGWLSvML.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +2 -2
- package/dist/esm/{parts-CB88j97I.js → parts-6ctk_bhj.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +14 -14
- package/dist/esm/{payment.service-Co_fPTvK.js → payment.service-CeGn-K_X.js} +5 -1
- package/dist/esm/payments-list-core.entry.js +11 -11
- package/dist/esm/{payments-list-params-state-Gbxdxjoi.js → payments-list-params-state-qgJxi6iW.js} +1 -1
- package/dist/esm/{payments-status-BLhcMfnC.js → payments-status-nKLMqTrO.js} +2 -2
- package/dist/esm/{payments-table-VcaC77NC.js → payments-table-BrvZHeak.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +9 -9
- package/dist/esm/{get-payout-csv-BKq22mOI.js → payout.service-dukCI9Kl.js} +8 -22
- package/dist/esm/payouts-list-core.entry.js +11 -11
- package/dist/esm/{payouts-list-params-state-Gbxdxjoi.js → payouts-list-params-state-qgJxi6iW.js} +1 -1
- package/dist/esm/{payouts-status-B9SSljnL.js → payouts-status-tVJFGPCs.js} +2 -2
- package/dist/esm/{payouts-table-DWBaNPmV.js → payouts-table-CgfTp9tE.js} +3 -3
- package/dist/esm/{skeleton-B-oFGeeG.js → skeleton-D8dsThNX.js} +2 -2
- package/dist/esm/{spinner-ptEcaLdc.js → spinner-BVJ-upD0.js} +2 -2
- package/dist/esm/{styled-host-BHVh70Zk.js → styled-host-D594Ui4d.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +4 -4
- package/dist/esm/terminal-orders-list-core.entry.js +10 -10
- package/dist/esm/{terminal-orders-list-params-state-Gbxdxjoi.js → terminal-orders-list-params-state-qgJxi6iW.js} +1 -1
- package/dist/esm/{terminal-orders-table-fuxIpfJ2.js → terminal-orders-table-CgioW1d8.js} +4 -4
- package/dist/esm/terminal-quantity-selector.entry.js +3 -3
- package/dist/esm/{terminal.service-BLOZ-ZlR.js → terminal.service-L0EoPXUE.js} +1 -1
- package/dist/esm/terminals-list-core.entry.js +10 -10
- package/dist/esm/terminals-list-params-state-qgJxi6iW.js +16 -0
- package/dist/esm/{terminals-table-Dn71oQMb.js → terminals-table-D7LKwR85.js} +3 -3
- package/dist/esm/{utils-B4pV3GWr.js → utils-1z8cNzLu.js} +2 -2
- package/dist/esm/webcomponents.js +4 -4
- package/dist/module/Refund.js +78 -1
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/get-payout-csv.js +1 -25
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/index.js +1 -1
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-order-terminals.js +2 -2
- package/dist/module/justifi-payment-transactions-list.d.ts +11 -0
- package/dist/module/justifi-payment-transactions-list.js +229 -0
- 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 +2 -1
- package/dist/module/justifi-payout-transactions-list.d.ts +11 -0
- package/dist/module/justifi-payout-transactions-list.js +237 -0
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +3 -2
- package/dist/module/justifi-refund-payment.js +1 -1
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +2 -2
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payment.service.js +4 -0
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payout.service.js +32 -0
- 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/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +1 -1
- package/dist/types/actions/payment/get-payment-transactions.d.ts +11 -0
- package/dist/types/actions/payout/get-payout-transactions.d.ts +10 -0
- package/dist/types/api/PaymentBalanceTransaction.d.ts +42 -0
- package/dist/types/api/PayoutBalanceTransaction.d.ts +46 -0
- package/dist/types/api/index.d.ts +2 -0
- package/dist/types/api/services/payment.service.d.ts +2 -0
- package/dist/types/api/services/payout.service.d.ts +3 -1
- package/dist/types/components/payment-transactions-list/payment-transactions-list.d.ts +32 -0
- package/dist/types/components/payment-transactions-list/payment-transactions-table.d.ts +43 -0
- package/dist/types/components/payout-transactions-list/payout-transactions-list.d.ts +33 -0
- package/dist/types/components/payout-transactions-list/payout-transactions-table.d.ts +45 -0
- package/dist/types/components.d.ts +78 -0
- package/dist/types/stencil-public-runtime.d.ts +19 -0
- package/dist/webcomponents/p-009c6766.entry.js +1 -0
- package/dist/webcomponents/{p-456f8c0a.entry.js → p-048ed3f0.entry.js} +1 -1
- package/dist/webcomponents/p-0764cfde.entry.js +1 -0
- package/dist/webcomponents/p-08dcbb41.entry.js +1 -0
- package/dist/webcomponents/{p-65345bd4.entry.js → p-0b0e44c4.entry.js} +1 -1
- package/dist/webcomponents/{p-2fe9576b.entry.js → p-0b1bbf91.entry.js} +1 -1
- package/dist/webcomponents/{p-3147bfe2.entry.js → p-0c9c8d6f.entry.js} +1 -1
- package/dist/webcomponents/p-103692ef.entry.js +1 -0
- package/dist/webcomponents/p-103deee0.entry.js +1 -0
- package/dist/webcomponents/{p-063dd981.entry.js → p-10ad134d.entry.js} +1 -1
- package/dist/webcomponents/{p-cf8f69de.entry.js → p-175a913f.entry.js} +1 -1
- package/dist/webcomponents/p-1c2bedfe.entry.js +1 -0
- package/dist/webcomponents/p-36656ed1.entry.js +1 -0
- package/dist/webcomponents/p-3678f5fb.entry.js +1 -0
- package/dist/webcomponents/p-3b1f69fd.entry.js +1 -0
- package/dist/webcomponents/p-405f135e.entry.js +1 -0
- package/dist/webcomponents/{p-9a9bb294.entry.js → p-40614f67.entry.js} +1 -1
- package/dist/webcomponents/{p-08d5b491.entry.js → p-41a0b83c.entry.js} +1 -1
- package/dist/webcomponents/p-4361ae88.entry.js +1 -0
- package/dist/webcomponents/{p-6d2a48f5.entry.js → p-487514c2.entry.js} +1 -1
- package/dist/webcomponents/p-4994c980.entry.js +1 -0
- package/dist/webcomponents/{p-7ddd7122.entry.js → p-4c4cc0ad.entry.js} +3 -3
- package/dist/webcomponents/p-4d5b8876.entry.js +1 -0
- package/dist/webcomponents/{p-4addd069.entry.js → p-529bf046.entry.js} +1 -1
- package/dist/webcomponents/p-5321c7d5.entry.js +1 -0
- package/dist/webcomponents/{p-34cfafed.entry.js → p-54aa7e86.entry.js} +1 -1
- package/dist/webcomponents/p-5aeOUdhX.js +1 -0
- package/dist/webcomponents/{p-2d80f427.entry.js → p-601669bb.entry.js} +1 -1
- package/dist/webcomponents/p-63c835b9.entry.js +1 -0
- package/dist/webcomponents/p-656ec7b6.entry.js +1 -0
- package/dist/webcomponents/{p-CB88j97I.js → p-6ctk_bhj.js} +1 -1
- package/dist/webcomponents/{p-c558725e.entry.js → p-6d36d6a7.entry.js} +1 -1
- package/dist/webcomponents/p-76e7c283.entry.js +1 -0
- package/dist/webcomponents/{p-5dc3a795.entry.js → p-81a1be23.entry.js} +1 -1
- package/dist/webcomponents/p-81d682ba.entry.js +1 -0
- package/dist/webcomponents/p-85681d97.entry.js +1 -0
- package/dist/webcomponents/p-88539215.entry.js +1 -0
- package/dist/webcomponents/{p-6c4927e7.entry.js → p-896e4fb2.entry.js} +1 -1
- package/dist/webcomponents/{p-dfcf19f2.entry.js → p-8bc32c27.entry.js} +1 -1
- package/dist/webcomponents/{p-f0301d11.entry.js → p-8d4d2ac3.entry.js} +1 -1
- package/dist/webcomponents/{p-b7053613.entry.js → p-9349d32e.entry.js} +1 -1
- package/dist/webcomponents/p-938e0dbc.entry.js +1 -0
- package/dist/webcomponents/p-94d81903.entry.js +1 -0
- package/dist/webcomponents/{p-4ee6482d.entry.js → p-9767500b.entry.js} +1 -1
- package/dist/webcomponents/{p-d5675bf5.entry.js → p-9cf5ed80.entry.js} +1 -1
- package/dist/webcomponents/p-AVaenhw9.js +1 -0
- package/dist/webcomponents/p-B2H14Naw.js +1 -0
- package/dist/webcomponents/{p-D9t-X0IY.js → p-B4iBNBBM.js} +1 -1
- package/dist/webcomponents/p-BAXE_ZfF.js +1 -0
- package/dist/webcomponents/{p-BVwkHwTc.js → p-BLdGqrQH.js} +1 -1
- package/dist/webcomponents/p-BupmNfQ5.js +1 -0
- package/dist/webcomponents/p-BvWS8buZ.js +1 -0
- package/dist/webcomponents/{p-D89x2FYg.js → p-BwgcVN7d.js} +1 -1
- package/dist/webcomponents/{p-eYaGyUvS.js → p-BxGoUIgN.js} +1 -1
- package/dist/webcomponents/{p-sXe3gn-5.js → p-C3uv9u0l.js} +1 -1
- package/dist/webcomponents/{p-BWFriesi.js → p-CCN8wTYX.js} +1 -1
- package/dist/webcomponents/{p-CwHcfOV7.js → p-CG9te8PM.js} +1 -1
- package/dist/webcomponents/p-CRgzzPY4.js +1 -0
- package/dist/webcomponents/p-CZLIteZz.js +1 -0
- package/dist/webcomponents/{p-DhEfW-kS.js → p-C_9TcvwA.js} +1 -1
- package/dist/webcomponents/p-CbZjB3qJ.js +1 -0
- package/dist/webcomponents/p-CfbB7agn.js +1 -0
- package/dist/webcomponents/{p-CTBH4Lj9.js → p-CgS6VBEy.js} +1 -1
- package/dist/webcomponents/{p-CnyMKcfC.js → p-D5q9gEvl.js} +1 -1
- package/dist/webcomponents/{p-QYQ4VLoz.js → p-D5wGYrfz.js} +1 -1
- package/dist/webcomponents/{p-01wziNa9.js → p-D6mhG0dV.js} +1 -1
- package/dist/webcomponents/p-DArbkdtn.js +1 -0
- package/dist/webcomponents/{p-BuYnqWwT.js → p-DBfKxfCX.js} +1 -1
- package/dist/webcomponents/p-DEa8EbZW.js +1 -0
- package/dist/webcomponents/p-DGWLSvML.js +1 -0
- package/dist/webcomponents/p-DPC4A7AZ.js +1 -0
- package/dist/webcomponents/{p-DhQ2XlhY.js → p-DavDfnxI.js} +1 -1
- package/dist/webcomponents/{p-0czqizJW.js → p-DgQyL5KO.js} +1 -1
- package/dist/webcomponents/{p-DoH48u6u.js → p-DmBEzYCU.js} +1 -1
- package/dist/webcomponents/p-EbYREopN.js +1 -0
- package/dist/webcomponents/p-NI7Keg2H.js +1 -0
- package/dist/webcomponents/p-XazJ9qLe.js +1 -0
- package/dist/webcomponents/p-Xql8Xhsx.js +1 -0
- package/dist/webcomponents/{p-a9eff0f2.entry.js → p-a4e7d24f.entry.js} +1 -1
- package/dist/webcomponents/{p-ab99e4c6.entry.js → p-a78bf0f7.entry.js} +1 -1
- package/dist/webcomponents/{p-c6534f5f.entry.js → p-a83bf2c0.entry.js} +1 -1
- package/dist/webcomponents/p-b15d6c77.entry.js +1 -0
- package/dist/webcomponents/{p-eb31e5c7.entry.js → p-b5dd55b1.entry.js} +1 -1
- package/dist/webcomponents/{p-80dca817.entry.js → p-b8096d2b.entry.js} +1 -1
- package/dist/webcomponents/p-bbc56c17.entry.js +1 -0
- package/dist/webcomponents/p-bc3d56a7.entry.js +1 -0
- package/dist/webcomponents/{p-50aa4e4d.entry.js → p-bf83ba04.entry.js} +1 -1
- package/dist/webcomponents/p-c5b66da3.entry.js +1 -0
- package/dist/webcomponents/p-c7dc7184.entry.js +1 -0
- package/dist/webcomponents/{p-f51e4213.entry.js → p-cb8b91ea.entry.js} +1 -1
- package/dist/webcomponents/p-d7ea4db7.entry.js +1 -0
- package/dist/webcomponents/{p-332ce001.entry.js → p-dadb97e1.entry.js} +1 -1
- package/dist/webcomponents/p-dafac427.entry.js +1 -0
- package/dist/webcomponents/p-dca205de.entry.js +1 -0
- package/dist/webcomponents/p-df3fb523.entry.js +1 -0
- package/dist/webcomponents/p-f-9W4QBD.js +1 -0
- package/dist/webcomponents/p-f604d6ea.entry.js +1 -0
- package/dist/webcomponents/p-ffbf35a4.entry.js +1 -0
- package/dist/webcomponents/{p-C3nDCvFQ.js → p-lvlr3zXn.js} +1 -1
- package/dist/webcomponents/{p-y-Ys7Rd-.js → p-obi7kkCX.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/terminals-list-params-state-Cmfy_CND.js +0 -22
- package/dist/esm/terminals-list-params-state-Gbxdxjoi.js +0 -16
- package/dist/webcomponents/p-1049c0c5.entry.js +0 -1
- package/dist/webcomponents/p-2c2f6743.entry.js +0 -1
- package/dist/webcomponents/p-2f6c0a07.entry.js +0 -1
- package/dist/webcomponents/p-307a0db6.entry.js +0 -1
- package/dist/webcomponents/p-3995c8b8.entry.js +0 -1
- package/dist/webcomponents/p-3e084a0e.entry.js +0 -1
- package/dist/webcomponents/p-43c1c278.entry.js +0 -1
- package/dist/webcomponents/p-507f7a31.entry.js +0 -1
- package/dist/webcomponents/p-5a07a84c.entry.js +0 -1
- package/dist/webcomponents/p-62bdcca1.entry.js +0 -1
- package/dist/webcomponents/p-6a54d69b.entry.js +0 -1
- package/dist/webcomponents/p-7414b942.entry.js +0 -1
- package/dist/webcomponents/p-815937bb.entry.js +0 -1
- package/dist/webcomponents/p-86fdc0a1.entry.js +0 -1
- package/dist/webcomponents/p-98111d03.entry.js +0 -1
- package/dist/webcomponents/p-9bbfde16.entry.js +0 -1
- package/dist/webcomponents/p-B7ErpLYA.js +0 -1
- package/dist/webcomponents/p-BHHWVg32.js +0 -1
- package/dist/webcomponents/p-BM61p7vG.js +0 -1
- package/dist/webcomponents/p-Bo92MHrs.js +0 -1
- package/dist/webcomponents/p-BxPlB-C5.js +0 -1
- package/dist/webcomponents/p-CLBRsaLx.js +0 -1
- package/dist/webcomponents/p-CYsU0lEI.js +0 -1
- package/dist/webcomponents/p-CjunQqer.js +0 -1
- package/dist/webcomponents/p-D7s2671S.js +0 -1
- package/dist/webcomponents/p-DLpKiPxJ.js +0 -1
- package/dist/webcomponents/p-Dna7whFY.js +0 -1
- package/dist/webcomponents/p-DzPbgN8M.js +0 -1
- package/dist/webcomponents/p-JcczGkik.js +0 -1
- package/dist/webcomponents/p-ZUQEru6m.js +0 -1
- package/dist/webcomponents/p-a22974fd.entry.js +0 -1
- package/dist/webcomponents/p-a2bf5919.entry.js +0 -1
- package/dist/webcomponents/p-bb8f7062.entry.js +0 -1
- package/dist/webcomponents/p-be04a09c.entry.js +0 -1
- package/dist/webcomponents/p-c38c742e.entry.js +0 -1
- package/dist/webcomponents/p-c6cf707c.entry.js +0 -1
- package/dist/webcomponents/p-c70dcec1.entry.js +0 -1
- package/dist/webcomponents/p-c8d608a1.entry.js +0 -1
- package/dist/webcomponents/p-ce20d709.entry.js +0 -1
- package/dist/webcomponents/p-def42fc7.entry.js +0 -1
- package/dist/webcomponents/p-e0896deb.entry.js +0 -1
- package/dist/webcomponents/p-e3962860.entry.js +0 -1
- package/dist/webcomponents/p-e3cd72ad.entry.js +0 -1
- package/dist/webcomponents/p-e52d5ead.entry.js +0 -1
- package/dist/webcomponents/p-eb677eb2.entry.js +0 -1
- package/dist/webcomponents/p-gAO-RwrF.js +0 -1
- package/dist/webcomponents/p-hkXaxw9l.js +0 -1
- package/dist/webcomponents/p-p7aAf5_m.js +0 -1
- package/dist/webcomponents/p-z1GJDdMW.js +0 -1
- /package/dist/webcomponents/{p-BUM1DfV9.js → p-D4-FKsCU.js} +0 -0
|
@@ -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-D4-FKsCU.js";import{af as e,ae as r,ab as o,E as l}from"./p-6ctk_bhj.js";import{S as d}from"./p-lvlr3zXn.js";import{c as n,J as a}from"./p-BxGoUIgN.js";import{C as h,a as c}from"./p-SdntD1xf.js";import{B as p}from"./p-BODr6HXb.js";import{B as u}from"./p-BrvbVMVq.js";import{m as v}from"./p-CGz3XHQc.js";import{S as m}from"./p-Xql8Xhsx.js";import{j as f}from"./p-CpTwq2jw.js";import"./p-BjB_yKBJ.js";import"./p-CLHwhyvu.js";import"./p-Bxs6fi7a.js";import{f as w,e as g,a as x}from"./p-AVaenhw9.js";import"./p-Ct-uNz2r.js";import{g as j,a as y}from"./p-C5RuuShs.js";import{T as b}from"./p-NI7Keg2H.js";import"./p-DGWLSvML.js";import"./p-BBsCnePk.js";import"./p-Dt-vy9Le.js";import"./p-BX8GieXu.js";import"./p-BFTU3MAI.js";import"./p-7MWRbTXI.js";const B=()=>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(B,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)))))),C=class{constructor(i){s(this,i),this.errorEvent=t(this,"error-event"),this.submitted=t(this,"submit-event"),this.shipping=!1,this.apiOrigin="https://wc-proxy.justifi.ai",this.submitButtonText="Submit Order",this.loading={business:!0,terminals:!0},this.submitting=!1,this.error=null,this.totalQuantity=0}componentWillLoad(){this.order=new g({business_id:this.businessId,sub_account_id:this.accountId,order_type:this.shipping?x.boardingShipping:x.boardingOnly}),n(),this.analytics=new a(this),this.loadData()}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(){v({id:this.businessId,authToken:this.authToken,service:new p,apiOrigin:this.apiOrigin})({onSuccess:({business:i})=>{this.business=new u(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,apiOrigin:e})=>async({onSuccess:r,onError:o})=>{var l,d,n,a;try{const c=await t.fetchTerminalModels(i,s,e);if(c.error)return o({error:y(c.error),code:j(null===(a=c.error)||void 0===a?void 0:a.code),severity:h.ERROR});r({terminals:(null===(d=null===(l=c.data)||void 0===l?void 0:l.terminal_order_models)||void 0===d?void 0:d.map((i=>new w(i))))||[],orderLimit:null===(n=c.data)||void 0===n?void 0:n.order_limit})}catch(i){const s=j(null==i?void 0:i.code);return o({error:i.message||i,code:s,severity:h.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new b,apiOrigin:this.apiOrigin})({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:y(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 b,apiOrigin:this.apiOrigin});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,f(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:"0a63280f2a9b41e5d2493131d8150c5d124e78bb"},i("div",{key:"ec3e1d2c3a90377dd622982de1435989d81f60e8",part:l},this.renderLoading(),this.renderBusinessDetails(),this.renderTerminals(),this.renderOrderSection()))}};export{C as justifi_order_terminals}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as s}from"./p-D4-FKsCU.js";const r=class{constructor(s){t(this,s)}render(){return this.helpText?s("small",{class:"form-text text-muted",id:`form-help-text-${this.name}`},this.helpText):null}};export{r as form_control_help_text}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as a,H as t}from"./p-BUM1DfV9.js";import{ag as l,I as d}from"./p-CB88j97I.js";import{a as i,r as s,s as c,b as o}from"./p-IA90llLO.js";import{C as r,T as n,P as f,S as b}from"./p-B-iV5cYd.js";import{C as u}from"./p-BrvbVMVq.js";import{d as h}from"./p-Dt-vy9Le.js";import{S as m}from"./p-BX8GieXu.js";import{n as v}from"./p-BnjCmwMr.js";const y=class{constructor(a){e(this,a)}render(){return this.text?this.hideAlert?null:a("div",{class:"alert alert-danger d-flex align-items-center",role:"alert",part:l},a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",class:"bi bi-exclamation-triangle-fill flex-shrink-0 me-2",viewBox:"0 0 16 16",role:"img","aria-label":"Warning:"},a("path",{d:"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})),a("div",null,this.text)):null}},p=class{constructor(a){e(this,a),this.errors={},this.additional_questions={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.additional_questions=Object.assign({},e.additional_questions)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{additional_questions:Object.assign(Object.assign({},this.formController.values.getValue().additional_questions),{[e]:a})}))}render(){var e,l,o,n,f,b,u,h,m,v,y,p,k,x;const j=this.formController.getInitialValues().additional_questions;return a(t,{key:"6e2549b906fec8928dae89a4f143916a2b50eff3"},a("fieldset",{key:"525eab0debf75c3996c45128e9431086e49c3850"},a("legend",{key:"adeb6e2a32fb4f9e991d7b4843569116e336743c",part:d},"Additional Questions"),a("div",{key:"29b55613d32bc434017fc561033c6c9b8800666d",class:"row gy-3"},a("div",{key:"80c1d6b2c5e52c5fe0f8b9c3591bb315e51f7c55",class:"col-12 col-md-6"},a("form-control-monetary-provisioning",{key:"e69e6c75d3a6add592e90e3709d7b7ff694ebfe0",name:"business_revenue",label:"What is the business' estimated annual revenue from its primary business activities?",inputHandler:this.inputHandler,errorText:null===(l=null===(e=this.errors)||void 0===e?void 0:e.additional_questions)||void 0===l?void 0:l.business_revenue,defaultValue:null==j?void 0:j.business_revenue,maskOptions:r.WHOLE})),a("div",{key:"af0e66f6f647ed7248e0d861707cc378c85b0dce",class:"col-12 col-md-6"},a("form-control-monetary-provisioning",{key:"e1f6af9f7537bf4d4e96739ff7537be01ca9371c",name:"business_payment_volume",label:"What is the business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(n=null===(o=this.errors)||void 0===o?void 0:o.additional_questions)||void 0===n?void 0:n.business_payment_volume,defaultValue:null==j?void 0:j.business_payment_volume,maskOptions:r.WHOLE})),a("div",{key:"b914a2f8abd79eab79d284f1ece9850f4a417893",class:"col-12"},a("form-control-select",{key:"8954dfe23f7984810fbae657ac9995e40253b377",name:"business_when_service_received",label:"On average, how long after paying will your customers typically receive their goods or services?",inputHandler:this.inputHandler,errorText:null===(b=null===(f=this.errors)||void 0===f?void 0:f.additional_questions)||void 0===b?void 0:b.business_when_service_received,options:i,defaultValue:null==j?void 0:j.business_when_service_received})),a("div",{key:"da533644fd51e8678fc80d49c7db0ce20a803019",class:"col-12"},a("form-control-select",{key:"06c23865a5bbda38b294dd4edfee6ace942fb732",name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.additional_questions)||void 0===h?void 0:h.business_recurring_payments,options:s,defaultValue:null==j?void 0:j.business_recurring_payments})),a("div",{key:"bb492db9aea205138ef76cf6fc7c3f686bb41a79",class:"col-12"},a("form-control-text",{key:"a3f900076730b504587619ff9c4c13ecce36f541",name:"business_recurring_payments_percentage",label:"What percent of revenue is generated from each recurring payment type offered?",inputHandler:this.inputHandler,errorText:null===(v=null===(m=this.errors)||void 0===m?void 0:m.additional_questions)||void 0===v?void 0:v.business_recurring_payments_percentage,defaultValue:null==j?void 0:j.business_recurring_payments_percentage})),a("div",{key:"e2f56ae5d9654bdb1077689a1ef59c9047e97bda",class:"col-12"},a("form-control-select",{key:"697e41186b4c82046e50288594681117bf8dd6fe",name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(p=null===(y=this.errors)||void 0===y?void 0:y.additional_questions)||void 0===p?void 0:p.business_seasonal,options:c,defaultValue:null==j?void 0:j.business_seasonal})),a("div",{key:"2e2f5d17b70604b9425997d9e4e0dfafea933448",class:"col-12"},a("form-control-text",{key:"27d305b06e7bc2d66084c9d04ebb785883564bbd",name:"business_other_payment_details",label:"Is there anything else you would like us to know about how your customers pay the business?",inputHandler:this.inputHandler,errorText:null===(x=null===(k=this.errors)||void 0===k?void 0:k.additional_questions)||void 0===x?void 0:x.business_other_payment_details,defaultValue:null==j?void 0:j.business_other_payment_details})))))}},k=class{constructor(a){e(this,a),this.errors={},this.coreInfo={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.values.subscribe((e=>this.coreInfo=Object.assign({},new u(e)))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:a}))}render(){const e=this.formController.getInitialValues();return a(t,{key:"71096918610aa3068cf89fbf9f3537b7f49942c6"},a("fieldset",{key:"502e6c3e3ae05256c6e5e8d315b4aa208ce88953"},a("legend",{key:"ccbe69b2323e815dc77b2602a96bdc4238fcef03",part:d},"General Info"),a("div",{key:"19a70fd7a361e5de4c88e14cbff12d88f78233e3",class:"row gy-3"},a("div",{key:"611bcc2bd35db7b6940a5b7ae53c54b55b855dd6",class:"col-12"},a("form-control-text",{key:"a9de594470c896aff0803c34a313c38467f7c82a",name:"legal_name",label:"Legal Name",defaultValue:e.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler})),a("div",{key:"ed742f64b1c344587127ce94ba1d17206bbdebb3",class:"col-12"},a("form-control-text",{key:"abb41f3aa059c180882066e21fe0239838cd9956",name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:e.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler})),a("div",{key:"3659fb0dd0419fd4d6f0205bc9e32aef05f56aa1",class:"col-12 col-md-8"},a("form-control-select",{key:"5bbbe7cd7fe0a7e8788e36855ff18390bf8df301",name:"classification",label:"Business Classification",options:o,defaultValue:e.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),a("div",{key:"5007e6269c59878e6388164ff8d5163090b87585",class:"col-12 col-md-4"},a("form-control-date",{key:"4fa7c7f001ced10c746d2891fe3efd8336542907",name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:e.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),a("div",{key:"e245a4ac6e0904c9742a0d1d220cb95c9fe63497",class:"col-12 col-md-6"},a("form-control-text",{key:"bc7367525a45c221c576f2b31c1a95680a95937a",name:"industry",label:"Industry",defaultValue:e.industry,errorText:this.errors.industry,inputHandler:this.inputHandler})),a("div",{key:"6475831320818242eda7ac045dcdd076fbc4245c",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"d68e8046fa42f4d5976aa44a7769b14fc4cda416",name:"tax_id",label:"Tax ID",defaultValue:e.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,mask:n.US})),a("div",{key:"f59cda0241c1ad92d0d995e330b92079ba75737f",class:"col-12"},a("form-control-text",{key:"8243464d1c75897c1e3423e5045f34b81b425a9e",name:"website_url",label:"Website URL",defaultValue:e.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler})),a("div",{key:"c65251b25e0996277f7d0e11d25d6340ccfc11e7",class:"col-12 col-md-6"},a("form-control-text",{key:"fe3a4eff53786f49fbfe24afb048f861bf7a469a",name:"email",label:"Email Address",defaultValue:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"b1d909e5f937dcbbac0082b293571904c0c81396",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"83238873cbd8ccc08a5c3af1bd87a7965fefb5f8",name:"phone",label:"Phone Number",defaultValue:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})))))}},x=class{constructor(a){e(this,a),this.errors={},this.representative={},this.inputHandler=(e,a)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{[e]:a})}))},this.onAddressFormUpdate=e=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{address:Object.assign(Object.assign({},this.formController.values.getValue().representative.address),e)})}))},this.onDateOfBirthUpdate=e=>{const a=h(e.detail);this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{dob_day:a.dob_day,dob_month:a.dob_month,dob_year:a.dob_year})}))}}get identificationNumberLabel(){return this.representative.ssn_last4?"Update SSN (optional)":"SSN"}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e.representative))),this.formController.values.subscribe((e=>this.representative=Object.assign({},e.representative)))}render(){const e=this.formController.getInitialValues().representative;return a(t,{key:"eb9c09602a11107abc465463bf7e7cdbeb98cede"},a("fieldset",{key:"1f2a035f9796c29269a7dcd7ca874c73ed6493bb"},a("legend",{key:"1aeaba7f119f15e1ffa75cd58d77608fe51a60c8",part:d},"Representative"),a("div",{key:"5d09c634135046c79b4ac80b5c1cfee9fbd26ce0",class:"row gy-3"},a("div",{key:"6f03250bf88cc79ff07a1de68fef97a41a376aec",class:"col-12 col-md-8"},a("form-control-text",{key:"d6696ab573a305e277db56a578eaeb3fc4adf9ff",name:"name",label:"Full Name",defaultValue:null==e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"fd6ddc83d99b4f86f29566077249a23724741438",class:"col-12 col-md-4"},a("form-control-text",{key:"632b12a09042ffdaf85d2fafecfab1736bbc8d36",name:"title",label:"Title",defaultValue:null==e?void 0:e.title,errorText:this.errors.title,inputHandler:this.inputHandler})),a("div",{key:"65842c9cb8c616806631bd1d2902342cebf5326e",class:"col-12 col-md-6"},a("form-control-text",{key:"8e1f64cc7f97e4b337dfcda6494fca5750656130",name:"email",label:"Email Address",defaultValue:null==e?void 0:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"e050604c8d71e1d07f916822fbb73da4c3f5e034",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"a5bba8b362ce6070efc65e88ee80880ce855e624",name:"phone",label:"Phone Number",defaultValue:null==e?void 0:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})),a("div",{key:"dcbd23ab368e630ebaea9e8bdbb6985a98d5fbeb",class:"col-12 col-md-4"},a("form-control-date",{key:"05e0e255549ad8f0760102aab5cbfe444cae5996",name:"dob_full",label:"Birth Date",defaultValue:null==e?void 0:e.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:this.onDateOfBirthUpdate})),a("div",{key:"764595ed842fd09221ef71d5c921a9ebe947556d",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"91761e52dd724a27e135a3db8b7c85643f7891d9",name:"identification_number",label:this.identificationNumberLabel,defaultValue:null==e?void 0:e.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:b})),a("div",{key:"4be6739744d6d9fcd060ed9d894502f35396a9a9",class:"col-12"},a("justifi-identity-address-form",{key:"7c9d98057e908a068aa0783b10b2bd0f634d7ab9",errors:this.errors.address,defaultValues:null==e?void 0:e.address,handleFormUpdate:this.onAddressFormUpdate})))))}},j=class{constructor(a){e(this,a),this.errors={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.legal_address=Object.assign({},e.legal_address)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{legal_address:Object.assign(Object.assign({},this.formController.values.getValue().legal_address),{[e]:a})}))}render(){var e,l,i,s,c,o,r,n,f,b,u,h;const y=this.formController.getInitialValues().legal_address;return a(t,{key:"129b2ec053708454db5a515fdae9a7fba5289336"},a("fieldset",{key:"6af5c9469acc432ea01ff404af25727bd444abc7"},a("legend",{key:"1af149db608a13d18142aaea83f9ed2e8271fdc0",part:d},"Business Legal Address"),a("div",{key:"805c6ae992ebed34937b9a2622f50a7f99c7d0e6",class:"row gy-3"},a("div",{key:"78750dc68bcc6782bc4a71cfd14d417e980a57a6",class:"col-12"},a("form-control-text",{key:"18a75e38a7a5fbfcbbbce56e4967ce34c5618c8e",name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line1,errorText:null===(l=null===(e=this.errors)||void 0===e?void 0:e.legal_address)||void 0===l?void 0:l.line1})),a("div",{key:"676622c84785edfafa3413359d4985d26a734985",class:"col-12"},a("form-control-text",{key:"e8467f96595d240f5fc93585e472ad844cc49143",name:"line2",label:"Address Line 2",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line2,errorText:null===(s=null===(i=this.errors)||void 0===i?void 0:i.legal_address)||void 0===s?void 0:s.line2})),a("div",{key:"01556012d9335d23c14e130ca72b6e75028bcb36",class:"col-12"},a("form-control-text",{key:"c08dcd0ef726ff714d60de26492ced763a7d32ff",name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.city,errorText:null===(o=null===(c=this.errors)||void 0===c?void 0:c.legal_address)||void 0===o?void 0:o.city})),a("div",{key:"ad811869e742f265a5441c6f36c2a55fa0b07952",class:"col-12"},a("form-control-select",{key:"47cc4b15578257f3c1fdee7896d28da94b5aaa16",name:"state",label:"State",options:m,inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.state,errorText:null===(n=null===(r=this.errors)||void 0===r?void 0:r.legal_address)||void 0===n?void 0:n.state})),a("div",{key:"f732fd2ed3967ee7fd602f41c62efd24cf6038eb",class:"col-12"},a("form-control-text",{key:"0431a63d11beb6682a2544d2483901f7fffa77bd",name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.postal_code,errorText:null===(b=null===(f=this.errors)||void 0===f?void 0:f.legal_address)||void 0===b?void 0:b.postal_code,maxLength:5,keyDownHandler:v})),a("div",{key:"cca67b0cd006f6cf9f9bbfe147507eb0ac6fecca",class:"col-12"},a("form-control-select",{key:"f561947f9443ea6f56d7ae31d44a69e2462c0751",name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.country,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.legal_address)||void 0===h?void 0:h.country,disabled:!0})))))}};export{y as form_alert,p as justifi_additional_questions,k as justifi_business_core_info,x as justifi_business_representative,j as justifi_legal_address_form}
|
|
1
|
+
import{r as e,h as a,H as t}from"./p-D4-FKsCU.js";import{ag as l,H as d}from"./p-6ctk_bhj.js";import{a as i,r as s,s as c,b as o}from"./p-IA90llLO.js";import{C as r,T as n,P as f,S as b}from"./p-B-iV5cYd.js";import{C as u}from"./p-BrvbVMVq.js";import{d as h}from"./p-Dt-vy9Le.js";import{S as m}from"./p-BX8GieXu.js";import{n as v}from"./p-BnjCmwMr.js";const y=class{constructor(a){e(this,a)}render(){return this.text?this.hideAlert?null:a("div",{class:"alert alert-danger d-flex align-items-center",role:"alert",part:l},a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor",class:"bi bi-exclamation-triangle-fill flex-shrink-0 me-2",viewBox:"0 0 16 16",role:"img","aria-label":"Warning:"},a("path",{d:"M8.982 1.566a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566zM8 5c.535 0 .954.462.9.995l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995A.905.905 0 0 1 8 5zm.002 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z"})),a("div",null,this.text)):null}},p=class{constructor(a){e(this,a),this.errors={},this.additional_questions={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.additional_questions=Object.assign({},e.additional_questions)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{additional_questions:Object.assign(Object.assign({},this.formController.values.getValue().additional_questions),{[e]:a})}))}render(){var e,l,o,n,f,b,u,h,m,v,y,p,k,x;const j=this.formController.getInitialValues().additional_questions;return a(t,{key:"6e2549b906fec8928dae89a4f143916a2b50eff3"},a("fieldset",{key:"525eab0debf75c3996c45128e9431086e49c3850"},a("legend",{key:"adeb6e2a32fb4f9e991d7b4843569116e336743c",part:d},"Additional Questions"),a("div",{key:"29b55613d32bc434017fc561033c6c9b8800666d",class:"row gy-3"},a("div",{key:"80c1d6b2c5e52c5fe0f8b9c3591bb315e51f7c55",class:"col-12 col-md-6"},a("form-control-monetary-provisioning",{key:"e69e6c75d3a6add592e90e3709d7b7ff694ebfe0",name:"business_revenue",label:"What is the business' estimated annual revenue from its primary business activities?",inputHandler:this.inputHandler,errorText:null===(l=null===(e=this.errors)||void 0===e?void 0:e.additional_questions)||void 0===l?void 0:l.business_revenue,defaultValue:null==j?void 0:j.business_revenue,maskOptions:r.WHOLE})),a("div",{key:"af0e66f6f647ed7248e0d861707cc378c85b0dce",class:"col-12 col-md-6"},a("form-control-monetary-provisioning",{key:"e1f6af9f7537bf4d4e96739ff7537be01ca9371c",name:"business_payment_volume",label:"What is the business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(n=null===(o=this.errors)||void 0===o?void 0:o.additional_questions)||void 0===n?void 0:n.business_payment_volume,defaultValue:null==j?void 0:j.business_payment_volume,maskOptions:r.WHOLE})),a("div",{key:"b914a2f8abd79eab79d284f1ece9850f4a417893",class:"col-12"},a("form-control-select",{key:"8954dfe23f7984810fbae657ac9995e40253b377",name:"business_when_service_received",label:"On average, how long after paying will your customers typically receive their goods or services?",inputHandler:this.inputHandler,errorText:null===(b=null===(f=this.errors)||void 0===f?void 0:f.additional_questions)||void 0===b?void 0:b.business_when_service_received,options:i,defaultValue:null==j?void 0:j.business_when_service_received})),a("div",{key:"da533644fd51e8678fc80d49c7db0ce20a803019",class:"col-12"},a("form-control-select",{key:"06c23865a5bbda38b294dd4edfee6ace942fb732",name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.additional_questions)||void 0===h?void 0:h.business_recurring_payments,options:s,defaultValue:null==j?void 0:j.business_recurring_payments})),a("div",{key:"bb492db9aea205138ef76cf6fc7c3f686bb41a79",class:"col-12"},a("form-control-text",{key:"a3f900076730b504587619ff9c4c13ecce36f541",name:"business_recurring_payments_percentage",label:"What percent of revenue is generated from each recurring payment type offered?",inputHandler:this.inputHandler,errorText:null===(v=null===(m=this.errors)||void 0===m?void 0:m.additional_questions)||void 0===v?void 0:v.business_recurring_payments_percentage,defaultValue:null==j?void 0:j.business_recurring_payments_percentage})),a("div",{key:"e2f56ae5d9654bdb1077689a1ef59c9047e97bda",class:"col-12"},a("form-control-select",{key:"697e41186b4c82046e50288594681117bf8dd6fe",name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(p=null===(y=this.errors)||void 0===y?void 0:y.additional_questions)||void 0===p?void 0:p.business_seasonal,options:c,defaultValue:null==j?void 0:j.business_seasonal})),a("div",{key:"2e2f5d17b70604b9425997d9e4e0dfafea933448",class:"col-12"},a("form-control-text",{key:"27d305b06e7bc2d66084c9d04ebb785883564bbd",name:"business_other_payment_details",label:"Is there anything else you would like us to know about how your customers pay the business?",inputHandler:this.inputHandler,errorText:null===(x=null===(k=this.errors)||void 0===k?void 0:k.additional_questions)||void 0===x?void 0:x.business_other_payment_details,defaultValue:null==j?void 0:j.business_other_payment_details})))))}},k=class{constructor(a){e(this,a),this.errors={},this.coreInfo={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.values.subscribe((e=>this.coreInfo=Object.assign({},new u(e)))),this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:a}))}render(){const e=this.formController.getInitialValues();return a(t,{key:"71096918610aa3068cf89fbf9f3537b7f49942c6"},a("fieldset",{key:"502e6c3e3ae05256c6e5e8d315b4aa208ce88953"},a("legend",{key:"ccbe69b2323e815dc77b2602a96bdc4238fcef03",part:d},"General Info"),a("div",{key:"19a70fd7a361e5de4c88e14cbff12d88f78233e3",class:"row gy-3"},a("div",{key:"611bcc2bd35db7b6940a5b7ae53c54b55b855dd6",class:"col-12"},a("form-control-text",{key:"a9de594470c896aff0803c34a313c38467f7c82a",name:"legal_name",label:"Legal Name",defaultValue:e.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler})),a("div",{key:"ed742f64b1c344587127ce94ba1d17206bbdebb3",class:"col-12"},a("form-control-text",{key:"abb41f3aa059c180882066e21fe0239838cd9956",name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:e.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler})),a("div",{key:"3659fb0dd0419fd4d6f0205bc9e32aef05f56aa1",class:"col-12 col-md-8"},a("form-control-select",{key:"5bbbe7cd7fe0a7e8788e36855ff18390bf8df301",name:"classification",label:"Business Classification",options:o,defaultValue:e.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),a("div",{key:"5007e6269c59878e6388164ff8d5163090b87585",class:"col-12 col-md-4"},a("form-control-date",{key:"4fa7c7f001ced10c746d2891fe3efd8336542907",name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:e.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),a("div",{key:"e245a4ac6e0904c9742a0d1d220cb95c9fe63497",class:"col-12 col-md-6"},a("form-control-text",{key:"bc7367525a45c221c576f2b31c1a95680a95937a",name:"industry",label:"Industry",defaultValue:e.industry,errorText:this.errors.industry,inputHandler:this.inputHandler})),a("div",{key:"6475831320818242eda7ac045dcdd076fbc4245c",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"d68e8046fa42f4d5976aa44a7769b14fc4cda416",name:"tax_id",label:"Tax ID",defaultValue:e.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,mask:n.US})),a("div",{key:"f59cda0241c1ad92d0d995e330b92079ba75737f",class:"col-12"},a("form-control-text",{key:"8243464d1c75897c1e3423e5045f34b81b425a9e",name:"website_url",label:"Website URL",defaultValue:e.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler})),a("div",{key:"c65251b25e0996277f7d0e11d25d6340ccfc11e7",class:"col-12 col-md-6"},a("form-control-text",{key:"fe3a4eff53786f49fbfe24afb048f861bf7a469a",name:"email",label:"Email Address",defaultValue:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"b1d909e5f937dcbbac0082b293571904c0c81396",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"83238873cbd8ccc08a5c3af1bd87a7965fefb5f8",name:"phone",label:"Phone Number",defaultValue:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})))))}},x=class{constructor(a){e(this,a),this.errors={},this.representative={},this.inputHandler=(e,a)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{[e]:a})}))},this.onAddressFormUpdate=e=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{address:Object.assign(Object.assign({},this.formController.values.getValue().representative.address),e)})}))},this.onDateOfBirthUpdate=e=>{const a=h(e.detail);this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{representative:Object.assign(Object.assign({},this.formController.values.getValue().representative),{dob_day:a.dob_day,dob_month:a.dob_month,dob_year:a.dob_year})}))}}get identificationNumberLabel(){return this.representative.ssn_last4?"Update SSN (optional)":"SSN"}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e.representative))),this.formController.values.subscribe((e=>this.representative=Object.assign({},e.representative)))}render(){const e=this.formController.getInitialValues().representative;return a(t,{key:"eb9c09602a11107abc465463bf7e7cdbeb98cede"},a("fieldset",{key:"1f2a035f9796c29269a7dcd7ca874c73ed6493bb"},a("legend",{key:"1aeaba7f119f15e1ffa75cd58d77608fe51a60c8",part:d},"Representative"),a("div",{key:"5d09c634135046c79b4ac80b5c1cfee9fbd26ce0",class:"row gy-3"},a("div",{key:"6f03250bf88cc79ff07a1de68fef97a41a376aec",class:"col-12 col-md-8"},a("form-control-text",{key:"d6696ab573a305e277db56a578eaeb3fc4adf9ff",name:"name",label:"Full Name",defaultValue:null==e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"fd6ddc83d99b4f86f29566077249a23724741438",class:"col-12 col-md-4"},a("form-control-text",{key:"632b12a09042ffdaf85d2fafecfab1736bbc8d36",name:"title",label:"Title",defaultValue:null==e?void 0:e.title,errorText:this.errors.title,inputHandler:this.inputHandler})),a("div",{key:"65842c9cb8c616806631bd1d2902342cebf5326e",class:"col-12 col-md-6"},a("form-control-text",{key:"8e1f64cc7f97e4b337dfcda6494fca5750656130",name:"email",label:"Email Address",defaultValue:null==e?void 0:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"e050604c8d71e1d07f916822fbb73da4c3f5e034",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"a5bba8b362ce6070efc65e88ee80880ce855e624",name:"phone",label:"Phone Number",defaultValue:null==e?void 0:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:f.US})),a("div",{key:"dcbd23ab368e630ebaea9e8bdbb6985a98d5fbeb",class:"col-12 col-md-4"},a("form-control-date",{key:"05e0e255549ad8f0760102aab5cbfe444cae5996",name:"dob_full",label:"Birth Date",defaultValue:null==e?void 0:e.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:this.onDateOfBirthUpdate})),a("div",{key:"764595ed842fd09221ef71d5c921a9ebe947556d",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"91761e52dd724a27e135a3db8b7c85643f7891d9",name:"identification_number",label:this.identificationNumberLabel,defaultValue:null==e?void 0:e.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:b})),a("div",{key:"4be6739744d6d9fcd060ed9d894502f35396a9a9",class:"col-12"},a("justifi-identity-address-form",{key:"7c9d98057e908a068aa0783b10b2bd0f634d7ab9",errors:this.errors.address,defaultValues:null==e?void 0:e.address,handleFormUpdate:this.onAddressFormUpdate})))))}},j=class{constructor(a){e(this,a),this.errors={},this.inputHandler=this.inputHandler.bind(this)}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e))),this.formController.values.subscribe((e=>this.legal_address=Object.assign({},e.legal_address)))}inputHandler(e,a){this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{legal_address:Object.assign(Object.assign({},this.formController.values.getValue().legal_address),{[e]:a})}))}render(){var e,l,i,s,c,o,r,n,f,b,u,h;const y=this.formController.getInitialValues().legal_address;return a(t,{key:"129b2ec053708454db5a515fdae9a7fba5289336"},a("fieldset",{key:"6af5c9469acc432ea01ff404af25727bd444abc7"},a("legend",{key:"1af149db608a13d18142aaea83f9ed2e8271fdc0",part:d},"Business Legal Address"),a("div",{key:"805c6ae992ebed34937b9a2622f50a7f99c7d0e6",class:"row gy-3"},a("div",{key:"78750dc68bcc6782bc4a71cfd14d417e980a57a6",class:"col-12"},a("form-control-text",{key:"18a75e38a7a5fbfcbbbce56e4967ce34c5618c8e",name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line1,errorText:null===(l=null===(e=this.errors)||void 0===e?void 0:e.legal_address)||void 0===l?void 0:l.line1})),a("div",{key:"676622c84785edfafa3413359d4985d26a734985",class:"col-12"},a("form-control-text",{key:"e8467f96595d240f5fc93585e472ad844cc49143",name:"line2",label:"Address Line 2",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.line2,errorText:null===(s=null===(i=this.errors)||void 0===i?void 0:i.legal_address)||void 0===s?void 0:s.line2})),a("div",{key:"01556012d9335d23c14e130ca72b6e75028bcb36",class:"col-12"},a("form-control-text",{key:"c08dcd0ef726ff714d60de26492ced763a7d32ff",name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.city,errorText:null===(o=null===(c=this.errors)||void 0===c?void 0:c.legal_address)||void 0===o?void 0:o.city})),a("div",{key:"ad811869e742f265a5441c6f36c2a55fa0b07952",class:"col-12"},a("form-control-select",{key:"47cc4b15578257f3c1fdee7896d28da94b5aaa16",name:"state",label:"State",options:m,inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.state,errorText:null===(n=null===(r=this.errors)||void 0===r?void 0:r.legal_address)||void 0===n?void 0:n.state})),a("div",{key:"f732fd2ed3967ee7fd602f41c62efd24cf6038eb",class:"col-12"},a("form-control-text",{key:"0431a63d11beb6682a2544d2483901f7fffa77bd",name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.postal_code,errorText:null===(b=null===(f=this.errors)||void 0===f?void 0:f.legal_address)||void 0===b?void 0:b.postal_code,maxLength:5,keyDownHandler:v})),a("div",{key:"cca67b0cd006f6cf9f9bbfe147507eb0ac6fecca",class:"col-12"},a("form-control-select",{key:"f561947f9443ea6f56d7ae31d44a69e2462c0751",name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==y?void 0:y.country,errorText:null===(h=null===(u=this.errors)||void 0===u?void 0:u.legal_address)||void 0===h?void 0:h.country,disabled:!0})))))}};export{y as form_alert,p as justifi_additional_questions,k as justifi_business_core_info,x as justifi_business_representative,j as justifi_legal_address_form}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,c as s,h as t}from"./p-D4-FKsCU.js";import{S as i}from"./p-lvlr3zXn.js";import{c as e,J as o}from"./p-BxGoUIgN.js";import{d as a}from"./p-DmBEzYCU.js";import"./p-CpTwq2jw.js";import{C as n,a as p}from"./p-SdntD1xf.js";import"./p-BjB_yKBJ.js";import"./p-CLHwhyvu.js";import"./p-Bxs6fi7a.js";import{e as m}from"./p-AVaenhw9.js";import"./p-Ct-uNz2r.js";import{g as c,a as h}from"./p-C5RuuShs.js";import{A as d}from"./p-BBsCnePk.js";import"./p-DGWLSvML.js";import"./p-6ctk_bhj.js";import"./p-C3uv9u0l.js";import"./p-BFTU3MAI.js";import"./p-7MWRbTXI.js";class l{async fetchTerminalOrders(r,s,t,i="https://wc-proxy.justifi.ai"){const e={account:r};return d({authToken:s,apiOrigin:i}).get({endpoint:"terminals/orders",params:t,headers:e})}}const u=class{constructor(t){r(this,t),this.errorEvent=s(this,"error-event"),this.errorMessage=null,this.apiOrigin="https://wc-proxy.justifi.ai",this.columns=a,this.handleErrorEvent=r=>{this.errorMessage=r.detail.message,this.errorEvent.emit(r.detail)}}componentWillLoad(){e(),this.analytics=new o(this),this.initializeGetData()}initializeGetData(){this.accountId&&this.authToken?this.getTerminalOrders=(({id:r,authToken:s,service:t,apiOrigin:i})=>async({params:e,onSuccess:o,onError:a,final:p})=>{var d,l;try{const p=await t.fetchTerminalOrders(r,s,e,i);if(p.error)return a({error:h(p.error),code:c(null===(l=p.error)||void 0===l?void 0:l.code),severity:n.ERROR});{const r=Object.assign({},p.page_info);o({terminalOrders:(null===(d=p.data)||void 0===d?void 0:d.map((r=>new m(r))))||[],pagingInfo:r})}}catch(r){const s=c(null==r?void 0:r.code);return a({error:r.message||r,code:s,severity:n.ERROR})}finally{return p()}})({id:this.accountId,authToken:this.authToken,service:new l,apiOrigin:this.apiOrigin}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:p.MISSING_PROPS,message:this.errorMessage,severity:n.ERROR}))}render(){return t(i,{key:"46b01f30e476ae5e3892b96d804305c8e099b4c2"},t("terminal-orders-list-core",{key:"4a0d1079a9afbf328c3dd382ca5e2180b5679da0",getTerminalOrders:this.getTerminalOrders,"onError-event":this.handleErrorEvent,columns:this.columns}))}};export{u as justifi_terminal_orders_list}
|