@justifi/webcomponents 5.4.0 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{Checkout-eef27045.js → Checkout-f10bed8c.js} +1 -1
- package/dist/cjs/{Payment-c47ed1e1.js → Payment-3f483b7a.js} +1 -1
- package/dist/cjs/{SubAccount-9babbfd3.js → SubAccount-a27d4e9f.js} +4 -2
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/{badge-591df67f.js → badge-364e6311.js} +1 -1
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -11
- package/dist/cjs/bank-account-form_9.cjs.entry.js +16 -16
- package/dist/cjs/billing-form_3.cjs.entry.js +11 -11
- package/dist/cjs/{business-additional-questions-schema-5c100f58.js → business-additional-questions-schema-8568cb79.js} +2 -2
- package/dist/cjs/business-details-core.cjs.entry.js +3 -3
- package/dist/cjs/{business-identity-schema-3b4d16f1.js → business-identity-schema-518ab6eb.js} +2 -2
- package/dist/cjs/{business.service-27f67b29.js → business.service-6e8a29a2.js} +2 -2
- package/dist/cjs/{button-7f272a63.js → button-4a9fd41e.js} +1 -1
- package/dist/cjs/{check-pkg-version-52c7c2ab.js → check-pkg-version-75cc34ca.js} +1 -1
- package/dist/cjs/{checkout.service-46a5b9f2.js → checkout.service-61616349.js} +3 -3
- package/dist/cjs/checkouts-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{checkouts-table-7f2081df.js → checkouts-table-14fcebd0.js} +3 -3
- package/dist/cjs/{custom-popper.cjs.entry.js → custom-popper_4.cjs.entry.js} +141 -2
- package/dist/cjs/{dispute.service-a36c48bf.js → dispute.service-b68fdcc4.js} +3 -3
- package/dist/cjs/{event-types-921f3555.js → event-types-5a6ce2b0.js} +2 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +5 -5
- package/dist/cjs/form-control-checkbox.cjs.entry.js +5 -5
- package/dist/cjs/form-control-date.cjs.entry.js +4 -4
- package/dist/cjs/{form-control-error-text-377bcf59.js → form-control-error-text-3cff9b7b.js} +1 -1
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +5 -5
- package/dist/cjs/{form-control-help-text-f7369e16.js → form-control-help-text-94ffed2c.js} +1 -1
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +85 -0
- package/dist/cjs/form-control-monetary.cjs.entry.js +27 -40
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +5 -5
- package/dist/cjs/form-control-number.cjs.entry.js +5 -5
- package/dist/cjs/form-control-radio.cjs.entry.js +3 -3
- package/dist/cjs/{get-business-0bd063d2.js → get-business-d8f5db51.js} +2 -2
- package/dist/cjs/{get-payout-csv-c1c7f03f.js → get-payout-csv-f0c04d96.js} +3 -3
- package/dist/cjs/{get-subaccounts-c1d559a0.js → get-subaccounts-330a9e85.js} +3 -3
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +5 -5
- package/dist/cjs/{header-1-a63a16d5.js → header-1-43b2b905.js} +1 -1
- package/dist/cjs/{header-3-a6e0f274.js → header-3-eb250a04.js} +1 -1
- package/dist/cjs/{index.esm-a397536a.js → index.esm-544c08fd.js} +0 -122
- package/dist/cjs/{insurance-state-ff4fca5a.js → insurance-state-71f8b653.js} +1 -1
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -12
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +17 -17
- package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +10 -10
- package/dist/cjs/justifi-business-details.cjs.entry.js +6 -6
- package/dist/cjs/justifi-business-form.cjs.entry.js +14 -14
- package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkout.cjs.entry.js +9 -9
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +12 -12
- 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 +8 -8
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +13 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +20 -22
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payments-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-payout-details.cjs.entry.js +9 -9
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +13 -13
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +122 -0
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -4
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +7 -7
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +9 -6
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +9 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-53904238.js → package-459e93fd.js} +2 -2
- package/dist/cjs/pagination-menu.cjs.entry.js +1 -1
- package/dist/cjs/{parts-3118ab4b.js → parts-5ca90f9a.js} +2 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +13 -13
- package/dist/cjs/{payment.service-fedf131a.js → payment.service-ff43bfc4.js} +3 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payments-status-96156930.js → payments-status-075aad0a.js} +1 -1
- package/dist/cjs/{payments-table-6f87d43e.js → payments-table-802d767d.js} +3 -3
- package/dist/cjs/payout-details-core.cjs.entry.js +8 -8
- package/dist/cjs/payouts-list-core.cjs.entry.js +11 -11
- package/dist/cjs/{payouts-status-aa6842ac.js → payouts-status-ced97c2b.js} +1 -1
- package/dist/cjs/{payouts-table-d4c8bbbc.js → payouts-table-194a4343.js} +3 -3
- package/dist/cjs/{schema-validations-47a256f4.js → schema-validations-a7cefbdf.js} +1 -1
- package/dist/cjs/{skeleton-32198b92.js → skeleton-e8aa41d0.js} +1 -1
- package/dist/cjs/{spinner-a5c0f3c0.js → spinner-580453f2.js} +1 -1
- package/dist/cjs/table-filters-menu.cjs.entry.js +3 -3
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{terminal-orders-table-eb95b278.js → terminal-orders-table-4df19497.js} +3 -3
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +2 -2
- package/dist/cjs/{terminal.service-ac44fc14.js → terminal.service-56397d88.js} +3 -3
- package/dist/cjs/terminals-list-core.cjs.entry.js +10 -10
- package/dist/cjs/{terminals-table-3f0c33ea.js → terminals-table-9b313566.js} +14 -2
- package/dist/cjs/{utils-337befa9.js → utils-54719fda.js} +8 -2
- package/dist/cjs/{utils-97041614.js → utils-f8714daa.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/actions/business/get-business.js +2 -2
- package/dist/collection/actions/terminal/get-terminal-models.js +2 -2
- package/dist/collection/actions/terminal/order-terminals.js +2 -2
- package/dist/collection/api/Terminal.js +3 -1
- package/dist/collection/api/services/business.service.js +2 -2
- package/dist/collection/collection-manifest.json +6 -5
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -1
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +255 -0
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.js +6 -6
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-schema.js +6 -2
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.js +7 -7
- package/dist/collection/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.js +5 -5
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout-core.js +5 -5
- package/dist/collection/components/checkout/checkout.js +6 -6
- package/dist/collection/components/checkout/new-payment-method.js +5 -5
- package/dist/collection/components/checkout/payment-method-options.js +5 -5
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/sezzle-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-management.js +1 -1
- package/dist/collection/components/dispute-management/dispute-notification.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +1 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +1 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +1 -1
- package/dist/collection/components/order-terminals/order-terminals.js +23 -7
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/payment-details-core.js +7 -7
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/refund-payment/refund-payment-schema.js +16 -0
- package/dist/collection/components/{refund-form/refund-form.js → refund-payment/refund-payment.js} +26 -65
- package/dist/collection/components/refund-payment/refund-reason-options.js +19 -0
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +23 -3
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-status.js +5 -0
- package/dist/collection/components/terminals-list/terminals-table.js +7 -0
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -3
- package/dist/collection/styles/parts.js +1 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/filters/table-filters-menu.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +72 -70
- 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/{components → ui-components}/pagination-menu/pagination-menu.js +4 -4
- package/dist/collection/utils/utils.js +8 -2
- package/dist/docs.json +396 -140
- package/dist/esm/{Checkout-2bc873fb.js → Checkout-ba139944.js} +1 -1
- package/dist/esm/{Payment-82d2f453.js → Payment-39bfdd06.js} +1 -1
- package/dist/esm/{SubAccount-0248b5ab.js → SubAccount-68403637.js} +4 -2
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/{badge-1555ad1d.js → badge-1be14e8c.js} +1 -1
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -11
- package/dist/esm/bank-account-form_9.entry.js +16 -16
- package/dist/esm/billing-form_3.entry.js +11 -11
- package/dist/esm/{business-additional-questions-schema-df76728f.js → business-additional-questions-schema-56308a54.js} +2 -2
- package/dist/esm/business-details-core.entry.js +3 -3
- package/dist/esm/{business-identity-schema-0a78fc59.js → business-identity-schema-24fcc4ef.js} +2 -2
- package/dist/esm/{business.service-13890e74.js → business.service-999196a4.js} +2 -2
- package/dist/esm/{button-1e756c34.js → button-fcee4da7.js} +1 -1
- package/dist/esm/{check-pkg-version-0557a5c4.js → check-pkg-version-b4d631be.js} +1 -1
- package/dist/esm/{checkout.service-fe338804.js → checkout.service-e59354cc.js} +3 -3
- package/dist/esm/checkouts-list-core.entry.js +10 -10
- package/dist/esm/{checkouts-table-e339bf0c.js → checkouts-table-58604210.js} +3 -3
- package/dist/esm/{custom-popper.entry.js → custom-popper_4.entry.js} +140 -4
- package/dist/esm/{dispute.service-3e1320fe.js → dispute.service-8312d46a.js} +3 -3
- package/dist/esm/{event-types-359ef89e.js → event-types-1bc52f1f.js} +2 -2
- package/dist/esm/form-alert_5.entry.js +5 -5
- package/dist/esm/form-control-checkbox.entry.js +5 -5
- package/dist/esm/form-control-date.entry.js +4 -4
- package/dist/esm/{form-control-error-text-1391123f.js → form-control-error-text-176d20d8.js} +1 -1
- package/dist/esm/form-control-file-v2_2.entry.js +5 -5
- package/dist/esm/{form-control-help-text-9918264e.js → form-control-help-text-83764e14.js} +1 -1
- package/dist/esm/form-control-monetary-provisioning.entry.js +81 -0
- package/dist/esm/form-control-monetary.entry.js +27 -40
- package/dist/esm/form-control-number-masked_2.entry.js +5 -5
- package/dist/esm/form-control-number.entry.js +5 -5
- package/dist/esm/form-control-radio.entry.js +3 -3
- package/dist/esm/{get-business-464419f6.js → get-business-b7511690.js} +2 -2
- package/dist/esm/{get-payout-csv-9021a002.js → get-payout-csv-74397995.js} +3 -3
- package/dist/esm/{get-subaccounts-6b048fd1.js → get-subaccounts-f8bd5c96.js} +3 -3
- package/dist/esm/gross-payment-chart-core.entry.js +5 -5
- package/dist/esm/{header-1-adb520cc.js → header-1-215a146f.js} +1 -1
- package/dist/esm/{header-3-ca58500e.js → header-3-afd16f23.js} +1 -1
- package/dist/esm/{index.esm-0b6849c2.js → index.esm-feedf26f.js} +1 -122
- package/dist/esm/{insurance-state-24af6ddb.js → insurance-state-d2df8e88.js} +1 -1
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -12
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +17 -17
- package/dist/esm/justifi-additional-statement_8.entry.js +10 -10
- package/dist/esm/justifi-business-details.entry.js +6 -6
- package/dist/esm/justifi-business-form.entry.js +14 -14
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +2 -2
- package/dist/esm/justifi-checkout-core.entry.js +8 -8
- package/dist/esm/justifi-checkout.entry.js +9 -9
- package/dist/esm/justifi-checkouts-list-filters.entry.js +6 -6
- package/dist/esm/justifi-checkouts-list.entry.js +12 -12
- 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 +8 -8
- package/dist/esm/justifi-dispute-notification_3.entry.js +13 -13
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-order-terminals.entry.js +20 -22
- package/dist/esm/justifi-owner-form_3.entry.js +9 -9
- package/dist/esm/justifi-payment-details.entry.js +9 -9
- package/dist/esm/justifi-payment-provisioning-core.entry.js +3 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +4 -4
- package/dist/esm/justifi-payments-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payments-list.entry.js +12 -12
- package/dist/esm/justifi-payout-details.entry.js +9 -9
- package/dist/esm/justifi-payouts-list-filters.entry.js +4 -4
- package/dist/esm/justifi-payouts-list.entry.js +13 -13
- package/dist/esm/justifi-refund-payment.entry.js +118 -0
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -4
- package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -7
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +7 -7
- package/dist/esm/justifi-terminal-orders-list.entry.js +10 -10
- package/dist/esm/justifi-terminals-list-filters.entry.js +9 -6
- package/dist/esm/justifi-terminals-list.entry.js +12 -12
- package/dist/esm/justifi-tokenize-payment-method.entry.js +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-25d5d805.js → package-53180f2a.js} +2 -2
- package/dist/esm/pagination-menu.entry.js +1 -1
- package/dist/esm/{parts-ad835bef.js → parts-fd740f54.js} +2 -1
- package/dist/esm/payment-details-core.entry.js +13 -13
- package/dist/esm/{payment.service-2967c84b.js → payment.service-b9ec64c9.js} +3 -3
- package/dist/esm/payments-list-core.entry.js +11 -11
- package/dist/esm/{payments-status-d011e114.js → payments-status-74d22728.js} +1 -1
- package/dist/esm/{payments-table-3e33b856.js → payments-table-26054032.js} +3 -3
- package/dist/esm/payout-details-core.entry.js +8 -8
- package/dist/esm/payouts-list-core.entry.js +11 -11
- package/dist/esm/{payouts-status-181276c5.js → payouts-status-29d31099.js} +1 -1
- package/dist/esm/{payouts-table-199bdf64.js → payouts-table-7f31db9d.js} +3 -3
- package/dist/esm/{schema-validations-b1aec6a0.js → schema-validations-5af4266a.js} +1 -1
- package/dist/esm/{skeleton-0cde7cb6.js → skeleton-ab3f676e.js} +1 -1
- package/dist/esm/{spinner-342e71ff.js → spinner-27479716.js} +1 -1
- package/dist/esm/table-filters-menu.entry.js +3 -3
- package/dist/esm/terminal-orders-list-core.entry.js +10 -10
- package/dist/esm/{terminal-orders-table-2884305a.js → terminal-orders-table-1f6156c9.js} +3 -3
- package/dist/esm/terminal-quantity-selector.entry.js +2 -2
- package/dist/esm/{terminal.service-4fab5adc.js → terminal.service-fff19896.js} +3 -3
- package/dist/esm/terminals-list-core.entry.js +10 -10
- package/dist/esm/{terminals-table-4e1644e8.js → terminals-table-7d54e359.js} +14 -2
- package/dist/esm/{utils-96c6292c.js → utils-96d9c205.js} +1 -1
- package/dist/esm/{utils-c37124fc.js → utils-dc86cdde.js} +8 -3
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/SubAccount.js +3 -1
- package/dist/module/additional-questions.js +4 -4
- package/dist/module/additional-statement.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form2.js +2 -2
- package/dist/module/billing-form-wrapper.js +1 -1
- package/dist/module/billing-form2.js +3 -3
- package/dist/module/business-additional-questions-form-step-core.js +4 -4
- package/dist/module/business-additional-questions-form-step.js +4 -4
- package/dist/module/business-bank-account-form-step.js +1 -1
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-representative.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/business.service.js +2 -2
- package/dist/module/cancellation-policy.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout-core.js +1 -1
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details.js +1 -1
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-core.js +1 -1
- package/dist/module/dispute-response.js +1 -1
- package/dist/module/duplicate-charge.js +1 -1
- package/dist/module/electronic-evidence.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary-provisioning.d.ts +11 -0
- package/dist/module/form-control-monetary-provisioning.js +6 -0
- package/dist/module/form-control-monetary-provisioning2.js +109 -0
- package/dist/module/form-control-monetary2.js +30 -42
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/form.js +1 -122
- package/dist/module/get-business.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-business-form.js +3 -3
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-order-terminals.js +10 -11
- package/dist/module/justifi-payment-provisioning.js +4 -4
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +1 -1
- package/dist/module/justifi-refund-payment.d.ts +11 -0
- package/dist/module/justifi-refund-payment.js +180 -0
- package/dist/module/justifi-season-interruption-insurance.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +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/legal-address-form-step.js +1 -1
- package/dist/module/legal-address-form.js +1 -1
- package/dist/module/new-payment-method.js +1 -1
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/owner-form-inputs2.js +1 -1
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +2 -2
- package/dist/module/parts.js +2 -1
- package/dist/module/payment-details-core2.js +7 -7
- package/dist/module/payment-method-options.js +1 -1
- package/dist/module/payment-provisioning-core.js +4 -4
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +4 -4
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/postal-form2.js +1 -1
- package/dist/module/product-or-service.js +1 -1
- package/dist/module/refund-policy.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/module/saved-payment-method.js +1 -1
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/shipping-details.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +13 -1
- package/dist/module/utils2.js +8 -3
- package/dist/types/actions/business/get-business.d.ts +2 -1
- package/dist/types/actions/terminal/get-terminal-models.d.ts +2 -1
- package/dist/types/actions/terminal/order-terminals.d.ts +2 -1
- package/dist/types/api/Terminal.d.ts +8 -3
- package/dist/types/api/services/business.service.d.ts +1 -1
- package/dist/types/components/business-forms/payment-provisioning/form-control-monetary-provisioning.d.ts +24 -0
- package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form/billing-form.d.ts +1 -1
- package/dist/types/components/{billing-forms → checkout/billing-forms}/postal-form/postal-form.d.ts +1 -1
- package/dist/types/components/checkout/checkout-core.d.ts +1 -1
- package/dist/types/components/checkout/checkout.d.ts +1 -1
- package/dist/types/components/checkout/new-payment-method.d.ts +1 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -1
- package/dist/types/components/order-terminals/order-terminals.d.ts +1 -1
- package/dist/types/components/refund-payment/refund-payment-schema.d.ts +11 -0
- package/dist/types/components/{refund-form/refund-form.d.ts → refund-payment/refund-payment.d.ts} +6 -13
- package/dist/types/components/refund-payment/refund-reason-options.d.ts +5 -0
- package/dist/types/components/terminals-list/terminals-list-filters.d.ts +1 -0
- package/dist/types/components/terminals-list/terminals-status.d.ts +2 -1
- package/dist/types/components/terminals-list/terminals-table.d.ts +6 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +1 -1
- package/dist/types/components.d.ts +88 -51
- package/dist/types/styles/parts.d.ts +1 -0
- package/dist/types/ui-components/form/form-control-monetary.d.ts +9 -10
- package/dist/types/utils/utils.d.ts +2 -1
- package/dist/webcomponents/p-00ae938e.entry.js +1 -0
- package/dist/webcomponents/p-01033194.js +1 -0
- package/dist/webcomponents/p-0151a19f.entry.js +1 -0
- package/dist/webcomponents/{p-324587d0.js → p-03c2261c.js} +1 -1
- package/dist/webcomponents/{p-2ca5b5e4.js → p-08b64251.js} +1 -1
- package/dist/webcomponents/{p-da2a9dfa.entry.js → p-0b61d4d3.entry.js} +1 -1
- package/dist/webcomponents/{p-365e56fc.js → p-12074378.js} +1 -1
- package/dist/webcomponents/p-142bfae3.js +1 -0
- package/dist/webcomponents/p-1aa973c4.entry.js +1 -0
- package/dist/webcomponents/p-2123c150.js +1 -0
- package/dist/webcomponents/p-23cd76af.entry.js +1 -0
- package/dist/webcomponents/{p-b19a37d4.js → p-26a2e837.js} +1 -1
- package/dist/webcomponents/p-27546fa9.entry.js +1 -0
- package/dist/webcomponents/p-275c3dc9.js +1 -0
- package/dist/webcomponents/p-2b8aaa7d.entry.js +1 -0
- package/dist/webcomponents/p-2c65389c.entry.js +1 -0
- package/dist/webcomponents/p-31dcaeaf.entry.js +1 -0
- package/dist/webcomponents/p-373a19fe.entry.js +1 -0
- package/dist/webcomponents/{p-9c57de4e.entry.js → p-375657fe.entry.js} +1 -1
- package/dist/webcomponents/{p-56143442.entry.js → p-385d3637.entry.js} +1 -1
- package/dist/webcomponents/{p-e5c60276.entry.js → p-38900c29.entry.js} +1 -1
- package/dist/webcomponents/{p-daf0303f.js → p-422948eb.js} +1 -1
- package/dist/webcomponents/p-43e225d2.entry.js +1 -0
- package/dist/webcomponents/{p-1fb5677e.entry.js → p-4484aa3b.entry.js} +1 -1
- package/dist/webcomponents/p-45f48dce.entry.js +1 -0
- package/dist/webcomponents/{p-9894484a.js → p-4e010557.js} +1 -1
- package/dist/webcomponents/p-4ef98c7a.js +1 -0
- package/dist/webcomponents/p-4fc263b2.js +1 -0
- package/dist/webcomponents/{p-4acf8ca2.js → p-537bce77.js} +1 -1
- package/dist/webcomponents/p-56c7fc8d.js +1 -0
- package/dist/webcomponents/{p-13d62477.entry.js → p-58476602.entry.js} +1 -1
- package/dist/webcomponents/{p-c380213d.js → p-58ee6ce9.js} +1 -1
- package/dist/webcomponents/p-59eef054.entry.js +1 -0
- package/dist/webcomponents/{p-e52e9120.entry.js → p-5a9d7ca0.entry.js} +1 -1
- package/dist/webcomponents/{p-78255a04.entry.js → p-5ae9faf6.entry.js} +1 -1
- package/dist/webcomponents/p-5b459422.entry.js +1 -0
- package/dist/webcomponents/p-5b76dbe1.entry.js +1 -0
- package/dist/webcomponents/{p-d5960545.js → p-5efe6236.js} +1 -1
- package/dist/webcomponents/{p-d7bcf8f0.js → p-64443fc0.js} +1 -1
- package/dist/webcomponents/{p-7d93c28b.js → p-673c1bca.js} +1 -1
- package/dist/webcomponents/{p-df9ff0ce.entry.js → p-6c79e7c3.entry.js} +1 -1
- package/dist/webcomponents/{p-0d01d245.entry.js → p-6d3611b6.entry.js} +1 -1
- package/dist/webcomponents/{p-d8ba9309.entry.js → p-745a577c.entry.js} +1 -1
- package/dist/webcomponents/p-76549a24.js +1 -0
- package/dist/webcomponents/{p-485df2fe.entry.js → p-7a6feb58.entry.js} +1 -1
- package/dist/webcomponents/p-80867635.entry.js +1 -0
- package/dist/webcomponents/p-86605101.js +1 -0
- package/dist/webcomponents/{p-d273f33b.js → p-927cb6df.js} +1 -1
- package/dist/webcomponents/{p-dd3de924.entry.js → p-92e96b57.entry.js} +1 -1
- package/dist/webcomponents/{p-be6fea42.entry.js → p-942d5e8f.entry.js} +1 -1
- package/dist/webcomponents/p-a1be025c.entry.js +1 -0
- package/dist/webcomponents/p-a3cced75.entry.js +1 -0
- package/dist/webcomponents/{p-88af0d7d.js → p-a5579f53.js} +1 -1
- package/dist/webcomponents/{p-17c4edf7.js → p-a5b52c1d.js} +1 -1
- package/dist/webcomponents/{p-45e68bb3.entry.js → p-a5f5cc2e.entry.js} +1 -1
- package/dist/webcomponents/{p-17eea747.js → p-a99525c5.js} +1 -1
- package/dist/webcomponents/p-ac40e667.js +1 -0
- package/dist/webcomponents/p-adecb91a.entry.js +1 -0
- package/dist/webcomponents/p-ae891abb.entry.js +1 -0
- package/dist/webcomponents/p-ae9ef225.js +1 -0
- package/dist/webcomponents/p-b323bbde.entry.js +1 -0
- package/dist/webcomponents/p-ba6fd830.entry.js +1 -0
- package/dist/webcomponents/{p-fdd244b1.entry.js → p-bae35151.entry.js} +1 -1
- package/dist/webcomponents/p-bb4b3f79.entry.js +1 -0
- package/dist/webcomponents/{p-073f24ba.entry.js → p-bdbbee07.entry.js} +1 -1
- package/dist/webcomponents/p-bdcf3a3c.entry.js +1 -0
- package/dist/webcomponents/{p-95e55bb1.js → p-bf12999f.js} +1 -1
- package/dist/webcomponents/{p-2dd39017.js → p-bf195b35.js} +1 -1
- package/dist/webcomponents/{p-944f1cc7.js → p-bfc2d88a.js} +1 -1
- package/dist/webcomponents/p-c4f8ed38.js +1 -0
- package/dist/webcomponents/{p-34a95381.js → p-c8b78136.js} +1 -1
- package/dist/webcomponents/p-c8fa00fd.entry.js +1 -0
- package/dist/webcomponents/p-c93d643b.js +1 -0
- package/dist/webcomponents/p-cc2f75a3.entry.js +1 -0
- package/dist/webcomponents/p-ccb9ee53.js +1 -0
- package/dist/webcomponents/{p-251c8e97.js → p-cd5883b9.js} +1 -1
- package/dist/webcomponents/p-cedad1b6.entry.js +1 -0
- package/dist/webcomponents/{p-a7594f8f.entry.js → p-d70610de.entry.js} +1 -1
- package/dist/webcomponents/p-d757fcf5.js +1 -0
- package/dist/webcomponents/p-d7bf921d.entry.js +1 -0
- package/dist/webcomponents/{p-55e21977.entry.js → p-d903d838.entry.js} +1 -1
- package/dist/webcomponents/{p-36e32bc4.entry.js → p-d9b5140e.entry.js} +1 -1
- package/dist/webcomponents/p-d9dc15d4.entry.js +1 -0
- package/dist/webcomponents/p-db973fa9.entry.js +1 -0
- package/dist/webcomponents/p-dbc1a95b.js +1 -0
- package/dist/webcomponents/{p-ba113075.js → p-dbf21732.js} +1 -1
- package/dist/webcomponents/{p-f57d5d4f.entry.js → p-ddb642a4.entry.js} +2 -2
- package/dist/webcomponents/p-df20bbb3.entry.js +1 -0
- package/dist/webcomponents/p-e9867f8b.entry.js +1 -0
- package/dist/webcomponents/{p-1b3a6c40.entry.js → p-ed9d22d5.entry.js} +1 -1
- package/dist/webcomponents/{p-d78ea308.entry.js → p-ee539373.entry.js} +1 -1
- package/dist/webcomponents/{p-ed3ad073.entry.js → p-f20466f7.entry.js} +1 -1
- package/dist/webcomponents/p-f247b169.entry.js +1 -0
- package/dist/webcomponents/p-f930504f.entry.js +1 -0
- package/dist/webcomponents/p-fc43d1c8.entry.js +1 -0
- package/dist/webcomponents/{p-e8fc36c1.entry.js → p-fca89e9b.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +2 -2
- package/dist/cjs/form-control-select_3.cjs.entry.js +0 -145
- package/dist/cjs/justifi-refund-form.cjs.entry.js +0 -106
- package/dist/collection/components/refund-form/refund-form-schema.js +0 -13
- package/dist/collection/components/refund-form/refund-form.stories.js +0 -109
- package/dist/esm/form-control-select_3.entry.js +0 -139
- package/dist/esm/justifi-refund-form.entry.js +0 -102
- package/dist/module/justifi-refund-form.d.ts +0 -11
- package/dist/module/justifi-refund-form.js +0 -153
- package/dist/types/components/refund-form/refund-form-schema.d.ts +0 -11
- package/dist/types/components/refund-form/refund-form.stories.d.ts +0 -27
- package/dist/webcomponents/p-00d55a4b.entry.js +0 -1
- package/dist/webcomponents/p-04d59ef8.js +0 -1
- package/dist/webcomponents/p-07c13189.entry.js +0 -1
- package/dist/webcomponents/p-0bafaf49.entry.js +0 -1
- package/dist/webcomponents/p-24203209.entry.js +0 -1
- package/dist/webcomponents/p-258087a8.entry.js +0 -1
- package/dist/webcomponents/p-2759d157.entry.js +0 -1
- package/dist/webcomponents/p-2cd9b608.entry.js +0 -1
- package/dist/webcomponents/p-3030f5e6.entry.js +0 -1
- package/dist/webcomponents/p-308ec9c7.entry.js +0 -1
- package/dist/webcomponents/p-454acd29.entry.js +0 -1
- package/dist/webcomponents/p-50b012a3.entry.js +0 -1
- package/dist/webcomponents/p-52e2cc5e.js +0 -1
- package/dist/webcomponents/p-5844a0f0.js +0 -1
- package/dist/webcomponents/p-5cf1898d.entry.js +0 -1
- package/dist/webcomponents/p-5d600828.js +0 -1
- package/dist/webcomponents/p-61a45f7d.entry.js +0 -1
- package/dist/webcomponents/p-646d007a.js +0 -1
- package/dist/webcomponents/p-651c881b.js +0 -1
- package/dist/webcomponents/p-6a4b710e.entry.js +0 -1
- package/dist/webcomponents/p-74f6cc28.entry.js +0 -1
- package/dist/webcomponents/p-8946edfd.js +0 -1
- package/dist/webcomponents/p-8ffd9f7c.js +0 -1
- package/dist/webcomponents/p-92b18902.entry.js +0 -1
- package/dist/webcomponents/p-92f29922.entry.js +0 -1
- package/dist/webcomponents/p-97f3a1b0.entry.js +0 -1
- package/dist/webcomponents/p-9fcab358.entry.js +0 -1
- package/dist/webcomponents/p-a0f715d4.js +0 -1
- package/dist/webcomponents/p-a35f3b5b.js +0 -1
- package/dist/webcomponents/p-a81cabed.js +0 -1
- package/dist/webcomponents/p-b7960f37.entry.js +0 -1
- package/dist/webcomponents/p-b7ddb76f.entry.js +0 -1
- package/dist/webcomponents/p-b97f433a.entry.js +0 -1
- package/dist/webcomponents/p-c3939138.entry.js +0 -1
- package/dist/webcomponents/p-c7c9725d.entry.js +0 -1
- package/dist/webcomponents/p-cba7d0a7.entry.js +0 -1
- package/dist/webcomponents/p-d43a38a4.js +0 -1
- package/dist/webcomponents/p-d4724349.js +0 -1
- package/dist/webcomponents/p-d575c2c1.entry.js +0 -1
- package/dist/webcomponents/p-dac9282d.entry.js +0 -1
- package/dist/webcomponents/p-e1dd47e1.entry.js +0 -1
- package/dist/webcomponents/p-e545c079.entry.js +0 -1
- package/dist/webcomponents/p-e5de1a00.entry.js +0 -1
- package/dist/webcomponents/p-f1573cad.entry.js +0 -1
- package/dist/webcomponents/p-f1d6e14f.js +0 -1
- package/dist/webcomponents/p-f30cb232.js +0 -1
- package/dist/webcomponents/p-f87e871d.js +0 -1
- package/dist/webcomponents/p-f8a95380.entry.js +0 -1
- package/dist/webcomponents/p-fa5688f7.entry.js +0 -1
- package/dist/webcomponents/p-fbdc18e4.entry.js +0 -1
- /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-schema.d.ts +0 -0
- /package/dist/types/components/{billing-forms → checkout/billing-forms}/billing-form-wrapper.d.ts +0 -0
- /package/dist/types/{components → ui-components}/pagination-menu/pagination-menu.d.ts +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const name = "@justifi/webcomponents";
|
|
4
|
-
const version = "5.4.
|
|
4
|
+
const version = "5.4.1";
|
|
5
5
|
const description = "JustiFi Web Components";
|
|
6
6
|
const collection = "dist/collection/collection-manifest.json";
|
|
7
7
|
const main = "dist/index.cjs.js";
|
|
@@ -37,7 +37,7 @@ const dependencies = {
|
|
|
37
37
|
"date-fns": "^2.30.0",
|
|
38
38
|
"dinero.js": "^1.9.1",
|
|
39
39
|
"iframe-resizer": "^4.3.7",
|
|
40
|
-
imask: "^7.6.
|
|
40
|
+
imask: "^7.6.1",
|
|
41
41
|
lodash: "^4.17.21",
|
|
42
42
|
rxjs: "^7.8.1",
|
|
43
43
|
"ts-dedent": "^2.2.0",
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
const Pagination = require('./Pagination-0da8f095.js');
|
|
7
|
-
const parts = require('./parts-
|
|
7
|
+
const parts = require('./parts-5ca90f9a.js');
|
|
8
8
|
|
|
9
9
|
const PaginationMenu = class {
|
|
10
10
|
constructor(hostRef) {
|
|
@@ -105,6 +105,7 @@ const paymentModeCheckoutsListFilterParam = `${checkoutsListFilterParam} payment
|
|
|
105
105
|
const terminalsListFilterMenu = `${filterMenu} terminals-list-filter-menu`;
|
|
106
106
|
const terminalsListFilterParam = `terminals-list-filter-param`;
|
|
107
107
|
const terminalIdTerminalsListFilterParam = `${terminalsListFilterParam} terminal-id-terminals-list-filter-param`;
|
|
108
|
+
const terminalOrderIdTerminalsListFilterParam = `${terminalsListFilterParam} terminal-order-id-terminals-list-filter-param`;
|
|
108
109
|
const terminalStatusTerminalsListFilterParam = `${terminalsListFilterParam} terminal-status-terminals-list-filter-param`;
|
|
109
110
|
// Terminal Orders List Filters
|
|
110
111
|
const terminalOrdersListFilterMenu = `${filterMenu} terminal-orders-list-filter-menu`;
|
|
@@ -182,6 +183,7 @@ exports.tableError = tableError;
|
|
|
182
183
|
exports.tableHeadCell = tableHeadCell;
|
|
183
184
|
exports.terminalIdPaymentsListFilterParam = terminalIdPaymentsListFilterParam;
|
|
184
185
|
exports.terminalIdTerminalsListFilterParam = terminalIdTerminalsListFilterParam;
|
|
186
|
+
exports.terminalOrderIdTerminalsListFilterParam = terminalOrderIdTerminalsListFilterParam;
|
|
185
187
|
exports.terminalOrdersListFilterMenu = terminalOrdersListFilterMenu;
|
|
186
188
|
exports.terminalStatusTerminalsListFilterParam = terminalStatusTerminalsListFilterParam;
|
|
187
189
|
exports.terminalsListFilterMenu = terminalsListFilterMenu;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
const utils$1 = require('./utils-
|
|
7
|
-
const paymentsStatus = require('./payments-status-
|
|
8
|
-
const utils = require('./utils-
|
|
6
|
+
const utils$1 = require('./utils-54719fda.js');
|
|
7
|
+
const paymentsStatus = require('./payments-status-075aad0a.js');
|
|
8
|
+
const utils = require('./utils-f8714daa.js');
|
|
9
9
|
const styledHost = require('./styled-host-94309bab.js');
|
|
10
|
-
const skeleton = require('./skeleton-
|
|
11
|
-
require('./badge-
|
|
12
|
-
require('./parts-
|
|
10
|
+
const skeleton = require('./skeleton-e8aa41d0.js');
|
|
11
|
+
require('./badge-364e6311.js');
|
|
12
|
+
require('./parts-5ca90f9a.js');
|
|
13
13
|
|
|
14
14
|
const PaymentDetailsLoading = () => (index.h("div", { class: "row gap-3" },
|
|
15
15
|
index.h("div", { class: "col-12" },
|
|
@@ -62,14 +62,14 @@ const PaymentDetailsCore = class {
|
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
66
|
-
this.payment && (index.h("justifi-details", { key: '
|
|
67
|
-
index.h(utils.DetailSectionTitle, { key: '
|
|
68
|
-
index.h("div", { key: '
|
|
65
|
+
return (index.h(styledHost.StyledHost, { key: '0c171f991fc4dcf840fe076bc116424cc3a87065' }, this.loading && index.h(PaymentDetailsLoading, { key: 'a5de7e062c82839d908a47c631130a878a3f2d11' }), !this.loading && this.errorMessage && utils.ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
66
|
+
this.payment && (index.h("justifi-details", { key: 'd215769880123434e0b6bcad24fc3cacc1a1c1c1', "error-message": this.errorMessage }, index.h(utils.EntityHeadInfo, { key: '015128fa7779e3ffe2c8b533004e419451f688bd', slot: "head-info", badge: paymentsStatus.MapPaymentStatusToBadge(this.payment.status), title: this.payment.formattedPaymentAmount(this.payment.amount) }, index.h(utils.EntityHeadInfoItem, { key: '2ba936ae059994f61b3a1ec9c7698e0ddda4f76f', classes: "border-1 border-end", title: "Updated At", value: `${utils$1.formatDate(this.payment.updated_at)} ${utils$1.formatTime(this.payment.updated_at)}` }), index.h(utils.EntityHeadInfoItem, { key: '45adc7bad5275e26a4d3ad977fd26eb70992d60a', classes: "border-1 border-end", title: "Created At", value: `${utils$1.formatDate(this.payment.created_at)} ${utils$1.formatTime(this.payment.created_at)}` }), index.h(utils.EntityHeadInfoItem, { key: '4ddb69de4cc522e38a0557b75260da508f8e7b53', title: "ID", value: this.payment.id })), index.h("div", { key: '47f2ce116914109f25c97419b2342f142e84870e', slot: 'detail-sections' }, index.h(utils.DetailSectionTitle, { key: 'a0e3ddeca8335c441b19b21666eaa8a2cb876ab9', sectionTitle: "Details" }), index.h("div", { key: 'd284226522d77f14243fe1c01e4397a0e07acf79', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: '43eea18419c944fbef79c3e22261430299e3c88c', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), index.h(utils.DetailItem, { key: 'fd1defcd7f3b1fb45fb2c196acf334025f691a49', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), index.h(utils.DetailItem, { key: '00b9c31a516c9efabf0e9146b7f85e948334cec6', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), index.h(utils.DetailItem, { key: 'a3dbaadb65345af971ae2cbd7b9e2270c71ae5b0', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), index.h(utils.DetailItem, { key: '93d874d02bed9ef2ff30be2f9da815c2364582ba', title: "Status", value: paymentsStatus.MapPaymentStatusToBadge(this.payment.status) }), index.h(utils.DetailItem, { key: '51a2742e4895e74c07205253b96d28cd42ef9e93', title: "Payment ID", value: this.payment.id }), index.h(utils.DetailItem, { key: '465262f8f448f1afd75b5e2f3f4f0d7d70aad7ca', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), index.h(utils.DetailItem, { key: '5b0db9a8f2d96741568e4622cc7495868491226b', title: "Statement Descriptor", value: this.payment.statement_descriptor }), index.h(utils.DetailItem, { key: '0643523eefc49aa046cbfc5802cce2070a25e299', title: "Description", value: this.payment.description })), this.payment.payment_method.card && [
|
|
67
|
+
index.h(utils.DetailSectionTitle, { key: 'c3d885b1be787a7800f1d36811647097264e7f26', sectionTitle: "Payment Method" }),
|
|
68
|
+
index.h("div", { key: 'da73b925ba2587e8dc1f860bd4d36dda55dd0d79', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: '80410dd5c2de2cdb1f8dfc30fb514df972e30721', title: "ID", value: this.payment.payment_method.card.id }), index.h(utils.DetailItem, { key: '57d05211be0fbddae3e69637d7936576c3fb745f', title: "Payment Type", value: "Card" }), index.h(utils.DetailItem, { key: '35cae308ec9a99e3202bafe287e9bd08c2e6632d', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), index.h(utils.DetailItem, { key: '9e3c757e1429a600ecf345c0a6cc1b275058c50e', title: "Brand", value: utils$1.snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), index.h(utils.DetailItem, { key: '3027147373d335045b62ca1a0c94b408e00de733', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
69
69
|
], this.payment.payment_method.bank_account && [
|
|
70
|
-
index.h(utils.DetailSectionTitle, { key: '
|
|
71
|
-
index.h("div", { key: '
|
|
72
|
-
], index.h(utils.DetailSectionTitle, { key: '
|
|
70
|
+
index.h(utils.DetailSectionTitle, { key: '0506c560ebc7a95fea06a78a50b8589bf9efeca5', sectionTitle: "Payment Method" }),
|
|
71
|
+
index.h("div", { key: '57e5656f56aacd0a85fe800a16c6937fef0a6ac1', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: '0ec754633c7e3f676d87c74507f84736e745d119', title: "ID", value: this.payment.payment_method.bank_account.id }), index.h(utils.DetailItem, { key: '4cd617f0ebb487021819cd44cc7bde54f9bbcf2f', title: "Last 4 Numbers", value: this.payment.last_four_digits }), index.h(utils.DetailItem, { key: 'bb0bf949bfbd774fa1167ff14f824de494e8930c', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), index.h(utils.DetailItem, { key: '807e0e394ea92e44dd549c96d44911f76e1cf4d8', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
72
|
+
], index.h(utils.DetailSectionTitle, { key: '44ac1f6ffd7a0c1dc0785c2cd035c21c6c064bf8', sectionTitle: 'Metadata' }), index.h("div", { key: '3198fa94234aa237447862fd5b2e6f180d0b716a', class: "d-table gap-2 w-100" }, index.h(utils.CodeBlock, { key: '68f75ac2b481f68de6999f2427cafb7debae55b7', metadata: this.payment.metadata })))))));
|
|
73
73
|
}
|
|
74
74
|
static get watchers() { return {
|
|
75
75
|
"getPaymentDetails": ["updateOnPropChange"]
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
const Api = require('./Api-83d93333.js');
|
|
4
4
|
require('./ComponentError-233ac749.js');
|
|
5
|
-
require('./Checkout-
|
|
5
|
+
require('./Checkout-f10bed8c.js');
|
|
6
6
|
require('./Pagination-0da8f095.js');
|
|
7
|
-
require('./Payment-
|
|
8
|
-
require('./SubAccount-
|
|
7
|
+
require('./Payment-3f483b7a.js');
|
|
8
|
+
require('./SubAccount-a27d4e9f.js');
|
|
9
9
|
require('./Document-0b828345.js');
|
|
10
10
|
|
|
11
11
|
class PaymentService {
|
|
@@ -4,20 +4,20 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
require('./ComponentError-233ac749.js');
|
|
7
|
-
require('./Checkout-
|
|
7
|
+
require('./Checkout-f10bed8c.js');
|
|
8
8
|
const Pagination = require('./Pagination-0da8f095.js');
|
|
9
|
-
require('./Payment-
|
|
10
|
-
require('./SubAccount-
|
|
9
|
+
require('./Payment-3f483b7a.js');
|
|
10
|
+
require('./SubAccount-a27d4e9f.js');
|
|
11
11
|
require('./Document-0b828345.js');
|
|
12
|
-
const parts = require('./parts-
|
|
13
|
-
const eventTypes = require('./event-types-
|
|
14
|
-
const paymentsTable = require('./payments-table-
|
|
12
|
+
const parts = require('./parts-5ca90f9a.js');
|
|
13
|
+
const eventTypes = require('./event-types-5a6ce2b0.js');
|
|
14
|
+
const paymentsTable = require('./payments-table-802d767d.js');
|
|
15
15
|
const paymentsListParamsState = require('./payments-list-params-state-442d9944.js');
|
|
16
|
-
require('./utils-
|
|
16
|
+
require('./utils-54719fda.js');
|
|
17
17
|
require('./Dispute-eb6bad54.js');
|
|
18
|
-
require('./spinner-
|
|
19
|
-
require('./payments-status-
|
|
20
|
-
require('./badge-
|
|
18
|
+
require('./spinner-580453f2.js');
|
|
19
|
+
require('./payments-status-075aad0a.js');
|
|
20
|
+
require('./badge-364e6311.js');
|
|
21
21
|
require('./index-d2d0b181.js');
|
|
22
22
|
|
|
23
23
|
const PaymentsListCore = class {
|
|
@@ -105,7 +105,7 @@ const PaymentsListCore = class {
|
|
|
105
105
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return (index.h("div", { key: '
|
|
108
|
+
return (index.h("div", { key: '7650bc8c64b4b727048b748bb899b534159c2ecd' }, index.h("div", { key: 'ebf919d213a280adea8852c33c53314db3d73279', class: "table-wrapper" }, index.h("table", { key: '618a5113b68901bef3df0aed342e8cc6e76f672d', class: "table table-hover", part: parts.table }, index.h("thead", { key: '4978a6a0572f228ce0b67aed63c0123f3c13251a', class: "table-head sticky-top" }, index.h("tr", { key: '875633307c439d239ed9ff6c9eae5f414729b4fc', class: "table-light text-nowrap" }, this.paymentsTable.columnData.map((column) => column))), index.h("tbody", { key: '030a7ab7d92337fa4ee74d206e4a48c79f6eae4d', class: "table-body" }, index.h(eventTypes.TableLoadingState, { key: '6b3a71f087ac93c2b6487043d1624518b01d7370', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), index.h(eventTypes.TableEmptyState, { key: '51a90cd22acfdf55b0c351e6b7f2b1b7e1f156d0', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), index.h(eventTypes.TableErrorState, { key: '47367183f197a6eafe761ac478a435bba5f9f6d6', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: '2ca665dbc33b954145cedba2d75e98a3d45ff85f', class: "sticky-bottom" }, index.h("tr", { key: 'a7ecd6b390fdb960c589e2c463d354afe7b29100', class: "table-light align-middle" }, index.h("td", { key: '74f32baddb41ff3ca04b2199b1a5d75189fb406e', part: parts.tableCell, colSpan: this.paymentsTable.columnData.length }, index.h("pagination-menu", { key: '123f359c4a1948ee0189e49b163520d5858936ec', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
109
109
|
}
|
|
110
110
|
static get watchers() { return {
|
|
111
111
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-5b9a3b5f.js');
|
|
4
|
-
const paymentsStatus = require('./payments-status-
|
|
5
|
-
const utils = require('./utils-
|
|
6
|
-
const parts = require('./parts-
|
|
4
|
+
const paymentsStatus = require('./payments-status-075aad0a.js');
|
|
5
|
+
const utils = require('./utils-54719fda.js');
|
|
6
|
+
const parts = require('./parts-5ca90f9a.js');
|
|
7
7
|
|
|
8
8
|
const defaultColumnsKeys = 'created_at,amount,status,payment_type,description,payers_name,last_four_digits';
|
|
9
9
|
const paymentTableColumns = {
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
const utils$1 = require('./utils-
|
|
7
|
-
const utils = require('./utils-
|
|
8
|
-
const button = require('./button-
|
|
6
|
+
const utils$1 = require('./utils-54719fda.js');
|
|
7
|
+
const utils = require('./utils-f8714daa.js');
|
|
8
|
+
const button = require('./button-4a9fd41e.js');
|
|
9
9
|
const styledHost = require('./styled-host-94309bab.js');
|
|
10
|
-
const payoutsStatus = require('./payouts-status-
|
|
11
|
-
const skeleton = require('./skeleton-
|
|
12
|
-
require('./parts-
|
|
13
|
-
require('./badge-
|
|
10
|
+
const payoutsStatus = require('./payouts-status-ced97c2b.js');
|
|
11
|
+
const skeleton = require('./skeleton-e8aa41d0.js');
|
|
12
|
+
require('./parts-5ca90f9a.js');
|
|
13
|
+
require('./badge-364e6311.js');
|
|
14
14
|
|
|
15
15
|
const PayoutDetailsLoading = () => (index.h("div", { class: "row gap-3" },
|
|
16
16
|
index.h("div", { class: "col-12" },
|
|
@@ -78,7 +78,7 @@ const PayoutDetailsCore = class {
|
|
|
78
78
|
}
|
|
79
79
|
render() {
|
|
80
80
|
var _a;
|
|
81
|
-
return (index.h(styledHost.StyledHost, { key: '
|
|
81
|
+
return (index.h(styledHost.StyledHost, { key: '061c711344ca86e94a8fcc9d3d5f7de97e5c2179' }, this.loading && index.h(PayoutDetailsLoading, { key: '697e0405c5287731c6b5349f89919e6ca167a7b8' }), !this.loading && this.errorMessage && utils.ErrorState(this.errorMessage), !this.loading && this.payout && (index.h("justifi-details", { key: 'baf48186beef6db33ca09cc62f48e1d6233cc087', "error-message": this.errorMessage }, index.h(utils.EntityHeadInfo, { key: '2ad1ac98d7b7613c017ce94d5f970c599e385857', slot: "head-info", badge: payoutsStatus.MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), title: this.payout.formattedPaymentAmount(this.payout.amount) }, index.h(utils.EntityHeadInfoItem, { key: '356ae84a31ba8d28d4b00c5a019c9f6f169c16bb', classes: "border-1 border-end", title: "Updated At", value: `${utils$1.formatDate(this.payout.updated_at)} ${utils$1.formatTime(this.payout.updated_at)}` }), index.h(utils.EntityHeadInfoItem, { key: '9bc19f40ab8c1c75acf8771d2e939c9b86c81352', classes: "border-1 border-end", title: "Created At", value: `${utils$1.formatDate(this.payout.created_at)} ${utils$1.formatTime(this.payout.created_at)}` }), index.h(utils.EntityHeadInfoItem, { key: 'adda5e8e83511030ab0998b9093d3f73879b1b34', title: "ID", value: this.payout.id }), index.h("div", { key: 'a8e3eb9c2ac80d09078adb19107106d2952c4995', class: "m-4" }, index.h(button.Button, { key: '039196e6cb3d5600eb60343eb073739b262adb89', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), index.h("div", { key: '7076fed938660f113e41d0f1cf29410df02bd9d5', slot: 'detail-sections' }, index.h(utils.DetailSectionTitle, { key: 'bd3fbd6c010d62a3db20b05eb09b6e1144675978', sectionTitle: "Details" }), index.h("div", { key: '6f5faf48a2fa1a49265e8c7454889ad007efea77', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: '7f426b472de86bc4948bb4722f5f59190a8816fc', title: "Date paid", value: utils$1.formatDate(this.payout.deposits_at) }), index.h(utils.DetailItem, { key: '9c985e1faaac021bb49c15064edb7cdacb53b285', title: "Statement Description", value: this.payout.description }), index.h(utils.DetailItem, { key: '819e4ce2b8a2aa34eee35994bd395cfbd358a08b', title: "Payout Method", value: this.payout.delivery_method }), index.h(utils.DetailItem, { key: 'de6ef451dba0364a2d531b82ed5a8a3cfc865fce', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), index.h(utils.DetailItem, { key: 'ab3705265c4d05f3e157e5beb338239e99be687d', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), index.h(utils.DetailSectionTitle, { key: 'ceef5bbeeb73858eea8643a50107288e87280c15', sectionTitle: "Account" }), index.h("div", { key: '6652445ecf1819d85b8642af02ded44cde934979', class: "d-table gap-2 w-100" }, index.h(utils.DetailItem, { key: '53b1e17717881ee14bbac8ff5941d8ee850675c2', title: "ID", value: this.payout.account_id }), index.h(utils.DetailItem, { key: 'afc5c48aef9715ef55f1aaa207f0af427679f8a4', title: "Account Type", value: this.payout.bank_account.account_type }), index.h(utils.DetailItem, { key: 'd78fe12043891c7a76b9c1d590cff1cfb45bf1f3', title: "Institution", value: this.payout.bank_account.account_type }), index.h(utils.DetailItem, { key: '5c8d4c492a4f0ccb2d1b7c721be7426e6b46e143', title: "Routing Number", value: this.payout.bank_account.routing_number }), index.h(utils.DetailItem, { key: '9ecc3872af10c9cfc380b1f4382a1ac980fff0fd', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), index.h(utils.DetailSectionTitle, { key: 'd38fdfd6754a68ff340a3e6456418c2ee0cd0672', sectionTitle: 'Metadata' }), index.h("div", { key: 'e45b2a4681556d276eaeed35e5c8a3b90e3235f0', class: "d-table gap-2 w-100" }, index.h(utils.CodeBlock, { key: '1c2b19619b1997ee8f12116d1ffe822fd5ce09ce', metadata: this.payout.metadata })))))));
|
|
82
82
|
}
|
|
83
83
|
static get watchers() { return {
|
|
84
84
|
"getPayout": ["getPayoutWatcher"]
|
|
@@ -4,20 +4,20 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
7
|
-
require('./Checkout-
|
|
7
|
+
require('./Checkout-f10bed8c.js');
|
|
8
8
|
const Pagination = require('./Pagination-0da8f095.js');
|
|
9
|
-
require('./Payment-
|
|
10
|
-
require('./SubAccount-
|
|
9
|
+
require('./Payment-3f483b7a.js');
|
|
10
|
+
require('./SubAccount-a27d4e9f.js');
|
|
11
11
|
require('./Document-0b828345.js');
|
|
12
|
-
const parts = require('./parts-
|
|
13
|
-
const eventTypes = require('./event-types-
|
|
14
|
-
const payoutsTable = require('./payouts-table-
|
|
12
|
+
const parts = require('./parts-5ca90f9a.js');
|
|
13
|
+
const eventTypes = require('./event-types-5a6ce2b0.js');
|
|
14
|
+
const payoutsTable = require('./payouts-table-194a4343.js');
|
|
15
15
|
const payoutsListParamsState = require('./payouts-list-params-state-033b76d6.js');
|
|
16
|
-
require('./utils-
|
|
16
|
+
require('./utils-54719fda.js');
|
|
17
17
|
require('./Dispute-eb6bad54.js');
|
|
18
|
-
require('./spinner-
|
|
19
|
-
require('./payouts-status-
|
|
20
|
-
require('./badge-
|
|
18
|
+
require('./spinner-580453f2.js');
|
|
19
|
+
require('./payouts-status-ced97c2b.js');
|
|
20
|
+
require('./badge-364e6311.js');
|
|
21
21
|
require('./index-d2d0b181.js');
|
|
22
22
|
|
|
23
23
|
const PayoutsListCore = class {
|
|
@@ -158,7 +158,7 @@ const PayoutsListCore = class {
|
|
|
158
158
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
159
159
|
}
|
|
160
160
|
render() {
|
|
161
|
-
return (index.h("div", { key: '
|
|
161
|
+
return (index.h("div", { key: 'ff5859c3d61ab7b2d532541c383c2478b9efc391' }, index.h("div", { key: 'cb50816020bfd324fae4f5f0d1a151ab04600b64', class: "table-wrapper", part: "table-wrapper" }, index.h("table", { key: '69cf5b76a95dd9396b97c6dd54aab8c067522102', class: "table table-hover", part: parts.table }, index.h("thead", { key: '086161ba08d930efaf431571fa7670ad74a1ec88', class: "table-head sticky-top", part: "table-head" }, index.h("tr", { key: '659d524600aec47afa5dc75cce808da945408536', class: "table-light text-nowrap", part: "table-head-row" }, this.payoutsTable.columnData.map((column) => column))), index.h("tbody", { key: 'bf665357df28983b110565b8556f1cf1a022f164', class: "table-body" }, index.h(eventTypes.TableLoadingState, { key: 'c789d5b153a377ca1d2e0244e4480fe118ffa2d2', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), index.h(eventTypes.TableEmptyState, { key: '80ab61d7e68e50ad88ad5a7f8e11464418006a59', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), index.h(eventTypes.TableErrorState, { key: '195c41c6e0a91d09ca0440002e2883fe49626c07', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: 'd9094830c7572cfbbfe0a17d55d9ad0daffd319f', class: "sticky-bottom" }, index.h("tr", { key: '658d6a380abc8085f5ec26b1423e0b9487b962d6', class: "table-light align-middle" }, index.h("td", { key: '962ddd1a6873a7206126e145d6772bacd4197cbf', part: parts.tableCell, colSpan: this.payoutsTable.columnData.length }, index.h("pagination-menu", { key: '28c37545fe9fdce46302a9cc6d370d95e7d03d7b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
162
162
|
}
|
|
163
163
|
static get watchers() { return {
|
|
164
164
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-5b9a3b5f.js');
|
|
4
|
-
const utils = require('./utils-
|
|
5
|
-
const payoutsStatus = require('./payouts-status-
|
|
6
|
-
const parts = require('./parts-
|
|
4
|
+
const utils = require('./utils-54719fda.js');
|
|
5
|
+
const payoutsStatus = require('./payouts-status-ced97c2b.js');
|
|
6
|
+
const parts = require('./parts-5ca90f9a.js');
|
|
7
7
|
|
|
8
8
|
const defaultColumnsKeys = 'created_at,amount,status,payments_total,refunds_total,fees_total,other_total,csv';
|
|
9
9
|
const payoutTableColumns = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const index_esm = require('./index.esm-
|
|
3
|
+
const index_esm = require('./index.esm-544c08fd.js');
|
|
4
4
|
const stateOptions = require('./state-options-4fbcb48a.js');
|
|
5
5
|
const businessFormOptions = require('./business-form-options-62e9c8ab.js');
|
|
6
6
|
const Document = require('./Document-0b828345.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-5b9a3b5f.js');
|
|
4
|
-
const parts = require('./parts-
|
|
4
|
+
const parts = require('./parts-5ca90f9a.js');
|
|
5
5
|
|
|
6
6
|
const Skeleton = ({ component = 'div', height, width, className, styles = {}, }) => {
|
|
7
7
|
const combinedStyle = Object.assign(Object.assign({}, styles), { width,
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
const button = require('./button-
|
|
7
|
-
const parts = require('./parts-
|
|
6
|
+
const button = require('./button-4a9fd41e.js');
|
|
7
|
+
const parts = require('./parts-5ca90f9a.js');
|
|
8
8
|
|
|
9
9
|
const hasFilters = (params) => {
|
|
10
10
|
const paginationKeys = ['after_cursor', 'before_cursor'];
|
|
@@ -35,7 +35,7 @@ const TableFiltersMenu = class {
|
|
|
35
35
|
this.showClearButton = hasFilters(this.params);
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (index.h("div", { key: '
|
|
38
|
+
return (index.h("div", { key: 'c077391d1358cd6ad02857e05a56aab3e1d10018', class: "d-flex gap-2" }, index.h("div", { key: 'd28773f0b202b1fcbe19bc5bace1cbf17f5538f7', class: "dropdown pb-3" }, index.h(button.Button, { key: '0ad326c9539d5c93573001f6c98486bbbe7a4eaf', variant: "primary", type: "button dropdown-toggle", ref: (el) => (this.anchorButton = el), class: "btn btn-primary dropdown-toggle", "data-test-id": "open-filters-button", "data-bs-toggle": "dropdown" }, "Filters"), index.h("custom-popper", { key: '9ebcaad716bd3b38233a2e78aa219f397c821472', offset: [20, 10], strategy: "fixed", anchorRef: this.anchorButton, trigger: "click" }, index.h("form", { key: 'ca88fa944c5e9ac23f6ebee6c771603516b83f85', class: "dropdown-menu", part: parts.dropdownMenu, "data-test-id": "filter-menu", ref: (el) => (this.menu = el), onSubmit: (e) => e.preventDefault() }, index.h("slot", { key: '7cc23a56a5db363ebdf375d41a758db534c9b9a7' })))), index.h("div", { key: '7047b1659d9f854ccb5e00f53fa03d4d42d7c550' }, index.h(button.Button, { key: '73e413af21cc39818ec8156d736ffdf72bc844d3', variant: "secondary", onClick: () => this.clearParams(), hidden: !this.showClearButton, "data-test-id": "clear-filters-button" }, "Clear Filters"))));
|
|
39
39
|
}
|
|
40
40
|
static get watchers() { return {
|
|
41
41
|
"params": ["watchParamsHandler"]
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
const eventTypes = require('./event-types-
|
|
7
|
-
const parts = require('./parts-
|
|
6
|
+
const eventTypes = require('./event-types-5a6ce2b0.js');
|
|
7
|
+
const parts = require('./parts-5ca90f9a.js');
|
|
8
8
|
require('./ComponentError-233ac749.js');
|
|
9
|
-
require('./Checkout-
|
|
9
|
+
require('./Checkout-f10bed8c.js');
|
|
10
10
|
const Pagination = require('./Pagination-0da8f095.js');
|
|
11
|
-
require('./Payment-
|
|
12
|
-
require('./SubAccount-
|
|
11
|
+
require('./Payment-3f483b7a.js');
|
|
12
|
+
require('./SubAccount-a27d4e9f.js');
|
|
13
13
|
require('./Document-0b828345.js');
|
|
14
|
-
const terminalOrdersTable = require('./terminal-orders-table-
|
|
14
|
+
const terminalOrdersTable = require('./terminal-orders-table-4df19497.js');
|
|
15
15
|
const terminalOrdersListParamsState = require('./terminal-orders-list-params-state-c419078f.js');
|
|
16
|
-
require('./spinner-
|
|
17
|
-
require('./utils-
|
|
16
|
+
require('./spinner-580453f2.js');
|
|
17
|
+
require('./utils-54719fda.js');
|
|
18
18
|
require('./Dispute-eb6bad54.js');
|
|
19
|
-
require('./badge-
|
|
19
|
+
require('./badge-364e6311.js');
|
|
20
20
|
require('./index-d2d0b181.js');
|
|
21
21
|
|
|
22
22
|
const TerminalOrdersListCore = class {
|
|
@@ -102,7 +102,7 @@ const TerminalOrdersListCore = class {
|
|
|
102
102
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
103
103
|
}
|
|
104
104
|
render() {
|
|
105
|
-
return (index.h("div", { key: '
|
|
105
|
+
return (index.h("div", { key: '029644a4c7e2f8957ffafb9ff62390b6b6869fce' }, index.h("div", { key: 'c6d0ae6e68f45252bbc276da1ed853fc6b9b5338', class: "table-wrapper" }, index.h("table", { key: '1809d7ddfd9b9c6834498115ac43df8f7b4ea5d9', class: "table table-hover", part: parts.table }, index.h("thead", { key: 'bcd8f0c82e5aa97ba1bd1207353bc09a4c21bd05', class: "table-head sticky-top" }, index.h("tr", { key: 'bfe9dc35dc30acf4f483c0359989db9ff82ceb7a', class: "table-light text-nowrap" }, this.terminalOrdersTable.columnData.map((column) => column))), index.h("tbody", { key: '5181c615bbc06bf347c9e567064fcbbf6b518d2d', class: "table-body" }, index.h(eventTypes.TableLoadingState, { key: 'a48ee705634008f203e01327ea6f9efdf980fdc5', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), index.h(eventTypes.TableEmptyState, { key: 'ae1daed5464b7719e4f4e7c116a408b6b37cb997', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), index.h(eventTypes.TableErrorState, { key: '9496b60d37f5ad699083f3cd305e14550a4b6770', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: '0ac98a7e41add32367010e0c09f99c4328f2d717', class: "sticky-bottom" }, index.h("tr", { key: 'a8fda69087663a8707ef16c2fa153d351426fe0c', class: "table-light align-middle" }, index.h("td", { key: 'f805502e404b69e86f3ec0963321bd9989c035b8', part: parts.tableCell, colSpan: this.terminalOrdersTable.columnData.length }, index.h("pagination-menu", { key: '93848e212dce3b8e00b4e44e4907045c2ca5fd67', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
106
106
|
}
|
|
107
107
|
static get watchers() { return {
|
|
108
108
|
"pagingParams": ["updateOnPropChange"],
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-5b9a3b5f.js');
|
|
4
|
-
const parts = require('./parts-
|
|
5
|
-
const utils = require('./utils-
|
|
6
|
-
const badge = require('./badge-
|
|
4
|
+
const parts = require('./parts-5ca90f9a.js');
|
|
5
|
+
const utils = require('./utils-54719fda.js');
|
|
6
|
+
const badge = require('./badge-364e6311.js');
|
|
7
7
|
|
|
8
8
|
const MapTerminalOrderStatusToBadge = (status) => {
|
|
9
9
|
const statusToBadgeProps = {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
|
-
const parts = require('./parts-
|
|
6
|
+
const parts = require('./parts-5ca90f9a.js');
|
|
7
7
|
|
|
8
8
|
const TerminalQuantitySelector = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -29,7 +29,7 @@ const TerminalQuantitySelector = class {
|
|
|
29
29
|
this.selectedQuantity = 0;
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (index.h("div", { key: '
|
|
32
|
+
return (index.h("div", { key: '2d549b468e071dfcf74977101abbc2d87849fceb', class: "rounded shadow-sm card p-2", part: parts.text }, index.h("div", { key: 'f12c2934cb878a910bbed78c5a355e06470e0376', class: "d-flex gap-3" }, index.h("div", { key: 'ac4556722561202bdb4b5a6aa394ee5c022ed008', class: "d-flex align-items-center" }, index.h("img", { key: '95251b4754303b2d89693bfc77611aa78b602bc9', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: parts.image })), index.h("div", { key: '01c92c855b6f4f485981daeb38134214fdd1762d', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, index.h("div", { key: '427ae984650fe56887f591203348d930a2cf0c49', class: "row" }, index.h("div", { key: '36749d30ecbc22bd0841fdd128ecec584b2104a5', class: "col-6 d-flex gap-2" }, this.modelName, index.h("form-control-tooltip", { key: 'd29543ccf91db6947a4fe38113f251be7bc76e39', helpText: this.description })), index.h("div", { key: '83452b8b227597a83adaad1a64753609cbe02484', class: "col-6 d-flex justify-content-end align-items-center" }, index.h("button", { key: '88e33206b8b2f29858263481c75fdbc13ee687d1', class: "p-0 minus btn", onClick: this.removeUnit, part: parts.buttonLink }, "-"), index.h("div", { key: 'a5fb4209f79529560bb253aef077035fa532e1fc', class: "w-25 text-center" }, this.selectedQuantity), index.h("button", { key: 'a431b869cebc0a53514731ed69de88bdbb63b4c6', class: "p-0 plus btn", onClick: this.addUnit, part: parts.buttonLink }, "+")))))));
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
35
|
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
const Api = require('./Api-83d93333.js');
|
|
4
4
|
require('./ComponentError-233ac749.js');
|
|
5
|
-
require('./Checkout-
|
|
5
|
+
require('./Checkout-f10bed8c.js');
|
|
6
6
|
require('./Pagination-0da8f095.js');
|
|
7
|
-
require('./Payment-
|
|
8
|
-
require('./SubAccount-
|
|
7
|
+
require('./Payment-3f483b7a.js');
|
|
8
|
+
require('./SubAccount-a27d4e9f.js');
|
|
9
9
|
require('./Document-0b828345.js');
|
|
10
10
|
|
|
11
11
|
class TerminalService {
|
|
@@ -4,19 +4,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-5b9a3b5f.js');
|
|
6
6
|
require('./ComponentError-233ac749.js');
|
|
7
|
-
require('./Checkout-
|
|
7
|
+
require('./Checkout-f10bed8c.js');
|
|
8
8
|
const Pagination = require('./Pagination-0da8f095.js');
|
|
9
|
-
require('./Payment-
|
|
10
|
-
require('./SubAccount-
|
|
9
|
+
require('./Payment-3f483b7a.js');
|
|
10
|
+
require('./SubAccount-a27d4e9f.js');
|
|
11
11
|
require('./Document-0b828345.js');
|
|
12
|
-
const parts = require('./parts-
|
|
13
|
-
const eventTypes = require('./event-types-
|
|
14
|
-
const terminalsTable = require('./terminals-table-
|
|
12
|
+
const parts = require('./parts-5ca90f9a.js');
|
|
13
|
+
const eventTypes = require('./event-types-5a6ce2b0.js');
|
|
14
|
+
const terminalsTable = require('./terminals-table-9b313566.js');
|
|
15
15
|
const terminalsListParamsState = require('./terminals-list-params-state-236f06f6.js');
|
|
16
|
-
require('./utils-
|
|
16
|
+
require('./utils-54719fda.js');
|
|
17
17
|
require('./Dispute-eb6bad54.js');
|
|
18
|
-
require('./spinner-
|
|
19
|
-
require('./badge-
|
|
18
|
+
require('./spinner-580453f2.js');
|
|
19
|
+
require('./badge-364e6311.js');
|
|
20
20
|
require('./index-d2d0b181.js');
|
|
21
21
|
|
|
22
22
|
const TerminalsListCore = class {
|
|
@@ -140,7 +140,7 @@ const TerminalsListCore = class {
|
|
|
140
140
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
141
141
|
}
|
|
142
142
|
render() {
|
|
143
|
-
return (index.h("div", { key: '
|
|
143
|
+
return (index.h("div", { key: 'dab480902928e4dbcdbf0c8ada95fdc4d186f211' }, index.h("div", { key: '8fd8ce93ac16676d4ea9de2588467df5feb18e71', class: "table-wrapper" }, index.h("table", { key: '02a58d1f233bec3cd40877c4cfeba55b345876b7', class: "table table-hover", part: parts.table }, index.h("thead", { key: '64d3d4cdb0c97a0628da1935386e9cb430a71ea7', class: "table-head sticky-top" }, index.h("tr", { key: 'a52c8d1a59adfa1d18dc8dfa3a70a6318f52f4c2', class: "table-light text-nowrap" }, this.terminalsTable.columnData.map((column) => column))), index.h("tbody", { key: '476983a5b8dcb65d62953de2a8a7a24c47cb83be', class: "table-body" }, index.h(eventTypes.TableLoadingState, { key: 'ecae363863cb7ab6b2d8226f8f39bc682333af29', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), index.h(eventTypes.TableEmptyState, { key: 'f8fb01d5048fc0143546344b65a9018aeab8b688', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), index.h(eventTypes.TableErrorState, { key: 'cd40cb1696624e20b9cad238d43be902538ce4cd', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index$1) => (index.h("tr", { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index$1], onClick: this.rowClickHandler }, data)))), this.paging && (index.h("tfoot", { key: '29ebf6d4d3537f25545fa9e67416c52ee1223b12', class: "sticky-bottom" }, index.h("tr", { key: 'a732f3d809a4f97b926b0e978e32c919f36c13b1', class: "table-light align-middle" }, index.h("td", { key: '2e66c17f57a08d4e0f4da693caf0ea44f5ec7484', part: parts.tableCell, colSpan: this.terminalsTable.columnData.length }, index.h("pagination-menu", { key: 'e3544088964b15242d710223a76208217bffab3f', 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"],
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-5b9a3b5f.js');
|
|
4
|
-
const badge = require('./badge-
|
|
5
|
-
const parts = require('./parts-
|
|
4
|
+
const badge = require('./badge-364e6311.js');
|
|
5
|
+
const parts = require('./parts-5ca90f9a.js');
|
|
6
|
+
const utils = require('./utils-54719fda.js');
|
|
6
7
|
|
|
7
8
|
const MapTerminalStatusToBadge = (status) => {
|
|
8
9
|
const statusToBadgeProps = {
|
|
@@ -21,6 +22,11 @@ const MapTerminalStatusToBadge = (status) => {
|
|
|
21
22
|
title: 'The status of this terminal is unknown',
|
|
22
23
|
text: 'Unknown',
|
|
23
24
|
},
|
|
25
|
+
pending_configuration: {
|
|
26
|
+
variant: badge.BadgeVariant.WARNING,
|
|
27
|
+
title: 'This terminal is pending configuration',
|
|
28
|
+
text: 'Pending configuration',
|
|
29
|
+
},
|
|
24
30
|
};
|
|
25
31
|
const badgeProps = statusToBadgeProps[status];
|
|
26
32
|
return index.h(badge.Badge, Object.assign({}, badgeProps));
|
|
@@ -29,6 +35,9 @@ const MapTerminalStatusToBadge = (status) => {
|
|
|
29
35
|
const defaultColumnsKeys = 'nickname,provider_serial_number,status';
|
|
30
36
|
const terminalTableColumns = {
|
|
31
37
|
nickname: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The nickname associated with the terminal" }, "Nickname")),
|
|
38
|
+
model_name: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The model name of the terminal" }, "Model Name")),
|
|
39
|
+
id: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The ID of the terminal" }, "ID")),
|
|
40
|
+
provider: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The provider of the terminal" }, "Provider")),
|
|
32
41
|
provider_serial_number: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The serial number of the terminal" }, "Serial Number")),
|
|
33
42
|
provider_id: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The provider ID of the terminal" }, "Provider ID")),
|
|
34
43
|
sub_account_name: () => (index.h("th", { part: parts.tableHeadCell, scope: "col", title: "The sub account associated with the terminal" }, "Sub Account")),
|
|
@@ -36,6 +45,9 @@ const terminalTableColumns = {
|
|
|
36
45
|
};
|
|
37
46
|
const terminalTableCells = {
|
|
38
47
|
nickname: (terminal, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, terminal.nickname)),
|
|
48
|
+
model_name: (terminal, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, terminal.model_name)),
|
|
49
|
+
id: (terminal, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, terminal.id)),
|
|
50
|
+
provider: (terminal, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, utils.capitalFirstLetter(terminal.provider))),
|
|
39
51
|
provider_serial_number: (terminal, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, terminal.provider_serial_number)),
|
|
40
52
|
provider_id: (terminal, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, terminal.provider_id)),
|
|
41
53
|
sub_account_name: (terminal, index$1) => (index.h("td", { part: parts.getAlternateTableCellPart(index$1) }, terminal.sub_account_name)),
|
|
@@ -3851,10 +3851,10 @@ var Dinero = function Dinero(options) {
|
|
|
3851
3851
|
var dinero = Object.assign(Dinero, Defaults, Globals, Static);
|
|
3852
3852
|
|
|
3853
3853
|
// Currency Formatting
|
|
3854
|
-
const formatCurrency = (amount, currency) => {
|
|
3854
|
+
const formatCurrency = (amount, currency, omitSymbols = false) => {
|
|
3855
3855
|
if (!amount)
|
|
3856
3856
|
amount = 0;
|
|
3857
|
-
const formattedString = '$0,0.00';
|
|
3857
|
+
const formattedString = (omitSymbols) ? '0,0.00' : '$0,0.00';
|
|
3858
3858
|
const formattedCurrency = currency === null || currency === void 0 ? void 0 : currency.toUpperCase();
|
|
3859
3859
|
const formattedAmount = dinero({ amount: amount }).toFormat(formattedString);
|
|
3860
3860
|
return currency ? `${formattedAmount} ${formattedCurrency}` : formattedAmount;
|
|
@@ -3941,6 +3941,11 @@ const convertToLocal = (dateString, options) => {
|
|
|
3941
3941
|
}
|
|
3942
3942
|
};
|
|
3943
3943
|
// String Manipulation
|
|
3944
|
+
function capitalFirstLetter(str) {
|
|
3945
|
+
if (!str)
|
|
3946
|
+
return '';
|
|
3947
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
3948
|
+
}
|
|
3944
3949
|
function snakeCaseToHumanReadable(snakeCaseStr) {
|
|
3945
3950
|
if (!snakeCaseStr)
|
|
3946
3951
|
return '';
|
|
@@ -3985,6 +3990,7 @@ function processHTML(htmlString, functions) {
|
|
|
3985
3990
|
}
|
|
3986
3991
|
|
|
3987
3992
|
exports.addAttribute = addAttribute;
|
|
3993
|
+
exports.capitalFirstLetter = capitalFirstLetter;
|
|
3988
3994
|
exports.convertToLocal = convertToLocal;
|
|
3989
3995
|
exports.convertToUTC = convertToUTC;
|
|
3990
3996
|
exports.formatCurrency = formatCurrency;
|