@justifi/webcomponents 6.10.3 → 6.11.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/{Plaid-B_UkFjIV.js → Plaid-DR9WDZ98.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -2
- package/dist/cjs/{badge-Cl6qJPK_.js → badge-GBNtUypt.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_9.cjs.entry.js +11 -17
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business.service-Kplx8w_D.js → business.service-mliLE8kX.js} +1 -1
- package/dist/cjs/button-CR9Rl1-o.js +43 -0
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-DpY7PKYF.js → check-pkg-version-Di4JmtKX.js} +2 -2
- package/dist/cjs/{checkout.service-B2toaeKY.js → checkout.service-Cok0vRot.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +6 -6
- package/dist/cjs/{checkouts-table-CXgizBib.js → checkouts-table-CCxrsy0x.js} +2 -2
- package/dist/cjs/custom-popper_2.cjs.entry.js +3 -3
- package/dist/cjs/{dispute.service-C4n1SOsu.js → dispute.service-DEH_I2G9.js} +1 -1
- package/dist/cjs/form-alert_5.cjs.entry.js +1 -1
- package/dist/cjs/form-control-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-6-HeM6bw.js → form-control-error-text-BO58Y6zF.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-D0LaZkGk.js → form-control-help-text-BdbTxD5g.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_3.cjs.entry.js +4 -4
- package/dist/cjs/form-control-number_3.cjs.entry.js +6 -6
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/form-control-select_2.cjs.entry.js +6 -6
- package/dist/cjs/{get-payment-details-Atcodhcd.js → get-payment-details-DNpOyUyR.js} +1 -1
- package/dist/cjs/{get-subaccounts-BUyf9EhG.js → get-subaccounts-BQW_RPW5.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +4 -4
- package/dist/cjs/{header-1-BOijdmPN.js → header-1-CsBQoo1f.js} +1 -1
- package/dist/cjs/{header-3-FeTJjrR1.js → header-3-DCYJhPro.js} +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +7 -7
- package/dist/cjs/{insurance-state-DIV_moDI.js → insurance-state-Xe2auE-N.js} +1 -1
- package/dist/cjs/internal-tokenize-payment-method_7.cjs.entry.js +12 -12
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +75 -67
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +9 -9
- package/dist/cjs/justifi-apple-pay_8.cjs.entry.js +19 -17
- package/dist/cjs/justifi-bank-account-billing-form-simple_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -5
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +5 -5
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +11 -11
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +5 -5
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payout-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +8 -8
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +6 -6
- package/dist/cjs/justifi-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +10 -6
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +5 -3
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +9 -9
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-C7-boC1U.js → package-D8NG-zuY.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-C0AyF3nd.js → parts-BXshb_S-.js} +19 -70
- package/dist/cjs/payment-details-core.cjs.entry.js +14 -14
- package/dist/cjs/payment-method-option.cjs.entry.js +2 -2
- package/dist/cjs/{payment-provisioning-loading-CbcFPETB.js → payment-provisioning-loading-tM9WWmxv.js} +1 -1
- package/dist/cjs/{payment.service-CxSGTv_O.js → payment.service-Dl9UExDw.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +8 -8
- package/dist/cjs/{payments-status-EZ95BQex.js → payments-status-Bj_bCKUP.js} +1 -1
- package/dist/cjs/{payments-table-D5Hw3JDe.js → payments-table-CUxpxNnc.js} +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +9 -9
- package/dist/cjs/{payout.service-CO2wDM6M.js → payout.service-kaFewwx4.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +8 -8
- package/dist/cjs/{payouts-status-D1IbE3-c.js → payouts-status-DXZ5fl4v.js} +1 -1
- package/dist/cjs/{payouts-table-DmVthJLU.js → payouts-table-Dex2W8r1.js} +2 -2
- package/dist/cjs/plaid.service-CK1ouCBC.js +43 -0
- package/dist/cjs/{skeleton-C9Aio7v_.js → skeleton-DvRCiQlA.js} +1 -1
- package/dist/cjs/{spinner-oLSXKwxU.js → spinner-C6ZGOB2P.js} +1 -1
- package/dist/cjs/{table-CEW0_wq-.js → table-DjbNv28p.js} +2 -2
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +7 -7
- package/dist/cjs/{terminal-orders-table-DPHz95-0.js → terminal-orders-table-07fV7wGh.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-CUVwCH-a.js → terminal.service-UUoIe0IR.js} +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +7 -7
- package/dist/cjs/{terminals-table-C6rm50Mk.js → terminals-table-DmnAuog5.js} +2 -2
- package/dist/cjs/{utils-Vwo0VR7n.js → utils-8RGQVADu.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Terminal.js +1 -1
- package/dist/collection/api/services/apple-pay.service.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +71 -64
- package/dist/collection/components/business-forms/payment-provisioning/plaid-verification/plaid-verification.js +1 -8
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +24 -4
- 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 +2 -2
- 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/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/summary.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 +8 -8
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +4 -4
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +4 -4
- 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 +27 -5
- 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 +42 -2
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/internal-tokenize-payment-method.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +1 -1
- package/dist/collection/styles/parts.js +8 -40
- package/dist/collection/ui-components/button.js +27 -3
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +117 -16
- package/dist/esm/{Plaid-Cmyilr-q.js → Plaid-DOdR_CNb.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +2 -2
- package/dist/esm/{badge-AZ7Z3PKH.js → badge-guwZ0VTf.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_9.entry.js +10 -16
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business.service-CS-wQJoN.js → business.service-DSolii9Q.js} +1 -1
- package/dist/esm/button-CdXktiZq.js +41 -0
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-DKbeTbtv.js → check-pkg-version-Dn83YYz_.js} +2 -2
- package/dist/esm/{checkout.service-BcQ_onZq.js → checkout.service-BTXHVtxI.js} +1 -1
- package/dist/esm/checkouts-list-core.entry.js +6 -6
- package/dist/esm/{checkouts-table-C5aYyqpX.js → checkouts-table-Bf6gjMf8.js} +2 -2
- package/dist/esm/custom-popper_2.entry.js +3 -3
- package/dist/esm/{dispute.service-B_oe0uFV.js → dispute.service-CpDEYnHy.js} +1 -1
- package/dist/esm/form-alert_5.entry.js +1 -1
- package/dist/esm/form-control-checkbox.entry.js +3 -3
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-xEskXF-M.js → form-control-error-text-JYoDicr0.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-Dgnv4IId.js → form-control-help-text-DxL7yVgi.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +3 -3
- package/dist/esm/form-control-monetary.entry.js +5 -5
- package/dist/esm/form-control-number-masked_3.entry.js +4 -4
- package/dist/esm/form-control-number_3.entry.js +6 -6
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/form-control-select_2.entry.js +6 -6
- package/dist/esm/{get-payment-details-BdewJSTH.js → get-payment-details-VEzqfeuZ.js} +1 -1
- package/dist/esm/{get-subaccounts-BFALCYFr.js → get-subaccounts-DUdsxExJ.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +4 -4
- package/dist/esm/{header-1-xlSavD5o.js → header-1-CU8Erek9.js} +1 -1
- package/dist/esm/{header-3-egutsoDI.js → header-3-BwJ-9MsW.js} +1 -1
- package/dist/esm/hidden-input_2.entry.js +7 -7
- package/dist/esm/{insurance-state-jZTKdt60.js → insurance-state-gsU4kKgc.js} +1 -1
- package/dist/esm/internal-tokenize-payment-method_7.entry.js +12 -12
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +75 -67
- package/dist/esm/justifi-additional-statement_8.entry.js +9 -9
- package/dist/esm/justifi-apple-pay_8.entry.js +16 -14
- package/dist/esm/justifi-bank-account-billing-form-simple_3.entry.js +2 -2
- package/dist/esm/justifi-business-details.entry.js +6 -6
- package/dist/esm/justifi-business-form.entry.js +8 -8
- package/dist/esm/justifi-checkout.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -5
- package/dist/esm/justifi-checkouts-list.entry.js +9 -9
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-dispute-management-core.entry.js +1 -1
- package/dist/esm/justifi-dispute-management.entry.js +5 -5
- package/dist/esm/justifi-dispute-notification_3.entry.js +11 -11
- package/dist/esm/justifi-gross-payment-chart.entry.js +5 -5
- package/dist/esm/justifi-order-terminals.entry.js +8 -8
- package/dist/esm/justifi-payment-details.entry.js +7 -7
- package/dist/esm/justifi-payment-provisioning-core.entry.js +4 -4
- package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
- package/dist/esm/justifi-payment-transactions-list.entry.js +8 -8
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +9 -9
- package/dist/esm/justifi-payout-details.entry.js +6 -6
- package/dist/esm/justifi-payout-transactions-list.entry.js +8 -8
- package/dist/esm/justifi-payouts-list-filters.entry.js +5 -5
- package/dist/esm/justifi-payouts-list.entry.js +10 -10
- package/dist/esm/justifi-refund-payment.entry.js +8 -8
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +6 -6
- package/dist/esm/justifi-skeleton.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +10 -6
- package/dist/esm/justifi-terminal-orders-list.entry.js +7 -7
- package/dist/esm/justifi-terminals-list-filters.entry.js +5 -3
- package/dist/esm/justifi-terminals-list.entry.js +9 -9
- package/dist/esm/justifi-tokenize-payment-method.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-C2WozQkF.js → package-qNXIkzDE.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/parts-D3V9AE6o.js +110 -0
- package/dist/esm/payment-details-core.entry.js +14 -14
- package/dist/esm/payment-method-option.entry.js +2 -2
- package/dist/esm/{payment-provisioning-loading-D_VKtlLm.js → payment-provisioning-loading-CQfDKCwy.js} +1 -1
- package/dist/esm/{payment.service-Nvz1TYZB.js → payment.service-BjU4B__W.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +8 -8
- package/dist/esm/{payments-status-D4XkcfLU.js → payments-status-DT4VNKKg.js} +1 -1
- package/dist/esm/{payments-table-BDaiD836.js → payments-table-BJ1F2ZZU.js} +2 -2
- package/dist/esm/payout-details-core.entry.js +9 -9
- package/dist/esm/{payout.service-tTxsxoqF.js → payout.service-CzCd8AaC.js} +1 -1
- package/dist/esm/payouts-list-core.entry.js +8 -8
- package/dist/esm/{payouts-status-BR1vd6-D.js → payouts-status-LTNE_gQc.js} +1 -1
- package/dist/esm/{payouts-table-B4nuJlpC.js → payouts-table-Yp2d9OgA.js} +2 -2
- package/dist/esm/plaid.service-D61Eq14d.js +41 -0
- package/dist/esm/{skeleton-C162KC3u.js → skeleton-CV6EpBqb.js} +1 -1
- package/dist/esm/{spinner-BfjGGaND.js → spinner-CG3aWl8K.js} +1 -1
- package/dist/esm/{table-hHARNoRM.js → table-DZ6rurWg.js} +2 -2
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +7 -7
- package/dist/esm/{terminal-orders-table-B-xs6ocO.js → terminal-orders-table-CJg6dKsL.js} +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-Dv1-CZ4Y.js → terminal.service-BBdRhDxm.js} +1 -1
- package/dist/esm/terminals-list-core.entry.js +7 -7
- package/dist/esm/{terminals-table-CnKH-UOw.js → terminals-table-iGSICJeZ.js} +2 -2
- package/dist/esm/{utils-BSpK1eMX.js → utils-DUArY3am.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Plaid.js +1 -1
- package/dist/module/additional-statement.js +2 -2
- package/dist/module/apple-pay.js +1 -1
- package/dist/module/bank-account.js +2 -2
- package/dist/module/business-bank-account-form-step.js +71 -64
- package/dist/module/button.js +27 -3
- package/dist/module/cancellation-policy.js +2 -2
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.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 +2 -2
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +2 -2
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +2 -2
- package/dist/module/electronic-evidence.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number2.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/internal-tokenize-payment-method2.js +1 -1
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-checkout.js +1 -1
- package/dist/module/justifi-checkouts-list-filters.js +6 -4
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-order-terminals.js +2 -2
- package/dist/module/justifi-payment-transactions-list.js +2 -2
- package/dist/module/justifi-payments-list-filters.js +4 -4
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-transactions-list.js +2 -2
- package/dist/module/justifi-payouts-list-filters.js +4 -4
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +22 -12
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +6 -2
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/modular-checkout.js +2 -2
- package/dist/module/package.js +1 -1
- package/dist/module/parts.js +10 -41
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/payments-list-core2.js +2 -2
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +2 -2
- package/dist/module/plaid-payment-method.js +3 -2
- package/dist/module/plaid-verification2.js +1 -8
- package/dist/module/product-or-service.js +2 -2
- package/dist/module/refund-policy.js +2 -2
- package/dist/module/shipping-details.js +2 -2
- package/dist/module/summary.js +1 -1
- package/dist/module/table-filters-menu2.js +2 -2
- package/dist/module/table.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +2 -2
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +2 -2
- package/dist/types/api/Checkout.d.ts +1 -0
- package/dist/types/api/Terminal.d.ts +3 -1
- package/dist/types/api/TerminalOrder.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +10 -3
- package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +1 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list-filters.d.ts +2 -0
- package/dist/types/components/terminals-list/terminals-list-filters.d.ts +2 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/types/styles/parts.d.ts +8 -35
- package/dist/types/ui-components/button.d.ts +2 -1
- package/dist/webcomponents/{p-DqtDbB8E.js → p--UanYWb-.js} +1 -1
- package/dist/webcomponents/p-03b913e8.entry.js +1 -0
- package/dist/webcomponents/{p-e89d0f36.entry.js → p-12b662e3.entry.js} +1 -1
- package/dist/webcomponents/{p-9d69ae9f.entry.js → p-132c8d4c.entry.js} +2 -2
- package/dist/webcomponents/{p-ff4d485f.entry.js → p-15919744.entry.js} +1 -1
- package/dist/webcomponents/{p-6f2b0469.entry.js → p-19e82b02.entry.js} +1 -1
- package/dist/webcomponents/{p-eaa9cb8e.entry.js → p-19f22078.entry.js} +1 -1
- package/dist/webcomponents/{p-6d565cd6.entry.js → p-1ddbbba8.entry.js} +1 -1
- package/dist/webcomponents/p-1fc96f35.entry.js +1 -0
- package/dist/webcomponents/{p-11402020.entry.js → p-251f6c90.entry.js} +1 -1
- package/dist/webcomponents/p-2758d129.entry.js +1 -0
- package/dist/webcomponents/p-2V38oZhe.js +1 -0
- package/dist/webcomponents/p-2xM1wp0u.js +1 -0
- package/dist/webcomponents/p-320aac60.entry.js +1 -0
- package/dist/webcomponents/{p-cb09959d.entry.js → p-337fb232.entry.js} +1 -1
- package/dist/webcomponents/p-3490ede8.entry.js +1 -0
- package/dist/webcomponents/{p-393c9065.entry.js → p-368d8543.entry.js} +1 -1
- package/dist/webcomponents/{p-d246e573.entry.js → p-3bf56699.entry.js} +1 -1
- package/dist/webcomponents/p-3cd30c7a.entry.js +1 -0
- package/dist/webcomponents/{p-c6a9410d.entry.js → p-3f9c7b04.entry.js} +1 -1
- package/dist/webcomponents/p-426fd524.entry.js +1 -0
- package/dist/webcomponents/{p-540e2ef2.entry.js → p-4ae0227a.entry.js} +1 -1
- package/dist/webcomponents/p-50a34a13.entry.js +1 -0
- package/dist/webcomponents/{p-d35b09bf.entry.js → p-5148f836.entry.js} +1 -1
- package/dist/webcomponents/{p-cb9abd2c.entry.js → p-541da1ed.entry.js} +1 -1
- package/dist/webcomponents/{p-7e3030c2.entry.js → p-55605664.entry.js} +1 -1
- package/dist/webcomponents/p-55b478bc.entry.js +1 -0
- package/dist/webcomponents/{p-5206cd09.entry.js → p-57e09f09.entry.js} +1 -1
- package/dist/webcomponents/p-5b4dfe0e.entry.js +1 -0
- package/dist/webcomponents/p-5c70a772.entry.js +1 -0
- package/dist/webcomponents/{p-150a622a.entry.js → p-60df1c18.entry.js} +1 -1
- package/dist/webcomponents/p-6Nv8l5n8.js +1 -0
- package/dist/webcomponents/{p-c72c5b99.entry.js → p-6cdea3ef.entry.js} +1 -1
- package/dist/webcomponents/p-7703ada7.entry.js +1 -0
- package/dist/webcomponents/{p-e3d03faf.entry.js → p-77d0f2e2.entry.js} +1 -1
- package/dist/webcomponents/{p-7e14f6ac.entry.js → p-7cb910cf.entry.js} +1 -1
- package/dist/webcomponents/p-8ed651b1.entry.js +1 -0
- package/dist/webcomponents/{p-1cd7cdbf.entry.js → p-97e27e4a.entry.js} +1 -1
- package/dist/webcomponents/p-9ed5d349.entry.js +1 -0
- package/dist/webcomponents/p-BPpqjhPu.js +1 -0
- package/dist/webcomponents/p-BU9iZ8OM.js +1 -0
- package/dist/webcomponents/p-BXT1uJVr.js +1 -0
- package/dist/webcomponents/p-BYLHkONM.js +1 -0
- package/dist/webcomponents/{p-HfLk4CG0.js → p-BrcAwFqw.js} +1 -1
- package/dist/webcomponents/p-C0tps2ph.js +1 -0
- package/dist/webcomponents/{p-CGJ_mnry.js → p-C5CtnV8A.js} +1 -1
- package/dist/webcomponents/{p-DYEXDs2k.js → p-CMLfjWil.js} +1 -1
- package/dist/webcomponents/p-COZ-9O53.js +1 -0
- package/dist/webcomponents/p-C_WlV7F_.js +1 -0
- package/dist/webcomponents/{p-5mt2ek0H.js → p-Csh7hxly.js} +1 -1
- package/dist/webcomponents/{p-CIh-k9yP.js → p-D-cvuqv1.js} +1 -1
- package/dist/webcomponents/p-D3V9AE6o.js +1 -0
- package/dist/webcomponents/p-DSmuL_bZ.js +1 -0
- package/dist/webcomponents/{p-B_KHnbK8.js → p-DdR4lBzU.js} +1 -1
- package/dist/webcomponents/{p-6V4e6Fb_.js → p-DnZY6aQX.js} +1 -1
- package/dist/webcomponents/p-DzeWzcho.js +1 -0
- package/dist/webcomponents/{p-CkX7qWsc.js → p-ERB63T7J.js} +1 -1
- package/dist/webcomponents/p-FcERM7LF.js +1 -0
- package/dist/webcomponents/{p-CemnnRdZ.js → p-XxcNbSyO.js} +1 -1
- package/dist/webcomponents/p-_BHErKTQ.js +1 -0
- package/dist/webcomponents/p-a109b3a1.entry.js +1 -0
- package/dist/webcomponents/{p-00ba4cf6.entry.js → p-a5db7147.entry.js} +1 -1
- package/dist/webcomponents/p-b08bca2b.entry.js +1 -0
- package/dist/webcomponents/p-b2c237c6.entry.js +1 -0
- package/dist/webcomponents/p-b2d5f105.entry.js +1 -0
- package/dist/webcomponents/p-b8fc6dff.entry.js +1 -0
- package/dist/webcomponents/p-c595d3fb.entry.js +1 -0
- package/dist/webcomponents/{p-c9ea1b77.entry.js → p-c751bb5f.entry.js} +1 -1
- package/dist/webcomponents/{p-6c503a00.entry.js → p-c9f94919.entry.js} +1 -1
- package/dist/webcomponents/{p-a105de67.entry.js → p-ca307ba0.entry.js} +1 -1
- package/dist/webcomponents/p-ca7e369f.entry.js +1 -0
- package/dist/webcomponents/{p-b0e83a6e.entry.js → p-cab4c787.entry.js} +1 -1
- package/dist/webcomponents/p-cd220f6c.entry.js +1 -0
- package/dist/webcomponents/{p-39d11c59.entry.js → p-cd2c2256.entry.js} +1 -1
- package/dist/webcomponents/p-cd7a4048.entry.js +1 -0
- package/dist/webcomponents/p-d5d8ccd9.entry.js +1 -0
- package/dist/webcomponents/p-e646422f.entry.js +1 -0
- package/dist/webcomponents/p-e72d05b1.entry.js +1 -0
- package/dist/webcomponents/p-e86c713b.entry.js +1 -0
- package/dist/webcomponents/p-e9d7f988.entry.js +1 -0
- package/dist/webcomponents/p-ef98982e.entry.js +1 -0
- package/dist/webcomponents/p-f1562dab.entry.js +1 -0
- package/dist/webcomponents/p-f23b4474.entry.js +1 -0
- package/dist/webcomponents/{p-808bf425.entry.js → p-f4074e9a.entry.js} +1 -1
- package/dist/webcomponents/p-f44008d9.entry.js +1 -0
- package/dist/webcomponents/{p-154efb83.entry.js → p-f657995a.entry.js} +1 -1
- package/dist/webcomponents/p-fa3b5072.entry.js +1 -0
- package/dist/webcomponents/p-fb58eb13.entry.js +1 -0
- package/dist/webcomponents/{p-fbfe6211.entry.js → p-fff25a5f.entry.js} +1 -1
- package/dist/webcomponents/p-o83Uy7sW.js +1 -0
- package/dist/webcomponents/p-qNXIkzDE.js +1 -0
- package/dist/webcomponents/{p-BHA4oSi3.js → p-rgpO5xc3.js} +1 -1
- package/dist/webcomponents/p-t6eP44Li.js +1 -0
- package/dist/webcomponents/{p-DyJ1zSHJ.js → p-vIYW-hye.js} +1 -1
- package/dist/webcomponents/p-xvmoHDSy.js +1 -0
- package/dist/webcomponents/{p-DX6fcx_0.js → p-zGGZEiGQ.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +4 -2
- package/dist/cjs/button-Cr3iHpyf.js +0 -19
- package/dist/cjs/plaid-icon-DiZrP1DM.js +0 -46
- package/dist/esm/button-DOkTCYSa.js +0 -17
- package/dist/esm/parts-C4FLe2pT.js +0 -141
- package/dist/esm/plaid-icon-B7a1QC7F.js +0 -43
- package/dist/module/plaid-icon.js +0 -3
- package/dist/webcomponents/p--Kvji7o2.js +0 -1
- package/dist/webcomponents/p-02dfdc6f.entry.js +0 -1
- package/dist/webcomponents/p-05d11c40.entry.js +0 -1
- package/dist/webcomponents/p-0f1c100d.entry.js +0 -1
- package/dist/webcomponents/p-163055e3.entry.js +0 -1
- package/dist/webcomponents/p-19f1e643.entry.js +0 -1
- package/dist/webcomponents/p-1b973781.entry.js +0 -1
- package/dist/webcomponents/p-21b5240d.entry.js +0 -1
- package/dist/webcomponents/p-2d39358b.entry.js +0 -1
- package/dist/webcomponents/p-35d1be0f.entry.js +0 -1
- package/dist/webcomponents/p-402ba9aa.entry.js +0 -1
- package/dist/webcomponents/p-52dc271f.entry.js +0 -1
- package/dist/webcomponents/p-5862236f.entry.js +0 -1
- package/dist/webcomponents/p-62f9c008.entry.js +0 -1
- package/dist/webcomponents/p-69c2bbcf.entry.js +0 -1
- package/dist/webcomponents/p-7bf586ca.entry.js +0 -1
- package/dist/webcomponents/p-7f3dcd42.entry.js +0 -1
- package/dist/webcomponents/p-88c6713a.entry.js +0 -1
- package/dist/webcomponents/p-88d6068d.entry.js +0 -1
- package/dist/webcomponents/p-8Wa_-5QM.js +0 -1
- package/dist/webcomponents/p-8a42d4fe.entry.js +0 -1
- package/dist/webcomponents/p-8c55dac0.entry.js +0 -1
- package/dist/webcomponents/p-8e631781.entry.js +0 -1
- package/dist/webcomponents/p-9a11f17b.entry.js +0 -1
- package/dist/webcomponents/p-9dedad17.entry.js +0 -1
- package/dist/webcomponents/p-BiNakvsa.js +0 -1
- package/dist/webcomponents/p-BoO2BHR_.js +0 -1
- package/dist/webcomponents/p-BtFe5yQU.js +0 -1
- package/dist/webcomponents/p-C2WozQkF.js +0 -1
- package/dist/webcomponents/p-C3kbpEIZ.js +0 -1
- package/dist/webcomponents/p-C4FLe2pT.js +0 -1
- package/dist/webcomponents/p-CI11WF1E.js +0 -1
- package/dist/webcomponents/p-CJZ09QNH.js +0 -1
- package/dist/webcomponents/p-DAZtHA62.js +0 -1
- package/dist/webcomponents/p-DFiTyYE9.js +0 -1
- package/dist/webcomponents/p-DO4RBao8.js +0 -1
- package/dist/webcomponents/p-DqVU8ohH.js +0 -1
- package/dist/webcomponents/p-DsT0m0mo.js +0 -1
- package/dist/webcomponents/p-DyETkJs3.js +0 -1
- package/dist/webcomponents/p-EaBIgUj8.js +0 -1
- package/dist/webcomponents/p-Jz9qdPhR.js +0 -1
- package/dist/webcomponents/p-a2b016a7.entry.js +0 -1
- package/dist/webcomponents/p-a959ca16.entry.js +0 -1
- package/dist/webcomponents/p-b54bf8da.entry.js +0 -1
- package/dist/webcomponents/p-bcba5950.entry.js +0 -1
- package/dist/webcomponents/p-c0592f5f.entry.js +0 -1
- package/dist/webcomponents/p-c6aee723.entry.js +0 -1
- package/dist/webcomponents/p-c7930f9a.entry.js +0 -1
- package/dist/webcomponents/p-e71e4c49.entry.js +0 -1
- package/dist/webcomponents/p-e817f8fc.entry.js +0 -1
- package/dist/webcomponents/p-e8cd3097.entry.js +0 -1
- package/dist/webcomponents/p-eEJMJXTG.js +0 -1
- package/dist/webcomponents/p-f55a6397.entry.js +0 -1
|
@@ -11,7 +11,7 @@ import { T as TableClickActions } from './event-types.js';
|
|
|
11
11
|
import './justifi-radio-list-item2.js';
|
|
12
12
|
import { M as MapPaymentStatusToBadge } from './payments-status.js';
|
|
13
13
|
import { h as convertToLocal } from './utils2.js';
|
|
14
|
-
import { w as tableHeadCell,
|
|
14
|
+
import { w as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
|
|
15
15
|
import { o as onQueryParamsChange, g as getRequestParams } from './payments-list-params-state.js';
|
|
16
16
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
17
17
|
|
|
@@ -140,7 +140,7 @@ const PaymentsListCore = /*@__PURE__*/ proxyCustomElement(class PaymentsListCore
|
|
|
140
140
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
141
141
|
}
|
|
142
142
|
render() {
|
|
143
|
-
return (h(TableWrapper, { key: '
|
|
143
|
+
return (h(TableWrapper, { key: 'da09dd4ecfc3048f2d0167fc0e3b42178557fc44' }, h(TableComponent, { key: 'd07a431c7e29d29f006ab660f97c19df9daaf109' }, h(TableHead, { key: 'a93ddd63aaf27fe28771dce7acfc8a857f8092d3' }, h(TableHeadRow, { key: 'dc9247cd47f9a37fc972cdcec9e7f4cd1958c69d' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: 'db8bf40a9c558207ae3f8fed0fe11a1e4d58a9d2' }, h(TableLoadingState, { key: 'a77bb76a189c53878b472b31dd5aea4790cbea71', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '09e14570f600a78e609bb11de576ba51f086bf01', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '352ba81460e793f4cea14f35720d8239604efd82', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '765ea2360d2badc2a55b01799734b5255e133e54' }, h(TableFootRow, { key: 'e0bf3fb8035c327cacef570aefe131fac9d24b90' }, h(TableFootCell, { key: '8d1507b8f05530801f08433af98ae5978d3a05ab', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '5e3276e46de888323c3268910e2f5f2d9268b4ca', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
144
144
|
}
|
|
145
145
|
static get watchers() { return {
|
|
146
146
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -77,9 +77,9 @@ const PayoutDetailsCore = /*@__PURE__*/ proxyCustomElement(class PayoutDetailsCo
|
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
79
|
var _a;
|
|
80
|
-
return (h(StyledHost, { key: '
|
|
81
|
-
h(DetailSectionTitle, { key: '
|
|
82
|
-
h("div", { key: '
|
|
80
|
+
return (h(StyledHost, { key: 'd335394cbcbf7159e13b44c488719de949b166dc' }, this.loading && h(PayoutDetailsLoading, { key: '7c72354aad37f4cce64d036ce05a0957803ea6b5' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '8ba9a6f04d4a91b9e99d226f8c81f64773433f01', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: 'e96e1c53a9efc0907895388b1bcae92e04aacd49', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '1bb438ad0a8b0ff564752e0661a1b49d8ac77ca8', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: 'd00a9debc99172b289e7152ae06b3827c2b36855', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '78417a3170bc3115188be6268fa5a3126b751e7f', title: "ID", value: this.payout.id }), h("div", { key: 'e38d3da9d335078c95e8c58a4125478f4ba2fb6e', class: "m-4" }, h(Button, { key: '5c229f88885389be98cade9abdd8a0c60d78f94a', variant: "outline-secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '9b195abd5d28bff4196d80c543eee9c9304e96b6', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'c64ad00954c81a00de12b9c6da9737b1692e3d2c', sectionTitle: "Details" }), h("div", { key: '6caa6a55a2ce061959df55eb8a2c1fe379028289', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'ba4d06bb2b68aa22d683511602f6d12d5dd4d507', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'f7ee0717c7395c5effa81464b1becf616c61a02b', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '1c142e531e9cf8e16f4dc67114060d2f2cce0b0c', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: 'f0d78701957991cb2efefc24b3a162b736be490d', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: 'a75896cf9a33c9bbf8f13c1774a6db829d0f5f7f', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '22cd3beaaa38900b86ac810dd08c1a61f8593f75', sectionTitle: "Account" }), h("div", { key: 'f6980d28e7c9ef4339b86baaa9849658e39ed286', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'ae7bc36f7839496d26a44e1a78a9ce3df7fc4f19', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: 'ebed350562e7a6dc16f8d883645854c27f734c6b', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '51d885752922ca9fdc76905f1ea58ecfc245f036', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '26da2532c8b1b5e8e2495d9522c2da937b917baa', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'd485027365ddc9f28833b659f583c9a66c2b532a', title: "Account Number", value: `**** ${this.payout.bank_account.account_number_last4}` })), this.payout.metadata && [
|
|
81
|
+
h(DetailSectionTitle, { key: 'e34be3a7a4f2e43d677747429cbbe746424db7ae', sectionTitle: 'Metadata' }),
|
|
82
|
+
h("div", { key: 'b1c6324d0eefcde79e2281a311ae58df5391636f', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '539d31351ea9dd4af7ac973ca79fa572f4194613', metadata: this.payout.metadata }))
|
|
83
83
|
])))));
|
|
84
84
|
}
|
|
85
85
|
static get watchers() { return {
|
|
@@ -11,7 +11,7 @@ import { T as TableClickActions } from './event-types.js';
|
|
|
11
11
|
import './justifi-radio-list-item2.js';
|
|
12
12
|
import { h as convertToLocal } from './utils2.js';
|
|
13
13
|
import { M as MapPayoutStatusToBadge } from './payouts-status.js';
|
|
14
|
-
import { w as tableHeadCell,
|
|
14
|
+
import { w as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
|
|
15
15
|
import { o as onQueryParamsChange, g as getRequestParams } from './payouts-list-params-state.js';
|
|
16
16
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
17
17
|
|
|
@@ -174,7 +174,7 @@ const PayoutsListCore = /*@__PURE__*/ proxyCustomElement(class PayoutsListCore e
|
|
|
174
174
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
175
175
|
}
|
|
176
176
|
render() {
|
|
177
|
-
return (h(TableWrapper, { key: '
|
|
177
|
+
return (h(TableWrapper, { key: '7390478ce8a885879bf01c14879a2829a2c439d9' }, h(TableComponent, { key: 'f11e58abad61c97cf62e608ca8cb230357a6a5d6' }, h(TableHead, { key: 'e8e426d3ac0df2fa6387e52f0137927df6a92d8f' }, h(TableHeadRow, { key: 'a246921d8c542146109d128921b6e1d846eb6841' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '4ca3aaa9d129ed2378cf82048b72c73df1520b75' }, h(TableLoadingState, { key: '05d224f776fe6921da94f3129220b700e2258804', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'e5b643eeeb13c2d8cc4e423c094cb7a7466d2c30', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '09cc23b1312b2e57569cd82e11ea7b0a49a3290c', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'd5988314478f6dab63d7f8045e915d5c61a2ffb1' }, h(TableFootRow, { key: '70e9cda33c119f836a6439c92f6e215276f12d20' }, h(TableFootCell, { key: '5b8ed61ab3c3e164fd06fc2d525640ac4b3d2fa2', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '9eded9336a3affc26cc829a8df3eaceb663bac95', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
178
178
|
}
|
|
179
179
|
static get watchers() { return {
|
|
180
180
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { c as checkoutStore,
|
|
2
|
+
import { c as checkoutStore, b as onChange } from './checkout.store.js';
|
|
3
3
|
import { S as StyledHost } from './styled-host.js';
|
|
4
4
|
import './details.js';
|
|
5
5
|
import './event-types.js';
|
|
6
6
|
import './justifi-radio-list-item2.js';
|
|
7
|
-
import { p as plaidIconSvg } from './plaid-icon.js';
|
|
8
7
|
import { P as PlaidService } from './plaid.service.js';
|
|
9
8
|
import { P as PLAID_ERROR_SEVERITY, b as PLAID_ERROR_MESSAGES, c as PlaidErrorCodes, a as ComponentErrorSeverity } from './Plaid.js';
|
|
10
9
|
import { P as PAYMENT_METHODS } from './ModularCheckout.js';
|
|
11
10
|
|
|
11
|
+
const plaidIconSvg = 'data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjQ4IiB2aWV3Qm94PSIwIDAgMjggMjkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY2xhc3M9ImNzcy0xcmRhajhtIj48ZyBmaWxsPSIjMTExIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yNS43NjI5IDI2LjI2MjhMMjggMTcuNTMwOUwyNC45NjkxIDE0LjUwMDFMMjcuOTk5OSAxMS40NjkxTDI1Ljc2MjggMi43MzcwNkwxNy4wMzA5IDAuNUwxNC4wMDAxIDMuNTMxTDEwLjk2OSAwLjUwMDE0TDIuMjM3MDYgMi43MzczNEwwIDExLjQ2OTFMMy4wMzEyOCAxNC40OTk5TDAuMDAwMTQgMTcuNTMxTDIuMjM3MiAyNi4yNjI5TDEwLjk2OTEgMjguNUwxNC4wMDAxIDI1LjQ2OUwxNy4wMzEgMjguNDk5OUwyNS43NjI5IDI2LjI2MjhaTTE1LjczMjEgMjMuNzM3MUwxOC42MTg2IDIwLjg1MDVMMjIuMjkxMiAyNC41MjMzTDE3LjY5NTYgMjUuNzAwN0wxNS43MzIxIDIzLjczNzFaTTExLjExMzYgOS44ODE1NEwxNC4wMDAzIDYuOTk1MDJMMTYuODg2OCA5Ljg4MTRMMTQuMDAwMSAxMi43Njc5TDExLjExMzYgOS44ODE1NFpNMTIuMjY4MiAxNC41TDkuMzgxNTQgMTcuMzg2NUw2LjQ5NTAyIDE0LjVMOS4zODE1NCAxMS42MTM1TDEyLjI2ODIgMTQuNVpNMTguNjE4NyAxMS42MTMzTDIxLjUwNTMgMTQuNUwxOC42MTg2IDE3LjM4NjVMMTUuNzMyMSAxNC41TDE4LjYxODcgMTEuNjEzM1pNMTYuODg2NyAxOS4xMTg2TDE0LjAwMDEgMjIuMDA1MUwxMS4xMTM1IDE5LjExODVMMTQuMDAwMSAxNi4yMzE5TDE2Ljg4NjcgMTkuMTE4NlpNMTAuMzA0NCAyNS43MDA3TDUuNzA4NjQgMjQuNTIzM0w5LjM4MTU0IDIwLjg1MDRMMTIuMjY4MiAyMy43MzcxTDEwLjMwNDQgMjUuNzAwN1pNNC43NjMwOCAxNi4yMzE5TDcuNjQ5NiAxOS4xMTg1TDMuOTc2NyAyMi43OTE0TDIuNzk5MyAxOC4xOTU3TDQuNzYzMDggMTYuMjMxOVpNMy45NzY3IDYuMjA4MzZMNy42NDk3NCA5Ljg4MTRMNC43NjMwOCAxMi43NjgxTDIuNzk5MyAxMC44MDQxTDMuOTc2NyA2LjIwODM2Wk0xMi4yNjgzIDUuMjYyOTRMOS4zODE2OCA4LjE0OTZMNS43MDg5MiA0LjQ3NjdMMTAuMzA0NyAzLjI5OTNMMTIuMjY4MyA1LjI2Mjk0Wk0xNy42OTU5IDMuMjk5M0wyMi4yOTE1IDQuNDc2N0wxOC42MTg2IDguMTQ5NDZMMTUuNzMyMSA1LjI2Mjk0TDE3LjY5NTkgMy4yOTkzWk0yMy4yMzcyIDEyLjc2ODFMMjAuMzUwNSA5Ljg4MTRMMjQuMDIzMyA2LjIwODc4TDI1LjIwMDcgMTAuODA0NkwyMy4yMzcyIDEyLjc2ODFaTTI0LjAyMzMgMjIuNzkxNEwyMC4zNTA1IDE5LjExODZMMjMuMjM3MiAxNi4yMzIxTDI1LjIwMDcgMTguMTk1N0wyNC4wMjMzIDIyLjc5MTRaIj48L3BhdGg+PC9nPjwvc3ZnPgo=';
|
|
12
|
+
|
|
12
13
|
const PlaidPaymentMethod = /*@__PURE__*/ proxyCustomElement(class PlaidPaymentMethod extends HTMLElement {
|
|
13
14
|
constructor(registerHost) {
|
|
14
15
|
super();
|
|
@@ -7,7 +7,6 @@ import './event-types.js';
|
|
|
7
7
|
import './justifi-radio-list-item2.js';
|
|
8
8
|
import { P as PlaidService } from './plaid.service.js';
|
|
9
9
|
import { P as PLAID_ERROR_SEVERITY, b as PLAID_ERROR_MESSAGES, c as PlaidErrorCodes, a as ComponentErrorSeverity } from './Plaid.js';
|
|
10
|
-
import { p as plaidIconSvg } from './plaid-icon.js';
|
|
11
10
|
|
|
12
11
|
const PlaidVerification = /*@__PURE__*/ proxyCustomElement(class PlaidVerification extends HTMLElement {
|
|
13
12
|
constructor(registerHost) {
|
|
@@ -319,13 +318,7 @@ const PlaidVerification = /*@__PURE__*/ proxyCustomElement(class PlaidVerificati
|
|
|
319
318
|
}
|
|
320
319
|
return null;
|
|
321
320
|
};
|
|
322
|
-
const plaidLogo = (h("
|
|
323
|
-
display: 'inline',
|
|
324
|
-
width: '20px',
|
|
325
|
-
height: '20px',
|
|
326
|
-
marginLeft: '5px',
|
|
327
|
-
marginTop: '-2px',
|
|
328
|
-
} }));
|
|
321
|
+
const plaidLogo = (h("svg", { class: "plaid-logo-img", height: "20", width: "20", viewBox: "0 0 28 29", xmlns: "http://www.w3.org/2000/svg", style: { display: 'inline', marginLeft: '5px', marginRight: '5px', marginTop: '-2px' } }, h("g", { fill: "#fff", "fill-rule": "evenodd" }, h("path", { d: "M25.7629 26.2628L28 17.5309L24.9691 14.5001L27.9999 11.4691L25.7628 2.73706L17.0309 0.5L14.0001 3.531L10.969 0.50014L2.23706 2.73734L0 11.4691L3.03128 14.4999L0.00014 17.531L2.2372 26.2629L10.9691 28.5L14.0001 25.469L17.031 28.4999L25.7629 26.2628ZM15.7321 23.7371L18.6186 20.8505L22.2912 24.5233L17.6956 25.7007L15.7321 23.7371ZM11.1136 9.88154L14.0003 6.99502L16.8868 9.8814L14.0001 12.7679L11.1136 9.88154ZM12.2682 14.5L9.38154 17.3865L6.49502 14.5L9.38154 11.6135L12.2682 14.5ZM18.6187 11.6133L21.5053 14.5L18.6186 17.3865L15.7321 14.5L18.6187 11.6133ZM16.8867 19.1186L14.0001 22.0051L11.1135 19.1185L14.0001 16.2319L16.8867 19.1186ZM10.3044 25.7007L5.70864 24.5233L9.38154 20.8504L12.2682 23.7371L10.3044 25.7007ZM4.76308 16.2319L7.6496 19.1185L3.9767 22.7914L2.7993 18.1957L4.76308 16.2319ZM3.9767 6.20836L7.64974 9.8814L4.76308 12.7681L2.7993 10.8041L3.9767 6.20836ZM12.2683 5.26294L9.38168 8.1496L5.70892 4.4767L10.3047 3.2993L12.2683 5.26294ZM17.6959 3.2993L22.2915 4.4767L18.6186 8.14946L15.7321 5.26294L17.6959 3.2993ZM23.2372 12.7681L20.3505 9.8814L24.0233 6.20878L25.2007 10.8046L23.2372 12.7681ZM24.0233 22.7914L20.3505 19.1186L23.2372 16.2321L25.2007 18.1957L24.0233 22.7914Z" }))));
|
|
329
322
|
return (h(StyledHost, null, h("script", { src: "https://cdn.plaid.com/link/v2/stable/link-initialize.js", async: true, ref: (el) => (this.scriptRef = el) }), h("div", null, h("div", { class: "mb-3" }, h(Button, { variant: "primary", type: "button", onClick: (event) => { event.preventDefault(); this.openPlaidLink(); }, disabled: this.isLoading, part: buttonPrimary }, "Connect with Plaid ", plaidLogo, " (instant verification)")), renderErrorState(), renderStatusState())));
|
|
330
323
|
}
|
|
331
324
|
}, [256, "plaid-verification", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { ab as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$4 } from './form-control-date2.js';
|
|
7
7
|
import { d as defineCustomElement$3 } from './form-control-file-v22.js';
|
|
@@ -41,7 +41,7 @@ const ProductOrService = /*@__PURE__*/ proxyCustomElement(class ProductOrService
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '05fccd72cd4c7d22cd23e8f14518f0e70dacb3e5' }, h("div", { key: '464b6335fb494bbd13a4eb8ab8be0e73b7658a6b', class: "row gy-3" }, h("div", { key: '446a4650edee4c7b5caa8709afce2826484d1f28', class: "col-12" }, h("h2", { key: 'f2414eb4ea879136177702367591cb45542a6cdb', class: "h5", part: heading5 }, "Product & Service Details")), h("div", { key: '5ce3d90815b48a94f7aadc104aa02d3c04ef423d', class: "col-12" }, h("form-control-text", { key: '721d1376342972cb9a2a932c7a710231435905a5', label: "Product Description", name: "product_description", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.product_description, inputHandler: this.inputHandler, errorText: this.errors.product_description })), h("div", { key: 'f3580d06b1e390c3f769177091aa93b9b82e5b26', class: "col-12" }, h("form-control-date", { key: '9166a295b843c890100a41d33d38c69aaaa69950', label: "Service Date", name: "service_date", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.service_date, inputHandler: this.inputHandler, errorText: this.errors.service_date })), h("div", { key: 'd67631887c3178f05ae85112f71bcefb5807496c', class: "col-12" }, h("form-control-file-v2", { key: '8e9f0b2a8ffb264e3d89a36a452477a72482eb8a', label: "Service Documentation", name: "service_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.service_documentation })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "justifi-product-or-service", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { ab as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$5 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$4 } from './form-control-file-v22.js';
|
|
7
7
|
import { d as defineCustomElement$3 } from './form-control-help-text2.js';
|
|
@@ -41,7 +41,7 @@ const RefundPolicy = /*@__PURE__*/ proxyCustomElement(class RefundPolicy extends
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
var _a, _b, _c, _d;
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: 'b0b610c20e194b94743d99212e2efffef56520f9' }, h("div", { key: '0a17bc79f6a07aba4cf9e5f5ef0ee4a6d484bf51', class: "row gy-3" }, h("div", { key: '517679d918a832bdf8b21554cc9e4121c304cdff', class: "col-12" }, h("h2", { key: 'c49dfd3f5072031b1ff07e51df4149548e79d83a', class: "h5", part: heading5 }, "Refund Policy and Receipt")), h("div", { key: '5d7af624762783c0151d31e4c9600381b8a8fa3a', class: "col-12" }, h("form-control-textarea", { key: 'fb4ca818378fa6d674ba7c389f906145b9d11627', label: "Refund Policy Disclosure", name: "refund_policy_disclosure", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.refund_policy_disclosure, inputHandler: this.inputHandler })), h("div", { key: '0591b80676048c52034b0571ac94a1daad70f102', class: "col-12" }, h("form-control-textarea", { key: '1ce0a48f04f12a8d4bc91d01e90dd6caa32018af', label: "Refund Refusal Explanation", name: "refund_refusal_explanation", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.refund_refusal_explanation, inputHandler: this.inputHandler })), h("div", { key: 'd02a401923e4c38427cff3245767441ef4b9f779', class: "col-12" }, h("form-control-file-v2", { key: '772aefaf3e0a54768ef9163df0de8ba6cfdb28b5', label: "Upload Refund Policy", name: "refund_policy", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_c = this.documentErrors) === null || _c === void 0 ? void 0 : _c.refund_policy })), h("div", { key: 'd113a7eacf5a4aee4132baed5fd6a76bd670ba30', class: "col-12" }, h("form-control-file-v2", { key: '8a3c5f1d006e97ff6bb385a76818a325686ff1de', label: "Upload Receipt", name: "receipt", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_d = this.documentErrors) === null || _d === void 0 ? void 0 : _d.receipt })))));
|
|
45
45
|
}
|
|
46
46
|
}, [256, "justifi-refund-policy", {
|
|
47
47
|
"disputeResponse": [8, "dispute-response"],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as create$3, a as create$6, F as FormController } from './form.js';
|
|
3
3
|
import { D as DisputeResponseFormStep, f as fileInputHandler } from './file-input-handler.js';
|
|
4
|
-
import {
|
|
4
|
+
import { ab as heading5 } from './parts.js';
|
|
5
5
|
import { d as defineCustomElement$7 } from './custom-popper2.js';
|
|
6
6
|
import { d as defineCustomElement$6 } from './form-control-date2.js';
|
|
7
7
|
import { d as defineCustomElement$5 } from './form-control-file-v22.js';
|
|
@@ -46,7 +46,7 @@ const ShippingDetails = /*@__PURE__*/ proxyCustomElement(class ShippingDetails e
|
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
48
|
var _a, _b, _c, _d, _e;
|
|
49
|
-
return (h("div", { key: '
|
|
49
|
+
return (h("div", { key: '180df6d9062459eec271f148828a2dd57f18d271' }, h("div", { key: '406e8870df739225b547ada975dbd83085ea97d2', class: "row gy-3" }, h("div", { key: '44c088ffe6b0eb7cbe072069821de8c9d3e1892d', class: "col-12" }, h("h2", { key: '208bc93626a900b414ce3df5a8c3d7dfc5d1d75a', class: "h5", part: heading5 }, "Shipping Details")), h("div", { key: '27cf473cefd457cc3c802cef99ace1584881bf16', class: "col-12" }, h("form-control-text", { key: '6dfa9be914863103a6362c6b9efd81c5be99b0f2', label: "Shipping Carrier Name", name: "shipping_carrier", defaultValue: (_a = this.disputeResponse) === null || _a === void 0 ? void 0 : _a.shipping_carrier, inputHandler: this.inputHandler, errorText: this.errors.shipping_carrier })), h("div", { key: '7b6f0e1d14698442a98df75f5635cbafc8172ddb', class: "col-12" }, h("form-control-text", { key: 'a5424f340602b3a1b3ccbe38a14ac36d0a6a74d2', label: "Tracking Number", name: "shipping_tracking_number", defaultValue: (_b = this.disputeResponse) === null || _b === void 0 ? void 0 : _b.shipping_tracking_number, inputHandler: this.inputHandler, errorText: this.errors.shipping_tracking_number })), h("div", { key: '1c956a0ef4ca9d3fbc61af14bcb6bca058aed8f7', class: "col-12" }, h("form-control-date", { key: '32c52e9178e9f54ef4f4695ffae0c124e025d354', label: "Date Shipped", name: "shipping_date", defaultValue: (_c = this.disputeResponse) === null || _c === void 0 ? void 0 : _c.shipping_date, inputHandler: this.inputHandler, errorText: this.errors.shipping_date })), h("div", { key: '34eed46e9dce3dffa3b8547ee2e601927a6b239b', class: "col-12" }, h("form-control-textarea", { key: 'f873c9a4c9d4518e35d76a61000d99e26e25f4a4', label: "Shipping Address", name: "shipping_address", defaultValue: (_d = this.disputeResponse) === null || _d === void 0 ? void 0 : _d.shipping_address, inputHandler: this.inputHandler, errorText: this.errors.shipping_address })), h("div", { key: '025fb202955938d89d6990eac237b1be66cf1945', class: "col-12" }, h("form-control-file-v2", { key: '135edc3fcaef1a07dde5c175a11b8c3f833b93c9', label: "Shipping Documentation", name: "shipping_documentation", onChange: (e) => fileInputHandler(e, this.documents), errorText: (_e = this.documentErrors) === null || _e === void 0 ? void 0 : _e.shipping_documentation })))));
|
|
50
50
|
}
|
|
51
51
|
}, [256, "justifi-shipping-details", {
|
|
52
52
|
"disputeResponse": [8, "dispute-response"],
|
package/dist/module/summary.js
CHANGED
|
@@ -16,7 +16,7 @@ const Summary = /*@__PURE__*/ proxyCustomElement(class Summary extends HTMLEleme
|
|
|
16
16
|
this.__attachShadow();
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(StyledHost, { key: '
|
|
19
|
+
return (h(StyledHost, { key: '74b2a1ebf22f1f7e7cb0cfbbbba8a3f8cd528a6b' }, h("section", { key: '6ea0bd41680b937c0ff88aa0f73c1ac4bccee9b9' }, h("div", { key: '6ca013f92dbaf076bda9a65c98acdf5c8192b22a' }, h("div", { key: '62f166bdc0b47e8cda03ee4d549736aaf336727e', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: 'c681ecba3bbceac71993833f8861393dc5751b4c' }, h("span", { key: '46eaedc091f44c2d3bad94cb6a05098385be8ebc', part: text }, "Total"), "\u00A0", h("span", { key: 'ad70de1a38c2c7625562cee3a745a6a61235f4cf', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
20
20
|
}
|
|
21
21
|
}, [257, "justifi-checkout-summary"]);
|
|
22
22
|
function defineCustomElement() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { B as Button } from './button.js';
|
|
3
|
-
import {
|
|
3
|
+
import { af as dropdownMenuButton, ag as dropdownMenu } from './parts.js';
|
|
4
4
|
import { d as defineCustomElement$1 } from './custom-popper2.js';
|
|
5
5
|
|
|
6
6
|
const hasFilters = (params) => {
|
|
@@ -31,7 +31,7 @@ const TableFiltersMenu = /*@__PURE__*/ proxyCustomElement(class TableFiltersMenu
|
|
|
31
31
|
this.showClearButton = hasFilters(this.params);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: '73f921b9b5ecd46b708103088c1e21cdaf6d22cd', class: "d-flex gap-2" }, h("div", { key: '8afb347ce7cea4cb2a030b066a9ec754606d4cd0', class: "dropdown pb-3" }, h("button", { key: 'd6c2f951ed13929359564e5417e4bbebf4557fc7', type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", part: dropdownMenuButton, "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), h("custom-popper", { key: 'd2b3e83bf6151270cad7a58e518904b17b09047f', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, h("form", { key: '4750d1ac1485fddf3334afe6bbd70a8dcdb79a4b', class: "dropdown-menu", part: dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, h("slot", { key: 'a990cee903c302a1b99f6ba65995f267dc7636c1' })))), h("div", { key: '8d854bba9dca17b875fb63cc28ce4f0efc26bf03' }, h(Button, { key: '529212aadf246ba9164eed8ad7dc1b6ebddcb867', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
35
35
|
}
|
|
36
36
|
static get watchers() { return {
|
|
37
37
|
"params": ["watchParamsHandler"]
|
package/dist/module/table.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from '@stencil/core/internal/client';
|
|
2
|
-
import { v as table,
|
|
2
|
+
import { v as table, ai as tableHead, aj as tableHeadRow, ak as tableRow, al as tableFoot, am as tableFootRow, an as tableFootCell, ao as tableEmpty, ap as tableError, x as tableCell } from './parts.js';
|
|
3
3
|
import { S as Spinner } from './spinner.js';
|
|
4
4
|
|
|
5
5
|
const TableWrapper = (props, children) => {
|
|
@@ -9,7 +9,7 @@ import { j as TerminalOrderType } from './Plaid.js';
|
|
|
9
9
|
import { p as pagingDefaults } from './Pagination.js';
|
|
10
10
|
import './Business.js';
|
|
11
11
|
import './ApplePay.js';
|
|
12
|
-
import { w as tableHeadCell,
|
|
12
|
+
import { w as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
|
|
13
13
|
import { h as convertToLocal } from './utils2.js';
|
|
14
14
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
15
15
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminal-orders-list-params-state.js';
|
|
@@ -165,7 +165,7 @@ const TerminalOrdersListCore = /*@__PURE__*/ proxyCustomElement(class TerminalOr
|
|
|
165
165
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
166
166
|
}
|
|
167
167
|
render() {
|
|
168
|
-
return (h(TableWrapper, { key: '
|
|
168
|
+
return (h(TableWrapper, { key: '5ed13f6d5182b8c0b4306dfdcf1848c0c7a0daad' }, h(TableComponent, { key: 'dc26aa0f638d9bbe6fc7cd610b99165c60e0db6b' }, h(TableHead, { key: 'f811f2d0e7d30dcd2b9a87e0d3a2382cb32c37fc' }, h(TableHeadRow, { key: '52aae5b8d3cb27e9803c1a80f90c78ee212354ca' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'f648b8c5c047cb50dfdac27ec8038da24ac4a661' }, h(TableLoadingState, { key: '8fc30bba3f83418c470f53b647e3476518c330c4', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '12cf0cfe75ccb382b10b30f338d7c3ec0365bec8', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '9fc6b5c58b7cfb7371e060497f69896e886c14d1', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '99b405dfc9d5781611d924d9bcc50ca9c39e1cad' }, h(TableFootRow, { key: '7e8c19b85ef6f7f097e30cdae9cf82329a576d10' }, h(TableFootCell, { key: '5b1ab65c79560ecf66b0f50177b9f88fa6346b66', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '97491bdd1b6cf81597e35bb4c17bd99eb685928c', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
169
169
|
}
|
|
170
170
|
static get watchers() { return {
|
|
171
171
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -26,7 +26,7 @@ const TerminalQuantitySelector = /*@__PURE__*/ proxyCustomElement(class Terminal
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h("div", { key: '
|
|
29
|
+
return (h("div", { key: '94b37f690afbe452cda9d074d97b3e6c7b91c096', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '7913be88b93a02e7499a59b416867c81e736a6cd', class: "d-flex gap-3" }, h("div", { key: '55f8b57b980689ed799c6a6ed798dd4c4ad0bd89', class: "d-flex align-items-center" }, h("img", { key: '8068f7f20ff719bed021f88e644dde9f8903de05', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: 'd86a6301ca11bcbe33920e5608bfb948dffdae6e', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '154c785be7d7785458eaeed6a9a516d4677b544c', class: "row" }, h("div", { key: '2adc08a9d50ca00c73317024ad1bde393d82efa0', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '21ea5803e18053463d343254d9ed29c98c76757f', helpText: this.description })), h("div", { key: 'e862c0de5720cfb876fcc47792c0e12a0266babd', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '50bb2dc585b0f49591871d6ae993eb2850892ffb', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: 'ceba1a29cb4779b9e057e3066072b21cef86dcfd', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '00dfc649818d014f065ee07da3b71c61c7cda03d', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
30
30
|
}
|
|
31
31
|
}, [256, "terminal-quantity-selector", {
|
|
32
32
|
"modelName": [1, "model-name"],
|
|
@@ -10,7 +10,7 @@ import { T as Table, a as TableWrapper, b as TableComponent, c as TableHead, d a
|
|
|
10
10
|
import { T as TableClickActions } from './event-types.js';
|
|
11
11
|
import './justifi-radio-list-item2.js';
|
|
12
12
|
import { B as Badge, a as BadgeVariant } from './badge.js';
|
|
13
|
-
import { w as tableHeadCell,
|
|
13
|
+
import { w as tableHeadCell, ah as getAlternateTableCellPart } from './parts.js';
|
|
14
14
|
import { l as capitalFirstLetter } from './utils2.js';
|
|
15
15
|
import { o as onQueryParamsChange, g as getRequestParams } from './terminals-list-params-state.js';
|
|
16
16
|
import { d as defineCustomElement$1 } from './pagination-menu2.js';
|
|
@@ -188,7 +188,7 @@ const TerminalsListCore = /*@__PURE__*/ proxyCustomElement(class TerminalsListCo
|
|
|
188
188
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
189
189
|
}
|
|
190
190
|
render() {
|
|
191
|
-
return (h(TableWrapper, { key: '
|
|
191
|
+
return (h(TableWrapper, { key: 'babe023df8ec976de3e284e80d8e0ec0b2c19b79' }, h(TableComponent, { key: 'd2d5f53cc2d743917ec8fd15f0f69efe75727501' }, h(TableHead, { key: '1a078b11b484d4e6ebfc3ccc5aefc69f99faae79' }, h(TableHeadRow, { key: '8776607ed0d4c15010132a7f27966213ea816092' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '61905ac71df9b3d268a77771b382b928ed5aa01a' }, h(TableLoadingState, { key: '7929fa99216050360f2b36fcd2ec06dec6da0e3a', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '8bac75644df059915e3852ef472e8e4edd687026', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '34968591017d975c8d13a9cf532f378e52e11d55', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '641649961418c64af80a4ab3e63bbbee2fb71076' }, h(TableFootRow, { key: 'a2355762274b2ce15217ff86cac3e2ddecf7569d' }, h(TableFootCell, { key: 'f5d8fd0878a3bdc9e93b1e2f08654f51c8bbba2f', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '64e85e2ffc0280af6caf521fed496cc41df0a8b3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
192
192
|
}
|
|
193
193
|
static get watchers() { return {
|
|
194
194
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -2,6 +2,8 @@ import { TerminalModelName } from "./TerminalModel";
|
|
|
2
2
|
export interface TerminalsQueryParams {
|
|
3
3
|
terminal_id?: string;
|
|
4
4
|
terminal_order_id?: string;
|
|
5
|
+
provider_id?: string;
|
|
6
|
+
serial_number?: string;
|
|
5
7
|
status?: string;
|
|
6
8
|
created_after?: string;
|
|
7
9
|
created_before?: string;
|
|
@@ -21,7 +23,7 @@ export interface ITerminal {
|
|
|
21
23
|
gateway_ref_id?: string | null;
|
|
22
24
|
provider?: TerminalProviders | null;
|
|
23
25
|
provider_id?: string | null;
|
|
24
|
-
|
|
26
|
+
serial_number?: string | null;
|
|
25
27
|
created_at?: string | null;
|
|
26
28
|
updated_at?: string | null;
|
|
27
29
|
verified_at?: string | null;
|
|
@@ -9,14 +9,13 @@ export declare class BusinessBankAccountFormStep {
|
|
|
9
9
|
existingDocuments: any;
|
|
10
10
|
documentData: EntityDocumentStorage;
|
|
11
11
|
isLoading: boolean;
|
|
12
|
-
|
|
12
|
+
viewMode: 'readonly' | 'plaid' | 'manual';
|
|
13
13
|
getBusiness: Function;
|
|
14
14
|
postBankAccount: Function;
|
|
15
15
|
postDocumentRecord: Function;
|
|
16
16
|
postDocument: Function;
|
|
17
17
|
bankAccountVerification: boolean;
|
|
18
18
|
platformAccountId: string | null;
|
|
19
|
-
usePlaidVerification: boolean;
|
|
20
19
|
authToken: string;
|
|
21
20
|
businessId: string;
|
|
22
21
|
allowOptionalFields?: boolean;
|
|
@@ -48,7 +47,10 @@ export declare class BusinessBankAccountFormStep {
|
|
|
48
47
|
business_id: string;
|
|
49
48
|
};
|
|
50
49
|
get existingBankAccount(): boolean;
|
|
51
|
-
get
|
|
50
|
+
get plaidAvailable(): boolean;
|
|
51
|
+
get showCancel(): boolean;
|
|
52
|
+
private processBusinessResponse;
|
|
53
|
+
private determineViewMode;
|
|
52
54
|
private getData;
|
|
53
55
|
private sendData;
|
|
54
56
|
private postBankAccountData;
|
|
@@ -63,5 +65,10 @@ export declare class BusinessBankAccountFormStep {
|
|
|
63
65
|
handleDocRecordResponse: (docData: EntityDocument, response: any) => boolean;
|
|
64
66
|
uploadDocument: (docData: EntityDocument) => Promise<boolean>;
|
|
65
67
|
handleUploadResponse: (response: any) => boolean;
|
|
68
|
+
private renderBankAccountInputs;
|
|
69
|
+
private renderReadonlyView;
|
|
70
|
+
private renderPlaidView;
|
|
71
|
+
private renderManualEntryView;
|
|
72
|
+
private renderDocumentUploads;
|
|
66
73
|
render(): any;
|
|
67
74
|
}
|
|
@@ -4,6 +4,8 @@ export declare class TerminalOrdersListFilters {
|
|
|
4
4
|
orderType?: TerminalOrderType;
|
|
5
5
|
createdAfter?: string;
|
|
6
6
|
createdBefore?: string;
|
|
7
|
+
companyName?: string;
|
|
8
|
+
private debouncedSetParamsOnChange;
|
|
7
9
|
componentWillLoad(): void;
|
|
8
10
|
setParamsOnChange: (name: string, value: string) => void;
|
|
9
11
|
handleDateInput: (name: string, value: string) => void;
|
|
@@ -2,6 +2,8 @@ import { ITerminalStatus } from '../../api';
|
|
|
2
2
|
export declare class TerminalsListFilters {
|
|
3
3
|
terminalId?: string;
|
|
4
4
|
terminalOrderId?: string;
|
|
5
|
+
providerId?: string;
|
|
6
|
+
serialNumber?: string;
|
|
5
7
|
terminalStatus?: ITerminalStatus;
|
|
6
8
|
createdAfter?: string;
|
|
7
9
|
createdBefore?: string;
|
|
@@ -603,6 +603,7 @@ export namespace Components {
|
|
|
603
603
|
"createdAfter"?: string;
|
|
604
604
|
"createdBefore"?: string;
|
|
605
605
|
"paymentMode"?: ICheckoutPaymentModeParam;
|
|
606
|
+
"successfulPaymentId"?: string;
|
|
606
607
|
}
|
|
607
608
|
interface JustifiConfigProvider {
|
|
608
609
|
/**
|
|
@@ -982,6 +983,7 @@ export namespace Components {
|
|
|
982
983
|
"columns"?: string;
|
|
983
984
|
}
|
|
984
985
|
interface JustifiTerminalOrdersListFilters {
|
|
986
|
+
"companyName"?: string;
|
|
985
987
|
"createdAfter"?: string;
|
|
986
988
|
"createdBefore"?: string;
|
|
987
989
|
"orderStatus"?: TerminalOrderStatus;
|
|
@@ -998,6 +1000,8 @@ export namespace Components {
|
|
|
998
1000
|
interface JustifiTerminalsListFilters {
|
|
999
1001
|
"createdAfter"?: string;
|
|
1000
1002
|
"createdBefore"?: string;
|
|
1003
|
+
"providerId"?: string;
|
|
1004
|
+
"serialNumber"?: string;
|
|
1001
1005
|
"terminalId"?: string;
|
|
1002
1006
|
"terminalOrderId"?: string;
|
|
1003
1007
|
"terminalStatus"?: ITerminalStatus;
|
|
@@ -3636,6 +3640,7 @@ declare namespace LocalJSX {
|
|
|
3636
3640
|
"createdAfter"?: string;
|
|
3637
3641
|
"createdBefore"?: string;
|
|
3638
3642
|
"paymentMode"?: ICheckoutPaymentModeParam;
|
|
3643
|
+
"successfulPaymentId"?: string;
|
|
3639
3644
|
}
|
|
3640
3645
|
interface JustifiConfigProvider {
|
|
3641
3646
|
/**
|
|
@@ -4040,6 +4045,7 @@ declare namespace LocalJSX {
|
|
|
4040
4045
|
"onError-event"?: (event: JustifiTerminalOrdersListCustomEvent<ComponentErrorEvent1>) => void;
|
|
4041
4046
|
}
|
|
4042
4047
|
interface JustifiTerminalOrdersListFilters {
|
|
4048
|
+
"companyName"?: string;
|
|
4043
4049
|
"createdAfter"?: string;
|
|
4044
4050
|
"createdBefore"?: string;
|
|
4045
4051
|
"orderStatus"?: TerminalOrderStatus;
|
|
@@ -4057,6 +4063,8 @@ declare namespace LocalJSX {
|
|
|
4057
4063
|
interface JustifiTerminalsListFilters {
|
|
4058
4064
|
"createdAfter"?: string;
|
|
4059
4065
|
"createdBefore"?: string;
|
|
4066
|
+
"providerId"?: string;
|
|
4067
|
+
"serialNumber"?: string;
|
|
4060
4068
|
"terminalId"?: string;
|
|
4061
4069
|
"terminalOrderId"?: string;
|
|
4062
4070
|
"terminalStatus"?: ITerminalStatus;
|
|
@@ -17,7 +17,14 @@ 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";
|
|
19
19
|
export declare const buttonDanger = "button-danger button text color font-family";
|
|
20
|
+
export declare const buttonSuccess = "button-success button text color font-family";
|
|
21
|
+
export declare const buttonWarning = "button-warning button text color font-family";
|
|
22
|
+
export declare const buttonInfo = "button-info button text color font-family";
|
|
23
|
+
export declare const buttonLight = "button-light button text color font-family";
|
|
24
|
+
export declare const buttonDark = "button-dark button text color font-family";
|
|
20
25
|
export declare const buttonLink = "button-link button text color font-family";
|
|
26
|
+
export declare const buttonOutlinePrimary = "button-outline-primary button text color font-family";
|
|
27
|
+
export declare const buttonOutlineSecondary = "button-outline-secondary button text color font-family";
|
|
21
28
|
export declare const buttonLoading = "button-loading";
|
|
22
29
|
export declare const buttonDisabled = "button-disabled button text color font-family";
|
|
23
30
|
export declare const label = "label text color font-family";
|
|
@@ -84,38 +91,4 @@ export declare const image = "image";
|
|
|
84
91
|
export declare const billingForm = "billing-form";
|
|
85
92
|
export declare const checkoutSummary = "checkout-summary";
|
|
86
93
|
export declare const filterMenu = "filter-menu";
|
|
87
|
-
export declare const
|
|
88
|
-
export declare const paymentsListFilterParam = "payments-list-filter-param";
|
|
89
|
-
export declare const paymentIdPaymentsListFilterParam = "payments-list-filter-param payment-id-payments-list-filter-param";
|
|
90
|
-
export declare const terminalIdPaymentsListFilterParam = "payments-list-filter-param terminal-id-payments-list-filter-param";
|
|
91
|
-
export declare const paymentStatusPaymentsListFilterParam = "payments-list-filter-param payment-status-payments-list-filter-param";
|
|
92
|
-
export declare const paymentModePaymentsListFilterParam = "payments-list-filter-param payment-mode-payments-list-filter-param";
|
|
93
|
-
export declare const checkoutIdPaymentsListFilterParam = "payments-list-filter-param checkout-id-payments-list-filter-param";
|
|
94
|
-
export declare const accountHolderPaymentsListFilterParam = "payments-list-filter-param account-holder-payments-list-filter-param";
|
|
95
|
-
export declare const createdAfterPaymentsListFilterParam = "payments-list-filter-param created-after-payments-list-filter-param";
|
|
96
|
-
export declare const createdBeforePaymentsListFilterParam = "payments-list-filter-param created-before-payments-list-filter-param";
|
|
97
|
-
export declare const payoutsListFilterMenu = "filter-menu payouts-list-filter-menu";
|
|
98
|
-
export declare const payoutsListFilterParam = "payouts-list-filter-param";
|
|
99
|
-
export declare const statusPayoutsListFilterParam = "payouts-list-filter-param status-payouts-list-filter-param";
|
|
100
|
-
export declare const createdAfterPayoutsListFilterParam = "payouts-list-filter-param created-after-payouts-list-filter-param";
|
|
101
|
-
export declare const createdBeforePayoutsListFilterParam = "payouts-list-filter-param created-before-payouts-list-filter-param";
|
|
102
|
-
export declare const checkoutsListFilterMenu = "filter-menu checkouts-list-filter-menu";
|
|
103
|
-
export declare const checkoutsListFilterParam = "checkouts-list-filter-param";
|
|
104
|
-
export declare const statusCheckoutsListFilterParam = "checkouts-list-filter-param checkout-status-checkouts-list-filter-param";
|
|
105
|
-
export declare const paymentModeCheckoutsListFilterParam = "checkouts-list-filter-param payment-mode-checkouts-list-filter-param";
|
|
106
|
-
export declare const checkoutIdCheckoutsListFilterParam = "checkouts-list-filter-param checkout-id-checkouts-list-filter-param";
|
|
107
|
-
export declare const createdAfterCheckoutsListFilterParam = "checkouts-list-filter-param created-after-checkouts-list-filter-param";
|
|
108
|
-
export declare const createdBeforeCheckoutsListFilterParam = "checkouts-list-filter-param created-before-checkouts-list-filter-param";
|
|
109
|
-
export declare const terminalsListFilterMenu = "filter-menu terminals-list-filter-menu";
|
|
110
|
-
export declare const terminalsListFilterParam = "terminals-list-filter-param";
|
|
111
|
-
export declare const terminalIdTerminalsListFilterParam = "terminals-list-filter-param terminal-id-terminals-list-filter-param";
|
|
112
|
-
export declare const terminalOrderIdTerminalsListFilterParam = "terminals-list-filter-param terminal-order-id-terminals-list-filter-param";
|
|
113
|
-
export declare const terminalStatusTerminalsListFilterParam = "terminals-list-filter-param terminal-status-terminals-list-filter-param";
|
|
114
|
-
export declare const createdAfterTerminalsListFilterParam = "terminals-list-filter-param created-after-terminals-list-filter-param";
|
|
115
|
-
export declare const createdBeforeTerminalsListFilterParam = "terminals-list-filter-param created-before-terminals-list-filter-param";
|
|
116
|
-
export declare const terminalOrdersListFilterMenu = "filter-menu terminal-orders-list-filter-menu";
|
|
117
|
-
export declare const terminalOrdersListFilterParam = "terminal-orders-list-filter-param";
|
|
118
|
-
export declare const orderStatusTerminalOrdersListFilterParam = "terminal-orders-list-filter-param order-status-terminal-orders-list-filter-param";
|
|
119
|
-
export declare const orderTypeTerminalOrdersListFilterParam = "terminal-orders-list-filter-param order-type-terminal-orders-list-filter-param";
|
|
120
|
-
export declare const createdAfterTerminalOrdersListFilterParam = "terminal-orders-list-filter-param created-after-terminal-orders-list-filter-param";
|
|
121
|
-
export declare const createdBeforeTerminalOrdersListFilterParam = "terminal-orders-list-filter-param created-before-terminal-orders-list-filter-param";
|
|
94
|
+
export declare const filterParam = "filter-param";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { FunctionalComponent } from '../stencil-public-runtime';
|
|
2
2
|
interface ButtonProps {
|
|
3
|
-
variant: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link';
|
|
3
|
+
variant: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark' | 'link' | 'outline-primary' | 'outline-secondary';
|
|
4
4
|
isLoading?: boolean;
|
|
5
|
+
className?: string;
|
|
5
6
|
}
|
|
6
7
|
type ButtonElementProps = ButtonProps & {
|
|
7
8
|
[key: string]: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as t}from"./p-55QcjheA.js";import"./p-Cjcsf8ku.js";import"./p-
|
|
1
|
+
import{A as t}from"./p-55QcjheA.js";import"./p-Cjcsf8ku.js";import"./p-_BHErKTQ.js";import"./p-CLHwhyvu.js";import"./p-BcNb9bVO.js";import"./p-BH0Xfn-F.js";const n=t();class e{async fetchBusiness(t,e){return n.get({endpoint:`entities/business/${t}`,authToken:e})}async patchBusiness(t,e,s){return n.patch({endpoint:`entities/business/${e}`,body:s,authToken:t})}}class s{async fetchIdentity(t,e){return n.get({endpoint:`entities/identity/${t}`,authToken:e})}async patchIdentity(t,e,s){return n.patch({endpoint:`entities/identity/${e}`,body:s,authToken:t})}async postIdentity(t,e){return n.post({endpoint:"entities/identity",body:e,authToken:t})}}class i{async postBankAccount(t,e){return n.post({endpoint:"entities/bank_accounts",body:e,authToken:t})}}class o{async postDocumentRecord(t,e){return n.post({endpoint:"entities/document",body:e,authToken:t})}}export{e as B,o as D,s as I,i as a}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as s,H as i,g as a}from"./p-CV0Pyo1O.js";import{a7 as r,x as o,v as d,y as h,z as c,C as n,w as l,a2 as f}from"./p-D3V9AE6o.js";import{F as b}from"./p-DSmuL_bZ.js";import{F as m}from"./p-BU9iZ8OM.js";import"./p-CZfYo5-1.js";import{F as u}from"./p-CKiAlBsU.js";import{O as p}from"./p-BcNb9bVO.js";import{d as y}from"./p-D8EGHc_m.js";import{B as k}from"./p-o83Uy7sW.js";import{B as v}from"./p-XYgDHrVL.js";import{I as g,P as j}from"./p-CVaOFfrI.js";import{u as w,a as x,b as C}from"./p-C6o0liMT.js";import{c as T}from"./p-_-2E_vYf.js";import"./p-BFTU3MAI.js";import"./p-HT_4DkD0.js";import"./p-Bt4GjEWL.js";const V=class{constructor(s){e(this,s),this.formControlInput=t(this,"formControlInput",7),this.formControlBlur=t(this,"formControlBlur",7),this.isFocused=!1,this.disabled=!1,this.handleFormControlInput=e=>{const t=e.target,s=t.getAttribute("name");this.inputHandler(s,t.value),this.formControlInput.emit({name:s,value:t.value})},this.updateInput=e=>{const t=this.el.querySelector("input");t&&(t.value=e||"")}}handleDefaultValueChange(e){this.updateInput(e)}componentDidLoad(){this.updateInput(this.defaultValue)}get part(){return this.isFocused&&this.errorText?r:this.isFocused?o:this.errorText?d:h}render(){return s(i,{key:"7d26854332ed1db6e00ee16ec336e409d250df9e"},s("div",{key:"f32c52eba6c4248318713da7f18e3f10f3eb11f0",class:"form-group d-flex flex-column"},s("label",{key:"c3ecbd98d9e29692715faa68c9f432df76a7348e",part:c,class:"form-label",htmlFor:this.name},this.label),s("input",{key:"4eedd84af0d8520271bbc0fcd892d0ca1115d20a",id:this.name,name:this.name,onFocus:()=>this.isFocused=!0,onBlur:()=>{this.isFocused=!1,this.formControlBlur.emit()},onInput:this.handleFormControlInput,part:this.part,class:this.errorText?"form-control is-invalid":"form-control",type:"number",disabled:this.disabled}),s(b,{key:"a2692df1434bd7202f8ab5062d37ec309a1c6405",helpText:this.helpText,name:this.name}),s(m,{key:"958a10550de7a048fa17055cf35ac344fa1b77d8",errorText:this.errorText,name:this.name})))}get el(){return a(this)}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}},_=class{loadingWatcher(){this.formLoading.emit(this.isLoading)}constructor(s){e(this,s),this.clickEvent=t(this,"click-event",7),this.errorEvent=t(this,"error-event",7),this.formLoading=t(this,"formLoading",7),this.ownerSubmitted=t(this,"ownerSubmitted",7),this.isLoading=!1,this.errors={},this.owner={},this.getData=()=>{this.isLoading=!0,this.getOwner({onSuccess:e=>{this.instantiateOwner(e.data)},onError:({error:e,code:t,severity:s})=>{this.errorEvent.emit({message:e,errorCode:t,severity:s})},final:()=>this.isLoading=!1})},this.sendData=()=>(this.isLoading=!0,new Promise((e=>{this.ownerId?this.patchOwner({payload:this.payload,onSuccess:t=>{this.ownerSubmitted.emit({id:t.data.id}),this.instantiateOwner(t.data),e(!0)},onError:({error:t,code:s,severity:i})=>{this.errorEvent.emit({message:t,errorCode:s,severity:i}),e(!1)},final:()=>this.isLoading=!1}):this.postOwner({payload:this.payload,onSuccess:t=>{this.ownerSubmitted.emit({id:t.data.id}),this.instantiateOwner(t.data),e(!0)},onError:({error:t,code:s,severity:i})=>{this.errorEvent.emit({message:t,errorCode:s,severity:i}),e(!1)},final:()=>this.isLoading=!1})}))),this.instantiateOwner=async e=>{this.owner=Object.assign({},new p(e)),await this.formController.setInitialValues(this.owner)},this.handleAddOwner=()=>{this.clickEvent.emit({name:this.ownerId?v.updateOwner:v.addOwner})},this.handleRemoveOwner=()=>{this.removeOwner(this.ownerId),this.clickEvent.emit({name:v.removeOwner})},this.validate=this.validate.bind(this),this.submit=this.submit.bind(this),this.validateAndSubmit=this.validateAndSubmit.bind(this)}async returnOwnerData(){return this.ownerId}async validate(){return this.formController.validate()}async submit(){if(await this.validate())return this.sendData()}async validateAndSubmit(e){e.preventDefault(),await this.validate()&&this.submit()}get payload(){let e=new p(this.formController.values.getValue()).payload;return this.ownerId?e:Object.assign(Object.assign({},e),{business_id:this.businessId})}get formTitle(){return this.ownerId?"Edit Business Owner":"Add Business Owner"}get submitButtonText(){return this.ownerId?"Update":"Add"}get showRemoveButton(){return!(this.ownersLength<=1)&&(!(this.ownerId||!this.newFormOpen)||!(!this.ownerId||this.newFormOpen)||void 0)}componentWillLoad(){this.formController=new u((0,y[this.country])("owner",this.allowOptionalFields)),this.ownerId?this.getData():this.instantiateOwner({})}componentDidLoad(){this.formController.errors.subscribe((e=>this.errors=Object.assign({},e)))}render(){return s("form",{key:"5079338a3b1720972aeb4f691bbe71f4bdbd5265",onSubmit:this.validateAndSubmit},s("fieldset",{key:"ef3529f5a5f20887ebf76e1bdbcfc0d600d2194c"},s("legend",{key:"98e22b398e183b24764847f29f080c28d6f384cd",class:"fw-semibold fs-5",part:n},this.formTitle),s("br",{key:"ff96fb21b19e16bba1a305049532925d5bafc6c8"}),s("div",{key:"9bf142327aef21bf90947b78574dcd5ded66a1eb",class:"row gy-3"},s("owner-form-inputs",{key:"7f221b6ebf61c7c383d1d5eb74d8c3a676b12b4d",ownerDefaultValue:this.formController.getInitialValues(),errors:this.errors,formController:this.formController,country:this.country}),s("div",{key:"48235d4d36e92cfa969843c133c93e28fb09c756",class:"d-flex gap-2 justify-content-start"},s(k,{key:"6f281255b5d358fc4e4322d0de9954a010850dda",variant:"secondary",type:"button",onClick:this.handleRemoveOwner,hidden:!this.showRemoveButton},"Remove"),s(k,{key:"f99d77f92cbab79eccbceef884cd6c17c20abeec",variant:"primary",type:"submit",onClick:this.handleAddOwner,disabled:this.isLoading},this.submitButtonText))),s("hr",{key:"fabafc136209bb82a72da8de183897358faca256"})))}static get watchers(){return{isLoading:["loadingWatcher"]}}},O=class{constructor(t){e(this,t),this.isEditingIdentification=!1,this.inputHandler=(e,t)=>{w(this.formController,{[e]:t})},this.onAddressFormUpdate=e=>{x(this.formController,Object.assign(Object.assign({},this.formController.values.getValue().address),e))}}render(){var e,t,i;return s("div",{key:"f41ae773bd80ec556fe7e1614aa590af09e90a05",class:"row gy-3"},s("div",{key:"ceeeefb13ae8eda332287e18b20b8eb1706f21fd",class:"col-12 col-md-8"},s("form-control-text",{key:"43dc7b751bd879f3e07572df0e02a46ad1e3a2f7",name:"name",label:"Full Name",defaultValue:this.ownerDefaultValue.name,errorText:this.errors.name,inputHandler:this.inputHandler})),s("div",{key:"648a5e78c5d98d69d5331cf70e322b69ad1d2533",class:"col-12 col-md-4"},s("form-control-text",{key:"26ecf926fb49ab4caf192b6c7b9f3da8a13f13a1",name:"title",label:"Title",defaultValue:this.ownerDefaultValue.title,errorText:this.errors.title,inputHandler:this.inputHandler,helpText:"Role at your business, e.g. President, CEO, Treasurer."})),s("div",{key:"056a8fa4b4e226efaa64f7eb05dea86ef2d941b2",class:"col-12 col-md-6"},s("form-control-text",{key:"ea2dfc1520ad5cf58a7c3a0df591f9b8ed354da5",name:"email",label:"Email Address",defaultValue:this.ownerDefaultValue.email,errorText:this.errors.email,inputHandler:this.inputHandler})),s("div",{key:"afd1ec4c08af88870d5e732c5b2117c123b7f51e",class:"col-12 col-md-6"},s("form-control-number-masked",{key:"97a51652ea2dfd3372ae9f3300c18da6e901ab88",name:"phone",label:"Phone Number",defaultValue:this.ownerDefaultValue.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:j.US})),s("div",{key:"3da7a2c8e404873a3092f2d563d687d142b32b10",class:"col-12 col-md-3"},s("form-control-date",{key:"3d5bf80638e42d85b34e286e6ffcfee87a9bd047",name:"dob_full",label:"Birth Date",defaultValue:this.ownerDefaultValue.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:e=>C(e,this.formController),helpText:"Must be 18 or older."})),s("div",{key:"91b4e9ad10a8b7a5527c6593309cf4c6967efdc8",class:"col-12 col-md-3"},s("form-control-number",{key:"5b98ffbc9d24dbe13c0303ddbaa3c94c7a166f95",name:"ownership_percentage",label:"% of Ownership",defaultValue:null===(e=this.ownerDefaultValue)||void 0===e?void 0:e.ownership_percentage,errorText:this.errors.ownership_percentage,inputHandler:this.inputHandler})),s("div",{key:"fdf8ebe63498e9be394e251f3b44d6ef93dce5b8",class:"col-12 col-md-6"},!(null===(t=this.ownerDefaultValue)||void 0===t?void 0:t.ssn_last4)||this.isEditingIdentification?s("form-control-number-masked",{name:"identification_number",label:T[this.country].idNumberLabel,defaultValue:this.isEditingIdentification?"":this.ownerDefaultValue.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:g[this.country],helpText:T[this.country].identityHelpText}):s("div",null,s("label",{class:"form-label",part:c},T[this.country].idNumberLabel),s("div",{class:"input-group mb-3"},s("input",{type:"text",class:"form-control",part:l,value:`****${null===(i=this.ownerDefaultValue)||void 0===i?void 0:i.ssn_last4}`,disabled:!0}),s("button",{class:"btn btn-secondary",type:"button",part:f,onClick:()=>{this.isEditingIdentification=!0,w(this.formController,{ssn_last4:null,identification_number:""})}},"Change")))),s("div",{key:"a6f1e2810777e1a7d01ce48ce45b88cec6937c3f",class:"col-12"},s("justifi-identity-address-form",{key:"0e17fdedad9e82953681c254e5c30217bdf3b022",errors:this.errors.address,defaultValues:this.ownerDefaultValue.address,handleFormUpdate:this.onAddressFormUpdate,country:this.country})))}};export{V as form_control_number,_ as owner_form_core,O as owner_form_inputs}
|