@justifi/webcomponents 5.7.0 → 5.7.2
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/{ApiNew-C8nf_gS9.js → Api-Dp4CW5K6.js} +1 -1
- package/dist/cjs/{Business-DyiDiIuO.js → Business-DCRzZf0w.js} +3 -1
- package/dist/cjs/{Checkout-RAGvjVPj.js → Checkout-TZnRz3-3.js} +1 -1
- package/dist/cjs/{Payment-CQCmj3Ck.js → Document-Qt0qiXeh.js} +58 -1
- package/dist/cjs/{Refund-CpurRc4w.js → Refund-BDFOEJv_.js} +2 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +12 -13
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +11 -10
- package/dist/cjs/bank-account-form_9.cjs.entry.js +35 -25
- package/dist/cjs/{business-additional-questions-schema-gVepoR4V.js → business-additional-questions-schema-JlysTRE3.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +1 -2
- package/dist/cjs/{business-form-options-BCj0efiD.js → business-form-options-CMII7nIK.js} +1 -1
- package/dist/cjs/{business-identity-schema-dt0zCW0R.js → business-identity-schema-BksYFWls.js} +1 -1
- package/dist/cjs/{business.service-yVtplFhh.js → business.service-DMIMZpx4.js} +9 -2
- package/dist/cjs/{check-pkg-version-BYKcQDik.js → check-pkg-version-hqYwYpQq.js} +13 -3
- package/dist/cjs/{checkout.service-Dd2AbBn2.js → checkout.service-DKH8NODe.js} +9 -2
- package/dist/cjs/checkouts-list-core.cjs.entry.js +11 -8
- package/dist/cjs/{checkouts-table-_T5eblyc.js → checkouts-table-Cj2iSB_P.js} +1 -1
- package/dist/cjs/custom-popper_4.cjs.entry.js +4 -4
- package/dist/cjs/{dispute.service-C0J-Wh-Y.js → dispute.service-8j6tLV4i.js} +9 -2
- package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
- 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-monetary.cjs.entry.js +3 -3
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number.cjs.entry.js +2 -2
- package/dist/cjs/form-control-radio.cjs.entry.js +2 -2
- package/dist/cjs/{get-business-DHg5rpse.js → get-business-BJrtsomz.js} +1 -1
- package/dist/cjs/{get-payment-details-DqvDYbnK.js → get-payment-details-MM1u5jMc.js} +8 -6
- package/dist/cjs/{get-subaccounts-CquZS5kP.js → get-subaccounts-CkjWYxIU.js} +9 -7
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/iframe-input.cjs.entry.js +4 -4
- package/dist/cjs/justifi-additional-questions-form-step-core_6.cjs.entry.js +12 -11
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +13 -15
- package/dist/cjs/justifi-business-details.cjs.entry.js +22 -10
- package/dist/cjs/justifi-business-form.cjs.entry.js +19 -18
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +18 -8
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +10 -7
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +20 -16
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +15 -7
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +17 -7
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +19 -10
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +20 -16
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -8
- package/dist/cjs/justifi-payment-details.cjs.entry.js +14 -11
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +18 -8
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +18 -14
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list.cjs.entry.js +19 -15
- package/dist/cjs/justifi-payout-details.cjs.entry.js +16 -12
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +18 -14
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +19 -15
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +16 -14
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +4 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +20 -23
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +11 -8
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +21 -14
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +10 -7
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +19 -15
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +19 -13
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-CX6Njc5t.js → package-BCOEGxFC.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +10 -10
- package/dist/cjs/{payment.service-BvTU2Orj.js → payment.service-CCxGhTwZ.js} +9 -2
- package/dist/cjs/payments-list-core.cjs.entry.js +12 -9
- package/dist/cjs/{payments-table-BkRhDePE.js → payments-table-BR97ybd6.js} +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +5 -5
- package/dist/cjs/{payout.service-C99pgxvg.js → payout.service-CtphIhUK.js} +9 -2
- package/dist/cjs/payouts-list-core.cjs.entry.js +12 -9
- package/dist/cjs/{payouts-table-DJMz3bVh.js → payouts-table-DMcQiC1g.js} +1 -1
- package/dist/cjs/{schema-validations-p4OCdblz.js → schema-validations-BUor-ySb.js} +6 -7
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +12 -9
- package/dist/cjs/{terminal-orders-table-BeeUTKtj.js → terminal-orders-table-D-CLcZws.js} +7 -5
- package/dist/cjs/{terminal.service-DEGcoaCb.js → terminal.service-Dv_WJkue.js} +9 -2
- package/dist/cjs/terminals-list-core.cjs.entry.js +12 -9
- package/dist/cjs/{terminals-table-D2XUsf_J.js → terminals-table-BEJ6sF7w.js} +1 -1
- package/dist/cjs/{utils-DmZ8Dia3.js → utils-qOon0GWm.js} +3 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Analytics.js +3 -0
- package/dist/collection/api/Api.js +23 -12
- package/dist/collection/api/Business.js +3 -1
- package/dist/collection/api/Payment.js +1 -0
- package/dist/collection/api/Payout.js +1 -0
- package/dist/collection/api/index.js +5 -1
- package/dist/collection/api/services/analytics.service.js +1 -1
- package/dist/collection/api/services/business.service.js +1 -1
- package/dist/collection/api/services/checkout.service.js +1 -1
- package/dist/collection/api/services/dispute.service.js +1 -1
- package/dist/collection/api/services/insurance.service.js +5 -8
- package/dist/collection/api/services/payment.service.js +1 -1
- package/dist/collection/api/services/payout.service.js +1 -1
- package/dist/collection/api/services/provision.service.js +1 -1
- package/dist/collection/api/services/refund.service.js +1 -1
- package/dist/collection/api/services/reports.service.js +3 -3
- package/dist/collection/api/services/subaccounts.service.js +1 -1
- package/dist/collection/api/services/terminal.service.js +1 -1
- package/dist/collection/api/services/terminal_orders.service.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +3 -4
- package/dist/collection/components/business-details/business-details-core.js +1 -2
- package/dist/collection/components/business-details/business-details.js +13 -4
- package/dist/collection/components/business-details/core-info-details/core-info-details.js +41 -0
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +3 -3
- package/dist/collection/components/business-details/representative-details/representative-details.js +3 -3
- package/dist/collection/components/business-forms/business-form/business-form.js +3 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +4 -2
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -4
- package/dist/collection/components/business-forms/schemas/schema-validations.js +6 -7
- package/dist/collection/components/checkout/billing-form/billing-form.js +6 -5
- package/dist/collection/components/checkout/checkout.js +5 -3
- package/dist/collection/components/checkout/new-payment-method.js +17 -6
- package/dist/collection/components/checkout/payment-method-options.js +4 -5
- package/dist/collection/components/checkouts-list/checkouts-list.js +4 -2
- package/dist/collection/components/dispute-management/dispute-management.js +3 -2
- package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +4 -2
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +3 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +4 -1
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -4
- package/dist/collection/components/order-terminals/order-terminals.js +6 -1
- package/dist/collection/components/payment-details/payment-details-core.js +9 -8
- package/dist/collection/components/payment-details/payment-details.js +2 -1
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +4 -2
- 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 +4 -2
- package/dist/collection/components/payout-details/payout-details-core.js +4 -3
- package/dist/collection/components/payout-details/payout-details.js +3 -1
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +4 -2
- 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 +4 -2
- 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 +6 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +4 -2
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +9 -5
- package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/details/details.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-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/utils/utils.js +3 -0
- package/dist/docs.json +85 -78
- package/dist/esm/{ApiNew-KYhsw8Nv.js → Api-cgKcLG0y.js} +1 -1
- package/dist/esm/{Business-D6XNzizo.js → Business-BCoP0TAV.js} +3 -1
- package/dist/esm/{Checkout-Dfpql997.js → Checkout-B9LrTq63.js} +1 -1
- package/dist/esm/{Dispute-7MWRbTXI.js → Dispute-BH0Xfn-F.js} +1 -1
- package/dist/esm/{Payment-BADkZFaz.js → Document-DvWsQBM6.js} +58 -3
- package/dist/esm/{Refund-DOvd7RJp.js → Refund-zZewCvey.js} +2 -1
- package/dist/esm/additional-questions-details_5.entry.js +12 -13
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +11 -10
- package/dist/esm/bank-account-form_9.entry.js +28 -18
- package/dist/esm/{business-additional-questions-schema-DWnZs60Z.js → business-additional-questions-schema-CBUm3D7O.js} +1 -1
- package/dist/esm/business-details-core.entry.js +1 -2
- package/dist/esm/{business-form-options-Bn05PRR4.js → business-form-options-CgssATyg.js} +1 -1
- package/dist/esm/{business-identity-schema-lqdJS3MT.js → business-identity-schema-CntGz8jo.js} +1 -1
- package/dist/esm/{business.service-_645Z23O.js → business.service-BWivPbyO.js} +8 -1
- package/dist/esm/{check-pkg-version-Dh7UNmHL.js → check-pkg-version-BykGn7tx.js} +12 -2
- package/dist/esm/{checkout.service-7FGjq0rO.js → checkout.service-Bh-Q24Cr.js} +8 -1
- package/dist/esm/checkouts-list-core.entry.js +11 -8
- package/dist/esm/{checkouts-table-DKd0QLys.js → checkouts-table-DcVkD83l.js} +1 -1
- package/dist/esm/custom-popper_4.entry.js +4 -4
- package/dist/esm/{dispute.service-lJlAFuE6.js → dispute.service-1AYcALSg.js} +8 -1
- package/dist/esm/form-alert_5.entry.js +2 -2
- 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-monetary.entry.js +3 -3
- package/dist/esm/form-control-number-masked_2.entry.js +2 -2
- package/dist/esm/form-control-number.entry.js +2 -2
- package/dist/esm/form-control-radio.entry.js +2 -2
- package/dist/esm/{get-business-CIKToQur.js → get-business-GEPTefIj.js} +1 -1
- package/dist/esm/{get-payment-details-CXiGG9cO.js → get-payment-details-DXhXxFPr.js} +7 -5
- package/dist/esm/{get-subaccounts-DIJtLFsb.js → get-subaccounts-CtHj1UM6.js} +8 -6
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/iframe-input.entry.js +4 -4
- package/dist/esm/justifi-additional-questions-form-step-core_6.entry.js +12 -11
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +13 -15
- package/dist/esm/justifi-business-details.entry.js +23 -11
- package/dist/esm/justifi-business-form.entry.js +19 -18
- package/dist/esm/justifi-checkout-core.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +18 -8
- package/dist/esm/justifi-checkouts-list-filters.entry.js +10 -7
- package/dist/esm/justifi-checkouts-list.entry.js +20 -16
- 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 +16 -8
- package/dist/esm/justifi-dispute-notification_3.entry.js +17 -7
- package/dist/esm/justifi-gross-payment-chart.entry.js +19 -10
- package/dist/esm/justifi-order-terminals.entry.js +20 -16
- package/dist/esm/justifi-owner-form_3.entry.js +12 -8
- package/dist/esm/justifi-payment-details.entry.js +15 -12
- package/dist/esm/justifi-payment-provisioning.entry.js +17 -7
- package/dist/esm/justifi-payment-transactions-list.entry.js +18 -14
- package/dist/esm/justifi-payments-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payments-list.entry.js +18 -14
- package/dist/esm/justifi-payout-details.entry.js +16 -12
- package/dist/esm/justifi-payout-transactions-list.entry.js +18 -14
- package/dist/esm/justifi-payouts-list-filters.entry.js +3 -3
- package/dist/esm/justifi-payouts-list.entry.js +19 -15
- package/dist/esm/justifi-refund-payment.entry.js +15 -13
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +4 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +20 -23
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +11 -8
- package/dist/esm/justifi-terminal-orders-list.entry.js +20 -13
- package/dist/esm/justifi-terminals-list-filters.entry.js +10 -7
- package/dist/esm/justifi-terminals-list.entry.js +19 -15
- package/dist/esm/justifi-tokenize-payment-method.entry.js +19 -13
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-DLLK41AX.js → package-BjMTOtI1.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +10 -10
- package/dist/esm/{payment.service-DdCJ1Dc7.js → payment.service-2afJc31y.js} +8 -1
- package/dist/esm/payments-list-core.entry.js +12 -9
- package/dist/esm/{payments-table-BBf5fV74.js → payments-table-B8316Kqz.js} +1 -1
- package/dist/esm/payout-details-core.entry.js +5 -5
- package/dist/esm/{payout.service-G1Isezyi.js → payout.service-Bd8Tc7-Q.js} +8 -1
- package/dist/esm/payouts-list-core.entry.js +12 -9
- package/dist/esm/{payouts-table-DhZEXhGH.js → payouts-table-Ip10eH4Q.js} +1 -1
- package/dist/esm/{schema-validations-BsbYeDDR.js → schema-validations-C7D5tPzq.js} +6 -7
- package/dist/esm/terminal-orders-list-core.entry.js +12 -9
- package/dist/esm/{terminal-orders-table-BlT9YrFD.js → terminal-orders-table-CCJT7oq4.js} +7 -5
- package/dist/esm/{terminal.service-aFe-O3PC.js → terminal.service-8kwGru35.js} +8 -1
- package/dist/esm/terminals-list-core.entry.js +12 -9
- package/dist/esm/{terminals-table-CkWr-6tD.js → terminals-table-cMkKUVff.js} +1 -1
- package/dist/esm/{utils-BWcTxbSg.js → utils-DB5fh6Iv.js} +3 -0
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Api.js +23 -11
- package/dist/module/Business.js +3 -1
- package/dist/module/Checkout.js +22 -2
- package/dist/module/Payment.js +59 -3
- package/dist/module/Refund.js +2 -1
- package/dist/module/additional-questions-details2.js +3 -4
- package/dist/module/bank-account-document-inputs.js +2 -1
- package/dist/module/billing-form.js +4 -3
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-bank-account-form-step-core.js +2 -2
- package/dist/module/business-bank-account-form-step.js +3 -2
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-details-core2.js +11 -7
- package/dist/module/business-documents-on-file2.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-terms-conditions-form-step.js +6 -7
- package/dist/module/business.service.js +7 -1
- package/dist/module/check-pkg-version.js +10 -1
- package/dist/module/checkout-core.js +2 -3
- package/dist/module/checkout.service.js +7 -1
- package/dist/module/checkouts-list-core2.js +3 -2
- package/dist/module/{generic-info-details.d.ts → core-info-details.d.ts} +4 -4
- package/dist/module/core-info-details.js +6 -0
- package/dist/module/core-info-details2.js +34 -0
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/details.js +2 -2
- package/dist/module/dispute-management-core.js +1 -1
- package/dist/module/dispute-notification.js +1 -1
- package/dist/module/dispute-response-actions.js +7 -2
- package/dist/module/dispute-response.js +5 -3
- 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 +3 -3
- 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-text2.js +2 -2
- package/dist/module/form-control-textarea2.js +2 -2
- package/dist/module/get-business.js +1 -1
- package/dist/module/get-payment-details.js +4 -3
- package/dist/module/get-payout-csv.js +1 -1
- package/dist/module/get-subaccounts.js +5 -4
- package/dist/module/gross-payment-chart-core2.js +1 -1
- package/dist/module/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-business-details.js +24 -11
- package/dist/module/justifi-business-form.js +5 -3
- package/dist/module/justifi-checkout.js +6 -4
- package/dist/module/justifi-checkouts-list-filters.js +3 -2
- package/dist/module/justifi-checkouts-list.js +7 -4
- package/dist/module/justifi-dispute-management.js +5 -4
- package/dist/module/justifi-gross-payment-chart.js +11 -4
- package/dist/module/justifi-order-terminals.js +8 -3
- package/dist/module/justifi-payment-details.js +3 -2
- package/dist/module/justifi-payment-provisioning.js +11 -4
- package/dist/module/justifi-payment-transactions-list.js +7 -4
- package/dist/module/justifi-payments-list-filters.js +2 -2
- package/dist/module/justifi-payments-list.js +8 -5
- package/dist/module/justifi-payout-details.js +6 -3
- package/dist/module/justifi-payout-transactions-list.js +7 -5
- package/dist/module/justifi-payouts-list-filters.js +2 -2
- package/dist/module/justifi-payouts-list.js +7 -4
- package/dist/module/justifi-refund-payment.js +5 -4
- package/dist/module/justifi-season-interruption-insurance.js +10 -14
- package/dist/module/justifi-terminal-orders-list-filters.js +4 -3
- package/dist/module/justifi-terminal-orders-list.js +10 -4
- package/dist/module/justifi-terminals-list-filters.js +3 -2
- package/dist/module/justifi-terminals-list.js +7 -4
- package/dist/module/justifi-tokenize-payment-method.js +10 -5
- package/dist/module/legal-address-details2.js +3 -3
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/new-payment-method.js +15 -4
- package/dist/module/owner-details2.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +10 -9
- package/dist/module/payment-method-options.js +2 -3
- package/dist/module/payment-provisioning-actions.js +1 -1
- package/dist/module/payment-provisioning-core.js +1 -1
- package/dist/module/payment.service.js +7 -1
- package/dist/module/payments-list-core2.js +3 -2
- package/dist/module/payout-details-core2.js +5 -4
- package/dist/module/payout.service.js +7 -1
- package/dist/module/payouts-list-core2.js +4 -3
- package/dist/module/representative-details2.js +4 -4
- package/dist/module/schema-validations.js +4 -5
- package/dist/module/season-interruption-insurance-core.js +6 -3
- package/dist/module/sezzle-payment-method.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +3 -2
- package/dist/module/terminal.service.js +7 -1
- package/dist/module/terminals-list-core2.js +3 -2
- package/dist/module/utils2.js +4 -1
- package/dist/module/utils4.js +1 -1
- package/dist/types/api/Api.d.ts +41 -35
- package/dist/types/api/Payment.d.ts +2 -0
- package/dist/types/api/Payout.d.ts +2 -0
- package/dist/types/api/index.d.ts +5 -1
- package/dist/types/api/services/business.service.d.ts +1 -5
- package/dist/types/api/services/dispute.service.d.ts +1 -2
- package/dist/types/api/services/payout.service.d.ts +1 -2
- package/dist/types/api/services/provision.service.d.ts +1 -1
- package/dist/types/api/services/reports.service.d.ts +1 -2
- package/dist/types/api/services/subaccounts.service.d.ts +1 -2
- package/dist/types/components/business-details/business-details.d.ts +1 -0
- package/dist/types/components/business-details/core-info-details/core-info-details.d.ts +5 -0
- package/dist/types/components/business-forms/utils/helpers.d.ts +1 -1
- package/dist/types/components/checkout/billing-form/billing-form.d.ts +1 -0
- package/dist/types/components/checkout/new-payment-method.d.ts +4 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +1 -0
- package/dist/types/components/order-terminals/order-terminals.d.ts +1 -0
- package/dist/types/components/terminal-orders-list/terminal-orders-list.d.ts +1 -0
- package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +2 -0
- package/dist/types/components.d.ts +21 -21
- package/dist/types/utils/utils.d.ts +1 -1
- package/dist/webcomponents/p-10d41e17.entry.js +1 -0
- package/dist/webcomponents/{p-b2192f8b.entry.js → p-1678e9e3.entry.js} +1 -1
- package/dist/webcomponents/p-16d29d0b.entry.js +1 -0
- package/dist/webcomponents/{p-8224e3c2.entry.js → p-19b9c96a.entry.js} +1 -1
- package/dist/webcomponents/p-22a0b397.entry.js +1 -0
- package/dist/webcomponents/p-292da2d4.entry.js +1 -0
- package/dist/webcomponents/p-2c7ae3ac.entry.js +1 -0
- package/dist/webcomponents/p-2c8d7aa9.entry.js +1 -0
- package/dist/webcomponents/p-3368d3d5.entry.js +1 -0
- package/dist/webcomponents/p-33b23638.entry.js +1 -0
- package/dist/webcomponents/{p-12674a89.entry.js → p-3a979295.entry.js} +1 -1
- package/dist/webcomponents/p-40f7e3af.entry.js +1 -0
- package/dist/webcomponents/p-4680f931.entry.js +1 -0
- package/dist/webcomponents/p-4a070b7a.entry.js +1 -0
- package/dist/webcomponents/p-4b51a896.entry.js +1 -0
- package/dist/webcomponents/p-4f8b9b99.entry.js +1 -0
- package/dist/webcomponents/p-57c89023.entry.js +1 -0
- package/dist/webcomponents/p-57fc593a.entry.js +1 -0
- package/dist/webcomponents/{p-9c1a79c5.entry.js → p-59abf1de.entry.js} +1 -1
- package/dist/webcomponents/p-5d81f36e.entry.js +1 -0
- package/dist/webcomponents/p-5df5aa41.entry.js +1 -0
- package/dist/webcomponents/p-70c498d4.entry.js +1 -0
- package/dist/webcomponents/p-722c5e42.entry.js +1 -0
- package/dist/webcomponents/{p-d2dc6f22.entry.js → p-758ce5e5.entry.js} +4 -4
- package/dist/webcomponents/p-77896e7b.entry.js +1 -0
- package/dist/webcomponents/p-77ac321c.entry.js +1 -0
- package/dist/webcomponents/p-7d3cf734.entry.js +1 -0
- package/dist/webcomponents/p-8183c2d1.entry.js +1 -0
- package/dist/webcomponents/p-8ad67f87.entry.js +1 -0
- package/dist/webcomponents/p-8c107267.entry.js +1 -0
- package/dist/webcomponents/{p-32345016.entry.js → p-935bbc62.entry.js} +1 -1
- package/dist/webcomponents/p-93df56e1.entry.js +1 -0
- package/dist/webcomponents/p-99b080d9.entry.js +1 -0
- package/dist/webcomponents/{p-7MWRbTXI.js → p-BH0Xfn-F.js} +1 -1
- package/dist/webcomponents/p-BR7flk4G.js +1 -0
- package/dist/webcomponents/p-BjMTOtI1.js +1 -0
- package/dist/webcomponents/p-Bk4gk-f7.js +1 -0
- package/dist/webcomponents/{p-BrvbVMVq.js → p-BlJnA265.js} +1 -1
- package/dist/webcomponents/{p-CpTwq2jw.js → p-BnE7qgLh.js} +1 -1
- package/dist/webcomponents/{p-d-_oUZor.js → p-C1sOJl-_.js} +1 -1
- package/dist/webcomponents/p-COcul8pX.js +1 -0
- package/dist/webcomponents/p-CaGOSFHG.js +1 -0
- package/dist/webcomponents/p-Cm_0sqXz.js +1 -0
- package/dist/webcomponents/p-Cs0cIpIm.js +1 -0
- package/dist/webcomponents/p-Cx60eQXT.js +1 -0
- package/dist/webcomponents/{p-OSmuQKbK.js → p-D2ZiLcDE.js} +1 -1
- package/dist/webcomponents/p-DClC2nMO.js +1 -0
- package/dist/webcomponents/p-DR89sFne.js +1 -0
- package/dist/webcomponents/{p-ByRPlUBS.js → p-DnB1x5JE.js} +1 -1
- package/dist/webcomponents/p-DvhDilDP.js +1 -0
- package/dist/webcomponents/{p-BjB_yKBJ.js → p-DzFysjCc.js} +1 -1
- package/dist/webcomponents/{p-DvHZ2jYI.js → p-HBDBB6lL.js} +1 -1
- package/dist/webcomponents/p-_pH3Hg4P.js +1 -0
- package/dist/webcomponents/p-a0662195.entry.js +1 -0
- package/dist/webcomponents/{p-82515f70.entry.js → p-a136ff22.entry.js} +1 -1
- package/dist/webcomponents/p-a33cfcfe.entry.js +1 -0
- package/dist/webcomponents/p-a6722f44.entry.js +1 -0
- package/dist/webcomponents/{p-9dae8152.entry.js → p-a8119fda.entry.js} +1 -1
- package/dist/webcomponents/p-a94952f6.entry.js +1 -0
- package/dist/webcomponents/p-abdae97a.entry.js +1 -0
- package/dist/webcomponents/p-af09b6ee.entry.js +1 -0
- package/dist/webcomponents/p-b0d3aab7.entry.js +1 -0
- package/dist/webcomponents/p-b1586aa2.entry.js +1 -0
- package/dist/webcomponents/p-c01544c3.entry.js +1 -0
- package/dist/webcomponents/p-c3c7be24.entry.js +1 -0
- package/dist/webcomponents/p-c5628e09.entry.js +1 -0
- package/dist/webcomponents/p-c5b6b76f.entry.js +1 -0
- package/dist/webcomponents/p-c6490254.entry.js +1 -0
- package/dist/webcomponents/p-ceefc483.entry.js +1 -0
- package/dist/webcomponents/p-clwP6zk3.js +1 -0
- package/dist/webcomponents/{p-774eee26.entry.js → p-d8b8b17c.entry.js} +1 -1
- package/dist/webcomponents/p-e2bfdba5.entry.js +1 -0
- package/dist/webcomponents/p-e73fe424.entry.js +1 -0
- package/dist/webcomponents/{p-CegkOiUz.js → p-eHhqPyVW.js} +1 -1
- package/dist/webcomponents/p-f23d4fdb.entry.js +1 -0
- package/dist/webcomponents/p-ffd197c2.entry.js +1 -0
- package/dist/webcomponents/p-gZGxqQgQ.js +1 -0
- package/dist/webcomponents/p-l3uWWMRW.js +1 -0
- package/dist/webcomponents/p-r__elyG4.js +1 -0
- package/dist/webcomponents/{p-82kiZkHt.js → p-uSM1EMk-.js} +1 -1
- package/dist/webcomponents/{p-IA90llLO.js → p-yH3TC3ZQ.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Api-KMweahmp.js +0 -74
- package/dist/cjs/Document-rXGBUaOh.js +0 -58
- package/dist/collection/api/ApiNew.js +0 -82
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +0 -40
- package/dist/esm/Api-C9CDE-UM.js +0 -72
- package/dist/esm/Document-Ct-uNz2r.js +0 -55
- package/dist/module/ApiNew.js +0 -84
- package/dist/module/ComponentError.js +0 -21
- package/dist/module/Dispute.js +0 -57
- package/dist/module/generic-info-details.js +0 -6
- package/dist/module/generic-info-details2.js +0 -34
- package/dist/types/api/ApiNew.d.ts +0 -61
- package/dist/types/components/business-details/generic-info-details/generic-info-details.d.ts +0 -5
- package/dist/webcomponents/p-05138b5d.entry.js +0 -1
- package/dist/webcomponents/p-0661622e.entry.js +0 -1
- package/dist/webcomponents/p-0a4abfba.entry.js +0 -1
- package/dist/webcomponents/p-0d73af88.entry.js +0 -1
- package/dist/webcomponents/p-107fdd99.entry.js +0 -1
- package/dist/webcomponents/p-12ea3a21.entry.js +0 -1
- package/dist/webcomponents/p-13a56c04.entry.js +0 -1
- package/dist/webcomponents/p-22e9ff07.entry.js +0 -1
- package/dist/webcomponents/p-2ce8e7ac.entry.js +0 -1
- package/dist/webcomponents/p-357e1077.entry.js +0 -1
- package/dist/webcomponents/p-3a691b9a.entry.js +0 -1
- package/dist/webcomponents/p-3adEM48l.js +0 -1
- package/dist/webcomponents/p-3bb94f41.entry.js +0 -1
- package/dist/webcomponents/p-460eae73.entry.js +0 -1
- package/dist/webcomponents/p-48d84a6f.entry.js +0 -1
- package/dist/webcomponents/p-4a3ee65c.entry.js +0 -1
- package/dist/webcomponents/p-58f415f4.entry.js +0 -1
- package/dist/webcomponents/p-5ff7f253.entry.js +0 -1
- package/dist/webcomponents/p-6334c2bc.entry.js +0 -1
- package/dist/webcomponents/p-6780e07e.entry.js +0 -1
- package/dist/webcomponents/p-6a3a8a7a.entry.js +0 -1
- package/dist/webcomponents/p-76d1a604.entry.js +0 -1
- package/dist/webcomponents/p-7c62b59d.entry.js +0 -1
- package/dist/webcomponents/p-833576ca.entry.js +0 -1
- package/dist/webcomponents/p-83d4ac72.entry.js +0 -1
- package/dist/webcomponents/p-AVaenhw9.js +0 -1
- package/dist/webcomponents/p-B1ubyLhU.js +0 -1
- package/dist/webcomponents/p-BBsCnePk.js +0 -1
- package/dist/webcomponents/p-BHbsXXRt.js +0 -1
- package/dist/webcomponents/p-Bxs6fi7a.js +0 -1
- package/dist/webcomponents/p-C0piBrye.js +0 -1
- package/dist/webcomponents/p-CkrVt-dj.js +0 -1
- package/dist/webcomponents/p-Ct-uNz2r.js +0 -1
- package/dist/webcomponents/p-Cy4aIACq.js +0 -1
- package/dist/webcomponents/p-D5Sh88BE.js +0 -1
- package/dist/webcomponents/p-DLLK41AX.js +0 -1
- package/dist/webcomponents/p-Da_GeglS.js +0 -1
- package/dist/webcomponents/p-Dgxn_B6C.js +0 -1
- package/dist/webcomponents/p-DmIOVniD.js +0 -1
- package/dist/webcomponents/p-DqOTECuf.js +0 -1
- package/dist/webcomponents/p-Dz-Ft5b1.js +0 -1
- package/dist/webcomponents/p-a5af8397.entry.js +0 -1
- package/dist/webcomponents/p-a61f9b3c.entry.js +0 -1
- package/dist/webcomponents/p-a6fb7730.entry.js +0 -1
- package/dist/webcomponents/p-aTcDcUMZ.js +0 -1
- package/dist/webcomponents/p-aa954ce9.entry.js +0 -1
- package/dist/webcomponents/p-ac4ac963.entry.js +0 -1
- package/dist/webcomponents/p-ae7c6b81.entry.js +0 -1
- package/dist/webcomponents/p-ae8c3dab.entry.js +0 -1
- package/dist/webcomponents/p-afa54e39.entry.js +0 -1
- package/dist/webcomponents/p-b061c21c.entry.js +0 -1
- package/dist/webcomponents/p-b4d857b2.entry.js +0 -1
- package/dist/webcomponents/p-bb45705e.entry.js +0 -1
- package/dist/webcomponents/p-c2f3d7da.entry.js +0 -1
- package/dist/webcomponents/p-c7227fc1.entry.js +0 -1
- package/dist/webcomponents/p-c8f70818.entry.js +0 -1
- package/dist/webcomponents/p-c9288f47.entry.js +0 -1
- package/dist/webcomponents/p-d1a440e3.entry.js +0 -1
- package/dist/webcomponents/p-dd89c516.entry.js +0 -1
- package/dist/webcomponents/p-e39b5ffd.entry.js +0 -1
- package/dist/webcomponents/p-e5d35016.entry.js +0 -1
- package/dist/webcomponents/p-ebd7753d.entry.js +0 -1
- package/dist/webcomponents/p-ec47b7c8.entry.js +0 -1
|
@@ -19,8 +19,10 @@ export class GrossPaymentChart {
|
|
|
19
19
|
this.initializeGetGrossPayment();
|
|
20
20
|
}
|
|
21
21
|
disconnectedCallback() {
|
|
22
|
-
|
|
22
|
+
var _a;
|
|
23
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
23
24
|
}
|
|
25
|
+
;
|
|
24
26
|
propChanged() {
|
|
25
27
|
this.initializeGetGrossPayment();
|
|
26
28
|
}
|
|
@@ -92,9 +92,12 @@ export class SeasonInterruptionInsuranceCore {
|
|
|
92
92
|
var _a, _b, _c, _d;
|
|
93
93
|
if (this.isLoading)
|
|
94
94
|
return (h(StyledHost, null, h(SeasonInterruptionInsuranceLoading, null)));
|
|
95
|
-
return (h(StyledHost, null, h("div", null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this)
|
|
95
|
+
return (h(StyledHost, null, h("div", null, h(Header2, { text: (_a = this.quote) === null || _a === void 0 ? void 0 : _a.product.title, class: "fs-5 fw-bold pb-3" }), h("small", { innerHTML: (_b = this.quote) === null || _b === void 0 ? void 0 : _b.product.description, part: text }), h("form-control-radio", { label: `Accept coverage for ${formatCurrency((_c = this.quote) === null || _c === void 0 ? void 0 : _c.total_cents)}`, name: "opt-in", value: 'true', checked: this.accepted === 'true', inputHandler: this.onChangeHandler.bind(this),
|
|
96
|
+
// don't wanna show error message, but need to show the red border
|
|
97
|
+
errorText: this.error ? ' ' : undefined }), h("form-control-radio", { label: "Decline coverage", name: "opt-in", value: 'false', checked: this.accepted === 'false', inputHandler: this.onChangeHandler.bind(this), errorText: this.error ? ' ' : undefined }), h("div", { class: "invalid-feedback", style: { display: this.error ? 'block' : 'none' }, part: textDanger }, "Please select an option"), h("small", { innerHTML: (_d = this.quote) === null || _d === void 0 ? void 0 : _d.product.legal_disclaimer, part: text }))));
|
|
96
98
|
}
|
|
97
99
|
static get is() { return "justifi-season-interruption-insurance-core"; }
|
|
100
|
+
static get encapsulation() { return "shadow"; }
|
|
98
101
|
static get properties() {
|
|
99
102
|
return {
|
|
100
103
|
"checkoutId": {
|
package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js
CHANGED
|
@@ -14,9 +14,8 @@ export class SeasonInterruptionInsurance {
|
|
|
14
14
|
this.initializeServiceMethods();
|
|
15
15
|
}
|
|
16
16
|
disconnectedCallback() {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}
|
|
17
|
+
var _a;
|
|
18
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
20
19
|
}
|
|
21
20
|
initializeServiceMethods() {
|
|
22
21
|
if (!this.authToken) {
|
|
@@ -37,7 +36,7 @@ export class SeasonInterruptionInsurance {
|
|
|
37
36
|
});
|
|
38
37
|
}
|
|
39
38
|
render() {
|
|
40
|
-
return (h("justifi-season-interruption-insurance-core", { key: '
|
|
39
|
+
return (h("justifi-season-interruption-insurance-core", { key: 'e6c2083c20b0f29301d5d8eafc1d269280e96de7', ref: (el) => (this.seasonInterruptionCoreRef = el), "checkout-id": this.checkoutId, getQuote: this.getQuote, toggleCoverage: this.toggleCoverage, "primary-identity-first-name": this.primaryIdentityFirstName, "primary-identity-last-name": this.primaryIdentityLastName, "primary-identity-state": this.primaryIdentityState, "primary-identity-postal-code": this.primaryIdentityPostalCode, "primary-identity-country": this.primaryIdentityCountry, "primary-identity-email-address": this.primaryIdentityEmailAddress, "policy-attributes-insurable-amount": this.policyAttributesInsurableAmount, "policy-attributes-start-date": this.policyAttributesStartDate, "policy-attributes-end-date": this.policyAttributesEndDate, "covered-identity-first-name": this.coveredIdentityFirstName, "covered-identity-last-name": this.coveredIdentityLastName }));
|
|
41
40
|
}
|
|
42
41
|
static get is() { return "justifi-season-interruption-insurance"; }
|
|
43
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,6 +36,11 @@ export class OrderTerminals {
|
|
|
36
36
|
this.analytics = new JustifiAnalytics(this);
|
|
37
37
|
this.loadData();
|
|
38
38
|
}
|
|
39
|
+
disconnectedCallback() {
|
|
40
|
+
var _a;
|
|
41
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
42
|
+
}
|
|
43
|
+
;
|
|
39
44
|
handleError(errorMessage, code, severity) {
|
|
40
45
|
this.error = { message: errorMessage, code, severity };
|
|
41
46
|
this.errorEvent.emit({ errorCode: code, message: errorMessage, severity });
|
|
@@ -121,7 +126,7 @@ export class OrderTerminals {
|
|
|
121
126
|
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))));
|
|
122
127
|
}
|
|
123
128
|
render() {
|
|
124
|
-
return (h(StyledHost, { key: '
|
|
129
|
+
return (h(StyledHost, { key: '95d4b374036e4713216ce61e87571a607b8c3f0a' }, h("div", { key: '3e57b055db0d1bf26b9eb38a78fa57493afd3af3', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
125
130
|
}
|
|
126
131
|
static get is() { return "justifi-order-terminals"; }
|
|
127
132
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,6 +4,7 @@ import { MapPaymentStatusToBadge } from "../payments-list/payments-status";
|
|
|
4
4
|
import { CodeBlock, DetailItem, DetailSectionTitle, EntityHeadInfo, EntityHeadInfoItem, ErrorState } from "../../ui-components/details/utils";
|
|
5
5
|
import { StyledHost } from "../../ui-components";
|
|
6
6
|
import PaymentDetailsLoading from "./payment-details-loading";
|
|
7
|
+
import { Badge, BadgeVariant } from "../../ui-components/badge/badge";
|
|
7
8
|
export class PaymentDetailsCore {
|
|
8
9
|
constructor() {
|
|
9
10
|
this.loading = true;
|
|
@@ -37,16 +38,16 @@ export class PaymentDetailsCore {
|
|
|
37
38
|
});
|
|
38
39
|
}
|
|
39
40
|
render() {
|
|
40
|
-
return (h(StyledHost, { key: '
|
|
41
|
-
this.payment && (h("justifi-details", { key: '
|
|
42
|
-
h(DetailSectionTitle, { key: '
|
|
43
|
-
h("div", { key: '
|
|
41
|
+
return (h(StyledHost, { key: 'db2d2ec374cf0743db6bfe43e0b8f77572e9cdfd' }, this.loading && h(PaymentDetailsLoading, { key: 'c5b7481c55723d7ab8eb9b8001efadfe33c82532' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
42
|
+
this.payment && (h("justifi-details", { key: 'cbbd4166213c49a85c70fab920024f876394a24b', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '645552490a3d5115af19d4b3ff3d5dc80b9d3038', slot: "head-info", badge: (h("div", { class: "d-flex gap-1" }, MapPaymentStatusToBadge(this.payment.status), this.payment.expedited ? (h(Badge, { variant: BadgeVariant.WARNING, title: "Expedited", text: "Expedited" })) : null)), title: this.payment.formattedPaymentAmount(this.payment.amount) }, h(EntityHeadInfoItem, { key: '968b2420a648b0c12753dbae1ea966ba0ecd4b5e', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: '056a4d72223eba4225ec6fa3f52c028be21d3fbe', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '8a010c36e237479a318dd6d03026a9b36fc78eab', title: "ID", value: this.payment.id })), h("div", { key: 'fbbb9dd12d129fd589228f23eef25ad2d048e5ba', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '51a4d8bdc3e66c17dabb77cbdcf06cd3cfdbe7e8', sectionTitle: "Details" }), h("div", { key: 'ce03ec8c368f24487ca5cf267dcc0237b4637595', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '35b94e984c638b461a26156acb08cf1647a065e4', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '5398feb78b40735d773889c57517de8784f043f0', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'e2667dba443e74b4139137d7194538b4799c59d4', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '3cc3a74d90a0d10fe5f79c6e3fa942147bdf37f0', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: 'e7f942356e5810ed1f6836002e03fab078e7da24', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '4ed5bb3102ab533914f8841de5f3bb38e059cca0', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: 'ffe0e3990db78c2e57133865f8ab5314698a6126', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'a0defbb3e570929e4667c7d96beb23a2b21090f2', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: 'a196e9c84f30e0cbab086c02caa15188adae0fe5', title: "Description", value: this.payment.description }), h(DetailItem, { key: '3f0215fbb1faf2defb2a614d1bb463f43f4edc97', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
43
|
+
h(DetailSectionTitle, { key: '3627159fa135d895c1591c1146daf6b1b3fcff3e', sectionTitle: "Payment Method" }),
|
|
44
|
+
h("div", { key: '00340647cfb3421627b587bcfd3e81d6cf9cb271', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'b89fd68b547f48c42636b7b0904f9c518a135a84', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: '2998d39cc3d133398f2e482cd47f5d5eb2fd9bc6', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '23259226da35ecd71d07685484145d547eebcfa5', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: '090a22f97bfb43ffae0c7c475ee6f9c00d92193b', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '72c41739c55d99c9efbc0d5c77fcfa0049d5c21a', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
44
45
|
], this.payment.payment_method.bank_account && [
|
|
45
|
-
h(DetailSectionTitle, { key: '
|
|
46
|
-
h("div", { key: '
|
|
46
|
+
h(DetailSectionTitle, { key: '55bfec78982d1a44c5ea863e4c5bdc64cd61f241', sectionTitle: "Payment Method" }),
|
|
47
|
+
h("div", { key: 'da3be8d900f1db7b0337a27e91c90d424b4970d5', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'bfcd4367c607055397d8d4417dc671d5f262acd2', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: 'a5ba2164eadb8bd424889cd6ed02db4679d75f91', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: '96a3c52d38c8fe6dabaa032e41f87946a1fb5333', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '3dfa62ba43bd18533104b8e608ce4303a75b6451', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
47
48
|
], this.payment.metadata && [
|
|
48
|
-
h(DetailSectionTitle, { key: '
|
|
49
|
-
h("div", { key: '
|
|
49
|
+
h(DetailSectionTitle, { key: '6d180793de4f1d8e13c0af9e30d44faf121733cd', sectionTitle: 'Metadata' }),
|
|
50
|
+
h("div", { key: '76b6e75ace2f243ad86dc5f66aed0aa505a35181', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'a3ee69d8d8699a15980f170a087925d3458135a4', metadata: this.payment.metadata }))
|
|
50
51
|
])))));
|
|
51
52
|
}
|
|
52
53
|
static get is() { return "payment-details-core"; }
|
|
@@ -39,8 +39,10 @@ export class PaymentTransactionsList {
|
|
|
39
39
|
this.initializeApi();
|
|
40
40
|
}
|
|
41
41
|
disconnectedCallback() {
|
|
42
|
-
|
|
42
|
+
var _a;
|
|
43
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
43
44
|
}
|
|
45
|
+
;
|
|
44
46
|
propChanged() {
|
|
45
47
|
this.initializeApi();
|
|
46
48
|
}
|
|
@@ -89,7 +91,7 @@ export class PaymentTransactionsList {
|
|
|
89
91
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
90
92
|
}
|
|
91
93
|
render() {
|
|
92
|
-
return (h(StyledHost, { key: '
|
|
94
|
+
return (h(StyledHost, { key: '5afad0e2e8dc4f37660b09c434fa1e69014194f6' }, h(TableWrapper, { key: '90b657d1a31077ccfee1c494e5bde526572d86b1' }, h(TableComponent, { key: 'c25fd7f2cb00dff6e7d1e5102660c28c08735439' }, h(TableHead, { key: 'a6a9bfd9dff7aa5c82e2dbe5c3c5674b4e6a5c04' }, h(TableHeadRow, { key: 'a7e136e48933ae4f7dabc3cb70bda5f2016b400f' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '921169d43283f1b13921f3972e4ff912a92a27eb' }, h(TableLoadingState, { key: '69e6d2c8df07e0acb657ab0f7997b6576be86c91', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '6a8a44d407bc4cb75e003ce68b174eed3aee885f', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '599552617b6e9f4dc6451a4fbbb5fe2c402849e4', 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: 'c2cadba24db21209557443e598ae2fbb1f4f1ffa' }, h(TableFootRow, { key: 'ffa9e9f6bf3dd7bb6bb5b8626756edf7ee249074' }, h(TableFootCell, { key: '7d6a900f2aac9483004c4eda42b3592db4495cca', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '028b35bc60ff879529a10ef43de4f45ba2aeb584', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
93
95
|
}
|
|
94
96
|
static get is() { return "justifi-payment-transactions-list"; }
|
|
95
97
|
static get encapsulation() { return "shadow"; }
|
|
@@ -83,7 +83,7 @@ export class PaymentsListCore {
|
|
|
83
83
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
84
84
|
}
|
|
85
85
|
render() {
|
|
86
|
-
return (h(TableWrapper, { key: '
|
|
86
|
+
return (h(TableWrapper, { key: 'ebc89e8b55258a1442edad51d5238b8734aa345e' }, h(TableComponent, { key: 'b90635548604f5d486a38421e5228c61ec47c033' }, h(TableHead, { key: '3106e6ac62fc9df004a8dc1c4fa6b07763ec9d7a' }, h(TableHeadRow, { key: '68c7767762899d3ee229835d93eb9221c8b097e9' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '5ffee99d7437590c48f766d5bde24385ea31fdc5' }, h(TableLoadingState, { key: '4170ce391f84c65286f358d4e1c03f67c2f9ffcc', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '8f47428d403e763179e071756582065351fa7c63', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '5857f210589dd16232338ad39897ecd4581dc7db', 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: '1cb054a34b99150f33cf1a008a64451e85af4700' }, h(TableFootRow, { key: 'd203e8a928713108cbfbde297ed18bf60cd5cb8e' }, h(TableFootCell, { key: '710c8b5915f08f14892a04c16ac069039804b4f9', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: 'f9f40a23e8bcbce6adf93f66e2a97f15f91f4f15', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
87
87
|
}
|
|
88
88
|
static get is() { return "payments-list-core"; }
|
|
89
89
|
static get properties() {
|
|
@@ -43,8 +43,8 @@ export class PaymentsListFilters {
|
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
45
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
46
|
-
return (h(StyledHost, { key: '
|
|
47
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: '
|
|
46
|
+
return (h(StyledHost, { key: '41c3ce22404b0e8e536d8c230886eadc34b77208' }, h("table-filters-menu", { key: '864a91207169043f08a47c90c8f867d0e32031e2', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: 'd2a98ef4ab0094f708de21c2c3e02ec149b5e72f', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '00b9b884348d47e7dc1670064c1c0486eefc0a21', class: "p-2" }, h("form-control-text", { key: '405ee21a3780942784738a0cc0a3b423a03c2b5e', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: '5401d6d05995af1fa7ab801987d79711c16aecc1', class: "p-2" }, h("form-control-text", { key: 'e1518fddbd3e62af0ddce873a191376b2504c9e0', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: '131c39879c3823c3d380d4939e6b93a2771bc86a', class: "p-2" }, h("form-control-select", { key: '856053d6ce5381956a18c6a21df169898fa71616', name: "payment_status", label: "Status", options: this.paymentStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.paymentStatus || filterParams.payment_status, disabled: !!this.paymentStatus, part: paymentStatusPaymentsListFilterParam })), h("div", { key: '76ad87197605e45ae06fefc547755df29741fa18', class: "p-2" }, h("form-control-date", { key: '7cdd9b684a87e2da99ecfe963349433bf7ac1d45', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
47
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterPaymentsListFilterParam })), h("div", { key: 'ae78b441f6dbbbdca902fb4f83f7531e80322ff2', class: "p-2" }, h("form-control-date", { key: '34d321e3cd47ccd95ea30d7a54cfb36e34af64db', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
48
48
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforePaymentsListFilterParam }))))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "justifi-payments-list-filters"; }
|
|
@@ -21,8 +21,10 @@ export class PaymentsList {
|
|
|
21
21
|
this.initializeGetPayments();
|
|
22
22
|
}
|
|
23
23
|
disconnectedCallback() {
|
|
24
|
-
|
|
24
|
+
var _a;
|
|
25
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
25
26
|
}
|
|
27
|
+
;
|
|
26
28
|
propChanged() {
|
|
27
29
|
this.initializeGetPayments();
|
|
28
30
|
}
|
|
@@ -44,7 +46,7 @@ export class PaymentsList {
|
|
|
44
46
|
}
|
|
45
47
|
}
|
|
46
48
|
render() {
|
|
47
|
-
return (h(StyledHost, { key: '
|
|
49
|
+
return (h(StyledHost, { key: '26ccbd4f232a44cc9a682d9496fc0eb714c89864' }, h("payments-list-core", { key: 'c2b9653272eb8e3ebcd21309a0c475514ec1aa35', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
48
50
|
}
|
|
49
51
|
static get is() { return "justifi-payments-list"; }
|
|
50
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -4,6 +4,7 @@ import { CodeBlock, DetailItem, DetailSectionTitle, EntityHeadInfo, EntityHeadIn
|
|
|
4
4
|
import { Button, StyledHost } from "../../ui-components";
|
|
5
5
|
import { MapPayoutStatusToBadge } from "../payouts-list/payouts-status";
|
|
6
6
|
import PayoutDetailsLoading from "./payout-details-loading";
|
|
7
|
+
import { Badge, BadgeVariant } from "../../ui-components/badge/badge";
|
|
7
8
|
export class PayoutDetailsCore {
|
|
8
9
|
constructor() {
|
|
9
10
|
this.loading = true;
|
|
@@ -51,9 +52,9 @@ export class PayoutDetailsCore {
|
|
|
51
52
|
}
|
|
52
53
|
render() {
|
|
53
54
|
var _a;
|
|
54
|
-
return (h(StyledHost, { key: '
|
|
55
|
-
h(DetailSectionTitle, { key: '
|
|
56
|
-
h("div", { key: '
|
|
55
|
+
return (h(StyledHost, { key: '1d9842d26d6e1a89b3fc8a1ed6ed395f55b913ee' }, this.loading && h(PayoutDetailsLoading, { key: '95917b7cba094233316f39ed610dfda5360a47e5' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: 'c8f1cc9c3cc9b8e343557d38b88b31035d65c00f', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '0397f400c1576f49e664a1e5d8d5d1318935b281', 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: '3a3a0d511eaf43d54012f7c07688825d141f170a', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '9c33ac6ed41a0d1d91a83af12dee4c7bf401bc60', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: 'f60f96ff20c47f1ec0ad7f2a6f1f81a19b4a03f5', title: "ID", value: this.payout.id }), h("div", { key: '522bc205154fc2904f1c3735e9f859cfd234dff4', class: "m-4" }, h(Button, { key: 'e691e47946499a7359018fe4c774e0e23f8cb4c4', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '7f7c975c5672aaaebcda5870870cd4a52bae40b9', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '03728f098028f6304c2e608bf38e6b79809bd5aa', sectionTitle: "Details" }), h("div", { key: 'ad8416b1a6a90052f4988d9577b6c8d6a881e0a7', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '0ecb52461ee59aad0914547ffc3aff948bc766a6', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: 'bc003db9efc8ea329f4eb5e9644e013dc9578b27', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'e8ce2d2c42b66efd8ff0f87a8d9b58bd1565a019', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '47f05a33981b878ebfd4a88cbd32b71fd6bf3683', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '013126090417ea6244fd01eb0c80aeec72c05bfe', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '252b01172864c2d97b358a0fde5b0532e7298278', sectionTitle: "Account" }), h("div", { key: '4c1f0b28024141ba16803349f60395406dd31f3f', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '6c4f814276825b92c05226d1dc6522a920ab3e2a', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: 'c3824079766df1788264cb2ee962c5229045212c', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '158c9456436cc58622d1337c11f7443497c7ae38', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '7ce5376d2c1632cbd0bd910e6290ec3caf289b73', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'a1f892fe9a638e5b5a4be23e853070355b6cf3bb', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
|
|
56
|
+
h(DetailSectionTitle, { key: '61d325fd74f125295c61266528e1d62e04bb6e2e', sectionTitle: 'Metadata' }),
|
|
57
|
+
h("div", { key: 'e574d0558fec57c0f3342c80846eb1469a9cfeb7', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'ca0cc50f11489df465d29e8da5a51495433931d3', metadata: this.payout.metadata }))
|
|
57
58
|
])))));
|
|
58
59
|
}
|
|
59
60
|
static get is() { return "payout-details-core"; }
|
|
@@ -20,8 +20,10 @@ export class PayoutDetails {
|
|
|
20
20
|
this.initializeServices();
|
|
21
21
|
}
|
|
22
22
|
disconnectedCallback() {
|
|
23
|
-
|
|
23
|
+
var _a;
|
|
24
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
24
25
|
}
|
|
26
|
+
;
|
|
25
27
|
propChanged() {
|
|
26
28
|
this.initializeServices();
|
|
27
29
|
}
|
|
@@ -40,8 +40,10 @@ export class PayoutTransactionsList {
|
|
|
40
40
|
this.initializeApi();
|
|
41
41
|
}
|
|
42
42
|
disconnectedCallback() {
|
|
43
|
-
|
|
43
|
+
var _a;
|
|
44
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
44
45
|
}
|
|
46
|
+
;
|
|
45
47
|
propChanged() {
|
|
46
48
|
this.initializeApi();
|
|
47
49
|
}
|
|
@@ -93,7 +95,7 @@ export class PayoutTransactionsList {
|
|
|
93
95
|
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
94
96
|
}
|
|
95
97
|
render() {
|
|
96
|
-
return (h(StyledHost, { key: '
|
|
98
|
+
return (h(StyledHost, { key: 'd37f96bf4e1d40607d3190791f513df5c1ce02d1' }, h(TableWrapper, { key: 'a6d2b2c342b6286630acb804b93c846ac42eff9b' }, h(TableComponent, { key: 'abcb7a3bbca27973bafdf0a0a1d9316d9e668aa9' }, h(TableHead, { key: 'e79c0ee71e45ca1379e354f939368cacbf1bd74e' }, h(TableHeadRow, { key: 'c64962612a826a5e53c921f43170f1d1ba16399a' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '7b33c299ac42c4e668cb4c967ecc5324ec56ede3' }, h(TableLoadingState, { key: '096000771b0ce2fe37db3329315bd780af9977a1', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '48ff70675d33875b8fdcf7c7ddf9ceed413ca2e8', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '4ffffbd73a18ef281209adbe870383f744d51da5', 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: '8ba623495a597e10bc8708b9984c9da92e3750a4' }, h(TableFootRow, { key: '01f6405cef206cbaf487013370ccd7c312eca3b5' }, h(TableFootCell, { key: '0b94346d3ed5f431393e2df93f0baa81b8804d2b', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: 'c7a24d435a90c4f8db5c0f71b1a120b11cd01b7b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
97
99
|
}
|
|
98
100
|
static get is() { return "justifi-payout-transactions-list"; }
|
|
99
101
|
static get encapsulation() { return "shadow"; }
|
|
@@ -135,7 +135,7 @@ export class PayoutsListCore {
|
|
|
135
135
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
136
136
|
}
|
|
137
137
|
render() {
|
|
138
|
-
return (h(TableWrapper, { key: '
|
|
138
|
+
return (h(TableWrapper, { key: 'ca41a7df9de30363526239ec286054e16a46293d' }, h(TableComponent, { key: '15f8f414b2da0adda480da114541ed7533d79ca3' }, h(TableHead, { key: '038b27097d57734f80502949628535ab1f8bfded' }, h(TableHeadRow, { key: '9f15c37a04d1fa6f5ec49c60bfbee3ae3ddbdfca' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'c05f33fc7046606087da1b0693650aa571f8e61f' }, h(TableLoadingState, { key: '1c127fa09435af89c2f07226d70438c7ac261cfb', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '853c86c1d0309155797d9a15433982e4765f941c', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: 'ac3b422be11179ab00accc348cfbd334393d2745', 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: '9cd94e14becf8789e3eb21500eb1eb9aafc79c7a' }, h(TableFootRow, { key: '2a8232066a55771805b34bee43af9c0dbdbe5047' }, h(TableFootCell, { key: '4c44e77eab9e1db423ef5bad6fc9137e82b625f3', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: 'b25056fffc760aba956a6e40fceb29f995a144be', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
139
139
|
}
|
|
140
140
|
static get is() { return "payouts-list-core"; }
|
|
141
141
|
static get properties() {
|
|
@@ -26,8 +26,8 @@ export class PayoutsListFilters {
|
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
28
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
29
|
-
return (h(StyledHost, { key: '
|
|
30
|
-
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: '
|
|
29
|
+
return (h(StyledHost, { key: '42c48bbbfa426540d33c49d5ef927d2da316fda5' }, h("table-filters-menu", { key: '7741ef6667ed7dc6ebbc312f145590939ce1b071', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: '0f983dc3e6a735ad12aea940d7663bab98cf623d', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '27faddc94394d5e52de9d1a65a69ecda2f840360', class: "p-2" }, h("form-control-date", { key: '58cd7720a5dbcc31b32151de1402b2c4b09b94de', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
|
|
30
|
+
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: createdAfterPayoutsListFilterParam })), h("div", { key: 'a2a8d153acc9fa8371c8effb4cfd0146e31a3018', class: "p-2" }, h("form-control-date", { key: '9fc58f04079445952586d0913fad92305fa537a8', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
|
|
31
31
|
convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: createdBeforePayoutsListFilterParam }))))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "justifi-payouts-list-filters"; }
|
|
@@ -24,8 +24,10 @@ export class PayoutsList {
|
|
|
24
24
|
this.initializeGetData();
|
|
25
25
|
}
|
|
26
26
|
disconnectedCallback() {
|
|
27
|
-
|
|
27
|
+
var _a;
|
|
28
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
28
29
|
}
|
|
30
|
+
;
|
|
29
31
|
propChanged() {
|
|
30
32
|
this.initializeGetData();
|
|
31
33
|
}
|
|
@@ -62,7 +64,7 @@ export class PayoutsList {
|
|
|
62
64
|
}
|
|
63
65
|
}
|
|
64
66
|
render() {
|
|
65
|
-
return (h(StyledHost, { key: '
|
|
67
|
+
return (h(StyledHost, { key: '922ee0ed12294b66d854d28aa18a06dc0438c662' }, h("payouts-list-core", { key: 'cc0557c8fdc14b16df203a6a648c3381a6ff2c13', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
|
|
66
68
|
}
|
|
67
69
|
static get is() { return "justifi-payouts-list"; }
|
|
68
70
|
static get encapsulation() { return "shadow"; }
|
|
@@ -81,7 +81,7 @@ export class TerminalOrdersListCore {
|
|
|
81
81
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h(TableWrapper, { key: '
|
|
84
|
+
return (h(TableWrapper, { key: '5d03d7f992d4918b6174d89aa67ac87159b0918d' }, h(TableComponent, { key: '30dfd6db82678f7c8e25ee03619403bf0a73ad47' }, h(TableHead, { key: '3e51fd3124abf93a1a76ac6d6b66ec64edf30216' }, h(TableHeadRow, { key: '170385237e96ba55aa21c954bff4f74a7724463b' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'c313d42ae1ad3f54a806f8965b8ff99616df85ab' }, h(TableLoadingState, { key: '7f01919e6120a497383990bafb8288fec806f421', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'e6585de336bb6cfe0f7bddc4bd503cf5632481da', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: '3490d034636506fdd54c748bff98596baed09673', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData && this.terminalOrdersTable.rowData.map((data, index) => (h(TableRow, { "data-test-id": "table-row", "data-row-entity-id": this.entityId[index], onClick: this.rowClickHandler }, data)))), this.paging && (h(TableFoot, { key: '52ba4b6e8c0d2afcded3feaaf6a22927036b96fa' }, h(TableFootRow, { key: '8fccd42dc633300f5e6664ff380c3828010ff6ec' }, h(TableFootCell, { key: '7937c9bceb54abe450e9b7956bd2599de228cc8b', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '90854b93870cb20251488fd15e936982245c3d3b', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
85
85
|
}
|
|
86
86
|
static get is() { return "terminal-orders-list-core"; }
|
|
87
87
|
static get properties() {
|
|
@@ -47,8 +47,8 @@ export class TerminalOrdersListFilters {
|
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
49
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
50
|
-
return (h(StyledHost, { key: '
|
|
51
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '
|
|
50
|
+
return (h(StyledHost, { key: 'e8bd98c43f44e2c562fb4dbe08cf90a9dd8063e4' }, h("table-filters-menu", { key: '8c865c53a9bd45a251ae8eb75d31ab47228ca014', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: 'b415d03966e45cb993c544f6205adc2f3611d5da', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '7b483dd1d2254c8e3d45d6e1af4d45a839f8bdd8', class: "p-2" }, h("form-control-select", { key: '5f929730acb0c28da920f1d283d43108f06e29cb', name: "order_status", label: "Order Status", options: this.terminalOrderStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderStatus || filterParams.order_status, disabled: !!this.orderStatus, part: orderStatusTerminalOrdersListFilterParam })), h("div", { key: '05242bf5293256a3214ce11771f1df9d5341a095', class: "p-2" }, h("form-control-select", { key: 'dac5bbd765aed70530801395449463d6f85582fe', name: "order_type", label: "Order Type", options: this.terminalOrderTypeOptions, inputHandler: this.setParamsOnChange, defaultValue: this.orderType || filterParams.order_type, disabled: !!this.orderType, part: orderTypeTerminalOrdersListFilterParam })), h("div", { key: '307842201ff7a5367de2857a7a59e612bb0e7976', class: "p-2" }, h("form-control-date", { key: '4dec0bead1d09989b4a1a20c128573c299b84e41', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
51
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: createdAfterTerminalOrdersListFilterParam })), h("div", { key: '8ed2b9b5287221b8f521f5f05cec5e1808fed19f', class: "p-2" }, h("form-control-date", { key: 'a318ad6e0b426ef14470ee479f48d57b5b00ce2c', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
52
52
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: createdBeforeTerminalOrdersListFilterParam }))))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "justifi-terminal-orders-list-filters"; }
|
|
@@ -20,6 +20,11 @@ export class TerminalOrdersList {
|
|
|
20
20
|
this.analytics = new JustifiAnalytics(this);
|
|
21
21
|
this.initializeGetData();
|
|
22
22
|
}
|
|
23
|
+
disconnectedCallback() {
|
|
24
|
+
var _a;
|
|
25
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
26
|
+
}
|
|
27
|
+
;
|
|
23
28
|
initializeGetData() {
|
|
24
29
|
if (this.accountId && this.authToken) {
|
|
25
30
|
this.getTerminalOrders = makeGetTerminalOrders({
|
|
@@ -38,7 +43,7 @@ export class TerminalOrdersList {
|
|
|
38
43
|
}
|
|
39
44
|
}
|
|
40
45
|
render() {
|
|
41
|
-
return (h(StyledHost, { key: '
|
|
46
|
+
return (h(StyledHost, { key: '3d9d1cf5051c5db194fb740370f655cec0495e07' }, h("terminal-orders-list-core", { key: 'dacc4dacf8c6cf91e9527916667fa5d716fc792a', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
42
47
|
}
|
|
43
48
|
static get is() { return "justifi-terminal-orders-list"; }
|
|
44
49
|
static get encapsulation() { return "shadow"; }
|
|
@@ -118,7 +118,7 @@ export class TerminalsListCore {
|
|
|
118
118
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
119
119
|
}
|
|
120
120
|
render() {
|
|
121
|
-
return (h(TableWrapper, { key: '
|
|
121
|
+
return (h(TableWrapper, { key: '18758ce4d79c07564b15f9712762232fa8ea2083' }, h(TableComponent, { key: '70c5d623cf89ed440e0bb318c4be1c1c022f90e9' }, h(TableHead, { key: '3a2ec16691dddf82a9988b970506576680885106' }, h(TableHeadRow, { key: '8fc7f8fcb219a0e577e67e5694ff818801477a2c' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: 'e65e2646a51cb8859a77a13a4fb79b0ca57066b7' }, h(TableLoadingState, { key: '5a50acb1101958238077a3a26307f2252aed5584', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'c79793063bef320ca258988880da5fc305200456', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '758ab1f9f3660f292f4421b940d040d6408f45ca', 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: 'e88243106332270c051599905cf61b20c05637ac' }, h(TableFootRow, { key: '4c1e2dca2100a5010b8fcae7cb42e44cde5e0128' }, h(TableFootCell, { key: 'e8ce9acc75921d176f265e6a6f89398f86c911b0', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '9930d2573e46628637eb12034cb966d69b3b43b9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) }))))))));
|
|
122
122
|
}
|
|
123
123
|
static get is() { return "terminals-list-core"; }
|
|
124
124
|
static get properties() {
|
|
@@ -35,7 +35,7 @@ export class TerminalsListFilters {
|
|
|
35
35
|
}
|
|
36
36
|
render() {
|
|
37
37
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
38
|
-
return (h(StyledHost, { key: '
|
|
38
|
+
return (h(StyledHost, { key: '4d3d629e79524a5af3cdaa53a9cf4495adbb1432' }, h("table-filters-menu", { key: 'd49e21e577afc1a4975b0d860a52937772b65e48', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '0b56a893f0eba5947721b0ca9279b0d2d0e249f3', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '0f037e3d28e052423451b64fc54f551a1e78993c', class: "p-2" }, h("form-control-text", { key: '52fdf6336a67d203ef29ad4d5f3ec53d7046f151', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: '8aaabed2e0ba260298cd5ee0a699007d54d7deb3', class: "p-2" }, h("form-control-text", { key: 'a15fd5e5eef01ae360a0961abb64da458a64d04f', name: "terminal_order_id", label: "Terminal Order ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalOrderId || filterParams.terminal_order_id, disabled: !!this.terminalOrderId, part: terminalOrderIdTerminalsListFilterParam })), h("div", { key: '5111cba84dc8685cde783235217e1be2cad8fd8f', class: "p-2" }, h("form-control-select", { key: '20c7c224ac401cb3a38f96bf25191fd62d0534f9', name: "status", label: "Status", options: this.terminalStatusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.terminalStatus || filterParams.status, disabled: !!this.terminalStatus, part: terminalStatusTerminalsListFilterParam }))))));
|
|
39
39
|
}
|
|
40
40
|
static get is() { return "justifi-terminals-list-filters"; }
|
|
41
41
|
static get encapsulation() { return "shadow"; }
|
|
@@ -23,8 +23,10 @@ export class TerminalsList {
|
|
|
23
23
|
this.initializeGetData();
|
|
24
24
|
}
|
|
25
25
|
disconnectedCallback() {
|
|
26
|
-
|
|
26
|
+
var _a;
|
|
27
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
27
28
|
}
|
|
29
|
+
;
|
|
28
30
|
propChanged() {
|
|
29
31
|
this.initializeGetData();
|
|
30
32
|
}
|
|
@@ -59,7 +61,7 @@ export class TerminalsList {
|
|
|
59
61
|
}
|
|
60
62
|
}
|
|
61
63
|
render() {
|
|
62
|
-
return (h(StyledHost, { key: '
|
|
64
|
+
return (h(StyledHost, { key: '8c81823f7a3c613fc1725a8c4fe3438f6186f4fe' }, h("terminals-list-core", { key: '13c38992d9e101955d39065985b6c6b22b5ace9e', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
63
65
|
}
|
|
64
66
|
static get is() { return "justifi-terminals-list"; }
|
|
65
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,6 +12,11 @@ export class TokenizePaymentMethod {
|
|
|
12
12
|
checkPkgVersion();
|
|
13
13
|
this.analytics = new JustifiAnalytics(this);
|
|
14
14
|
}
|
|
15
|
+
disconnectedCallback() {
|
|
16
|
+
var _a;
|
|
17
|
+
(_a = this.analytics) === null || _a === void 0 ? void 0 : _a.cleanup();
|
|
18
|
+
}
|
|
19
|
+
;
|
|
15
20
|
async tokenizePaymentMethod(event) {
|
|
16
21
|
event && event.preventDefault();
|
|
17
22
|
this.isLoading = true;
|
|
@@ -44,11 +49,10 @@ export class TokenizePaymentMethod {
|
|
|
44
49
|
this.paymentMethodOptionsRef.fillBillingForm(fields);
|
|
45
50
|
}
|
|
46
51
|
async validate() {
|
|
47
|
-
|
|
48
|
-
return { isValid };
|
|
52
|
+
return this.paymentMethodOptionsRef.validate();
|
|
49
53
|
}
|
|
50
54
|
render() {
|
|
51
|
-
return (h(StyledHost, { key: '
|
|
55
|
+
return (h(StyledHost, { key: '9f12f7a83b2cb06c83694454ea5884bd7392eb83' }, h("form", { key: '0a0a4b4a049aa85863ef5c65313b89ebf58455c5' }, h("fieldset", { key: 'c35ed423483d49615f9ebe500fcef405394f4eb6' }, h("div", { key: '80419e9ca3431d9d75cffc958daab84a2c232f49', class: "row gy-3" }, h("div", { key: 'bd465d8b364c1bc46a6a3dee3fb74087bc087580', class: "col-12" }, h("justifi-payment-method-options", { key: 'c363e501622ef81c78a728ebbd15a3a4cd89867a', ref: (el) => (this.paymentMethodOptionsRef = el), "show-card": !this.disableCreditCard, "show-ach": !this.disableBankAccount, "show-bnpl": false, paymentMethodGroupId: this.paymentMethodGroupId, "show-saved-payment-methods": false, hideCardBillingForm: this.hideCardBillingForm, hideBankAccountBillingForm: this.hideBankAccountBillingForm, authToken: this.authToken, "account-id": this.accountId })), h("div", { key: 'ad252991a12f6d21a012b6422ecaae13412f789b', class: "col-12" }, h(Button, { key: '4bb1dcdfeb71c21d3268c11fabd1ab92b43fca5e', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText)))))));
|
|
52
56
|
}
|
|
53
57
|
static get is() { return "justifi-tokenize-payment-method"; }
|
|
54
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -343,7 +347,7 @@ export class TokenizePaymentMethod {
|
|
|
343
347
|
},
|
|
344
348
|
"validate": {
|
|
345
349
|
"complexType": {
|
|
346
|
-
"signature": "() => Promise<{ isValid: boolean; }>",
|
|
350
|
+
"signature": "() => Promise<{ isValid: boolean; errors?: any; }>",
|
|
347
351
|
"parameters": [],
|
|
348
352
|
"references": {
|
|
349
353
|
"Promise": {
|
|
@@ -351,7 +355,7 @@ export class TokenizePaymentMethod {
|
|
|
351
355
|
"id": "global::Promise"
|
|
352
356
|
}
|
|
353
357
|
},
|
|
354
|
-
"return": "Promise<{ isValid: boolean; }>"
|
|
358
|
+
"return": "Promise<{ isValid: boolean; errors?: any; }>"
|
|
355
359
|
},
|
|
356
360
|
"docs": {
|
|
357
361
|
"text": "",
|
|
@@ -80,7 +80,7 @@ export class CustomPopper {
|
|
|
80
80
|
this.hideEvent.emit();
|
|
81
81
|
}
|
|
82
82
|
render() {
|
|
83
|
-
return (h("div", { key: '
|
|
83
|
+
return (h("div", { key: '7ef56b941bf884c5a1416b373372748374bb204a' }, h("style", { key: 'ac2a710bea0939dd7f279968cfd33d789eba3a08' }, `
|
|
84
84
|
.popper-content {
|
|
85
85
|
display: none;
|
|
86
86
|
}
|
|
@@ -88,7 +88,7 @@ export class CustomPopper {
|
|
|
88
88
|
display: block;
|
|
89
89
|
z-index: 1030;
|
|
90
90
|
}
|
|
91
|
-
`), h("div", { key: '
|
|
91
|
+
`), h("div", { key: 'f34a15bd8122833ed8b188cd0519588f2da78bb9', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '54d97c9be7fe9c33584156569c927e2108cab331' }))));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "custom-popper"; }
|
|
94
94
|
static get properties() {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { h
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
import { ErrorState } from "./utils";
|
|
3
3
|
export class Details {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(
|
|
5
|
+
return (h("div", { key: '3c1c4e729711c6676c176a5a04228ec7ebb7acfa' }, this.errorMessage ?
|
|
6
6
|
ErrorState(this.errorMessage)
|
|
7
7
|
:
|
|
8
8
|
h("main", { class: "p-2" }, h("slot", { name: "head-info" }), h("slot", { name: 'detail-sections' }))));
|
|
@@ -31,10 +31,10 @@ export class CheckboxInput {
|
|
|
31
31
|
return inputCheckbox;
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'ec1a11fd6b5d97b4a6136b91b750c0fde7f9e7fd' }, h("div", { key: 'b56aa5fb171204bcebffa8aa22e8b5cc7ae8daf1', class: 'form-group d-flex flex-column' }, h("div", { key: 'da21623174fbc8fca6f063771f234f755945a838', class: "form-check" }, h("input", { key: 'f78acb43994063f81d823907378b9aa71a752f66', ref: el => (this.checkboxElement = el), type: "checkbox", id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
35
35
|
this.isFocused = false;
|
|
36
36
|
this.formControlBlur.emit();
|
|
37
|
-
}, 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: '
|
|
37
|
+
}, 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: '7ae4a71d065ef48cc261a4850b6baac79640836c', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: 'cb50d3eebf345d1db44cf377da8b3c1f709b733c', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: '20990b29fe22a5126a304788feb2c0498fb4925b', errorText: this.errorText, name: this.name }))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "form-control-checkbox"; }
|
|
40
40
|
static get properties() {
|