@justifi/webcomponents 6.15.0-rc.1 → 6.15.0-rc.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/{Analytics-VQGAbMVS.js → Analytics-COhunq0p.js} +2 -2
- package/dist/cjs/{Api--EGkA-pT.js → Api-Do6SaltY.js} +1 -1
- package/dist/cjs/additional-questions-form-step_15.cjs.entry.js +4 -4
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/{business.service-B51fjG_j.js → business.service-72YETCdB.js} +1 -1
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-RMsgKzFc.js → check-pkg-version-BxGoSXGD.js} +1 -1
- package/dist/cjs/{checkout.service-BsOwkSNp.js → checkout.service-CPsXfx0Z.js} +1 -1
- package/dist/cjs/custom-popper_2.cjs.entry.js +2 -2
- package/dist/cjs/dispute-notification_2.cjs.entry.js +5 -5
- package/dist/cjs/{event-types-C_LP6UcW.js → event-types-UHzCC7Ga.js} +1 -1
- 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-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 +2 -2
- package/dist/cjs/{get-subaccounts-d4CUegsn.js → get-subaccounts-Bp7DOmM_.js} +1 -1
- package/dist/cjs/internal-button.cjs.entry.js +1 -1
- package/dist/cjs/justifi-apple-pay_12.cjs.entry.js +47 -16
- package/dist/cjs/justifi-bank-account-billing-form-simple.cjs.entry.js +4 -4
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-details.cjs.entry.js +5 -5
- package/dist/cjs/justifi-business-form.cjs.entry.js +5 -5
- package/dist/cjs/justifi-card-form.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkout-qr-code.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +5 -5
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +4 -4
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +7 -7
- package/dist/cjs/justifi-payment-details.cjs.entry.js +13 -13
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +5 -5
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payout-details.cjs.entry.js +8 -8
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +7 -7
- package/dist/cjs/justifi-qr-terminal.cjs.entry.js +5 -5
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +5 -5
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +4 -4
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +6 -6
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +7 -7
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-DfwuePUh.js → package-G3Vs7Jx5.js} +1 -1
- package/dist/cjs/{payment.service-Vy_JnuSA.js → payment.service-CVwTrHEL.js} +1 -1
- package/dist/cjs/{payout.service-BEPglFXf.js → payout.service-CL3VR0hN.js} +1 -1
- package/dist/cjs/{plaid.service-DXQ7q51E.js → plaid.service-Cukg5wuY.js} +1 -1
- package/dist/cjs/radio-list-item.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/{terminal.service-BP2YecQ_.js → terminal.service-C0KG7BqL.js} +1 -1
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/paypal/justifi-paypal.js +38 -13
- 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/ui-components/custom-popper/custom-popper.js +2 -2
- package/dist/collection/ui-components/form/form-control-date.js +2 -2
- package/dist/collection/ui-components/form/form-control-file-v2.js +1 -1
- package/dist/collection/ui-components/form/form-control-file.js +2 -2
- package/dist/collection/ui-components/form/form-control-monetary.js +2 -2
- package/dist/collection/ui-components/form/form-control-number-masked.js +2 -2
- package/dist/collection/ui-components/form/form-control-number.js +2 -2
- package/dist/collection/ui-components/form/form-control-radio.js +2 -2
- package/dist/collection/ui-components/form/form-control-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 +1 -1
- package/dist/esm/{Analytics-hKJLmoJl.js → Analytics-3WmRTICF.js} +2 -2
- package/dist/esm/{Api-DAJ9sMMj.js → Api-83B3f28Q.js} +1 -1
- package/dist/esm/additional-questions-form-step_15.entry.js +4 -4
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/{business.service-kmkjOyTm.js → business.service-CTqiKKy5.js} +1 -1
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-FEAmKlDW.js → check-pkg-version-CmFl6VLH.js} +1 -1
- package/dist/esm/{checkout.service-BVBmNheb.js → checkout.service-wjFjBxIB.js} +1 -1
- package/dist/esm/custom-popper_2.entry.js +2 -2
- package/dist/esm/dispute-notification_2.entry.js +5 -5
- package/dist/esm/{event-types-B5-lsGjZ.js → event-types-cqQHLwCy.js} +1 -1
- 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-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 +2 -2
- package/dist/esm/{get-subaccounts-By7m_FxO.js → get-subaccounts-ClGG-LRZ.js} +1 -1
- package/dist/esm/internal-button.entry.js +1 -1
- package/dist/esm/justifi-apple-pay_12.entry.js +47 -16
- package/dist/esm/justifi-bank-account-billing-form-simple.entry.js +4 -4
- package/dist/esm/justifi-bank-account-form.entry.js +4 -4
- package/dist/esm/justifi-business-details.entry.js +5 -5
- package/dist/esm/justifi-business-form.entry.js +5 -5
- package/dist/esm/justifi-card-form.entry.js +4 -4
- package/dist/esm/justifi-checkout-qr-code.entry.js +4 -4
- package/dist/esm/justifi-checkout.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list.entry.js +6 -6
- package/dist/esm/justifi-dispute-management.entry.js +5 -5
- package/dist/esm/justifi-gross-payment-chart.entry.js +4 -4
- package/dist/esm/justifi-order-terminals.entry.js +7 -7
- package/dist/esm/justifi-payment-details.entry.js +13 -13
- package/dist/esm/justifi-payment-provisioning.entry.js +5 -5
- package/dist/esm/justifi-payment-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +6 -6
- package/dist/esm/justifi-payout-details.entry.js +8 -8
- package/dist/esm/justifi-payout-transactions-list.entry.js +6 -6
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +7 -7
- package/dist/esm/justifi-qr-terminal.entry.js +5 -5
- package/dist/esm/justifi-refund-payment.entry.js +5 -5
- package/dist/esm/justifi-season-interruption-insurance.entry.js +4 -4
- package/dist/esm/justifi-skeleton.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +3 -3
- package/dist/esm/justifi-terminal-orders-list.entry.js +6 -6
- package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
- package/dist/esm/justifi-terminals-list.entry.js +7 -7
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-Dn9_7aQh.js → package-CAVi_ne1.js} +1 -1
- package/dist/esm/{payment.service-CMUlMV1Y.js → payment.service-D7uv5vym.js} +1 -1
- package/dist/esm/{payout.service-C0yd0JZS.js → payout.service-BoSyqft1.js} +1 -1
- package/dist/esm/{plaid.service-CqihCTBS.js → plaid.service-DufQkxDk.js} +1 -1
- package/dist/esm/radio-list-item.entry.js +1 -1
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/{terminal.service-DuF3uTuA.js → terminal.service-BM2aebB6.js} +1 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/custom-popper2.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-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-button2.js +1 -1
- package/dist/module/justifi-header2.js +1 -1
- 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-paypal2.js +39 -11
- 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/radio-list-item2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/types/components/modular-checkout/sub-components/paypal/justifi-paypal.d.ts +9 -2
- package/dist/webcomponents/{p-d4de565d.entry.js → p-0aa96018.entry.js} +1 -1
- package/dist/webcomponents/p-0fbc806f.entry.js +1 -0
- package/dist/webcomponents/{p-36f05f5f.entry.js → p-10787684.entry.js} +1 -1
- package/dist/webcomponents/{p-86f9d5f6.entry.js → p-1365a46b.entry.js} +1 -1
- package/dist/webcomponents/p-1fa62eba.entry.js +1 -0
- package/dist/webcomponents/p-25f70d5f.entry.js +1 -0
- package/dist/webcomponents/{p-DsvK2pes.js → p-27igUlku.js} +1 -1
- package/dist/webcomponents/{p-31204dd5.entry.js → p-2b5533a1.entry.js} +1 -1
- package/dist/webcomponents/p-388082cd.entry.js +1 -0
- package/dist/webcomponents/p-3f2fb856.entry.js +1 -0
- package/dist/webcomponents/{p-e0bce67a.entry.js → p-4cad48c1.entry.js} +1 -1
- package/dist/webcomponents/{p-10b91a6c.entry.js → p-50c2b8f0.entry.js} +1 -1
- package/dist/webcomponents/{p-5a11c49f.entry.js → p-5842d4e8.entry.js} +1 -1
- package/dist/webcomponents/{p-0d8a256c.entry.js → p-5c89dcdf.entry.js} +1 -1
- package/dist/webcomponents/{p-b6ce91f0.entry.js → p-5d7b3d71.entry.js} +1 -1
- package/dist/webcomponents/p-5dcb1713.entry.js +1 -0
- package/dist/webcomponents/{p-33281304.entry.js → p-5f8c30b6.entry.js} +1 -1
- package/dist/webcomponents/p-68e88747.entry.js +1 -0
- package/dist/webcomponents/{p-c6f85bef.entry.js → p-6931a1f2.entry.js} +1 -1
- package/dist/webcomponents/{p-f8764c8e.entry.js → p-6c94218c.entry.js} +1 -1
- package/dist/webcomponents/{p-1a55efda.entry.js → p-6eb65d23.entry.js} +1 -1
- package/dist/webcomponents/{p-0f7cc07b.entry.js → p-7002286e.entry.js} +1 -1
- package/dist/webcomponents/p-72bb4aff.entry.js +1 -0
- package/dist/webcomponents/{p-1034e83d.entry.js → p-74575a99.entry.js} +1 -1
- package/dist/webcomponents/{p-18306b40.entry.js → p-7c405573.entry.js} +1 -1
- package/dist/webcomponents/{p-2458de56.entry.js → p-825a7ee6.entry.js} +1 -1
- package/dist/webcomponents/{p-408a4f5f.entry.js → p-909a9828.entry.js} +3 -3
- package/dist/webcomponents/p-955c06d3.entry.js +1 -0
- package/dist/webcomponents/{p-5bdae8c7.entry.js → p-97c6593d.entry.js} +1 -1
- package/dist/webcomponents/p-9e3e2e32.entry.js +1 -0
- package/dist/webcomponents/{p-2549c891.entry.js → p-9e9a2546.entry.js} +1 -1
- package/dist/webcomponents/{p-BFi5l0xt.js → p-BAKuMxC9.js} +1 -1
- package/dist/webcomponents/{p-ByQMBEDC.js → p-BEL8sLz6.js} +1 -1
- package/dist/webcomponents/{p-FWuMPTxn.js → p-BSxXlu9H.js} +1 -1
- package/dist/webcomponents/p-CAVi_ne1.js +1 -0
- package/dist/webcomponents/{p-Ba0_MQtJ.js → p-CIpBEUtx.js} +1 -1
- package/dist/webcomponents/{p-DnLqZpI1.js → p-CJEetAx7.js} +1 -1
- package/dist/webcomponents/{p-CKgQN8v0.js → p-DN7VhlTn.js} +1 -1
- package/dist/webcomponents/{p-rznJBkm3.js → p-D_84NsmN.js} +1 -1
- package/dist/webcomponents/p-PdwJswAy.js +1 -0
- package/dist/webcomponents/p-acb0b66c.entry.js +1 -0
- package/dist/webcomponents/p-b23dfa13.entry.js +1 -0
- package/dist/webcomponents/{p-5348209c.entry.js → p-c3818a5a.entry.js} +1 -1
- package/dist/webcomponents/{p-ddba9ab3.entry.js → p-c5424fda.entry.js} +1 -1
- package/dist/webcomponents/p-ca13117d.entry.js +1 -0
- package/dist/webcomponents/{p-af728bc6.entry.js → p-cb1cc88e.entry.js} +1 -1
- package/dist/webcomponents/{p-d446ab68.entry.js → p-ced6f6f1.entry.js} +1 -1
- package/dist/webcomponents/{p-fa2e7534.entry.js → p-d59676ea.entry.js} +1 -1
- package/dist/webcomponents/p-d98bc829.entry.js +1 -0
- package/dist/webcomponents/{p-636c9571.entry.js → p-eb31024f.entry.js} +1 -1
- package/dist/webcomponents/{p-80a9f84c.entry.js → p-ee7fe3a8.entry.js} +1 -1
- package/dist/webcomponents/p-f0434a13.entry.js +1 -0
- package/dist/webcomponents/{p-b9664e84.entry.js → p-f3682c72.entry.js} +1 -1
- package/dist/webcomponents/{p-aebd2149.entry.js → p-f5358a80.entry.js} +1 -1
- package/dist/webcomponents/{p-d555220f.entry.js → p-f9f0cb1f.entry.js} +1 -1
- package/dist/webcomponents/p-fdd087d4.entry.js +1 -0
- package/dist/webcomponents/{p-BHaO3c8W.js → p-nbKvRcwU.js} +1 -1
- package/dist/webcomponents/{p-Bl00tHyn.js → p-vIQBTQmc.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-22a57828.entry.js +0 -1
- package/dist/webcomponents/p-27b07530.entry.js +0 -1
- package/dist/webcomponents/p-2e82a488.entry.js +0 -1
- package/dist/webcomponents/p-3c33b3c1.entry.js +0 -1
- package/dist/webcomponents/p-76e96874.entry.js +0 -1
- package/dist/webcomponents/p-772ab8a3.entry.js +0 -1
- package/dist/webcomponents/p-7e64a668.entry.js +0 -1
- package/dist/webcomponents/p-8a5ce8ff.entry.js +0 -1
- package/dist/webcomponents/p-9c45729d.entry.js +0 -1
- package/dist/webcomponents/p-9ed85832.entry.js +0 -1
- package/dist/webcomponents/p-C-buCQRx.js +0 -1
- package/dist/webcomponents/p-Dn9_7aQh.js +0 -1
- package/dist/webcomponents/p-a891caf8.entry.js +0 -1
- package/dist/webcomponents/p-d05257f9.entry.js +0 -1
- package/dist/webcomponents/p-d2e890a3.entry.js +0 -1
- package/dist/webcomponents/p-d397b38f.entry.js +0 -1
- package/dist/webcomponents/p-dd4eea27.entry.js +0 -1
- package/dist/webcomponents/p-e1e5bddf.entry.js +0 -1
|
@@ -16,7 +16,7 @@ const FormControlFileV2 = /*@__PURE__*/ proxyCustomElement(class FormControlFile
|
|
|
16
16
|
this.disabled = false;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (h(Host, { key: '
|
|
19
|
+
return (h(Host, { key: '8f1a2e7469bf052321e464d3d7d4434a8e1b94eb', exportparts: "label,input,input-invalid" }, h("div", { key: 'a930b47727ba05e965ec5df7b042d2416d38db2c', class: "form-group d-flex flex-column" }, h("div", { key: 'e1040ac692c0f597c0461bcaa27f562c69056c30', class: "d-flex align-items-start gap-2" }, h("label", { key: '387e3d18da10274de2cf9ef680d9483d7855e77e', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '4bc4aab440ec7cca2eb6af7105d2d9078922376a', helpText: this.helpText })), h("input", { key: '4050a93b51b5b1ecadfe9cff53c5794321c77d13', 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: 'aee21aa5cd54e48f2e7eca3763a07051dd942653', errorText: this.errorText, name: this.name }))));
|
|
20
20
|
}
|
|
21
21
|
get el() { return this; }
|
|
22
22
|
}, [256, "form-control-file-v2", {
|
|
@@ -53,10 +53,10 @@ const FormControlFile = /*@__PURE__*/ proxyCustomElement(class FormControlFile e
|
|
|
53
53
|
return part;
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '9ea17017850bd5e83a213b5247af2fe64f11db6c' }, h("div", { key: '6cb7715a542d193a1ef1579dad6889fb0191e195', class: "form-group d-flex flex-column" }, h("div", { key: 'c643268b004611f98b4d24c341a46d0bce9a8944', class: "d-flex align-items-start gap-2" }, h("label", { key: '3541f24060c2279f0cfb604f7bdec355462196a8', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '66f62e7d0ab51765fefc92d8674402a439671792', helpText: this.helpText })), h("input", { key: '564819ed2423c923f16329dc4ccb7a96f50e7ddd', 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: () => {
|
|
57
57
|
this.isFocused = false;
|
|
58
58
|
this.formControlBlur.emit();
|
|
59
|
-
} }), h(FormControlErrorText, { key: '
|
|
59
|
+
} }), h(FormControlErrorText, { key: '2bbc1831fa7aaf773c24860ac47a8318b2eef93d', errorText: this.errorText, name: this.name }))));
|
|
60
60
|
}
|
|
61
61
|
get el() { return this; }
|
|
62
62
|
}, [256, "form-control-file", {
|
|
@@ -53,10 +53,10 @@ const FormControlMonetary = /*@__PURE__*/ proxyCustomElement(class FormControlMo
|
|
|
53
53
|
return input;
|
|
54
54
|
}
|
|
55
55
|
render() {
|
|
56
|
-
return (h(Host, { key: '
|
|
56
|
+
return (h(Host, { key: '0e155ea412884f0d45702620cf31aa3910940e88' }, h("div", { key: 'bdf371cf77ec32483c8f984fdc68133ae05be865', class: "form-group d-flex flex-column" }, h("label", { key: 'b8b30aa3bb6ebc5e423593737fd646090a584272', part: label, class: "form-label", htmlFor: this.name }, this.label), h(FormControlHelpText, { key: '6ba6701d1b54eb1b7e4e9de2f6386346b055d516', name: this.name, helpText: this.helpText }), h("div", { key: 'cf6893c681afe85d9e435a9e8920683dd9864c14', class: "input-group" }, h("span", { key: 'de56ce422d29f38028dcbefd8f35be3210223f67', class: "input-group-text", part: inputAdornment }, "$"), h("input", { key: '234592cf95dc5e613fee8da90a5a4e40389b5bc4', ref: el => this.formControl = el, id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
57
57
|
this.isFocused = false;
|
|
58
58
|
this.formControlBlur.emit();
|
|
59
|
-
}, 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: '
|
|
59
|
+
}, 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: '2e66376501c5a7718f41c2714a66acf74bb6cde4', errorText: this.errorText, name: this.name }))));
|
|
60
60
|
}
|
|
61
61
|
static get watchers() { return {
|
|
62
62
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -75,10 +75,10 @@ const FormControlNumberMasked = /*@__PURE__*/ proxyCustomElement(class FormContr
|
|
|
75
75
|
return input;
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
|
-
return (h(Host, { key: '
|
|
78
|
+
return (h(Host, { key: '63f9e8fbdf09ad22d7744b074d1646e6ea620b61' }, h("div", { key: 'a9fb05c711ebd9de3d3022a2ec17a9c666e7e2aa', class: "form-group d-flex flex-column" }, h("div", { key: 'e726ecfce3bd700fab74b6b3f81bdcba0d43428f', class: "d-flex align-items-start gap-2" }, h("label", { key: '7940a4f3d8b3c894d0ee54871935e9989899c894', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '5c1782d425686b096e0b91c411e7543b794b969f', helpText: this.helpText })), h("input", { key: '3b8533a7cd4e0fe1907c6d5e01008063cf70d120', ref: el => (this.textInput = el), id: this.name, name: this.name, onFocus: () => (this.isFocused = true), onBlur: () => {
|
|
79
79
|
this.isFocused = false;
|
|
80
80
|
this.formControlBlur.emit();
|
|
81
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '
|
|
81
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), h(FormControlErrorText, { key: '085b4f0ee135c12c6ea9293593e4c722091f895e', errorText: this.errorText, name: this.name }))));
|
|
82
82
|
}
|
|
83
83
|
static get watchers() { return {
|
|
84
84
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -48,10 +48,10 @@ const FormControlNumber = /*@__PURE__*/ proxyCustomElement(class FormControlNumb
|
|
|
48
48
|
return input;
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: 'e21694c1c7611df6ede999aa75fece02977f66f3' }, h("div", { key: '8ea4a38832865e82ffeebcceaabc704d10403966', class: 'form-group d-flex flex-column' }, h("label", { key: '396ab2f79a7168080538ae46da735506b0797311', part: label, class: "form-label", htmlFor: this.name }, this.label), h("input", { key: '715cb6bfbf439fdd4f659e6d21091b047cbca94d', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
52
52
|
this.isFocused = false;
|
|
53
53
|
this.formControlBlur.emit();
|
|
54
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: '
|
|
54
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "number", disabled: this.disabled }), h(FormControlHelpText, { key: 'f8695d85c9b447644b5bdf02d4df9e1c1e3e5da7', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'e736f720d89f5d5aeee6982cb15ea11f63c5dd93', errorText: this.errorText, name: this.name }))));
|
|
55
55
|
}
|
|
56
56
|
get el() { return this; }
|
|
57
57
|
static get watchers() { return {
|
|
@@ -37,10 +37,10 @@ const FormControlRadio = /*@__PURE__*/ proxyCustomElement(class FormControlRadio
|
|
|
37
37
|
return inputRadio;
|
|
38
38
|
}
|
|
39
39
|
render() {
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: 'ffbfee5a2bffb9dc2d6c2489faa9daa60a36604e', class: 'form-group d-flex flex-column' }, h("div", { key: '93e4d129fd0a67d6b6f021b2af4e816683f8b926', class: "form-check" }, h("input", { key: 'e100d93d9750db95262e63aaaf75ff413dbc0928', ref: el => (this.radioElement = el), type: "radio", id: `${this.name}-${this.value}`, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
41
41
|
this.isFocused = false;
|
|
42
42
|
this.formControlBlur.emit();
|
|
43
|
-
}, 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: '
|
|
43
|
+
}, 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: '14a8bb0f48683405413245f572d3186d8948de41', class: "form-check-label", htmlFor: `${this.name}-${this.value}`, part: label }, this.label)), h("form-control-help-text", { key: 'ca497838c5f52e0c9a528c9503b2e17785239d23', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '6f1f5d3ac8e1fe55d9c676f5e5f96633de777d01', errorText: this.errorText, name: this.name })));
|
|
44
44
|
}
|
|
45
45
|
}, [256, "form-control-radio", {
|
|
46
46
|
"label": [8],
|
|
@@ -48,10 +48,10 @@ const FormControlText = /*@__PURE__*/ proxyCustomElement(class FormControlText e
|
|
|
48
48
|
return input;
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
return (h(Host, { key: '
|
|
51
|
+
return (h(Host, { key: '0a275b26c5e6604a478bd4618f8955264205b4f8' }, h("div", { key: 'c495cf0113cfd1ddd6a4d586dfb96d67ec7e92f1', class: "form-group d-flex flex-column" }, h("div", { key: '6a97e6086faaf4b43c41da9615568f359760343c', class: "d-flex align-items-start gap-2" }, h("label", { key: '39c1d7b7d281874a81125374e7a351783de14207', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: '646caf4cd154574488610f47a593a8fbfff0778f', helpText: this.helpText })), h("input", { key: '540637afeb21d3da93c304710568a0ed8ad99dc4', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
52
52
|
this.isFocused = false;
|
|
53
53
|
this.formControlBlur.emit();
|
|
54
|
-
}, 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: '
|
|
54
|
+
}, 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: '1a8246dbf9908c7e56ae2cc0cbea65934c3a33ce', errorText: this.errorText, name: this.name }))));
|
|
55
55
|
}
|
|
56
56
|
get el() { return this; }
|
|
57
57
|
static get watchers() { return {
|
|
@@ -50,10 +50,10 @@ const FormControlTextarea = /*@__PURE__*/ proxyCustomElement(class FormControlTe
|
|
|
50
50
|
return input;
|
|
51
51
|
}
|
|
52
52
|
render() {
|
|
53
|
-
return (h(Host, { key: '
|
|
53
|
+
return (h(Host, { key: 'c23d0ccb0e033048012cb1e1110f785a6270b163' }, h("div", { key: '971db0fe032afae7ea976e0fa3845040a39aab28', class: "form-group d-flex flex-column" }, h("label", { key: 'b733fd61b5421aea811e3b9423d85c6c682493f0', part: label, class: "form-label", htmlFor: this.name }, this.label), h("textarea", { key: 'fa13e420ffdfa28d139418ebfa48bf9108710438', id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
54
54
|
this.isFocused = false;
|
|
55
55
|
this.formControlBlur.emit();
|
|
56
|
-
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: '
|
|
56
|
+
}, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled }), h("form-control-help-text", { key: '787e9ecc2833c827880c7a44c9a577c56f258375', helpText: this.helpText, name: this.name }), h("form-control-error-text", { key: '0f0915db581aee8672f6089d681596c9650b09c2', errorText: this.errorText, name: this.name }))));
|
|
57
57
|
}
|
|
58
58
|
get el() { return this; }
|
|
59
59
|
static get watchers() { return {
|
|
@@ -92,7 +92,7 @@ const HiddenInput = /*@__PURE__*/ proxyCustomElement(class HiddenInput extends H
|
|
|
92
92
|
return input;
|
|
93
93
|
}
|
|
94
94
|
render() {
|
|
95
|
-
return (h(Host, { key: '
|
|
95
|
+
return (h(Host, { key: '09ac1ea8407e3bf2df079f1188a7668e7d7b318e' }, h("input", { key: '18b34d0fae7636e7640dd35a73ce9b369007afd5', ref: el => this.hiddenInput = el, type: "text", class: this.errorText ? "form-control is-invalid" : "form-control", onFocus: () => this.isFocused = true, onBlur: () => this.isFocused = false, part: this.part, tabindex: "-1", style: { height: '0', opacity: '0', pointerEvents: 'none', animation: 'none' } })));
|
|
96
96
|
}
|
|
97
97
|
}, [256, "hidden-input", {
|
|
98
98
|
"isFocused": [32],
|
|
@@ -1625,10 +1625,10 @@ const IframeInput = /*@__PURE__*/ proxyCustomElement(class IframeInput extends H
|
|
|
1625
1625
|
return `${this.iframeOrigin}?${this.urlParams}`;
|
|
1626
1626
|
}
|
|
1627
1627
|
render() {
|
|
1628
|
-
return (h(Host, { key: '
|
|
1628
|
+
return (h(Host, { key: '7116bdbe3d3a69fac28965fa011d016d35ec5025', class: "form-group d-flex flex-column" }, h("div", { key: 'e784c6f81476eb282a07714d5b789f41342c4a2a', style: {
|
|
1629
1629
|
visibility: this.iframeLoaded ? 'visible' : 'hidden',
|
|
1630
1630
|
height: this.iframeLoaded ? 'auto' : '0',
|
|
1631
|
-
} }, h("label", { key: '
|
|
1631
|
+
} }, h("label", { key: 'd0b4341c92a4c957ec4a03485357d6cef7f22426', class: "form-label", htmlFor: "", part: label }, this.label || ''), h("div", { key: '9be8449ee6b3d37aa3607ff31d5649c73e3f4206', class: `p-0 d-flex form-control ${this.isValid ? '' : 'is-invalid'}`, part: this.part, style: Object.assign(Object.assign({}, this.style), { overflow: 'hidden' }) }, h("iframe", { key: '093b48e69a6e8a15a4fd9877424bb0c9a3f58ad7', id: this.inputId, name: this.inputId, src: this.iframeSrc, ref: el => {
|
|
1632
1632
|
this.iframeElement = el;
|
|
1633
1633
|
this.initializeFrameCommunicationService();
|
|
1634
1634
|
}, width: "100%", onLoad: () => {
|
|
@@ -1638,7 +1638,7 @@ const IframeInput = /*@__PURE__*/ proxyCustomElement(class IframeInput extends H
|
|
|
1638
1638
|
this.iframeLoaded.emit();
|
|
1639
1639
|
}
|
|
1640
1640
|
}, this.iframeElement);
|
|
1641
|
-
} })), h(FormControlErrorText, { key: '
|
|
1641
|
+
} })), h(FormControlErrorText, { key: 'f5897f95387e6400f35c997b2921a60fb5f4f11b', errorText: this.errorText, name: this.inputId }))));
|
|
1642
1642
|
}
|
|
1643
1643
|
get el() { return this; }
|
|
1644
1644
|
}, [256, "iframe-input", {
|
|
@@ -11,7 +11,7 @@ const InternalButton = /*@__PURE__*/ proxyCustomElement(class InternalButton ext
|
|
|
11
11
|
this.type = 'button';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(Button, { key: '
|
|
14
|
+
return (h(Button, { key: '4048996761c978279f2aefbb43bbbb249fe445d9', variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, class: this.class, type: this.type, disabled: this.disabled, style: this.customStyle, hidden: this.hidden }, this.text));
|
|
15
15
|
}
|
|
16
16
|
}, [256, "internal-button", {
|
|
17
17
|
"text": [1],
|
|
@@ -13,7 +13,7 @@ const JustifiButton = /*@__PURE__*/ proxyCustomElement(class JustifiButton exten
|
|
|
13
13
|
this.type = 'button';
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h(StyledHost, { key: '
|
|
16
|
+
return (h(StyledHost, { key: '1e09a302d064e2e4a860dc4efd9eb9693d4d0055' }, h("internal-button", { key: '9ce7819853789c44860de43f26632c62415ebdb5', text: this.text, variant: this.variant, isLoading: this.isLoading, clickHandler: this.clickHandler, type: this.type, disabled: this.disabled, class: this.class, customStyle: this.customStyle, hidden: this.hidden })));
|
|
17
17
|
}
|
|
18
18
|
}, [257, "justifi-button", {
|
|
19
19
|
"text": [1],
|
|
@@ -20,7 +20,7 @@ const JustifiHeader = /*@__PURE__*/ proxyCustomElement(class JustifiHeader exten
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
const HeaderComponent = this.levels[this.level];
|
|
23
|
-
return (h(StyledHost, { key: '
|
|
23
|
+
return (h(StyledHost, { key: '1843adabddf7d439036f8ce6f55627b7ca3e4a9f' }, h(HeaderComponent, { key: 'b16e5624ce7e092cc8c144a7cdfd9cb6afdf7a83', text: this.text, class: this.class })));
|
|
24
24
|
}
|
|
25
25
|
}, [257, "justifi-header", {
|
|
26
26
|
"text": [1],
|
|
@@ -208,7 +208,7 @@ const JustifiOrderTerminals$1 = /*@__PURE__*/ proxyCustomElement(class JustifiOr
|
|
|
208
208
|
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))));
|
|
209
209
|
}
|
|
210
210
|
render() {
|
|
211
|
-
return (h(StyledHost, { key: '
|
|
211
|
+
return (h(StyledHost, { key: '54455809df1f26151a5ef7d5935e38a8329cbc2e' }, h("div", { key: '6ea3b5336d4c779da65bf2b710aa8fa5757c3b19', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
212
212
|
}
|
|
213
213
|
}, [257, "justifi-order-terminals", {
|
|
214
214
|
"businessId": [1, "business-id"],
|
|
@@ -97,16 +97,16 @@ const JustifiPaymentDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPa
|
|
|
97
97
|
return this.payment.status;
|
|
98
98
|
}
|
|
99
99
|
render() {
|
|
100
|
-
return (h(StyledHost, { key: '
|
|
101
|
-
this.payment && (h("justifi-details", { key: '
|
|
102
|
-
h(DetailSectionTitle, { key: '
|
|
103
|
-
h("div", { key: '
|
|
100
|
+
return (h(StyledHost, { key: 'c20a9881f121383742df4097abd211fc01fa614c' }, this.loading && h(PaymentDetailsLoading, { key: 'cea1dbe1de00b872e3eb83207c2f3f198dd0ce3f' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
101
|
+
this.payment && (h("justifi-details", { key: '821173761c94527c920ced8af53634389ee5e6fd', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: 'c596fc0f0a72f1775295fddb96490c9c2b7c8a4d', 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: 'bd77afb1bffcf42d07858f7f717fcbf672762766', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'ccfb0af2a6680eb76a4e6db01728204725b752c0', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '60f832dd62f9b4aed3495c6aeb38d7798aedf420', title: "ID", value: this.payment.id })), h("div", { key: '3073acb5c67e330e18f45d00b62912bcb5d6b49f', slot: 'detail-sections' }, h(DetailSectionTitle, { key: 'aae396fef7ef9394ac4f90a0d3ae5090dfd91e5c', sectionTitle: "Details" }), h("div", { key: '71330cbb6fef542f60d76a1a6bee1e1d950a95da', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '0d64521a40aff244e599a0f8946c8c1a06f6c1f5', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: 'b67670f8c89d38b5dac856e0326e8dc4aa79240b', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: 'ec82b98af9fc602c273c7d624aae13b2121f40ab', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: 'f785ac60c1a5520d3fefdcd746629431db689dae', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: 'ad986f25d781e51ba7991b5487dcacb63c0e2422', title: "Status", value: MapPaymentStatusToBadge(this.PaymentStatus) }), h(DetailItem, { key: 'aa9918c2962d5e17a3bc7550dc134a85c9f863ab', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: '4052d75ce51d350d3f82b05a2447cb0481b9ffa0', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '2f89484e36dc4e5a01e27033f7ff9602b2d181d7', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '41768b7db45146a949180eebb0ae53d19d39cb7b', title: "Description", value: this.payment.description }), h(DetailItem, { key: 'fef4e8b59d7ca04ee895a7b4eba58503b97956f9', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
102
|
+
h(DetailSectionTitle, { key: '615d5d3a1df6e0b32cd5d7d4dd264250f732a2f4', sectionTitle: "Payment Method" }),
|
|
103
|
+
h("div", { key: '37811c349258526f1fb5e1d7dda8547a01fbc4c7', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'eee5b8828dc3b5e7bf5738d95d488b03d7704934', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'dbda1d8cf16914f1adf0803340d807abc504758b', title: "Payment Type", value: "Card" }), h(DetailItem, { key: '2887c82fcaec3a7322644a928e4291970a69d4a4', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'dc707f794882ba9143cc46541ce89f072e98a653', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '8de60a9b5d5f781d1554108fc80ae0799e3143a6', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
104
104
|
], this.payment.payment_method.bank_account && [
|
|
105
|
-
h(DetailSectionTitle, { key: '
|
|
106
|
-
h("div", { key: '
|
|
105
|
+
h(DetailSectionTitle, { key: '697f50418855675ea222fe2dc7558d30f884ed47', sectionTitle: "Payment Method" }),
|
|
106
|
+
h("div", { key: 'c7a013952b32f95a74d0e0f281a0750966e58c0d', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: 'ea9692b3a3dac313aa366ec22f0d766ba5eb0d52', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '5826fd24417df7fbaf952d60dbb21eb7ebf6ce36', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: 'a16f0171e05a59eb302404b1c5ccfc4a62e9899b', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '88dbbfe65ef4e7d1e31c9fc98de3dfddd33526c1', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
107
107
|
], this.payment.metadata && [
|
|
108
|
-
h(DetailSectionTitle, { key: '
|
|
109
|
-
h("div", { key: '
|
|
108
|
+
h(DetailSectionTitle, { key: '7f686436fda99b434f651758e420f2ad6be5d60a', sectionTitle: 'Metadata' }),
|
|
109
|
+
h("div", { key: '67b2e9543eba5c27c1d5b7e1a70115a2eb7f274a', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'f2dc90048696d2c8b0868d966d1e318e2c16fdbf', metadata: this.payment.metadata }))
|
|
110
110
|
])))));
|
|
111
111
|
}
|
|
112
112
|
static get watchers() { return {
|
|
@@ -187,7 +187,7 @@ const JustifiPaymentTransactionsList$1 = /*@__PURE__*/ proxyCustomElement(class
|
|
|
187
187
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
188
188
|
}
|
|
189
189
|
render() {
|
|
190
|
-
return (h(StyledHost, { key: '
|
|
190
|
+
return (h(StyledHost, { key: 'f8b0f3a58ef7f88c0ac42fc58955b28ad97922e4' }, h(TableWrapper, { key: '2dc653b63611cbdfa388b386cec9b3adf751bd12' }, h(TableComponent, { key: 'a0bd64c01870ccd4bb921d5d90c7453650131f16' }, h(TableHead, { key: 'b92ce24dab41cbaf1d8ecb1df43739d2548fe73f' }, h(TableHeadRow, { key: '5f983b93b2b9b6661cae2cf74802519175aae8cc' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'd9a51ecfc54c16a4859f9d66fb783f3876fc3428' }, h(TableLoadingState, { key: '232f1b59ddeb9f949901678a67c652cc3aedfdf7', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: 'bd9a853887da939c651c234cd4f0e3ab35d610d1', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: 'da157eb9d18d89353f6aebb085bb4becb15ac89f', 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: '41ffc1c9d3591dad7973f862b78b488e089af863' }, h(TableFootRow, { key: '17780690e1b44eb6ba13128d3ecfee73c6be06a7' }, h(TableFootCell, { key: '312b9a0b9649ffd9033ec1333b2d9d8eb666d185', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '4ef805672cf530850ecdf13e26eefc8015f80fa3', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
191
191
|
}
|
|
192
192
|
static get watchers() { return {
|
|
193
193
|
"pagingParams": ["propChanged"],
|
|
@@ -69,8 +69,8 @@ const JustifiPaymentsListFilters$1 = /*@__PURE__*/ proxyCustomElement(class Just
|
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
71
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
72
|
-
return (h(StyledHost, { key: '
|
|
73
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
72
|
+
return (h(StyledHost, { key: 'e3eaa38735042ba3618a8c042e7e1b351ba3c92d' }, h("table-filters-menu", { key: 'af5a94add7dcefe868e65d46a38a662b4d7986b3', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: 'c2c02f915eaf984458b3f99dac4bb9317aac8b7e', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '2130e16ffea403ac5fec93e7d77aba470529264f', class: "p-2" }, h("form-control-text", { key: '4e45a57455eed0be81236e1939c2ca5e5d741c81', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: filterParam })), h("div", { key: 'fef1849cf8f58c70f0fe8a5604545cabb58901d6', class: "p-2" }, h("form-control-text", { key: 'f8f076fff19c4a90901e1adacc61023a88d0bbfa', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: filterParam })), h("div", { key: '304d816e47dae74e1d493df5ffd34cef2cd93600', class: "p-2" }, h("form-control-select", { key: '265350ed2411acc1bbfe6dec019a79e808713349', 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: 'd644bf25f3e524403ee5d7590d4d32fad0e56688', class: "p-2" }, h("form-control-select", { key: '871056ad4364d14a18621e4da6e49bda609ef17a', 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: 'e568ba09614c66e5a589b745dee36465e5c962b5', class: "p-2" }, h("form-control-text", { key: 'e58eb1b507c87220437ef0d9b3fcee8643408244', name: "checkout_id", label: "Checkout ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.checkoutId || filterParams.checkout_id, disabled: !!this.checkoutId, part: filterParam })), h("div", { key: 'b27cde43483bffbef99f22d707d28bebce514069', class: "p-2" }, h("form-control-text", { key: 'bf35df034fcb1e3c2e09503b94adca74083ccb7f', name: "account_holder", label: "Account Holder", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.accountHolder || filterParams.account_holder, disabled: !!this.accountHolder, part: filterParam })), h("div", { key: '3ef0ccf656c147044586a2f88c718a0c833ee6c4', class: "p-2" }, h("form-control-date", { key: 'c6b2dbfab6749f853ecf54959cd5f94c8db7a9ae', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
73
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '02c746e653dac58005381d19eaa5371347e02297', class: "p-2" }, h("form-control-date", { key: 'dd7d369a655e0f1e10497f45cfa7085c045287d3', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
74
74
|
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam }))))));
|
|
75
75
|
}
|
|
76
76
|
}, [257, "justifi-payments-list-filters", {
|
|
@@ -207,7 +207,7 @@ const JustifiPaymentsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPaym
|
|
|
207
207
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
208
208
|
}
|
|
209
209
|
render() {
|
|
210
|
-
return (h(StyledHost, { key: '
|
|
210
|
+
return (h(StyledHost, { key: 'eb828891504cbcb38a6d7b73ab2411b23bca30a2' }, h(TableWrapper, { key: 'f523dae8af945d79a36734bb35ecca94ea094fff' }, h(TableComponent, { key: '8a69883c8217fdc36280cc3f2f95c83ad449b621' }, h(TableHead, { key: '1b47d5b433eaf0a749f8bdf97afb269518840e10' }, h(TableHeadRow, { key: '4a1be7574f03aefd7687f200dc5cdc2b92a47d90' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '02ad2f601a923526c2555f598f54e674763c3cc6' }, h(TableLoadingState, { key: '274a86633dfbf13395acdfe9725cd14e13c59d8a', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '18ceb62121b9387a1bb8a8a74dfa458dba869b01', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '7cbbc7524f44ac22d16c257c5bdc4998f21d1983', 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: '0da01573eaaa7cf98b08f9f5910d536a687dc6a3' }, h(TableFootRow, { key: '402175c67d164d0f6deba109ff11230ef4772675' }, h(TableFootCell, { key: 'e2c8b098aacadcf5b0a5587e01f1191e287cd9fa', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '91bffb1511a93c0b39f7cdc711c1f92e5381f5ec', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
211
211
|
}
|
|
212
212
|
static get watchers() { return {
|
|
213
213
|
"accountId": ["propChanged"],
|
|
@@ -149,9 +149,9 @@ const JustifiPayoutDetails$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPay
|
|
|
149
149
|
}
|
|
150
150
|
render() {
|
|
151
151
|
var _a, _b, _c, _d;
|
|
152
|
-
return (h(StyledHost, { key: '
|
|
153
|
-
h(DetailSectionTitle, { key: '
|
|
154
|
-
h("div", { key: '
|
|
152
|
+
return (h(StyledHost, { key: '142db792aa54d2e598071b2787e9c3225ac53561' }, this.loading && h(PayoutDetailsLoading, { key: '34f30e5076a727a1ac1ec3e510ee497dd2118781' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '1a35e41004c25f3d1aa6f9e422dade0149d1864f', errorMessage: this.errorMessage }, h(EntityHeadInfo, { key: '159e5f4ce02466d1679ab9a7288e39b58422cbc1', 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: '33852a41177edfbf5df0419dc3d09a33e8b1bea5', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '158b9ce9844ebc705582921133e3bd8748d11722', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '1066d269cec1d90311add505d19c17ca2f9a0863', title: "ID", value: this.payout.id }), h("div", { key: '4dcbce85c6e11ef99b7370f03ed33acd384d5891', class: "m-4" }, h(Button, { key: '5206d2702ba0379db1304b77ac07c92e69754f14', variant: "outline-secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: 'd6a4a013fb6e48f4c4ef79361a92240b6c7ee5e4', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '170281f71a4decf37ba3a5525b38935131f68600', sectionTitle: "Details" }), h("div", { key: '500a4b494c633a9dd7a029c0b742c7316dff9c16', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '72bcd40ca0b5a172e4a9854071630761e95bc0e6', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '1429c2ffb77148dbaedb73e45849bbbf3f18e65e', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: 'cb7541a3c40f8dc9dce258b8f2c55c68782144f6', title: "Payout Method", value: this.formatMethod(this.payout.delivery_method) }), h(DetailItem, { key: 'f871fdcc0a606267b04cc3865a918c7acdad9a2a', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '32b60dd33cc414bbe87ad24f6aec31fd6a907346', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: 'be9b1a451d296029e7fecc3b37f7cc994dbccc05', sectionTitle: "Account" }), h("div", { key: '97e6a3b1fbf8096ee44293262e4554bbe8400b31', class: "d-flex flex-column gap-2 w-100" }, h(DetailItem, { key: '48765886ae8274f95789e5262c280e4a8fc71116', title: "ID", value: this.payout.account_id, onClick: this.enableRecordClick ? () => this.handleRecordClick(this.payout.account_id) : undefined }), h(DetailItem, { key: '26c552db6cae6855a50550b05258ea37d279e8c6', title: "Account Type", value: (_b = this.payout.bank_account) === null || _b === void 0 ? void 0 : _b.account_type }), h(DetailItem, { key: '5844b3d0c9b1b84da8111ea70233335246524244', title: "Institution", value: (_c = this.payout.bank_account) === null || _c === void 0 ? void 0 : _c.account_type }), h(DetailItem, { key: 'd3582f8418241f330d3b02a823f32def67dd6cc3', title: "Routing Number", value: (_d = this.payout.bank_account) === null || _d === void 0 ? void 0 : _d.routing_number }), h(DetailItem, { key: '872d385fb085bf8c908ee47d1b4e0a851125ad3c', title: "Account Number", value: this.payout.bank_account ? `**** ${this.payout.bank_account.account_number_last4}` : undefined })), this.payout.metadata && [
|
|
153
|
+
h(DetailSectionTitle, { key: '4e8c13627b364b0bfc59a85ee15cc8212872f279', sectionTitle: 'Metadata' }),
|
|
154
|
+
h("div", { key: 'f0071fcf1edf15c19303ac1af0760312f17ed2d4', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: 'ae1ef093dac17315972e3aa5350028d08a34a90d', metadata: this.payout.metadata }))
|
|
155
155
|
])))));
|
|
156
156
|
}
|
|
157
157
|
static get watchers() { return {
|
|
@@ -194,7 +194,7 @@ const JustifiPayoutTransactionsList$1 = /*@__PURE__*/ proxyCustomElement(class J
|
|
|
194
194
|
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
195
195
|
}
|
|
196
196
|
render() {
|
|
197
|
-
return (h(StyledHost, { key: '
|
|
197
|
+
return (h(StyledHost, { key: '1572d59b82d7e4f2140fe94dbbb91c810f9ecda0' }, h(TableWrapper, { key: '908f08eb27b6650a86574ffb7f19e021e7ff4659' }, h(TableComponent, { key: 'ef8ae77a07274833c0ce56e90685d2001b32cfce' }, h(TableHead, { key: 'b9672731713b7bfa60d08f67359c0fb54a3d313e' }, h(TableHeadRow, { key: '175cfdf101b8d263af2163a7a51fef7a69036132' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '74475a34dde0dabee89d84013114f68e6e5f12ee' }, h(TableLoadingState, { key: '5a60a046c259d614dc830e7bb2bdc950ace10ede', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '25c2bde71c004b7a190a80e0a92cd51be80cccd1', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '1cc2b6cc80ccd0eb6fc8d7b69f0b44a369e660f8', 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: '2a1229c56c8665515bacde6da6c96b522a2af136' }, h(TableFootRow, { key: '9fe927466e38927d412ffc862ddd6bda6a6abbf5' }, h(TableFootCell, { key: 'dee4c152b024f62c1b12f542034adb894e61ac26', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '183fcc59d45b69133fba561b441bb7e63ba22ac9', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
198
198
|
}
|
|
199
199
|
static get watchers() { return {
|
|
200
200
|
"pagingParams": ["propChanged"],
|
|
@@ -57,8 +57,8 @@ const JustifiPayoutsListFilters$1 = /*@__PURE__*/ proxyCustomElement(class Justi
|
|
|
57
57
|
}
|
|
58
58
|
render() {
|
|
59
59
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
60
|
-
return (h(StyledHost, { key: '
|
|
61
|
-
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
60
|
+
return (h(StyledHost, { key: 'b9fee98684dd11dde1a3acb0182b5fa01e243e08' }, h("table-filters-menu", { key: '94afefa2154a91b5f3298b871036c1b43390b346', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '92fea66d7ab1a268d98904aeb5feef5dda6ac470', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'c3a6e8a2706cebfbc288dbf6c2416193b111964c', class: "p-2" }, h("form-control-select", { key: 'c40703185d3ec20f7b53f601c927510dbf5c8f35', name: "status", label: "Status", options: this.statusOptions, inputHandler: this.setParamsOnChange, defaultValue: this.status || filterParams.status || '', disabled: !!this.status, part: filterParam })), h("div", { key: '7d8f007a0206e9a622526acfceed1f1ed67757d7', class: "p-2" }, h("form-control-date", { key: '2ca95ac4deaae4fed48b8bc0ba0e73586dcdd0ac', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDate: true }) ||
|
|
61
|
+
convertToLocal(filterParams.created_after, { showInputDate: true }), disabled: !!this.createdAfter, part: filterParam })), h("div", { key: 'c5aa9f2f5dfb91de4b31efbc1019398a1377d2b1', class: "p-2" }, h("form-control-date", { key: '24d4adf0c73e773dfdb60f585c7739112dc46290', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDate: true }) ||
|
|
62
62
|
convertToLocal(filterParams.created_before, { showInputDate: true }), disabled: !!this.createdBefore, part: filterParam }))))));
|
|
63
63
|
}
|
|
64
64
|
}, [257, "justifi-payouts-list-filters", {
|
|
@@ -255,7 +255,7 @@ const JustifiPayoutsList$1 = /*@__PURE__*/ proxyCustomElement(class JustifiPayou
|
|
|
255
255
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
256
256
|
}
|
|
257
257
|
render() {
|
|
258
|
-
return (h(StyledHost, { key: '
|
|
258
|
+
return (h(StyledHost, { key: '4cd005fa6c9e95d155cd7a79c49232581c070c14' }, h(TableWrapper, { key: '177a2a96737ca085cbb7399144a75c0d1f4475dc' }, h(TableComponent, { key: '7140a202ae38a658351184f14530bd5dadce75f5' }, h(TableHead, { key: '9bf81a259376cd822593622a1266d2cc03ad6d94' }, h(TableHeadRow, { key: '339c82a1e59e594c3353b65745b99e9cbeff9250' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: 'ca06c1cea570eaefa6df729075fac76c9fa7a7e9' }, h(TableLoadingState, { key: 'f4d4c97961f944625c28e748767e18c0234d148d', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'c741073dc9d10f85034271d584484d565d6ac0e1', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '56f140df9f6ee94ee49128dba19cca5da3882c61', 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: '5ca01383d201beb41821941e2ec8500c88e0e31a' }, h(TableFootRow, { key: 'd929128878a42f208a153680fc70e8f408d9978f' }, h(TableFootCell, { key: '39f8af7ebd1cafee09ed9279d9114ce6f9667d87', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '83fd64853950a14cd1fe0c31b033aff0f54c014f', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
259
259
|
}
|
|
260
260
|
static get watchers() { return {
|
|
261
261
|
"accountId": ["propChanged"],
|
|
@@ -37,6 +37,15 @@ const PaypalErrorCode = {
|
|
|
37
37
|
PAYMENT_FAILED: 'PAYMENT_FAILED',
|
|
38
38
|
};
|
|
39
39
|
|
|
40
|
+
const SHOWN_CLASS = 'shown';
|
|
41
|
+
const setShown = (el, shown) => {
|
|
42
|
+
if (!el)
|
|
43
|
+
return;
|
|
44
|
+
if (shown)
|
|
45
|
+
el.classList.add(SHOWN_CLASS);
|
|
46
|
+
else
|
|
47
|
+
el.classList.remove(SHOWN_CLASS);
|
|
48
|
+
};
|
|
40
49
|
const JustifiPaypal = /*@__PURE__*/ proxyCustomElement(class JustifiPaypal extends HTMLElement {
|
|
41
50
|
constructor(registerHost) {
|
|
42
51
|
super();
|
|
@@ -88,9 +97,26 @@ const JustifiPaypal = /*@__PURE__*/ proxyCustomElement(class JustifiPaypal exten
|
|
|
88
97
|
});
|
|
89
98
|
}
|
|
90
99
|
}
|
|
100
|
+
componentDidRender() {
|
|
101
|
+
this.applyVisibility();
|
|
102
|
+
}
|
|
91
103
|
get currencyCode() {
|
|
92
104
|
return (checkoutStore.paymentCurrency || PAYPAL_DEFAULT_CURRENCY).toUpperCase();
|
|
93
105
|
}
|
|
106
|
+
get showPaypal() {
|
|
107
|
+
return !!checkoutStore.paypalEnabled && this.paypalEligible;
|
|
108
|
+
}
|
|
109
|
+
get showVenmo() {
|
|
110
|
+
return (!!checkoutStore.paypalEnabled &&
|
|
111
|
+
this.venmoEligible &&
|
|
112
|
+
this.currencyCode === VENMO_SUPPORTED_CURRENCY);
|
|
113
|
+
}
|
|
114
|
+
applyVisibility() {
|
|
115
|
+
const { showPaypal, showVenmo } = this;
|
|
116
|
+
setShown(this.buttonsEl, showPaypal || showVenmo);
|
|
117
|
+
setShown(this.paypalButtonEl, showPaypal);
|
|
118
|
+
setShown(this.venmoButtonEl, showVenmo);
|
|
119
|
+
}
|
|
94
120
|
emitError(error, code) {
|
|
95
121
|
this.paypalError.emit({ error, code });
|
|
96
122
|
}
|
|
@@ -131,6 +157,7 @@ const JustifiPaypal = /*@__PURE__*/ proxyCustomElement(class JustifiPaypal exten
|
|
|
131
157
|
if (!clientId) {
|
|
132
158
|
this.paypalEligible = false;
|
|
133
159
|
this.venmoEligible = false;
|
|
160
|
+
this.applyVisibility();
|
|
134
161
|
this.emitError('Missing Paypal client id', PaypalErrorCode.CONFIG_ERROR);
|
|
135
162
|
return;
|
|
136
163
|
}
|
|
@@ -153,10 +180,12 @@ const JustifiPaypal = /*@__PURE__*/ proxyCustomElement(class JustifiPaypal exten
|
|
|
153
180
|
if (this.venmoEligible) {
|
|
154
181
|
this.venmoSession = this.sdkInstance.createVenmoOneTimePaymentSession(this.sessionOptions('venmo'));
|
|
155
182
|
}
|
|
183
|
+
this.applyVisibility();
|
|
156
184
|
}
|
|
157
185
|
catch (error) {
|
|
158
186
|
this.paypalEligible = false;
|
|
159
187
|
this.venmoEligible = false;
|
|
188
|
+
this.applyVisibility();
|
|
160
189
|
this.emitError((error === null || error === void 0 ? void 0 : error.message) || 'Error initializing Paypal', PaypalErrorCode.INITIALIZATION_ERROR);
|
|
161
190
|
}
|
|
162
191
|
}
|
|
@@ -187,27 +216,26 @@ const JustifiPaypal = /*@__PURE__*/ proxyCustomElement(class JustifiPaypal exten
|
|
|
187
216
|
return order;
|
|
188
217
|
}
|
|
189
218
|
render() {
|
|
190
|
-
|
|
191
|
-
return null;
|
|
192
|
-
const showVenmo = this.venmoEligible && this.currencyCode === VENMO_SUPPORTED_CURRENCY;
|
|
193
|
-
if (!this.paypalEligible && !showVenmo)
|
|
194
|
-
return null;
|
|
195
|
-
return (h(StyledHost, null, h("div", { class: "paypal-buttons" }, this.paypalEligible && (h("paypal-button", { type: "pay", onClick: () => this.startSession(this.paypalSession, 'paypal') })), showVenmo && (h("venmo-button", { type: "pay", onClick: () => this.startSession(this.venmoSession, 'venmo') }))), h("style", null, `
|
|
219
|
+
return (h(StyledHost, { key: '05c771ae41d3b21da7046e70c7d0e03efc296a0c' }, h("div", { key: '8e7a14372ce29b4da284efadb43c27d0c059607e', class: "paypal-buttons", ref: (el) => (this.buttonsEl = el) }, h("paypal-button", { key: 'aa7fa82c96ca4d41872f445a01e72a18f6f5920a', type: "pay", ref: (el) => (this.paypalButtonEl = el), onClick: () => this.startSession(this.paypalSession, 'paypal') }), h("venmo-button", { key: '2cb068aa82460068548f133607cebec096028a41', type: "pay", ref: (el) => (this.venmoButtonEl = el), onClick: () => this.startSession(this.venmoSession, 'venmo') })), h("style", { key: '159cc68f682ed79a9a83be7d1b4c88127f8a2623' }, `
|
|
196
220
|
.paypal-buttons {
|
|
197
|
-
display:
|
|
221
|
+
display: none;
|
|
198
222
|
gap: 8px;
|
|
199
223
|
width: 100%;
|
|
200
224
|
}
|
|
225
|
+
.paypal-buttons.shown {
|
|
226
|
+
display: flex;
|
|
227
|
+
}
|
|
201
228
|
.paypal-buttons > * {
|
|
229
|
+
display: none;
|
|
202
230
|
flex: 1 1 0;
|
|
203
231
|
min-width: 0;
|
|
204
232
|
}
|
|
233
|
+
.paypal-buttons > .shown {
|
|
234
|
+
display: block;
|
|
235
|
+
}
|
|
205
236
|
`)));
|
|
206
237
|
}
|
|
207
|
-
}, [257, "justifi-paypal"
|
|
208
|
-
"paypalEligible": [32],
|
|
209
|
-
"venmoEligible": [32]
|
|
210
|
-
}]);
|
|
238
|
+
}, [257, "justifi-paypal"]);
|
|
211
239
|
function defineCustomElement() {
|
|
212
240
|
if (typeof customElements === "undefined") {
|
|
213
241
|
return;
|
|
@@ -11,7 +11,7 @@ const JustifiSkeleton$1 = /*@__PURE__*/ proxyCustomElement(class JustifiSkeleton
|
|
|
11
11
|
this.__attachShadow();
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h(StyledHost, { key: '
|
|
14
|
+
return (h(StyledHost, { key: 'aae82594ed1833982d7bb06ea0808e56e06b11f8' }, h(Skeleton, { key: '52c5680b1dc298b75646e5409b9c5c5b83f53eae', component: this.component, height: this.height, width: this.width, className: this.class, styles: this.customStyle })));
|
|
15
15
|
}
|
|
16
16
|
}, [257, "justifi-skeleton", {
|
|
17
17
|
"component": [1],
|
|
@@ -69,9 +69,9 @@ const JustifiTerminalOrdersListFilters$1 = /*@__PURE__*/ proxyCustomElement(clas
|
|
|
69
69
|
}
|
|
70
70
|
render() {
|
|
71
71
|
const filterMenuParams = Object.assign({}, filterParams);
|
|
72
|
-
return (h(StyledHost, { key: '
|
|
73
|
-
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '
|
|
74
|
-
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam })), h("div", { key: '
|
|
72
|
+
return (h(StyledHost, { key: '4917947c32b986dfd3e03e2194166a22b854c596' }, h("table-filters-menu", { key: '7cbdd6699501511839d26e0ecd320838da3d2ea8', params: filterMenuParams, clearParams: clearParams, part: filterMenu }, h("div", { key: '3a5ed4007f3d9c68f71a31cb7086956f6808d3bd', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'cd50327bf0d34adebab19ac71d2839e33572006c', class: "p-2" }, h("form-control-select", { key: '08340399deae9c6445d0bbcbc48c97afa9258e69', 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: '613cdc6699d667a0b733b1cb90bf336f4595d351', class: "p-2" }, h("form-control-select", { key: '8b432626428e64553c2c32a94aa53750474a677d', 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: '3f7f2d2fdf271489ea628eda3c9137ee60cb752f', class: "p-2" }, h("form-control-date", { key: 'dcf0f4ab51c8511d2877405b0460faa1b272ac61', name: "created_after", label: "Created After", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdAfter, { showInputDateTime: true }) ||
|
|
73
|
+
convertToLocal(filterParams.created_after, { showInputDateTime: true }), showTime: true, disabled: !!this.createdAfter, part: filterParam })), h("div", { key: '5dca482d9530e6867a13d8f94961b909f243d316', class: "p-2" }, h("form-control-date", { key: '1d5fdee06fd5420edcc1b0b5cd75bfc1d4b563e7', name: "created_before", label: "Created Before", inputHandler: this.handleDateInput, defaultValue: convertToLocal(this.createdBefore, { showInputDateTime: true }) ||
|
|
74
|
+
convertToLocal(filterParams.created_before, { showInputDateTime: true }), showTime: true, disabled: !!this.createdBefore, part: filterParam })), h("div", { key: '38fb2f90de478f0b29b8711ba502fd280e6599ab', class: "p-2" }, h("form-control-text", { key: '772e6efb136cfd0edd2a0bfe3810e7616a2541b3', name: "company_name", label: "Company Name", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.companyName || filterParams.company_name, disabled: !!this.companyName, part: filterParam }))))));
|
|
75
75
|
}
|
|
76
76
|
}, [257, "justifi-terminal-orders-list-filters", {
|
|
77
77
|
"orderStatus": [1, "order-status"],
|
|
@@ -250,8 +250,8 @@ const JustifiTerminalOrdersList$1 = /*@__PURE__*/ proxyCustomElement(class Justi
|
|
|
250
250
|
return !this.showEmptyState && !this.showErrorState && !this.loading;
|
|
251
251
|
}
|
|
252
252
|
render() {
|
|
253
|
-
return (h(StyledHost, { key: '
|
|
254
|
-
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: '
|
|
253
|
+
return (h(StyledHost, { key: 'ba50fc1b4bd66163d2ed0c5f98a6bbe18d991ddb' }, h(TableWrapper, { key: 'b3203a5765b3ef1e564bdee4e0a6ad2603ac7c09' }, h(TableComponent, { key: 'efd22eb95810e22ac977dc6d323dc5b807110a95' }, h(TableHead, { key: '2ded9affdda7af379ffbbd76fa05226389de0dd0' }, h(TableHeadRow, { key: 'ca48cefe5d497f0b6cbe83f498939f4d1232a45b' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: 'd7a38ad880b6e9334bf72d3fa8cb6eb69b0032d6' }, h(TableLoadingState, { key: 'f4bc0a54a68f29f82a8f7a1c34a5d29a80f16f65', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '7a0f199dd9640efc16578fe106d5d16cf8872e5a', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: 'cf1bf5094f0769f0a4d81c730649769cd0870fe3', columnSpan: this.terminalOrdersTable.columnKeys.length, errorMessage: this.errorMessage }), this.showRowData &&
|
|
254
|
+
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: 'cd9dee54cd5f27a0ae9c56771f6c99e0ea2ff125' }, h(TableFootRow, { key: '877284dd9926a1889fdf175ce0bf5db841fd9066' }, h(TableFootCell, { key: '2558454e5a5e3eb340170d6af43ad24c12aebdb8', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: '8cf390bed552045b9950c4fcfe80f70e308d2cee', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
255
255
|
}
|
|
256
256
|
static get watchers() { return {
|
|
257
257
|
"accountId": ["authPropChanged"],
|