@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
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
export { s as setNonce } from './index-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-c8f391de.js';
|
|
2
|
+
export { s as setNonce } from './index-c8f391de.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser
|
|
5
|
+
Stencil Client Patch Browser v4.0.5 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchBrowser = () => {
|
|
8
8
|
const importMeta = import.meta.url;
|
|
9
9
|
const opts = {};
|
|
10
|
-
// TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
|
|
11
10
|
if (importMeta !== '') {
|
|
12
11
|
opts.resourcesUrl = new URL('.', importMeta).href;
|
|
13
|
-
// TODO(STENCIL-661): Remove code related to the dynamic import shim
|
|
14
|
-
// TODO(STENCIL-663): Remove code related to deprecated `safari10` field.
|
|
15
12
|
}
|
|
16
13
|
return promiseResolve(opts);
|
|
17
14
|
};
|
|
18
15
|
|
|
19
16
|
patchBrowser().then(options => {
|
|
20
|
-
return bootstrapLazy([["justifi-payment-form",[[1,"justifi-payment-form",{"bankAccount":[4,"bank-account"],"card":[4],"email":[1],"iframeOrigin":[1,"iframe-origin"],"clientId":[1,"client-id"],"accountId":[1,"account-id"],"submitButtonText":[1,"submit-button-text"],"submitButtonEnabled":[32],"isLoading":[32],"selectedPaymentMethodType":[32],"allowedPaymentMethodTypes":[32],"fillBillingForm":[64],"enableSubmitButton":[64]},[[0,"paymentMethodSelected","paymentMethodSelectedHandler"]]]]],["justifi-
|
|
17
|
+
return bootstrapLazy([["justifi-business-form",[[1,"justifi-business-form",{"authToken":[1,"auth-token"],"businessId":[1,"business-id"]}]]],["justifi-payment-form",[[1,"justifi-payment-form",{"bankAccount":[4,"bank-account"],"card":[4],"email":[1],"iframeOrigin":[1,"iframe-origin"],"clientId":[1,"client-id"],"accountId":[1,"account-id"],"submitButtonText":[1,"submit-button-text"],"submitButtonEnabled":[32],"hasLoadedFonts":[32],"isLoading":[32],"selectedPaymentMethodType":[32],"allowedPaymentMethodTypes":[32],"fillBillingForm":[64],"enableSubmitButton":[64],"loadFontsOnParent":[64]},[[0,"paymentMethodSelected","paymentMethodSelectedHandler"]]]]],["justifi-bank-account-form",[[0,"justifi-bank-account-form",{"validationMode":[1025,"validation-mode"],"iframeOrigin":[1025,"iframe-origin"],"internalStyleOverrides":[32],"tokenize":[64],"validate":[64],"resize":[64]},[[0,"paymentMethodFormReady","readyHandler"],[0,"paymentMethodFormTokenize","tokenizeHandler"],[0,"paymentMethodFormValidate","validateHandler"]]]]],["justifi-card-form",[[0,"justifi-card-form",{"validationMode":[1025,"validation-mode"],"iframeOrigin":[1025,"iframe-origin"],"singleLine":[4,"single-line"],"internalStyleOverrides":[32],"tokenize":[64],"validate":[64],"resize":[64]},[[0,"paymentMethodFormReady","readyHandler"],[0,"paymentMethodFormTokenize","tokenizeHandler"],[0,"paymentMethodFormValidate","validateHandler"]]]]],["justifi-payments-list",[[1,"justifi-payments-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"payments":[32],"loading":[32],"errorMessage":[32],"paging":[32]}]]],["justifi-payouts-list",[[1,"justifi-payouts-list",{"accountId":[1,"account-id"],"authToken":[1,"auth-token"],"payouts":[32],"loading":[32],"errorMessage":[32],"paging":[32]}]]],["justifi-billing-form_2",[[1,"justifi-billing-form",{"legend":[1025],"billingFields":[32],"billingFieldsErrors":[32],"fill":[64],"validate":[64],"getValues":[64]},[[0,"fieldReceivedInput","setFormValue"]]],[1,"justifi-payment-method-selector",{"paymentMethodTypes":[16],"selectedPaymentMethodType":[1,"selected-payment-method-type"]}]]],["form-control-select_2",[[1,"form-control-select",{"label":[1],"name":[8],"error":[1],"defaultValue":[1,"default-value"],"inputHandler":[16],"options":[16]}],[1,"form-control-text",{"label":[1],"name":[8],"error":[1],"defaultValue":[1,"default-value"],"inputHandler":[16]}]]],["justifi-business-address-form",[[1,"justifi-business-address-form",{"onFormUpdate":[16],"errors":[8],"defaultValues":[8,"default-values"],"address":[32]}]]],["justifi-business-generic-info_3",[[0,"justifi-business-representative",{"formController":[16],"errors":[32],"defaultValues":[32],"representative":[32]}],[0,"justifi-business-generic-info",{"formController":[16],"errors":[32],"defaultValues":[32],"business":[32]}],[0,"justifi-business-owners",{"formController":[16],"defaultValues":[32],"errors":[32],"owners":[32]}]]],["justifi-payment-method-form",[[0,"justifi-payment-method-form",{"paymentMethodFormType":[1,"payment-method-form-type"],"paymentMethodFormValidationMode":[1025,"payment-method-form-validation-mode"],"iframeOrigin":[1,"iframe-origin"],"singleLine":[4,"single-line"],"height":[32],"tokenize":[64],"validate":[64],"resize":[64]}]]],["select-input_2",[[1,"select-input",{"name":[1],"label":[1],"defaultValue":[1,"default-value"],"error":[1],"options":[16],"internalValue":[32]}],[1,"text-input",{"name":[1],"label":[1],"defaultValue":[1,"default-value"],"error":[1],"internalValue":[32]}]]]], options);
|
|
21
18
|
});
|
|
22
19
|
|
|
23
20
|
//# sourceMappingURL=webcomponents.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"webcomponents.js","mappings":";;;AAAA;AACA;AACA;
|
|
1
|
+
{"file":"webcomponents.js","mappings":";;;AAAA;AACA;AACA;AAGA,MAAM,YAAY,GAAG,MAAM;AAyB3B,IAAI,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC;AACvC,IAAI,MAAM,IAAI,GAAiE,EAAE,CAAC;AAClF,IAAI,IAAI,UAAU,KAAK,EAAE,EAAE;AAC3B,QAAQ,IAAI,CAAC,YAAY,GAAG,IAAI,GAAG,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC,IAAI,CAAC;AAC1D,KAAK;AACL,IAAI,OAAO,cAAc,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;;AChCD,YAAY,EAAE,CAAC,IAAI,CAAC,OAAO,IAAI;AAE/B,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC,CAAC","names":[],"sources":["../node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.0.5 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nimport { consoleDevInfo, doc, promiseResolve, H } from '@stencil/core';\nconst patchBrowser = () => {\n // NOTE!! This fn cannot use async/await!\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo('Running in development mode.');\n }\n if (BUILD.cloneNodeFix) {\n // opted-in to polyfill cloneNode() for slot polyfilled components\n patchCloneNodeFix(H.prototype);\n }\n if (BUILD.profile && !performance.mark) {\n // not all browsers support performance.mark/measure (Safari 10)\n // because the mark/measure APIs are designed to write entries to a buffer in the browser that does not exist,\n // simply stub the implementations out.\n // TODO(STENCIL-323): Remove this patch when support for older browsers is removed (breaking)\n // @ts-ignore\n performance.mark = performance.measure = () => {\n /*noop*/\n };\n performance.getEntriesByName = () => [];\n }\n // @ts-ignore\n const scriptElm = BUILD.scriptDataOpts\n ? Array.from(doc.querySelectorAll('script')).find((s) => new RegExp(`\\/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) ||\n s.getAttribute('data-stencil-namespace') === NAMESPACE)\n : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})['data-opts'] || {} : {};\n if (importMeta !== '') {\n opts.resourcesUrl = new URL('.', importMeta).href;\n }\n return promiseResolve(opts);\n};\nconst patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function (deep) {\n if (this.nodeName === 'TEMPLATE') {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n // Node.ATTRIBUTE_NODE === 2, and checking because IE11\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport { patchBrowser };\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(options => {\n globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"version":3}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export declare enum PayoutStatuses {
|
|
2
|
+
paid = "paid",
|
|
3
|
+
failed = "failed",
|
|
4
|
+
forwarded = "forwarded",
|
|
5
|
+
scheduled = "scheduled",
|
|
6
|
+
in_transit = "in_transit",
|
|
7
|
+
canceled = "canceled"
|
|
8
|
+
}
|
|
9
|
+
export interface PayoutBankAccount {
|
|
10
|
+
id: string;
|
|
11
|
+
full_name: string;
|
|
12
|
+
bank_name: string;
|
|
13
|
+
account_number_last4: string;
|
|
14
|
+
routing_number: string;
|
|
15
|
+
country: string;
|
|
16
|
+
currency: string;
|
|
17
|
+
nickname: string;
|
|
18
|
+
account_type: string;
|
|
19
|
+
}
|
|
20
|
+
export interface IPayout {
|
|
21
|
+
id: string;
|
|
22
|
+
account_id: string;
|
|
23
|
+
amount: number;
|
|
24
|
+
bank_account: PayoutBankAccount;
|
|
25
|
+
currency: 'usd';
|
|
26
|
+
delivery_method: string;
|
|
27
|
+
description: string;
|
|
28
|
+
deposits_at: string;
|
|
29
|
+
fees_total: number;
|
|
30
|
+
refunds_count: number;
|
|
31
|
+
refunds_total: number;
|
|
32
|
+
payments_count: number;
|
|
33
|
+
payments_total: number;
|
|
34
|
+
payout_type: 'ach' | 'cc';
|
|
35
|
+
other_total: number;
|
|
36
|
+
status: PayoutStatuses;
|
|
37
|
+
metadata: any;
|
|
38
|
+
created_at: string;
|
|
39
|
+
updated_at: string;
|
|
40
|
+
}
|
|
41
|
+
export declare class Payout implements IPayout {
|
|
42
|
+
id: string;
|
|
43
|
+
account_id: string;
|
|
44
|
+
amount: number;
|
|
45
|
+
bank_account: PayoutBankAccount;
|
|
46
|
+
currency: 'usd';
|
|
47
|
+
delivery_method: string;
|
|
48
|
+
description: string;
|
|
49
|
+
deposits_at: string;
|
|
50
|
+
fees_total: number;
|
|
51
|
+
refunds_count: number;
|
|
52
|
+
refunds_total: number;
|
|
53
|
+
payments_count: number;
|
|
54
|
+
payments_total: number;
|
|
55
|
+
payout_type: 'ach' | 'cc';
|
|
56
|
+
other_total: number;
|
|
57
|
+
status: PayoutStatuses;
|
|
58
|
+
metadata: any;
|
|
59
|
+
created_at: string;
|
|
60
|
+
updated_at: string;
|
|
61
|
+
constructor(payout: IPayout);
|
|
62
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import * as Yup from 'yup';
|
|
1
2
|
export declare const RegExZip: RegExp;
|
|
2
3
|
type BusinessType = 'for_profit' | 'non_profit' | 'government_entity' | 'individual' | '';
|
|
3
4
|
type BusinessStructure = 'sole_proprietorship' | 'single_llc' | 'multi_llc' | 'private_partnership' | 'private_corporation' | 'unincorporated_association' | 'public_partnership' | 'public_corporation' | 'incorporated' | 'unincorporated' | 'government_unit' | 'government_instrumentality' | 'tax_exempt_government_instrumentality' | '';
|
|
4
|
-
export
|
|
5
|
+
export declare class Business {
|
|
5
6
|
legal_name: string;
|
|
6
7
|
website_url: string;
|
|
7
8
|
email: string;
|
|
@@ -11,6 +12,7 @@ export interface IBusinessInfo {
|
|
|
11
12
|
business_structure: string;
|
|
12
13
|
industry: string;
|
|
13
14
|
metadata: any;
|
|
15
|
+
constructor(data?: any);
|
|
14
16
|
}
|
|
15
17
|
export declare const BusinessTypeOptions: {
|
|
16
18
|
label: string;
|
|
@@ -20,7 +22,7 @@ export declare const BusinessStructureOptions: {
|
|
|
20
22
|
label: string;
|
|
21
23
|
value: BusinessStructure;
|
|
22
24
|
}[];
|
|
23
|
-
declare const
|
|
25
|
+
declare const BusinessFormSchema: Yup.ObjectSchema<{
|
|
24
26
|
legal_name: string;
|
|
25
27
|
website_url: string;
|
|
26
28
|
email: string;
|
|
@@ -29,7 +31,40 @@ declare const BusinessInfoSchema: import("yup").ObjectSchema<{
|
|
|
29
31
|
business_type: string;
|
|
30
32
|
business_structure: string;
|
|
31
33
|
industry: string;
|
|
32
|
-
|
|
34
|
+
representative: {
|
|
35
|
+
address?: {
|
|
36
|
+
city?: string;
|
|
37
|
+
state?: string;
|
|
38
|
+
line1?: string;
|
|
39
|
+
postal_code?: string;
|
|
40
|
+
};
|
|
41
|
+
name?: string;
|
|
42
|
+
email?: string;
|
|
43
|
+
phone?: string;
|
|
44
|
+
dob_day?: string;
|
|
45
|
+
dob_month?: string;
|
|
46
|
+
dob_year?: string;
|
|
47
|
+
identification_number?: string;
|
|
48
|
+
};
|
|
49
|
+
owners: {
|
|
50
|
+
address?: {
|
|
51
|
+
city?: string;
|
|
52
|
+
state?: string;
|
|
53
|
+
line1?: string;
|
|
54
|
+
postal_code?: string;
|
|
55
|
+
};
|
|
56
|
+
title?: string;
|
|
57
|
+
metadata?: any;
|
|
58
|
+
name?: string;
|
|
59
|
+
email?: string;
|
|
60
|
+
phone?: string;
|
|
61
|
+
dob_day?: string;
|
|
62
|
+
dob_month?: string;
|
|
63
|
+
dob_year?: string;
|
|
64
|
+
identification_number?: string;
|
|
65
|
+
is_owner?: boolean;
|
|
66
|
+
}[];
|
|
67
|
+
}, Yup.AnyObject, {
|
|
33
68
|
legal_name: undefined;
|
|
34
69
|
website_url: undefined;
|
|
35
70
|
email: undefined;
|
|
@@ -38,5 +73,21 @@ declare const BusinessInfoSchema: import("yup").ObjectSchema<{
|
|
|
38
73
|
business_type: undefined;
|
|
39
74
|
business_structure: undefined;
|
|
40
75
|
industry: undefined;
|
|
76
|
+
representative: {
|
|
77
|
+
name: undefined;
|
|
78
|
+
email: undefined;
|
|
79
|
+
phone: undefined;
|
|
80
|
+
dob_day: undefined;
|
|
81
|
+
dob_month: undefined;
|
|
82
|
+
dob_year: undefined;
|
|
83
|
+
identification_number: undefined;
|
|
84
|
+
address: {
|
|
85
|
+
line1: undefined;
|
|
86
|
+
city: undefined;
|
|
87
|
+
state: undefined;
|
|
88
|
+
postal_code: undefined;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
owners: "";
|
|
41
92
|
}, "">;
|
|
42
|
-
export default
|
|
93
|
+
export default BusinessFormSchema;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @exportedPart label: Label for inputs
|
|
3
|
+
* @exportedPart input: The input fields
|
|
4
|
+
* @exportedPart input-invalid: Invalid state for inputfs
|
|
5
|
+
*/
|
|
6
|
+
export declare class BusinessForm {
|
|
7
|
+
authToken: string;
|
|
8
|
+
businessId?: string;
|
|
9
|
+
private formController;
|
|
10
|
+
constructor();
|
|
11
|
+
sendData(): void;
|
|
12
|
+
validateAndSubmit(event: any): void;
|
|
13
|
+
render(): any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FormController } from '../../form/form';
|
|
2
|
+
/**
|
|
3
|
+
* @exportedPart label: Label for inputs
|
|
4
|
+
* @exportedPart input: The input fields
|
|
5
|
+
* @exportedPart input-invalid: Invalid state for inputfs
|
|
6
|
+
*/
|
|
7
|
+
export declare class BusinessGenericInfo {
|
|
8
|
+
formController: FormController;
|
|
9
|
+
errors: any;
|
|
10
|
+
defaultValues: any;
|
|
11
|
+
business: any;
|
|
12
|
+
handleRepresentativeChange(newValues: any): void;
|
|
13
|
+
componentDidLoad(): void;
|
|
14
|
+
inputHandler(name: string, value: string): void;
|
|
15
|
+
render(): any;
|
|
16
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { FormController } from '../../form/form';
|
|
2
|
+
declare class BusinessOwner {
|
|
3
|
+
name: string;
|
|
4
|
+
title: string;
|
|
5
|
+
email: string;
|
|
6
|
+
phone: string;
|
|
7
|
+
dob_day: string;
|
|
8
|
+
dob_month: string;
|
|
9
|
+
dob_year: string;
|
|
10
|
+
identification_number: string;
|
|
11
|
+
is_owner: boolean;
|
|
12
|
+
metadata: any;
|
|
13
|
+
address: any;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @exportedPart label: Label for inputs
|
|
17
|
+
* @exportedPart input: The input fields
|
|
18
|
+
* @exportedPart input-invalid: Invalid state for inputfs
|
|
19
|
+
*/
|
|
20
|
+
export declare class BusinessOwners {
|
|
21
|
+
formController: FormController;
|
|
22
|
+
defaultValues: any[];
|
|
23
|
+
errors: any[];
|
|
24
|
+
owners: BusinessOwner[];
|
|
25
|
+
handleOwnersChange(newValues: any): void;
|
|
26
|
+
componentDidLoad(): void;
|
|
27
|
+
inputHandler(name: string, value: string, index: number): void;
|
|
28
|
+
addOwner(event: MouseEvent): void;
|
|
29
|
+
removeOwner(event: MouseEvent, index: number): void;
|
|
30
|
+
render(): any;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BusinessAddressFormFields } from '../business-address/business-address-form-schema';
|
|
2
|
+
export declare const RegExZip: RegExp;
|
|
3
|
+
export interface IBusinessRepresentative {
|
|
4
|
+
name: string;
|
|
5
|
+
title: string;
|
|
6
|
+
email: string;
|
|
7
|
+
phone: string;
|
|
8
|
+
dob_day: string;
|
|
9
|
+
dob_month: string;
|
|
10
|
+
dob_year: string;
|
|
11
|
+
identification_number: string;
|
|
12
|
+
is_owner: boolean;
|
|
13
|
+
metadata: any;
|
|
14
|
+
address: BusinessAddressFormFields;
|
|
15
|
+
}
|
package/dist/types/components/business-form/business-representative/business-representative.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FormController } from '../../form/form';
|
|
2
|
+
export declare class BusinessRepresentative {
|
|
3
|
+
formController: FormController;
|
|
4
|
+
errors: any;
|
|
5
|
+
defaultValues: any;
|
|
6
|
+
representative: any;
|
|
7
|
+
handleRepresentativeChange(newValue: any): void;
|
|
8
|
+
componentDidLoad(): void;
|
|
9
|
+
inputHandler(name: string, value: string): void;
|
|
10
|
+
onAddressFormUpdate(values: any): void;
|
|
11
|
+
render(): any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
'auth-token': {
|
|
6
|
+
control: string;
|
|
7
|
+
table: {
|
|
8
|
+
category: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
'business-id': {
|
|
12
|
+
control: string;
|
|
13
|
+
table: {
|
|
14
|
+
category: string;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
20
|
+
export declare const Basic: any;
|
|
21
|
+
export declare const Styled: any;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class TextInput {
|
|
3
|
+
label: string;
|
|
4
|
+
name: any;
|
|
5
|
+
error: string;
|
|
6
|
+
defaultValue: string;
|
|
7
|
+
inputHandler: (name: string, value: string) => void;
|
|
8
|
+
options: {
|
|
9
|
+
label: string;
|
|
10
|
+
value: string;
|
|
11
|
+
}[];
|
|
12
|
+
formControlInput: EventEmitter<any>;
|
|
13
|
+
formControlBlur: EventEmitter<any>;
|
|
14
|
+
handleFormControlInput(event: any): void;
|
|
15
|
+
render(): any;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class TextInput {
|
|
3
|
+
label: string;
|
|
4
|
+
name: any;
|
|
5
|
+
error: string;
|
|
6
|
+
defaultValue: string;
|
|
7
|
+
inputHandler: (name: string, value: string) => void;
|
|
8
|
+
formControlInput: EventEmitter<any>;
|
|
9
|
+
formControlBlur: EventEmitter<any>;
|
|
10
|
+
handleFormControlInput(event: any): void;
|
|
11
|
+
render(): any;
|
|
12
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BehaviorSubject } from 'rxjs';
|
|
2
|
+
import { ObjectSchema } from 'yup';
|
|
3
|
+
export declare class FormController {
|
|
4
|
+
defaultValues: BehaviorSubject<any>;
|
|
5
|
+
values: BehaviorSubject<any>;
|
|
6
|
+
errors: BehaviorSubject<any>;
|
|
7
|
+
private _schema;
|
|
8
|
+
private _defaultValues;
|
|
9
|
+
private _values;
|
|
10
|
+
private _errors;
|
|
11
|
+
private _isValid;
|
|
12
|
+
constructor(schema: ObjectSchema<any>, defaultValues?: any);
|
|
13
|
+
private processArrayError;
|
|
14
|
+
private processRegularError;
|
|
15
|
+
private setNestedError;
|
|
16
|
+
private setError;
|
|
17
|
+
private validate;
|
|
18
|
+
validateAndSubmit(submitHandler: () => void): Promise<void>;
|
|
19
|
+
setValues(values: any): void;
|
|
20
|
+
setDefaultValues(values: any): void;
|
|
21
|
+
}
|
|
@@ -12,6 +12,7 @@ export declare class PaymentForm {
|
|
|
12
12
|
submitButtonText?: string;
|
|
13
13
|
submitted: EventEmitter<CreatePaymentMethodResponse>;
|
|
14
14
|
submitButtonEnabled: boolean;
|
|
15
|
+
hasLoadedFonts: boolean;
|
|
15
16
|
isLoading: boolean;
|
|
16
17
|
selectedPaymentMethodType: PaymentMethodTypes;
|
|
17
18
|
allowedPaymentMethodTypes: PaymentMethodTypes[];
|
|
@@ -21,6 +22,7 @@ export declare class PaymentForm {
|
|
|
21
22
|
paymentMethodSelectedHandler(event: CustomEvent): void;
|
|
22
23
|
fillBillingForm(fields: BillingFormFields): Promise<void>;
|
|
23
24
|
enableSubmitButton(): Promise<void>;
|
|
25
|
+
loadFontsOnParent(): Promise<any>;
|
|
24
26
|
submit(event: any): Promise<void>;
|
|
25
27
|
render(): any;
|
|
26
28
|
}
|
|
@@ -1,11 +1,44 @@
|
|
|
1
1
|
import { Payment } from '../../api';
|
|
2
|
+
interface PagingInfo {
|
|
3
|
+
amount: number;
|
|
4
|
+
start_cursor: string;
|
|
5
|
+
end_cursor: string;
|
|
6
|
+
has_previous: boolean;
|
|
7
|
+
has_next: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* @exportedPart table-head: Table head
|
|
11
|
+
* @exportedPart table-head-row: Head row
|
|
12
|
+
* @exportedPart table-head-cell: Individual head cell
|
|
13
|
+
* @exportedPart table-body: Body of the table
|
|
14
|
+
* @exportedPart table-row: Row of the table
|
|
15
|
+
* @exportedPart table-cell: Individual cell of the table
|
|
16
|
+
* @exportedPart loading-state-cell: Row for loading state
|
|
17
|
+
* @exportedPart loading-state-spinner: Spinner element for loading state
|
|
18
|
+
* @exportedPart error-state: Row for Error state
|
|
19
|
+
* @exportedPart empty-state: Row for Emtpy state
|
|
20
|
+
* @exportedPart pagination-bar: Pagination bar
|
|
21
|
+
* @exportedPart arrow: Both paging buttons
|
|
22
|
+
* @exportedPart arrow-left: Previous page button
|
|
23
|
+
* @exportedPart arrow-right: Next page button
|
|
24
|
+
* @exportedPart arrow-disabled: Disabled state for paging buttons
|
|
25
|
+
*/
|
|
2
26
|
export declare class PaymentsList {
|
|
3
27
|
accountId: string;
|
|
4
|
-
|
|
5
|
-
token?: string;
|
|
6
|
-
};
|
|
28
|
+
authToken: string;
|
|
7
29
|
payments: Payment[];
|
|
8
|
-
|
|
9
|
-
|
|
30
|
+
loading: boolean;
|
|
31
|
+
errorMessage: string;
|
|
32
|
+
paging: PagingInfo;
|
|
33
|
+
updateOnPropChange(): void;
|
|
34
|
+
connectedCallback(): void;
|
|
35
|
+
onPageChange: (direction: string) => () => void;
|
|
36
|
+
fetchData(direction?: string): Promise<void>;
|
|
37
|
+
showEmptyState(): boolean;
|
|
38
|
+
emptyState: any;
|
|
39
|
+
errorState: () => any;
|
|
40
|
+
loadingState: any;
|
|
41
|
+
paginationBar: () => any;
|
|
10
42
|
render(): any;
|
|
11
43
|
}
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
parameters: {};
|
|
5
|
+
argTypes: {
|
|
6
|
+
'client-id': {
|
|
7
|
+
control: string;
|
|
8
|
+
table: {
|
|
9
|
+
category: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
15
|
+
export declare const Basic: any;
|
|
16
|
+
export declare const Styled: any;
|
|
17
|
+
export declare const Contained: any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Payout, PayoutStatuses } from '../../api';
|
|
2
|
+
interface PagingInfo {
|
|
3
|
+
amount: number;
|
|
4
|
+
start_cursor: string;
|
|
5
|
+
end_cursor: string;
|
|
6
|
+
has_previous: boolean;
|
|
7
|
+
has_next: boolean;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* @exportedPart table-head: Table head
|
|
11
|
+
* @exportedPart table-head-row: Head row
|
|
12
|
+
* @exportedPart table-head-cell: Individual head cell
|
|
13
|
+
* @exportedPart table-body: Body of the table
|
|
14
|
+
* @exportedPart table-row: Row of the table
|
|
15
|
+
* @exportedPart table-cell: Individual cell of the table
|
|
16
|
+
* @exportedPart loading-state-cell: Row for loading state
|
|
17
|
+
* @exportedPart loading-state-spinner: Spinner element for loading state
|
|
18
|
+
* @exportedPart error-state: Row for Error state
|
|
19
|
+
* @exportedPart empty-state: Row for Emtpy state
|
|
20
|
+
* @exportedPart pagination-bar: Pagination bar
|
|
21
|
+
* @exportedPart arrow: Both paging buttons
|
|
22
|
+
* @exportedPart arrow-left: Previous page button
|
|
23
|
+
* @exportedPart arrow-right: Next page button
|
|
24
|
+
* @exportedPart arrow-disabled: Disabled state for paging buttons
|
|
25
|
+
*/
|
|
26
|
+
export declare class PayoutsList {
|
|
27
|
+
accountId: string;
|
|
28
|
+
authToken: string;
|
|
29
|
+
payouts: Payout[];
|
|
30
|
+
loading: boolean;
|
|
31
|
+
errorMessage: string;
|
|
32
|
+
paging: PagingInfo;
|
|
33
|
+
updateOnPropChange(): void;
|
|
34
|
+
connectedCallback(): void;
|
|
35
|
+
onPageChange: (direction: string) => () => void;
|
|
36
|
+
mapStatusToBadge: (status: PayoutStatuses) => "bg-primary" | "bg-danger" | "bg-secondary" | "bg-success";
|
|
37
|
+
fetchData(direction?: string): Promise<void>;
|
|
38
|
+
showEmptyState(): boolean;
|
|
39
|
+
emptyState: any;
|
|
40
|
+
errorState: () => any;
|
|
41
|
+
loadingState: any;
|
|
42
|
+
paginationBar: () => any;
|
|
43
|
+
render(): any;
|
|
44
|
+
}
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
parameters: {};
|
|
5
|
+
argTypes: {
|
|
6
|
+
'client-id': {
|
|
7
|
+
control: string;
|
|
8
|
+
table: {
|
|
9
|
+
category: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
15
|
+
export declare const Basic: any;
|
|
16
|
+
export declare const Styled: any;
|