@justifi/webcomponents 5.4.3 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Api-KMweahmp.js +74 -0
- package/dist/cjs/{Business-d88b77fd.js → Business-DyiDiIuO.js} +1 -1
- package/dist/cjs/{Checkout-5352009d.js → Checkout-RAGvjVPj.js} +1 -1
- package/dist/cjs/{ComponentError-233ac749.js → ComponentError-C4MdBBMe.js} +1 -0
- package/dist/cjs/{Payment-bccd8f7d.js → Payment-CQCmj3Ck.js} +2 -2
- package/dist/cjs/{SubAccount-2a302ead.js → Refund-DpKGhW3o.js} +25 -1
- package/dist/cjs/_commonjsHelpers-BJu3ubxk.js +10 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +5 -11
- package/dist/cjs/{badge-364e6311.js → badge-BXpCpcer.js} +2 -2
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +25 -43
- package/dist/cjs/bank-account-form_9.cjs.entry.js +93 -97
- package/dist/cjs/{business-additional-questions-schema-8568cb79.js → business-additional-questions-schema-mzZ2gYHQ.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +6 -10
- package/dist/cjs/{business-form-options-62e9c8ab.js → business-form-options-BCj0efiD.js} +1 -1
- package/dist/cjs/{business-identity-schema-518ab6eb.js → business-identity-schema-dt0zCW0R.js} +2 -2
- package/dist/cjs/{business.service-6e8a29a2.js → business.service-Crmkeulk.js} +23 -8
- package/dist/cjs/{button-4a9fd41e.js → button-KWTLx2LP.js} +2 -2
- package/dist/cjs/{check-pkg-version-64d3381a.js → check-pkg-version-CLsX6cK5.js} +3 -3
- package/dist/cjs/{checkout.service-0a7835dc.js → checkout.service-r90INf2g.js} +13 -10
- package/dist/cjs/checkouts-list-core.cjs.entry.js +25 -31
- package/dist/cjs/{payments-list-params-state-442d9944.js → checkouts-list-params-state-Cmfy_CND.js} +1 -1
- package/dist/cjs/{checkouts-table-8a1b49ff.js → checkouts-table-5jU4JUcM.js} +4 -4
- package/dist/cjs/custom-popper_4.cjs.entry.js +27 -52
- package/dist/cjs/{dispute.service-6efc7d7f.js → dispute.service-CGgfmGU-.js} +20 -11
- package/dist/cjs/{event-types-5a6ce2b0.js → event-types-CJapDsYA.js} +3 -3
- package/dist/cjs/form-alert_5.cjs.entry.js +10 -19
- package/dist/cjs/form-control-checkbox.cjs.entry.js +9 -18
- package/dist/cjs/form-control-date.cjs.entry.js +9 -19
- package/dist/cjs/{form-control-error-text-3cff9b7b.js → form-control-error-text-D19AMaOO.js} +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +11 -30
- package/dist/cjs/{form-control-help-text-94ffed2c.js → form-control-help-text-CbrDvt9D.js} +2 -2
- package/dist/cjs/form-control-help-text.cjs.entry.js +1 -5
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +13 -22
- package/dist/cjs/form-control-monetary.cjs.entry.js +13 -22
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +12 -25
- package/dist/cjs/form-control-number.cjs.entry.js +9 -18
- package/dist/cjs/form-control-radio.cjs.entry.js +7 -17
- package/dist/cjs/{get-business-d8f5db51.js → get-business-BBzGEPBG.js} +3 -3
- package/dist/cjs/get-payment-details-CKg1Lb3_.js +42 -0
- package/dist/cjs/{get-payout-csv-7607c71e.js → get-payout-csv-DD9C5yMw.js} +11 -11
- package/dist/cjs/{get-subaccounts-ae5b35a8.js → get-subaccounts-YlFT-fBr.js} +11 -10
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +262 -270
- package/dist/cjs/{header-1-43b2b905.js → header-1-ZNnpq6yT.js} +2 -2
- package/dist/cjs/{header-3-eb250a04.js → header-3-D6LxdW_A.js} +2 -2
- package/dist/cjs/{helpers-602962eb.js → helpers-B5OCqlIM.js} +1 -1
- package/dist/cjs/{iframe-input-styles-state-d0de0b24.js → iframe-input-styles-state-CQL59u0d.js} +2 -2
- package/dist/cjs/iframe-input.cjs.entry.js +1640 -0
- package/dist/cjs/{index-750475a3.js → index-1MT3Z4XI.js} +1 -1
- package/dist/cjs/{index-d2d0b181.js → index-DhcqPIbT.js} +4 -5
- package/dist/cjs/{index-5b9a3b5f.js → index-DtkhH7sB.js} +460 -271
- package/dist/cjs/index.esm-CVuJLXJZ.js +11807 -0
- package/dist/cjs/{input-handlers-cff032bb.js → input-handlers-DYl_0IwC.js} +1 -1
- package/dist/cjs/{insurance-state-71f8b653.js → insurance-state-q5eNmjIK.js} +3 -3
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +64 -94
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +36 -86
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +36 -54
- package/dist/cjs/justifi-business-details.cjs.entry.js +16 -20
- package/dist/cjs/justifi-business-form.cjs.entry.js +34 -38
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +6 -11
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +31 -34
- package/dist/cjs/justifi-checkout.cjs.entry.js +23 -29
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +15 -18
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +25 -30
- package/dist/cjs/justifi-details.cjs.entry.js +3 -6
- package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +5 -11
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +19 -23
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +38 -52
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +13 -16
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +30 -39
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +29 -52
- package/dist/cjs/justifi-payment-details.cjs.entry.js +24 -52
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +15 -23
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +15 -16
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +11 -17
- package/dist/cjs/justifi-payments-list.cjs.entry.js +25 -29
- package/dist/cjs/justifi-payout-details.cjs.entry.js +21 -26
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +9 -12
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +27 -33
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +189 -69
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +10 -27
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +24 -35
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +24 -26
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +29 -29
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +21 -25
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +26 -31
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +24 -28
- package/dist/cjs/loader.cjs.js +3 -5
- package/dist/cjs/lodash-CvSCBJ_8.js +17216 -0
- package/dist/cjs/package-5B4P3NpD.js +9 -0
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -5
- package/dist/cjs/{parts-5ca90f9a.js → parts-D_uKOPFe.js} +3 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +19 -22
- package/dist/cjs/{payment-provisioning-actions-382ab48c.js → payment-provisioning-actions-BkWSDJQQ.js} +2 -2
- package/dist/cjs/payment.service-BrHUGHYs.js +23 -0
- package/dist/cjs/payments-list-core.cjs.entry.js +25 -30
- package/dist/cjs/{terminal-orders-list-params-state-c419078f.js → payments-list-params-state-Cmfy_CND.js} +1 -1
- package/dist/cjs/{payments-status-075aad0a.js → payments-status-DAzq_Z13.js} +2 -2
- package/dist/cjs/{payments-table-a076755a.js → payments-table-BEpL6oJQ.js} +4 -4
- package/dist/cjs/payout-details-core.cjs.entry.js +14 -18
- package/dist/cjs/payouts-list-core.cjs.entry.js +26 -33
- package/dist/cjs/{checkouts-list-params-state-644d3639.js → payouts-list-params-state-Cmfy_CND.js} +1 -1
- package/dist/cjs/{payouts-status-ced97c2b.js → payouts-status-CYrKPRld.js} +2 -2
- package/dist/cjs/{payouts-table-aedce326.js → payouts-table-Bbi23U5v.js} +4 -4
- package/dist/cjs/{schema-validations-a7cefbdf.js → schema-validations-p4OCdblz.js} +4 -4
- package/dist/cjs/{skeleton-e8aa41d0.js → skeleton-C59M0QK2.js} +2 -2
- package/dist/cjs/{spinner-580453f2.js → spinner-736baCoH.js} +2 -2
- package/dist/cjs/{styled-host-94309bab.js → styled-host-JifnTMIV.js} +2 -3
- package/dist/cjs/table-filters-menu.cjs.entry.js +4 -10
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +24 -29
- package/dist/cjs/{payouts-list-params-state-033b76d6.js → terminal-orders-list-params-state-Cmfy_CND.js} +1 -1
- package/dist/cjs/{terminal-orders-table-3b247193.js → terminal-orders-table-w4Yaf83b.js} +35 -5
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +6 -12
- package/dist/cjs/{terminal.service-ab62c344.js → terminal.service-BjSo5Cm4.js} +11 -11
- package/dist/cjs/terminals-list-core.cjs.entry.js +25 -31
- package/dist/cjs/terminals-list-params-state-Cmfy_CND.js +22 -0
- package/dist/cjs/{terminals-table-6710a76c.js → terminals-table-F6pkR97i.js} +6 -6
- package/dist/cjs/{utils-f8714daa.js → utils-D3seTk2e.js} +2 -2
- package/dist/cjs/utils-DmZ8Dia3.js +23987 -0
- package/dist/cjs/{utils-7a478c37.js → utils-l0veqT9y.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +7 -7
- package/dist/collection/actions/payment/get-payment-details.js +5 -2
- package/dist/collection/actions/refund/refund-actions.js +31 -0
- package/dist/collection/api/Api.js +32 -13
- package/dist/collection/api/ComponentError.js +1 -0
- package/dist/collection/api/Refund.js +32 -0
- package/dist/collection/api/TerminalOrder.js +3 -0
- package/dist/collection/api/index.js +1 -0
- package/dist/collection/api/services/analytics.service.js +1 -1
- package/dist/collection/api/services/business.service.js +22 -7
- package/dist/collection/api/services/checkout.service.js +6 -3
- package/dist/collection/api/services/dispute.service.js +13 -4
- package/dist/collection/api/services/insurance.service.js +8 -2
- package/dist/collection/api/services/payment.service.js +3 -3
- package/dist/collection/api/services/payout.service.js +3 -3
- package/dist/collection/api/services/provision.service.js +4 -1
- package/dist/collection/api/services/refund.service.js +10 -0
- package/dist/collection/api/services/reports.service.js +1 -1
- package/dist/collection/api/services/subaccounts.service.js +1 -1
- package/dist/collection/api/services/terminal.service.js +4 -4
- package/dist/collection/api/services/terminal_orders.service.js +5 -1
- package/dist/collection/collection-manifest.json +3 -5
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +4 -4
- package/dist/collection/components/business-details/business-details-core.js +4 -3
- package/dist/collection/components/business-details/business-details.js +6 -8
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +4 -4
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +4 -4
- package/dist/collection/components/business-details/owner-details/owner-details.js +4 -4
- package/dist/collection/components/business-details/representative-details/representative-details.js +4 -4
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +4 -2
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +4 -2
- package/dist/collection/components/business-forms/business-form/business-form.js +20 -13
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +6 -4
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -3
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +11 -7
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +34 -22
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +10 -6
- package/dist/collection/components/business-forms/owner-form/owner-form.js +22 -19
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +15 -11
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +11 -8
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +13 -10
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step-core.js +23 -16
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +9 -12
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-documents-on-file.js +6 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +17 -12
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +20 -14
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +10 -6
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +14 -10
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +31 -21
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +14 -10
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +9 -10
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +24 -16
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +20 -14
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +21 -12
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +12 -8
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +13 -13
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +3 -2
- package/dist/collection/components/checkout/billing-form/billing-form-schema.js +21 -0
- package/dist/collection/components/checkout/billing-form/billing-form.js +203 -0
- package/dist/collection/components/checkout/card-form/card-form.js +5 -4
- package/dist/collection/components/checkout/checkout-core.js +88 -37
- package/dist/collection/components/checkout/checkout.js +70 -28
- package/dist/collection/components/checkout/new-payment-method.js +110 -30
- package/dist/collection/components/checkout/payment-method-options.js +91 -36
- package/dist/collection/components/checkout/saved-payment-method.js +7 -4
- package/dist/collection/components/checkout/sezzle-payment-method.js +19 -15
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +17 -14
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +7 -5
- package/dist/collection/components/checkouts-list/checkouts-list.js +16 -12
- package/dist/collection/components/dispute-management/dispute-management-core.js +11 -8
- package/dist/collection/components/dispute-management/dispute-management.js +12 -9
- package/dist/collection/components/dispute-management/dispute-notification.js +11 -9
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +10 -9
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +21 -14
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +16 -13
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +10 -8
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +10 -8
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +5 -4
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +7 -6
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +44 -30
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +40 -32
- package/dist/collection/components/order-terminals/order-terminals.js +20 -16
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +19 -13
- package/dist/collection/components/payment-details/payment-details-core.js +13 -12
- package/dist/collection/components/payment-details/payment-details.js +29 -6
- package/dist/collection/components/payments-list/payments-list-core.js +12 -11
- package/dist/collection/components/payments-list/payments-list-filters.js +17 -12
- package/dist/collection/components/payments-list/payments-list.js +16 -11
- package/dist/collection/components/payout-details/payout-details-core.js +11 -8
- package/dist/collection/components/payout-details/payout-details.js +11 -9
- package/dist/collection/components/payouts-list/payouts-list-core.js +21 -16
- package/dist/collection/components/payouts-list/payouts-list-filters.js +8 -6
- package/dist/collection/components/payouts-list/payouts-list.js +16 -13
- package/dist/collection/components/refund-payment/refund-loading.js +6 -0
- package/dist/collection/components/refund-payment/refund-payment-schema.js +26 -11
- package/dist/collection/components/refund-payment/refund-payment.js +157 -57
- package/dist/collection/components/terminal-orders-list/terminal-order-status.js +15 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +12 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +18 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +16 -11
- package/dist/collection/components/terminal-orders-list/terminal-orders-table.js +11 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +17 -14
- package/dist/collection/components/terminals-list/terminals-list-filters.js +10 -7
- package/dist/collection/components/terminals-list/terminals-list.js +16 -12
- package/dist/collection/components/terminals-list/terminals-table.js +2 -2
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +71 -19
- package/dist/collection/styles/parts.js +2 -1
- package/dist/collection/ui-components/custom-popper/custom-popper.js +19 -8
- package/dist/collection/ui-components/details/details.js +3 -4
- package/dist/collection/ui-components/filters/table-filters-menu.js +8 -7
- package/dist/collection/ui-components/form/form-control-checkbox.js +25 -17
- package/dist/collection/ui-components/form/form-control-date.js +32 -21
- package/dist/collection/ui-components/form/form-control-file-v2.js +23 -18
- package/dist/collection/ui-components/form/form-control-file.js +28 -21
- package/dist/collection/ui-components/form/form-control-monetary.js +35 -23
- package/dist/collection/ui-components/form/form-control-number-masked.js +28 -19
- package/dist/collection/ui-components/form/form-control-number.js +25 -17
- package/dist/collection/ui-components/form/form-control-radio.js +28 -19
- package/dist/collection/ui-components/form/form-control-select.js +29 -19
- package/dist/collection/ui-components/form/form-control-text.js +32 -21
- package/dist/collection/ui-components/form/form-control-textarea.js +32 -21
- package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +6 -6
- package/dist/collection/ui-components/form/form-helpers/form-control-help-text/form-control-help-text.js +6 -6
- package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +3 -6
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +14 -12
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +6 -0
- package/dist/collection/utils/utils.js +8 -0
- package/dist/docs.d.ts +8 -0
- package/dist/docs.json +1844 -905
- package/dist/esm/Api-C9CDE-UM.js +72 -0
- package/dist/esm/{Business-0855931c.js → Business-D6XNzizo.js} +2 -2
- package/dist/esm/{Checkout-18d8bf94.js → Checkout-Dfpql997.js} +1 -1
- package/dist/esm/{ComponentError-c61dce41.js → ComponentError-SdntD1xf.js} +2 -1
- package/dist/esm/{Document-1907c0d4.js → Document-Ct-uNz2r.js} +1 -1
- package/dist/esm/{Payment-806af354.js → Payment-BADkZFaz.js} +2 -2
- package/dist/esm/{SubAccount-7520271c.js → Refund-t_P1yy9d.js} +25 -2
- package/dist/esm/_commonjsHelpers-BFTU3MAI.js +7 -0
- package/dist/esm/additional-questions-details_5.entry.js +5 -9
- package/dist/esm/{badge-1be14e8c.js → badge-C4TzL9CB.js} +3 -3
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +25 -41
- package/dist/esm/bank-account-form_9.entry.js +91 -93
- package/dist/esm/{business-additional-questions-schema-56308a54.js → business-additional-questions-schema-W6okG5Xu.js} +2 -2
- package/dist/esm/business-details-core.entry.js +6 -8
- package/dist/esm/{business-form-options-86a13078.js → business-form-options-Bn05PRR4.js} +1 -1
- package/dist/esm/{business-identity-schema-24fcc4ef.js → business-identity-schema-lqdJS3MT.js} +2 -2
- package/dist/esm/{business.service-999196a4.js → business.service-B136meVo.js} +23 -8
- package/dist/esm/{button-fcee4da7.js → button-CI85Rqy5.js} +2 -2
- package/dist/esm/{check-pkg-version-bbd75fa0.js → check-pkg-version-Wd4E_Njt.js} +3 -3
- package/dist/esm/{checkout.service-e38e477f.js → checkout.service-4tnXBKGq.js} +13 -10
- package/dist/esm/checkouts-list-core.entry.js +25 -29
- package/dist/esm/{checkouts-list-params-state-7bdf00bd.js → checkouts-list-params-state-Gbxdxjoi.js} +1 -1
- package/dist/esm/{checkouts-table-39a031a0.js → checkouts-table-CHM4YCCZ.js} +4 -4
- package/dist/esm/custom-popper_4.entry.js +27 -50
- package/dist/esm/{dispute.service-7ba6d5a4.js → dispute.service-Bwh8pBe9.js} +20 -11
- package/dist/esm/{event-types-1bc52f1f.js → event-types-CooIFpFI.js} +3 -3
- package/dist/esm/form-alert_5.entry.js +10 -17
- package/dist/esm/form-control-checkbox.entry.js +9 -16
- package/dist/esm/form-control-date.entry.js +9 -17
- package/dist/esm/{form-control-error-text-176d20d8.js → form-control-error-text-3q5yVuMQ.js} +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +11 -28
- package/dist/esm/{form-control-help-text-83764e14.js → form-control-help-text-BplkZkPF.js} +2 -2
- package/dist/esm/form-control-help-text.entry.js +1 -3
- package/dist/esm/form-control-monetary-provisioning.entry.js +13 -20
- package/dist/esm/form-control-monetary.entry.js +13 -20
- package/dist/esm/form-control-number-masked_2.entry.js +12 -23
- package/dist/esm/form-control-number.entry.js +9 -16
- package/dist/esm/form-control-radio.entry.js +7 -15
- package/dist/esm/{get-business-b7511690.js → get-business-B3c5gg1D.js} +3 -3
- package/dist/esm/get-payment-details-BbZmEGge.js +40 -0
- package/dist/esm/{get-payout-csv-fa34f40b.js → get-payout-csv-BKq22mOI.js} +11 -11
- package/dist/esm/{get-subaccounts-3c6b9e84.js → get-subaccounts-58LQOtEI.js} +10 -9
- package/dist/esm/gross-payment-chart-core.entry.js +262 -268
- package/dist/esm/{header-1-215a146f.js → header-1-BX6i3__G.js} +2 -2
- package/dist/esm/{header-3-afd16f23.js → header-3-D0Sy-7DJ.js} +2 -2
- package/dist/esm/{helpers-96ea3464.js → helpers-Mu7LQT-w.js} +2 -2
- package/dist/esm/{iframe-input-styles-state-ff730fe5.js → iframe-input-styles-state-DyXIZw1A.js} +3 -3
- package/dist/esm/iframe-input.entry.js +1638 -0
- package/dist/esm/{index-29fcfdf5.js → index-BUM1DfV9.js} +459 -250
- package/dist/esm/{index-d9a73ce3.js → index-Ce_F4E0f.js} +1 -1
- package/dist/esm/{index-a47fdc7f.js → index-Cuk6aIda.js} +4 -5
- package/dist/esm/index.esm-BCNUj0Dx.js +11801 -0
- package/dist/esm/{input-handlers-270ac806.js → input-handlers-CX6mSvOM.js} +1 -1
- package/dist/esm/{insurance-state-d2df8e88.js → insurance-state-BhklYgGK.js} +3 -3
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +64 -92
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +36 -84
- package/dist/esm/justifi-additional-statement_8.entry.js +36 -52
- package/dist/esm/justifi-business-details.entry.js +16 -18
- package/dist/esm/justifi-business-form.entry.js +34 -36
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +6 -9
- package/dist/esm/justifi-checkout-core.entry.js +31 -32
- package/dist/esm/justifi-checkout.entry.js +23 -27
- package/dist/esm/justifi-checkouts-list-filters.entry.js +15 -16
- package/dist/esm/justifi-checkouts-list.entry.js +25 -28
- package/dist/esm/justifi-details.entry.js +3 -4
- package/dist/esm/justifi-dispute-management-core.entry.js +5 -9
- package/dist/esm/justifi-dispute-management.entry.js +19 -21
- package/dist/esm/justifi-dispute-notification_3.entry.js +38 -50
- package/dist/esm/justifi-gross-payment-chart.entry.js +13 -14
- package/dist/esm/justifi-order-terminals.entry.js +27 -34
- package/dist/esm/justifi-owner-form_3.entry.js +29 -50
- package/dist/esm/justifi-payment-details.entry.js +22 -48
- package/dist/esm/justifi-payment-provisioning-core.entry.js +15 -21
- package/dist/esm/justifi-payment-provisioning.entry.js +15 -14
- package/dist/esm/justifi-payments-list-filters.entry.js +11 -15
- package/dist/esm/justifi-payments-list.entry.js +25 -27
- package/dist/esm/justifi-payout-details.entry.js +20 -23
- package/dist/esm/justifi-payouts-list-filters.entry.js +9 -10
- package/dist/esm/justifi-payouts-list.entry.js +26 -30
- package/dist/esm/justifi-refund-payment.entry.js +189 -67
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +10 -25
- package/dist/esm/justifi-season-interruption-insurance.entry.js +24 -33
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +19 -19
- package/dist/esm/justifi-terminal-orders-list.entry.js +28 -26
- package/dist/esm/justifi-terminals-list-filters.entry.js +17 -19
- package/dist/esm/justifi-terminals-list.entry.js +25 -28
- package/dist/esm/justifi-tokenize-payment-method.entry.js +24 -26
- package/dist/esm/loader.js +4 -4
- package/dist/esm/lodash-BqWxUrkh.js +17214 -0
- package/dist/esm/package-gAO-RwrF.js +7 -0
- package/dist/esm/pagination-menu.entry.js +3 -3
- package/dist/esm/{parts-fd740f54.js → parts-CB88j97I.js} +3 -2
- package/dist/esm/payment-details-core.entry.js +19 -20
- package/dist/esm/{payment-provisioning-actions-beadac34.js → payment-provisioning-actions-CZYFFdTf.js} +3 -3
- package/dist/esm/payment.service-Co_fPTvK.js +21 -0
- package/dist/esm/payments-list-core.entry.js +25 -28
- package/dist/esm/{payments-list-params-state-d05b24aa.js → payments-list-params-state-Gbxdxjoi.js} +1 -1
- package/dist/esm/{payments-status-74d22728.js → payments-status-BLhcMfnC.js} +2 -2
- package/dist/esm/{payments-table-8134f5e1.js → payments-table-VcaC77NC.js} +4 -4
- package/dist/esm/payout-details-core.entry.js +14 -16
- package/dist/esm/payouts-list-core.entry.js +26 -31
- package/dist/esm/{payouts-list-params-state-ebcee300.js → payouts-list-params-state-Gbxdxjoi.js} +1 -1
- package/dist/esm/{payouts-status-29d31099.js → payouts-status-B9SSljnL.js} +2 -2
- package/dist/esm/{payouts-table-c1ced46a.js → payouts-table-DWBaNPmV.js} +4 -4
- package/dist/esm/{schema-validations-5af4266a.js → schema-validations-BsbYeDDR.js} +5 -5
- package/dist/esm/{skeleton-ab3f676e.js → skeleton-B-oFGeeG.js} +2 -2
- package/dist/esm/{spinner-27479716.js → spinner-ptEcaLdc.js} +2 -2
- package/dist/esm/{styled-host-32228b45.js → styled-host-BHVh70Zk.js} +2 -3
- package/dist/esm/table-filters-menu.entry.js +4 -8
- package/dist/esm/terminal-orders-list-core.entry.js +24 -27
- package/dist/esm/{terminal-orders-list-params-state-8fec0a0b.js → terminal-orders-list-params-state-Gbxdxjoi.js} +1 -1
- package/dist/esm/{terminal-orders-table-93e84d25.js → terminal-orders-table-fuxIpfJ2.js} +35 -5
- package/dist/esm/terminal-quantity-selector.entry.js +6 -10
- package/dist/esm/{terminal.service-d173566d.js → terminal.service-BLOZ-ZlR.js} +11 -11
- package/dist/esm/terminals-list-core.entry.js +25 -29
- package/dist/esm/terminals-list-params-state-Gbxdxjoi.js +16 -0
- package/dist/esm/{terminals-table-5eb287ca.js → terminals-table-Dn71oQMb.js} +6 -6
- package/dist/esm/{utils-96d9c205.js → utils-B4pV3GWr.js} +2 -2
- package/dist/esm/utils-BWcTxbSg.js +23969 -0
- package/dist/esm/{utils-fd99b806.js → utils-Dccsn9BY.js} +2 -2
- package/dist/esm/webcomponents.js +6 -5
- package/dist/module/Api.js +32 -76
- package/dist/module/Business.js +2 -2
- package/dist/module/ComponentError.js +2 -1
- package/dist/module/Document.js +1 -1
- package/dist/module/{SubAccount.js → Refund.js} +24 -1
- package/dist/module/_commonjsHelpers.js +7 -0
- package/dist/module/additional-questions-details2.js +1 -2
- package/dist/module/additional-questions.js +2 -3
- package/dist/module/additional-statement.js +6 -9
- package/dist/module/badge.js +1 -1
- package/dist/module/bank-account-document-inputs.js +4 -6
- package/dist/module/bank-account-form-inputs2.js +1 -5
- package/dist/module/bank-account-form2.js +0 -1
- package/dist/module/billing-form.js +122 -4
- package/dist/module/business-additional-questions-form-step-core.js +7 -11
- package/dist/module/business-additional-questions-form-step.js +1 -6
- package/dist/module/business-additional-questions-schema.js +1 -1
- package/dist/module/business-address-schema.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +13 -18
- package/dist/module/business-bank-account-form-step.js +3 -9
- package/dist/module/business-core-info-form-step-core.js +6 -11
- package/dist/module/business-core-info-form-step.js +1 -6
- package/dist/module/business-core-info-schema.js +1 -1
- package/dist/module/business-core-info.js +2 -3
- package/dist/module/business-details-core2.js +1 -3
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-identity-schema.js +1 -1
- package/dist/module/business-owners-form-step-core.js +5 -11
- package/dist/module/business-owners-form-step.js +1 -6
- package/dist/module/business-representative-form-inputs.js +1 -4
- package/dist/module/business-representative-form-step-core.js +5 -9
- package/dist/module/business-representative-form-step.js +1 -6
- package/dist/module/business-representative.js +3 -4
- package/dist/module/business-terms-conditions-form-step.js +6 -12
- package/dist/module/business.service.js +22 -7
- package/dist/module/button.js +1 -1
- package/dist/module/cancellation-policy.js +6 -8
- package/dist/module/card-form2.js +2 -3
- package/dist/module/check-pkg-version.js +1 -1
- package/dist/module/checkout-core.js +57 -69
- package/dist/module/checkout.service.js +7 -4
- package/dist/module/checkouts-list-core2.js +12 -17
- package/dist/module/custom-popper2.js +13 -16
- package/dist/module/customer-details.js +6 -8
- package/dist/module/details.js +0 -1
- package/dist/module/dispute-management-core.js +4 -8
- package/dist/module/dispute-notification.js +3 -6
- package/dist/module/dispute-response-actions.js +16 -7
- package/dist/module/dispute-response-core.js +12 -16
- package/dist/module/dispute-response.js +6 -12
- package/dist/module/duplicate-charge.js +6 -8
- package/dist/module/electronic-evidence.js +5 -7
- package/dist/module/event-types2.js +21 -61
- package/dist/module/event-types3.js +61 -21
- package/dist/module/form-alert2.js +1 -3
- package/dist/module/form-control-checkbox2.js +6 -13
- package/dist/module/form-control-date2.js +6 -14
- package/dist/module/form-control-file-v22.js +2 -10
- package/dist/module/form-control-file2.js +5 -15
- package/dist/module/form-control-help-text.js +1 -1
- package/dist/module/form-control-help-text2.js +30 -9
- package/dist/module/form-control-help-text3.js +9 -32
- package/dist/module/form-control-monetary-provisioning2.js +8 -15
- package/dist/module/form-control-monetary2.js +9 -17
- package/dist/module/form-control-number-masked2.js +4 -12
- package/dist/module/form-control-number.js +6 -13
- package/dist/module/form-control-radio2.js +6 -14
- package/dist/module/form-control-select2.js +5 -13
- package/dist/module/form-control-text2.js +5 -14
- package/dist/module/form-control-textarea2.js +7 -16
- package/dist/module/form-control-tooltip2.js +0 -3
- package/dist/module/form.js +9773 -903
- package/dist/module/generic-info-details2.js +0 -1
- package/dist/module/get-business.js +2 -2
- package/dist/module/get-payment-details.js +40 -0
- package/dist/module/get-payout-csv.js +6 -6
- package/dist/module/get-subaccounts.js +5 -4
- package/dist/module/gross-payment-chart-core2.js +257 -264
- package/dist/module/helpers.js +1 -1
- package/dist/module/hidden-input2.js +3 -3
- package/dist/module/identity-address-form.js +2 -5
- package/dist/module/iframe-input-styles-state.js +2 -2
- package/dist/module/iframe-input2.js +1481 -1478
- package/dist/module/index2.js +3 -4
- package/dist/module/index3.js +1 -1
- package/dist/module/{billing-form.d.ts → justifi-billing-form.d.ts} +4 -4
- package/dist/module/justifi-billing-form.js +6 -0
- package/dist/module/justifi-business-details.js +1 -5
- package/dist/module/justifi-business-form.js +7 -10
- package/dist/module/justifi-checkout.js +47 -62
- package/dist/module/justifi-checkouts-list-filters.js +4 -5
- package/dist/module/justifi-checkouts-list.js +8 -11
- package/dist/module/justifi-dispute-management.js +6 -9
- package/dist/module/justifi-gross-payment-chart.js +4 -7
- package/dist/module/justifi-order-terminals.js +7 -15
- package/dist/module/justifi-payment-details.js +6 -38
- package/dist/module/justifi-payment-provisioning.js +5 -6
- package/dist/module/justifi-payments-list-filters.js +6 -11
- package/dist/module/justifi-payments-list.js +8 -10
- package/dist/module/justifi-payout-details.js +6 -9
- package/dist/module/justifi-payouts-list-filters.js +4 -6
- package/dist/module/justifi-payouts-list.js +8 -12
- package/dist/module/justifi-refund-payment.js +184 -61
- package/dist/module/justifi-season-interruption-insurance.js +13 -23
- package/dist/module/justifi-terminal-orders-list-filters.js +8 -9
- package/dist/module/justifi-terminal-orders-list.js +13 -11
- package/dist/module/justifi-terminals-list-filters.js +6 -8
- package/dist/module/justifi-terminals-list.js +8 -11
- package/dist/module/justifi-tokenize-payment-method.js +46 -58
- package/dist/module/legal-address-details2.js +1 -2
- package/dist/module/legal-address-form-step-core.js +6 -10
- package/dist/module/legal-address-form-step.js +1 -6
- package/dist/module/legal-address-form.js +1 -3
- package/dist/module/lodash.js +17201 -17191
- package/dist/module/new-payment-method.js +43 -55
- package/dist/module/owner-details2.js +0 -1
- package/dist/module/owner-form-core2.js +8 -18
- package/dist/module/owner-form-inputs2.js +1 -4
- package/dist/module/owner-form.js +1 -11
- package/dist/module/package.js +3 -77
- package/dist/module/pagination-menu2.js +1 -1
- package/dist/module/parts.js +3 -2
- package/dist/module/payment-details-core2.js +11 -13
- package/dist/module/payment-method-options.js +43 -61
- package/dist/module/payment-provisioning-actions.js +2 -2
- package/dist/module/payment-provisioning-core.js +8 -14
- package/dist/module/payment-provisioning-form-buttons.js +2 -8
- package/dist/module/payment-provisioning-form-steps.js +2 -7
- package/dist/module/payment.service.js +4 -4
- package/dist/module/payments-list-core2.js +10 -14
- package/dist/module/payout-details-core2.js +6 -9
- package/dist/module/payouts-list-core2.js +14 -20
- package/dist/module/product-or-service.js +5 -7
- package/dist/module/refund-policy.js +6 -8
- package/dist/module/representative-details2.js +0 -1
- package/dist/module/saved-payment-method.js +4 -6
- package/dist/module/schema-validations.js +2 -2
- package/dist/module/season-interruption-insurance-core.js +4 -20
- package/dist/module/sezzle-payment-method.js +3 -12
- package/dist/module/shipping-details.js +6 -8
- package/dist/module/spinner.js +1 -1
- package/dist/module/styled-host.js +1 -2
- package/dist/module/table-filters-menu2.js +3 -7
- package/dist/module/terminal-orders-list-core2.js +35 -15
- package/dist/module/terminal-quantity-selector2.js +4 -8
- package/dist/module/terminal.service.js +5 -5
- package/dist/module/terminals-list-core2.js +14 -19
- package/dist/module/utils.js +1 -1
- package/dist/module/utils2.js +23787 -3819
- package/dist/module/utils4.js +2 -2
- package/dist/types/actions/payment/get-payment-details.d.ts +4 -2
- package/dist/types/actions/refund/refund-actions.d.ts +12 -0
- package/dist/types/api/Api.d.ts +30 -5
- package/dist/types/api/ComponentError.d.ts +2 -1
- package/dist/types/api/Payment.d.ts +1 -11
- package/dist/types/api/Refund.d.ts +45 -0
- package/dist/types/api/TerminalOrder.d.ts +4 -1
- package/dist/types/api/index.d.ts +1 -0
- package/dist/types/api/services/payment.service.d.ts +2 -2
- package/dist/types/api/services/refund.service.d.ts +7 -0
- package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +1 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +3 -3
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +1 -1
- package/dist/types/components/checkout/{billing-forms → billing-form}/billing-form-schema.d.ts +1 -11
- package/dist/types/components/checkout/{billing-forms/billing-form → billing-form}/billing-form.d.ts +8 -6
- package/dist/types/components/checkout/checkout-core.d.ts +6 -2
- package/dist/types/components/checkout/checkout.d.ts +6 -2
- package/dist/types/components/checkout/new-payment-method.d.ts +7 -3
- package/dist/types/components/checkout/payment-method-options.d.ts +6 -2
- package/dist/types/components/order-terminals/order-terminals.d.ts +0 -1
- package/dist/types/components/payment-details/payment-details.d.ts +1 -0
- package/dist/types/components/refund-payment/refund-loading.d.ts +1 -0
- package/dist/types/components/refund-payment/refund-payment-schema.d.ts +6 -6
- package/dist/types/components/refund-payment/refund-payment.d.ts +18 -12
- package/dist/types/components/terminal-orders-list/terminal-orders-list-filters.d.ts +1 -1
- package/dist/types/components/terminals-list/terminals-table.d.ts +2 -2
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -0
- package/dist/types/components.d.ts +45 -74
- package/dist/types/stencil-public-runtime.d.ts +9 -0
- package/dist/types/styles/parts.d.ts +6 -5
- package/dist/types/ui-components/form/form-control-monetary.d.ts +1 -1
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/{p-701a13ca.js → p-01wziNa9.js} +1 -1
- package/dist/webcomponents/p-063dd981.entry.js +1 -0
- package/dist/webcomponents/p-08d5b491.entry.js +1 -0
- package/dist/webcomponents/p-0czqizJW.js +1 -0
- package/dist/webcomponents/p-1049c0c5.entry.js +1 -0
- package/dist/webcomponents/p-1ydcg9ti.js +1 -0
- package/dist/webcomponents/p-2c2f6743.entry.js +1 -0
- package/dist/webcomponents/p-2d80f427.entry.js +1 -0
- package/dist/webcomponents/p-2f6c0a07.entry.js +1 -0
- package/dist/webcomponents/p-2fe9576b.entry.js +1 -0
- package/dist/webcomponents/p-307a0db6.entry.js +1 -0
- package/dist/webcomponents/p-3147bfe2.entry.js +1 -0
- package/dist/webcomponents/p-332ce001.entry.js +1 -0
- package/dist/webcomponents/p-34cfafed.entry.js +1 -0
- package/dist/webcomponents/p-3995c8b8.entry.js +1 -0
- package/dist/webcomponents/p-3e084a0e.entry.js +1 -0
- package/dist/webcomponents/p-43c1c278.entry.js +1 -0
- package/dist/webcomponents/p-456f8c0a.entry.js +1 -0
- package/dist/webcomponents/p-4addd069.entry.js +1 -0
- package/dist/webcomponents/p-4ee6482d.entry.js +1 -0
- package/dist/webcomponents/p-507f7a31.entry.js +1 -0
- package/dist/webcomponents/p-50aa4e4d.entry.js +1 -0
- package/dist/webcomponents/p-5a07a84c.entry.js +1 -0
- package/dist/webcomponents/p-5dc3a795.entry.js +1 -0
- package/dist/webcomponents/p-62bdcca1.entry.js +1 -0
- package/dist/webcomponents/p-65345bd4.entry.js +1 -0
- package/dist/webcomponents/p-6a54d69b.entry.js +1 -0
- package/dist/webcomponents/p-6c4927e7.entry.js +1 -0
- package/dist/webcomponents/p-6d2a48f5.entry.js +1 -0
- package/dist/webcomponents/p-7414b942.entry.js +1 -0
- package/dist/webcomponents/p-7ddd7122.entry.js +20 -0
- package/dist/webcomponents/p-80dca817.entry.js +1 -0
- package/dist/webcomponents/p-815937bb.entry.js +1 -0
- package/dist/webcomponents/p-86fdc0a1.entry.js +1 -0
- package/dist/webcomponents/p-98111d03.entry.js +1 -0
- package/dist/webcomponents/p-9a9bb294.entry.js +1 -0
- package/dist/webcomponents/p-9bbfde16.entry.js +1 -0
- package/dist/webcomponents/p-B7ErpLYA.js +1 -0
- package/dist/webcomponents/p-BBsCnePk.js +1 -0
- package/dist/webcomponents/p-BFTU3MAI.js +1 -0
- package/dist/webcomponents/p-BHHWVg32.js +1 -0
- package/dist/webcomponents/p-BHbsXXRt.js +1 -0
- package/dist/webcomponents/p-BM61p7vG.js +1 -0
- package/dist/webcomponents/p-BODr6HXb.js +1 -0
- package/dist/webcomponents/p-BUM1DfV9.js +2 -0
- package/dist/webcomponents/p-BVwkHwTc.js +1 -0
- package/dist/webcomponents/p-BWFriesi.js +1 -0
- package/dist/webcomponents/p-Bde7dY9t.js +9 -0
- package/dist/webcomponents/{p-1366a019.js → p-BjB_yKBJ.js} +1 -1
- package/dist/webcomponents/p-Bo92MHrs.js +1 -0
- package/dist/webcomponents/p-BoPxMyJA.js +1 -0
- package/dist/webcomponents/{p-5d1d2fd7.js → p-BrvbVMVq.js} +1 -1
- package/dist/webcomponents/{p-a5579f53.js → p-BuYnqWwT.js} +1 -1
- package/dist/webcomponents/p-BxPlB-C5.js +1 -0
- package/dist/webcomponents/{p-3f5e6602.js → p-Bxs6fi7a.js} +1 -1
- package/dist/webcomponents/{p-bfe9748b.js → p-C3nDCvFQ.js} +1 -1
- package/dist/webcomponents/{p-87f8c596.js → p-C5RuuShs.js} +1 -1
- package/dist/webcomponents/p-CB88j97I.js +1 -0
- package/dist/webcomponents/p-CGz3XHQc.js +1 -0
- package/dist/webcomponents/p-CLBRsaLx.js +1 -0
- package/dist/webcomponents/{p-4cc3c7f9.js → p-CTBH4Lj9.js} +1 -1
- package/dist/webcomponents/p-CYsU0lEI.js +1 -0
- package/dist/webcomponents/p-CjunQqer.js +1 -0
- package/dist/webcomponents/{p-12074378.js → p-CnyMKcfC.js} +1 -1
- package/dist/webcomponents/p-CpTwq2jw.js +1 -0
- package/dist/webcomponents/{p-61f0a2ce.js → p-Ct-uNz2r.js} +1 -1
- package/dist/webcomponents/p-CwHcfOV7.js +1 -0
- package/dist/webcomponents/p-Cy4aIACq.js +1 -0
- package/dist/webcomponents/p-D7s2671S.js +1 -0
- package/dist/webcomponents/{p-ca6cdfe6.js → p-D89x2FYg.js} +1 -1
- package/dist/webcomponents/p-D9t-X0IY.js +1 -0
- package/dist/webcomponents/p-DLpKiPxJ.js +1 -0
- package/dist/webcomponents/p-DVnVdicA.js +1 -0
- package/dist/webcomponents/p-DhEfW-kS.js +1 -0
- package/dist/webcomponents/p-DhQ2XlhY.js +1 -0
- package/dist/webcomponents/p-Dna7whFY.js +1 -0
- package/dist/webcomponents/p-DoH48u6u.js +1 -0
- package/dist/webcomponents/p-Dt-vy9Le.js +1 -0
- package/dist/webcomponents/p-DzPbgN8M.js +1 -0
- package/dist/webcomponents/{p-c9b78275.js → p-IA90llLO.js} +1 -1
- package/dist/webcomponents/p-JcczGkik.js +1 -0
- package/dist/webcomponents/p-QYQ4VLoz.js +1 -0
- package/dist/webcomponents/{p-9dd8685c.js → p-SdntD1xf.js} +1 -1
- package/dist/webcomponents/p-ZUQEru6m.js +1 -0
- package/dist/webcomponents/p-a22974fd.entry.js +1 -0
- package/dist/webcomponents/p-a2bf5919.entry.js +1 -0
- package/dist/webcomponents/p-a9eff0f2.entry.js +1 -0
- package/dist/webcomponents/p-ab99e4c6.entry.js +1 -0
- package/dist/webcomponents/p-b7053613.entry.js +1 -0
- package/dist/webcomponents/p-bb8f7062.entry.js +1 -0
- package/dist/webcomponents/p-be04a09c.entry.js +1 -0
- package/dist/webcomponents/p-bplwtwD3.js +1 -0
- package/dist/webcomponents/p-c38c742e.entry.js +1 -0
- package/dist/webcomponents/p-c558725e.entry.js +1 -0
- package/dist/webcomponents/p-c6534f5f.entry.js +1 -0
- package/dist/webcomponents/p-c6cf707c.entry.js +1 -0
- package/dist/webcomponents/p-c70dcec1.entry.js +1 -0
- package/dist/webcomponents/p-c8d608a1.entry.js +1 -0
- package/dist/webcomponents/p-ce20d709.entry.js +1 -0
- package/dist/webcomponents/p-cf8f69de.entry.js +1 -0
- package/dist/webcomponents/p-d5675bf5.entry.js +1 -0
- package/dist/webcomponents/p-def42fc7.entry.js +1 -0
- package/dist/webcomponents/p-dfcf19f2.entry.js +1 -0
- package/dist/webcomponents/p-e0896deb.entry.js +1 -0
- package/dist/webcomponents/p-e3962860.entry.js +1 -0
- package/dist/webcomponents/p-e3cd72ad.entry.js +1 -0
- package/dist/webcomponents/p-e52d5ead.entry.js +1 -0
- package/dist/webcomponents/p-eYaGyUvS.js +1 -0
- package/dist/webcomponents/p-eb31e5c7.entry.js +1 -0
- package/dist/webcomponents/p-eb677eb2.entry.js +1 -0
- package/dist/webcomponents/p-f0301d11.entry.js +1 -0
- package/dist/webcomponents/p-f51e4213.entry.js +1 -0
- package/dist/webcomponents/p-gAO-RwrF.js +1 -0
- package/dist/webcomponents/p-hkXaxw9l.js +1 -0
- package/dist/webcomponents/p-p7aAf5_m.js +1 -0
- package/dist/webcomponents/p-sXe3gn-5.js +1 -0
- package/dist/webcomponents/p-y-Ys7Rd-.js +1 -0
- package/dist/webcomponents/p-z1GJDdMW.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +6 -7
- package/dist/cjs/Api-83d93333.js +0 -118
- package/dist/cjs/billing-form_3.cjs.entry.js +0 -1733
- package/dist/cjs/index.esm-544c08fd.js +0 -2937
- package/dist/cjs/lodash-dbf6a6a4.js +0 -17206
- package/dist/cjs/package-99f9fc82.js +0 -83
- package/dist/cjs/payment.service-537e049d.js +0 -23
- package/dist/cjs/terminals-list-params-state-236f06f6.js +0 -22
- package/dist/cjs/utils-4120664c.js +0 -4018
- package/dist/collection/components/checkout/billing-forms/billing-form/billing-form.js +0 -137
- package/dist/collection/components/checkout/billing-forms/billing-form-schema.js +0 -26
- package/dist/collection/components/checkout/billing-forms/billing-form-wrapper.js +0 -183
- package/dist/collection/components/checkout/billing-forms/postal-form/postal-form.js +0 -136
- package/dist/esm/Api-52242eb0.js +0 -116
- package/dist/esm/billing-form_3.entry.js +0 -1727
- package/dist/esm/index.esm-feedf26f.js +0 -2931
- package/dist/esm/lodash-faeb5a52.js +0 -17204
- package/dist/esm/package-01997353.js +0 -81
- package/dist/esm/payment.service-af5bd8be.js +0 -21
- package/dist/esm/terminals-list-params-state-e4b2ec23.js +0 -16
- package/dist/esm/utils-ec50661e.js +0 -4001
- package/dist/loader/package.json +0 -11
- package/dist/module/billing-form-schema.js +0 -16
- package/dist/module/billing-form-wrapper.js +0 -114
- package/dist/module/billing-form2.js +0 -90
- package/dist/module/justifi-billing-form-wrapper.d.ts +0 -11
- package/dist/module/justifi-billing-form-wrapper.js +0 -6
- package/dist/module/postal-form.d.ts +0 -11
- package/dist/module/postal-form.js +0 -6
- package/dist/module/postal-form2.js +0 -83
- package/dist/types/components/checkout/billing-forms/billing-form-wrapper.d.ts +0 -19
- package/dist/types/components/checkout/billing-forms/postal-form/postal-form.d.ts +0 -20
- package/dist/webcomponents/p-01033194.js +0 -1
- package/dist/webcomponents/p-07fbeff3.entry.js +0 -1
- package/dist/webcomponents/p-092515e0.js +0 -1
- package/dist/webcomponents/p-0b61d4d3.entry.js +0 -1
- package/dist/webcomponents/p-0c7ec110.entry.js +0 -1
- package/dist/webcomponents/p-0f0020e1.entry.js +0 -1
- package/dist/webcomponents/p-0fa216eb.entry.js +0 -1
- package/dist/webcomponents/p-0fc1d3bb.entry.js +0 -1
- package/dist/webcomponents/p-1134e1d3.entry.js +0 -1
- package/dist/webcomponents/p-13717638.entry.js +0 -1
- package/dist/webcomponents/p-142bfae3.js +0 -1
- package/dist/webcomponents/p-1c38ec65.entry.js +0 -1
- package/dist/webcomponents/p-1ce63001.entry.js +0 -1
- package/dist/webcomponents/p-1ff8810b.js +0 -1
- package/dist/webcomponents/p-2123c150.js +0 -1
- package/dist/webcomponents/p-23cd76af.entry.js +0 -1
- package/dist/webcomponents/p-25b82529.entry.js +0 -1
- package/dist/webcomponents/p-27546fa9.entry.js +0 -1
- package/dist/webcomponents/p-275c3dc9.js +0 -1
- package/dist/webcomponents/p-2783e363.js +0 -2
- package/dist/webcomponents/p-290fa30d.entry.js +0 -1
- package/dist/webcomponents/p-2a9d7f6b.js +0 -1
- package/dist/webcomponents/p-2b8aaa7d.entry.js +0 -1
- package/dist/webcomponents/p-3188f72a.js +0 -1
- package/dist/webcomponents/p-31dcaeaf.entry.js +0 -1
- package/dist/webcomponents/p-373a19fe.entry.js +0 -1
- package/dist/webcomponents/p-375657fe.entry.js +0 -1
- package/dist/webcomponents/p-3cc7527a.entry.js +0 -1
- package/dist/webcomponents/p-3cf317d3.entry.js +0 -1
- package/dist/webcomponents/p-4598482c.entry.js +0 -1
- package/dist/webcomponents/p-536497fe.entry.js +0 -1
- package/dist/webcomponents/p-536fb8e2.js +0 -1
- package/dist/webcomponents/p-537bce77.js +0 -1
- package/dist/webcomponents/p-54556fc6.js +0 -1
- package/dist/webcomponents/p-56c7fc8d.js +0 -1
- package/dist/webcomponents/p-58ee6ce9.js +0 -1
- package/dist/webcomponents/p-5a9d7ca0.entry.js +0 -1
- package/dist/webcomponents/p-5b76dbe1.entry.js +0 -1
- package/dist/webcomponents/p-5f6b4bc9.js +0 -1
- package/dist/webcomponents/p-645db2cb.entry.js +0 -1
- package/dist/webcomponents/p-65cb72e4.entry.js +0 -1
- package/dist/webcomponents/p-673c1bca.js +0 -1
- package/dist/webcomponents/p-6a5eab1f.entry.js +0 -1
- package/dist/webcomponents/p-753d983c.entry.js +0 -1
- package/dist/webcomponents/p-76549a24.js +0 -1
- package/dist/webcomponents/p-7b793901.entry.js +0 -1
- package/dist/webcomponents/p-7c333590.entry.js +0 -1
- package/dist/webcomponents/p-7d85af5c.js +0 -1
- package/dist/webcomponents/p-81a6c3e2.entry.js +0 -1
- package/dist/webcomponents/p-86605101.js +0 -1
- package/dist/webcomponents/p-87a4fb5b.js +0 -1
- package/dist/webcomponents/p-88a37837.js +0 -1
- package/dist/webcomponents/p-8a6a06e6.entry.js +0 -1
- package/dist/webcomponents/p-8d4a0192.entry.js +0 -1
- package/dist/webcomponents/p-927cb6df.js +0 -1
- package/dist/webcomponents/p-953e9dba.js +0 -1
- package/dist/webcomponents/p-96c23cda.entry.js +0 -1
- package/dist/webcomponents/p-9a9732e1.js +0 -1
- package/dist/webcomponents/p-9fecad5a.js +0 -1
- package/dist/webcomponents/p-a07e021f.entry.js +0 -1
- package/dist/webcomponents/p-a3cced75.entry.js +0 -1
- package/dist/webcomponents/p-a5f5cc2e.entry.js +0 -1
- package/dist/webcomponents/p-a6976c9c.entry.js +0 -1
- package/dist/webcomponents/p-a8c69f51.entry.js +0 -1
- package/dist/webcomponents/p-ab3a8004.entry.js +0 -1
- package/dist/webcomponents/p-ab45511e.js +0 -1
- package/dist/webcomponents/p-adecb91a.entry.js +0 -1
- package/dist/webcomponents/p-ae7edce5.js +0 -1
- package/dist/webcomponents/p-ae891abb.entry.js +0 -1
- package/dist/webcomponents/p-af3315b5.entry.js +0 -1
- package/dist/webcomponents/p-b082f07a.entry.js +0 -1
- package/dist/webcomponents/p-b218af87.entry.js +0 -1
- package/dist/webcomponents/p-b84ee6d8.js +0 -1
- package/dist/webcomponents/p-b979fcb0.entry.js +0 -1
- package/dist/webcomponents/p-bb4b3f79.entry.js +0 -1
- package/dist/webcomponents/p-beec0b60.js +0 -1
- package/dist/webcomponents/p-bf12999f.js +0 -1
- package/dist/webcomponents/p-bf195b35.js +0 -1
- package/dist/webcomponents/p-bfc2d88a.js +0 -1
- package/dist/webcomponents/p-c6be72b0.js +0 -10
- package/dist/webcomponents/p-c8b78136.js +0 -1
- package/dist/webcomponents/p-caa29469.entry.js +0 -1
- package/dist/webcomponents/p-cbad44b7.js +0 -1
- package/dist/webcomponents/p-cc2f75a3.entry.js +0 -1
- package/dist/webcomponents/p-ccb9ee53.js +0 -1
- package/dist/webcomponents/p-cd93c62b.entry.js +0 -19
- package/dist/webcomponents/p-d757fcf5.js +0 -1
- package/dist/webcomponents/p-dbc1a95b.js +0 -1
- package/dist/webcomponents/p-dd2938d3.entry.js +0 -1
- package/dist/webcomponents/p-dec18cc4.js +0 -1
- package/dist/webcomponents/p-e3855f51.entry.js +0 -1
- package/dist/webcomponents/p-e73be1b9.entry.js +0 -1
- package/dist/webcomponents/p-e817d131.entry.js +0 -1
- package/dist/webcomponents/p-e9867f8b.entry.js +0 -1
- package/dist/webcomponents/p-f20466f7.entry.js +0 -1
- package/dist/webcomponents/p-f20b6ce1.js +0 -1
- package/dist/webcomponents/p-f4739d31.js +0 -1
- package/dist/webcomponents/p-f4aeb100.js +0 -1
- package/dist/webcomponents/p-f8fccf44.js +0 -1
- package/dist/webcomponents/p-f930504f.entry.js +0 -1
- package/dist/webcomponents/p-faa35b47.entry.js +0 -1
- package/dist/webcomponents/p-fb2db8da.entry.js +0 -1
- package/dist/webcomponents/p-fca89e9b.entry.js +0 -1
- /package/dist/cjs/{Dispute-eb6bad54.js → Dispute-CruQTF6_.js} +0 -0
- /package/dist/cjs/{Document-0b828345.js → Document-rXGBUaOh.js} +0 -0
- /package/dist/cjs/{Pagination-0da8f095.js → Pagination-Dediz133.js} +0 -0
- /package/dist/cjs/{app-globals-3a1e7e63.js → app-globals-V2Kpy_OQ.js} +0 -0
- /package/dist/cjs/{event-types-8edaabbb.js → event-types-BWQT2lwu.js} +0 -0
- /package/dist/cjs/{event-types-180a85a9.js → event-types-DNOUef41.js} +0 -0
- /package/dist/cjs/{form-input-masks-0879c139.js → form-input-masks-DgXd0f4V.js} +0 -0
- /package/dist/cjs/{state-options-4fbcb48a.js → state-options-CIT9xdTz.js} +0 -0
- /package/dist/cjs/{utils-bc03ca40.js → utils-DAyWinG2.js} +0 -0
- /package/dist/esm/{Dispute-5fd28ec9.js → Dispute-7MWRbTXI.js} +0 -0
- /package/dist/esm/{Pagination-afc8f96d.js → Pagination-CLHwhyvu.js} +0 -0
- /package/dist/esm/{app-globals-0f993ce5.js → app-globals-DQuL1Twl.js} +0 -0
- /package/dist/esm/{event-types-07cdb9a0.js → event-types-Bg2SZArf.js} +0 -0
- /package/dist/esm/{event-types-5c87de02.js → event-types-XYgDHrVL.js} +0 -0
- /package/dist/esm/{form-input-masks-0e18300f.js → form-input-masks-B-iV5cYd.js} +0 -0
- /package/dist/esm/{state-options-a356fb11.js → state-options-BX8GieXu.js} +0 -0
- /package/dist/esm/{utils-20cdf321.js → utils-BnjCmwMr.js} +0 -0
- /package/dist/webcomponents/{p-abdbcd8e.js → p-7MWRbTXI.js} +0 -0
- /package/dist/webcomponents/{p-525db3e8.js → p-B-iV5cYd.js} +0 -0
- /package/dist/webcomponents/{p-6078a370.js → p-BX8GieXu.js} +0 -0
- /package/dist/webcomponents/{p-667ebd79.js → p-Bg2SZArf.js} +0 -0
- /package/dist/webcomponents/{p-e3c22aa9.js → p-BnjCmwMr.js} +0 -0
- /package/dist/webcomponents/{p-56f6ce4c.js → p-CLHwhyvu.js} +0 -0
- /package/dist/webcomponents/{p-1ad5995e.js → p-Ce_F4E0f.js} +0 -0
- /package/dist/webcomponents/{p-e1255160.js → p-DQuL1Twl.js} +0 -0
- /package/dist/webcomponents/{p-73f9be7c.js → p-XYgDHrVL.js} +0 -0
|
@@ -16,10 +16,6 @@ import { makeOrderTerminals } from "../../actions/terminal/order-terminals";
|
|
|
16
16
|
import { formatPhoneNumber } from "../../utils/utils";
|
|
17
17
|
export class OrderTerminals {
|
|
18
18
|
constructor() {
|
|
19
|
-
this.addressHeader = this.shipping ? "Shipping Address:" : "Business Address:";
|
|
20
|
-
this.businessId = undefined;
|
|
21
|
-
this.authToken = undefined;
|
|
22
|
-
this.accountId = undefined;
|
|
23
19
|
this.shipping = false;
|
|
24
20
|
this.apiOrigin = PROXY_API_ORIGIN;
|
|
25
21
|
this.submitButtonText = 'Submit Order';
|
|
@@ -29,10 +25,6 @@ export class OrderTerminals {
|
|
|
29
25
|
};
|
|
30
26
|
this.submitting = false;
|
|
31
27
|
this.error = null;
|
|
32
|
-
this.business = undefined;
|
|
33
|
-
this.terminalModels = undefined;
|
|
34
|
-
this.orderLimit = undefined;
|
|
35
|
-
this.order = undefined;
|
|
36
28
|
this.totalQuantity = 0;
|
|
37
29
|
}
|
|
38
30
|
componentWillLoad() {
|
|
@@ -121,7 +113,7 @@ export class OrderTerminals {
|
|
|
121
113
|
renderBusinessDetails() {
|
|
122
114
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
123
115
|
if (!this.loading.business && this.business) {
|
|
124
|
-
return (h("div", { class: "d-flex flex-column gap-4 mb-5 pt-5" }, h("div", { class: "row" }, h("div", { class: "col-12" }, h("h2", { part: heading4 }, this.business.legal_name))), h("div", { class: "row" }, h("div", { class: "col-6" }, h("h5", { part: heading5 }, "Representative:"), h("div", null, h("div", null, (_b = (_a = this.business) === null || _a === void 0 ? void 0 : _a.representative) === null || _b === void 0 ? void 0 : _b.name), h("div", null, (_d = (_c = this.business) === null || _c === void 0 ? void 0 : _c.representative) === null || _d === void 0 ? void 0 : _d.title), h("div", null, (_f = (_e = this.business) === null || _e === void 0 ? void 0 : _e.representative) === null || _f === void 0 ? void 0 : _f.email), h("div", null, formatPhoneNumber((_h = (_g = this.business) === null || _g === void 0 ? void 0 : _g.representative) === null || _h === void 0 ? void 0 : _h.phone)))), h("div", { class: "col-6" }, h("h5", { part: heading5 }, this.
|
|
116
|
+
return (h("div", { class: "d-flex flex-column gap-4 mb-5 pt-5" }, h("div", { class: "row" }, h("div", { class: "col-12" }, h("h2", { part: heading4 }, this.business.legal_name))), h("div", { class: "row" }, h("div", { class: "col-6" }, h("h5", { part: heading5 }, "Representative:"), h("div", null, h("div", null, (_b = (_a = this.business) === null || _a === void 0 ? void 0 : _a.representative) === null || _b === void 0 ? void 0 : _b.name), h("div", null, (_d = (_c = this.business) === null || _c === void 0 ? void 0 : _c.representative) === null || _d === void 0 ? void 0 : _d.title), h("div", null, (_f = (_e = this.business) === null || _e === void 0 ? void 0 : _e.representative) === null || _f === void 0 ? void 0 : _f.email), h("div", null, formatPhoneNumber((_h = (_g = this.business) === null || _g === void 0 ? void 0 : _g.representative) === null || _h === void 0 ? void 0 : _h.phone)))), h("div", { class: "col-6" }, h("h5", { part: heading5 }, this.shipping ? "Shipping Address:" : "Business Address:"), h("div", null, this.business.legal_address.line1, this.business.legal_address.line2 ? `, ${this.business.legal_address.line2}` : "", h("br", null), this.business.legal_address.city, ", ", this.business.legal_address.state, " ", this.business.legal_address.postal_code)))));
|
|
125
117
|
}
|
|
126
118
|
}
|
|
127
119
|
renderTerminals() {
|
|
@@ -133,7 +125,7 @@ export class OrderTerminals {
|
|
|
133
125
|
return (h("div", { class: "mt-3" }, h("div", { class: "text-end" }, "Order limit: ", this.orderLimit), h("div", { class: "d-flex justify-content-end mt-3" }, h("button", { class: "btn btn-primary submit-btn", onClick: this.submitOrder.bind(this), disabled: this.order.totalQuantity === 0 || this.submitting, part: buttonPrimary }, this.submitting ? 'Submitting...' : this.submitButtonText))));
|
|
134
126
|
}
|
|
135
127
|
render() {
|
|
136
|
-
return (h(StyledHost, { key: '
|
|
128
|
+
return (h(StyledHost, { key: 'b56073a8c5df425a77c0e322a855c41a820b848b' }, h("div", { key: 'f714b27a51bd21a58d20088016cfa3fabb6659b2', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
137
129
|
}
|
|
138
130
|
static get is() { return "justifi-order-terminals"; }
|
|
139
131
|
static get encapsulation() { return "shadow"; }
|
|
@@ -141,6 +133,7 @@ export class OrderTerminals {
|
|
|
141
133
|
return {
|
|
142
134
|
"businessId": {
|
|
143
135
|
"type": "string",
|
|
136
|
+
"attribute": "business-id",
|
|
144
137
|
"mutable": false,
|
|
145
138
|
"complexType": {
|
|
146
139
|
"original": "string",
|
|
@@ -153,11 +146,13 @@ export class OrderTerminals {
|
|
|
153
146
|
"tags": [],
|
|
154
147
|
"text": ""
|
|
155
148
|
},
|
|
156
|
-
"
|
|
149
|
+
"getter": false,
|
|
150
|
+
"setter": false,
|
|
157
151
|
"reflect": false
|
|
158
152
|
},
|
|
159
153
|
"authToken": {
|
|
160
154
|
"type": "string",
|
|
155
|
+
"attribute": "auth-token",
|
|
161
156
|
"mutable": false,
|
|
162
157
|
"complexType": {
|
|
163
158
|
"original": "string",
|
|
@@ -170,11 +165,13 @@ export class OrderTerminals {
|
|
|
170
165
|
"tags": [],
|
|
171
166
|
"text": ""
|
|
172
167
|
},
|
|
173
|
-
"
|
|
168
|
+
"getter": false,
|
|
169
|
+
"setter": false,
|
|
174
170
|
"reflect": false
|
|
175
171
|
},
|
|
176
172
|
"accountId": {
|
|
177
173
|
"type": "string",
|
|
174
|
+
"attribute": "account-id",
|
|
178
175
|
"mutable": false,
|
|
179
176
|
"complexType": {
|
|
180
177
|
"original": "string",
|
|
@@ -187,11 +184,13 @@ export class OrderTerminals {
|
|
|
187
184
|
"tags": [],
|
|
188
185
|
"text": ""
|
|
189
186
|
},
|
|
190
|
-
"
|
|
187
|
+
"getter": false,
|
|
188
|
+
"setter": false,
|
|
191
189
|
"reflect": false
|
|
192
190
|
},
|
|
193
191
|
"shipping": {
|
|
194
192
|
"type": "boolean",
|
|
193
|
+
"attribute": "shipping",
|
|
195
194
|
"mutable": false,
|
|
196
195
|
"complexType": {
|
|
197
196
|
"original": "boolean",
|
|
@@ -204,12 +203,14 @@ export class OrderTerminals {
|
|
|
204
203
|
"tags": [],
|
|
205
204
|
"text": ""
|
|
206
205
|
},
|
|
207
|
-
"
|
|
206
|
+
"getter": false,
|
|
207
|
+
"setter": false,
|
|
208
208
|
"reflect": false,
|
|
209
209
|
"defaultValue": "false"
|
|
210
210
|
},
|
|
211
211
|
"apiOrigin": {
|
|
212
212
|
"type": "string",
|
|
213
|
+
"attribute": "api-origin",
|
|
213
214
|
"mutable": false,
|
|
214
215
|
"complexType": {
|
|
215
216
|
"original": "string",
|
|
@@ -222,12 +223,14 @@ export class OrderTerminals {
|
|
|
222
223
|
"tags": [],
|
|
223
224
|
"text": ""
|
|
224
225
|
},
|
|
225
|
-
"
|
|
226
|
+
"getter": false,
|
|
227
|
+
"setter": false,
|
|
226
228
|
"reflect": false,
|
|
227
229
|
"defaultValue": "PROXY_API_ORIGIN"
|
|
228
230
|
},
|
|
229
231
|
"submitButtonText": {
|
|
230
232
|
"type": "string",
|
|
233
|
+
"attribute": "submit-button-text",
|
|
231
234
|
"mutable": false,
|
|
232
235
|
"complexType": {
|
|
233
236
|
"original": "string",
|
|
@@ -240,7 +243,8 @@ export class OrderTerminals {
|
|
|
240
243
|
"tags": [],
|
|
241
244
|
"text": ""
|
|
242
245
|
},
|
|
243
|
-
"
|
|
246
|
+
"getter": false,
|
|
247
|
+
"setter": false,
|
|
244
248
|
"reflect": false,
|
|
245
249
|
"defaultValue": "'Submit Order'"
|
|
246
250
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { buttonLink,
|
|
2
|
+
import { buttonLink, card, image } from "../../../styles/parts";
|
|
3
3
|
export class TerminalQuantitySelector {
|
|
4
4
|
constructor() {
|
|
5
|
+
this.limit = Infinity;
|
|
6
|
+
this.selectedQuantity = 0;
|
|
5
7
|
this.removeUnit = () => {
|
|
6
8
|
if (this.selectedQuantity > 0) {
|
|
7
9
|
this.selectedQuantity--;
|
|
@@ -14,21 +16,16 @@ export class TerminalQuantitySelector {
|
|
|
14
16
|
this.selectedQuantityChange.emit({ modelName: this.modelName, quantity: this.selectedQuantity });
|
|
15
17
|
}
|
|
16
18
|
};
|
|
17
|
-
this.modelName = undefined;
|
|
18
|
-
this.imageUrl = undefined;
|
|
19
|
-
this.description = undefined;
|
|
20
|
-
this.helpUrl = undefined;
|
|
21
|
-
this.limit = Infinity;
|
|
22
|
-
this.selectedQuantity = 0;
|
|
23
19
|
}
|
|
24
20
|
render() {
|
|
25
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: 'b1beb8bf42e51a46170d968a773f44a5ad70d192', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: 'd577a7dcb6f065dc2e9f4ae62213dc140f3c5332', class: "d-flex gap-3" }, h("div", { key: 'c6c2a3ad7548af6f2a97d1961fe936b6a11931fd', class: "d-flex align-items-center" }, h("img", { key: '34389c41c40e9665abb781ab71de2e02ad57756d', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '598e28694854767c98fe89a3516fbdc980dc6365', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '66dcdb30e300a5f79a807911bd167bb4b3c3cc57', class: "row" }, h("div", { key: '683b9eb30c4a5bff878551f2f22309a3615941ab', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: '4446db6e9f9f2a1557b1693e2f92a0493a1851df', helpText: this.description })), h("div", { key: 'c425f4dc3df14a697739d8a8fe98d890dc8abcb8', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: 'edb7d30cd3e583a482671f17d36b4974f842ec1a', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '484e27c0b4ceb8c50ee09bc7bf74b8b681a397ae', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: 'd6d39955ab4705d157c25a4bcfa7f67edc02a3ee', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
26
22
|
}
|
|
27
23
|
static get is() { return "terminal-quantity-selector"; }
|
|
28
24
|
static get properties() {
|
|
29
25
|
return {
|
|
30
26
|
"modelName": {
|
|
31
27
|
"type": "string",
|
|
28
|
+
"attribute": "model-name",
|
|
32
29
|
"mutable": false,
|
|
33
30
|
"complexType": {
|
|
34
31
|
"original": "TerminalModelName",
|
|
@@ -47,11 +44,13 @@ export class TerminalQuantitySelector {
|
|
|
47
44
|
"tags": [],
|
|
48
45
|
"text": ""
|
|
49
46
|
},
|
|
50
|
-
"
|
|
47
|
+
"getter": false,
|
|
48
|
+
"setter": false,
|
|
51
49
|
"reflect": false
|
|
52
50
|
},
|
|
53
51
|
"imageUrl": {
|
|
54
52
|
"type": "string",
|
|
53
|
+
"attribute": "image-url",
|
|
55
54
|
"mutable": false,
|
|
56
55
|
"complexType": {
|
|
57
56
|
"original": "string",
|
|
@@ -64,11 +63,13 @@ export class TerminalQuantitySelector {
|
|
|
64
63
|
"tags": [],
|
|
65
64
|
"text": ""
|
|
66
65
|
},
|
|
67
|
-
"
|
|
66
|
+
"getter": false,
|
|
67
|
+
"setter": false,
|
|
68
68
|
"reflect": false
|
|
69
69
|
},
|
|
70
70
|
"description": {
|
|
71
71
|
"type": "string",
|
|
72
|
+
"attribute": "description",
|
|
72
73
|
"mutable": false,
|
|
73
74
|
"complexType": {
|
|
74
75
|
"original": "string",
|
|
@@ -81,11 +82,13 @@ export class TerminalQuantitySelector {
|
|
|
81
82
|
"tags": [],
|
|
82
83
|
"text": ""
|
|
83
84
|
},
|
|
84
|
-
"
|
|
85
|
+
"getter": false,
|
|
86
|
+
"setter": false,
|
|
85
87
|
"reflect": false
|
|
86
88
|
},
|
|
87
89
|
"helpUrl": {
|
|
88
90
|
"type": "string",
|
|
91
|
+
"attribute": "help-url",
|
|
89
92
|
"mutable": false,
|
|
90
93
|
"complexType": {
|
|
91
94
|
"original": "string",
|
|
@@ -98,11 +101,13 @@ export class TerminalQuantitySelector {
|
|
|
98
101
|
"tags": [],
|
|
99
102
|
"text": ""
|
|
100
103
|
},
|
|
101
|
-
"
|
|
104
|
+
"getter": false,
|
|
105
|
+
"setter": false,
|
|
102
106
|
"reflect": false
|
|
103
107
|
},
|
|
104
108
|
"limit": {
|
|
105
109
|
"type": "number",
|
|
110
|
+
"attribute": "limit",
|
|
106
111
|
"mutable": false,
|
|
107
112
|
"complexType": {
|
|
108
113
|
"original": "number",
|
|
@@ -115,7 +120,8 @@ export class TerminalQuantitySelector {
|
|
|
115
120
|
"tags": [],
|
|
116
121
|
"text": ""
|
|
117
122
|
},
|
|
118
|
-
"
|
|
123
|
+
"getter": false,
|
|
124
|
+
"setter": false,
|
|
119
125
|
"reflect": false,
|
|
120
126
|
"defaultValue": "Infinity"
|
|
121
127
|
}
|
|
@@ -6,10 +6,7 @@ import { StyledHost } from "../../ui-components";
|
|
|
6
6
|
import PaymentDetailsLoading from "./payment-details-loading";
|
|
7
7
|
export class PaymentDetailsCore {
|
|
8
8
|
constructor() {
|
|
9
|
-
this.getPaymentDetails = undefined;
|
|
10
|
-
this.payment = undefined;
|
|
11
9
|
this.loading = true;
|
|
12
|
-
this.errorMessage = undefined;
|
|
13
10
|
}
|
|
14
11
|
componentWillLoad() {
|
|
15
12
|
if (this.getPaymentDetails) {
|
|
@@ -24,7 +21,6 @@ export class PaymentDetailsCore {
|
|
|
24
21
|
this.getPaymentDetails({
|
|
25
22
|
onSuccess: ({ payment }) => {
|
|
26
23
|
this.payment = payment;
|
|
27
|
-
this.loading = false;
|
|
28
24
|
this.errorMessage = null;
|
|
29
25
|
},
|
|
30
26
|
onError: ({ error, code, severity }) => {
|
|
@@ -34,25 +30,28 @@ export class PaymentDetailsCore {
|
|
|
34
30
|
message: error,
|
|
35
31
|
severity,
|
|
36
32
|
});
|
|
33
|
+
},
|
|
34
|
+
final: () => {
|
|
37
35
|
this.loading = false;
|
|
38
36
|
},
|
|
39
37
|
});
|
|
40
38
|
}
|
|
41
39
|
render() {
|
|
42
|
-
return (h(StyledHost, { key: '
|
|
43
|
-
this.payment && (h("justifi-details", { key: '
|
|
44
|
-
h(DetailSectionTitle, { key: '
|
|
45
|
-
h("div", { key: '
|
|
40
|
+
return (h(StyledHost, { key: '6c6d4c1944655b7ef98605f6f8a4f827bc8634df' }, this.loading && h(PaymentDetailsLoading, { key: '95e2c50f26884542cc0b7c2751a795b25ebc427a' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
41
|
+
this.payment && (h("justifi-details", { key: '6a88471b5b00d282c2ca11e5c651d4bf1f73d533', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'c7f441da3722aab3a022fe4ae395e1fd84512d2f', slot: "head-info", badge: MapPaymentStatusToBadge(this.payment.status), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: 'd173a2178f4323801790b705632804920fa4a25b', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '6d170aa5a8da7693807571433000342e4107efe8', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: 'fb3386eaa1cb9128dea10fd4b33c65eab2c00a31', title: "ID", value: this.payment.id })), h("div", { key: '6ee8fc00a0d22c27460900c4e854c2d6bb2127c2', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '5d15d0eacc9ba08db6cbd49e42c56d249eda9d2c', sectionTitle: "Details" }), h("div", { key: '1d9c1980fa1f771f4b2e6498582cb33ae5b3f0f2', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'd492ab80dedc1b8da82da5d7d4c27724aaf71144', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: 'f77a002fed17be11e28b636ed7e69ed4afb3b158', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'c1e7fadb89586e4adf8e7094cc3ea20f447cd2f5', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: 'eb2ea81491557f0a45ece5cdef706aaeb3b933cf', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '42e5aa97bf59223ad8bfe8f68c74baa5ff2ab8b9', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '3143407816860e5174f15fccbd9d379b65bd7ea9', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '5d63b760f25736f838aafe478e601e51d0db6792', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'c8aaca658cbef97146307f3f517d1122abe1106f', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '95bef3fe28e0370e8a7d5e4d32d6f86925188132', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
|
|
42
|
+
h(DetailSectionTitle, { key: '72a4a1c0d6612f437dce1b98609491c4d7983198', sectionTitle: "Payment Method" }),
|
|
43
|
+
h("div", { key: '5b420f9f45eded927b062b218c8e049cd325597c', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '265f90b4184492bbbdfdd3a146cb69fe2bd7bde0', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '4cd08a2bd200576e04b1802304be38e39cf320aa', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '9618c6b0ff0823d48c86bae538e207096fc3f7ce', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'c9ae3d23296fe3ed1cfea0138165570a15111929', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '3284de2e6a6b39d5b38d1ecd6753cdec09f9b20f', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
46
44
|
], this.payment.payment_method.bank_account && [
|
|
47
|
-
h(DetailSectionTitle, { key: '
|
|
48
|
-
h("div", { key: '
|
|
49
|
-
], h(DetailSectionTitle, { key: '
|
|
45
|
+
h(DetailSectionTitle, { key: 'cd5a23e6ea98b026b9461963c7448df11461ed16', sectionTitle: "Payment Method" }),
|
|
46
|
+
h("div", { key: '315bea1f8b0d24fc0403328c44124b5210e4d068', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '036c1e1be093e303fa80999f437c92a2200dce7a', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'a35d0f9ca8771cb76bb3d6ac65ca604742896023', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '8a981d79ce65d5b3936a2fe4c7f2d0759627500c', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '9b123abe36f38d66eb7e4dacc1a73e58d6b03305', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
47
|
+
], h(DetailSectionTitle, { key: 'e8cdca72a94f04208acb36b444b70d31bad38978', sectionTitle: 'Metadata' }), h("div", { key: '662f7fd2cbab2a5574359957fcbab772e3f3f429', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '0d5a67e7290a79c9f5236780254d4eb32a1516af', metadata: this.payment.metadata })))))));
|
|
50
48
|
}
|
|
51
49
|
static get is() { return "payment-details-core"; }
|
|
52
50
|
static get properties() {
|
|
53
51
|
return {
|
|
54
52
|
"getPaymentDetails": {
|
|
55
53
|
"type": "unknown",
|
|
54
|
+
"attribute": "get-payment-details",
|
|
56
55
|
"mutable": false,
|
|
57
56
|
"complexType": {
|
|
58
57
|
"original": "Function",
|
|
@@ -69,7 +68,9 @@ export class PaymentDetailsCore {
|
|
|
69
68
|
"docs": {
|
|
70
69
|
"tags": [],
|
|
71
70
|
"text": ""
|
|
72
|
-
}
|
|
71
|
+
},
|
|
72
|
+
"getter": false,
|
|
73
|
+
"setter": false
|
|
73
74
|
}
|
|
74
75
|
};
|
|
75
76
|
}
|
|
@@ -7,15 +7,13 @@ import JustifiAnalytics from "../../api/Analytics";
|
|
|
7
7
|
import { checkPkgVersion } from "../../utils/check-pkg-version";
|
|
8
8
|
export class PaymentDetails {
|
|
9
9
|
constructor() {
|
|
10
|
+
this.apiOrigin = PROXY_API_ORIGIN;
|
|
11
|
+
this.errorMessage = null;
|
|
10
12
|
this.paymentService = new PaymentService();
|
|
11
13
|
this.handleErrorEvent = event => {
|
|
12
14
|
this.errorMessage = event.detail.message;
|
|
13
15
|
this.errorEvent.emit(event.detail);
|
|
14
16
|
};
|
|
15
|
-
this.paymentId = undefined;
|
|
16
|
-
this.authToken = undefined;
|
|
17
|
-
this.getPaymentDetails = undefined;
|
|
18
|
-
this.errorMessage = null;
|
|
19
17
|
}
|
|
20
18
|
componentWillLoad() {
|
|
21
19
|
checkPkgVersion();
|
|
@@ -35,6 +33,7 @@ export class PaymentDetails {
|
|
|
35
33
|
id: this.paymentId,
|
|
36
34
|
authToken: this.authToken,
|
|
37
35
|
service: new PaymentService(),
|
|
36
|
+
apiOrigin: this.apiOrigin
|
|
38
37
|
});
|
|
39
38
|
}
|
|
40
39
|
else {
|
|
@@ -58,6 +57,7 @@ export class PaymentDetails {
|
|
|
58
57
|
return {
|
|
59
58
|
"paymentId": {
|
|
60
59
|
"type": "string",
|
|
60
|
+
"attribute": "payment-id",
|
|
61
61
|
"mutable": false,
|
|
62
62
|
"complexType": {
|
|
63
63
|
"original": "string",
|
|
@@ -70,11 +70,13 @@ export class PaymentDetails {
|
|
|
70
70
|
"tags": [],
|
|
71
71
|
"text": ""
|
|
72
72
|
},
|
|
73
|
-
"
|
|
73
|
+
"getter": false,
|
|
74
|
+
"setter": false,
|
|
74
75
|
"reflect": false
|
|
75
76
|
},
|
|
76
77
|
"authToken": {
|
|
77
78
|
"type": "string",
|
|
79
|
+
"attribute": "auth-token",
|
|
78
80
|
"mutable": false,
|
|
79
81
|
"complexType": {
|
|
80
82
|
"original": "string",
|
|
@@ -87,8 +89,29 @@ export class PaymentDetails {
|
|
|
87
89
|
"tags": [],
|
|
88
90
|
"text": ""
|
|
89
91
|
},
|
|
90
|
-
"
|
|
92
|
+
"getter": false,
|
|
93
|
+
"setter": false,
|
|
91
94
|
"reflect": false
|
|
95
|
+
},
|
|
96
|
+
"apiOrigin": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"attribute": "api-origin",
|
|
99
|
+
"mutable": false,
|
|
100
|
+
"complexType": {
|
|
101
|
+
"original": "string",
|
|
102
|
+
"resolved": "string",
|
|
103
|
+
"references": {}
|
|
104
|
+
},
|
|
105
|
+
"required": false,
|
|
106
|
+
"optional": true,
|
|
107
|
+
"docs": {
|
|
108
|
+
"tags": [],
|
|
109
|
+
"text": ""
|
|
110
|
+
},
|
|
111
|
+
"getter": false,
|
|
112
|
+
"setter": false,
|
|
113
|
+
"reflect": false,
|
|
114
|
+
"defaultValue": "PROXY_API_ORIGIN"
|
|
92
115
|
}
|
|
93
116
|
};
|
|
94
117
|
}
|
|
@@ -8,6 +8,10 @@ import { table, tableCell } from "../../styles/parts";
|
|
|
8
8
|
import { TableClickActions } from "../../ui-components/table/event-types";
|
|
9
9
|
export class PaymentsListCore {
|
|
10
10
|
constructor() {
|
|
11
|
+
this.payments = [];
|
|
12
|
+
this.loading = true;
|
|
13
|
+
this.paging = pagingDefaults;
|
|
14
|
+
this.pagingParams = {};
|
|
11
15
|
this.handleClickPrevious = (beforeCursor) => {
|
|
12
16
|
this.pagingParams = { before_cursor: beforeCursor };
|
|
13
17
|
this.clickEvent.emit({ name: TableClickActions.previous });
|
|
@@ -23,14 +27,6 @@ export class PaymentsListCore {
|
|
|
23
27
|
const paymentData = this.payments.find((payment) => payment.id === clickedPaymentID);
|
|
24
28
|
this.clickEvent.emit({ name: TableClickActions.row, data: paymentData });
|
|
25
29
|
};
|
|
26
|
-
this.getPayments = undefined;
|
|
27
|
-
this.columns = undefined;
|
|
28
|
-
this.payments = [];
|
|
29
|
-
this.paymentsTable = undefined;
|
|
30
|
-
this.loading = true;
|
|
31
|
-
this.errorMessage = undefined;
|
|
32
|
-
this.paging = pagingDefaults;
|
|
33
|
-
this.pagingParams = {};
|
|
34
30
|
}
|
|
35
31
|
updateOnPropChange() {
|
|
36
32
|
this.fetchData();
|
|
@@ -88,13 +84,14 @@ export class PaymentsListCore {
|
|
|
88
84
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
89
85
|
}
|
|
90
86
|
render() {
|
|
91
|
-
return (h("div", { key: '
|
|
87
|
+
return (h("div", { key: 'f86d52669c90effcd3d9d53f6de3d968c7e0e5b8' }, h("div", { key: 'c550036e844e432b64d28fd7fe126bbb4201e30d', class: "table-wrapper" }, h("table", { key: '17789379d288ad3fad03fb74b2a230563f891ebe', class: "table table-hover", part: table }, h("thead", { key: '8dbc48e378bb5f0d2bced430709156c944502dbf', class: "table-head sticky-top" }, h("tr", { key: '1d1d84f81bfe1a8f8cb7eafd9faedaed8cef5895', class: "table-light text-nowrap" }, this.paymentsTable.columnData.map((column) => column))), h("tbody", { key: '0700177245ac7d6a6d631410957a71f259922dad', class: "table-body" }, h(TableLoadingState, { key: '055582e228ec1f955bb5a136f17801711f9fc4eb', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '061f7fed30e4c5337dc0608bf5674c5d25918348', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '9c011ecc196eb30da5b78c8b365d96af2b041a5b', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h("tfoot", { key: '2518be1d8d308549a1c531ff87760b279fdaeea1', class: "sticky-bottom" }, h("tr", { key: '81b14b10f51177f45b71aa5bdb39109e2b02214f', class: "table-light align-middle" }, h("td", { key: '9e61c80405503b5e1e78eb946e099d57fe9685c7', part: tableCell, colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'ce881fdc8fc0b5a1ce50eea97f9adc8237f9a880', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
92
88
|
}
|
|
93
89
|
static get is() { return "payments-list-core"; }
|
|
94
90
|
static get properties() {
|
|
95
91
|
return {
|
|
96
92
|
"getPayments": {
|
|
97
93
|
"type": "unknown",
|
|
94
|
+
"attribute": "get-payments",
|
|
98
95
|
"mutable": false,
|
|
99
96
|
"complexType": {
|
|
100
97
|
"original": "Function",
|
|
@@ -111,10 +108,13 @@ export class PaymentsListCore {
|
|
|
111
108
|
"docs": {
|
|
112
109
|
"tags": [],
|
|
113
110
|
"text": ""
|
|
114
|
-
}
|
|
111
|
+
},
|
|
112
|
+
"getter": false,
|
|
113
|
+
"setter": false
|
|
115
114
|
},
|
|
116
115
|
"columns": {
|
|
117
116
|
"type": "string",
|
|
117
|
+
"attribute": "columns",
|
|
118
118
|
"mutable": false,
|
|
119
119
|
"complexType": {
|
|
120
120
|
"original": "string",
|
|
@@ -127,7 +127,8 @@ export class PaymentsListCore {
|
|
|
127
127
|
"tags": [],
|
|
128
128
|
"text": ""
|
|
129
129
|
},
|
|
130
|
-
"
|
|
130
|
+
"getter": false,
|
|
131
|
+
"setter": false,
|
|
131
132
|
"reflect": false
|
|
132
133
|
}
|
|
133
134
|
};
|
|
@@ -13,11 +13,6 @@ export class PaymentsListFilters {
|
|
|
13
13
|
const utcDate = convertToUTC(value, { setExactTime: true });
|
|
14
14
|
this.setParamsOnChange(name, utcDate);
|
|
15
15
|
};
|
|
16
|
-
this.paymentId = undefined;
|
|
17
|
-
this.terminalId = undefined;
|
|
18
|
-
this.paymentStatus = undefined;
|
|
19
|
-
this.createdAfter = undefined;
|
|
20
|
-
this.createdBefore = undefined;
|
|
21
16
|
}
|
|
22
17
|
componentWillLoad() {
|
|
23
18
|
// debounced input handler for text input
|
|
@@ -48,8 +43,8 @@ export class PaymentsListFilters {
|
|
|
48
43
|
}
|
|
49
44
|
render() {
|
|
50
45
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
51
|
-
return (h(StyledHost, { key: '
|
|
52
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '
|
|
46
|
+
return (h(StyledHost, { key: '0f60343035418f02bfb4c5a334281035cc572957' }, h("table-filters-menu", { key: 'f3fbf51df04aab4de27aec6c16b1154a9c68cf89', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: 'f16d287033fcd5738a248c46f055ca880afa100d', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'c732920f08adcc06e730bc37989dfab19ab1ca70', class: "p-2" }, h("form-control-text", { key: 'd627c54541b7ef5d18047eeeb1d123974903a7b4', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: '9d0808c36388cd9e6d44ad911ce2b35c8ef3d481', class: "p-2" }, h("form-control-text", { key: '75bd80ea108dfd17260a494fb616c4b59c9a6d17', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: '67d9241d539eb9dbde85b36d2b46c03557988aac', class: "p-2" }, h("form-control-select", { key: '6cc1f7f8d660d6d7dd71231c0fadcd487dec598d', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '286c868036528e6c0d8d57eba384a1cbf7e9fe46', class: "p-2" }, h("form-control-date", { key: '74507753f003841539d9b6c4e233428d8cdef85e', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
47
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: 'd028a802f375b553e7504dfaec3232af5b3d7849', class: "p-2" }, h("form-control-date", { key: '3f4f89061c6f50b38aaab0d950b8bd6ed53e1290', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
53
48
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
|
|
54
49
|
}
|
|
55
50
|
static get is() { return "justifi-payments-list-filters"; }
|
|
@@ -58,6 +53,7 @@ export class PaymentsListFilters {
|
|
|
58
53
|
return {
|
|
59
54
|
"paymentId": {
|
|
60
55
|
"type": "string",
|
|
56
|
+
"attribute": "payment-id",
|
|
61
57
|
"mutable": false,
|
|
62
58
|
"complexType": {
|
|
63
59
|
"original": "string",
|
|
@@ -70,11 +66,13 @@ export class PaymentsListFilters {
|
|
|
70
66
|
"tags": [],
|
|
71
67
|
"text": ""
|
|
72
68
|
},
|
|
73
|
-
"
|
|
69
|
+
"getter": false,
|
|
70
|
+
"setter": false,
|
|
74
71
|
"reflect": false
|
|
75
72
|
},
|
|
76
73
|
"terminalId": {
|
|
77
74
|
"type": "string",
|
|
75
|
+
"attribute": "terminal-id",
|
|
78
76
|
"mutable": false,
|
|
79
77
|
"complexType": {
|
|
80
78
|
"original": "string",
|
|
@@ -87,11 +85,13 @@ export class PaymentsListFilters {
|
|
|
87
85
|
"tags": [],
|
|
88
86
|
"text": ""
|
|
89
87
|
},
|
|
90
|
-
"
|
|
88
|
+
"getter": false,
|
|
89
|
+
"setter": false,
|
|
91
90
|
"reflect": false
|
|
92
91
|
},
|
|
93
92
|
"paymentStatus": {
|
|
94
93
|
"type": "string",
|
|
94
|
+
"attribute": "payment-status",
|
|
95
95
|
"mutable": false,
|
|
96
96
|
"complexType": {
|
|
97
97
|
"original": "string",
|
|
@@ -104,11 +104,13 @@ export class PaymentsListFilters {
|
|
|
104
104
|
"tags": [],
|
|
105
105
|
"text": ""
|
|
106
106
|
},
|
|
107
|
-
"
|
|
107
|
+
"getter": false,
|
|
108
|
+
"setter": false,
|
|
108
109
|
"reflect": false
|
|
109
110
|
},
|
|
110
111
|
"createdAfter": {
|
|
111
112
|
"type": "string",
|
|
113
|
+
"attribute": "created-after",
|
|
112
114
|
"mutable": false,
|
|
113
115
|
"complexType": {
|
|
114
116
|
"original": "string",
|
|
@@ -121,11 +123,13 @@ export class PaymentsListFilters {
|
|
|
121
123
|
"tags": [],
|
|
122
124
|
"text": ""
|
|
123
125
|
},
|
|
124
|
-
"
|
|
126
|
+
"getter": false,
|
|
127
|
+
"setter": false,
|
|
125
128
|
"reflect": false
|
|
126
129
|
},
|
|
127
130
|
"createdBefore": {
|
|
128
131
|
"type": "string",
|
|
132
|
+
"attribute": "created-before",
|
|
129
133
|
"mutable": false,
|
|
130
134
|
"complexType": {
|
|
131
135
|
"original": "string",
|
|
@@ -138,7 +142,8 @@ export class PaymentsListFilters {
|
|
|
138
142
|
"tags": [],
|
|
139
143
|
"text": ""
|
|
140
144
|
},
|
|
141
|
-
"
|
|
145
|
+
"getter": false,
|
|
146
|
+
"setter": false,
|
|
142
147
|
"reflect": false
|
|
143
148
|
}
|
|
144
149
|
};
|