@justifi/webcomponents 4.2.1-rc.4 → 4.4.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/{Api-11362403.js → Api-7303478d.js} +3 -2
- package/dist/cjs/Api-7303478d.js.map +1 -0
- package/dist/cjs/business-form-schema-63b311b2.js +132 -0
- package/dist/cjs/business-form-schema-63b311b2.js.map +1 -0
- package/dist/cjs/form-control-select_2.cjs.entry.js +61 -0
- package/dist/cjs/form-control-select_2.cjs.entry.js.map +1 -0
- package/dist/cjs/{index-34312a38.js → index-83b2ec02.js} +136 -20
- package/dist/cjs/index-83b2ec02.js.map +1 -0
- package/dist/cjs/{index.esm-bcf90c56.js → index.esm-7e12ce07.js} +301 -14
- package/dist/cjs/index.esm-7e12ce07.js.map +1 -0
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +8 -3
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js.map +1 -1
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +5 -5
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js.map +1 -1
- package/dist/cjs/justifi-business-address-form.cjs.entry.js +37 -0
- package/dist/cjs/justifi-business-address-form.cjs.entry.js.map +1 -0
- package/dist/cjs/justifi-business-form.cjs.entry.js +751 -0
- package/dist/cjs/justifi-business-form.cjs.entry.js.map +1 -0
- package/dist/cjs/justifi-business-generic-info_3.cjs.entry.js +148 -0
- package/dist/cjs/justifi-business-generic-info_3.cjs.entry.js.map +1 -0
- package/dist/cjs/justifi-card-form.cjs.entry.js +8 -3
- package/dist/cjs/justifi-card-form.cjs.entry.js.map +1 -1
- package/dist/cjs/justifi-payment-form.cjs.entry.js +24 -7
- package/dist/cjs/justifi-payment-form.cjs.entry.js.map +1 -1
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +22 -17
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js.map +1 -1
- package/dist/cjs/justifi-payments-list.cjs.entry.js +75 -4038
- package/dist/cjs/justifi-payments-list.cjs.entry.js.map +1 -1
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +113 -0
- package/dist/cjs/justifi-payouts-list.cjs.entry.js.map +1 -0
- package/dist/cjs/loader.cjs.js +3 -12
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/select-input_2.cjs.entry.js +6 -6
- package/dist/cjs/select-input_2.cjs.entry.js.map +1 -1
- package/dist/cjs/{state-options-efeaa587.js → state-options-83b52cd1.js} +1 -1
- package/dist/{esm/state-options-188acc34.js.map → cjs/state-options-83b52cd1.js.map} +1 -1
- package/dist/cjs/utils-4ee7e080.js +3979 -0
- package/dist/cjs/utils-4ee7e080.js.map +1 -0
- package/dist/cjs/webcomponents.cjs.js +3 -6
- package/dist/cjs/webcomponents.cjs.js.map +1 -1
- package/dist/collection/api/Api.js +3 -2
- package/dist/collection/api/Api.js.map +1 -1
- package/dist/collection/api/Payout.js +33 -0
- package/dist/collection/api/Payout.js.map +1 -0
- package/dist/collection/api/index.js +1 -0
- package/dist/collection/api/index.js.map +1 -1
- package/dist/collection/api/mockData/MockPayments.js +1 -1
- package/dist/collection/collection-manifest.json +18 -12
- package/dist/collection/components/bank-account-form/bank-account-form.js +38 -10
- package/dist/collection/components/bank-account-form/bank-account-form.js.map +1 -1
- package/dist/collection/components/bank-account-form/bank-account-form.stories.js +2 -0
- package/dist/collection/components/bank-account-form/bank-account-form.stories.js.map +1 -1
- package/dist/collection/components/bank-account-form/test/bank-account-form.e2e.js +1 -1
- package/dist/collection/components/bank-account-form/test/bank-account-form.spec.js +3 -3
- package/dist/collection/components/billing-form/billing-form-schema.js +1 -1
- package/dist/collection/components/billing-form/billing-form.css +212 -39
- package/dist/collection/components/billing-form/billing-form.js +16 -10
- package/dist/collection/components/billing-form/billing-form.js.map +1 -1
- package/dist/collection/components/billing-form/test/billing-form.spec.js +51 -24
- package/dist/collection/components/billing-form/test/billing-form.spec.js.map +1 -1
- package/dist/collection/components/{business-address/business-address-schema.js → business-form/business-address/business-address-form-schema.js} +2 -2
- package/dist/collection/components/business-form/business-address/business-address-form-schema.js.map +1 -0
- package/dist/collection/components/business-form/business-address/business-address-form.css +2532 -0
- package/dist/collection/components/business-form/business-address/business-address-form.js +98 -0
- package/dist/collection/components/business-form/business-address/business-address-form.js.map +1 -0
- package/dist/collection/components/business-form/business-address/test/business-address.e2e.js +10 -0
- package/dist/collection/components/business-form/business-address/test/business-address.e2e.js.map +1 -0
- package/dist/collection/components/business-form/business-address/test/business-address.spec.js +72 -0
- package/dist/collection/components/business-form/business-address/test/business-address.spec.js.map +1 -0
- package/dist/collection/components/business-form/business-form-schema.js +149 -0
- package/dist/collection/components/business-form/business-form-schema.js.map +1 -0
- package/dist/collection/components/business-form/business-form.css +2532 -0
- package/dist/collection/components/business-form/business-form.js +76 -0
- package/dist/collection/components/business-form/business-form.js.map +1 -0
- package/dist/collection/components/{business-info/business-info.css → business-form/business-generic-info/business-generic-info.css} +745 -530
- package/dist/collection/components/business-form/business-generic-info/business-generic-info.js +79 -0
- package/dist/collection/components/business-form/business-generic-info/business-generic-info.js.map +1 -0
- package/dist/collection/components/business-form/business-owners/business-owners.css +2489 -0
- package/dist/collection/components/business-form/business-owners/business-owners.js +120 -0
- package/dist/collection/components/business-form/business-owners/business-owners.js.map +1 -0
- package/dist/collection/components/business-form/business-representative/business-representative-schema.js +2 -0
- package/dist/collection/components/business-form/business-representative/business-representative-schema.js.map +1 -0
- package/dist/collection/components/business-form/business-representative/business-representative.css +2489 -0
- package/dist/collection/components/business-form/business-representative/business-representative.js +76 -0
- package/dist/collection/components/business-form/business-representative/business-representative.js.map +1 -0
- package/dist/collection/components/business-form/businessForm.stories.js +115 -0
- package/dist/collection/components/business-form/businessForm.stories.js.map +1 -0
- package/dist/collection/components/card-form/card-form.js +38 -10
- package/dist/collection/components/card-form/card-form.js.map +1 -1
- package/dist/collection/components/card-form/card-form.stories.js +5 -2
- package/dist/collection/components/card-form/card-form.stories.js.map +1 -1
- package/dist/collection/components/card-form/test/card-form.e2e.js +1 -1
- package/dist/collection/components/card-form/test/card-form.spec.js +3 -3
- package/dist/collection/components/{business-address/business-address.css → form/form-control-select.css} +344 -1212
- package/dist/collection/components/form/form-control-select.js +168 -0
- package/dist/collection/components/form/form-control-select.js.map +1 -0
- package/dist/collection/components/form/form-control-text.css +1794 -0
- package/dist/collection/components/form/form-control-text.js +152 -0
- package/dist/collection/components/form/form-control-text.js.map +1 -0
- package/dist/collection/components/form/form.js +85 -0
- package/dist/collection/components/form/form.js.map +1 -0
- package/dist/collection/components/payment-form/payment-form.css +220 -45
- package/dist/collection/components/payment-form/payment-form.js +47 -7
- package/dist/collection/components/payment-form/payment-form.js.map +1 -1
- package/dist/collection/components/payment-form/payment-form.stories.js +3 -2
- package/dist/collection/components/payment-form/payment-form.stories.js.map +1 -1
- package/dist/collection/components/payment-form/payment-method-selector.css +348 -145
- package/dist/collection/components/payment-form/payment-method-selector.js +5 -3
- package/dist/collection/components/payment-form/payment-method-selector.js.map +1 -1
- package/dist/collection/components/payment-form/test/payment-form.e2e.js +1 -1
- package/dist/collection/components/payment-form/test/payment-form.spec.js +4 -3
- package/dist/collection/components/payment-form/test/payment-form.spec.js.map +1 -1
- package/dist/collection/components/payment-method-form/get-computed-theme.js +2 -0
- package/dist/collection/components/payment-method-form/get-computed-theme.js.map +1 -1
- package/dist/collection/components/payment-method-form/payment-method-form.js +19 -11
- package/dist/collection/components/payment-method-form/payment-method-form.js.map +1 -1
- package/dist/collection/components/payment-method-form/test/payment-method-form.e2e.js +1 -1
- package/dist/collection/components/payment-method-form/test/payment-method-form.spec.js +3 -3
- package/dist/collection/components/payment-method-form/theme.js.map +1 -1
- package/dist/collection/components/payments-list/example.js +12 -0
- package/dist/collection/components/payments-list/payments-list.css +7954 -1
- package/dist/collection/components/payments-list/payments-list.js +104 -27
- package/dist/collection/components/payments-list/payments-list.js.map +1 -1
- package/dist/collection/components/payments-list/payments-list.stories.js +78 -0
- package/dist/collection/components/payments-list/payments-list.stories.js.map +1 -0
- package/dist/collection/components/payments-list/test/payments-list.spec.js +82 -18
- package/dist/collection/components/payments-list/test/payments-list.spec.js.map +1 -1
- package/dist/collection/components/payouts-list/payouts-list.css +7983 -0
- package/dist/collection/components/payouts-list/payouts-list.js +181 -0
- package/dist/collection/components/payouts-list/payouts-list.js.map +1 -0
- package/dist/collection/components/payouts-list/payouts-list.stories.js +69 -0
- package/dist/collection/components/payouts-list/payouts-list.stories.js.map +1 -0
- package/dist/collection/components/select-input/select-input.css +344 -141
- package/dist/collection/components/select-input/select-input.js +5 -4
- package/dist/collection/components/select-input/select-input.js.map +1 -1
- package/dist/collection/components/select-input/test/select-input.spec.js +72 -28
- package/dist/collection/components/select-input/test/select-input.spec.js.map +1 -1
- package/dist/collection/components/text-input/test/text-input.spec.js +47 -5
- package/dist/collection/components/text-input/test/text-input.spec.js.map +1 -1
- package/dist/collection/components/text-input/text-input.css +344 -141
- package/dist/collection/components/text-input/text-input.js +2 -2
- package/dist/collection/components/text-input/text-input.js.map +1 -1
- package/dist/collection/utils/utils.js +7 -2
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/Api.js +2 -1
- package/dist/components/Api.js.map +1 -1
- package/dist/components/billing-form.js +2 -2
- package/dist/components/billing-form.js.map +1 -1
- package/dist/components/business-address-form.js +65 -0
- package/dist/components/business-address-form.js.map +1 -0
- package/dist/components/business-generic-info.js +190 -0
- package/dist/components/business-generic-info.js.map +1 -0
- package/dist/components/business-owners.js +102 -0
- package/dist/components/business-owners.js.map +1 -0
- package/dist/components/business-representative.js +75 -0
- package/dist/components/business-representative.js.map +1 -0
- package/dist/components/{justifi-business-info.d.ts → form-control-select.d.ts} +4 -4
- package/dist/components/form-control-select.js +8 -0
- package/dist/components/form-control-select.js.map +1 -0
- package/dist/components/form-control-select2.js +53 -0
- package/dist/components/form-control-select2.js.map +1 -0
- package/dist/components/form-control-text.d.ts +11 -0
- package/dist/components/form-control-text.js +8 -0
- package/dist/components/form-control-text.js.map +1 -0
- package/dist/components/form-control-text2.js +51 -0
- package/dist/components/form-control-text2.js.map +1 -0
- package/dist/components/index.esm.js +298 -14
- package/dist/components/index.esm.js.map +1 -1
- package/dist/components/justifi-bank-account-form.js +7 -2
- package/dist/components/justifi-bank-account-form.js.map +1 -1
- package/dist/components/justifi-business-address-form.d.ts +11 -0
- package/dist/components/justifi-business-address-form.js +8 -0
- package/dist/components/justifi-business-address-form.js.map +1 -0
- package/dist/components/justifi-business-form.d.ts +11 -0
- package/dist/components/justifi-business-form.js +802 -0
- package/dist/components/justifi-business-form.js.map +1 -0
- package/dist/components/justifi-business-generic-info.d.ts +11 -0
- package/dist/components/justifi-business-generic-info.js +8 -0
- package/dist/components/justifi-business-generic-info.js.map +1 -0
- package/dist/components/justifi-business-owners.d.ts +11 -0
- package/dist/components/justifi-business-owners.js +8 -0
- package/dist/components/justifi-business-owners.js.map +1 -0
- package/dist/components/justifi-business-representative.d.ts +11 -0
- package/dist/components/justifi-business-representative.js +8 -0
- package/dist/components/justifi-business-representative.js.map +1 -0
- package/dist/components/justifi-card-form.js +7 -2
- package/dist/components/justifi-card-form.js.map +1 -1
- package/dist/components/justifi-payment-form.js +23 -4
- package/dist/components/justifi-payment-form.js.map +1 -1
- package/dist/components/justifi-payments-list.js +78 -4038
- package/dist/components/justifi-payments-list.js.map +1 -1
- package/dist/components/justifi-payouts-list.d.ts +11 -0
- package/dist/components/justifi-payouts-list.js +134 -0
- package/dist/components/justifi-payouts-list.js.map +1 -0
- package/dist/components/payment-method-form.js +21 -16
- package/dist/components/payment-method-form.js.map +1 -1
- package/dist/components/payment-method-selector.js +1 -1
- package/dist/components/payment-method-selector.js.map +1 -1
- package/dist/components/select-input2.js +3 -3
- package/dist/components/select-input2.js.map +1 -1
- package/dist/components/state-options.js.map +1 -1
- package/dist/components/text-input2.js +2 -2
- package/dist/components/text-input2.js.map +1 -1
- package/dist/components/utils.js +3972 -0
- package/dist/components/utils.js.map +1 -0
- package/dist/esm/{Api-a07f0057.js → Api-436dfa09.js} +3 -2
- package/dist/esm/Api-436dfa09.js.map +1 -0
- package/dist/esm/business-form-schema-30c48693.js +128 -0
- package/dist/esm/business-form-schema-30c48693.js.map +1 -0
- package/dist/esm/form-control-select_2.entry.js +56 -0
- package/dist/esm/form-control-select_2.entry.js.map +1 -0
- package/dist/esm/{index-044f93fc.js → index-c8f391de.js} +136 -20
- package/dist/esm/index-c8f391de.js.map +1 -0
- package/dist/esm/{index.esm-5624a5ed.js → index.esm-be2cd327.js} +299 -15
- package/dist/esm/index.esm-be2cd327.js.map +1 -0
- package/dist/esm/justifi-bank-account-form.entry.js +8 -3
- package/dist/esm/justifi-bank-account-form.entry.js.map +1 -1
- package/dist/esm/justifi-billing-form_2.entry.js +5 -5
- package/dist/esm/justifi-billing-form_2.entry.js.map +1 -1
- package/dist/esm/justifi-business-address-form.entry.js +33 -0
- package/dist/esm/justifi-business-address-form.entry.js.map +1 -0
- package/dist/esm/justifi-business-form.entry.js +747 -0
- package/dist/esm/justifi-business-form.entry.js.map +1 -0
- package/dist/esm/justifi-business-generic-info_3.entry.js +142 -0
- package/dist/esm/justifi-business-generic-info_3.entry.js.map +1 -0
- package/dist/esm/justifi-card-form.entry.js +8 -3
- package/dist/esm/justifi-card-form.entry.js.map +1 -1
- package/dist/esm/justifi-payment-form.entry.js +21 -4
- package/dist/esm/justifi-payment-form.entry.js.map +1 -1
- package/dist/esm/justifi-payment-method-form.entry.js +22 -17
- package/dist/esm/justifi-payment-method-form.entry.js.map +1 -1
- package/dist/esm/justifi-payments-list.entry.js +75 -4038
- package/dist/esm/justifi-payments-list.entry.js.map +1 -1
- package/dist/esm/justifi-payouts-list.entry.js +109 -0
- package/dist/esm/justifi-payouts-list.entry.js.map +1 -0
- package/dist/esm/loader.js +4 -13
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/select-input_2.entry.js +6 -6
- package/dist/esm/select-input_2.entry.js.map +1 -1
- package/dist/esm/{state-options-188acc34.js → state-options-ece00aa2.js} +1 -1
- package/dist/esm/state-options-ece00aa2.js.map +1 -0
- package/dist/esm/utils-e7782126.js +3972 -0
- package/dist/esm/utils-e7782126.js.map +1 -0
- package/dist/esm/webcomponents.js +4 -7
- package/dist/esm/webcomponents.js.map +1 -1
- package/dist/types/api/Payout.d.ts +62 -0
- package/dist/types/api/index.d.ts +1 -0
- package/dist/types/components/business-form/business-address/business-address-form.d.ts +9 -0
- package/dist/types/components/{business-info/business-info-schema.d.ts → business-form/business-form-schema.d.ts} +55 -4
- package/dist/types/components/business-form/business-form.d.ts +14 -0
- package/dist/types/components/business-form/business-generic-info/business-generic-info.d.ts +16 -0
- package/dist/types/components/business-form/business-owners/business-owners.d.ts +32 -0
- package/dist/types/components/business-form/business-representative/business-representative-schema.d.ts +15 -0
- package/dist/types/components/business-form/business-representative/business-representative.d.ts +12 -0
- package/dist/types/components/business-form/businessForm.stories.d.ts +21 -0
- package/dist/types/components/form/form-control-select.d.ts +16 -0
- package/dist/types/components/form/form-control-text.d.ts +12 -0
- package/dist/types/components/form/form.d.ts +21 -0
- package/dist/types/components/payment-form/payment-form.d.ts +2 -0
- package/dist/types/components/payment-method-form/theme.d.ts +2 -0
- package/dist/types/components/payments-list/payments-list.d.ts +38 -5
- package/dist/types/components/payments-list/payments-list.stories.d.ts +17 -0
- package/dist/types/components/payouts-list/payouts-list.d.ts +45 -0
- package/dist/types/components/payouts-list/payouts-list.stories.d.ts +16 -0
- package/dist/types/components.d.ts +339 -26
- package/dist/types/stencil-public-runtime.d.ts +14 -2
- package/dist/types/utils/utils.d.ts +1 -0
- package/dist/webcomponents/p-0fd4aae2.js +2 -0
- package/dist/webcomponents/p-0fd4aae2.js.map +1 -0
- package/dist/webcomponents/p-1953797f.entry.js +2 -0
- package/dist/webcomponents/p-1953797f.entry.js.map +1 -0
- package/dist/webcomponents/p-1a1f2196.js +2 -0
- package/dist/webcomponents/p-1a1f2196.js.map +1 -0
- package/dist/webcomponents/p-23e9c7d4.entry.js +2 -0
- package/dist/webcomponents/p-23e9c7d4.entry.js.map +1 -0
- package/dist/webcomponents/p-309a886f.entry.js +2 -0
- package/dist/webcomponents/p-309a886f.entry.js.map +1 -0
- package/dist/webcomponents/p-33d69eb5.entry.js +2 -0
- package/dist/webcomponents/p-33d69eb5.entry.js.map +1 -0
- package/dist/webcomponents/p-3a80a2ec.entry.js +2 -0
- package/dist/webcomponents/p-3a80a2ec.entry.js.map +1 -0
- package/dist/webcomponents/p-45fea6a8.entry.js +2 -0
- package/dist/webcomponents/p-45fea6a8.entry.js.map +1 -0
- package/dist/webcomponents/{p-0ea23153.js → p-47bc59b5.js} +1 -1
- package/dist/webcomponents/p-47bc59b5.js.map +1 -0
- package/dist/webcomponents/p-7041a637.entry.js +2 -0
- package/dist/webcomponents/p-7041a637.entry.js.map +1 -0
- package/dist/webcomponents/p-79456add.js +2 -0
- package/dist/webcomponents/p-79456add.js.map +1 -0
- package/dist/webcomponents/{p-1f151d49.js → p-af080b21.js} +2 -2
- package/dist/webcomponents/p-af080b21.js.map +1 -0
- package/dist/webcomponents/p-bc969904.js +3 -0
- package/dist/webcomponents/p-bc969904.js.map +1 -0
- package/dist/webcomponents/p-cd097ce9.entry.js +2 -0
- package/dist/webcomponents/p-cd097ce9.entry.js.map +1 -0
- package/dist/webcomponents/p-d5bc9f22.entry.js +2 -0
- package/dist/webcomponents/p-d5bc9f22.entry.js.map +1 -0
- package/dist/webcomponents/p-d5cadc78.entry.js +2 -0
- package/dist/webcomponents/p-d5cadc78.entry.js.map +1 -0
- package/dist/webcomponents/p-dd1ebc0b.entry.js +2 -0
- package/dist/webcomponents/p-dd1ebc0b.entry.js.map +1 -0
- package/dist/webcomponents/p-e05e0c6b.entry.js +2 -0
- package/dist/webcomponents/p-e05e0c6b.entry.js.map +1 -0
- package/dist/webcomponents/webcomponents.css +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/dist/webcomponents/webcomponents.esm.js.map +1 -1
- package/loader/index.d.ts +1 -1
- package/package.json +12 -14
- package/CHANGELOG.md +0 -196
- package/changelog-template.hbs +0 -10
- package/dist/cjs/Api-11362403.js.map +0 -1
- package/dist/cjs/Payment-ac4dea02.js +0 -73
- package/dist/cjs/Payment-ac4dea02.js.map +0 -1
- package/dist/cjs/index-34312a38.js.map +0 -1
- package/dist/cjs/index.esm-bcf90c56.js.map +0 -1
- package/dist/cjs/justifi-business-address.cjs.entry.js +0 -69
- package/dist/cjs/justifi-business-address.cjs.entry.js.map +0 -1
- package/dist/cjs/justifi-business-info.cjs.entry.js +0 -174
- package/dist/cjs/justifi-business-info.cjs.entry.js.map +0 -1
- package/dist/cjs/state-options-efeaa587.js.map +0 -1
- package/dist/collection/components/business-address/business-address-schema.js.map +0 -1
- package/dist/collection/components/business-address/business-address.js +0 -100
- package/dist/collection/components/business-address/business-address.js.map +0 -1
- package/dist/collection/components/business-address/test/business-address.e2e.js +0 -10
- package/dist/collection/components/business-address/test/business-address.e2e.js.map +0 -1
- package/dist/collection/components/business-address/test/business-address.spec.js +0 -18
- package/dist/collection/components/business-address/test/business-address.spec.js.map +0 -1
- package/dist/collection/components/business-info/business-info-schema.js +0 -94
- package/dist/collection/components/business-info/business-info-schema.js.map +0 -1
- package/dist/collection/components/business-info/business-info.js +0 -168
- package/dist/collection/components/business-info/business-info.js.map +0 -1
- package/dist/components/Payment.js +0 -71
- package/dist/components/Payment.js.map +0 -1
- package/dist/components/justifi-business-address.d.ts +0 -11
- package/dist/components/justifi-business-address.js +0 -99
- package/dist/components/justifi-business-address.js.map +0 -1
- package/dist/components/justifi-business-info.js +0 -207
- package/dist/components/justifi-business-info.js.map +0 -1
- package/dist/esm/Api-a07f0057.js.map +0 -1
- package/dist/esm/Payment-c86e1e84.js +0 -71
- package/dist/esm/Payment-c86e1e84.js.map +0 -1
- package/dist/esm/index-044f93fc.js.map +0 -1
- package/dist/esm/index.esm-5624a5ed.js.map +0 -1
- package/dist/esm/justifi-business-address.entry.js +0 -65
- package/dist/esm/justifi-business-address.entry.js.map +0 -1
- package/dist/esm/justifi-business-info.entry.js +0 -170
- package/dist/esm/justifi-business-info.entry.js.map +0 -1
- package/dist/esm/polyfills/css-shim.js +0 -1
- package/dist/types/components/bank-account-form/bank-account-form.d.ts +0 -56
- package/dist/types/components/business-address/business-address.d.ts +0 -11
- package/dist/types/components/business-info/business-info.d.ts +0 -20
- package/dist/types/components/card-form/card-form.d.ts +0 -62
- package/dist/webcomponents/p-0969db8f.entry.js +0 -2
- package/dist/webcomponents/p-0969db8f.entry.js.map +0 -1
- package/dist/webcomponents/p-0ea23153.js.map +0 -1
- package/dist/webcomponents/p-1ca0646b.js +0 -2
- package/dist/webcomponents/p-1ca0646b.js.map +0 -1
- package/dist/webcomponents/p-1f151d49.js.map +0 -1
- package/dist/webcomponents/p-255b1284.entry.js +0 -2
- package/dist/webcomponents/p-255b1284.entry.js.map +0 -1
- package/dist/webcomponents/p-2b8c281e.entry.js +0 -2
- package/dist/webcomponents/p-2b8c281e.entry.js.map +0 -1
- package/dist/webcomponents/p-3aa91155.js +0 -3
- package/dist/webcomponents/p-3aa91155.js.map +0 -1
- package/dist/webcomponents/p-90c0d9e1.entry.js +0 -2
- package/dist/webcomponents/p-90c0d9e1.entry.js.map +0 -1
- package/dist/webcomponents/p-bd5352d6.entry.js +0 -2
- package/dist/webcomponents/p-bd5352d6.entry.js.map +0 -1
- package/dist/webcomponents/p-c903cc5a.entry.js +0 -2
- package/dist/webcomponents/p-c903cc5a.entry.js.map +0 -1
- package/dist/webcomponents/p-d87b0711.entry.js +0 -2
- package/dist/webcomponents/p-d87b0711.entry.js.map +0 -1
- package/dist/webcomponents/p-dbf7100f.entry.js +0 -2
- package/dist/webcomponents/p-dbf7100f.entry.js.map +0 -1
- package/dist/webcomponents/p-e0054bc3.js +0 -2
- package/dist/webcomponents/p-e0054bc3.js.map +0 -1
- package/dist/webcomponents/p-f30d1567.entry.js +0 -2
- package/dist/webcomponents/p-f30d1567.entry.js.map +0 -1
- /package/dist/types/components/{business-address/business-address-schema.d.ts → business-form/business-address/business-address-form-schema.d.ts} +0 -0
|
@@ -8,14 +8,29 @@ import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
|
8
8
|
import { CreatePaymentMethodResponse } from "./components/payment-method-form/payment-method-responses";
|
|
9
9
|
import { BillingFormFields } from "./components/billing-form/billing-form-schema";
|
|
10
10
|
import { ValidationError } from "yup";
|
|
11
|
-
import {
|
|
11
|
+
import { FormController } from "./components/form/form";
|
|
12
12
|
import { PaymentMethodTypes } from "./api";
|
|
13
13
|
export { CreatePaymentMethodResponse } from "./components/payment-method-form/payment-method-responses";
|
|
14
14
|
export { BillingFormFields } from "./components/billing-form/billing-form-schema";
|
|
15
15
|
export { ValidationError } from "yup";
|
|
16
|
-
export {
|
|
16
|
+
export { FormController } from "./components/form/form";
|
|
17
17
|
export { PaymentMethodTypes } from "./api";
|
|
18
18
|
export namespace Components {
|
|
19
|
+
interface FormControlSelect {
|
|
20
|
+
"defaultValue": string;
|
|
21
|
+
"error": string;
|
|
22
|
+
"inputHandler": (name: string, value: string) => void;
|
|
23
|
+
"label": string;
|
|
24
|
+
"name": any;
|
|
25
|
+
"options": { label: string; value: string }[];
|
|
26
|
+
}
|
|
27
|
+
interface FormControlText {
|
|
28
|
+
"defaultValue": string;
|
|
29
|
+
"error": string;
|
|
30
|
+
"inputHandler": (name: string, value: string) => void;
|
|
31
|
+
"label": string;
|
|
32
|
+
"name": any;
|
|
33
|
+
}
|
|
19
34
|
interface JustifiBankAccountForm {
|
|
20
35
|
/**
|
|
21
36
|
* URL for the rendered iFrame. End-users need not use this.
|
|
@@ -28,7 +43,7 @@ export namespace Components {
|
|
|
28
43
|
/**
|
|
29
44
|
* Makes a tokenization request to the iframe
|
|
30
45
|
*/
|
|
31
|
-
"tokenize": (
|
|
46
|
+
"tokenize": (...args: Parameters<HTMLJustifiPaymentMethodFormElement['tokenize']>) => Promise<CreatePaymentMethodResponse>;
|
|
32
47
|
/**
|
|
33
48
|
* Runs a validation on the form and shows errors if any
|
|
34
49
|
*/
|
|
@@ -63,18 +78,38 @@ export namespace Components {
|
|
|
63
78
|
*/
|
|
64
79
|
"validate": () => Promise<{ isValid: boolean; }>;
|
|
65
80
|
}
|
|
66
|
-
interface
|
|
67
|
-
"
|
|
81
|
+
interface JustifiBusinessAddressForm {
|
|
82
|
+
"defaultValues": any;
|
|
83
|
+
"errors": any;
|
|
84
|
+
"onFormUpdate": (values: any) => void;
|
|
68
85
|
}
|
|
69
86
|
/**
|
|
70
87
|
* @exportedPart label: Label for inputs
|
|
71
88
|
* @exportedPart input: The input fields
|
|
72
89
|
* @exportedPart input-invalid: Invalid state for inputfs
|
|
73
90
|
*/
|
|
74
|
-
interface
|
|
91
|
+
interface JustifiBusinessForm {
|
|
75
92
|
"authToken": string;
|
|
76
93
|
"businessId"?: string;
|
|
77
|
-
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @exportedPart label: Label for inputs
|
|
97
|
+
* @exportedPart input: The input fields
|
|
98
|
+
* @exportedPart input-invalid: Invalid state for inputfs
|
|
99
|
+
*/
|
|
100
|
+
interface JustifiBusinessGenericInfo {
|
|
101
|
+
"formController": FormController;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @exportedPart label: Label for inputs
|
|
105
|
+
* @exportedPart input: The input fields
|
|
106
|
+
* @exportedPart input-invalid: Invalid state for inputfs
|
|
107
|
+
*/
|
|
108
|
+
interface JustifiBusinessOwners {
|
|
109
|
+
"formController": FormController;
|
|
110
|
+
}
|
|
111
|
+
interface JustifiBusinessRepresentative {
|
|
112
|
+
"formController": FormController;
|
|
78
113
|
}
|
|
79
114
|
interface JustifiCardForm {
|
|
80
115
|
/**
|
|
@@ -92,7 +127,7 @@ export namespace Components {
|
|
|
92
127
|
/**
|
|
93
128
|
* Makes a tokenization request to the iframe
|
|
94
129
|
*/
|
|
95
|
-
"tokenize": (
|
|
130
|
+
"tokenize": (...args: Parameters<HTMLJustifiPaymentMethodFormElement['tokenize']>) => Promise<CreatePaymentMethodResponse>;
|
|
96
131
|
/**
|
|
97
132
|
* Runs a validation on the form and shows errors if any
|
|
98
133
|
*/
|
|
@@ -111,6 +146,7 @@ export namespace Components {
|
|
|
111
146
|
"enableSubmitButton": () => Promise<void>;
|
|
112
147
|
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
113
148
|
"iframeOrigin"?: string;
|
|
149
|
+
"loadFontsOnParent": () => Promise<any>;
|
|
114
150
|
"submitButtonText"?: string;
|
|
115
151
|
}
|
|
116
152
|
interface JustifiPaymentMethodForm {
|
|
@@ -126,9 +162,47 @@ export namespace Components {
|
|
|
126
162
|
"paymentMethodTypes": PaymentMethodTypes[];
|
|
127
163
|
"selectedPaymentMethodType": PaymentMethodTypes;
|
|
128
164
|
}
|
|
165
|
+
/**
|
|
166
|
+
* @exportedPart table-head: Table head
|
|
167
|
+
* @exportedPart table-head-row: Head row
|
|
168
|
+
* @exportedPart table-head-cell: Individual head cell
|
|
169
|
+
* @exportedPart table-body: Body of the table
|
|
170
|
+
* @exportedPart table-row: Row of the table
|
|
171
|
+
* @exportedPart table-cell: Individual cell of the table
|
|
172
|
+
* @exportedPart loading-state-cell: Row for loading state
|
|
173
|
+
* @exportedPart loading-state-spinner: Spinner element for loading state
|
|
174
|
+
* @exportedPart error-state: Row for Error state
|
|
175
|
+
* @exportedPart empty-state: Row for Emtpy state
|
|
176
|
+
* @exportedPart pagination-bar: Pagination bar
|
|
177
|
+
* @exportedPart arrow: Both paging buttons
|
|
178
|
+
* @exportedPart arrow-left: Previous page button
|
|
179
|
+
* @exportedPart arrow-right: Next page button
|
|
180
|
+
* @exportedPart arrow-disabled: Disabled state for paging buttons
|
|
181
|
+
*/
|
|
129
182
|
interface JustifiPaymentsList {
|
|
130
183
|
"accountId": string;
|
|
131
|
-
"
|
|
184
|
+
"authToken": string;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* @exportedPart table-head: Table head
|
|
188
|
+
* @exportedPart table-head-row: Head row
|
|
189
|
+
* @exportedPart table-head-cell: Individual head cell
|
|
190
|
+
* @exportedPart table-body: Body of the table
|
|
191
|
+
* @exportedPart table-row: Row of the table
|
|
192
|
+
* @exportedPart table-cell: Individual cell of the table
|
|
193
|
+
* @exportedPart loading-state-cell: Row for loading state
|
|
194
|
+
* @exportedPart loading-state-spinner: Spinner element for loading state
|
|
195
|
+
* @exportedPart error-state: Row for Error state
|
|
196
|
+
* @exportedPart empty-state: Row for Emtpy state
|
|
197
|
+
* @exportedPart pagination-bar: Pagination bar
|
|
198
|
+
* @exportedPart arrow: Both paging buttons
|
|
199
|
+
* @exportedPart arrow-left: Previous page button
|
|
200
|
+
* @exportedPart arrow-right: Next page button
|
|
201
|
+
* @exportedPart arrow-disabled: Disabled state for paging buttons
|
|
202
|
+
*/
|
|
203
|
+
interface JustifiPayoutsList {
|
|
204
|
+
"accountId": string;
|
|
205
|
+
"authToken": string;
|
|
132
206
|
}
|
|
133
207
|
interface SelectInput {
|
|
134
208
|
"defaultValue": string;
|
|
@@ -144,6 +218,14 @@ export namespace Components {
|
|
|
144
218
|
"name": string;
|
|
145
219
|
}
|
|
146
220
|
}
|
|
221
|
+
export interface FormControlSelectCustomEvent<T> extends CustomEvent<T> {
|
|
222
|
+
detail: T;
|
|
223
|
+
target: HTMLFormControlSelectElement;
|
|
224
|
+
}
|
|
225
|
+
export interface FormControlTextCustomEvent<T> extends CustomEvent<T> {
|
|
226
|
+
detail: T;
|
|
227
|
+
target: HTMLFormControlTextElement;
|
|
228
|
+
}
|
|
147
229
|
export interface JustifiBankAccountFormCustomEvent<T> extends CustomEvent<T> {
|
|
148
230
|
detail: T;
|
|
149
231
|
target: HTMLJustifiBankAccountFormElement;
|
|
@@ -173,6 +255,18 @@ export interface TextInputCustomEvent<T> extends CustomEvent<T> {
|
|
|
173
255
|
target: HTMLTextInputElement;
|
|
174
256
|
}
|
|
175
257
|
declare global {
|
|
258
|
+
interface HTMLFormControlSelectElement extends Components.FormControlSelect, HTMLStencilElement {
|
|
259
|
+
}
|
|
260
|
+
var HTMLFormControlSelectElement: {
|
|
261
|
+
prototype: HTMLFormControlSelectElement;
|
|
262
|
+
new (): HTMLFormControlSelectElement;
|
|
263
|
+
};
|
|
264
|
+
interface HTMLFormControlTextElement extends Components.FormControlText, HTMLStencilElement {
|
|
265
|
+
}
|
|
266
|
+
var HTMLFormControlTextElement: {
|
|
267
|
+
prototype: HTMLFormControlTextElement;
|
|
268
|
+
new (): HTMLFormControlTextElement;
|
|
269
|
+
};
|
|
176
270
|
interface HTMLJustifiBankAccountFormElement extends Components.JustifiBankAccountForm, HTMLStencilElement {
|
|
177
271
|
}
|
|
178
272
|
var HTMLJustifiBankAccountFormElement: {
|
|
@@ -190,22 +284,50 @@ declare global {
|
|
|
190
284
|
prototype: HTMLJustifiBillingFormElement;
|
|
191
285
|
new (): HTMLJustifiBillingFormElement;
|
|
192
286
|
};
|
|
193
|
-
interface
|
|
287
|
+
interface HTMLJustifiBusinessAddressFormElement extends Components.JustifiBusinessAddressForm, HTMLStencilElement {
|
|
288
|
+
}
|
|
289
|
+
var HTMLJustifiBusinessAddressFormElement: {
|
|
290
|
+
prototype: HTMLJustifiBusinessAddressFormElement;
|
|
291
|
+
new (): HTMLJustifiBusinessAddressFormElement;
|
|
292
|
+
};
|
|
293
|
+
/**
|
|
294
|
+
* @exportedPart label: Label for inputs
|
|
295
|
+
* @exportedPart input: The input fields
|
|
296
|
+
* @exportedPart input-invalid: Invalid state for inputfs
|
|
297
|
+
*/
|
|
298
|
+
interface HTMLJustifiBusinessFormElement extends Components.JustifiBusinessForm, HTMLStencilElement {
|
|
299
|
+
}
|
|
300
|
+
var HTMLJustifiBusinessFormElement: {
|
|
301
|
+
prototype: HTMLJustifiBusinessFormElement;
|
|
302
|
+
new (): HTMLJustifiBusinessFormElement;
|
|
303
|
+
};
|
|
304
|
+
/**
|
|
305
|
+
* @exportedPart label: Label for inputs
|
|
306
|
+
* @exportedPart input: The input fields
|
|
307
|
+
* @exportedPart input-invalid: Invalid state for inputfs
|
|
308
|
+
*/
|
|
309
|
+
interface HTMLJustifiBusinessGenericInfoElement extends Components.JustifiBusinessGenericInfo, HTMLStencilElement {
|
|
194
310
|
}
|
|
195
|
-
var
|
|
196
|
-
prototype:
|
|
197
|
-
new ():
|
|
311
|
+
var HTMLJustifiBusinessGenericInfoElement: {
|
|
312
|
+
prototype: HTMLJustifiBusinessGenericInfoElement;
|
|
313
|
+
new (): HTMLJustifiBusinessGenericInfoElement;
|
|
198
314
|
};
|
|
199
315
|
/**
|
|
200
316
|
* @exportedPart label: Label for inputs
|
|
201
317
|
* @exportedPart input: The input fields
|
|
202
318
|
* @exportedPart input-invalid: Invalid state for inputfs
|
|
203
319
|
*/
|
|
204
|
-
interface
|
|
320
|
+
interface HTMLJustifiBusinessOwnersElement extends Components.JustifiBusinessOwners, HTMLStencilElement {
|
|
321
|
+
}
|
|
322
|
+
var HTMLJustifiBusinessOwnersElement: {
|
|
323
|
+
prototype: HTMLJustifiBusinessOwnersElement;
|
|
324
|
+
new (): HTMLJustifiBusinessOwnersElement;
|
|
325
|
+
};
|
|
326
|
+
interface HTMLJustifiBusinessRepresentativeElement extends Components.JustifiBusinessRepresentative, HTMLStencilElement {
|
|
205
327
|
}
|
|
206
|
-
var
|
|
207
|
-
prototype:
|
|
208
|
-
new ():
|
|
328
|
+
var HTMLJustifiBusinessRepresentativeElement: {
|
|
329
|
+
prototype: HTMLJustifiBusinessRepresentativeElement;
|
|
330
|
+
new (): HTMLJustifiBusinessRepresentativeElement;
|
|
209
331
|
};
|
|
210
332
|
interface HTMLJustifiCardFormElement extends Components.JustifiCardForm, HTMLStencilElement {
|
|
211
333
|
}
|
|
@@ -231,12 +353,52 @@ declare global {
|
|
|
231
353
|
prototype: HTMLJustifiPaymentMethodSelectorElement;
|
|
232
354
|
new (): HTMLJustifiPaymentMethodSelectorElement;
|
|
233
355
|
};
|
|
356
|
+
/**
|
|
357
|
+
* @exportedPart table-head: Table head
|
|
358
|
+
* @exportedPart table-head-row: Head row
|
|
359
|
+
* @exportedPart table-head-cell: Individual head cell
|
|
360
|
+
* @exportedPart table-body: Body of the table
|
|
361
|
+
* @exportedPart table-row: Row of the table
|
|
362
|
+
* @exportedPart table-cell: Individual cell of the table
|
|
363
|
+
* @exportedPart loading-state-cell: Row for loading state
|
|
364
|
+
* @exportedPart loading-state-spinner: Spinner element for loading state
|
|
365
|
+
* @exportedPart error-state: Row for Error state
|
|
366
|
+
* @exportedPart empty-state: Row for Emtpy state
|
|
367
|
+
* @exportedPart pagination-bar: Pagination bar
|
|
368
|
+
* @exportedPart arrow: Both paging buttons
|
|
369
|
+
* @exportedPart arrow-left: Previous page button
|
|
370
|
+
* @exportedPart arrow-right: Next page button
|
|
371
|
+
* @exportedPart arrow-disabled: Disabled state for paging buttons
|
|
372
|
+
*/
|
|
234
373
|
interface HTMLJustifiPaymentsListElement extends Components.JustifiPaymentsList, HTMLStencilElement {
|
|
235
374
|
}
|
|
236
375
|
var HTMLJustifiPaymentsListElement: {
|
|
237
376
|
prototype: HTMLJustifiPaymentsListElement;
|
|
238
377
|
new (): HTMLJustifiPaymentsListElement;
|
|
239
378
|
};
|
|
379
|
+
/**
|
|
380
|
+
* @exportedPart table-head: Table head
|
|
381
|
+
* @exportedPart table-head-row: Head row
|
|
382
|
+
* @exportedPart table-head-cell: Individual head cell
|
|
383
|
+
* @exportedPart table-body: Body of the table
|
|
384
|
+
* @exportedPart table-row: Row of the table
|
|
385
|
+
* @exportedPart table-cell: Individual cell of the table
|
|
386
|
+
* @exportedPart loading-state-cell: Row for loading state
|
|
387
|
+
* @exportedPart loading-state-spinner: Spinner element for loading state
|
|
388
|
+
* @exportedPart error-state: Row for Error state
|
|
389
|
+
* @exportedPart empty-state: Row for Emtpy state
|
|
390
|
+
* @exportedPart pagination-bar: Pagination bar
|
|
391
|
+
* @exportedPart arrow: Both paging buttons
|
|
392
|
+
* @exportedPart arrow-left: Previous page button
|
|
393
|
+
* @exportedPart arrow-right: Next page button
|
|
394
|
+
* @exportedPart arrow-disabled: Disabled state for paging buttons
|
|
395
|
+
*/
|
|
396
|
+
interface HTMLJustifiPayoutsListElement extends Components.JustifiPayoutsList, HTMLStencilElement {
|
|
397
|
+
}
|
|
398
|
+
var HTMLJustifiPayoutsListElement: {
|
|
399
|
+
prototype: HTMLJustifiPayoutsListElement;
|
|
400
|
+
new (): HTMLJustifiPayoutsListElement;
|
|
401
|
+
};
|
|
240
402
|
interface HTMLSelectInputElement extends Components.SelectInput, HTMLStencilElement {
|
|
241
403
|
}
|
|
242
404
|
var HTMLSelectInputElement: {
|
|
@@ -250,20 +412,45 @@ declare global {
|
|
|
250
412
|
new (): HTMLTextInputElement;
|
|
251
413
|
};
|
|
252
414
|
interface HTMLElementTagNameMap {
|
|
415
|
+
"form-control-select": HTMLFormControlSelectElement;
|
|
416
|
+
"form-control-text": HTMLFormControlTextElement;
|
|
253
417
|
"justifi-bank-account-form": HTMLJustifiBankAccountFormElement;
|
|
254
418
|
"justifi-billing-form": HTMLJustifiBillingFormElement;
|
|
255
|
-
"justifi-business-address":
|
|
256
|
-
"justifi-business-
|
|
419
|
+
"justifi-business-address-form": HTMLJustifiBusinessAddressFormElement;
|
|
420
|
+
"justifi-business-form": HTMLJustifiBusinessFormElement;
|
|
421
|
+
"justifi-business-generic-info": HTMLJustifiBusinessGenericInfoElement;
|
|
422
|
+
"justifi-business-owners": HTMLJustifiBusinessOwnersElement;
|
|
423
|
+
"justifi-business-representative": HTMLJustifiBusinessRepresentativeElement;
|
|
257
424
|
"justifi-card-form": HTMLJustifiCardFormElement;
|
|
258
425
|
"justifi-payment-form": HTMLJustifiPaymentFormElement;
|
|
259
426
|
"justifi-payment-method-form": HTMLJustifiPaymentMethodFormElement;
|
|
260
427
|
"justifi-payment-method-selector": HTMLJustifiPaymentMethodSelectorElement;
|
|
261
428
|
"justifi-payments-list": HTMLJustifiPaymentsListElement;
|
|
429
|
+
"justifi-payouts-list": HTMLJustifiPayoutsListElement;
|
|
262
430
|
"select-input": HTMLSelectInputElement;
|
|
263
431
|
"text-input": HTMLTextInputElement;
|
|
264
432
|
}
|
|
265
433
|
}
|
|
266
434
|
declare namespace LocalJSX {
|
|
435
|
+
interface FormControlSelect {
|
|
436
|
+
"defaultValue"?: string;
|
|
437
|
+
"error"?: string;
|
|
438
|
+
"inputHandler"?: (name: string, value: string) => void;
|
|
439
|
+
"label"?: string;
|
|
440
|
+
"name"?: any;
|
|
441
|
+
"onFormControlBlur"?: (event: FormControlSelectCustomEvent<any>) => void;
|
|
442
|
+
"onFormControlInput"?: (event: FormControlSelectCustomEvent<any>) => void;
|
|
443
|
+
"options"?: { label: string; value: string }[];
|
|
444
|
+
}
|
|
445
|
+
interface FormControlText {
|
|
446
|
+
"defaultValue"?: string;
|
|
447
|
+
"error"?: string;
|
|
448
|
+
"inputHandler"?: (name: string, value: string) => void;
|
|
449
|
+
"label"?: string;
|
|
450
|
+
"name"?: any;
|
|
451
|
+
"onFormControlBlur"?: (event: FormControlTextCustomEvent<any>) => void;
|
|
452
|
+
"onFormControlInput"?: (event: FormControlTextCustomEvent<any>) => void;
|
|
453
|
+
}
|
|
267
454
|
interface JustifiBankAccountForm {
|
|
268
455
|
/**
|
|
269
456
|
* URL for the rendered iFrame. End-users need not use this.
|
|
@@ -284,6 +471,11 @@ declare namespace LocalJSX {
|
|
|
284
471
|
* @event justifi-bank-account-form#bankAccountFormValidate
|
|
285
472
|
*/
|
|
286
473
|
"onBankAccountFormValidate"?: (event: JustifiBankAccountFormCustomEvent<{ data: { isValid: boolean } }>) => void;
|
|
474
|
+
/**
|
|
475
|
+
* Triggered when iframe has loaded
|
|
476
|
+
* @event justifi-bank-account-form#ready
|
|
477
|
+
*/
|
|
478
|
+
"onReady"?: (event: JustifiBankAccountFormCustomEvent<any>) => void;
|
|
287
479
|
/**
|
|
288
480
|
* When to trigger validation of the form.
|
|
289
481
|
*/
|
|
@@ -300,17 +492,39 @@ declare namespace LocalJSX {
|
|
|
300
492
|
*/
|
|
301
493
|
"legend"?: string;
|
|
302
494
|
}
|
|
303
|
-
interface
|
|
495
|
+
interface JustifiBusinessAddressForm {
|
|
496
|
+
"defaultValues"?: any;
|
|
497
|
+
"errors"?: any;
|
|
498
|
+
"onFormUpdate"?: (values: any) => void;
|
|
304
499
|
}
|
|
305
500
|
/**
|
|
306
501
|
* @exportedPart label: Label for inputs
|
|
307
502
|
* @exportedPart input: The input fields
|
|
308
503
|
* @exportedPart input-invalid: Invalid state for inputfs
|
|
309
504
|
*/
|
|
310
|
-
interface
|
|
505
|
+
interface JustifiBusinessForm {
|
|
311
506
|
"authToken"?: string;
|
|
312
507
|
"businessId"?: string;
|
|
313
508
|
}
|
|
509
|
+
/**
|
|
510
|
+
* @exportedPart label: Label for inputs
|
|
511
|
+
* @exportedPart input: The input fields
|
|
512
|
+
* @exportedPart input-invalid: Invalid state for inputfs
|
|
513
|
+
*/
|
|
514
|
+
interface JustifiBusinessGenericInfo {
|
|
515
|
+
"formController"?: FormController;
|
|
516
|
+
}
|
|
517
|
+
/**
|
|
518
|
+
* @exportedPart label: Label for inputs
|
|
519
|
+
* @exportedPart input: The input fields
|
|
520
|
+
* @exportedPart input-invalid: Invalid state for inputfs
|
|
521
|
+
*/
|
|
522
|
+
interface JustifiBusinessOwners {
|
|
523
|
+
"formController"?: FormController;
|
|
524
|
+
}
|
|
525
|
+
interface JustifiBusinessRepresentative {
|
|
526
|
+
"formController"?: FormController;
|
|
527
|
+
}
|
|
314
528
|
interface JustifiCardForm {
|
|
315
529
|
/**
|
|
316
530
|
* URL for the rendered iFrame. End-users need not use this.
|
|
@@ -331,6 +545,11 @@ declare namespace LocalJSX {
|
|
|
331
545
|
* @event justifi-card-form#cardFormTokenize
|
|
332
546
|
*/
|
|
333
547
|
"onCardFormValidate"?: (event: JustifiCardFormCustomEvent<{ data: { isValid: boolean } }>) => void;
|
|
548
|
+
/**
|
|
549
|
+
* Triggered when iframe has loaded
|
|
550
|
+
* @event justifi-card-form#ready
|
|
551
|
+
*/
|
|
552
|
+
"onReady"?: (event: JustifiCardFormCustomEvent<any>) => void;
|
|
334
553
|
/**
|
|
335
554
|
* Boolean indicating if the Card Form should render in a single line
|
|
336
555
|
*/
|
|
@@ -363,9 +582,47 @@ declare namespace LocalJSX {
|
|
|
363
582
|
"paymentMethodTypes"?: PaymentMethodTypes[];
|
|
364
583
|
"selectedPaymentMethodType"?: PaymentMethodTypes;
|
|
365
584
|
}
|
|
585
|
+
/**
|
|
586
|
+
* @exportedPart table-head: Table head
|
|
587
|
+
* @exportedPart table-head-row: Head row
|
|
588
|
+
* @exportedPart table-head-cell: Individual head cell
|
|
589
|
+
* @exportedPart table-body: Body of the table
|
|
590
|
+
* @exportedPart table-row: Row of the table
|
|
591
|
+
* @exportedPart table-cell: Individual cell of the table
|
|
592
|
+
* @exportedPart loading-state-cell: Row for loading state
|
|
593
|
+
* @exportedPart loading-state-spinner: Spinner element for loading state
|
|
594
|
+
* @exportedPart error-state: Row for Error state
|
|
595
|
+
* @exportedPart empty-state: Row for Emtpy state
|
|
596
|
+
* @exportedPart pagination-bar: Pagination bar
|
|
597
|
+
* @exportedPart arrow: Both paging buttons
|
|
598
|
+
* @exportedPart arrow-left: Previous page button
|
|
599
|
+
* @exportedPart arrow-right: Next page button
|
|
600
|
+
* @exportedPart arrow-disabled: Disabled state for paging buttons
|
|
601
|
+
*/
|
|
366
602
|
interface JustifiPaymentsList {
|
|
367
603
|
"accountId"?: string;
|
|
368
|
-
"
|
|
604
|
+
"authToken"?: string;
|
|
605
|
+
}
|
|
606
|
+
/**
|
|
607
|
+
* @exportedPart table-head: Table head
|
|
608
|
+
* @exportedPart table-head-row: Head row
|
|
609
|
+
* @exportedPart table-head-cell: Individual head cell
|
|
610
|
+
* @exportedPart table-body: Body of the table
|
|
611
|
+
* @exportedPart table-row: Row of the table
|
|
612
|
+
* @exportedPart table-cell: Individual cell of the table
|
|
613
|
+
* @exportedPart loading-state-cell: Row for loading state
|
|
614
|
+
* @exportedPart loading-state-spinner: Spinner element for loading state
|
|
615
|
+
* @exportedPart error-state: Row for Error state
|
|
616
|
+
* @exportedPart empty-state: Row for Emtpy state
|
|
617
|
+
* @exportedPart pagination-bar: Pagination bar
|
|
618
|
+
* @exportedPart arrow: Both paging buttons
|
|
619
|
+
* @exportedPart arrow-left: Previous page button
|
|
620
|
+
* @exportedPart arrow-right: Next page button
|
|
621
|
+
* @exportedPart arrow-disabled: Disabled state for paging buttons
|
|
622
|
+
*/
|
|
623
|
+
interface JustifiPayoutsList {
|
|
624
|
+
"accountId"?: string;
|
|
625
|
+
"authToken"?: string;
|
|
369
626
|
}
|
|
370
627
|
interface SelectInput {
|
|
371
628
|
"defaultValue"?: string;
|
|
@@ -383,15 +640,21 @@ declare namespace LocalJSX {
|
|
|
383
640
|
"onFieldReceivedInput"?: (event: TextInputCustomEvent<{ name: string; value: string }>) => void;
|
|
384
641
|
}
|
|
385
642
|
interface IntrinsicElements {
|
|
643
|
+
"form-control-select": FormControlSelect;
|
|
644
|
+
"form-control-text": FormControlText;
|
|
386
645
|
"justifi-bank-account-form": JustifiBankAccountForm;
|
|
387
646
|
"justifi-billing-form": JustifiBillingForm;
|
|
388
|
-
"justifi-business-address":
|
|
389
|
-
"justifi-business-
|
|
647
|
+
"justifi-business-address-form": JustifiBusinessAddressForm;
|
|
648
|
+
"justifi-business-form": JustifiBusinessForm;
|
|
649
|
+
"justifi-business-generic-info": JustifiBusinessGenericInfo;
|
|
650
|
+
"justifi-business-owners": JustifiBusinessOwners;
|
|
651
|
+
"justifi-business-representative": JustifiBusinessRepresentative;
|
|
390
652
|
"justifi-card-form": JustifiCardForm;
|
|
391
653
|
"justifi-payment-form": JustifiPaymentForm;
|
|
392
654
|
"justifi-payment-method-form": JustifiPaymentMethodForm;
|
|
393
655
|
"justifi-payment-method-selector": JustifiPaymentMethodSelector;
|
|
394
656
|
"justifi-payments-list": JustifiPaymentsList;
|
|
657
|
+
"justifi-payouts-list": JustifiPayoutsList;
|
|
395
658
|
"select-input": SelectInput;
|
|
396
659
|
"text-input": TextInput;
|
|
397
660
|
}
|
|
@@ -400,6 +663,8 @@ export { LocalJSX as JSX };
|
|
|
400
663
|
declare module "@stencil/core" {
|
|
401
664
|
export namespace JSX {
|
|
402
665
|
interface IntrinsicElements {
|
|
666
|
+
"form-control-select": LocalJSX.FormControlSelect & JSXBase.HTMLAttributes<HTMLFormControlSelectElement>;
|
|
667
|
+
"form-control-text": LocalJSX.FormControlText & JSXBase.HTMLAttributes<HTMLFormControlTextElement>;
|
|
403
668
|
"justifi-bank-account-form": LocalJSX.JustifiBankAccountForm & JSXBase.HTMLAttributes<HTMLJustifiBankAccountFormElement>;
|
|
404
669
|
/**
|
|
405
670
|
* @exportedPart label: Label for inputs
|
|
@@ -407,18 +672,66 @@ declare module "@stencil/core" {
|
|
|
407
672
|
* @exportedPart input-invalid: Invalid state for inputs
|
|
408
673
|
*/
|
|
409
674
|
"justifi-billing-form": LocalJSX.JustifiBillingForm & JSXBase.HTMLAttributes<HTMLJustifiBillingFormElement>;
|
|
410
|
-
"justifi-business-address": LocalJSX.
|
|
675
|
+
"justifi-business-address-form": LocalJSX.JustifiBusinessAddressForm & JSXBase.HTMLAttributes<HTMLJustifiBusinessAddressFormElement>;
|
|
411
676
|
/**
|
|
412
677
|
* @exportedPart label: Label for inputs
|
|
413
678
|
* @exportedPart input: The input fields
|
|
414
679
|
* @exportedPart input-invalid: Invalid state for inputfs
|
|
415
680
|
*/
|
|
416
|
-
"justifi-business-
|
|
681
|
+
"justifi-business-form": LocalJSX.JustifiBusinessForm & JSXBase.HTMLAttributes<HTMLJustifiBusinessFormElement>;
|
|
682
|
+
/**
|
|
683
|
+
* @exportedPart label: Label for inputs
|
|
684
|
+
* @exportedPart input: The input fields
|
|
685
|
+
* @exportedPart input-invalid: Invalid state for inputfs
|
|
686
|
+
*/
|
|
687
|
+
"justifi-business-generic-info": LocalJSX.JustifiBusinessGenericInfo & JSXBase.HTMLAttributes<HTMLJustifiBusinessGenericInfoElement>;
|
|
688
|
+
/**
|
|
689
|
+
* @exportedPart label: Label for inputs
|
|
690
|
+
* @exportedPart input: The input fields
|
|
691
|
+
* @exportedPart input-invalid: Invalid state for inputfs
|
|
692
|
+
*/
|
|
693
|
+
"justifi-business-owners": LocalJSX.JustifiBusinessOwners & JSXBase.HTMLAttributes<HTMLJustifiBusinessOwnersElement>;
|
|
694
|
+
"justifi-business-representative": LocalJSX.JustifiBusinessRepresentative & JSXBase.HTMLAttributes<HTMLJustifiBusinessRepresentativeElement>;
|
|
417
695
|
"justifi-card-form": LocalJSX.JustifiCardForm & JSXBase.HTMLAttributes<HTMLJustifiCardFormElement>;
|
|
418
696
|
"justifi-payment-form": LocalJSX.JustifiPaymentForm & JSXBase.HTMLAttributes<HTMLJustifiPaymentFormElement>;
|
|
419
697
|
"justifi-payment-method-form": LocalJSX.JustifiPaymentMethodForm & JSXBase.HTMLAttributes<HTMLJustifiPaymentMethodFormElement>;
|
|
420
698
|
"justifi-payment-method-selector": LocalJSX.JustifiPaymentMethodSelector & JSXBase.HTMLAttributes<HTMLJustifiPaymentMethodSelectorElement>;
|
|
699
|
+
/**
|
|
700
|
+
* @exportedPart table-head: Table head
|
|
701
|
+
* @exportedPart table-head-row: Head row
|
|
702
|
+
* @exportedPart table-head-cell: Individual head cell
|
|
703
|
+
* @exportedPart table-body: Body of the table
|
|
704
|
+
* @exportedPart table-row: Row of the table
|
|
705
|
+
* @exportedPart table-cell: Individual cell of the table
|
|
706
|
+
* @exportedPart loading-state-cell: Row for loading state
|
|
707
|
+
* @exportedPart loading-state-spinner: Spinner element for loading state
|
|
708
|
+
* @exportedPart error-state: Row for Error state
|
|
709
|
+
* @exportedPart empty-state: Row for Emtpy state
|
|
710
|
+
* @exportedPart pagination-bar: Pagination bar
|
|
711
|
+
* @exportedPart arrow: Both paging buttons
|
|
712
|
+
* @exportedPart arrow-left: Previous page button
|
|
713
|
+
* @exportedPart arrow-right: Next page button
|
|
714
|
+
* @exportedPart arrow-disabled: Disabled state for paging buttons
|
|
715
|
+
*/
|
|
421
716
|
"justifi-payments-list": LocalJSX.JustifiPaymentsList & JSXBase.HTMLAttributes<HTMLJustifiPaymentsListElement>;
|
|
717
|
+
/**
|
|
718
|
+
* @exportedPart table-head: Table head
|
|
719
|
+
* @exportedPart table-head-row: Head row
|
|
720
|
+
* @exportedPart table-head-cell: Individual head cell
|
|
721
|
+
* @exportedPart table-body: Body of the table
|
|
722
|
+
* @exportedPart table-row: Row of the table
|
|
723
|
+
* @exportedPart table-cell: Individual cell of the table
|
|
724
|
+
* @exportedPart loading-state-cell: Row for loading state
|
|
725
|
+
* @exportedPart loading-state-spinner: Spinner element for loading state
|
|
726
|
+
* @exportedPart error-state: Row for Error state
|
|
727
|
+
* @exportedPart empty-state: Row for Emtpy state
|
|
728
|
+
* @exportedPart pagination-bar: Pagination bar
|
|
729
|
+
* @exportedPart arrow: Both paging buttons
|
|
730
|
+
* @exportedPart arrow-left: Previous page button
|
|
731
|
+
* @exportedPart arrow-right: Next page button
|
|
732
|
+
* @exportedPart arrow-disabled: Disabled state for paging buttons
|
|
733
|
+
*/
|
|
734
|
+
"justifi-payouts-list": LocalJSX.JustifiPayoutsList & JSXBase.HTMLAttributes<HTMLJustifiPayoutsListElement>;
|
|
422
735
|
"select-input": LocalJSX.SelectInput & JSXBase.HTMLAttributes<HTMLSelectInputElement>;
|
|
423
736
|
"text-input": LocalJSX.TextInput & JSXBase.HTMLAttributes<HTMLTextInputElement>;
|
|
424
737
|
}
|
|
@@ -432,7 +432,7 @@ export interface QueueApi {
|
|
|
432
432
|
/**
|
|
433
433
|
* Host
|
|
434
434
|
*/
|
|
435
|
-
interface HostAttributes {
|
|
435
|
+
export interface HostAttributes {
|
|
436
436
|
class?: string | {
|
|
437
437
|
[className: string]: boolean;
|
|
438
438
|
};
|
|
@@ -930,6 +930,8 @@ export declare namespace JSXBase {
|
|
|
930
930
|
minlength?: number | string;
|
|
931
931
|
multiple?: boolean;
|
|
932
932
|
name?: string;
|
|
933
|
+
onSelect?: (event: Event) => void;
|
|
934
|
+
onselect?: (event: Event) => void;
|
|
933
935
|
pattern?: string;
|
|
934
936
|
placeholder?: string;
|
|
935
937
|
readOnly?: boolean;
|
|
@@ -1131,6 +1133,8 @@ export declare namespace JSXBase {
|
|
|
1131
1133
|
summary?: string;
|
|
1132
1134
|
}
|
|
1133
1135
|
interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
|
|
1136
|
+
autoComplete?: string;
|
|
1137
|
+
autocomplete?: string;
|
|
1134
1138
|
autoFocus?: boolean;
|
|
1135
1139
|
autofocus?: boolean | string;
|
|
1136
1140
|
cols?: number;
|
|
@@ -1141,6 +1145,8 @@ export declare namespace JSXBase {
|
|
|
1141
1145
|
minLength?: number;
|
|
1142
1146
|
minlength?: number | string;
|
|
1143
1147
|
name?: string;
|
|
1148
|
+
onSelect?: (event: Event) => void;
|
|
1149
|
+
onselect?: (event: Event) => void;
|
|
1144
1150
|
placeholder?: string;
|
|
1145
1151
|
readOnly?: boolean;
|
|
1146
1152
|
readonly?: boolean | string;
|
|
@@ -1287,7 +1293,7 @@ export declare namespace JSXBase {
|
|
|
1287
1293
|
clipPathUnits?: number | string;
|
|
1288
1294
|
'clip-rule'?: number | string;
|
|
1289
1295
|
'color-interpolation'?: number | string;
|
|
1290
|
-
'color-interpolation-filters'?: 'auto' | '
|
|
1296
|
+
'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB';
|
|
1291
1297
|
'color-profile'?: number | string;
|
|
1292
1298
|
'color-rendering'?: number | string;
|
|
1293
1299
|
contentScriptType?: number | string;
|
|
@@ -1617,8 +1623,14 @@ export declare namespace JSXBase {
|
|
|
1617
1623
|
onAnimationEndCapture?: (event: AnimationEvent) => void;
|
|
1618
1624
|
onAnimationIteration?: (event: AnimationEvent) => void;
|
|
1619
1625
|
onAnimationIterationCapture?: (event: AnimationEvent) => void;
|
|
1626
|
+
onTransitionCancel?: (event: TransitionEvent) => void;
|
|
1627
|
+
onTransitionCancelCapture?: (event: TransitionEvent) => void;
|
|
1620
1628
|
onTransitionEnd?: (event: TransitionEvent) => void;
|
|
1621
1629
|
onTransitionEndCapture?: (event: TransitionEvent) => void;
|
|
1630
|
+
onTransitionRun?: (event: TransitionEvent) => void;
|
|
1631
|
+
onTransitionRunCapture?: (event: TransitionEvent) => void;
|
|
1632
|
+
onTransitionStart?: (event: TransitionEvent) => void;
|
|
1633
|
+
onTransitionStartCapture?: (event: TransitionEvent) => void;
|
|
1622
1634
|
}
|
|
1623
1635
|
}
|
|
1624
1636
|
export interface JSXAttributes<T = Element> {
|
|
@@ -2,3 +2,4 @@ export declare function formatCurrency(amount: number, withSymbol?: boolean): st
|
|
|
2
2
|
export declare function formatDate(dateString: string | Date): string;
|
|
3
3
|
export declare function formatTime(dateString: string): string;
|
|
4
4
|
export declare function formatTimeSeconds(dateString: string): string;
|
|
5
|
+
export declare function extractComputedFontsToLoad(): string;
|