@justifi/webcomponents 3.3.5 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -2
- package/changelog-template.hbs +3 -34
- package/dist/cjs/{Payment-5781460e.js → Payment-ac4dea02.js} +1 -1
- package/dist/cjs/index.esm-8df4906e.js +2092 -0
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +14 -2104
- package/dist/cjs/justifi-business-address.cjs.entry.js +66 -0
- package/dist/cjs/justifi-card-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-form.cjs.entry.js +4 -4
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +14 -14
- package/dist/cjs/justifi-payments-list.cjs.entry.js +9 -9
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/select-input_2.cjs.entry.js +2 -4
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Api.js +3 -5
- package/dist/collection/api/Payment.js +1 -1
- package/dist/collection/api/mockData/MockPayments.js +24 -22
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/bank-account-form/bank-account-form.js +8 -4
- package/dist/collection/components/bank-account-form/bank-account-form.stories.js +13 -9
- package/dist/collection/components/bank-account-form/example.js +54 -0
- package/dist/collection/components/billing-form/billing-form-schema.js +1 -4
- package/dist/collection/components/billing-form/billing-form.js +7 -2
- package/dist/collection/components/billing-form/billing-form.stories.js +4 -4
- package/dist/collection/components/billing-form/example.js +26 -0
- package/dist/collection/components/billing-form/state-options.js +61 -61
- package/dist/collection/components/business-address/business-address-schema.js +13 -0
- package/dist/collection/components/business-address/business-address.css +2325 -0
- package/dist/collection/components/business-address/business-address.js +99 -0
- package/dist/collection/components/card-form/card-form.js +8 -4
- package/dist/collection/components/card-form/card-form.stories.js +11 -7
- package/dist/collection/components/card-form/example.js +59 -0
- package/dist/collection/components/payment-form/example.js +23 -0
- package/dist/collection/components/payment-form/payment-form.css +2 -0
- package/dist/collection/components/payment-form/payment-form.js +10 -5
- package/dist/collection/components/payment-form/payment-form.stories.js +15 -12
- package/dist/collection/components/payment-form/payment-method-selector.css +5 -0
- package/dist/collection/components/payment-form/payment-method-selector.js +2 -3
- package/dist/collection/components/payment-method-form/get-computed-theme.js +1 -1
- package/dist/collection/components/payment-method-form/message-event-types.js +1 -1
- package/dist/collection/components/payment-method-form/payment-method-form.js +11 -10
- package/dist/collection/components/payment-method-form/payment-method-responses.js +1 -0
- package/dist/collection/components/payments-list/payments-list.js +4 -4
- package/dist/collection/components/select-input/select-input.js +3 -4
- package/dist/collection/components/text-input/text-input.js +2 -3
- package/dist/collection/utils/utils.js +1 -5
- package/dist/components/Payment.js +1 -1
- package/dist/components/billing-form.js +4 -2093
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/components/justifi-bank-account-form.js +2 -2
- package/dist/components/justifi-business-address.d.ts +11 -0
- package/dist/components/justifi-business-address.js +96 -0
- package/dist/components/justifi-card-form.js +2 -2
- package/dist/components/justifi-payment-form.js +3 -3
- package/dist/components/justifi-payments-list.js +8 -8
- package/dist/components/payment-method-form.js +14 -14
- package/dist/components/payment-method-selector.js +3 -4
- package/dist/components/select-input2.js +1 -2
- package/dist/components/state-options.js +2088 -0
- package/dist/components/text-input2.js +1 -2
- package/dist/esm/{Payment-3f7570a8.js → Payment-c86e1e84.js} +1 -1
- package/dist/esm/index.esm-c6a89005.js +2088 -0
- package/dist/esm/justifi-bank-account-form.entry.js +2 -2
- package/dist/esm/justifi-billing-form_2.entry.js +7 -2097
- package/dist/esm/justifi-business-address.entry.js +62 -0
- package/dist/esm/justifi-card-form.entry.js +2 -2
- package/dist/esm/justifi-payment-form.entry.js +4 -4
- package/dist/esm/justifi-payment-method-form.entry.js +14 -14
- package/dist/esm/justifi-payments-list.entry.js +9 -9
- package/dist/esm/loader.js +1 -1
- package/dist/esm/select-input_2.entry.js +2 -4
- package/dist/esm/webcomponents.js +1 -1
- package/dist/types/components/bank-account-form/bank-account-form.d.ts +7 -6
- package/dist/types/components/billing-form/billing-form.d.ts +5 -0
- package/dist/types/components/business-address/business-address-schema.d.ts +23 -0
- package/dist/types/components/business-address/business-address.d.ts +11 -0
- package/dist/types/components/card-form/card-form.d.ts +7 -6
- package/dist/types/components/payment-form/payment-form.d.ts +2 -3
- package/dist/types/components/payment-method-form/get-computed-theme.d.ts +1 -1
- package/dist/types/components/payment-method-form/payment-method-form.d.ts +2 -1
- package/dist/types/components/payment-method-form/payment-method-responses.d.ts +46 -0
- package/dist/types/components.d.ts +24 -8
- package/dist/webcomponents/p-039e3540.entry.js +1 -0
- package/dist/webcomponents/{p-64b19598.entry.js → p-11e5bef9.entry.js} +1 -1
- package/dist/webcomponents/p-20732337.js +1 -0
- package/dist/webcomponents/p-5b5e8351.entry.js +1 -0
- package/dist/webcomponents/{p-bf40b1ca.entry.js → p-7747c086.entry.js} +1 -1
- package/dist/webcomponents/{p-c3c51a2a.entry.js → p-b061da77.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.css +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +7 -4
- package/readme.md +7 -3
- package/dist/webcomponents/p-2530278e.entry.js +0 -1
- /package/dist/webcomponents/{p-21e020a8.js → p-1ca0646b.js} +0 -0
|
@@ -25,7 +25,7 @@ const BankAccountForm = class {
|
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Makes a tokenization request to the iframe
|
|
28
|
-
|
|
28
|
+
*/
|
|
29
29
|
async tokenize(...args) {
|
|
30
30
|
if (!this.childRef) {
|
|
31
31
|
throw new Error('Cannot call tokenize');
|
|
@@ -34,7 +34,7 @@ const BankAccountForm = class {
|
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
36
|
* Runs a validation on the form and shows errors if any
|
|
37
|
-
|
|
37
|
+
*/
|
|
38
38
|
async validate() {
|
|
39
39
|
if (!this.childRef) {
|
|
40
40
|
throw new Error('Cannot call validate');
|