@justifi/webcomponents 5.7.6-rc-14 → 5.7.6-rc-16
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/bank-account-document-form-inputs_4.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-C1ULIaUs.js → check-pkg-version-BkzyzJ71.js} +1 -1
- package/dist/cjs/custom-popper.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 +2 -2
- 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/form-control-select_3.cjs.entry.js +2 -2
- package/dist/cjs/hidden-input_2.cjs.entry.js +5 -5
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +10 -6
- package/dist/cjs/justifi-bank-account-form_5.cjs.entry.js +8 -8
- package/dist/cjs/justifi-business-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-business-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-button_5.cjs.entry.js +6 -6
- package/dist/cjs/justifi-checkout.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-management.cjs.entry.js +2 -2
- package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
- package/dist/cjs/justifi-order-terminals.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -2
- package/dist/cjs/justifi-skeleton.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminal-orders-list-filters.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +3 -3
- package/dist/cjs/{package-DVb8pAyF.js → package-e83u_82Y.js} +1 -1
- package/dist/cjs/payment-details-core.cjs.entry.js +8 -8
- package/dist/cjs/payments-list-core.cjs.entry.js +1 -1
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +1 -1
- package/dist/cjs/terminal-orders-list-core.cjs.entry.js +1 -1
- package/dist/cjs/terminal-quantity-selector.cjs.entry.js +1 -1
- package/dist/cjs/terminals-list-core.cjs.entry.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +10 -6
- package/dist/collection/components/modular-checkout/sub-components/bank-account.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/billing-information-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-form.js +2 -2
- package/dist/collection/components/modular-checkout/sub-components/payment-method-option.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/postal-code-form.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/summary.js +1 -1
- package/dist/collection/components/order-terminals/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/payment-details-core.js +8 -8
- package/dist/collection/components/payment-transactions-list/payment-transactions-list.js +1 -1
- package/dist/collection/components/payments-list/payments-list-core.js +1 -1
- package/dist/collection/components/payments-list/payments-list-filters.js +2 -2
- package/dist/collection/components/payments-list/payments-list.js +1 -1
- package/dist/collection/components/payout-details/payout-details-core.js +3 -3
- package/dist/collection/components/payout-transactions-list/payout-transactions-list.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-core.js +1 -1
- package/dist/collection/components/payouts-list/payouts-list-filters.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-core.js +1 -1
- package/dist/collection/components/terminal-orders-list/terminal-orders-list-filters.js +2 -2
- package/dist/collection/components/terminal-orders-list/terminal-orders-list.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-core.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list-filters.js +1 -1
- package/dist/collection/components/terminals-list/terminals-list.js +1 -1
- package/dist/collection/components/tokenize-payment-method/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-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/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/bank-account-document-form-inputs_4.entry.js +2 -2
- package/dist/esm/{check-pkg-version-C1rI0NVZ.js → check-pkg-version-Ddp_kLM5.js} +1 -1
- package/dist/esm/custom-popper.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 +2 -2
- 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/form-control-select_3.entry.js +2 -2
- package/dist/esm/hidden-input_2.entry.js +5 -5
- package/dist/esm/justifi-apple-pay.entry.js +10 -6
- package/dist/esm/justifi-bank-account-form_5.entry.js +8 -8
- package/dist/esm/justifi-business-details.entry.js +2 -2
- package/dist/esm/justifi-business-form.entry.js +2 -2
- package/dist/esm/justifi-button_5.entry.js +6 -6
- package/dist/esm/justifi-checkout.entry.js +2 -2
- package/dist/esm/justifi-checkouts-list.entry.js +2 -2
- package/dist/esm/justifi-dispute-management.entry.js +2 -2
- package/dist/esm/justifi-dispute-notification_3.entry.js +2 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
- package/dist/esm/justifi-order-terminals.entry.js +3 -3
- package/dist/esm/justifi-payment-details.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +2 -2
- package/dist/esm/justifi-payment-transactions-list.entry.js +3 -3
- package/dist/esm/justifi-payments-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +3 -3
- package/dist/esm/justifi-payout-details.entry.js +2 -2
- package/dist/esm/justifi-payout-transactions-list.entry.js +3 -3
- package/dist/esm/justifi-payouts-list-filters.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +3 -3
- package/dist/esm/justifi-refund-payment.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -2
- package/dist/esm/justifi-skeleton.entry.js +1 -1
- package/dist/esm/justifi-terminal-orders-list-filters.entry.js +2 -2
- package/dist/esm/justifi-terminal-orders-list.entry.js +3 -3
- package/dist/esm/justifi-terminals-list-filters.entry.js +1 -1
- package/dist/esm/justifi-terminals-list.entry.js +3 -3
- package/dist/esm/justifi-tokenize-payment-method.entry.js +3 -3
- package/dist/esm/{package-D2Cx_K3D.js → package-HMZ8vsvN.js} +1 -1
- package/dist/esm/payment-details-core.entry.js +8 -8
- package/dist/esm/payments-list-core.entry.js +1 -1
- package/dist/esm/payout-details-core.entry.js +3 -3
- package/dist/esm/payouts-list-core.entry.js +1 -1
- package/dist/esm/terminal-orders-list-core.entry.js +1 -1
- package/dist/esm/terminal-quantity-selector.entry.js +1 -1
- package/dist/esm/terminals-list-core.entry.js +1 -1
- package/dist/module/bank-account.js +2 -2
- package/dist/module/billing-information-form.js +1 -1
- package/dist/module/card-form2.js +2 -2
- package/dist/module/custom-popper2.js +2 -2
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-date2.js +2 -2
- package/dist/module/form-control-file-v22.js +1 -1
- package/dist/module/form-control-file2.js +2 -2
- package/dist/module/form-control-monetary2.js +2 -2
- package/dist/module/form-control-number-masked2.js +2 -2
- package/dist/module/form-control-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/hidden-input2.js +1 -1
- package/dist/module/iframe-input2.js +3 -3
- package/dist/module/justifi-apple-pay.js +10 -6
- 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-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-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-skeleton.js +1 -1
- package/dist/module/justifi-terminal-orders-list-filters.js +2 -2
- package/dist/module/justifi-terminal-orders-list.js +1 -1
- package/dist/module/justifi-terminals-list-filters.js +1 -1
- package/dist/module/justifi-terminals-list.js +1 -1
- package/dist/module/justifi-tokenize-payment-method.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/payment-details-core2.js +8 -8
- package/dist/module/payment-method-option2.js +1 -1
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +3 -3
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/postal-code-form.js +1 -1
- package/dist/module/summary.js +1 -1
- package/dist/module/terminal-orders-list-core2.js +1 -1
- package/dist/module/terminal-quantity-selector2.js +1 -1
- package/dist/module/terminals-list-core2.js +1 -1
- package/dist/webcomponents/p-02f4b072.entry.js +1 -0
- package/dist/webcomponents/{p-f016d034.entry.js → p-04169a4a.entry.js} +1 -1
- package/dist/webcomponents/{p-35198019.entry.js → p-04209892.entry.js} +1 -1
- package/dist/webcomponents/{p-54cc3fc8.entry.js → p-04b38d61.entry.js} +1 -1
- package/dist/webcomponents/{p-e86c876e.entry.js → p-0c06ede5.entry.js} +1 -1
- package/dist/webcomponents/p-18a23b4a.entry.js +1 -0
- package/dist/webcomponents/{p-61849552.entry.js → p-1c79237c.entry.js} +1 -1
- package/dist/webcomponents/{p-74929b71.entry.js → p-207f4e07.entry.js} +1 -1
- package/dist/webcomponents/p-20cff97a.entry.js +1 -0
- package/dist/webcomponents/p-21dd7b38.entry.js +1 -0
- package/dist/webcomponents/{p-fffd5bc7.entry.js → p-2cbc2dcd.entry.js} +1 -1
- package/dist/webcomponents/{p-62c752a1.entry.js → p-35bc4279.entry.js} +1 -1
- package/dist/webcomponents/p-3fb1b0be.entry.js +1 -0
- package/dist/webcomponents/{p-055f8380.entry.js → p-487fd882.entry.js} +1 -1
- package/dist/webcomponents/p-6ab71dc9.entry.js +1 -0
- package/dist/webcomponents/{p-4bae955b.entry.js → p-6b9dfd09.entry.js} +1 -1
- package/dist/webcomponents/p-73da14c6.entry.js +1 -0
- package/dist/webcomponents/{p-c8cf74fa.entry.js → p-7db0847f.entry.js} +1 -1
- package/dist/webcomponents/{p-c58e5f24.entry.js → p-90a2875b.entry.js} +1 -1
- package/dist/webcomponents/p-935f8208.entry.js +1 -0
- package/dist/webcomponents/{p-00fa3a2c.entry.js → p-948066ff.entry.js} +1 -1
- package/dist/webcomponents/p-9b57e831.entry.js +1 -0
- package/dist/webcomponents/p-9ed95478.entry.js +1 -0
- package/dist/webcomponents/{p-k0Ii-jgH.js → p-CDmdt8BH.js} +1 -1
- package/dist/webcomponents/p-HMZ8vsvN.js +1 -0
- package/dist/webcomponents/{p-801cab54.entry.js → p-a60c67e6.entry.js} +1 -1
- package/dist/webcomponents/{p-7b5e899e.entry.js → p-ab3e7841.entry.js} +1 -1
- package/dist/webcomponents/{p-b5717f03.entry.js → p-b0f90f5d.entry.js} +1 -1
- package/dist/webcomponents/{p-367338c8.entry.js → p-b1301f92.entry.js} +1 -1
- package/dist/webcomponents/{p-b120e132.entry.js → p-b6d05490.entry.js} +1 -1
- package/dist/webcomponents/p-bb481c67.entry.js +1 -0
- package/dist/webcomponents/p-bbff3166.entry.js +1 -0
- package/dist/webcomponents/{p-90788382.entry.js → p-be4c5b34.entry.js} +1 -1
- package/dist/webcomponents/p-bf4d2e69.entry.js +1 -0
- package/dist/webcomponents/p-c48279fc.entry.js +1 -0
- package/dist/webcomponents/p-c919d553.entry.js +1 -0
- package/dist/webcomponents/{p-378db83c.entry.js → p-c983e9bb.entry.js} +1 -1
- package/dist/webcomponents/p-d16d97a4.entry.js +1 -0
- package/dist/webcomponents/{p-7cbfa878.entry.js → p-df82aca6.entry.js} +1 -1
- package/dist/webcomponents/p-e19e47eb.entry.js +1 -0
- package/dist/webcomponents/{p-cd6c6c2b.entry.js → p-e3dabf77.entry.js} +1 -1
- package/dist/webcomponents/{p-01f792ac.entry.js → p-e5ae45c3.entry.js} +1 -1
- package/dist/webcomponents/p-f18076ba.entry.js +1 -0
- package/dist/webcomponents/{p-a67b6e78.entry.js → p-f2bae759.entry.js} +1 -1
- package/dist/webcomponents/{p-9327f8c1.entry.js → p-f3f8a5a2.entry.js} +1 -1
- package/dist/webcomponents/p-fb6723b7.entry.js +1 -0
- package/dist/webcomponents/{p-2ce1bc94.entry.js → p-fcc30769.entry.js} +1 -1
- package/dist/webcomponents/p-fddcf426.entry.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/webcomponents/p-41a410ca.entry.js +0 -1
- package/dist/webcomponents/p-453bcb9d.entry.js +0 -1
- package/dist/webcomponents/p-467d1dcc.entry.js +0 -1
- package/dist/webcomponents/p-509d9191.entry.js +0 -1
- package/dist/webcomponents/p-52be4ff0.entry.js +0 -1
- package/dist/webcomponents/p-54ff0e4f.entry.js +0 -1
- package/dist/webcomponents/p-5c82e024.entry.js +0 -1
- package/dist/webcomponents/p-6f94530d.entry.js +0 -1
- package/dist/webcomponents/p-79454e79.entry.js +0 -1
- package/dist/webcomponents/p-79684a85.entry.js +0 -1
- package/dist/webcomponents/p-7b5d48f7.entry.js +0 -1
- package/dist/webcomponents/p-7d59de81.entry.js +0 -1
- package/dist/webcomponents/p-7f4305a2.entry.js +0 -1
- package/dist/webcomponents/p-D2Cx_K3D.js +0 -1
- package/dist/webcomponents/p-a4cb4c39.entry.js +0 -1
- package/dist/webcomponents/p-a55b110c.entry.js +0 -1
- package/dist/webcomponents/p-b56d75d5.entry.js +0 -1
- package/dist/webcomponents/p-b5ed41c0.entry.js +0 -1
- package/dist/webcomponents/p-b7bb1ae9.entry.js +0 -1
- package/dist/webcomponents/p-baaef16c.entry.js +0 -1
- package/dist/webcomponents/p-dfbf0089.entry.js +0 -1
|
@@ -87,14 +87,15 @@ export class ApplePay {
|
|
|
87
87
|
});
|
|
88
88
|
}
|
|
89
89
|
watchPropsChange() {
|
|
90
|
-
if (this.applePayService) {
|
|
91
|
-
this.applePayService.setApiBaseUrl(this.apiBaseUrl);
|
|
92
|
-
this.applePayService.setAuthToken(checkoutStore.authToken);
|
|
93
|
-
}
|
|
94
90
|
this.initializeApplePay();
|
|
95
91
|
}
|
|
96
92
|
async initializeApplePay() {
|
|
93
|
+
console.log('Initializing Apple Pay');
|
|
97
94
|
try {
|
|
95
|
+
if (this.applePayService) {
|
|
96
|
+
this.applePayService.setApiBaseUrl(this.apiBaseUrl);
|
|
97
|
+
this.applePayService.setAuthToken(checkoutStore.authToken);
|
|
98
|
+
}
|
|
98
99
|
this.isLoading = true;
|
|
99
100
|
this.error = null;
|
|
100
101
|
if (!checkoutStore.paymentAmount) {
|
|
@@ -159,10 +160,13 @@ export class ApplePay {
|
|
|
159
160
|
this.isAvailable &&
|
|
160
161
|
this.canMakePayments &&
|
|
161
162
|
!this.error;
|
|
162
|
-
return (h(StyledHost, { key: '
|
|
163
|
+
return (h(StyledHost, { key: '627782068c729d8a2ed515957b0d1d30497c43fb' }, h("script", { key: '526abcdccd477a882c2087c1d9a2272edc24c759', async: true, onLoad: () => {
|
|
164
|
+
console.log('Apple Pay SDK loaded');
|
|
165
|
+
this.initializeApplePay();
|
|
166
|
+
}, src: "https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js" }), h("div", { key: '29221d2d2c4ebc00ba0d27e428bdc2c26b9a3dff', class: 'apple-pay-container' }, h(ApplePaySkeleton, { key: '9135d2ad9bfbcd3b84a687738d733c2b6d1c7a31', isReady: isReady }), !this.isLoading && this.error && (h("div", { key: 'da6585c2eb35ab82aa1e21e3895dc379854a35b1', class: 'apple-pay-error', role: 'alert' }, h("span", { key: '4a3234ea9927e49bf3a8658c2800ae4baf2c8a2e', class: 'error-icon' }, "\u26A0\uFE0F"), h("span", { key: '13627e68c6132fed6e08558386995e660f78b01b', class: 'error-message' }, this.error))), !this.isLoading && !this.error && !this.isAvailable && (h("div", { key: 'db9167ed16f32614610f2168d25e5a4643e22879', class: 'apple-pay-unavailable' }, h("span", { key: 'f09c6e9d8325fb324dfc537edf51d80f800588a9', class: 'unavailable-message' }, "Apple Pay is not available on this device"))), !this.isLoading &&
|
|
163
167
|
!this.error &&
|
|
164
168
|
this.isAvailable &&
|
|
165
|
-
this.canMakePayments && (h(ApplePayButton, { key: '
|
|
169
|
+
this.canMakePayments && (h(ApplePayButton, { key: '2e7c23547883e165edea0ffb776e49007b8d82a1', buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick }))), h("style", { key: '99c32299d475bcbb8a093505c9254de4ab87145f' }, `
|
|
166
170
|
.apple-pay-container {
|
|
167
171
|
width: 100%;
|
|
168
172
|
}
|
|
@@ -40,10 +40,10 @@ export class BankAccountForm {
|
|
|
40
40
|
return this.accountNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (h(StyledHost, { key: '
|
|
43
|
+
return (h(StyledHost, { key: 'ff15c98bae7f78f81f48db8314ceda2902056210' }, h(BankAccountFormSkeleton, { key: 'bd874e12ddec0df3f6e8c73b2ff25fbda7cf626e', isReady: this.isReady }), h("hidden-input", { key: 'a4ead10782d1dabcf7b0c3ca6d67263e134b79b0' }), h("div", { key: '5557ebe982d2fe51a03a6d124e22045dbe94f3f1', class: "container-fluid p-0", style: {
|
|
44
44
|
opacity: this.isReady ? '1' : '0',
|
|
45
45
|
height: this.isReady ? 'auto' : '0',
|
|
46
|
-
} }, h("div", { key: '
|
|
46
|
+
} }, h("div", { key: 'e2ffdae6b516fb62642f274b995a5670a0c3ea7a', class: "row mb-3" }, h("iframe-input", { key: 'e189e5d5589d542db0aaf3c628a16760888d83ba', inputId: "accountNumber", ref: (el) => (this.accountNumberIframeElement = el), label: "Account Number", iframeOrigin: `${this.iframeOrigin}/v2/accountNumber` })), h("div", { key: 'ad2617da7b2d199aedaf1e51709817b9c172542d', class: "row" }, h("iframe-input", { key: 'd1ec652e802e083580ff033c365ffe2e7d6ffdd1', inputId: "routingNumber", ref: (el) => (this.routingNumberIframeElement = el), label: "Routing Number", iframeOrigin: `${this.iframeOrigin}/v2/routingNumber` })))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "justifi-bank-account-form"; }
|
|
49
49
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/modular-checkout/sub-components/billing-information-form.js
CHANGED
|
@@ -40,7 +40,7 @@ export class BillingInformationForm {
|
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
42
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
43
|
-
return (h(StyledHost, { key: '
|
|
43
|
+
return (h(StyledHost, { key: 'a6ce1995bc8f0bc79b52c692d71bde1235d90622' }, h("div", { key: '5ce8118beaf6cfc090c3b6858fb2888741aa7e53', part: billingForm }, h("form", { key: '15a9035e31659a0ce08d675d1868afea612811d5' }, h("fieldset", { key: '9c57ae450cc38e0fe50a6e0d2949b18d945ace1c' }, h("div", { key: '0f6dfd8c20b64e60f22fed232ab56cc0d2509b82', class: "row gy-3" }, h("div", { key: '40024642467bd869d4e1b926e6dde10a4f200f8b', class: "col-12" }, h("form-control-text", { key: 'ead74011aa5097a6c3ae9634a149ded0399729ef', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler })), h("div", { key: 'c31e9d4cf5285a0113f4d931035534949709a1ca', class: "col-12" }, h("form-control-text", { key: '1cef8e3f7fd41d46046a214b1d442923074f7a41', name: 'address_line1', label: 'Street Address', defaultValue: billingFormDefaultValue.address_line1, errorText: this.errors.address_line1, inputHandler: this.inputHandler })), h("div", { key: '9d6dd8dd7894866ecbffeb7dfb347e0ea4099946', class: "col-12" }, h("form-control-text", { key: 'a65736751e7d8a6470c3eb2d04cf4ff173e660b6', name: 'address_line2', label: "Apartment, Suite, etc. (optional)", defaultValue: billingFormDefaultValue.address_line2, errorText: this.errors.address_line2, inputHandler: this.inputHandler })), h("div", { key: '1c0ba7f2720bc71434b69cb285ddf6214932d063', class: "col-12" }, h("form-control-text", { key: 'de507ce3010e4cb09d3b659823b097fd9c9d9d63', name: 'address_city', label: "City", defaultValue: billingFormDefaultValue.address_city, errorText: this.errors.address_city, inputHandler: this.inputHandler })), h("div", { key: '31421327f01601abe6aaaae8ac2391afcdc485d9', class: "col-12" }, h("form-control-select", { key: '30be012a7b96e75b57808922bc689f31a056e8d7', name: 'address_state', label: 'State', options: StateOptions, defaultValue: billingFormDefaultValue.address_state, errorText: this.errors.address_state, inputHandler: this.inputHandler })), h("div", { key: 'f24ba6174800f8f57a02a295e71fb0b018249634', class: "col-12" }, h("form-control-text", { key: 'cf69224b9af53ad11971ccea42756dbacebb104d', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
|
|
44
44
|
}
|
|
45
45
|
static get is() { return "justifi-billing-information-form"; }
|
|
46
46
|
static get encapsulation() { return "shadow"; }
|
|
@@ -44,10 +44,10 @@ export class JustifiCardForm {
|
|
|
44
44
|
return this.cardNumberIframeElement.tokenize(clientId, paymentMethodMetadata, account);
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h(StyledHost, { key: '
|
|
47
|
+
return (h(StyledHost, { key: '3ea6e5a7cb667a94d71686a202d232f6360d25d8' }, h(CardFormSkeleton, { key: '3bd2aba27d83ce47cb147bcaae13232e554d7f56', isReady: this.isReady }), h("hidden-input", { key: 'e144b2394bfe0a9639dd512f25f83ab115c6916a' }), h("div", { key: '86e718f1e8dbfb9341dc62c82db7c043dbf444fb', class: "container-fluid p-0", style: {
|
|
48
48
|
opacity: this.isReady ? '1' : '0',
|
|
49
49
|
height: this.isReady ? 'auto' : '0',
|
|
50
|
-
} }, h("div", { key: '
|
|
50
|
+
} }, h("div", { key: '8a7d518ef2a91663fb951f625c6e3113991a752a', class: "mb-3" }, h("iframe-input", { key: '89d2c67e1b03658e43395ba224341c889391eecc', inputId: "cardNumber", ref: (el) => (this.cardNumberIframeElement = el), label: "Card Number", iframeOrigin: `${this.iframeOrigin}/v2/cardNumber` })), h("div", { key: 'ae5920f94fddaaa2bf068a44d33ec693087a4ff6', class: "row" }, h("div", { key: 'a4ab2b40162cbc9d5b6b353fdf92699d2a7d1297', class: "col-4 align-content-end" }, h("iframe-input", { key: 'd7dc593be2fe53910c7c34c389bab9eb32158482', inputId: "expirationMonth", ref: (el) => (this.expirationMonthIframeElement = el), label: "Expiration", iframeOrigin: `${this.iframeOrigin}/v2/expirationMonth` })), h("div", { key: 'ebef3068915a5ec98513594670306a90a40353c4', class: "col-4 align-content-end" }, h("iframe-input", { key: '8bc26264bab83aaef4a8962ae7a4769deed6ec28', inputId: "expirationYear", ref: (el) => (this.expirationYearIframeElement = el), label: "", iframeOrigin: `${this.iframeOrigin}/v2/expirationYear` })), h("div", { key: 'bcd782486a95fc0fb8ff197bb5f62ba6051f1a42', class: "col-4 align-content-end" }, h("iframe-input", { key: '792afe884631622898079e54264dfed3541bf5cb', inputId: "CVV", ref: (el) => (this.cvvIframeElement = el), label: "CVV", iframeOrigin: `${this.iframeOrigin}/v2/CVV` }))))));
|
|
51
51
|
}
|
|
52
52
|
static get is() { return "justifi-card-form"; }
|
|
53
53
|
static get encapsulation() { return "shadow"; }
|
|
@@ -3,7 +3,7 @@ import { radioListItem } from "../../../styles/parts";
|
|
|
3
3
|
import { StyledHost } from "../../../ui-components";
|
|
4
4
|
export class PaymentMethodOption {
|
|
5
5
|
render() {
|
|
6
|
-
return (h(StyledHost, { key: '
|
|
6
|
+
return (h(StyledHost, { key: '13d81bf8c38b3f59567a8f3414d3ba77c2f4730c', class: "payment-method" }, h("div", { key: 'd4636ac2cc75bc6f1688aa5aabb64c427c14634e', class: "radio-list-item p-3", part: radioListItem, onClick: this.clickHandler, hidden: this.radioButtonHidden }, h("form-control-radio", { key: '2e086a0fd3494695c6cc0d95399a4d6fc8805069', name: "paymentMethodType", value: this.paymentMethodOptionId, checked: this.isSelected, label: this.label }))));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "payment-method-option"; }
|
|
9
9
|
static get encapsulation() { return "shadow"; }
|
|
@@ -41,7 +41,7 @@ export class PostalCodeForm {
|
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
43
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
44
|
-
return (h(StyledHost, { key: '
|
|
44
|
+
return (h(StyledHost, { key: '5ad010bc8968661c250eb3b029e93026cc6545e7' }, h("form", { key: 'cbe9d05605241f7c2c8d48b7e12bbaa3f83b3724' }, h("form-control-text", { key: 'bfe2ffa8ec34b564127426b220d64fce0809361c', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "justifi-postal-code-form"; }
|
|
47
47
|
static get encapsulation() { return "shadow"; }
|
|
@@ -5,7 +5,7 @@ import { checkoutStore } from "../../../store/checkout.store";
|
|
|
5
5
|
import { StyledHost } from "../../../ui-components";
|
|
6
6
|
export class Summary {
|
|
7
7
|
render() {
|
|
8
|
-
return (h(StyledHost, { key: '
|
|
8
|
+
return (h(StyledHost, { key: 'd7aeca995c6793b5b2c12a85eb7c6ce01ab8d025' }, h("section", { key: '962bdd1ce83c5464465c41d5b5655b7c1922208e' }, h("div", { key: 'f8ecf321efae1bfb53cd88c3b32a7b51d0e9bc6a' }, h("div", { key: '630c741b4b931e61cad0823eba96f63c7cbdb2e0', part: text }, checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.paymentDescription), h("div", { key: '15be11ce16201a7e3659a01783d9d9b8d5cd5f2b' }, h("span", { key: '36e21c27b534551bad9570ccf9628be36ddae05b', part: text }, "Total"), "\u00A0", h("span", { key: 'd270040198a56e22f8e14e302166a6235e190c99', part: text }, formatCurrency(+(checkoutStore === null || checkoutStore === void 0 ? void 0 : checkoutStore.totalAmount))))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "justifi-checkout-summary"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -126,7 +126,7 @@ export class OrderTerminals {
|
|
|
126
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))));
|
|
127
127
|
}
|
|
128
128
|
render() {
|
|
129
|
-
return (h(StyledHost, { key: '
|
|
129
|
+
return (h(StyledHost, { key: '3c9d82edf60cb15cae0ca399dc72b108eb645da1' }, h("div", { key: 'cb70067e7bf65760fbe1f3b6c86b705d4f1bb602', part: text }, this.renderLoading(), this.renderBusinessDetails(), this.renderTerminals(), this.renderOrderSection())));
|
|
130
130
|
}
|
|
131
131
|
static get is() { return "justifi-order-terminals"; }
|
|
132
132
|
static get encapsulation() { return "shadow"; }
|
|
@@ -18,7 +18,7 @@ export class TerminalQuantitySelector {
|
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { key: '
|
|
21
|
+
return (h("div", { key: '3ef202c35eac898c5a4df9fdfb81b28ae422cefa', class: "rounded shadow-sm card p-2", part: card }, h("div", { key: 'bb67919a4612520dce0d91abde40ebf9947ecf69', class: "d-flex gap-3" }, h("div", { key: '4a59cc033bf0c36807a6b695ec9c7e078a1a21d1', class: "d-flex align-items-center" }, h("img", { key: '8015cad72024bfe6796ddd77611d60039dc08109', src: this.imageUrl, alt: this.modelName, height: 75, width: 75, part: image })), h("div", { key: '01d269045e68f201fc8325722d6d076c0116988b', class: "d-flex flex-column flex-grow-1 gap-3 p-4 justify-content-center" }, h("div", { key: '82a3c5931407f085c2070589b739ac657cdc9b6a', class: "row" }, h("div", { key: '7a20199e0801e7ea0cba49769ed6c045cb33ec3b', class: "col-6 d-flex gap-2" }, this.modelName, h("form-control-tooltip", { key: 'cfa398975f96fb5795a4e29f7501401e08442ff4', helpText: this.description })), h("div", { key: '7491e3ff0d55227b60cfac370068e0eec5c22be2', class: "col-6 d-flex justify-content-end align-items-center" }, h("button", { key: '20b06222570ffc1644865ee1a42e6e5a6bd0ce93', class: "p-0 minus btn", onClick: this.removeUnit, part: buttonLink }, "-"), h("div", { key: '046cb079ef65d61fd5c1071e914170de219f0d5f', class: "w-25 text-center" }, this.selectedQuantity), h("button", { key: '387dc09baffa5004a8ff8752b11f5c7623bfe648', class: "p-0 plus btn", onClick: this.addUnit, part: buttonLink }, "+")))))));
|
|
22
22
|
}
|
|
23
23
|
static get is() { return "terminal-quantity-selector"; }
|
|
24
24
|
static get properties() {
|
|
@@ -38,16 +38,16 @@ export class PaymentDetailsCore {
|
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h(StyledHost, { key: '
|
|
42
|
-
this.payment && (h("justifi-details", { key: '
|
|
43
|
-
h(DetailSectionTitle, { key: '
|
|
44
|
-
h("div", { key: '
|
|
41
|
+
return (h(StyledHost, { key: '4338e42dfcbf16380a2de314c8a9c89b703be45e' }, this.loading && h(PaymentDetailsLoading, { key: '82204cf03e14dcb49567fb6cc68b6870be01bd03' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && !this.errorMessage &&
|
|
42
|
+
this.payment && (h("justifi-details", { key: '4e50d16529fde2c1a5b737127a7e47adf6183641', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: 'b721371c573bf0f437ee60248770c187f3964706', 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: '216e66f36d6b1cdaec82bb4bb71aaba3844b0b10', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payment.updated_at)} ${formatTime(this.payment.updated_at)}` }), h(EntityHeadInfoItem, { key: 'd3480527a9f462ba9d6518240d132043e4a42b7c', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payment.created_at)} ${formatTime(this.payment.created_at)}` }), h(EntityHeadInfoItem, { key: '3ab5d4882e4c654b74111d47123100a538120769', title: "ID", value: this.payment.id })), h("div", { key: '5a75f3e83c470e1680f88ba60174b8e385ba9244', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '33378dd6f5be68ebbd9d471931de03a13ed58854', sectionTitle: "Details" }), h("div", { key: '8e48bae187f36587b09832e5fc0ba58dc5158a50', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'aff9354c93ef439b436e89dae168744906edc1bb', title: "Amount", value: this.payment.formattedPaymentAmount(this.payment.amount) }), h(DetailItem, { key: '4c369c287dd856197a829ed883a52fb5147cf8ab', title: "Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '0382e25ed55c32d55698bbc69295a4d74ffff1da', title: "Refunded", value: this.payment.formattedPaymentAmount(this.payment.amount_refunded) }), h(DetailItem, { key: '6efb0780c5e2f96e0cc73099a2f341f31b229f88', title: "Net", value: this.payment.formattedPaymentAmount(this.payment.balance) }), h(DetailItem, { key: '39fb251b26f2b49199f8b1773dc9ad16b5c6def9', title: "Status", value: MapPaymentStatusToBadge(this.payment.status) }), h(DetailItem, { key: '943f86f46c61866cee58eb0aa805272da36f1b22', title: "Payment ID", value: this.payment.id }), h(DetailItem, { key: 'b85d389b9f44c70a4d6ced1bb22801ec11d0cffc', title: "Processing Fees", value: this.payment.formattedPaymentAmount(this.payment.fee_amount) }), h(DetailItem, { key: '0d4cf8ae6094262454c9016feb7de73d1e76d56f', title: "Statement Descriptor", value: this.payment.statement_descriptor }), h(DetailItem, { key: '90fd37e1fd37c072c1fd60f2b776e7589d4f85db', title: "Description", value: this.payment.description }), h(DetailItem, { key: '4bf435ac62d7b8d0d207e349fc5aff6239a7462f', title: "Expedited", value: this.payment.expedited ? 'Yes' : 'No' })), this.payment.payment_method.card && [
|
|
43
|
+
h(DetailSectionTitle, { key: '2e64d9c8b859f5dcdbfcf687e6e17bf3b5f89f69', sectionTitle: "Payment Method" }),
|
|
44
|
+
h("div", { key: '39101177a72ad2f2bbb0dce157dba6fe565a1c55', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'd3f419b55db2ea4ce5e8a6e2570695d2002beba2', title: "ID", value: this.payment.payment_method.card.id }), h(DetailItem, { key: 'b15b14a68538396ff6d0eda77470c1d2709d1001', title: "Payment Type", value: "Card" }), h(DetailItem, { key: 'b01f214f3366241a5b9eeecf8fe9536f13170ae9', title: "Last 4 Numbers", value: this.payment.payment_method.lastFourDigits }), h(DetailItem, { key: 'a3620d1d48e2cf276749383778a7b16391bd8090', title: "Brand", value: snakeCaseToHumanReadable(this.payment.payment_method.card.brand) }), h(DetailItem, { key: '2550056c2587c3e6909fe42a23c892329fe076c7', title: "Cardholder", value: this.payment.payment_method.payersName }))
|
|
45
45
|
], this.payment.payment_method.bank_account && [
|
|
46
|
-
h(DetailSectionTitle, { key: '
|
|
47
|
-
h("div", { key: '
|
|
46
|
+
h(DetailSectionTitle, { key: '5f4f08e97bf5fa40af01e178b8ffb0d2378940a0', sectionTitle: "Payment Method" }),
|
|
47
|
+
h("div", { key: '1ea2b719d937c8f1e4e78a6cdd2299145ca22e96', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '43704124e46819028dbc2e5cc40c9f0f08fc99f5', title: "ID", value: this.payment.payment_method.bank_account.id }), h(DetailItem, { key: '081b84120c383ce0d9c30e50ff1dbeda21d826a4', title: "Last 4 Numbers", value: this.payment.last_four_digits }), h(DetailItem, { key: 'c18e75ab3a88ddf1e267ded7d3743c3e3b8ee512', title: "Bank Name", value: this.payment.payment_method.bank_account.brand }), h(DetailItem, { key: '441c1e5f2b945a31e5ffc56392a994414c97d720', title: "Account Owner", value: this.payment.payment_method.payersName }))
|
|
48
48
|
], this.payment.metadata && [
|
|
49
|
-
h(DetailSectionTitle, { key: '
|
|
50
|
-
h("div", { key: '
|
|
49
|
+
h(DetailSectionTitle, { key: '46fa6de75f55f563066a16dea4cadd6f7c03385a', sectionTitle: 'Metadata' }),
|
|
50
|
+
h("div", { key: '8b2958f2f348bfa5a94f51221bec8b6c2b2a0309', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '671bc289b2ec8d573f3493f5e6ec56e0c7e5ab78', metadata: this.payment.metadata }))
|
|
51
51
|
])))));
|
|
52
52
|
}
|
|
53
53
|
static get is() { return "payment-details-core"; }
|
|
@@ -91,7 +91,7 @@ export class PaymentTransactionsList {
|
|
|
91
91
|
return !this.showEmptyState && !this.showErrorState && !this.isLoading;
|
|
92
92
|
}
|
|
93
93
|
render() {
|
|
94
|
-
return (h(StyledHost, { key: '
|
|
94
|
+
return (h(StyledHost, { key: '361096cb55ce8d0b669eb8185d5d29ede0987cc7' }, h(TableWrapper, { key: '7980a1003108ba8194822e5094a9b8bb85d6c758' }, h(TableComponent, { key: '3fdaea0631b7aceefe24bb85c7fecee9ef5b06d6' }, h(TableHead, { key: '7a92bbf526a2a30dd48137427e03caa9c75d07d5' }, h(TableHeadRow, { key: '1828192c594aad3554d15288b2769088fe1321cb' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: 'f2c63fb18e6e889013c67fd0b8dc39bac8dd06dc' }, h(TableLoadingState, { key: '9a2ac964da5b7c159fd08264e33a87d5df96e1e5', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: '35c8474655e1ebd34c64e8aa6e71cb070710f3b4', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: '2c87781e8791fd19de1cacdbba553f6f98d007f5', 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: 'ff33a6fa5fb2ed9df9c9ff223e8a0f3d0b30bff5' }, h(TableFootRow, { key: '66e73eae038757d1c99b1fa33624c58745e8c995' }, h(TableFootCell, { key: '4929f3a3c1ee06a1d09d0a12b5a2059c58780032', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '38a84d08bac6ac8a3dbdcae3c97d6416de7d780f', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
95
95
|
}
|
|
96
96
|
static get is() { return "justifi-payment-transactions-list"; }
|
|
97
97
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '9a5144888231f230d551afea7395e347331ba942' }, h(TableComponent, { key: '3065650893f4487ae32e2ad651606f1963496ff2' }, h(TableHead, { key: '88845d2c6c30b7ebef13a626a9044287a0fcd4ee' }, h(TableHeadRow, { key: 'e8d9fa7a2e2c5e2588839bc50450ced8f4f1d168' }, this.paymentsTable.columnData.map((column) => column))), h(TableBody, { key: '8c393153e99cdc75bd5792f42f76a79f550537b0' }, h(TableLoadingState, { key: '1c9cc2ee720008b93df63f9bcd7ee7bf39d8e74b', columnSpan: this.paymentsTable.columnData.length, isLoading: this.loading }), h(TableEmptyState, { key: '591446e83f57f225aa3aa1f0e39d9f25262bd90f', isEmpty: this.showEmptyState, columnSpan: this.paymentsTable.columnData.length }), h(TableErrorState, { key: '09c04607759c232a47aeb2a1fa22fdbc47403e83', 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: 'ad1bdfe86e9f56058a876bd6b8fc8785b66affff' }, h(TableFootRow, { key: '5db3a0a74b5d3359ed03c3180e42c05370623e63' }, h(TableFootCell, { key: '290aae3c0288144af667859049261da5c85d438b', colSpan: this.paymentsTable.columnData.length }, h("pagination-menu", { key: '511844516f09e85823c1d46c52dff73aa8f7b6a3', 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: '8aba022fe4424789146723f919f5199c36a7c097' }, h("table-filters-menu", { key: '38d8465fc57343caa10693e8cabdb82454d61a5e', params: filterMenuParams, clearParams: clearParams, part: paymentsListFilterMenu }, h("div", { key: '450d7b50e8b6d566539e2556a68a2902eb7602d2', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: 'd371788631aaac9197d3ae3b1178948c91c6e5c1', class: "p-2" }, h("form-control-text", { key: '9c72f274a1993bd35364401484b83e026e7a1e28', name: "payment_id", label: "Payment ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.paymentId || filterParams.payment_id, disabled: !!this.paymentId, part: paymentIdPaymentsListFilterParam })), h("div", { key: '8172fb6ed0b92e6f9bbfa7c318d5ca4bd987ecac', class: "p-2" }, h("form-control-text", { key: 'b9ed00d0cfe7c5580515fd8da24c51676d5e30a8', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdPaymentsListFilterParam })), h("div", { key: 'ab8aa770e553e83ccecb2c29be2546e98b10aa25', class: "p-2" }, h("form-control-select", { key: 'b6c7af7c4b1a62c7a40cefd4df75093863f66bf8', 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: 'b0ca780bae36a8a5aa11eb96e49d17326d4d575b', class: "p-2" }, h("form-control-date", { key: 'df0aacad0d323cb67bc2521bd5d581632059341c', 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: 'c68669b6466711c96e2ead262506204884d38e55', class: "p-2" }, h("form-control-date", { key: '9fe44d67c5079b271d1de78ec5b097897f562bd4', 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"; }
|
|
@@ -46,7 +46,7 @@ export class PaymentsList {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
render() {
|
|
49
|
-
return (h(StyledHost, { key: '
|
|
49
|
+
return (h(StyledHost, { key: 'a843084c5ce8fffa072095a61aa462ca11029850' }, h("payments-list-core", { key: 'a6c38665c7a07da34549114ab1b164a4d48eb59a', getPayments: this.getPayments, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
50
50
|
}
|
|
51
51
|
static get is() { return "justifi-payments-list"; }
|
|
52
52
|
static get encapsulation() { return "shadow"; }
|
|
@@ -52,9 +52,9 @@ export class PayoutDetailsCore {
|
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
54
|
var _a;
|
|
55
|
-
return (h(StyledHost, { key: '
|
|
56
|
-
h(DetailSectionTitle, { key: '
|
|
57
|
-
h("div", { key: '
|
|
55
|
+
return (h(StyledHost, { key: 'f2e62decda12ccb5a81b98522ce7b567055ba2e7' }, this.loading && h(PayoutDetailsLoading, { key: '565b3d560e7d08c083c1304a91acc247ca0d3ab6' }), !this.loading && this.errorMessage && ErrorState(this.errorMessage), !this.loading && this.payout && (h("justifi-details", { key: '128283a1b588d080a714ffce407aa259f6a49a13', "error-message": this.errorMessage }, h(EntityHeadInfo, { key: '912a9fe1e04543306e1956305c0e7bcf42e4e7f0', 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: '02af0ad3fec493224a016dcfb3e4a0650956efc9', classes: "border-1 border-end", title: "Updated At", value: `${formatDate(this.payout.updated_at)} ${formatTime(this.payout.updated_at)}` }), h(EntityHeadInfoItem, { key: '6de8a05995fdd19abc8d974cb2cef8ac6b7aa8c1', classes: "border-1 border-end", title: "Created At", value: `${formatDate(this.payout.created_at)} ${formatTime(this.payout.created_at)}` }), h(EntityHeadInfoItem, { key: '5523501f19646e8cfed3dc9abe12cbbba9ee9299', title: "ID", value: this.payout.id }), h("div", { key: '29206ce4d15a105dad4f033d484c755ad1296609', class: "m-4" }, h(Button, { key: '14237cf7f8b767b9dbf3850dc9e7504d9fc6fb17', variant: "secondary", class: "btn btn-outline-secondary d-flex align-items-center", onClick: this.downloadCSV }, "Export CSV"))), h("div", { key: '3d6a21530c49af49069ecab49ce2052b11a6c1ab', slot: 'detail-sections' }, h(DetailSectionTitle, { key: '1b31ef957c70e29d7cdea6b2b92f246649df03f2', sectionTitle: "Details" }), h("div", { key: '4ff391bd564e843dc40f560c39368545c881c6d8', class: "d-table gap-2 w-100" }, h(DetailItem, { key: '438f715cc5a289970ab368244097f13d498b0511', title: "Date paid", value: formatDate(this.payout.deposits_at) }), h(DetailItem, { key: '0b65234526127fddb4243acb20a45d7ceacc5201', title: "Statement Description", value: this.payout.description }), h(DetailItem, { key: '7cbfad705a6b9018455d7c057c98ac01dba1a130', title: "Payout Method", value: this.payout.delivery_method }), h(DetailItem, { key: '39f053361e28d235d42b2c43422dd4136f608d0b', title: "Amount", value: this.payout.formattedPaymentAmount(this.payout.amount) }), h(DetailItem, { key: '4068f10731040596c941ed513f361492ffb8cd46', title: "Fee", value: this.payout.formattedPaymentAmount(this.payout.fees_total) })), h(DetailSectionTitle, { key: '421827d798d72320089ce93c7c782ef0e43faf77', sectionTitle: "Account" }), h("div", { key: 'e60b895bde0a2dbfc99daf3811337d98e0a0042b', class: "d-table gap-2 w-100" }, h(DetailItem, { key: 'ec885b1806af82f45444ffcf24afacb6812c4ace', title: "ID", value: this.payout.account_id }), h(DetailItem, { key: '90f5499eca649a2ebb8a6a988ca9ada61bacc9ff', title: "Account Type", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '4d07f2ed084eabc2903bcc9a35ceae0ea6ea3833', title: "Institution", value: this.payout.bank_account.account_type }), h(DetailItem, { key: '26a8f03032441d445415cc3db75c12015220ff32', title: "Routing Number", value: this.payout.bank_account.routing_number }), h(DetailItem, { key: 'ba4cc41095ee5afedbfd351d72016b3e17297647', title: "Account Number", value: this.payout.bank_account.account_number_last4 })), this.payout.metadata && [
|
|
56
|
+
h(DetailSectionTitle, { key: '094777aac3ff8aa7a5c7a98f5470564955e4ccb7', sectionTitle: 'Metadata' }),
|
|
57
|
+
h("div", { key: '977175f6c6fa6920f27c101a9f39ecba762796fc', class: "d-table gap-2 w-100" }, h(CodeBlock, { key: '0a5096720505436e4048574fe62c6acd0543667d', metadata: this.payout.metadata }))
|
|
58
58
|
])))));
|
|
59
59
|
}
|
|
60
60
|
static get is() { return "payout-details-core"; }
|
|
@@ -95,7 +95,7 @@ export class PayoutTransactionsList {
|
|
|
95
95
|
return Object.assign({ payout_id: this.payoutId, limit: '15' }, this.pagingParams);
|
|
96
96
|
}
|
|
97
97
|
render() {
|
|
98
|
-
return (h(StyledHost, { key: '
|
|
98
|
+
return (h(StyledHost, { key: 'dea4847a741c529cdcc3fd7ea9601a2e18a4eb2c' }, h(TableWrapper, { key: '5f64785e0e90934f303a870ad926de7c6a4c274c' }, h(TableComponent, { key: '6cfeec59129cfe23bbc0f383487de9a46ea4b745' }, h(TableHead, { key: 'ba018e95819dcb822d5785e55bc746fc4c38944b' }, h(TableHeadRow, { key: '25148be0fdd114ab0c316be5bcf831a9c2772a0e' }, this.transactionsTable.columnData.map((column) => column))), h(TableBody, { key: '9bab9f321e57c277d28da1ec5eca2d54a9d8b3a4' }, h(TableLoadingState, { key: '17daf6218d2e62a1b9474239ec318382c7e35d20', columnSpan: this.transactionsTable.columnKeys.length, isLoading: this.isLoading }), h(TableEmptyState, { key: 'c74a7f402a0461a409aa21db8b8ea0f1a56ab297', isEmpty: this.showEmptyState, columnSpan: this.transactionsTable.columnKeys.length }), h(TableErrorState, { key: 'bfc19bdfee30c81caf0ad6438a355a419a6bfdc5', 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: '264872eb46643bd40c521669e00f0359598aff4c' }, h(TableFootRow, { key: 'cfadcb898d61410c1db6b87030d6d33af902d3a5' }, h(TableFootCell, { key: 'e648e056899773f3c4e34c116f7ce52af43766cf', colSpan: this.transactionsTable.columnData.length }, h("pagination-menu", { key: '2c372de8364ca61ec54f1aee2ce9db248fda469e', paging: Object.assign(Object.assign({}, this.paging), { handleClickPrevious: this.handleClickPrevious, handleClickNext: this.handleClickNext }) })))))))));
|
|
99
99
|
}
|
|
100
100
|
static get is() { return "justifi-payout-transactions-list"; }
|
|
101
101
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '052c386c2877cb7eedfae3778a5fb7677ca264d1' }, h(TableComponent, { key: '75376fd5fe441f4d882f77a76e0cb6da2b318bef' }, h(TableHead, { key: '05a833adc05c5454e124770953e9cea367e4ea1b' }, h(TableHeadRow, { key: '85a3f9d8b5f25f871d0a277e4f2081f2738c34be' }, this.payoutsTable.columnData.map((column) => column))), h(TableBody, { key: '5d4d928ddb8a2a4c627d4dcd93ccdd3fed500ba7' }, h(TableLoadingState, { key: 'd17593d33c3bde2f4345b0252e05f24ff6087bd1', columnSpan: this.payoutsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '41d7aca91498a24ca34f81970cb047463184d46d', isEmpty: this.showEmptyState, columnSpan: this.payoutsTable.columnKeys.length }), h(TableErrorState, { key: '4c728f89242ed48c162e6cfa2b358f495ceafb05', 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: '4dab9a2e96f8aec46c43a0b6aa82a6c76ac85380' }, h(TableFootRow, { key: '9d2369c9b478b7b699af3df5a456517158e85a5f' }, h(TableFootCell, { key: 'b112ec393c07605122d52e1f4e1f7e0c194ec4bb', colSpan: this.payoutsTable.columnData.length }, h("pagination-menu", { key: '807ba2907e74a1c02b83334ccc9d93855d3da5dc', 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: '2f75bc63ce4b0fccc0f27620a09a17f06b663384' }, h("table-filters-menu", { key: '39c8c8c520d9e5de9b39a41ab63ed6eaa46ff2cb', params: filterMenuParams, clearParams: clearParams, part: payoutsListFilterMenu }, h("div", { key: '120fce1598a76a5b11ec1895b05c9c2fdb4e2bea', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '1236205512e66c3bfa405d86934c7a3fdc2be6ac', class: "p-2" }, h("form-control-date", { key: '28835bdbc3c334723bdccf71f77758091e11b250', 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: 'd9e401e5d0177fb6d872e2843c814b1192fa828f', class: "p-2" }, h("form-control-date", { key: '945ddcfce20817e649f88df01dfa251565ecea35', 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"; }
|
|
@@ -64,7 +64,7 @@ export class PayoutsList {
|
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
return (h(StyledHost, { key: '
|
|
67
|
+
return (h(StyledHost, { key: 'd5ada83a3cbcb7ad077e2d4d2f3674981abbf08e' }, h("payouts-list-core", { key: '1d8b95d0e3f4f853a640d45c2c7aa19e54d747e3', getPayouts: this.getPayouts, getPayoutCSV: this.getPayoutCSV, getSubAccounts: this.getSubAccounts, "onError-event": this.handleOnError, columns: this.columns })));
|
|
68
68
|
}
|
|
69
69
|
static get is() { return "justifi-payouts-list"; }
|
|
70
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: '89073c278e92ebfb2b446b25daa9983c7e918846' }, h(TableComponent, { key: '38d37b5c4d44068ef55d4c6668b56e7acaf7c15a' }, h(TableHead, { key: 'ce6d80df8b4d014d1a56cc3c713dd6d0286428f0' }, h(TableHeadRow, { key: '44938cf638188d37a1454735e416e53a55b9e7b2' }, this.terminalOrdersTable.columnData.map((column) => column))), h(TableBody, { key: '3c2f7cf161d1fce3ce06150a9e8e60abfcdf790d' }, h(TableLoadingState, { key: '8b2ae534bbf9b741f78c8ee3b25435861db43ee3', columnSpan: this.terminalOrdersTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: '4c8e2113e95ec48968306f97c147a438755b83f7', isEmpty: this.showEmptyState, columnSpan: this.terminalOrdersTable.columnKeys.length }), h(TableErrorState, { key: 'c487addde56543cea54105a33d6a3a98aa147800', 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: 'c9f5d01bbcbf487d77250572ea8e9f9e6a807fca' }, h(TableFootRow, { key: '04b7f120f63a6ca24a545135e6ef11ca7fecf005' }, h(TableFootCell, { key: '24d04ef17d7ea151bb8a96ca1399e95923d24056', colSpan: this.terminalOrdersTable.columnData.length }, h("pagination-menu", { key: 'fe5c1b4dd83e780f8a84222921f6b1fb8ce0d19a', 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: 'fddde3780b0f6ae0c9434400469a0c463fc836e4' }, h("table-filters-menu", { key: 'a60dcba25d7ae81b6122ad720f8ad0b47eae9f07', params: filterMenuParams, clearParams: clearParams, part: terminalOrdersListFilterMenu }, h("div", { key: 'bd86c98bd5d76880366d1d39e4dccaa2f8cbf154', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '4dcd20f3b85c162180c69c76b5f565b36c0ba072', class: "p-2" }, h("form-control-select", { key: 'bea55cde4d944beff7a3a2afa5bd9271aa2b237e', 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: 'd0d99398f653b74515276fc4a5e2cebcf4b381d6', class: "p-2" }, h("form-control-select", { key: 'd222c464f6f46659d05487c50acd5c2b0e865446', 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: 'a23ddf0d68b6c382f91fbe052e1a72c65fdc6fba', class: "p-2" }, h("form-control-date", { key: 'd5ae54323ee280f9fba9a6a399202e8b4966c655', 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: '8ff4ac479b625092fa10bdf13426dde6d44a0a62', class: "p-2" }, h("form-control-date", { key: 'ee4cd989f929b0ad6596001485a56ed1823f37cd', 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"; }
|
|
@@ -43,7 +43,7 @@ export class TerminalOrdersList {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
|
-
return (h(StyledHost, { key: '
|
|
46
|
+
return (h(StyledHost, { key: '7b624a01fffa53e736b34edb46426e3b068059f6' }, h("terminal-orders-list-core", { key: '586899f09d9ac45d97e6e1a1f8211bd480ecc4c4', getTerminalOrders: this.getTerminalOrders, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "justifi-terminal-orders-list"; }
|
|
49
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: '6751b731f5547643780c3d57318474aee84b248b' }, h(TableComponent, { key: '36d14a0aacdfa627582289a6b775293f0efe2229' }, h(TableHead, { key: '756ab46cea2b9721e96701e1367eab4e1489c0fe' }, h(TableHeadRow, { key: '9535bf0a3f32e54d315b56966f14e2a915411fc6' }, this.terminalsTable.columnData.map((column) => column))), h(TableBody, { key: '66bd7f68e658310cb670642af1612cf4d963817d' }, h(TableLoadingState, { key: '56aebdbbe34742ee01f9f952d8d0344fb59435d2', columnSpan: this.terminalsTable.columnKeys.length, isLoading: this.loading }), h(TableEmptyState, { key: 'cb143316e6969538d84f5ce72990c2d8c48f730e', isEmpty: this.showEmptyState, columnSpan: this.terminalsTable.columnKeys.length }), h(TableErrorState, { key: '2a960216d364507487032a83ed3e6988b7794aac', 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: '3099c45771b4cd72fe284d4414713d551274bae0' }, h(TableFootRow, { key: '4060eb5ac1dbf0b768bcfe8c3c7b781d48424ad7' }, h(TableFootCell, { key: '7aa7116bbee1c70af2bdae0d6b269660e9994685', colSpan: this.terminalsTable.columnData.length }, h("pagination-menu", { key: '24e0d39e92477186509832cd73113831581bf8f9', 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: 'e880216b2d00d408718df95baef12572ea2a6e8f' }, h("table-filters-menu", { key: 'c07aa17ac3e588f56cecc85bd5852b351285c20a', params: filterMenuParams, clearParams: clearParams, part: terminalsListFilterMenu }, h("div", { key: '83d340f6bdbaabd53d5fe16e73215bc3d7592926', class: "grid-cols-2 gap-3 p-1" }, h("div", { key: '3908bf0a626ef6b32d67cb4aaf7f8c163b507e98', class: "p-2" }, h("form-control-text", { key: '076497e0053d1669ccb4d6c48aec9255eadec9f1', name: "terminal_id", label: "Terminal ID", inputHandler: this.debouncedSetParamsOnChange, defaultValue: this.terminalId || filterParams.terminal_id, disabled: !!this.terminalId, part: terminalIdTerminalsListFilterParam })), h("div", { key: 'b4db94d7662af02c77e17826d575349970ec165e', class: "p-2" }, h("form-control-text", { key: 'ee7c46e6b67d13ea5cc3eeec5c9c3d8555e645fd', 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: '179a68d65307f6845f5c634ca552a615fb1a536b', class: "p-2" }, h("form-control-select", { key: '534e61a29cff489da8bdfd62624c293b821e7a0b', 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"; }
|
|
@@ -61,7 +61,7 @@ export class TerminalsList {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h(StyledHost, { key: '
|
|
64
|
+
return (h(StyledHost, { key: 'b3e579e0039b02870edaee6efefa6bebb8b1cc47' }, h("terminals-list-core", { key: '3a8923db8563d9a4a07c0b1205e894e2f7757642', getTerminals: this.getTerminals, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "justifi-terminals-list"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -59,7 +59,7 @@ export class TokenizePaymentMethod {
|
|
|
59
59
|
return this.paymentMethodOptionsRef.validate();
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h(StyledHost, { key: '
|
|
62
|
+
return (h(StyledHost, { key: 'b122a82d00045609c3aadb38780451c56fed3986' }, h("form", { key: '65ccc13977bfc61fae403a9e49fb796cda58c5a5' }, h("fieldset", { key: '7e2b545334a7b8951c491f04d1cb3b356095e1da' }, h("div", { key: 'e78e3b896d8b5e3b67017f5f214d9b2c224c6650', class: "row gy-3" }, h("div", { key: '679f6b00bb91a7551082e10dfc849d62070c0a72', class: "col-12" }, h("justifi-payment-method-options", { key: '41d9590b7a0d6476ae1774e8064e3813f485965f', 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: '2d7a9a0d13009f836bd05da27fc5400b194b105c', class: "col-12" }, h(Button, { key: '9d1e28220380560e92a895eecd714849cbbf06a3', variant: "primary", type: "submit", onClick: event => this.tokenizePaymentMethod(event), isLoading: this.isLoading, "data-testid": "submit-button", hidden: this.hideSubmitButton }, this.submitButtonText)))))));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "justifi-tokenize-payment-method"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|
|
@@ -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: '8fb5f414392751dc7b9823143dd75c2a0a2300bf' }, h("style", { key: '4c52717da8ca29c8c768f38c9c3eb50d61871fa4' }, `
|
|
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: 'c1d79646cf4ef5636f2a7b329011bb78dd914317', class: "popper-content", ref: (el) => this.popperContentRef = el }, h("slot", { key: '09a3086cfbeb95e4518fc9cd5d7123ef0ff67b94' }))));
|
|
92
92
|
}
|
|
93
93
|
static get is() { return "custom-popper"; }
|
|
94
94
|
static get properties() {
|
|
@@ -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: '57a7e88600501b5776d8b38f9b3004449477c9be' }, h("div", { key: 'b800909791526c9768ab69a3b8616990a66510b2', class: 'form-group d-flex flex-column' }, h("div", { key: '4e3115de90d6a81aa87677ee9632c558e4d5bc4c', class: "form-check" }, h("input", { key: '37b8bbe4a45030a28e65bc842e9c4e7063333098', 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: '4d2934f57e676b3d22df044a9e8a0871a67016ad', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '5fdb63d077476e7dc48d0f25de1a510e0310d09c', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'c9b63478dbd8866bf4f1afb8d5975def53460c1a', errorText: this.errorText, name: this.name }))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "form-control-checkbox"; }
|
|
40
40
|
static get properties() {
|
|
@@ -42,10 +42,10 @@ export class DateInput {
|
|
|
42
42
|
return part;
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
|
-
return (h(Host, { key: '
|
|
45
|
+
return (h(Host, { key: 'c0f1b63506b1cb2dd6b712674ecf41d6a77a6812' }, h("div", { key: '8035f56102e8b858006d4045c0a63c60c28ab7b0', class: "form-group d-flex flex-column" }, h("div", { key: '0d16c477ef91e6f7dae42428358d89e2c78d5435', class: "d-flex gap-2" }, h("label", { key: 'ef93756204a7f38bcd5a06c4fbc99b8f379ba9bb', part: label, class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'ed2c53cfffc47f3a1ccbef06778760b573dbc9f2', helpText: this.helpText })), h("input", { key: 'b3520bb0eddce201eff89358e0f8e74a9fad644c', type: this.showTime ? 'datetime-local' : 'date', ref: el => (this.dateInput = el), id: this.name, name: this.name, onFocus: () => this.isFocused = true, onBlur: () => {
|
|
46
46
|
this.isFocused = false;
|
|
47
47
|
this.formControlBlur.emit();
|
|
48
|
-
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: '
|
|
48
|
+
}, onInput: this.handleFormControlInput, part: this.part, class: this.errorText ? 'form-control is-invalid' : 'form-control', disabled: this.disabled, max: this.maxDate }), h(FormControlErrorText, { key: 'b85de20c9ed6791e0a9f2f2ccf6df8cdd62e3bc1', errorText: this.errorText, name: this.name }))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "form-control-date"; }
|
|
51
51
|
static get properties() {
|
|
@@ -2,7 +2,7 @@ import { Host, h, } from "@stencil/core";
|
|
|
2
2
|
import { FormControlErrorText } from "./form-helpers/form-control-error-text";
|
|
3
3
|
export class FileInput {
|
|
4
4
|
render() {
|
|
5
|
-
return (h(Host, { key: '
|
|
5
|
+
return (h(Host, { key: '76453fb73a36054688515faa7e02951ef8fff7c9', exportparts: "label,input,input-invalid" }, h("div", { key: '62903b2e68326cee6caeeebe6e2d5964e536b43b', class: "form-group d-flex flex-column" }, h("div", { key: '71ee82c691f8742e991d96e61ee1ae729d9df0eb', class: "d-flex align-items-start gap-2" }, h("label", { key: '84f34d4fad3d358baee8f3de08472afeecc6bce9', part: "label", class: "form-label", htmlFor: this.name }, this.label), h("form-control-tooltip", { key: 'ee764d70d7132ba698d578260c300ce89613b016', helpText: this.helpText })), h("input", { key: '2ef7e46bef2dd75aa71cbefc167189385ecc4850', 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: '111a944c3428f1de9cabbb789fea671e701eb612', errorText: this.errorText, name: this.name }))));
|
|
6
6
|
}
|
|
7
7
|
static get is() { return "form-control-file-v2"; }
|
|
8
8
|
static get properties() {
|