@justifi/webcomponents 6.14.5-rc.1 → 6.15.0-rc.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/{Analytics-46pgYofS.js → Analytics-VQGAbMVS.js} +3 -3
- package/dist/cjs/{Api-C2V2lX6a.js → Api--EGkA-pT.js} +1 -1
- package/dist/cjs/{Plaid-B2o4c_Ej.js → Plaid-D85oV9FN.js} +5 -0
- package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +7 -7
- package/dist/cjs/additional-statement_8.cjs.entry.js +8 -8
- package/dist/cjs/bank-account-billing-form-simple_4.cjs.entry.js +4 -4
- package/dist/cjs/bank-account-document-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/bank-account-form.cjs.entry.js +5 -5
- package/dist/cjs/{business.service-COn1NkhY.js → business.service-B51fjG_j.js} +2 -2
- package/dist/cjs/card-form.cjs.entry.js +5 -5
- package/dist/cjs/{check-pkg-version-BsDr9TZT.js → check-pkg-version-RMsgKzFc.js} +1 -1
- package/dist/cjs/{checkout-actions-VCJi-q4z.js → checkout-actions-BRQFQ6n-.js} +2 -2
- package/dist/cjs/{checkout.service-DObCfUj2.js → checkout.service-BsOwkSNp.js} +2 -2
- package/dist/cjs/{checkout.store-DOa1-SjA.js → checkout.store-DaV9lvEQ.js} +6 -1
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/dispute-notification_2.cjs.entry.js +10 -10
- package/dist/cjs/{event-types-CmDSoKh4.js → event-types-C_LP6UcW.js} +2 -2
- package/dist/cjs/form-address-fields_3.cjs.entry.js +2 -2
- package/dist/cjs/form-alert_3.cjs.entry.js +5 -5
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-date.cjs.entry.js +2 -2
- package/dist/cjs/form-control-file-v2_2.cjs.entry.js +3 -3
- package/dist/cjs/form-control-file.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number_2.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/form-control-select_2.cjs.entry.js +4 -4
- package/dist/cjs/{get-business-BBDsPv-b.js → get-business-BpaRbn5S.js} +2 -2
- package/dist/cjs/{get-payment-details-BYZeUFAB.js → get-payment-details-Cmg8gWvo.js} +2 -2
- package/dist/cjs/{get-subaccounts-CuruLv9t.js → get-subaccounts-d4CUegsn.js} +3 -3
- package/dist/cjs/{index-CajjbB9t.js → index-DDa1jd08.js} +4 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/{justifi-apple-pay_11.cjs.entry.js → justifi-apple-pay_12.cjs.entry.js} +283 -26
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +6 -6
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-billing-form-full.cjs.entry.js +1 -1
- package/dist/cjs/justifi-billing-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-business-form.cjs.entry.js +8 -8
- package/dist/cjs/justifi-card-billing-form-simple.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkout.cjs.entry.js +8 -8
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +8 -8
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +6 -6
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +10 -10
- package/dist/cjs/justifi-payment-details.cjs.entry.js +16 -16
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payout-details.cjs.entry.js +11 -11
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +10 -10
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +8 -8
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +8 -8
- package/dist/cjs/justifi-save-new-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -8
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +4 -4
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +8 -8
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +9 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-Cb1-8Jj8.js → package-DfwuePUh.js} +1 -1
- package/dist/cjs/payment-method-option.cjs.entry.js +1 -1
- package/dist/cjs/{payment-provisioning-actions-CIsDrh8k.js → payment-provisioning-actions-DDooZhhk.js} +2 -2
- package/dist/cjs/{payment.service-XSIPp45g.js → payment.service-Vy_JnuSA.js} +2 -2
- package/dist/cjs/{payout.service-CIzggNLL.js → payout.service-BEPglFXf.js} +2 -2
- package/dist/cjs/{payouts-status-DVU5138C.js → payouts-status-1IUtW-UQ.js} +2 -2
- package/dist/cjs/{plaid.service-jphsDR0Z.js → plaid.service-DXQ7q51E.js} +2 -2
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/save-new-payment-method.cjs.entry.js +3 -3
- package/dist/cjs/table-filters-menu.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-ZyT05wTw.js → terminal.service-BP2YecQ_.js} +2 -2
- package/dist/cjs/{utils-WrOn06xB.js → utils-CBriZzRC.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Checkout.js +5 -0
- package/dist/collection/api/Paypal.js +1 -0
- package/dist/collection/api/index.js +1 -0
- package/dist/collection/api/services/paypal.service.js +9 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/checkout/billing-form/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/checkout/billing-form/card-billing-form-simple.js +1 -1
- package/dist/collection/components/checkout/billing-form/justifi-billing-form.js +1 -1
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/justifi-checkout.js +1 -1
- package/dist/collection/components/checkout/justifi-saved-payment-method.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method/justifi-save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/save-new-payment-method/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +3 -3
- package/dist/collection/components/checkouts-list/justifi-checkouts-list.js +2 -2
- package/dist/collection/components/dispute-management/dispute-notification.js +2 -2
- package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/customer-details.js +1 -1
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.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/dispute-management/justifi-dispute-management.js +1 -1
- package/dist/collection/components/filters/table-filters-menu.js +1 -1
- package/dist/collection/components/modular-checkout/ModularCheckout.js +4 -0
- package/dist/collection/components/modular-checkout/justifi-modular-checkout.js +75 -11
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-bank-account-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-billing-form-full.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-card-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/justifi-checkout-summary.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/paypal/justifi-paypal.js +253 -0
- package/dist/collection/components/modular-checkout/sub-components/paypal/paypal.js +17 -0
- package/dist/collection/components/order-terminals/justifi-order-terminals.js +1 -1
- package/dist/collection/components/order-terminals/terminal-quantity-selector/terminal-quantity-selector.js +1 -1
- package/dist/collection/components/payment-details/justifi-payment-details.js +8 -8
- package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/justifi-payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/justifi-payments-list.js +1 -1
- package/dist/collection/components/payout-details/justifi-payout-details.js +3 -3
- package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/justifi-payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/justifi-payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list.js +2 -2
- package/dist/collection/components/terminals-list/justifi-terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/justifi-terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js +1 -1
- package/dist/collection/store/checkout.store.js +5 -0
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-select.js +2 -2
- package/dist/collection/ui-components/form/form-control-text.js +2 -2
- package/dist/collection/ui-components/form/form-control-textarea.js +2 -2
- package/dist/collection/ui-components/form/hidden-input.js +1 -1
- package/dist/collection/ui-components/form/iframe-input.js +3 -3
- package/dist/collection/ui-components/internal-button.js +1 -1
- package/dist/collection/ui-components/radio-list-item.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-button.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-header.js +1 -1
- package/dist/collection/ui-components/shadow-dom-components/justifi-skeleton.js +1 -1
- package/dist/docs.json +115 -3
- package/dist/esm/{Analytics-YJZMjYtq.js → Analytics-hKJLmoJl.js} +3 -3
- package/dist/esm/{Api-od4ybwHR.js → Api-DAJ9sMMj.js} +1 -1
- package/dist/esm/{Plaid-DJ-4YL0_.js → Plaid-BP3xNxQF.js} +5 -0
- package/dist/esm/additional-questions-form-step_15.entry.js +7 -7
- package/dist/esm/additional-statement_8.entry.js +8 -8
- package/dist/esm/bank-account-billing-form-simple_4.entry.js +4 -4
- package/dist/esm/bank-account-document-form-inputs.entry.js +1 -1
- package/dist/esm/bank-account-form.entry.js +5 -5
- package/dist/esm/{business.service-BM14Brj6.js → business.service-kmkjOyTm.js} +2 -2
- package/dist/esm/card-form.entry.js +5 -5
- package/dist/esm/{check-pkg-version-DtP8CVbU.js → check-pkg-version-FEAmKlDW.js} +1 -1
- package/dist/esm/{checkout-actions-DhL8YxrK.js → checkout-actions-0ftD0elo.js} +2 -2
- package/dist/esm/{checkout.service-B8kSQSsn.js → checkout.service-BVBmNheb.js} +2 -2
- package/dist/esm/{checkout.store-B6amfNq_.js → checkout.store-B2mtQcB5.js} +6 -1
- package/dist/esm/custom-popper_2.entry.js +2 -2
- package/dist/esm/dispute-notification_2.entry.js +10 -10
- package/dist/esm/{event-types-DL21cZd2.js → event-types-B5-lsGjZ.js} +2 -2
- package/dist/esm/form-address-fields_3.entry.js +2 -2
- package/dist/esm/form-alert_3.entry.js +5 -5
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-date.entry.js +2 -2
- package/dist/esm/form-control-file-v2_2.entry.js +3 -3
- package/dist/esm/form-control-file.entry.js +2 -2
- package/dist/esm/form-control-monetary.entry.js +2 -2
- package/dist/esm/form-control-number_2.entry.js +2 -2
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/form-control-select_2.entry.js +4 -4
- package/dist/esm/{get-business-BSyOONF0.js → get-business-BLCT-zfN.js} +2 -2
- package/dist/esm/{get-payment-details-CoGzqJ6o.js → get-payment-details-BokzuPGl.js} +2 -2
- package/dist/esm/{get-subaccounts-yZP4GBHd.js → get-subaccounts-By7m_FxO.js} +3 -3
- package/dist/esm/{index-DkoufM1t.js → index-DEx8fQeW.js} +4 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/internal-button.entry.js +1 -1
- package/dist/esm/{justifi-apple-pay_11.entry.js → justifi-apple-pay_12.entry.js} +283 -27
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +6 -6
- package/dist/esm/justifi-bank-account-form.entry.js +6 -6
- package/dist/esm/justifi-billing-form-full.entry.js +1 -1
- package/dist/esm/justifi-billing-form.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +8 -8
- package/dist/esm/justifi-business-form.entry.js +8 -8
- package/dist/esm/justifi-card-billing-form-simple.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +6 -6
- package/dist/esm/justifi-checkout-qr-code.entry.js +5 -5
- package/dist/esm/justifi-checkout.entry.js +8 -8
- package/dist/esm/justifi-checkouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-checkouts-list.entry.js +10 -10
- package/dist/esm/justifi-dispute-management.entry.js +8 -8
- package/dist/esm/justifi-gross-payment-chart.entry.js +6 -6
- package/dist/esm/justifi-order-terminals.entry.js +10 -10
- package/dist/esm/justifi-payment-details.entry.js +16 -16
- package/dist/esm/justifi-payment-provisioning.entry.js +8 -8
- package/dist/esm/justifi-payment-transactions-list.entry.js +8 -8
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +8 -8
- package/dist/esm/justifi-payout-details.entry.js +11 -11
- package/dist/esm/justifi-payout-transactions-list.entry.js +8 -8
- package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +10 -10
- package/dist/esm/justifi-qr-terminal.entry.js +8 -8
- package/dist/esm/justifi-refund-payment.entry.js +8 -8
- package/dist/esm/justifi-save-new-payment-method.entry.js +1 -1
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +8 -8
- package/dist/esm/justifi-skeleton.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +4 -4
- package/dist/esm/justifi-terminal-orders-list.entry.js +8 -8
- package/dist/esm/justifi-terminals-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-B_uQqefL.js → package-Dn9_7aQh.js} +1 -1
- package/dist/esm/payment-method-option.entry.js +1 -1
- package/dist/esm/{payment-provisioning-actions-DJKGndr3.js → payment-provisioning-actions-VRIPjnAQ.js} +2 -2
- package/dist/esm/{payment.service-S0sEKmRn.js → payment.service-CMUlMV1Y.js} +2 -2
- package/dist/esm/{payout.service-ZABnlfYv.js → payout.service-C0yd0JZS.js} +2 -2
- package/dist/esm/{payouts-status-C0nijel1.js → payouts-status-CaiC5qpn.js} +2 -2
- package/dist/esm/{plaid.service-qxtz2sWM.js → plaid.service-CqihCTBS.js} +2 -2
- package/dist/esm/radio-list-item.entry.js +1 -1
- package/dist/esm/save-new-payment-method.entry.js +3 -3
- package/dist/esm/table-filters-menu.entry.js +1 -1
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-CB2kRLwO.js → terminal.service-DuF3uTuA.js} +2 -2
- package/dist/esm/{utils-D6LKoG0M.js → utils-YUOJKtjO.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/ModularCheckout.js +4 -0
- package/dist/module/Plaid.js +5 -0
- package/dist/module/additional-statement2.js +1 -1
- package/dist/module/bank-account-billing-form-simple2.js +1 -1
- package/dist/module/cancellation-policy2.js +1 -1
- package/dist/module/card-billing-form-simple2.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/checkout.store.js +5 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/customer-details2.js +1 -1
- package/dist/module/dispute-notification2.js +2 -2
- package/dist/module/dispute-response2.js +1 -1
- package/dist/module/duplicate-charge2.js +1 -1
- package/dist/module/electronic-evidence2.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-number2.js +2 -2
- package/dist/module/form-control-radio2.js +2 -2
- package/dist/module/form-control-select2.js +2 -2
- package/dist/module/form-control-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/internal-button2.js +1 -1
- package/dist/module/justifi-bank-account-billing-form-simple.js +1 -1
- package/dist/module/justifi-bank-account-form.js +1 -1
- package/dist/module/justifi-billing-form-full.js +1 -1
- package/dist/module/justifi-billing-form.js +1 -1
- package/dist/module/justifi-button2.js +1 -1
- package/dist/module/justifi-card-billing-form-simple.js +1 -1
- package/dist/module/justifi-card-form.js +1 -1
- package/dist/module/justifi-checkout-summary2.js +1 -1
- package/dist/module/justifi-checkout.js +53 -47
- package/dist/module/justifi-checkouts-list-filters.js +2 -2
- package/dist/module/justifi-checkouts-list.js +2 -2
- package/dist/module/justifi-dispute-management.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- package/dist/module/justifi-modular-checkout2.js +75 -11
- package/dist/module/justifi-order-terminals.js +1 -1
- package/dist/module/justifi-payment-details.js +8 -8
- package/dist/module/justifi-payment-transactions-list.js +1 -1
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +1 -1
- package/dist/module/justifi-payout-details.js +3 -3
- package/dist/module/justifi-payout-transactions-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-paypal.d.ts +11 -0
- package/dist/module/justifi-paypal.js +6 -0
- package/dist/module/justifi-paypal2.js +226 -0
- package/dist/module/justifi-save-new-payment-method.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/justifi-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +3 -3
- package/dist/module/justifi-terminal-orders-list.js +2 -2
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/justifi-tokenize-payment-method2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment-method-option.js +1 -1
- package/dist/module/product-or-service2.js +1 -1
- package/dist/module/radio-list-item2.js +1 -1
- package/dist/module/refund-policy2.js +1 -1
- package/dist/module/save-new-payment-method2.js +1 -1
- package/dist/module/shipping-details2.js +1 -1
- package/dist/module/table-filters-menu2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/types/api/Checkout.d.ts +13 -1
- package/dist/types/api/Paypal.d.ts +11 -0
- package/dist/types/api/index.d.ts +1 -0
- package/dist/types/api/services/paypal.service.d.ts +8 -0
- package/dist/types/components/modular-checkout/ModularCheckout.d.ts +6 -2
- package/dist/types/components/modular-checkout/justifi-modular-checkout.d.ts +7 -0
- package/dist/types/components/modular-checkout/sub-components/paypal/justifi-paypal.d.ts +36 -0
- package/dist/types/components/modular-checkout/sub-components/paypal/paypal.d.ts +39 -0
- package/dist/types/components.d.ts +53 -0
- package/dist/types/store/checkout.store.d.ts +2 -0
- package/dist/webcomponents/index.esm.js +1 -1
- package/dist/webcomponents/{p-4d747ce5.entry.js → p-0d8a256c.entry.js} +1 -1
- package/dist/webcomponents/{p-b6c112cd.entry.js → p-0f7cc07b.entry.js} +1 -1
- package/dist/webcomponents/p-1034e83d.entry.js +1 -0
- package/dist/webcomponents/{p-99d17144.entry.js → p-10b91a6c.entry.js} +1 -1
- package/dist/webcomponents/p-18306b40.entry.js +1 -0
- package/dist/webcomponents/{p-005d353c.entry.js → p-1a55efda.entry.js} +1 -1
- package/dist/webcomponents/p-22a57828.entry.js +1 -0
- package/dist/webcomponents/p-2458de56.entry.js +1 -0
- package/dist/webcomponents/{p-5f57c81c.entry.js → p-2549c891.entry.js} +1 -1
- package/dist/webcomponents/{p-36d7033b.entry.js → p-27b07530.entry.js} +1 -1
- package/dist/webcomponents/{p-4f54d1b2.entry.js → p-28fb6b50.entry.js} +1 -1
- package/dist/webcomponents/p-2e82a488.entry.js +1 -0
- package/dist/webcomponents/{p-f0083ace.entry.js → p-31204dd5.entry.js} +1 -1
- package/dist/webcomponents/p-33281304.entry.js +1 -0
- package/dist/webcomponents/{p-da21ae43.entry.js → p-36340e63.entry.js} +1 -1
- package/dist/webcomponents/p-3642e189.entry.js +1 -0
- package/dist/webcomponents/p-36f05f5f.entry.js +1 -0
- package/dist/webcomponents/{p-b8d46fc5.entry.js → p-3c33b3c1.entry.js} +1 -1
- package/dist/webcomponents/{p-88a3c0cf.entry.js → p-408a4f5f.entry.js} +1 -1
- package/dist/webcomponents/{p-041a22dd.entry.js → p-42021e67.entry.js} +1 -1
- package/dist/webcomponents/{p-f1592a71.entry.js → p-5348209c.entry.js} +1 -1
- package/dist/webcomponents/p-5a11c49f.entry.js +1 -0
- package/dist/webcomponents/{p-2139497d.entry.js → p-5bdae8c7.entry.js} +1 -1
- package/dist/webcomponents/p-636c9571.entry.js +1 -0
- package/dist/webcomponents/p-76e96874.entry.js +1 -0
- package/dist/webcomponents/p-772ab8a3.entry.js +1 -0
- package/dist/webcomponents/p-777470cb.entry.js +1 -0
- package/dist/webcomponents/p-7e64a668.entry.js +1 -0
- package/dist/webcomponents/{p-a1b7e2fc.entry.js → p-80a9f84c.entry.js} +1 -1
- package/dist/webcomponents/{p-bc435cae.entry.js → p-86f9d5f6.entry.js} +1 -1
- package/dist/webcomponents/{p-9bd0bb34.entry.js → p-8a5ce8ff.entry.js} +1 -1
- package/dist/webcomponents/p-8d11aa27.entry.js +1 -0
- package/dist/webcomponents/{p-348decec.entry.js → p-9c45729d.entry.js} +1 -1
- package/dist/webcomponents/p-9ed85832.entry.js +1 -0
- package/dist/webcomponents/{p-cb977890.entry.js → p-9f0ef3f3.entry.js} +1 -1
- package/dist/webcomponents/{p-DD9-ceDZ.js → p-B0DHIvEj.js} +1 -1
- package/dist/webcomponents/p-BFi5l0xt.js +1 -0
- package/dist/webcomponents/{p-BnQkpNjd.js → p-BHaO3c8W.js} +1 -1
- package/dist/webcomponents/{p-C2l2dxvr.js → p-Ba0_MQtJ.js} +1 -1
- package/dist/webcomponents/{p-CELpJl4Y.js → p-Bl00tHyn.js} +1 -1
- package/dist/webcomponents/{p-C3geClRX.js → p-ByQMBEDC.js} +1 -1
- package/dist/webcomponents/p-C-buCQRx.js +1 -0
- package/dist/webcomponents/p-CKgQN8v0.js +1 -0
- package/dist/webcomponents/p-CLq3Og7o.js +1 -0
- package/dist/webcomponents/p-CXsRwohv.js +1 -0
- package/dist/webcomponents/p-Cy2N3vAg.js +1 -0
- package/dist/webcomponents/p-CyOXIqHo.js +1 -0
- package/dist/webcomponents/p-D6uhYbLo.js +1 -0
- package/dist/webcomponents/p-DEx8fQeW.js +1 -0
- package/dist/webcomponents/{p-Co3Rtlnu.js → p-DZQBPUfH.js} +1 -1
- package/dist/webcomponents/p-Dn9_7aQh.js +1 -0
- package/dist/webcomponents/{p-gAlfGUcr.js → p-DnLqZpI1.js} +1 -1
- package/dist/webcomponents/{p-CT8oFJ_1.js → p-DsvK2pes.js} +1 -1
- package/dist/webcomponents/{p-BEmZOGbG.js → p-FWuMPTxn.js} +1 -1
- package/dist/webcomponents/p-Fpaf7CLD.js +1 -0
- package/dist/webcomponents/p-a891caf8.entry.js +1 -0
- package/dist/webcomponents/{p-3734d15d.entry.js → p-aebd2149.entry.js} +1 -1
- package/dist/webcomponents/{p-6ab4c4e0.entry.js → p-af728bc6.entry.js} +1 -1
- package/dist/webcomponents/p-b6ce91f0.entry.js +1 -0
- package/dist/webcomponents/{p-16471ba1.entry.js → p-b9664e84.entry.js} +1 -1
- package/dist/webcomponents/{p-b17fabdc.entry.js → p-b98ea26a.entry.js} +1 -1
- package/dist/webcomponents/{p-61eae8cd.entry.js → p-c4889a06.entry.js} +1 -1
- package/dist/webcomponents/p-c6f85bef.entry.js +1 -0
- package/dist/webcomponents/p-ca6c5365.entry.js +1 -0
- package/dist/webcomponents/p-d05257f9.entry.js +1 -0
- package/dist/webcomponents/p-d2e890a3.entry.js +1 -0
- package/dist/webcomponents/p-d397b38f.entry.js +1 -0
- package/dist/webcomponents/{p-ecaec672.entry.js → p-d446ab68.entry.js} +1 -1
- package/dist/webcomponents/{p-49e40ebe.entry.js → p-d4de565d.entry.js} +1 -1
- package/dist/webcomponents/{p-b945fa49.entry.js → p-d555220f.entry.js} +1 -1
- package/dist/webcomponents/p-dd4eea27.entry.js +1 -0
- package/dist/webcomponents/{p-836c4136.entry.js → p-ddba9ab3.entry.js} +1 -1
- package/dist/webcomponents/p-e0bce67a.entry.js +1 -0
- package/dist/webcomponents/p-e1e5bddf.entry.js +1 -0
- package/dist/webcomponents/{p-b9b5d046.entry.js → p-e55216fb.entry.js} +1 -1
- package/dist/webcomponents/{p-cb5d2198.entry.js → p-ead48010.entry.js} +1 -1
- package/dist/webcomponents/{p-ecbed9bc.entry.js → p-f8764c8e.entry.js} +1 -1
- package/dist/webcomponents/{p-ead927fb.entry.js → p-fa2e7534.entry.js} +1 -1
- package/dist/webcomponents/p-fda6f27d.entry.js +1 -0
- package/dist/webcomponents/p-rznJBkm3.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-0464be7b.entry.js +0 -1
- package/dist/webcomponents/p-0c1cc1e9.entry.js +0 -1
- package/dist/webcomponents/p-1208da06.entry.js +0 -1
- package/dist/webcomponents/p-13cbf119.entry.js +0 -1
- package/dist/webcomponents/p-1491320a.entry.js +0 -1
- package/dist/webcomponents/p-15934f30.entry.js +0 -1
- package/dist/webcomponents/p-38bdce5d.entry.js +0 -1
- package/dist/webcomponents/p-3ef039ec.entry.js +0 -1
- package/dist/webcomponents/p-488dc072.entry.js +0 -1
- package/dist/webcomponents/p-49f279c3.entry.js +0 -1
- package/dist/webcomponents/p-4d60d249.entry.js +0 -1
- package/dist/webcomponents/p-558677a7.entry.js +0 -1
- package/dist/webcomponents/p-568b81a2.entry.js +0 -1
- package/dist/webcomponents/p-5f7137db.entry.js +0 -1
- package/dist/webcomponents/p-6f34fa90.entry.js +0 -1
- package/dist/webcomponents/p-760f423b.entry.js +0 -1
- package/dist/webcomponents/p-79fd9000.entry.js +0 -1
- package/dist/webcomponents/p-8fO8CrtQ.js +0 -1
- package/dist/webcomponents/p-9c506058.entry.js +0 -1
- package/dist/webcomponents/p-9e9dcc20.entry.js +0 -1
- package/dist/webcomponents/p-B_uQqefL.js +0 -1
- package/dist/webcomponents/p-BjNqkh37.js +0 -1
- package/dist/webcomponents/p-C1PEDhkE.js +0 -1
- package/dist/webcomponents/p-CMvr3y5s.js +0 -1
- package/dist/webcomponents/p-CaLXuYmg.js +0 -1
- package/dist/webcomponents/p-ChiCyW0k.js +0 -1
- package/dist/webcomponents/p-D1H6VUbM.js +0 -1
- package/dist/webcomponents/p-DNxN6bjU.js +0 -1
- package/dist/webcomponents/p-DkoufM1t.js +0 -1
- package/dist/webcomponents/p-Dl0CAW76.js +0 -1
- package/dist/webcomponents/p-a14d3d7d.entry.js +0 -1
- package/dist/webcomponents/p-bbd403f5.entry.js +0 -1
- package/dist/webcomponents/p-c4799285.entry.js +0 -1
- package/dist/webcomponents/p-d4208a51.entry.js +0 -1
- package/dist/webcomponents/p-d6122124.entry.js +0 -1
- package/dist/webcomponents/p-de8c6cd4.entry.js +0 -1
- package/dist/webcomponents/p-ee108873.entry.js +0 -1
- package/dist/webcomponents/p-f6941969.entry.js +0 -1
- package/dist/webcomponents/p-mjjqv7AN.js +0 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const PAYPAL_SANDBOX_SCRIPT_URL = 'https://www.sandbox.paypal.com/web-sdk/v6/core';
|
|
2
|
+
export const PAYPAL_PRODUCTION_SCRIPT_URL = 'https://www.paypal.com/web-sdk/v6/core';
|
|
3
|
+
export const PAYPAL_SCRIPT_DATA_TEST_ID = 'paypal-script';
|
|
4
|
+
export const PAYPAL_COMPONENTS = ['paypal-payments', 'venmo-payments'];
|
|
5
|
+
export const PAYPAL_PAGE_TYPE = 'checkout';
|
|
6
|
+
export const PAYPAL_DEFAULT_CURRENCY = 'USD';
|
|
7
|
+
export const PAYPAL_PRESENTATION_MODE = 'auto';
|
|
8
|
+
/** Venmo only settles in USD, and the checkout payload carries no country. */
|
|
9
|
+
export const VENMO_SUPPORTED_CURRENCY = 'USD';
|
|
10
|
+
/** `test` checkouts talk to PayPal's sandbox; everything else goes to production. */
|
|
11
|
+
export const paypalScriptUrl = (mode) => mode === 'test' ? PAYPAL_SANDBOX_SCRIPT_URL : PAYPAL_PRODUCTION_SCRIPT_URL;
|
|
12
|
+
export const PaypalErrorCode = {
|
|
13
|
+
CONFIG_ERROR: 'CONFIG_ERROR',
|
|
14
|
+
INITIALIZATION_ERROR: 'INITIALIZATION_ERROR',
|
|
15
|
+
ORDER_ERROR: 'ORDER_ERROR',
|
|
16
|
+
PAYMENT_FAILED: 'PAYMENT_FAILED',
|
|
17
|
+
};
|
|
@@ -127,7 +127,7 @@ export class JustifiOrderTerminals {
|
|
|
127
127
|
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))));
|
|
128
128
|
}
|
|
129
129
|
render() {
|
|
130
|
-
return (h(StyledHost, { key: '
|
|
130
|
+
return (h(StyledHost, { key: '284975f2cc9a27877e8ede55097cfeef7d951cf1' }, h("div", { key: '1be899276b0b935738a916773f310d2c2d60e29a', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
131
131
|
}
|
|
132
132
|
static get is() { return "justifi-order-terminals"; }
|
|
133
133
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class TerminalQuantitySelector {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: 'f7799c1d0227b5794b238a99498e013b4cd2b2a6', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: '4b378463cac2c44c7fbd51e7911bcc9e951b4ba6', class: "d-flex gap-3" }, h("div", { key: 'd3275100504d1d6d2497282490b75d6da276e10a', class: "d-flex align-items-center" }, h("img", { key: '02a49684a5e7d789c435434e7da893ff16d16667', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: 'c11f0de1b3a39f0186e67ef3b957751d1a922fec', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: 'b605ffb5ca6a40ef1dcc32d2d9512826801c4a93', class: "row" }, h("div", { key: 'd5d2100f79930910019684bd22490292772e8593', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: 'ea39d5ac542abd22557986d68dbf61b8ddb5de00', helpText: this.description })), h("div", { key: '6755799b1b82b9287abf4f65051e96f71520e3fd', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '6902240a7b4575430fe36edffa74026f8192b12b', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '7bf497d2f874bf9c08dfffec66aea1c300a2faf5', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '20ac1180b5c1e4313d78d510af5f275377423968', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "terminal-quantity-selector"; }
|
|
24
24
|
static get properties() {
|
|
@@ -81,16 +81,16 @@ export class JustifiPaymentDetails {
|
|
|
81
81
|
return this.payment.status;
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h(StyledHost, { key: '
|
|
85
|
-
this.payment && (h("justifi-details", { key: '
|
|
86
|
-
h(DetailSectionTitle, { key: '
|
|
87
|
-
h("div", { key: '
|
|
84
|
+
return (h(StyledHost, { key: 'b77daed074c1f07abcfeee7638fbf647b069bde1' }, this.loading && h(PaymentDetailsLoading, { key: '45a19735c7e7701b296b965089b6ef1ede777124' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
85
|
+
this.payment && (h("justifi-details", { key: '502d8daa5846c5cc788c14be4cd057d895d2a7fd', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: '6ff5ebc6ef1b77b1cbcc2ca208685537c1645d3a', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.PaymentStatus), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: 'a897ad7896a9799c93359385e58411e545a61d90', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '81fbaad82e06b4812dfb160ab5f02d4f869b93fa', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: 'f5082d85c20ce6bd99e064bca362cd4aadee681f', title: "ID", value: this.payment.id })), h("div", { key: 'c15a688cbbde60de1b8c1c6039eb96b007f825f6', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '1fdc9a1a427eef5ea84d19980888fdd0e0fd466f', sectionTitle: "Details" }), h("div", { key: 'd9bcd098ad4872100efba37fe193c118ec2a38b6', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '782927345108d65ec1d8ebfa62334f62b1c653ac', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '1c7e30ecc5b221c4216e3ad62286e315add6c674', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '1dea42fd59f8df49a511501f6c20a2239f412170', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: 'daa6a42ac01396f59e74da0d652b573ad45210b9', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '5357b6c460c0ffe3a43b256b51e2b357fb05dd56', title: "Status", value: MapPaymentStatusToBadge(this.PaymentStatus) }), h(DetailItem, { key: 'cf46249e7c4257997d08ca5fb8228e0426628dd8', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '7517d6cae93f52f38c0610e9f7a67752f8b7883a', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '605d9022e18e47a99b77e63b7ca7ceb37c3ec5c4', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '853ec1f5830af8da7e9661fff631ef40a8bd18e8', title: "Description", value: this.payment.description }), h(DetailItem, { key: '202359a55318667dec12aec368600083f623448b', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
86
|
+
h(DetailSectionTitle, { key: '422d91eeafdfd0562f277ab9962e07dd6223298f', sectionTitle: "Payment Method" }),
|
|
87
|
+
h("div", { key: '8d5d46182aa5530c6a043ad547c6d1bc98f7f61d', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '1b5e9376aea8ec371d882fa1e537124c99ab2506', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'bc3c4eb6bd54360e0d715968e9b2c476c904afcf', title: "Payment Type", value: "Card" }), h(DetailItem, { key: 'b6b020a7372d3256d2fd8296788afbfb4c771075', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '38b37931c22669c0d2914d9480891a08215259d2', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '74d43cadb0a8bff45e84cd7c8cb8384c309a7439', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
88
88
|
], this.payment.payment_method.bank_account && [
|
|
89
|
-
h(DetailSectionTitle, { key: '
|
|
90
|
-
h("div", { key: '
|
|
89
|
+
h(DetailSectionTitle, { key: '90c6d65d001e6a5d6d608858c12a39fa976c672d', sectionTitle: "Payment Method" }),
|
|
90
|
+
h("div", { key: '6907fb557de0817d22d150770d5fcfe21bacaa4a', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '5cc2abe0007d5527563c8c1893c104a6464ab467', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'bc743e7e9fccd70e7a7ea75031e5d605066fbcf2', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: 'd708a73bbe7df3f1e858b3a596e1fb5b38e4e2a4', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '5975c7912a3e0dc2f706d1d9b3d47b21bcebc8a9', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
91
91
|
], this.payment.metadata && [
|
|
92
|
-
h(DetailSectionTitle, { key: '
|
|
93
|
-
h("div", { key: '
|
|
92
|
+
h(DetailSectionTitle, { key: '197374ce471a49da70ac888d17a5d7ab2a048e5b', sectionTitle: 'Metadata' }),
|
|
93
|
+
h("div", { key: 'a5e94195d5b193aac71fae2ec02cb9be966cca91', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '0b909d0164abd958eba48461fd816ef6001b3e2b', metadata: this.payment.metadata }))
|
|
94
94
|
])))));
|
|
95
95
|
}
|
|
96
96
|
static get is() { return "justifi-payment-details"; }
|
package/dist/collection/components/payment-transactions-list/justifi-payment-transactions-list.js
CHANGED
|
@@ -91,7 +91,7 @@ export class JustifiPaymentTransactionsList {
|
|
|
91
91
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (h(StyledHost, { key: '
|
|
94
|
+
return (h(StyledHost, { key: '0f3e26b2c3f60508208665182d225851b661ce52' }, h(TableWrapper, { key: 'cec0e06941349943965f48f1724891b08eb2a9f0' }, h(TableComponent, { key: '0cc4ed8dba379a5007129098d9fafc666771bd68' }, h(TableHead, { key: '2cf86dc1d70add019c7a60a19776926987c6669d' }, h(TableHeadRow, { key: '26ee0bade994b3f103fbf143974095e24df3100f' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '68e61b6f6ce309c66444868cc76fa5d5975cbf51' }, h(TableLoadingState, { key: 'd71b0929a60dd74f1cd14e4bbafe2030f50fdd1f', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: 'cb9ff5c2f19c506cb04dd0ff89e1ac3b2d9477cc', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: 'cc194ed6bd9985ecc11052159636abf93d72baa1', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '466be6cad4dc5aa82d492758845a36ab7ded07cb' }, h(TableFootRow, { key: '635a3e29fd03027eae0430afe0777905342bda35' }, h(TableFootCell, { key: '87cacd49245ab6e07ae7c2adef2cb26561fae1c6', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '3b54af40f5aa9ac5e1198fc52218ec887cbd4e59', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
95
95
|
}
|
|
96
96
|
static get is() { return "justifi-payment-transactions-list"; }
|
|
97
97
|
static get encapsulation() { return "shadow"; }
|
|
@@ -54,8 +54,8 @@ export class JustifiPaymentsListFilters {
|
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
56
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
57
|
-
return (h(StyledHost, { key: '
|
|
58
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
57
|
+
return (h(StyledHost, { key: 'f19bb83c021b72fc0cba7ac570411276e3a8cd2a' }, h("table-filters-menu", { key: '2427475b87179e05fc44995b57fc2be9b9c23a22', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'f6c00222acbda692bfc96a77f790c0b9f92a0b06', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '924bf8180a4c78d0899c58ad3c306d7af31b9c72', class: "p-2" }, h("form-control-text", { key: '29e7f5d581a78b9c843a844636cfebf17ec196c1', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: filterParam })), h("div", { key: '92edd8c13e031b568d6beb928eb41037726666dd', class: "p-2" }, h("form-control-text", { key: '61ac4d0412a50c2fef1fc9564fde8312055a6a4a', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: filterParam })), h("div", { key: '1463d128da8051d6b7e94921f87534bd24134293', class: "p-2" }, h("form-control-select", { key: 'c8234d00cd7caee263daf3f585cffb6dc113d666', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status || '', disabled: !!this.paymentStatus, part: filterParam })), h("div", { key: '89b8c58f7aca4272157e420efa3185372ccab934', class: "p-2" }, h("form-control-select", { key: '4c872ce7bd1064c7eb16ce9aa715088ab2e9be51', name: "payment_mode", label: "Payment Mode", options: this.paymentModeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentMode || filterParams.payment_mode || '', disabled: !!this.paymentMode, part: filterParam })), h("div", { key: 'ffda8cfc8bdc3599d952f9efbcd1b2465d6e601c', class: "p-2" }, h("form-control-text", { key: 'd165ec8d4dcee2d9a7b6c519afb7ae40b6e00c4d', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: '931df5bc1d177f69699552b04e62070fcf707a3c', class: "p-2" }, h("form-control-text", { key: 'b062770ff72d40f3057cd80a187fd9c67bae0e62', name: "account_holder", label: "Account Holder", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.accountHolder || filterParams.account_holder, disabled: !!this.accountHolder, part: filterParam })), h("div", { key: 'a56ee10b2dfe557e548d58910be9279ce1d68b60', class: "p-2" }, h("form-control-date", { key: '07e1be45c6ab427760f0aa33235242b6073648d5', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
58
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'd89eb4e09a2e402c5cbfc293fcba7b9d17da2f86', class: "p-2" }, h("form-control-date", { key: '45dc2a2e1a2532f6cd2eac9e9e8deeb1e3cd3ea8', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
59
59
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "justifi-payments-list-filters"; }
|
|
@@ -120,7 +120,7 @@ export class JustifiPaymentsList {
|
|
|
120
120
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
121
121
|
}
|
|
122
122
|
render() {
|
|
123
|
-
return (h(StyledHost, { key: '
|
|
123
|
+
return (h(StyledHost, { key: '1972d732d49fe3a0a524ae0ee3d14ff83e06c2f9' }, h(TableWrapper, { key: '2d4128fa0009f52360cf4a3697cfc15b48aea427' }, h(TableComponent, { key: '706302e94182be3478042c2ee0682287707f2e15' }, h(TableHead, { key: 'da6aa068b37defc4842c6216376885042daeee48' }, h(TableHeadRow, { key: '5eb0983ca580e184d3ca929aae65a344c133be9d' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '1c16641af3360d379f8dc43ca6fa0cdf41d18b1f' }, h(TableLoadingState, { key: '366b17d968c56c1d4dedfe7ddae878a5ac952405', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '7f43460204035b6a2c67e8fc0bbad44f56b659e9', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: 'd9f7f73b5966ef80dacc5c76117e8dc3aff7c63c', columnSpan: this.paymentsTable.columnData.length, errorMessage: this.errorMessage }), this.showRowData && this.paymentsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'e1bee3c78a56cec11277aba514607808e46476f3' }, h(TableFootRow, { key: '007da5d4cf7fd60103860edb7cec1d01bd2eae22' }, h(TableFootCell, { key: '3e16c5cd9531a459afd9d41067154a432c71f410', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '1b218b16bd172d16337aba09f659eb2cf80f3352', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
124
124
|
}
|
|
125
125
|
static get is() { return "justifi-payments-list"; }
|
|
126
126
|
static get encapsulation() { return "shadow"; }
|
|
@@ -102,9 +102,9 @@ export class JustifiPayoutDetails {
|
|
|
102
102
|
}
|
|
103
103
|
render() {
|
|
104
104
|
var _a, _b, _c, _d;
|
|
105
|
-
return (h(StyledHost, { key: '
|
|
106
|
-
h(DetailSectionTitle, { key: '
|
|
107
|
-
h("div", { key: '
|
|
105
|
+
return (h(StyledHost, { key: '899fa61338dbe116af651f6ad0152c2dc14fbf61' }, this.loading && h(PayoutDetailsLoading, { key: '9e21380d401579641ca16c363a00ea6ecd9f61b1' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '7b23540ccf9f191975d83440a68ae0595eb2fabb', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: '00ca451633056cf0cdad793acb371778be308f6c', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPayoutStatusToBadge((_a = this.payout) === null || _a === void 0 ? void 0 : _a.status), this.payout.settlement_priority === 'expedited' ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : (h(Badge, { variant: BadgeVariant.SECONDARY, title: "Standard", text: "Standard" })))), title: this.payout.formattedPaymentAmount(this.payout.amount) }, h(EntityHeadInfoItem, { key: '7d6ca04b51a4a9907601fcae476bf658ee9b7b8b', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '7291696446fb9a9ddbf13efddf7a5bef18917fde', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '38395da0eff4c0ab3fe50a11bc41594d7ef1a8ad', title: "ID", value: this.payout.id }), h("div", { key: '0ed9d1ea18334ca2ea934786d6f364d9334353ff', class: "m-4" }, h(Button, { key: 'f4c5a405a44348b126cdfe9e7d8306002924c6da', variant: "outline-secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '7fa020fa0869a79f69f25a94686cffc55ed55abb', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '5ae249801cba2e7108192f009336407584b0a696', sectionTitle: "Details" }), h("div", { key: 'c47753696f189b27cae9d9b2d8e3ffc7b696d97a', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'c72a1cf30a86dfa619abfa95537f6f8cbe090fd9', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'b3b7529bafd7dae550d5abe4fdf46a871ad15d62', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '4c7c0b7b9bd1a1661970c00cc01694c288eef5da', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: '147f3397fcb22d4082dd310473b033e50fefcc07', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: 'f98d5fc22dbad10d8118d119519836d133f50ef4', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '40217aad4d193a8e9fc4b3819dfdacf78ec31210', sectionTitle: "Account" }), h("div", { key: 'ab17558eb748976a2ec247a1626bad303699a354', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '7d2013213d30b4ae9a58ae5792ff06f6deeaf178', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: '77a51dedbc06b0e4d28f27d143328e10bda8e285', title: "Account Type", value: (_b = this.payout.bank_account) === null || _b === void 0 ? void 0 : _b.account_type }), h(DetailItem, { key: '97ade8fb490f43f946d82856ae2925488c3d73b1', title: "Institution", value: (_c = this.payout.bank_account) === null || _c === void 0 ? void 0 : _c.account_type }), h(DetailItem, { key: 'b52ae17aa886bc162489fa23b813e7b574b1fd71', title: "Routing Number", value: (_d = this.payout.bank_account) === null || _d === void 0 ? void 0 : _d.routing_number }), h(DetailItem, { key: '4c3d5fab0b5c82e93dd4159b07c01a59f7c14f90', title: "Account Number", value: this.payout.bank_account ? `**** ${this.payout.bank_account.account_number_last4}` : undefined })), this.payout.metadata && [
|
|
106
|
+
h(DetailSectionTitle, { key: '9ff7d9b59935cd8a03b2aba8869173ebe3f90131', sectionTitle: 'Metadata' }),
|
|
107
|
+
h("div", { key: '6eb713e51a1c70db27881d7239455bf47e9158b2', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'cf460293bdd2c278ca9d9a4f5fad71c473b5a656', metadata: this.payout.metadata }))
|
|
108
108
|
])))));
|
|
109
109
|
}
|
|
110
110
|
static get is() { return "justifi-payout-details"; }
|
package/dist/collection/components/payout-transactions-list/justifi-payout-transactions-list.js
CHANGED
|
@@ -95,7 +95,7 @@ export class JustifiPayoutTransactionsList {
|
|
|
95
95
|
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
return (h(StyledHost, { key: '
|
|
98
|
+
return (h(StyledHost, { key: '3d9b9479726dcfe62fc70ebefb57a56e2ea62a35' }, h(TableWrapper, { key: '209c0c312f8c110cbbc68f74a30dd635d9eb736f' }, h(TableComponent, { key: 'b141a06b688e8feeb2e45ddd03c5f5a0315213d1' }, h(TableHead, { key: '0d7b69a7a2611517f28cd59c48f5820979bad9df' }, h(TableHeadRow, { key: 'f5520cd56d00855566dcd2bbcacb5f8f28a0f552' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'b6082fab5bbfb059f03677a5a04496c835cfe15a' }, h(TableLoadingState, { key: '99bfc2ec5a77f338c3da293fef90e2ac93f9a4b9', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '933501b918389f8aa5df515a05db4dbfdcb842d2', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '2b4ba69682b2633ca70941e53d2775b88a9d4222', columnSpan: this.transactionsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.transactionsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'ed6f56fd8dcee6c2327066eb09a8a39c122000d3' }, h(TableFootRow, { key: '763336a3b90b2c6433a91fff8a29bc3efd0c29c6' }, h(TableFootCell, { key: '91b2bc9767aa3cc1c5b860cad877b91abc4cf504', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: 'c78f9bf45e68e859027260671379779f4794e178', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
99
99
|
}
|
|
100
100
|
static get is() { return "justifi-payout-transactions-list"; }
|
|
101
101
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,8 +39,8 @@ export class JustifiPayoutsListFilters {
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
42
|
-
return (h(StyledHost, { key: '
|
|
43
|
-
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
42
|
+
return (h(StyledHost, { key: 'df8048dae4bc40f8736e10a9288a274bd52d862c' }, h("table-filters-menu", { key: '6ebfb5f5f3a9aaba4b8cf490fc97ab7f4d076a8c', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'd18a0c09e5ea1afac91db9f00c15fa4c8c324045', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '31f7705449fefaee5ccfacedbb4e643dce38a0e3', class: "p-2" }, h("form-control-select", { key: '0a922f2694866148e22ba4ddd055731a5aff4a2c', name: "status", label: "Status", options: this.statusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.status || filterParams.status || '', disabled: !!this.status, part: filterParam })), h("div", { key: 'aa484b1b5344206a80110b870fff54a189a2129f', class: "p-2" }, h("form-control-date", { key: '7a3882d54359b913b1ab81958d710b51a028072e', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
|
|
43
|
+
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '0a58445d63237e1b4ea462ed5cbc13cde22385b8', class: "p-2" }, h("form-control-date", { key: '80a5a37baf40d3d0f478cff6577276e78063b6dc', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
|
|
44
44
|
convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: filterParam }))))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "justifi-payouts-list-filters"; }
|
|
@@ -187,7 +187,7 @@ export class JustifiPayoutsList {
|
|
|
187
187
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
188
188
|
}
|
|
189
189
|
render() {
|
|
190
|
-
return (h(StyledHost, { key: '
|
|
190
|
+
return (h(StyledHost, { key: '5ea168d699ad120a1edc89d53a93e9a7132e8649' }, h(TableWrapper, { key: '909b379dc668dfe2c2eda85116fe5e36c268a007' }, h(TableComponent, { key: '1d50aae5d4984dac6986852ba4c735e384738002' }, h(TableHead, { key: 'f240bb7a39c41cf7d1a52fca286747133aa45139' }, h(TableHeadRow, { key: 'e557dc2eab47cfdf483fc2d74c149b75d9d63932' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '8c9c206ebb7349c8c3dad8e06339f180282d0a5d' }, h(TableLoadingState, { key: '63dd3b915b845c2df711d6a0ec3e9a4f07925fc3', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '7ae4683df6aef24693f309340abb9cf315a9b848', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '4b979bc97e74301f34139edc423591b666f1b18c', columnSpan: this.payoutsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.payoutsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '0c46552b9ad13d6e1c32964d474a3c6377c195a2' }, h(TableFootRow, { key: '0ae301fcc846334aa477ec590ab937d98e9f8483' }, h(TableFootCell, { key: 'f6f892e5bdbcfd26155a4353e3dc37ee9356a464', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '54d308ee5a8dee1ca8f43fd02785c62a3a4c7bea', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
191
191
|
}
|
|
192
192
|
static get is() { return "justifi-payouts-list"; }
|
|
193
193
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/terminal-orders-list/justifi-terminal-orders-list-filters.js
CHANGED
|
@@ -50,9 +50,9 @@ export class JustifiTerminalOrdersListFilters {
|
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
52
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
53
|
-
return (h(StyledHost, { key: '
|
|
54
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
55
|
-
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam })), h("div", { key: '
|
|
53
|
+
return (h(StyledHost, { key: '1bc6c29e9b0be43340dbff065d9b68d94a0182b8' }, h("table-filters-menu", { key: 'cc983e668c6b8240f72fa4cf661fbd905c4fed63', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '12101650ec959fbb4b6bb0f9bafbe9b73dbbcdd6', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '5a3f20e1f29a56ab2dd6f567a6f6e6cac7682edd', class: "p-2" }, h("form-control-select", { key: 'a8d06a90332448774df3a2294e7f05bb56508bc5', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status || '', disabled: !!this.orderStatus, part: filterParam })), h("div", { key: 'db0d8109f007ce14c7a75b3500cd2f14fde5b2f0', class: "p-2" }, h("form-control-select", { key: '50c1ac1d0bebafdbdb2926d73ca11939427f8701', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type || '', disabled: !!this.orderType, part: filterParam })), h("div", { key: '8c9b32bd2f9090d59653dc6b44cef6b0df3e8bea', class: "p-2" }, h("form-control-date", { key: '25084cfa368e5b8d2872b67b6426a432b51514ed', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
54
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '6119c6dd61e53954afe3b84cf80156c6013d529a', class: "p-2" }, h("form-control-date", { key: 'fa1bfad0998568cdfdb304817cb44be8f01c100f', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
55
|
+
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam })), h("div", { key: '3361704d27a4b8b0d9a68bb9934b588e71149764', class: "p-2" }, h("form-control-text", { key: '80f8d7bf015466e8bc521b6a230e118f0c57289e', name: "company_name", label: "Company Name", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.companyName || filterParams.company_name, disabled: !!this.companyName, part: filterParam }))))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "justifi-terminal-orders-list-filters"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -125,8 +125,8 @@ export class JustifiTerminalOrdersList {
|
|
|
125
125
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
126
126
|
}
|
|
127
127
|
render() {
|
|
128
|
-
return (h(StyledHost, { key: '
|
|
129
|
-
this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '
|
|
128
|
+
return (h(StyledHost, { key: '7b803503d5cf3086abd05e1f4aa9579eb9f59b88' }, h(TableWrapper, { key: '455a2d115788de71fb27f172f404e5702a089484' }, h(TableComponent, { key: 'fe67da8a9c8f8de5025bee2ea2898da4e31d2b20' }, h(TableHead, { key: 'c6f04a3a47e2a2401f83d2644cf53574c565dd28' }, h(TableHeadRow, { key: 'afeb4c45e315337faf683ec96d4602a7525efe2f' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '16e226273ab43d6a2d818c2db51752215d215749' }, h(TableLoadingState, { key: '668ac3b5f4fd091e42d1c835a002787a70924db1', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'd154e795f3f202b7a7adb90ef375a1b79e45469b', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: 'a2b21c0335d8d538194329cbc3938f70b0ee5ecc', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData &&
|
|
129
|
+
this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: 'ed6c4c9993aa5db0f39fc04f30c0f5432dfb922e' }, h(TableFootRow, { key: '0887b03bf1109312a2531ef832175ac01fe88270' }, h(TableFootCell, { key: '913efcfe5f17b1da60002fc87a7de42940e5abe3', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '0149a80b7f5173f5426fe50a610a8554052158e8', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
130
130
|
}
|
|
131
131
|
static get is() { return "justifi-terminal-orders-list"; }
|
|
132
132
|
static get encapsulation() { return "shadow"; }
|
|
@@ -45,7 +45,7 @@ export class JustifiTerminalsListFilters {
|
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
47
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
48
|
-
return (h(StyledHost, { key: '
|
|
48
|
+
return (h(StyledHost, { key: 'e100df8270dd8161d6f5fb70e3b78bcad2e4612c' }, h("table-filters-menu", { key: '481e098de0f5c520b42d0c321df905e84bf9d0c3', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'd8181b09fa3f494c6f7d48dd610e916f069d8195', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '7f8c5d3ad775d5370cba8c7fe8f832a4e18659b2', class: "p-2" }, h("form-control-text", { key: '13f4fe6dbea072f1f6467212e934252c2ff088fa', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: filterParam })), h("div", { key: 'fb8d89eb35b33beffc3a5f341d7ebaedad512c2f', class: "p-2" }, h("form-control-text", { key: '73a8d8680dbb31a7cc35e3ac6a7546c8196d4098', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: filterParam })), h("div", { key: '58ffd48fe77453245d051ead6a42ec55c0fe2d81', class: "p-2" }, h("form-control-text", { key: '8973954bde30170f91ecbf438569b5fbfea4ae0a', name: "provider_id", label: "Device ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.providerId || filterParams.provider_id, disabled: !!this.providerId, part: filterParam })), h("div", { key: '1cba8b5382df17110a48f86f0ff46ad4c7eea35a', class: "p-2" }, h("form-control-text", { key: 'ab588ac44e829e55071ab7b4f6d2ddbdd0cf435b', name: "serial_number", label: "Serial Number", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.serialNumber || filterParams.serial_number, disabled: !!this.serialNumber, part: filterParam })), h("div", { key: 'ae41699df40190aefbc09ba3497519a050ebc6da', class: "p-2" }, h("form-control-select", { key: '109661d1e1717cd5aab82ba546524a25db06da3f', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status || '', disabled: !!this.terminalStatus, part: filterParam })), h("div", { key: '40dd14fd0d6107205b03e3a8c8baf44479bb1d28', class: "p-2" }, h("form-control-date", { key: '28ef5af635464ac1bab23b36bd20706db8c170e5', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter || filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'b1a86e71311e23d7357aa76aa39516a7b29b1ddb', class: "p-2" }, h("form-control-date", { key: '6b8c0cc26a1de911cd8edfc22f2f5bff8ea1f1a5', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore || filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "justifi-terminals-list-filters"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -168,7 +168,7 @@ export class JustifiTerminalsList {
|
|
|
168
168
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
169
169
|
}
|
|
170
170
|
render() {
|
|
171
|
-
return (h(StyledHost, { key: '
|
|
171
|
+
return (h(StyledHost, { key: 'f5e035ad6cbe9693ce0a29e36d14278d5224eeb3' }, h(TableWrapper, { key: 'bea0034ac9f41ac47556bf6536e24a3b700710a4' }, h(TableComponent, { key: '6c12904931722da0e3bc6747e7f6163d2d12f749' }, h(TableHead, { key: 'c877fa13f3e9fae282ad0709143e8a3fd6515422' }, h(TableHeadRow, { key: 'd49940b86aa8d64e272b16fc1e8d697f8e337a35' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '75e0e101683f678015a79074ce196343cfab689b' }, h(TableLoadingState, { key: '25110bdfbd4e07caebf67ccab9ffd53ef006cb10', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '5921d80f047c9c34146ec585cfb914e813abdffd', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '0894247ae6a79ee9928d4e4c5b77d5e5c0ce3435', columnSpan: this.terminalsTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalsTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '32ba2beb908ed756541c760fe2027631ac40d6cb' }, h(TableFootRow, { key: '4894339ca7c22087ad9b6452f1c42dc3c2b53218' }, h(TableFootCell, { key: '4013c7c6eeae5d152a0bd3145113fb9d403d2e02', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '5c4ee6431d6b291ace0671d47165ae579e7b3f67', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
172
172
|
}
|
|
173
173
|
static get is() { return "justifi-terminals-list"; }
|
|
174
174
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/tokenize-payment-method/justifi-tokenize-payment-method.js
CHANGED
|
@@ -262,7 +262,7 @@ export class JustifiTokenizePaymentMethod {
|
|
|
262
262
|
} }));
|
|
263
263
|
}
|
|
264
264
|
render() {
|
|
265
|
-
return (h(StyledHost, { key: '
|
|
265
|
+
return (h(StyledHost, { key: '73aeacd6caa05ef5e126a6577c22464eacfc6d96' }, h("form", { key: '7c1ddd145c53590fb1b9522ea8dbd52339817754' }, h("fieldset", { key: '38bb226348b721f01f900930710f6b705d5a96ed' }, h("div", { key: 'b4f27d1e36c4d5e37190fa99b79c36cf00a8d9a3', class: "row gy-3" }, h("div", { key: '85ae7c532c3c6056d5122cfd30fd4e2b75cf82f9', class: "col-12" }, this.availablePaymentMethods.map((method) => this.renderPaymentMethodOption(method))), h("div", { key: '7727760fa2ccbaff134fa95e338406224bc8d787', class: "col-12" }, h("internal-button", { key: '9f268e40c2d37a0d8ba423ad6dffe88c4cab3bc3', text: this.submitButtonText, variant: "primary", type: "submit", clickHandler: (e) => this.tokenizePaymentMethod(e), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.computedHideSubmitButton })))))));
|
|
266
266
|
}
|
|
267
267
|
static get is() { return "justifi-tokenize-payment-method"; }
|
|
268
268
|
static get encapsulation() { return "shadow"; }
|
|
@@ -11,6 +11,8 @@ const initialState = {
|
|
|
11
11
|
isWalletProcessing: false,
|
|
12
12
|
applePayEnabled: false,
|
|
13
13
|
googlePayEnabled: false,
|
|
14
|
+
paypalEnabled: false,
|
|
15
|
+
paypalProviderClientId: '',
|
|
14
16
|
achPaymentsEnabled: false,
|
|
15
17
|
insuranceEnabled: false,
|
|
16
18
|
bnplProviderApiVersion: '',
|
|
@@ -76,6 +78,9 @@ export function getAvailablePaymentMethodTypes() {
|
|
|
76
78
|
if (checkoutStore.googlePayEnabled) {
|
|
77
79
|
methods.push(PAYMENT_METHODS.GOOGLE_PAY);
|
|
78
80
|
}
|
|
81
|
+
if (checkoutStore.paypalEnabled) {
|
|
82
|
+
methods.push(PAYMENT_METHODS.PAYPAL);
|
|
83
|
+
}
|
|
79
84
|
if (checkoutStore.bankAccountVerification === true &&
|
|
80
85
|
!checkoutStore.disableBankAccount &&
|
|
81
86
|
achAllowedForCheckout) {
|
|
@@ -108,7 +108,7 @@ export class CustomPopper {
|
|
|
108
108
|
this.hideEvent.emit();
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h("div", { key: '
|
|
111
|
+
return (h("div", { key: '61790eb722733619b1381ca6dddc64df8bacc7c9' }, h("style", { key: '805bdc19dae8baedc32b28aad7bb3c7726687ab0' }, `
|
|
112
112
|
.popper-content {
|
|
113
113
|
display: none;
|
|
114
114
|
}
|
|
@@ -116,7 +116,7 @@ export class CustomPopper {
|
|
|
116
116
|
display: block;
|
|
117
117
|
z-index: 1030;
|
|
118
118
|
}
|
|
119
|
-
`), h("div", { key: '
|
|
119
|
+
`), h("div", { key: 'eb28f18e151ec99bda5dc22f245079b6fc799654', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '541cfab39f08ab47b33df53bf914ffb513301bd4' }))));
|
|
120
120
|
}
|
|
121
121
|
static get is() { return "custom-popper"; }
|
|
122
122
|
static get properties() {
|
|
@@ -34,10 +34,10 @@ export class FormControlCheckbox {
|
|
|
34
34
|
return inputCheckbox;
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
|
-
return (h(Host, { key: '
|
|
37
|
+
return (h(Host, { key: '9ea01cd4924c033667f62b7aa40d58b5faccc031' }, h("div", { key: '88d3b33c11dbbe42e0fb297897488b0ba556d651', class: 'form-group d-flex flex-column' }, h("div", { key: '90207e47e5894596fce269e55ba2c6e9d0e01956', class: "form-check" }, h("input", { key: 'ab0d509ef0767fe895ee97d307e9b7c1ae4ee74c', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
38
38
|
this.isFocused = false;
|
|
39
39
|
this.formControlBlur.emit();
|
|
40
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '
|
|
40
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, checked: this.checked }), h("label", { key: '3b073d6d6c8be7ed363d2fe58a23938151a38470', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '5e0718d4617805c9dcf80e3152df0064cf479f8b', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '03480fb80e0f07d6264913f495c7cfc1a137b621', errorText: this.errorText, name: this.name }))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "form-control-checkbox"; }
|
|
43
43
|
static get properties() {
|
|
@@ -42,10 +42,10 @@ export class FormControlDate {
|
|
|
42
42
|
return part;
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '24bf801c8530d3781d4521c8e2aee29f040ba11c' }, h("div", { key: '2030ff94ccf0ca259e90628bcae1f29e830c49de', class: "form-group d-flex flex-column" }, h("div", { key: '835a4fc81ea2b3314149da7bc21a2ff3c4b44943', class: "d-flex gap-2" }, h("label", { key: '7b4cacd4b6d6aa4890ef633964b70a00feac676c', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '46b45e3b0872aee99741862015f11c89f2770718', helpText: this.helpText })), h("input", { key: 'd0758de14bd7196b7b218afcfadd433a1490b0e0', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
46
46
|
this.isFocused = false;
|
|
47
47
|
this.formControlBlur.emit();
|
|
48
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '
|
|
48
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: 'e62754242b8791cf9c723fb7dc3a247259af4c18', errorText: this.errorText, name: this.name }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "form-control-date"; }
|
|
51
51
|
static get properties() {
|
|
@@ -7,7 +7,7 @@ export class FormControlFileV2 {
|
|
|
7
7
|
this.disabled = false;
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '126751292134f9287c1515db834f0485c2fd06a7', exportparts: "label,input,input-invalid" }, h("div", { key: 'b58a7a17af7ad91715ef47c901109b1f6dff9899', class: "form-group d-flex flex-column" }, h("div", { key: 'eb464b05d2fa376c996f64307f631268d31c786a', class: "d-flex align-items-start gap-2" }, h("label", { key: '0290614c933f57683866d0cc242488461af52061', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'ec7f81546fa75b28dd86c5b01aa7448b4973b320', helpText: this.helpText })), h("input", { key: '10e971984efa55233896aa3550054f1bd576d38f', type: "file", name: this.name, part: `input ${this.errorText ? "input-invalid " : ""}${this.disabled ? "input-disabled" : ""}`, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onBlur: () => this.formControlBlur.emit(), onChange: () => this.errorText = "" }), h(FormControlErrorText, { key: '9eb539f07b58278bdf9cd6ba0abe93c12d548f00', errorText: this.errorText, name: this.name }))));
|
|
11
11
|
}
|
|
12
12
|
static get is() { return "form-control-file-v2"; }
|
|
13
13
|
static get properties() {
|
|
@@ -40,10 +40,10 @@ export class FormControlFile {
|
|
|
40
40
|
return part;
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(Host, { key: '
|
|
43
|
+
return (h(Host, { key: 'fef20fda4ea06209e00414aa76fa1a1f51f36c9b' }, h("div", { key: '0f0c8ad43992eaecca08fc9f17b8bc8ddd05db34', class: "form-group d-flex flex-column" }, h("div", { key: 'bf34365ec7a4389d86b4c66739317ccdb66d29ab', class: "d-flex align-items-start gap-2" }, h("label", { key: '4bb0b05cbe1a2ee377e62546b4912b10caead7eb', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'f2835e5c1c4f85805bc43524c7aa9523c726a60e', helpText: this.helpText })), h("input", { key: '613b1fae37b8e4c09ba1b6d42ea258e012ca4427', ref: (el) => this.fileInput = el, type: "file", name: this.name, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", multiple: this.multiple, disabled: this.disabled, onChange: this.changeHandler, onInput: this.handleFormControlInput, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
44
44
|
this.isFocused = false;
|
|
45
45
|
this.formControlBlur.emit();
|
|
46
|
-
} }), h(FormControlErrorText, { key: '
|
|
46
|
+
} }), h(FormControlErrorText, { key: 'c51b148397176578b3f99c9550e33ed7e2041782', errorText: this.errorText, name: this.name }))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "form-control-file"; }
|
|
49
49
|
static get properties() {
|
|
@@ -42,10 +42,10 @@ export class FormControlMonetary {
|
|
|
42
42
|
return input;
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: '75334e0b6e8fe81520e7cc63fc2f75e6d3cb003d' }, h("div", { key: '87614554e0b1e8869a2c0a4720b3b829c11806d9', class: "form-group d-flex flex-column" }, h("label", { key: '8a102611fa774e4cc45200213497035060bead70', part: label, class: "form-label", htmlFor: this.name }, this.label), h(FormControlHelpText, { key: 'e59c711fa4aee5691b282eda8854ee846566943a', name: this.name, helpText: this.helpText }), h("div", { key: '657787e9d25c59a42b53c9b7c11ad5a40270b967', class: "input-group" }, h("span", { key: '6dc19d2560caf09b45a7fbbf6a94efad8fc96fd4', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: '58580f4041310d855069a85fe8b7e84524cb8966', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
46
46
|
this.isFocused = false;
|
|
47
47
|
this.formControlBlur.emit();
|
|
48
|
-
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), h(FormControlErrorText, { key: '
|
|
48
|
+
}, onInput: (event) => this.updateInput(event.target.value), onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.inputPart, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled })), h(FormControlErrorText, { key: 'd3702fe61cc90977fea9a23ab9e65ba3e5a74205', errorText: this.errorText, name: this.name }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "form-control-monetary"; }
|
|
51
51
|
static get properties() {
|
|
@@ -63,10 +63,10 @@ export class FormControlNumberMasked {
|
|
|
63
63
|
return input;
|
|
64
64
|
}
|
|
65
65
|
render() {
|
|
66
|
-
return (h(Host, { key: '
|
|
66
|
+
return (h(Host, { key: '62c254bcd5cdf060d906d9a823fc4543217f6030' }, h("div", { key: '0c9fcc0797f063ae4c69caa23b2f7574aa8b9d6e', class: "form-group d-flex flex-column" }, h("div", { key: 'ebf44004cfc33eb0adde252100a1da0d87410053', class: "d-flex align-items-start gap-2" }, h("label", { key: '5eeb9c3b2b900a774bdaabc5a782bbfb660141cf', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '8b58b576d186f292670f5d820826533e4ca7d4fa', helpText: this.helpText })), h("input", { key: 'f5e4249a16f5d1a32e5fd67f3c379ef6c8816860', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
|
|
67
67
|
this.isFocused = false;
|
|
68
68
|
this.formControlBlur.emit();
|
|
69
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '
|
|
69
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: 'a1d9be6bf71373c5a5b5d05e410c6126152d52eb', errorText: this.errorText, name: this.name }))));
|
|
70
70
|
}
|
|
71
71
|
static get is() { return "form-control-number-masked"; }
|
|
72
72
|
static get properties() {
|
|
@@ -37,10 +37,10 @@ export class FormControlNumber {
|
|
|
37
37
|
return input;
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '520face5a6f8bd30233610b773f277ea04b2349e' }, h("div", { key: '87b54db4501ce1cc1dedc0656e42159107902f3c', class: 'form-group d-flex flex-column' }, h("label", { key: '4984f482709f356c4684b6123c01c8b7b43dbbe8', part: label, class: "form-label", htmlFor: this.name }, this.label), h("input", { key: 'a9052240dca26a846003f4e7e99debaaf9c35ec7', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
41
41
|
this.isFocused = false;
|
|
42
42
|
this.formControlBlur.emit();
|
|
43
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '
|
|
43
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '8e6e293652a1d32ab082dc6f79e9ccb75e2d2e14', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '011bd1354a1ef83641232a4f6ad1dc1cf09de17b', errorText: this.errorText, name: this.name }))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "form-control-number"; }
|
|
46
46
|
static get properties() {
|
|
@@ -29,10 +29,10 @@ export class FormControlRadio {
|
|
|
29
29
|
return inputRadio;
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (h(Host, { key: '
|
|
32
|
+
return (h(Host, { key: '802ff968414caa31fc93903ca89537d34708e0eb', class: 'form-group d-flex flex-column' }, h("div", { key: 'b782870c627ff9e85182d32ebb4f98af05e6c59b', class: "form-check" }, h("input", { key: '9e6f410196aeca8efde42ef45789e30472e70d68', ref: el => (this.radioElement = el), type: "radio", id: `${this.name}-${this.value}`, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
33
33
|
this.isFocused = false;
|
|
34
34
|
this.formControlBlur.emit();
|
|
35
|
-
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), h("label", { key: '
|
|
35
|
+
}, onChange: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-check-input is-invalid' : 'form-check-input', disabled: this.disabled, value: this.value, checked: this.checked }), h("label", { key: '5e4e244d6366d64035471bbaa06e30c3f825c140', class: "form-check-label", htmlFor: `${this.name}-${this.value}`, part: label }, this.label)), h("form-control-help-text", { key: '4ae7c930736d206deec1ddd192c516c92a20f892', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: 'dc79053a9726e91b855fa1cf5264856fb2c1d7fb', errorText: this.errorText, name: this.name })));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "form-control-radio"; }
|
|
38
38
|
static get properties() {
|
|
@@ -35,10 +35,10 @@ export class FormControlSelect {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
var _a;
|
|
38
|
-
return (h(Host, { key: '
|
|
38
|
+
return (h(Host, { key: '1bf4b5a98883ea56ee00cc10c8e665c5816322f9' }, h("div", { key: '9c36f16f9fad894ffe4ae9e665fae50839fbac58', class: "form-group d-flex flex-column" }, h("div", { key: 'f81841ffb7bf19c6460a087cec95617aa3a983a2', class: "d-flex align-items-start gap-2" }, h("label", { key: 'd17ae46135877411c2aa15b5a2390c31ca791955', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '2e0c07c7f0421547271c18fa1919e97b1735a6ba', helpText: this.helpText })), h("select", { key: '5c68fb7f1ae8c55b3c52730286f2b33391b619cc', ref: el => (this.selectElement = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
39
39
|
this.isFocused = false;
|
|
40
40
|
this.formControlBlur.emit();
|
|
41
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: '
|
|
41
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (h("option", { value: option.value }, option.label)))), h(FormControlErrorText, { key: '43c4397970628eabb1554d9352808566aa219a7a', errorText: this.errorText, name: this.name }))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "form-control-select"; }
|
|
44
44
|
static get properties() {
|
|
@@ -36,10 +36,10 @@ export class FormControlText {
|
|
|
36
36
|
return input;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (h(Host, { key: '
|
|
39
|
+
return (h(Host, { key: 'd5da001e89033cf864424d99675b6f5fbe44cd93' }, h("div", { key: '753cf0dc5a584368da89079b34d7176b3b9ac29b', class: "form-group d-flex flex-column" }, h("div", { key: '4dbb0d4de88bf0f6d28b1b902c9c77ba2b06f70d', class: "d-flex align-items-start gap-2" }, h("label", { key: 'ede8f0582b639d5cb4b829a89ae313b3df69ec71', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'f0414539f6e9c0b44b8f3ead71c1e5741ca47359', helpText: this.helpText })), h("input", { key: '2720e10473b5ac6e99c745cf14912670fe5cef0e', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
40
40
|
this.isFocused = false;
|
|
41
41
|
this.formControlBlur.emit();
|
|
42
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '
|
|
42
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? "form-control is-invalid" : "form-control", type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: 'abb212dba851919df2cfc6db6a59ac9354c20919', errorText: this.errorText, name: this.name }))));
|
|
43
43
|
}
|
|
44
44
|
static get is() { return "form-control-text"; }
|
|
45
45
|
static get properties() {
|