@justifi/webcomponents 6.1.0-rc.1 → 7.0.0
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/LICENSE +21 -0
- package/dist/cjs/bank-account-document-form-inputs_4.cjs.entry.js +2 -2
- package/dist/cjs/bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/card-form.cjs.entry.js +2 -2
- package/dist/cjs/{check-pkg-version-BURRKC_7.js → check-pkg-version-BqaDMbw-.js} +1 -1
- package/dist/cjs/checkouts-list-core.cjs.entry.js +1 -1
- package/dist/cjs/form-alert_5.cjs.entry.js +4 -4
- package/dist/cjs/form-control-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/form-control-monetary-provisioning.cjs.entry.js +2 -2
- package/dist/cjs/form-control-number-masked_2.cjs.entry.js +1 -1
- package/dist/cjs/hidden-input_2.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-questions-form-step_9.cjs.entry.js +9 -9
- package/dist/cjs/justifi-apple-pay.cjs.entry.js +4 -8
- package/dist/cjs/justifi-bank-account-billing-form-simple_9.cjs.entry.js +6 -6
- 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-business-representative-form-inputs.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-summary_7.cjs.entry.js +15 -7
- package/dist/cjs/justifi-checkout.cjs.entry.js +4 -4
- package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkouts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- 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 +2 -2
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +3 -3
- package/dist/cjs/justifi-payment-transactions-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-transactions-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-refund-payment.cjs.entry.js +2 -2
- package/dist/cjs/justifi-saved-payment-method.cjs.entry.js +1 -1
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminal-orders-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-terminals-list.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-Cq0M4ut-.js → package-BHmOFvbM.js} +1 -1
- package/dist/cjs/pagination-menu.cjs.entry.js +3 -3
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/services/apple-pay.service.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +6 -6
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +6 -6
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +6 -6
- package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +1 -1
- package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +6 -6
- package/dist/collection/components/business-forms/owner-form/owner-form.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-document-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/bank-account-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/form-control-monetary-provisioning.js +2 -2
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +1 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +1 -1
- package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +2 -2
- package/dist/collection/components/checkout/card-form/card-form.js +2 -2
- package/dist/collection/components/checkout/checkout.js +2 -2
- package/dist/collection/components/checkout/save-new-payment-method.js +1 -1
- package/dist/collection/components/checkout/saved-payment-method.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-core.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list-filters.js +1 -1
- package/dist/collection/components/checkouts-list/checkouts-list.js +1 -1
- package/dist/collection/components/modular-checkout/modular-checkout.js +16 -7
- package/dist/collection/components/modular-checkout/sub-components/apple-pay.js +4 -8
- package/dist/collection/components/modular-checkout/sub-components/bank-account-billing-form-simple.js +1 -1
- package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js +1 -1
- package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +3 -2
- package/dist/collection/ui-components/details/details.js +1 -1
- package/dist/collection/ui-components/form/form-control-checkbox.js +2 -2
- package/dist/collection/ui-components/pagination-menu/pagination-menu.js +3 -3
- package/dist/collection/ui-components/shadow-dom-components/justifi-radio-list-item.js +1 -1
- package/dist/docs.json +97 -18
- package/dist/esm/bank-account-document-form-inputs_4.entry.js +2 -2
- package/dist/esm/bank-account-form.entry.js +2 -2
- package/dist/esm/card-form.entry.js +2 -2
- package/dist/esm/{check-pkg-version-Cd_i8U0d.js → check-pkg-version-BS-9lGl9.js} +1 -1
- package/dist/esm/checkouts-list-core.entry.js +1 -1
- package/dist/esm/form-alert_5.entry.js +4 -4
- package/dist/esm/form-control-checkbox.entry.js +2 -2
- package/dist/esm/form-control-monetary-provisioning.entry.js +2 -2
- package/dist/esm/form-control-number-masked_2.entry.js +1 -1
- package/dist/esm/hidden-input_2.entry.js +1 -1
- package/dist/esm/justifi-additional-questions-form-step_9.entry.js +9 -9
- package/dist/esm/justifi-apple-pay.entry.js +4 -8
- package/dist/esm/justifi-bank-account-billing-form-simple_9.entry.js +6 -6
- package/dist/esm/justifi-business-details.entry.js +2 -2
- package/dist/esm/justifi-business-form.entry.js +2 -2
- package/dist/esm/justifi-business-representative-form-inputs.entry.js +1 -1
- package/dist/esm/justifi-checkout-summary_7.entry.js +15 -7
- package/dist/esm/justifi-checkout.entry.js +4 -4
- package/dist/esm/justifi-checkouts-list-filters.entry.js +1 -1
- package/dist/esm/justifi-checkouts-list.entry.js +3 -3
- package/dist/esm/justifi-details.entry.js +1 -1
- 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 +2 -2
- package/dist/esm/justifi-owner-form_3.entry.js +3 -3
- package/dist/esm/justifi-payment-details.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +3 -3
- package/dist/esm/justifi-payment-transactions-list.entry.js +2 -2
- package/dist/esm/justifi-payments-list.entry.js +2 -2
- package/dist/esm/justifi-payout-details.entry.js +2 -2
- package/dist/esm/justifi-payout-transactions-list.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +2 -2
- package/dist/esm/justifi-refund-payment.entry.js +2 -2
- package/dist/esm/justifi-saved-payment-method.entry.js +1 -1
- package/dist/esm/justifi-season-interruption-insurance.entry.js +2 -2
- package/dist/esm/justifi-terminal-orders-list.entry.js +2 -2
- package/dist/esm/justifi-terminals-list.entry.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{package-BBO3I4s6.js → package-C1kJMZIt.js} +1 -1
- package/dist/esm/pagination-menu.entry.js +3 -3
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/additional-questions.js +2 -2
- package/dist/module/bank-account-billing-form-simple.js +1 -1
- package/dist/module/bank-account-document-inputs.js +1 -1
- package/dist/module/bank-account-form-inputs2.js +1 -1
- package/dist/module/bank-account-form.js +2 -2
- package/dist/module/business-additional-questions-form-step.js +1 -1
- package/dist/module/business-bank-account-form-step.js +1 -1
- package/dist/module/business-core-info-form-step.js +1 -1
- package/dist/module/business-core-info.js +1 -1
- package/dist/module/business-owners-form-step.js +1 -1
- package/dist/module/business-representative-form-inputs.js +1 -1
- package/dist/module/business-representative-form-step.js +1 -1
- package/dist/module/business-representative.js +2 -2
- package/dist/module/business-terms-conditions-form-step.js +1 -1
- package/dist/module/card-billing-form-simple.js +1 -1
- package/dist/module/card-form.js +2 -2
- package/dist/module/checkouts-list-core2.js +1 -1
- package/dist/module/details.js +1 -1
- package/dist/module/form-control-checkbox2.js +2 -2
- package/dist/module/form-control-monetary-provisioning2.js +2 -2
- package/dist/module/identity-address-form.js +1 -1
- package/dist/module/justifi-apple-pay.js +4 -8
- package/dist/module/justifi-checkout.js +2 -2
- package/dist/module/justifi-checkouts-list-filters.js +1 -1
- package/dist/module/justifi-checkouts-list.js +1 -1
- package/dist/module/justifi-payment-provisioning.js +1 -1
- package/dist/module/justifi-radio-list-item2.js +1 -1
- package/dist/module/justifi-saved-payment-method.js +1 -1
- package/dist/module/legal-address-form-step.js +1 -1
- package/dist/module/legal-address-form.js +2 -2
- package/dist/module/modular-checkout.js +13 -5
- package/dist/module/owner-form-core2.js +1 -1
- package/dist/module/owner-form-inputs2.js +2 -2
- package/dist/module/owner-form.js +1 -1
- package/dist/module/package.js +1 -1
- package/dist/module/pagination-menu2.js +3 -3
- package/dist/module/payment-provisioning-core.js +1 -1
- package/dist/module/payment-provisioning-form-buttons.js +1 -1
- package/dist/module/payment-provisioning-form-steps.js +1 -1
- package/dist/module/save-new-payment-method.js +1 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +1 -1
- package/dist/types/components.d.ts +10 -8
- package/dist/webcomponents/{p-e97dee15.entry.js → p-011efdbf.entry.js} +1 -1
- package/dist/webcomponents/p-0142114f.entry.js +1 -0
- package/dist/webcomponents/{p-9f04cac4.entry.js → p-146de253.entry.js} +1 -1
- package/dist/webcomponents/{p-30147031.entry.js → p-17f7590c.entry.js} +1 -1
- package/dist/webcomponents/p-20f036cc.entry.js +1 -0
- package/dist/webcomponents/{p-b0a36936.entry.js → p-2247ccd8.entry.js} +1 -1
- package/dist/webcomponents/{p-f739a98d.entry.js → p-2473381f.entry.js} +1 -1
- package/dist/webcomponents/{p-a0a0e200.entry.js → p-3d128c25.entry.js} +1 -1
- package/dist/webcomponents/{p-10278c48.entry.js → p-44e32f85.entry.js} +1 -1
- package/dist/webcomponents/{p-2687e615.entry.js → p-4b45317f.entry.js} +1 -1
- package/dist/webcomponents/{p-c9fef3e4.entry.js → p-51ef1af7.entry.js} +1 -1
- package/dist/webcomponents/{p-18353682.entry.js → p-56b993b3.entry.js} +1 -1
- package/dist/webcomponents/{p-acb0f3ae.entry.js → p-5818d39e.entry.js} +1 -1
- package/dist/webcomponents/p-5c3d8de5.entry.js +1 -0
- package/dist/webcomponents/{p-108209c5.entry.js → p-68f22275.entry.js} +1 -1
- package/dist/webcomponents/{p-1bc8da98.entry.js → p-6a365abb.entry.js} +1 -1
- package/dist/webcomponents/p-6f1dd478.entry.js +1 -0
- package/dist/webcomponents/{p-fa14b671.entry.js → p-71258742.entry.js} +1 -1
- package/dist/webcomponents/{p-ba5b1c54.entry.js → p-7160e5ad.entry.js} +1 -1
- package/dist/webcomponents/{p-1e080811.entry.js → p-79c45974.entry.js} +1 -1
- package/dist/webcomponents/p-7b103dad.entry.js +1 -0
- package/dist/webcomponents/p-8018523d.entry.js +1 -0
- package/dist/webcomponents/{p-1df96001.entry.js → p-8a0b7a0f.entry.js} +1 -1
- package/dist/webcomponents/p-8d3f5638.entry.js +1 -0
- package/dist/webcomponents/{p-176aa079.entry.js → p-8fd28a74.entry.js} +1 -1
- package/dist/webcomponents/{p-1b3b6956.entry.js → p-9c4079cc.entry.js} +1 -1
- package/dist/webcomponents/{p-O-hoT2Oo.js → p-BkeJbw_O.js} +1 -1
- package/dist/webcomponents/p-C1kJMZIt.js +1 -0
- package/dist/webcomponents/{p-914e168d.entry.js → p-a928c6fb.entry.js} +1 -1
- package/dist/webcomponents/{p-1e87c8ed.entry.js → p-ab998669.entry.js} +1 -1
- package/dist/webcomponents/p-b90999af.entry.js +1 -0
- package/dist/webcomponents/{p-613cf570.entry.js → p-c2b8eebe.entry.js} +1 -1
- package/dist/webcomponents/p-cecb65c4.entry.js +1 -0
- package/dist/webcomponents/p-df329742.entry.js +1 -0
- package/dist/webcomponents/p-e4d08075.entry.js +1 -0
- package/dist/webcomponents/p-ea2a9a81.entry.js +1 -0
- package/dist/webcomponents/p-ee48fe6d.entry.js +1 -0
- package/dist/webcomponents/{p-e037cdd1.entry.js → p-eecba4d6.entry.js} +1 -1
- package/dist/webcomponents/p-f4981e8e.entry.js +1 -0
- package/dist/webcomponents/p-f6fbd43d.entry.js +1 -0
- package/dist/webcomponents/{p-ffe01f1b.entry.js → p-f8cbcbe9.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +13 -13
- package/dist/webcomponents/p-19ccbeee.entry.js +0 -1
- package/dist/webcomponents/p-1c433962.entry.js +0 -1
- package/dist/webcomponents/p-1efc0d88.entry.js +0 -1
- package/dist/webcomponents/p-1f971a0f.entry.js +0 -1
- package/dist/webcomponents/p-4d5c71c4.entry.js +0 -1
- package/dist/webcomponents/p-7131211a.entry.js +0 -1
- package/dist/webcomponents/p-80b1c65b.entry.js +0 -1
- package/dist/webcomponents/p-8975bf93.entry.js +0 -1
- package/dist/webcomponents/p-91c1e2ac.entry.js +0 -1
- package/dist/webcomponents/p-BBO3I4s6.js +0 -1
- package/dist/webcomponents/p-a57c1400.entry.js +0 -1
- package/dist/webcomponents/p-df7f36aa.entry.js +0 -1
- package/dist/webcomponents/p-e035a92e.entry.js +0 -1
- package/dist/webcomponents/p-e628a0c8.entry.js +0 -1
- package/dist/webcomponents/p-eafd179b.entry.js +0 -1
- package/dist/webcomponents/p-f8c22c77.entry.js +0 -1
|
@@ -61,7 +61,7 @@ export class CheckoutsList {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
render() {
|
|
64
|
-
return (h(StyledHost, { key: '
|
|
64
|
+
return (h(StyledHost, { key: '41bf633467138b6af13b1c02ccf1e1016ec54bfe' }, h("checkouts-list-core", { key: 'cd3ca431258ad73e701fe74612ecdf2c0f2a1bda', getCheckouts: this.getCheckouts, getSubAccounts: this.getSubAccounts, "onError-event": this.handleErrorEvent, columns: this.columns })));
|
|
65
65
|
}
|
|
66
66
|
static get is() { return "justifi-checkouts-list"; }
|
|
67
67
|
static get encapsulation() { return "shadow"; }
|
|
@@ -238,11 +238,19 @@ export class ModularCheckout {
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
async submitCheckout(submitCheckoutArgs) {
|
|
241
|
-
var _a, _b, _c, _d;
|
|
241
|
+
var _a, _b, _c, _d, _e;
|
|
242
242
|
const isValid = await this.validate();
|
|
243
|
+
if (!checkoutStore.selectedPaymentMethod) {
|
|
244
|
+
this.errorEvent.emit({
|
|
245
|
+
message: 'No payment method selected.',
|
|
246
|
+
errorCode: ComponentErrorCodes.VALIDATION_ERROR,
|
|
247
|
+
severity: ComponentErrorSeverity.ERROR,
|
|
248
|
+
});
|
|
249
|
+
return;
|
|
250
|
+
}
|
|
243
251
|
const isNewCard = ((_a = checkoutStore.selectedPaymentMethod) === null || _a === void 0 ? void 0 : _a.type) === PAYMENT_METHODS.NEW_CARD;
|
|
244
252
|
const isNewBankAccount = ((_b = checkoutStore.selectedPaymentMethod) === null || _b === void 0 ? void 0 : _b.type) === PAYMENT_METHODS.NEW_BANK_ACCOUNT;
|
|
245
|
-
const isPlaid = checkoutStore.selectedPaymentMethod.type === PAYMENT_METHODS.PLAID;
|
|
253
|
+
const isPlaid = ((_c = checkoutStore.selectedPaymentMethod) === null || _c === void 0 ? void 0 : _c.type) === PAYMENT_METHODS.PLAID;
|
|
246
254
|
const shouldTokenize = isNewCard || isNewBankAccount;
|
|
247
255
|
if (shouldTokenize) {
|
|
248
256
|
const tokenizeResult = await this.tokenizePaymentMethod(submitCheckoutArgs);
|
|
@@ -278,7 +286,7 @@ export class ModularCheckout {
|
|
|
278
286
|
return;
|
|
279
287
|
}
|
|
280
288
|
const paymentMethod = response === null || response === void 0 ? void 0 : response.data;
|
|
281
|
-
const token = ((
|
|
289
|
+
const token = ((_d = paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.bank_account) === null || _d === void 0 ? void 0 : _d.token) || (paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.token) || (paymentMethod === null || paymentMethod === void 0 ? void 0 : paymentMethod.id);
|
|
282
290
|
checkoutStore.paymentToken = token;
|
|
283
291
|
}
|
|
284
292
|
catch (err) {
|
|
@@ -324,7 +332,7 @@ export class ModularCheckout {
|
|
|
324
332
|
}
|
|
325
333
|
};
|
|
326
334
|
payment = {
|
|
327
|
-
payment_mode: mapTypeToPaymentMode((
|
|
335
|
+
payment_mode: mapTypeToPaymentMode((_e = checkoutStore.selectedPaymentMethod) === null || _e === void 0 ? void 0 : _e.type),
|
|
328
336
|
payment_token: checkoutStore.paymentToken,
|
|
329
337
|
};
|
|
330
338
|
this.completeCheckout({
|
|
@@ -345,7 +353,7 @@ export class ModularCheckout {
|
|
|
345
353
|
});
|
|
346
354
|
}
|
|
347
355
|
render() {
|
|
348
|
-
return h(Host, { key: '
|
|
356
|
+
return h(Host, { key: 'dbe1fe78f8206fef2e3f4f51628d716786dea858' });
|
|
349
357
|
}
|
|
350
358
|
static get is() { return "justifi-modular-checkout"; }
|
|
351
359
|
static get properties() {
|
|
@@ -503,8 +511,9 @@ export class ModularCheckout {
|
|
|
503
511
|
"id": "global::Promise"
|
|
504
512
|
},
|
|
505
513
|
"BillingFormFields": {
|
|
506
|
-
"location": "
|
|
507
|
-
"
|
|
514
|
+
"location": "import",
|
|
515
|
+
"path": "../../components",
|
|
516
|
+
"id": "src/components.d.ts::BillingFormFields"
|
|
508
517
|
}
|
|
509
518
|
},
|
|
510
519
|
"return": "Promise<void>"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, } from "@stencil/core";
|
|
2
2
|
import { ApplePayService } from "../../../api/services/apple-pay.service";
|
|
3
|
-
import { ApplePayButtonType, ApplePayButtonStyle, ApplePayHelpers,
|
|
3
|
+
import { ApplePayButtonType, ApplePayButtonStyle, ApplePayHelpers, } from "../../../api/ApplePay";
|
|
4
4
|
import { StyledHost } from "../../../ui-components";
|
|
5
5
|
import ApplePaySkeleton from "./apple-pay-skeleton";
|
|
6
6
|
import { ApplePayButton } from "../../../ui-components/apple-pay-button";
|
|
@@ -41,11 +41,7 @@ export class ApplePay {
|
|
|
41
41
|
const paymentRequest = {
|
|
42
42
|
countryCode: this.countryCode,
|
|
43
43
|
currencyCode: checkoutStore.paymentCurrency,
|
|
44
|
-
merchantCapabilities:
|
|
45
|
-
ApplePayMerchantCapability.SUPPORTS_3DS,
|
|
46
|
-
ApplePayMerchantCapability.SUPPORTS_CREDIT,
|
|
47
|
-
ApplePayMerchantCapability.SUPPORTS_DEBIT,
|
|
48
|
-
],
|
|
44
|
+
merchantCapabilities: ApplePayHelpers.getDefaultMerchantCapabilities(),
|
|
49
45
|
supportedNetworks: ApplePayHelpers.getDefaultSupportedNetworks(),
|
|
50
46
|
total: ApplePayHelpers.createLineItem(checkoutStore.paymentDescription, checkoutStore.paymentAmount),
|
|
51
47
|
};
|
|
@@ -189,10 +185,10 @@ export class ApplePay {
|
|
|
189
185
|
this.isAvailable &&
|
|
190
186
|
this.canMakePayments &&
|
|
191
187
|
this.isConfigValid;
|
|
192
|
-
return (h(StyledHost, { key: '
|
|
188
|
+
return (h(StyledHost, { key: '0610b810bc458f7382bb78ebe155e38cd39d7023' }, checkoutStore.checkoutLoaded && (h("script", { key: '036ba823079bb6daa62e72a8ee76cdc32dab60f0', async: true, src: 'https://applepay.cdn-apple.com/jsapi/1.latest/apple-pay-sdk.js', onLoad: () => {
|
|
193
189
|
console.log('[ApplePay Component] Apple Pay SDK script loaded');
|
|
194
190
|
this.initializeApplePay();
|
|
195
|
-
} })), h("div", { key: '
|
|
191
|
+
} })), h("div", { key: 'f5211ca2212306b7ee99dc1f6f06f56a9aa08643', class: 'apple-pay-container' }, h(ApplePaySkeleton, { key: 'bb4680ed4760d378237d36dd60e76d2db9cf0dd4', isLoading: this.isLoading }), isReady && (h(ApplePayButton, { key: '6c984f15b8ef2e629325253428c8243935328050', buttonType: this.buttonType, buttonStyle: this.buttonStyle, disabled: this.disabled, isProcessing: this.isProcessing, isAvailable: this.isAvailable, clickHandler: this.handleApplePayClick }))), h("style", { key: '670fcfa28ea2405f772238add126525ecb14841b' }, `
|
|
196
192
|
.apple-pay-container {
|
|
197
193
|
width: 100%;
|
|
198
194
|
}
|
|
@@ -32,7 +32,7 @@ export class BankAccountBillingFormSimple {
|
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
34
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
35
|
-
return (h(StyledHost, { key: '
|
|
35
|
+
return (h(StyledHost, { key: '81a8511265b4813817b4cf183aa176b464645e85' }, h("div", { key: '7dddd3ec7822077268c73da7d0f34a691ddde1cb', part: billingForm, class: "mt-4" }, h("form", { key: '1c9000a4b022209129cf511d79a77cf3dc44b77e' }, h("fieldset", { key: '134c349c5745197b5ebb79b31748bf480e1cab7a' }, this.legend && (h("legend", { key: 'fb8e12086fd6fb51f7456d8fc6e82a9184514d4f' }, this.legend)), h("div", { key: 'a49ae2d182e442efbe44aae7c2e0a4e40dabe7d7', class: "row gy-3" }, h("div", { key: '2be4b2aab266d0fc17f32237693dea8578c7545d', class: "col-12" }, h("form-control-text", { key: '92d1b3b05ba04212e46feecfd886f7dcc912e4fe', name: 'name', label: 'Full Name', defaultValue: billingFormDefaultValue.name, errorText: this.errors.name, inputHandler: this.inputHandler }))))))));
|
|
36
36
|
}
|
|
37
37
|
static get is() { return "justifi-bank-account-billing-form-simple"; }
|
|
38
38
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/components/modular-checkout/sub-components/card-billing-form-simple.js
CHANGED
|
@@ -33,7 +33,7 @@ export class CardBillingFormSimple {
|
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
35
|
const billingFormDefaultValue = this.formController.getInitialValues();
|
|
36
|
-
return (h(StyledHost, { key: '
|
|
36
|
+
return (h(StyledHost, { key: 'a88ea2aa0b1cc2fccda7c169aad9c061e106ecfe' }, h("div", { key: '414df056d92819bf646886ca8e15f2ed10e6ab18', part: billingForm }, h("form", { key: 'c11f6eb5c7c5c1ecbeb8cc8f644a3b3ba72254c7' }, h("fieldset", { key: 'dd69c65ff7f36da3954c01ca2401e8ede6799f14' }, this.legend && (h("legend", { key: '25a86a61452b84237cc58c047916de22c35b764d' }, this.legend)), h("div", { key: '2fa8445fcf4ac0500f357d92480f18ccac655689', class: "row gy-3" }, h("div", { key: 'b7ac75fcab43435a03ad919757541f74661ce5b4', class: "col-12" }, h("form-control-text", { key: 'fd9e84c9605edf1a987c7243409eb0182f79a803', name: 'address_postal_code', label: "ZIP", defaultValue: billingFormDefaultValue.address_postal_code, errorText: this.errors.address_postal_code, inputHandler: this.inputHandler, maxLength: 5, keyDownHandler: numberOnlyHandler }))))))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "justifi-card-billing-form-simple"; }
|
|
39
39
|
static get encapsulation() { return "shadow"; }
|
|
@@ -513,8 +513,9 @@ export class TokenizePaymentMethod {
|
|
|
513
513
|
"id": "global::Promise"
|
|
514
514
|
},
|
|
515
515
|
"BillingFormFields": {
|
|
516
|
-
"location": "
|
|
517
|
-
"
|
|
516
|
+
"location": "import",
|
|
517
|
+
"path": "../../components",
|
|
518
|
+
"id": "src/components.d.ts::BillingFormFields"
|
|
518
519
|
}
|
|
519
520
|
},
|
|
520
521
|
"return": "Promise<void>"
|
|
@@ -2,7 +2,7 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { ErrorState } from "./utils";
|
|
3
3
|
export class Details {
|
|
4
4
|
render() {
|
|
5
|
-
return (h("div", { key: '
|
|
5
|
+
return (h("div", { key: '3c1c4e729711c6676c176a5a04228ec7ebb7acfa' }, this.errorMessage ?
|
|
6
6
|
ErrorState(this.errorMessage)
|
|
7
7
|
:
|
|
8
8
|
h("main", { class: "p-2" }, h("slot", { name: "head-info" }), h("slot", { name: 'detail-sections' }))));
|
|
@@ -31,10 +31,10 @@ export class CheckboxInput {
|
|
|
31
31
|
return inputCheckbox;
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h(Host, { key: '
|
|
34
|
+
return (h(Host, { key: 'cb4fce894bdb9a24689e6a8b4078727b00001b3a' }, h("div", { key: 'da4671582783f5ebace5105434e484d816215f9e', class: 'form-group d-flex flex-column' }, h("div", { key: 'b8cd2036001fa732528391b6dbf1d0ae53043579', class: "form-check" }, h("input", { key: 'ae87dba4cdf3786e3c9a48c466deb9ef622cb5a9', 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: 'bd2521e5b1af0a415f0780ee9708ff3c59707bcb', class: "form-check-label", htmlFor: this.name, part: label }, this.label)), h(FormControlHelpText, { key: '29ac1320b027c81203fd4f5f424a25dd83bfbb80', helpText: this.helpText, name: this.name }), h(FormControlErrorText, { key: 'a9206d48a18006459f7ae079413e7a5cc528aab5', errorText: this.errorText, name: this.name }))));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "form-control-checkbox"; }
|
|
40
40
|
static get properties() {
|
|
@@ -7,13 +7,13 @@ export class PaginationMenu {
|
|
|
7
7
|
this.params = {};
|
|
8
8
|
}
|
|
9
9
|
render() {
|
|
10
|
-
return (h(Host, { key: '
|
|
10
|
+
return (h(Host, { key: '7b821154b627026ef8624af6e4759e2176004676' }, h("nav", { key: '7990aee285d0cc3e6f83cb59bb216439e5364df5', "aria-label": "Table pagination", class: "d-flex justify-content-end gap-3" }, h("ul", { key: '02c68163934ce1aabf4abd607cc28e549e20ebe1', class: "pagination m-0" }, h("li", { key: 'aab661ae85fc61eecd230d058f135483796769c0', class: `page-item ${this.paging.has_previous ? '' : ' disabled'}` }, h("button", { key: 'ef42a41831a9890186c333418b161877761674e1', class: "page-link", onClick: (e) => {
|
|
11
11
|
e.preventDefault();
|
|
12
12
|
this.paging.handleClickPrevious(this.paging.start_cursor);
|
|
13
|
-
}, part: this.paging.has_previous ? paginationButton : paginationButtonDisabled }, h("span", { key: '
|
|
13
|
+
}, part: this.paging.has_previous ? paginationButton : paginationButtonDisabled }, h("span", { key: 'a898a92687e4a5fec37d9dab4208430260a9f274', class: "me-1", part: paginationButtonIconPrevious }, "\u00AB"), h("span", { key: 'ecc2eeedc064d405ad178b9a98ed088e12f1b2fb', part: paginationButtonText }, "Previous"))), h("li", { key: '56569cd9f9803ead8b1180e2f982a98d7009be1f', class: `page-item ${this.paging.has_next ? '' : ' disabled'}` }, h("button", { key: 'c39d389ab89609e8ce11b3dd81eb5c4a50d3521f', class: "page-link", onClick: (e) => {
|
|
14
14
|
e.preventDefault();
|
|
15
15
|
this.paging.handleClickNext(this.paging.end_cursor);
|
|
16
|
-
}, part: this.paging.has_next ? paginationButton : paginationButtonDisabled }, h("span", { key: '
|
|
16
|
+
}, part: this.paging.has_next ? paginationButton : paginationButtonDisabled }, h("span", { key: '6a01458a048a524931b03df6a964fa4a0ac403ac', part: paginationButtonText }, "Next"), h("span", { key: 'f4cb3d084647c00dff30b99f751180564463443f', class: "ms-1", part: paginationButtonIconNext }, "\u00BB")))))));
|
|
17
17
|
}
|
|
18
18
|
static get is() { return "pagination-menu"; }
|
|
19
19
|
static get properties() {
|
|
@@ -10,7 +10,7 @@ export class JustifiRadioListItem {
|
|
|
10
10
|
};
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
|
-
return (h(StyledHost, { key: '
|
|
13
|
+
return (h(StyledHost, { key: '1ae40f787970160e38b72f917bda96f480d2a890' }, h("div", { key: '2130596c8294cc38365e6126806735da0f93ef4a', class: `radio-list-item p-3 ${this.class || ''}`, part: radioListItem, onClick: this.handleClick, hidden: this.hidden }, h("form-control-radio", { key: '7d5524f518430f2bfd1c9863f354318929353cfb', name: this.name, value: this.value, checked: this.checked, label: this.label, inputHandler: () => null }))));
|
|
14
14
|
}
|
|
15
15
|
static get is() { return "justifi-radio-list-item"; }
|
|
16
16
|
static get encapsulation() { return "shadow"; }
|