@justifi/webcomponents 4.7.4 → 4.7.6
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 +1 -1
- package/dist/cjs/{Api-548eaa62.js → Api-a06b996e.js} +35 -35
- package/dist/cjs/{Pagination-cae1dcbd.js → Pagination-0da8f095.js} +5 -5
- package/dist/cjs/Payout-7821eb61.js +183 -0
- package/dist/cjs/SubAccount-b9487cbb.js +107 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +50 -50
- package/dist/cjs/business-form-schema-a2b87e77.js +148 -0
- package/dist/cjs/config-ff2dda66.js +15 -0
- package/dist/cjs/{form-1e732a9d.js → form-2ad3d374.js} +84 -84
- package/dist/cjs/form-control-datepart_2.cjs.entry.js +108 -108
- package/dist/cjs/form-control-monetary.cjs.entry.js +50 -50
- package/dist/cjs/form-control-number_3.cjs.entry.js +108 -108
- package/dist/cjs/{index-c5ace247.js → index-55950669.js} +220 -52
- package/dist/cjs/{index-5a880722.js → index-fc5339a5.js} +406 -195
- package/dist/cjs/{index.esm-91ec051e.js → index.esm-c08c2adc.js} +61 -30
- package/dist/cjs/justifi-additional-questions_6.cjs.entry.js +372 -372
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +56 -56
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +79 -79
- package/dist/cjs/justifi-business-details.cjs.entry.js +61 -61
- package/dist/cjs/justifi-business-form-stepped.cjs.entry.js +135 -122
- package/dist/cjs/justifi-business-form.cjs.entry.js +80 -69
- package/dist/cjs/justifi-business-list.cjs.entry.js +128 -128
- package/dist/cjs/justifi-card-form.cjs.entry.js +57 -57
- package/dist/cjs/justifi-details.cjs.entry.js +13 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +125 -125
- package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +72 -72
- package/dist/cjs/justifi-payment-details.cjs.entry.js +53 -53
- package/dist/cjs/justifi-payment-form.cjs.entry.js +89 -89
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +171 -188
- package/dist/cjs/justifi-payments-list.cjs.entry.js +99 -100
- package/dist/cjs/justifi-payout-details.cjs.entry.js +54 -54
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +121 -121
- package/dist/cjs/justifi-proceeds-list.cjs.entry.js +135 -135
- package/dist/cjs/justifi-refund-form.cjs.entry.js +85 -85
- package/dist/cjs/justifi-subaccount-details.cjs.entry.js +62 -62
- package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +86 -86
- package/dist/cjs/justifi-table_2.cjs.entry.js +64 -61
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/select-input_2.cjs.entry.js +38 -38
- package/dist/cjs/state-options-96d05a98.js +246 -0
- package/dist/cjs/subaccount-account-details_4.cjs.entry.js +41 -41
- package/dist/cjs/subaccount-bank-details.cjs.entry.js +11 -11
- package/dist/cjs/subaccount-terms-details.cjs.entry.js +11 -11
- package/dist/cjs/{utils-13d069be.js → utils-36bf8b3e.js} +108 -108
- package/dist/cjs/utils-931f4879.js +34 -0
- package/dist/cjs/utils-99c086ee.js +35 -0
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/Api.js +34 -34
- package/dist/collection/api/Business.js +39 -39
- package/dist/collection/api/Pagination.js +5 -5
- package/dist/collection/api/Payment.js +108 -108
- package/dist/collection/api/Payout.js +33 -33
- package/dist/collection/api/Proceed.js +33 -33
- package/dist/collection/api/SubAccount.js +78 -78
- package/dist/collection/api/mockData/MockOnboardingData.js +108 -108
- package/dist/collection/api/mockData/MockPayments.js +207 -207
- package/dist/collection/api/mockData/MockSubAccount.js +96 -96
- package/dist/collection/api/mockData/mockGrossVolumeReport.js +123 -123
- package/dist/collection/collection-manifest.json +4 -4
- package/dist/collection/components/bank-account-form/bank-account-form.js +260 -259
- package/dist/collection/components/bank-account-form/test/bank-account-form.e2e.js +10 -10
- package/dist/collection/components/bank-account-form/test/bank-account-form.spec.js +38 -38
- package/dist/collection/components/billing-form/billing-form-schema.js +6 -6
- package/dist/collection/components/billing-form/billing-form.css +16 -12
- package/dist/collection/components/billing-form/billing-form.js +177 -179
- package/dist/collection/components/billing-form/state-options.js +240 -240
- package/dist/collection/components/billing-form/test/billing-form.spec.js +50 -50
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.css +23 -16
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +43 -43
- package/dist/collection/components/business-details/business-details.css +11 -4
- package/dist/collection/components/business-details/business-details.js +107 -107
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.css +23 -16
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +43 -43
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.css +23 -16
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +43 -43
- package/dist/collection/components/business-details/owner-details/owner-details.css +23 -16
- package/dist/collection/components/business-details/owner-details/owner-details.js +45 -45
- package/dist/collection/components/business-details/representative-details/representative-details.css +23 -16
- package/dist/collection/components/business-details/representative-details/representative-details.js +43 -43
- package/dist/collection/components/business-form/additional-questions/additional-questions.js +49 -49
- package/dist/collection/components/business-form/business-address/business-address-form-schema.js +8 -8
- package/dist/collection/components/business-form/business-address/business-address-form.css +16 -12
- package/dist/collection/components/business-form/business-address/business-address-form.js +93 -93
- package/dist/collection/components/business-form/business-address/test/business-address.e2e.js +6 -6
- package/dist/collection/components/business-form/business-address/test/business-address.spec.js +21 -21
- package/dist/collection/components/business-form/business-form-schema.js +137 -137
- package/dist/collection/components/business-form/business-form-stepped.css +23 -16
- package/dist/collection/components/business-form/business-form-stepped.js +218 -203
- package/dist/collection/components/business-form/business-form.css +118 -16
- package/dist/collection/components/business-form/business-form.js +142 -111
- package/dist/collection/components/business-form/business-generic-info/business-generic-info.css +16 -12
- package/dist/collection/components/business-form/business-generic-info/business-generic-info.js +57 -57
- package/dist/collection/components/business-form/business-owners/business-owners.css +23 -16
- package/dist/collection/components/business-form/business-owners/business-owners.js +117 -117
- package/dist/collection/components/business-form/business-representative/business-representative.css +16 -12
- package/dist/collection/components/business-form/business-representative/business-representative.js +65 -65
- package/dist/collection/components/business-form/helpers.js +19 -19
- package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js +6 -6
- package/dist/collection/components/business-form/legal-address-form/legal-address-form.css +16 -12
- package/dist/collection/components/business-form/legal-address-form/legal-address-form.js +61 -61
- package/dist/collection/components/business-form/test/business-form.spec.js +35 -35
- package/dist/collection/components/business-list/business-list.css +3 -0
- package/dist/collection/components/business-list/business-list.js +160 -160
- package/dist/collection/components/business-list/business-list.stories.js +10 -10
- package/dist/collection/components/card-form/card-form.js +278 -277
- package/dist/collection/components/card-form/test/card-form.e2e.js +10 -10
- package/dist/collection/components/card-form/test/card-form.spec.js +45 -45
- package/dist/collection/components/details/details.css +38 -31
- package/dist/collection/components/details/details.js +42 -42
- package/dist/collection/components/form/form-control-datepart.js +224 -224
- package/dist/collection/components/form/form-control-monetary.js +177 -177
- package/dist/collection/components/form/form-control-number-masked.js +208 -208
- package/dist/collection/components/form/form-control-number.css +7 -2
- package/dist/collection/components/form/form-control-number.js +188 -188
- package/dist/collection/components/form/form-control-select.css +7 -2
- package/dist/collection/components/form/form-control-select.js +196 -196
- package/dist/collection/components/form/form-control-text.css +7 -2
- package/dist/collection/components/form/form-control-text.js +188 -188
- package/dist/collection/components/form/form.js +80 -80
- package/dist/collection/components/form/utils.js +2 -0
- package/dist/collection/components/gross-payment-chart/chart-utils.js +52 -52
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.css +3 -0
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +125 -125
- package/dist/collection/components/gross-payment-chart/test/gross-payment-chart.spec.js +7 -7
- package/dist/collection/components/pagination-menu/pagination-menu.js +72 -72
- package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js +144 -144
- package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.stories.js +10 -10
- package/dist/collection/components/payment-details/payment-details.css +38 -31
- package/dist/collection/components/payment-details/payment-details.js +106 -106
- package/dist/collection/components/payment-form/payment-form.css +16 -12
- package/dist/collection/components/payment-form/payment-form.js +319 -318
- package/dist/collection/components/payment-form/payment-method-selector.css +6 -2
- package/dist/collection/components/payment-form/payment-method-selector.js +90 -90
- package/dist/collection/components/payment-form/test/payment-form.e2e.js +9 -9
- package/dist/collection/components/payment-form/test/payment-form.spec.js +157 -157
- package/dist/collection/components/payment-method-form/get-computed-theme.js +47 -47
- package/dist/collection/components/payment-method-form/message-event-types.js +14 -14
- package/dist/collection/components/payment-method-form/payment-method-form.js +288 -262
- package/dist/collection/components/payment-method-form/test/payment-method-form.e2e.js +16 -16
- package/dist/collection/components/payment-method-form/test/payment-method-form.spec.js +43 -43
- package/dist/collection/components/payments-list/payments-list.css +3 -0
- package/dist/collection/components/payments-list/payments-list.js +179 -180
- package/dist/collection/components/payments-list/test/payments-list.spec.js +21 -21
- package/dist/collection/components/payout-details/payout-details.css +38 -31
- package/dist/collection/components/payout-details/payout-details.js +107 -107
- package/dist/collection/components/payouts-list/payouts-list.css +3 -0
- package/dist/collection/components/payouts-list/payouts-list.js +201 -201
- package/dist/collection/components/proceeds-list/proceeds-list.css +3 -0
- package/dist/collection/components/proceeds-list/proceeds-list.js +182 -182
- package/dist/collection/components/proceeds-list/proceeds-list.stories.js +12 -12
- package/dist/collection/components/refund-form/refund-form-schema.js +9 -9
- package/dist/collection/components/refund-form/refund-form.css +23 -16
- package/dist/collection/components/refund-form/refund-form.js +216 -216
- package/dist/collection/components/refund-form/refund-form.stories.js +27 -27
- package/dist/collection/components/select-input/select-input.css +7 -2
- package/dist/collection/components/select-input/select-input.js +139 -139
- package/dist/collection/components/select-input/test/select-input.spec.js +38 -38
- package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.css +23 -16
- package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js +65 -65
- package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.css +23 -16
- package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js +43 -43
- package/dist/collection/components/subaccount-details/subaccount-details.css +38 -31
- package/dist/collection/components/subaccount-details/subaccount-details.js +132 -132
- package/dist/collection/components/subaccount-details/subaccount-details.stories.js +9 -9
- package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.css +23 -16
- package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +43 -44
- package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.css +23 -16
- package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js +44 -43
- package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.css +23 -16
- package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js +43 -43
- package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.css +23 -16
- package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js +43 -43
- package/dist/collection/components/subaccount-details/test/subaccount-details.spec.js +7 -7
- package/dist/collection/components/subaccounts-list/subaccounts-list.js +166 -166
- package/dist/collection/components/subaccounts-list/subaccounts-list.stories.js +12 -12
- package/dist/collection/components/subaccounts-list/test/subaccounts-list.e2e.js +6 -6
- package/dist/collection/components/subaccounts-list/test/subaccounts-list.spec.js +21 -21
- package/dist/collection/components/table/table.css +38 -31
- package/dist/collection/components/table/table.js +217 -224
- package/dist/collection/components/table/test/table.spec.js +64 -48
- package/dist/collection/components/table/utils.js +4 -0
- package/dist/collection/components/text-input/test/text-input.spec.js +31 -31
- package/dist/collection/components/text-input/text-input.css +7 -2
- package/dist/collection/components/text-input/text-input.js +122 -122
- package/dist/collection/utils/country-options.js +198 -198
- package/dist/collection/utils/phone-masks.js +1 -1
- package/dist/collection/utils/utils.js +107 -107
- package/dist/config.js +9 -9
- package/dist/docs.d.ts +401 -0
- package/dist/docs.json +6511 -0
- package/dist/esm/{Api-c65d3ed8.js → Api-0e88671c.js} +35 -35
- package/dist/esm/{Pagination-31f770d6.js → Pagination-afc8f96d.js} +5 -5
- package/dist/esm/Payout-c42e3877.js +179 -0
- package/dist/esm/SubAccount-b3ce8720.js +105 -0
- package/dist/esm/additional-questions-details_5.entry.js +50 -50
- package/dist/esm/business-form-schema-997c585c.js +144 -0
- package/dist/esm/config-476c7241.js +13 -0
- package/dist/esm/{form-32cf3d1e.js → form-5279c05a.js} +84 -84
- package/dist/esm/form-control-datepart_2.entry.js +108 -108
- package/dist/esm/form-control-monetary.entry.js +50 -50
- package/dist/esm/form-control-number_3.entry.js +108 -108
- package/dist/esm/{index-5ed53c20.js → index-5eb05747.js} +406 -195
- package/dist/esm/{index-7471ed60.js → index-62b8aa8a.js} +220 -52
- package/dist/esm/{index.esm-9397ffa0.js → index.esm-8ae36d07.js} +61 -30
- package/dist/esm/justifi-additional-questions_6.entry.js +372 -372
- package/dist/esm/justifi-bank-account-form.entry.js +56 -56
- package/dist/esm/justifi-billing-form_2.entry.js +79 -79
- package/dist/esm/justifi-business-details.entry.js +61 -61
- package/dist/esm/justifi-business-form-stepped.entry.js +135 -122
- package/dist/esm/justifi-business-form.entry.js +80 -69
- package/dist/esm/justifi-business-list.entry.js +128 -128
- package/dist/esm/justifi-card-form.entry.js +57 -57
- package/dist/esm/justifi-details.entry.js +13 -13
- package/dist/esm/justifi-gross-payment-chart.entry.js +125 -125
- package/dist/esm/justifi-payment-balance-transactions.entry.js +72 -72
- package/dist/esm/justifi-payment-details.entry.js +53 -53
- package/dist/esm/justifi-payment-form.entry.js +89 -89
- package/dist/esm/justifi-payment-method-form.entry.js +171 -188
- package/dist/esm/justifi-payments-list.entry.js +99 -100
- package/dist/esm/justifi-payout-details.entry.js +54 -54
- package/dist/esm/justifi-payouts-list.entry.js +121 -121
- package/dist/esm/justifi-proceeds-list.entry.js +135 -135
- package/dist/esm/justifi-refund-form.entry.js +85 -85
- package/dist/esm/justifi-subaccount-details.entry.js +62 -62
- package/dist/esm/justifi-subaccounts-list.entry.js +86 -86
- package/dist/esm/justifi-table_2.entry.js +64 -61
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/select-input_2.entry.js +38 -38
- package/dist/esm/state-options-fc1daf67.js +244 -0
- package/dist/esm/subaccount-account-details_4.entry.js +41 -41
- package/dist/esm/subaccount-bank-details.entry.js +11 -11
- package/dist/esm/subaccount-terms-details.entry.js +11 -11
- package/dist/esm/{utils-40b7002c.js → utils-26c7dd12.js} +108 -108
- package/dist/esm/utils-8cc130a9.js +31 -0
- package/dist/esm/utils-f33f7e3c.js +27 -0
- package/dist/esm/webcomponents.js +4 -4
- package/{loader → dist/loader}/cdn.js +1 -1
- package/{loader → dist/loader}/index.cjs.js +1 -1
- package/{loader → dist/loader}/index.d.ts +1 -1
- package/dist/loader/index.es2017.js +3 -0
- package/{loader → dist/loader}/index.js +2 -2
- package/dist/{components → module}/Api.js +35 -35
- package/dist/{components → module}/Pagination.js +5 -5
- package/dist/module/Payout.js +179 -0
- package/dist/module/SubAccount.js +105 -0
- package/dist/{components → module}/additional-questions-details.d.ts +2 -2
- package/dist/module/additional-questions-details2.js +36 -0
- package/dist/module/additional-questions.js +50 -0
- package/dist/module/billing-form.js +113 -0
- package/dist/module/business-address-form.js +72 -0
- package/dist/module/business-generic-info.js +212 -0
- package/dist/module/business-owners.js +116 -0
- package/dist/module/business-representative.js +90 -0
- package/dist/module/config.js +13 -0
- package/dist/module/details.js +38 -0
- package/dist/{components → module}/form-control-datepart.d.ts +2 -2
- package/dist/module/form-control-datepart2.js +98 -0
- package/dist/{components → module}/form-control-monetary.d.ts +2 -2
- package/dist/module/form-control-monetary2.js +83 -0
- package/dist/{components → module}/form-control-number-masked.d.ts +2 -2
- package/dist/module/form-control-number-masked2.js +82 -0
- package/dist/{components → module}/form-control-number.d.ts +2 -2
- package/dist/module/form-control-number2.js +71 -0
- package/dist/{components → module}/form-control-select.d.ts +2 -2
- package/dist/module/form-control-select2.js +67 -0
- package/dist/{components → module}/form-control-text.d.ts +2 -2
- package/dist/module/form-control-text2.js +71 -0
- package/dist/{components → module}/form.js +84 -84
- package/dist/{components → module}/generic-info-details.d.ts +2 -2
- package/dist/module/generic-info-details2.js +37 -0
- package/dist/{components → module}/index.esm.js +61 -30
- package/dist/{components → module}/index2.js +406 -195
- package/dist/{components → module}/justifi-additional-questions.d.ts +2 -2
- package/dist/{components → module}/justifi-bank-account-form.d.ts +2 -2
- package/dist/module/justifi-bank-account-form.js +96 -0
- package/dist/{components → module}/justifi-billing-form.d.ts +2 -2
- package/dist/{components → module}/justifi-business-address-form.d.ts +2 -2
- package/dist/{components → module}/justifi-business-details.d.ts +2 -2
- package/dist/module/justifi-business-details.js +130 -0
- package/dist/{components → module}/justifi-business-form-stepped.d.ts +2 -2
- package/dist/module/justifi-business-form-stepped.js +242 -0
- package/dist/{components → module}/justifi-business-form.d.ts +2 -2
- package/dist/{components/justifi-payment-details.js → module/justifi-business-form.js} +175 -79
- package/dist/{components → module}/justifi-business-generic-info.d.ts +2 -2
- package/dist/{components → module}/justifi-business-list.d.ts +2 -2
- package/dist/module/justifi-business-list.js +197 -0
- package/dist/{components → module}/justifi-business-owners.d.ts +2 -2
- package/dist/{components → module}/justifi-business-representative.d.ts +2 -2
- package/dist/{components → module}/justifi-card-form.d.ts +2 -2
- package/dist/module/justifi-card-form.js +98 -0
- package/dist/{components → module}/justifi-details.d.ts +2 -2
- package/dist/{components → module}/justifi-gross-payment-chart.d.ts +2 -2
- package/dist/{components → module}/justifi-gross-payment-chart.js +146 -142
- package/dist/{components → module}/justifi-legal-address-form.d.ts +2 -2
- package/dist/{components → module}/justifi-payment-balance-transactions.d.ts +2 -2
- package/dist/module/justifi-payment-balance-transactions.js +125 -0
- package/dist/{components → module}/justifi-payment-details.d.ts +2 -2
- package/dist/module/justifi-payment-details.js +98 -0
- package/dist/{components → module}/justifi-payment-form.d.ts +2 -2
- package/dist/module/justifi-payment-form.js +169 -0
- package/dist/{components → module}/justifi-payment-method-form.d.ts +2 -2
- package/dist/{components → module}/justifi-payment-method-selector.d.ts +2 -2
- package/dist/{components → module}/justifi-payments-list.d.ts +2 -2
- package/dist/module/justifi-payments-list.js +154 -0
- package/dist/{components → module}/justifi-payout-details.d.ts +2 -2
- package/dist/module/justifi-payout-details.js +99 -0
- package/dist/{components → module}/justifi-payouts-list.d.ts +2 -2
- package/dist/module/justifi-payouts-list.js +176 -0
- package/dist/{components → module}/justifi-proceeds-list.d.ts +2 -2
- package/dist/module/justifi-proceeds-list.js +199 -0
- package/dist/{components → module}/justifi-refund-form.d.ts +2 -2
- package/dist/module/justifi-refund-form.js +139 -0
- package/dist/{components → module}/justifi-subaccount-details.d.ts +2 -2
- package/dist/module/justifi-subaccount-details.js +134 -0
- package/dist/{components → module}/justifi-subaccounts-list.d.ts +2 -2
- package/dist/module/justifi-subaccounts-list.js +142 -0
- package/dist/{components → module}/justifi-table.d.ts +2 -2
- package/dist/{components → module}/legal-address-details.d.ts +2 -2
- package/dist/module/legal-address-details2.js +36 -0
- package/dist/module/legal-address-form.js +268 -0
- package/dist/{components → module}/owner-details.d.ts +2 -2
- package/dist/module/owner-details2.js +39 -0
- package/dist/{components → module}/pagination-menu.d.ts +2 -2
- package/dist/module/pagination-menu2.js +43 -0
- package/dist/{components → module}/payment-method-form.js +191 -207
- package/dist/module/payment-method-selector.js +44 -0
- package/dist/{components → module}/phone-masks.js +1 -1
- package/dist/{components → module}/representative-details.d.ts +2 -2
- package/dist/module/representative-details2.js +37 -0
- package/dist/{components → module}/select-input.d.ts +2 -2
- package/dist/module/select-input2.js +50 -0
- package/dist/module/state-options.js +244 -0
- package/dist/{components → module}/subaccount-account-details.d.ts +2 -2
- package/dist/module/subaccount-account-details2.js +38 -0
- package/dist/{components → module}/subaccount-bank-details.d.ts +2 -2
- package/dist/module/subaccount-bank-details.js +39 -0
- package/dist/{components → module}/subaccount-merchant-details.d.ts +2 -2
- package/dist/module/subaccount-merchant-details2.js +37 -0
- package/dist/{components → module}/subaccount-owners-details.d.ts +2 -2
- package/dist/module/subaccount-owners-details2.js +37 -0
- package/dist/{components → module}/subaccount-representative-details.d.ts +2 -2
- package/dist/module/subaccount-representative-details2.js +37 -0
- package/dist/{components → module}/subaccount-terms-details.d.ts +2 -2
- package/dist/{webcomponents/p-98e4eae3.entry.js → module/subaccount-terms-details.js} +39 -1
- package/dist/module/table.js +93 -0
- package/dist/{components → module}/text-input.d.ts +2 -2
- package/dist/module/text-input2.js +48 -0
- package/dist/module/utils.js +27 -0
- package/dist/{components → module}/utils2.js +108 -108
- package/dist/module/utils3.js +31 -0
- package/dist/types/api/Api.d.ts +14 -14
- package/dist/types/api/Business.d.ts +120 -120
- package/dist/types/api/GrossVolume.d.ts +4 -4
- package/dist/types/api/Pagination.d.ts +12 -12
- package/dist/types/api/Payment.d.ts +134 -134
- package/dist/types/api/Payout.d.ts +51 -51
- package/dist/types/api/Proceed.d.ts +51 -51
- package/dist/types/api/SubAccount.d.ts +130 -130
- package/dist/types/api/mockData/MockOnboardingData.d.ts +5 -5
- package/dist/types/api/mockData/mockGrossVolumeReport.d.ts +5 -5
- package/dist/types/api/shared.d.ts +9 -9
- package/dist/types/components/bank-account-form/bank-account-form.d.ts +58 -0
- package/dist/types/components/billing-form/billing-form-schema.d.ts +18 -18
- package/dist/types/components/billing-form/billing-form.d.ts +25 -25
- package/dist/types/components/billing-form/state-options.d.ts +2 -2
- package/dist/types/components/business-details/additional-questions-details/additional-questions-details.d.ts +2 -2
- package/dist/types/components/business-details/business-details.d.ts +13 -13
- package/dist/types/components/business-details/generic-info-details/generic-info-details.d.ts +2 -2
- package/dist/types/components/business-details/legal-address-details/legal-address-details.d.ts +2 -2
- package/dist/types/components/business-details/owner-details/owner-details.d.ts +2 -2
- package/dist/types/components/business-details/representative-details/representative-details.d.ts +2 -2
- package/dist/types/components/business-form/additional-questions/additional-questions.d.ts +7 -7
- package/dist/types/components/business-form/business-address/business-address-form-schema.d.ts +16 -16
- package/dist/types/components/business-form/business-address/business-address-form.d.ts +7 -7
- package/dist/types/components/business-form/business-form-schema.d.ts +102 -102
- package/dist/types/components/business-form/business-form-stepped.d.ts +27 -23
- package/dist/types/components/business-form/business-form.d.ts +16 -11
- package/dist/types/components/business-form/business-generic-info/business-generic-info.d.ts +6 -6
- package/dist/types/components/business-form/business-owners/business-owners.d.ts +22 -22
- package/dist/types/components/business-form/business-representative/business-representative-schema.d.ts +13 -13
- package/dist/types/components/business-form/business-representative/business-representative.d.ts +8 -8
- package/dist/types/components/business-form/legal-address-form/legal-address-form-schema.d.ts +12 -12
- package/dist/types/components/business-form/legal-address-form/legal-address-form.d.ts +7 -7
- package/dist/types/components/business-list/business-list.d.ts +27 -27
- package/dist/types/components/business-list/business-list.stories.d.ts +3 -3
- package/dist/types/components/card-form/card-form.d.ts +68 -0
- package/dist/types/components/details/details.d.ts +2 -2
- package/dist/types/components/details/utils.d.ts +10 -10
- package/dist/types/components/form/form-control-datepart.d.ts +16 -16
- package/dist/types/components/form/form-control-monetary.d.ts +14 -14
- package/dist/types/components/form/form-control-number-masked.d.ts +16 -16
- package/dist/types/components/form/form-control-number.d.ts +15 -15
- package/dist/types/components/form/form-control-select.d.ts +17 -17
- package/dist/types/components/form/form-control-text.d.ts +15 -15
- package/dist/types/components/form/form.d.ts +18 -18
- package/dist/types/components/form/utils.d.ts +1 -0
- package/dist/types/components/gross-payment-chart/chart-utils.d.ts +39 -39
- package/dist/types/components/gross-payment-chart/gross-payment-chart.d.ts +16 -16
- package/dist/types/components/pagination-menu/pagination-menu.d.ts +5 -5
- package/dist/types/components/payment-balance-transactions/payment-balance-transactions.d.ts +14 -14
- package/dist/types/components/payment-balance-transactions/payment-balance-transactions.stories.d.ts +3 -3
- package/dist/types/components/payment-details/payment-details.d.ts +9 -9
- package/dist/types/components/payment-form/payment-form.d.ts +22 -22
- package/dist/types/components/payment-form/payment-method-selector.d.ts +6 -6
- package/dist/types/components/payment-form/tokenize.d.ts +3 -3
- package/dist/types/components/payment-method-form/message-event-types.d.ts +14 -14
- package/dist/types/components/payment-method-form/payment-method-form.d.ts +21 -22
- package/dist/types/components/payment-method-form/payment-method-responses.d.ts +40 -40
- package/dist/types/components/payment-method-form/theme.d.ts +45 -45
- package/dist/types/components/payments-list/payments-list.d.ts +14 -14
- package/dist/types/components/payout-details/payout-details.d.ts +9 -9
- package/dist/types/components/payouts-list/payouts-list.d.ts +15 -15
- package/dist/types/components/proceeds-list/proceeds-list.d.ts +15 -15
- package/dist/types/components/proceeds-list/proceeds-list.stories.d.ts +4 -4
- package/dist/types/components/refund-form/refund-form-schema.d.ts +4 -4
- package/dist/types/components/refund-form/refund-form.d.ts +54 -54
- package/dist/types/components/refund-form/refund-form.stories.d.ts +21 -21
- package/dist/types/components/select-input/select-input.d.ts +14 -14
- package/dist/types/components/subaccount-details/subaccount-account-details/subaccount-account-details.d.ts +3 -3
- package/dist/types/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.d.ts +2 -2
- package/dist/types/components/subaccount-details/subaccount-details.d.ts +13 -13
- package/dist/types/components/subaccount-details/subaccount-details.stories.d.ts +3 -3
- package/dist/types/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.d.ts +2 -2
- package/dist/types/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.d.ts +2 -2
- package/dist/types/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.d.ts +2 -2
- package/dist/types/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.d.ts +2 -2
- package/dist/types/components/subaccounts-list/subaccounts-list.d.ts +14 -14
- package/dist/types/components/subaccounts-list/subaccounts-list.stories.d.ts +4 -4
- package/dist/types/components/table/table.d.ts +18 -19
- package/dist/types/components/table/utils.d.ts +3 -0
- package/dist/types/components/text-input/text-input.d.ts +10 -10
- package/dist/types/components.d.ts +232 -17
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/config.d.ts +11 -0
- package/dist/types/stencil-public-runtime.d.ts +32 -3
- package/dist/types/utils/country-options.d.ts +2 -2
- package/dist/types/utils/phone-masks.d.ts +1 -1
- package/dist/webcomponents/{p-b157f6ae.js → p-04c7f8f8.js} +1 -1
- package/dist/webcomponents/p-0a0cf2e6.entry.js +1 -0
- package/dist/webcomponents/p-0a1347cf.entry.js +1 -0
- package/dist/webcomponents/{p-86c23e1e.js → p-0f3e9483.js} +1 -1
- package/dist/webcomponents/p-0fa49c38.entry.js +1 -0
- package/dist/webcomponents/p-1e2a98bf.js +1 -0
- package/dist/webcomponents/{p-311250e2.entry.js → p-2b2f8162.entry.js} +1 -1
- package/dist/webcomponents/p-34c30022.entry.js +1 -0
- package/dist/webcomponents/{p-988191bf.js → p-3bef762a.js} +1 -1
- package/dist/webcomponents/{p-cdd06952.entry.js → p-40fb25c6.entry.js} +1 -1
- package/dist/webcomponents/p-45d2761d.entry.js +1 -0
- package/dist/webcomponents/p-4f14df36.js +2 -0
- package/dist/webcomponents/p-525adabf.entry.js +1 -0
- package/dist/webcomponents/p-57aab065.entry.js +1 -0
- package/dist/webcomponents/p-5a502ceb.entry.js +1 -0
- package/dist/webcomponents/p-5bf0ac1a.entry.js +1 -0
- package/dist/{components/subaccount-terms-details.js → webcomponents/p-64a5126c.entry.js} +1 -38
- package/dist/webcomponents/p-6e80f063.entry.js +1 -0
- package/dist/webcomponents/{p-59860ac8.js → p-78baff54.js} +1 -1
- package/dist/webcomponents/p-85ddbe82.entry.js +1 -0
- package/dist/webcomponents/p-8bbb1b10.entry.js +1 -0
- package/dist/webcomponents/p-90926321.js +1 -0
- package/dist/webcomponents/p-93579716.js +1 -0
- package/dist/webcomponents/p-9ba0be02.entry.js +1 -0
- package/dist/webcomponents/p-9cec4a27.entry.js +1 -0
- package/dist/webcomponents/p-9e0d2179.entry.js +1 -0
- package/dist/webcomponents/p-ac8be2a8.entry.js +1 -0
- package/dist/webcomponents/p-bd099662.entry.js +1 -0
- package/dist/{components/additional-questions-details2.js → webcomponents/p-c43e29ac.entry.js} +1 -35
- package/dist/webcomponents/p-c4826a33.entry.js +1 -0
- package/dist/webcomponents/{p-ed8c9b88.entry.js → p-c63a98f6.entry.js} +1 -1
- package/dist/webcomponents/{p-c0f9f6a8.entry.js → p-c950901c.entry.js} +2 -2
- package/dist/webcomponents/{p-3ee831ac.entry.js → p-d4755024.entry.js} +1 -1
- package/dist/webcomponents/p-d8835e7a.entry.js +1 -0
- package/dist/webcomponents/p-e8e109bd.entry.js +1 -0
- package/dist/webcomponents/p-ead8cfc2.entry.js +1 -0
- package/dist/webcomponents/p-f74899b9.entry.js +1 -0
- package/dist/webcomponents/p-f9183f12.entry.js +1 -0
- package/dist/webcomponents/webcomponents.css +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +18 -41
- package/readme.md +1 -1
- package/dist/cjs/Payout-f8240e9c.js +0 -183
- package/dist/cjs/SubAccount-f47c8522.js +0 -107
- package/dist/cjs/business-form-schema-fe831c30.js +0 -148
- package/dist/cjs/config-a156df17.js +0 -15
- package/dist/cjs/helpers-c505d861.js +0 -26
- package/dist/cjs/state-options-83b52cd1.js +0 -246
- package/dist/cjs/utils-a47b2e73.js +0 -35
- package/dist/collection/components/bank-account-form/bank-account-form.stories.js +0 -132
- package/dist/collection/components/bank-account-form/example.js +0 -54
- package/dist/collection/components/billing-form/billing-form.stories.js +0 -61
- package/dist/collection/components/billing-form/example.js +0 -26
- package/dist/collection/components/business-details/business-details.stories.js +0 -23
- package/dist/collection/components/business-form/business-form-example.js +0 -12
- package/dist/collection/components/business-form/business-form-stepped-example.js +0 -12
- package/dist/collection/components/business-form/business-form-stepped.stories.js +0 -132
- package/dist/collection/components/business-form/business-form.stories.js +0 -127
- package/dist/collection/components/card-form/card-form.stories.js +0 -137
- package/dist/collection/components/card-form/example.js +0 -59
- package/dist/collection/components/gross-payment-chart/example.js +0 -12
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.stories.js +0 -22
- package/dist/collection/components/payment-details/example.js +0 -12
- package/dist/collection/components/payment-details/payment-details.stories.js +0 -47
- package/dist/collection/components/payment-form/example.js +0 -23
- package/dist/collection/components/payment-form/payment-form.stories.js +0 -129
- package/dist/collection/components/payments-list/example.js +0 -12
- package/dist/collection/components/payments-list/payments-list.stories.js +0 -88
- package/dist/collection/components/payout-details/example.js +0 -12
- package/dist/collection/components/payout-details/payout-details.stories.js +0 -47
- package/dist/collection/components/payouts-list/example.js +0 -12
- package/dist/collection/components/payouts-list/payouts-list.stories.js +0 -88
- package/dist/components/Payout.js +0 -179
- package/dist/components/SubAccount.js +0 -105
- package/dist/components/additional-questions.js +0 -49
- package/dist/components/billing-form.js +0 -112
- package/dist/components/business-address-form.js +0 -69
- package/dist/components/business-generic-info.js +0 -211
- package/dist/components/business-owners.js +0 -115
- package/dist/components/business-representative.js +0 -89
- package/dist/components/config.js +0 -13
- package/dist/components/details.js +0 -37
- package/dist/components/form-control-datepart2.js +0 -95
- package/dist/components/form-control-monetary2.js +0 -80
- package/dist/components/form-control-number-masked2.js +0 -79
- package/dist/components/form-control-number2.js +0 -68
- package/dist/components/form-control-select2.js +0 -64
- package/dist/components/form-control-text2.js +0 -68
- package/dist/components/generic-info-details2.js +0 -36
- package/dist/components/helpers.js +0 -24
- package/dist/components/justifi-bank-account-form.js +0 -95
- package/dist/components/justifi-business-details.js +0 -129
- package/dist/components/justifi-business-form-stepped.js +0 -227
- package/dist/components/justifi-business-form.js +0 -175
- package/dist/components/justifi-business-list.js +0 -192
- package/dist/components/justifi-card-form.js +0 -97
- package/dist/components/justifi-payment-balance-transactions.js +0 -122
- package/dist/components/justifi-payment-form.js +0 -168
- package/dist/components/justifi-payments-list.js +0 -149
- package/dist/components/justifi-payout-details.js +0 -95
- package/dist/components/justifi-payouts-list.js +0 -171
- package/dist/components/justifi-proceeds-list.js +0 -194
- package/dist/components/justifi-refund-form.js +0 -138
- package/dist/components/justifi-subaccount-details.js +0 -130
- package/dist/components/justifi-subaccounts-list.js +0 -137
- package/dist/components/legal-address-details2.js +0 -35
- package/dist/components/legal-address-form.js +0 -267
- package/dist/components/owner-details2.js +0 -38
- package/dist/components/pagination-menu2.js +0 -42
- package/dist/components/payment-method-selector.js +0 -43
- package/dist/components/representative-details2.js +0 -36
- package/dist/components/select-input2.js +0 -49
- package/dist/components/state-options.js +0 -244
- package/dist/components/subaccount-account-details2.js +0 -37
- package/dist/components/subaccount-bank-details.js +0 -38
- package/dist/components/subaccount-merchant-details2.js +0 -36
- package/dist/components/subaccount-owners-details2.js +0 -36
- package/dist/components/subaccount-representative-details2.js +0 -36
- package/dist/components/table.js +0 -89
- package/dist/components/text-input2.js +0 -47
- package/dist/components/utils.js +0 -27
- package/dist/esm/Payout-586f06a3.js +0 -179
- package/dist/esm/SubAccount-128190e9.js +0 -105
- package/dist/esm/business-form-schema-30a3eadd.js +0 -144
- package/dist/esm/config-ceb0f902.js +0 -13
- package/dist/esm/helpers-1d5ecdc8.js +0 -24
- package/dist/esm/state-options-ece00aa2.js +0 -244
- package/dist/esm/utils-d19c2778.js +0 -27
- package/dist/types/components/bank-account-form/bank-account-form.stories.d.ts +0 -23
- package/dist/types/components/billing-form/billing-form.stories.d.ts +0 -8
- package/dist/types/components/business-details/business-details.stories.d.ts +0 -7
- package/dist/types/components/business-form/business-form-stepped.stories.d.ts +0 -27
- package/dist/types/components/business-form/business-form.stories.d.ts +0 -27
- package/dist/types/components/card-form/card-form.stories.d.ts +0 -17
- package/dist/types/components/gross-payment-chart/gross-payment-chart.stories.d.ts +0 -7
- package/dist/types/components/payment-details/payment-details.stories.d.ts +0 -8
- package/dist/types/components/payment-form/payment-form.stories.d.ts +0 -8
- package/dist/types/components/payments-list/payments-list.stories.d.ts +0 -9
- package/dist/types/components/payout-details/payout-details.stories.d.ts +0 -8
- package/dist/types/components/payouts-list/payouts-list.stories.d.ts +0 -9
- package/dist/types/home/runner/work/web-component-library/web-component-library/stencil-library/.stencil/config.d.ts +0 -11
- package/dist/webcomponents/p-14f7229e.entry.js +0 -1
- package/dist/webcomponents/p-2c2cde2d.js +0 -1
- package/dist/webcomponents/p-3501b0e8.entry.js +0 -1
- package/dist/webcomponents/p-3fc95638.entry.js +0 -1
- package/dist/webcomponents/p-4214dbb8.entry.js +0 -1
- package/dist/webcomponents/p-46d5f717.entry.js +0 -1
- package/dist/webcomponents/p-4852ce94.entry.js +0 -1
- package/dist/webcomponents/p-4ec00b55.entry.js +0 -1
- package/dist/webcomponents/p-4fb653a8.entry.js +0 -1
- package/dist/webcomponents/p-586c8a4f.entry.js +0 -1
- package/dist/webcomponents/p-5e6726a8.entry.js +0 -1
- package/dist/webcomponents/p-7bda12a5.entry.js +0 -1
- package/dist/webcomponents/p-7d58db66.js +0 -1
- package/dist/webcomponents/p-8f37e3ee.js +0 -1
- package/dist/webcomponents/p-91757d9f.entry.js +0 -1
- package/dist/webcomponents/p-9e012e33.entry.js +0 -1
- package/dist/webcomponents/p-a1ef6b4c.entry.js +0 -1
- package/dist/webcomponents/p-af771964.entry.js +0 -1
- package/dist/webcomponents/p-b60a58f4.entry.js +0 -1
- package/dist/webcomponents/p-bb70152e.entry.js +0 -1
- package/dist/webcomponents/p-bc91044c.entry.js +0 -1
- package/dist/webcomponents/p-c29c587f.entry.js +0 -1
- package/dist/webcomponents/p-cbb60191.js +0 -2
- package/dist/webcomponents/p-d0e4eca5.entry.js +0 -1
- package/dist/webcomponents/p-d4b66d74.entry.js +0 -1
- package/dist/webcomponents/p-e7ef2455.entry.js +0 -1
- package/dist/webcomponents/p-f2f0aa6e.entry.js +0 -1
- package/dist/webcomponents/p-f4075186.entry.js +0 -1
- package/loader/index.es2017.js +0 -3
- /package/{loader → dist/loader}/package.json +0 -0
- /package/dist/{components → module}/additional-questions-details.js +0 -0
- /package/dist/{components → module}/form-control-datepart.js +0 -0
- /package/dist/{components → module}/form-control-monetary.js +0 -0
- /package/dist/{components → module}/form-control-number-masked.js +0 -0
- /package/dist/{components → module}/form-control-number.js +0 -0
- /package/dist/{components → module}/form-control-select.js +0 -0
- /package/dist/{components → module}/form-control-text.js +0 -0
- /package/dist/{components → module}/generic-info-details.js +0 -0
- /package/dist/{components → module}/index.d.ts +0 -0
- /package/dist/{components → module}/index.js +0 -0
- /package/dist/{components → module}/justifi-additional-questions.js +0 -0
- /package/dist/{components → module}/justifi-billing-form.js +0 -0
- /package/dist/{components → module}/justifi-business-address-form.js +0 -0
- /package/dist/{components → module}/justifi-business-generic-info.js +0 -0
- /package/dist/{components → module}/justifi-business-owners.js +0 -0
- /package/dist/{components → module}/justifi-business-representative.js +0 -0
- /package/dist/{components → module}/justifi-details.js +0 -0
- /package/dist/{components → module}/justifi-legal-address-form.js +0 -0
- /package/dist/{components → module}/justifi-payment-method-form.js +0 -0
- /package/dist/{components → module}/justifi-payment-method-selector.js +0 -0
- /package/dist/{components → module}/justifi-table.js +0 -0
- /package/dist/{components → module}/legal-address-details.js +0 -0
- /package/dist/{components → module}/owner-details.js +0 -0
- /package/dist/{components → module}/pagination-menu.js +0 -0
- /package/dist/{components → module}/representative-details.js +0 -0
- /package/dist/{components → module}/select-input.js +0 -0
- /package/dist/{components → module}/subaccount-account-details.js +0 -0
- /package/dist/{components → module}/subaccount-merchant-details.js +0 -0
- /package/dist/{components → module}/subaccount-owners-details.js +0 -0
- /package/dist/{components → module}/subaccount-representative-details.js +0 -0
- /package/dist/{components → module}/text-input.js +0 -0
- /package/dist/webcomponents/{p-0d5d02d7.js → p-56f6ce4c.js} +0 -0
- /package/dist/webcomponents/{p-e12ab547.js → p-71679a41.js} +0 -0
- /package/dist/webcomponents/{p-47bc59b5.js → p-8e2a88a8.js} +0 -0
- /package/dist/webcomponents/{p-d6b5793d.js → p-9a6e4749.js} +0 -0
- /package/dist/webcomponents/{p-526cb161.js → p-9b4b91ba.js} +0 -0
- /package/dist/webcomponents/{p-9b6dcac5.js → p-ae263544.js} +0 -0
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const config = require('./config-
|
|
5
|
+
const index = require('./index-55950669.js');
|
|
6
|
+
const config = require('./config-ff2dda66.js');
|
|
7
7
|
|
|
8
8
|
function createCommonjsModule(fn, basedir, module) {
|
|
9
9
|
return module = {
|
|
@@ -1477,31 +1477,28 @@ var iframeResizer = createCommonjsModule(function (module) {
|
|
|
1477
1477
|
});
|
|
1478
1478
|
|
|
1479
1479
|
const MessageEventType = {
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1480
|
+
card: {
|
|
1481
|
+
ready: 'justifi.card.ready',
|
|
1482
|
+
tokenize: 'justifi.card.tokenize',
|
|
1483
|
+
validate: 'justifi.card.validate',
|
|
1484
|
+
resize: 'justifi.card.resize',
|
|
1485
|
+
styleOverrides: 'justifi.card.styleOverrides',
|
|
1486
|
+
},
|
|
1487
|
+
bankAccount: {
|
|
1488
|
+
ready: 'justifi.bankAccount.ready',
|
|
1489
|
+
tokenize: 'justifi.bankAccount.tokenize',
|
|
1490
|
+
validate: 'justifi.bankAccount.validate',
|
|
1491
|
+
resize: 'justifi.bankAccount.resize',
|
|
1492
|
+
styleOverrides: 'justifi.bankAccount.styleOverrides',
|
|
1493
|
+
},
|
|
1494
1494
|
};
|
|
1495
1495
|
|
|
1496
1496
|
const name = "@justifi/webcomponents";
|
|
1497
|
-
const version = "4.7.
|
|
1497
|
+
const version = "4.7.6";
|
|
1498
1498
|
const description = "JustiFi Web Components";
|
|
1499
|
-
const main = "dist/index.
|
|
1500
|
-
const module$1 = "dist/
|
|
1501
|
-
const
|
|
1502
|
-
const es2017 = "dist/esm/index.mjs";
|
|
1503
|
-
const types = "dist/types/index.d.ts";
|
|
1504
|
-
const collection = "dist/collection/collection-manifest.json";
|
|
1499
|
+
const main = "dist/module/index.js";
|
|
1500
|
+
const module$1 = "dist/module/index.js";
|
|
1501
|
+
const types = "./dist/types/index.d.ts";
|
|
1505
1502
|
const repository = {
|
|
1506
1503
|
type: "git",
|
|
1507
1504
|
url: "git+https://github.com/justifi-tech/web-component-library.git"
|
|
@@ -1511,19 +1508,17 @@ const publishConfig = {
|
|
|
1511
1508
|
registry: "https://registry.npmjs.org"
|
|
1512
1509
|
};
|
|
1513
1510
|
const files = [
|
|
1514
|
-
"dist/"
|
|
1515
|
-
"loader/"
|
|
1511
|
+
"dist/"
|
|
1516
1512
|
];
|
|
1517
1513
|
const scripts = {
|
|
1518
1514
|
build: "stencil build --docs",
|
|
1519
|
-
|
|
1520
|
-
|
|
1515
|
+
dev: "stencil build --watch",
|
|
1516
|
+
lint: "eslint . --max-warnings 0",
|
|
1517
|
+
clean: "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
|
1518
|
+
generate: "stencil generate",
|
|
1521
1519
|
test: "stencil test --spec",
|
|
1522
1520
|
"test:watch": "stencil test --spec --watchAll",
|
|
1523
|
-
"test:e2e": "stencil test --e2e"
|
|
1524
|
-
generate: "stencil generate",
|
|
1525
|
-
storybook: "storybook dev -p 6006 --quiet",
|
|
1526
|
-
"build-storybook": "storybook build -o ../docs"
|
|
1521
|
+
"test:e2e": "stencil test --e2e"
|
|
1527
1522
|
};
|
|
1528
1523
|
const dependencies = {
|
|
1529
1524
|
"@stencil/core": "^4.0.5",
|
|
@@ -1542,33 +1537,16 @@ const devDependencies = {
|
|
|
1542
1537
|
"@babel/preset-env": "^7.21.5",
|
|
1543
1538
|
"@babel/preset-react": "^7.18.6",
|
|
1544
1539
|
"@babel/preset-typescript": "^7.21.5",
|
|
1545
|
-
"@pxtrn/storybook-addon-docs-stencil": "^6.4.1",
|
|
1546
|
-
"@stencil/angular-output-target": "^0.7.1",
|
|
1547
|
-
"@stencil/react-output-target": "^0.5.3",
|
|
1548
1540
|
"@stencil/sass": "^3.0.1",
|
|
1549
1541
|
"@stencil/store": "^2.0.8",
|
|
1550
|
-
"@stencil/vue-output-target": "^0.8.6",
|
|
1551
|
-
"@storybook/addon-actions": "^7.0.4",
|
|
1552
|
-
"@storybook/addon-essentials": "^7.0.4",
|
|
1553
|
-
"@storybook/addon-interactions": "^7.0.4",
|
|
1554
|
-
"@storybook/addon-links": "^7.0.4",
|
|
1555
|
-
"@storybook/html": "^7.0.4",
|
|
1556
|
-
"@storybook/html-webpack5": "^7.0.4",
|
|
1557
|
-
"@storybook/jest": "^0.1.0",
|
|
1558
|
-
"@storybook/testing-library": "^0.1.0",
|
|
1559
1542
|
"@types/jest": "27.0.3",
|
|
1560
1543
|
"@types/node": "^20.1.4",
|
|
1561
1544
|
"@types/react": "^18.0.37",
|
|
1562
1545
|
"@types/react-dom": "^18.0.11",
|
|
1563
|
-
concurrently: "^7.6.0",
|
|
1564
1546
|
dotenv: "^16.3.1",
|
|
1565
1547
|
jest: "^27.4.5",
|
|
1566
1548
|
"jest-cli": "^27.4.5",
|
|
1567
|
-
puppeteer: "^21.0.0"
|
|
1568
|
-
react: "^18.2.0",
|
|
1569
|
-
"react-dom": "^18.2.0",
|
|
1570
|
-
"rollup-plugin-replace": "^2.2.0",
|
|
1571
|
-
storybook: "^7.0.4"
|
|
1549
|
+
puppeteer: "^21.0.0"
|
|
1572
1550
|
};
|
|
1573
1551
|
const license = "MIT";
|
|
1574
1552
|
const gitHead = "507bac1d941eae6e1f56e185ecd9bc9d22637783";
|
|
@@ -1578,11 +1556,7 @@ const packageJson = {
|
|
|
1578
1556
|
description: description,
|
|
1579
1557
|
main: main,
|
|
1580
1558
|
module: module$1,
|
|
1581
|
-
es2015: es2015,
|
|
1582
|
-
es2017: es2017,
|
|
1583
1559
|
types: types,
|
|
1584
|
-
collection: collection,
|
|
1585
|
-
"collection:main": "dist/collection/index.js",
|
|
1586
1560
|
repository: repository,
|
|
1587
1561
|
homepage: homepage,
|
|
1588
1562
|
publishConfig: publishConfig,
|
|
@@ -1595,150 +1569,159 @@ const packageJson = {
|
|
|
1595
1569
|
};
|
|
1596
1570
|
|
|
1597
1571
|
const getComputedTheme = () => {
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1572
|
+
const computedStyles = getComputedStyle(document.body);
|
|
1573
|
+
const computedTheme = {
|
|
1574
|
+
loadGoogleFont: computedStyles.getPropertyValue('--jfi-load-google-font'),
|
|
1575
|
+
layout: {
|
|
1576
|
+
fontFamily: computedStyles.getPropertyValue('--jfi-layout-font-family'),
|
|
1577
|
+
padding: computedStyles.getPropertyValue('--jfi-layout-padding'),
|
|
1578
|
+
formControlSpacingHorizontal: computedStyles.getPropertyValue('--jfi-layout-form-control-spacing-x'),
|
|
1579
|
+
formControlSpacingVertical: computedStyles.getPropertyValue('--jfi-layout-form-control-spacing-y'),
|
|
1580
|
+
},
|
|
1581
|
+
formControl: {
|
|
1582
|
+
backgroundColor: computedStyles.getPropertyValue('--jfi-form-control-background-color'),
|
|
1583
|
+
borderColor: computedStyles.getPropertyValue('--jfi-form-control-border-color'),
|
|
1584
|
+
borderColorFocus: computedStyles.getPropertyValue('--jfi-form-control-border-color-focus'),
|
|
1585
|
+
borderColorError: computedStyles.getPropertyValue('--jfi-form-control-border-color-error'),
|
|
1586
|
+
borderWidth: computedStyles.getPropertyValue('--jfi-form-control-border-width'),
|
|
1587
|
+
borderBottomWidth: computedStyles.getPropertyValue('--jfi-form-control-border-bottom-width'),
|
|
1588
|
+
borderLeftWidth: computedStyles.getPropertyValue('--jfi-form-control-border-left-width'),
|
|
1589
|
+
borderRightWidth: computedStyles.getPropertyValue('--jfi-form-control-border-right-width'),
|
|
1590
|
+
borderTopWidth: computedStyles.getPropertyValue('--jfi-form-control-border-top-width'),
|
|
1591
|
+
borderRadius: computedStyles.getPropertyValue('--jfi-form-control-border-radius'),
|
|
1592
|
+
borderStyle: computedStyles.getPropertyValue('--jfi-form-control-border-style'),
|
|
1593
|
+
boxShadow: computedStyles.getPropertyValue('--jfi-form-control-box-shadow'),
|
|
1594
|
+
boxShadowError: computedStyles.getPropertyValue('--jfi-form-control-box-shadow-error'),
|
|
1595
|
+
boxShadowErrorFocus: computedStyles.getPropertyValue('--jfi-form-control-box-shadow-error-focus'),
|
|
1596
|
+
boxShadowFocus: computedStyles.getPropertyValue('--jfi-form-control-box-shadow-focus'),
|
|
1597
|
+
color: computedStyles.getPropertyValue('--jfi-form-control-color'),
|
|
1598
|
+
colorFocus: computedStyles.getPropertyValue('--jfi-form-control-color-focus'),
|
|
1599
|
+
fontSize: computedStyles.getPropertyValue('--jfi-form-control-font-size'),
|
|
1600
|
+
fontWeight: computedStyles.getPropertyValue('--jfi-form-control-font-weight'),
|
|
1601
|
+
lineHeight: computedStyles.getPropertyValue('--jfi-form-control-line-height'),
|
|
1602
|
+
margin: computedStyles.getPropertyValue('--jfi-form-control-margin'),
|
|
1603
|
+
padding: computedStyles.getPropertyValue('--jfi-form-control-padding'),
|
|
1604
|
+
},
|
|
1605
|
+
formLabel: {
|
|
1606
|
+
color: computedStyles.getPropertyValue('--jfi-form-label-color'),
|
|
1607
|
+
fontFamily: computedStyles.getPropertyValue('--jfi-form-label-font-family'),
|
|
1608
|
+
fontSize: computedStyles.getPropertyValue('--jfi-form-label-font-size'),
|
|
1609
|
+
fontWeight: computedStyles.getPropertyValue('--jfi-form-label-font-weight'),
|
|
1610
|
+
margin: computedStyles.getPropertyValue('--jfi-form-label-margin'),
|
|
1611
|
+
},
|
|
1612
|
+
errorMessage: {
|
|
1613
|
+
color: computedStyles.getPropertyValue('--jfi-error-message-color'),
|
|
1614
|
+
margin: computedStyles.getPropertyValue('--jfi-error-message-margin'),
|
|
1615
|
+
fontSize: computedStyles.getPropertyValue('--jfi-error-message-font-size'),
|
|
1616
|
+
},
|
|
1617
|
+
};
|
|
1618
|
+
return computedTheme;
|
|
1645
1619
|
};
|
|
1646
1620
|
|
|
1647
1621
|
const paymentMethodFormCss = ":host{display:block}justifi-payment-method-form iframe{border:none;width:100%}iframe{width:1px;min-width:100%}";
|
|
1648
1622
|
|
|
1649
1623
|
const PaymentMethodForm = class {
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1624
|
+
constructor(hostRef) {
|
|
1625
|
+
index.registerInstance(this, hostRef);
|
|
1626
|
+
this.paymentMethodFormReady = index.createEvent(this, "paymentMethodFormReady", 7);
|
|
1627
|
+
this.paymentMethodFormValidated = index.createEvent(this, "paymentMethodFormValidated", 7);
|
|
1628
|
+
this.paymentMethodFormTokenized = index.createEvent(this, "paymentMethodFormTokenized", 7);
|
|
1629
|
+
this.computedTheme = getComputedTheme();
|
|
1630
|
+
this.paymentMethodFormType = undefined;
|
|
1631
|
+
this.paymentMethodFormValidationMode = undefined;
|
|
1632
|
+
this.iframeOrigin = undefined;
|
|
1633
|
+
this.singleLine = undefined;
|
|
1634
|
+
}
|
|
1635
|
+
connectedCallback() {
|
|
1636
|
+
window.addEventListener('message', this.dispatchMessageEvent.bind(this));
|
|
1637
|
+
}
|
|
1638
|
+
disconnectedCallback() {
|
|
1639
|
+
window.removeEventListener('message', this.dispatchMessageEvent.bind(this));
|
|
1640
|
+
}
|
|
1641
|
+
sendStyleOverrides() {
|
|
1642
|
+
if (this.computedTheme) {
|
|
1643
|
+
this.postMessage(MessageEventType[this.paymentMethodFormType].styleOverrides, { styleOverrides: this.computedTheme });
|
|
1644
|
+
}
|
|
1669
1645
|
}
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1646
|
+
dispatchMessageEvent(messageEvent) {
|
|
1647
|
+
const messagePayload = messageEvent.data;
|
|
1648
|
+
const messageType = messagePayload.eventType;
|
|
1649
|
+
const messageData = messagePayload.data;
|
|
1650
|
+
if (messageType === MessageEventType[this.paymentMethodFormType].ready) {
|
|
1651
|
+
this.paymentMethodFormReady.emit(messageData);
|
|
1652
|
+
}
|
|
1653
|
+
if (messageType === MessageEventType[this.paymentMethodFormType].tokenize) {
|
|
1654
|
+
this.paymentMethodFormTokenized.emit(messageData);
|
|
1655
|
+
}
|
|
1656
|
+
if (messageType === MessageEventType[this.paymentMethodFormType].validate) {
|
|
1657
|
+
this.paymentMethodFormValidated.emit(messageData);
|
|
1658
|
+
}
|
|
1677
1659
|
}
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
});
|
|
1697
|
-
}
|
|
1698
|
-
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
1699
|
-
const eventType = MessageEventType[this.paymentMethodFormType].tokenize;
|
|
1700
|
-
const payload = {
|
|
1701
|
-
clientId: clientId,
|
|
1702
|
-
componentVersion: packageJson.version,
|
|
1703
|
-
paymentMethodMetadata: paymentMethodMetadata,
|
|
1704
|
-
account: account,
|
|
1705
|
-
};
|
|
1706
|
-
return this.postMessageWithResponseListener(eventType, payload);
|
|
1707
|
-
}
|
|
1708
|
-
async validate() {
|
|
1709
|
-
return this.postMessageWithResponseListener(MessageEventType[this.paymentMethodFormType].validate);
|
|
1710
|
-
}
|
|
1711
|
-
composeQueryParams(values) {
|
|
1712
|
-
const queryParams = values.map(value => {
|
|
1713
|
-
if (value === values[0]) {
|
|
1714
|
-
return (value = `?${value}`);
|
|
1715
|
-
}
|
|
1716
|
-
else {
|
|
1717
|
-
return (value = `&${value}`);
|
|
1718
|
-
}
|
|
1719
|
-
});
|
|
1720
|
-
return queryParams.join('');
|
|
1721
|
-
}
|
|
1722
|
-
getIframeSrc() {
|
|
1723
|
-
const iframeOrigin = config.config.iframeOrigin;
|
|
1724
|
-
let iframeSrc = `${iframeOrigin}/${this.paymentMethodFormType}`;
|
|
1725
|
-
let paramsList = [];
|
|
1726
|
-
if (this.paymentMethodFormValidationMode) {
|
|
1727
|
-
paramsList.push(`validationMode=${this.paymentMethodFormValidationMode}`);
|
|
1660
|
+
postMessage(eventType, payload) {
|
|
1661
|
+
var _a, _b;
|
|
1662
|
+
(_b = (_a = this.iframeElement) === null || _a === void 0 ? void 0 : _a.contentWindow) === null || _b === void 0 ? void 0 : _b.postMessage(Object.assign({ eventType: eventType }, payload), config.config.iframeOrigin );
|
|
1663
|
+
}
|
|
1664
|
+
async resize() {
|
|
1665
|
+
this.postMessage(MessageEventType[this.paymentMethodFormType].resize);
|
|
1666
|
+
}
|
|
1667
|
+
async postMessageWithResponseListener(eventType, payload) {
|
|
1668
|
+
return new Promise(resolve => {
|
|
1669
|
+
const responseListener = (event) => {
|
|
1670
|
+
if (event.data.eventType !== eventType)
|
|
1671
|
+
return;
|
|
1672
|
+
window.removeEventListener('message', responseListener);
|
|
1673
|
+
resolve(event.data.data);
|
|
1674
|
+
};
|
|
1675
|
+
window.addEventListener('message', responseListener);
|
|
1676
|
+
this.postMessage(eventType, payload);
|
|
1677
|
+
});
|
|
1728
1678
|
}
|
|
1729
|
-
|
|
1730
|
-
|
|
1679
|
+
async tokenize(clientId, paymentMethodMetadata, account) {
|
|
1680
|
+
const eventType = MessageEventType[this.paymentMethodFormType].tokenize;
|
|
1681
|
+
const payload = {
|
|
1682
|
+
clientId: clientId,
|
|
1683
|
+
componentVersion: packageJson.version,
|
|
1684
|
+
paymentMethodMetadata: paymentMethodMetadata,
|
|
1685
|
+
account: account,
|
|
1686
|
+
};
|
|
1687
|
+
return this.postMessageWithResponseListener(eventType, payload);
|
|
1688
|
+
}
|
|
1689
|
+
async validate() {
|
|
1690
|
+
return this.postMessageWithResponseListener(MessageEventType[this.paymentMethodFormType].validate);
|
|
1691
|
+
}
|
|
1692
|
+
composeQueryParams(values) {
|
|
1693
|
+
const queryParams = values.map(value => {
|
|
1694
|
+
if (value === values[0]) {
|
|
1695
|
+
return (value = `?${value}`);
|
|
1696
|
+
}
|
|
1697
|
+
else {
|
|
1698
|
+
return (value = `&${value}`);
|
|
1699
|
+
}
|
|
1700
|
+
});
|
|
1701
|
+
return queryParams.join('');
|
|
1702
|
+
}
|
|
1703
|
+
getIframeSrc() {
|
|
1704
|
+
const iframeOrigin = config.config.iframeOrigin;
|
|
1705
|
+
let iframeSrc = `${iframeOrigin}/${this.paymentMethodFormType}`;
|
|
1706
|
+
let paramsList = [];
|
|
1707
|
+
if (this.paymentMethodFormValidationMode) {
|
|
1708
|
+
paramsList.push(`validationMode=${this.paymentMethodFormValidationMode}`);
|
|
1709
|
+
}
|
|
1710
|
+
if (this.singleLine) {
|
|
1711
|
+
paramsList.push(`singleLine=${this.singleLine}`);
|
|
1712
|
+
}
|
|
1713
|
+
return iframeSrc.concat(this.composeQueryParams(paramsList));
|
|
1714
|
+
}
|
|
1715
|
+
render() {
|
|
1716
|
+
return (index.h(index.Host, null, index.h("iframe", { id: `justifi-payment-method-form-${this.paymentMethodFormType}`, src: this.getIframeSrc(), ref: el => {
|
|
1717
|
+
this.iframeElement = el;
|
|
1718
|
+
}, onLoad: () => {
|
|
1719
|
+
iframeResizer({
|
|
1720
|
+
scrollbars: false,
|
|
1721
|
+
}, this.iframeElement);
|
|
1722
|
+
this.sendStyleOverrides();
|
|
1723
|
+
} })));
|
|
1731
1724
|
}
|
|
1732
|
-
return iframeSrc.concat(this.composeQueryParams(paramsList));
|
|
1733
|
-
}
|
|
1734
|
-
render() {
|
|
1735
|
-
return (index.h(index.Host, null, index.h("iframe", { id: `justifi-payment-method-form-${this.paymentMethodFormType}`, src: this.getIframeSrc(), ref: el => {
|
|
1736
|
-
this.iframeElement = el;
|
|
1737
|
-
}, onLoad: () => {
|
|
1738
|
-
iframeResizer(this.iframeElement);
|
|
1739
|
-
this.sendStyleOverrides();
|
|
1740
|
-
} })));
|
|
1741
|
-
}
|
|
1742
1725
|
};
|
|
1743
1726
|
PaymentMethodForm.style = paymentMethodFormCss;
|
|
1744
1727
|
|