@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
|
@@ -312,9 +312,9 @@ const registerStyle = (scopeId, cssText, allowCS) => {
|
|
|
312
312
|
}
|
|
313
313
|
styles.set(scopeId, style);
|
|
314
314
|
};
|
|
315
|
-
const addStyle = (styleContainerNode, cmpMeta, mode
|
|
315
|
+
const addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
316
316
|
var _a;
|
|
317
|
-
|
|
317
|
+
const scopeId = getScopeId(cmpMeta);
|
|
318
318
|
const style = styles.get(scopeId);
|
|
319
319
|
// if an element is NOT connected then getRootNode() will return the wrong root node
|
|
320
320
|
// so the fallback is to always use the document for the root node in those cases
|
|
@@ -329,11 +329,8 @@ const addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {
|
|
|
329
329
|
}
|
|
330
330
|
if (!appliedStyles.has(scopeId)) {
|
|
331
331
|
{
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
styleElm = doc.createElement('style');
|
|
335
|
-
styleElm.innerHTML = style;
|
|
336
|
-
}
|
|
332
|
+
styleElm = doc.createElement('style');
|
|
333
|
+
styleElm.innerHTML = style;
|
|
337
334
|
// Apply CSP nonce to the style tag if it exists
|
|
338
335
|
const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);
|
|
339
336
|
if (nonce != null) {
|
|
@@ -358,7 +355,6 @@ const attachStyles = (hostRef) => {
|
|
|
358
355
|
const flags = cmpMeta.$flags$;
|
|
359
356
|
const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);
|
|
360
357
|
const scopeId = addStyle(elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta);
|
|
361
|
-
// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field
|
|
362
358
|
if (flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {
|
|
363
359
|
// only required when we're NOT using native shadow dom (slot)
|
|
364
360
|
// or this browser doesn't support native shadow dom
|
|
@@ -381,6 +377,21 @@ const getScopeId = (cmp, mode) => 'sc-' + (cmp.$tagName$);
|
|
|
381
377
|
*
|
|
382
378
|
* Modified for Stencil's compiler and vdom
|
|
383
379
|
*/
|
|
380
|
+
/**
|
|
381
|
+
* When running a VDom render set properties present on a VDom node onto the
|
|
382
|
+
* corresponding HTML element.
|
|
383
|
+
*
|
|
384
|
+
* Note that this function has special functionality for the `class`,
|
|
385
|
+
* `style`, `key`, and `ref` attributes, as well as event handlers (like
|
|
386
|
+
* `onClick`, etc). All others are just passed through as-is.
|
|
387
|
+
*
|
|
388
|
+
* @param elm the HTMLElement onto which attributes should be set
|
|
389
|
+
* @param memberName the name of the attribute to set
|
|
390
|
+
* @param oldValue the old value for the attribute
|
|
391
|
+
* @param newValue the new value for the attribute
|
|
392
|
+
* @param isSvg whether we're in an svg context or not
|
|
393
|
+
* @param flags bitflags for Vdom variables
|
|
394
|
+
*/
|
|
384
395
|
const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
385
396
|
if (oldValue !== newValue) {
|
|
386
397
|
let isProp = isMemberInElement(elm, memberName);
|
|
@@ -392,6 +403,31 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
392
403
|
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
393
404
|
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
394
405
|
}
|
|
406
|
+
else if (memberName === 'style') {
|
|
407
|
+
// update style attribute, css properties and values
|
|
408
|
+
{
|
|
409
|
+
for (const prop in oldValue) {
|
|
410
|
+
if (!newValue || newValue[prop] == null) {
|
|
411
|
+
if (prop.includes('-')) {
|
|
412
|
+
elm.style.removeProperty(prop);
|
|
413
|
+
}
|
|
414
|
+
else {
|
|
415
|
+
elm.style[prop] = '';
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
for (const prop in newValue) {
|
|
421
|
+
if (!oldValue || newValue[prop] !== oldValue[prop]) {
|
|
422
|
+
if (prop.includes('-')) {
|
|
423
|
+
elm.style.setProperty(prop, newValue[prop]);
|
|
424
|
+
}
|
|
425
|
+
else {
|
|
426
|
+
elm.style[prop] = newValue[prop];
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
395
431
|
else if (memberName === 'ref') {
|
|
396
432
|
// minifier will clean this up
|
|
397
433
|
if (newValue) {
|
|
@@ -808,10 +844,13 @@ const patch = (oldVNode, newVNode) => {
|
|
|
808
844
|
const elm = (newVNode.$elm$ = oldVNode.$elm$);
|
|
809
845
|
const oldChildren = oldVNode.$children$;
|
|
810
846
|
const newChildren = newVNode.$children$;
|
|
847
|
+
const tag = newVNode.$tag$;
|
|
811
848
|
const text = newVNode.$text$;
|
|
812
849
|
if (text === null) {
|
|
813
850
|
{
|
|
814
|
-
|
|
851
|
+
if (tag === 'slot')
|
|
852
|
+
;
|
|
853
|
+
else {
|
|
815
854
|
// either this is the first render of an element OR it's an update
|
|
816
855
|
// AND we already know it's possible it could have changed
|
|
817
856
|
// this updates the element's css classes, attrs, props, listeners, etc.
|
|
@@ -867,12 +906,39 @@ const nullifyVNodeRefs = (vNode) => {
|
|
|
867
906
|
* @param hostRef data needed to root and render the virtual DOM tree, such as
|
|
868
907
|
* the DOM node into which it should be rendered.
|
|
869
908
|
* @param renderFnResults the virtual DOM nodes to be rendered
|
|
909
|
+
* @param isInitialLoad whether or not this is the first call after page load
|
|
870
910
|
*/
|
|
871
|
-
const renderVdom = (hostRef, renderFnResults) => {
|
|
911
|
+
const renderVdom = (hostRef, renderFnResults, isInitialLoad = false) => {
|
|
872
912
|
const hostElm = hostRef.$hostElement$;
|
|
873
913
|
const oldVNode = hostRef.$vnode$ || newVNode(null, null);
|
|
914
|
+
// if `renderFnResults` is a Host node then we can use it directly. If not,
|
|
915
|
+
// we need to call `h` again to wrap the children of our component in a
|
|
916
|
+
// 'dummy' Host node (well, an empty vnode) since `renderVdom` assumes
|
|
917
|
+
// implicitly that the top-level vdom node is 1) an only child and 2)
|
|
918
|
+
// contains attrs that need to be set on the host element.
|
|
874
919
|
const rootVnode = isHost(renderFnResults) ? renderFnResults : h(null, null, renderFnResults);
|
|
875
920
|
hostTagName = hostElm.tagName;
|
|
921
|
+
// On the first render and *only* on the first render we want to check for
|
|
922
|
+
// any attributes set on the host element which are also set on the vdom
|
|
923
|
+
// node. If we find them, we override the value on the VDom node attrs with
|
|
924
|
+
// the value from the host element, which allows developers building apps
|
|
925
|
+
// with Stencil components to override e.g. the `role` attribute on a
|
|
926
|
+
// component even if it's already set on the `Host`.
|
|
927
|
+
if (isInitialLoad && rootVnode.$attrs$) {
|
|
928
|
+
for (const key of Object.keys(rootVnode.$attrs$)) {
|
|
929
|
+
// We have a special implementation in `setAccessor` for `style` and
|
|
930
|
+
// `class` which reconciles values coming from the VDom with values
|
|
931
|
+
// already present on the DOM element, so we don't want to override those
|
|
932
|
+
// attributes on the VDom tree with values from the host element if they
|
|
933
|
+
// are present.
|
|
934
|
+
//
|
|
935
|
+
// Likewise, `ref` and `key` are special internal values for the Stencil
|
|
936
|
+
// runtime and we don't want to override those either.
|
|
937
|
+
if (hostElm.hasAttribute(key) && !['key', 'ref', 'style', 'class'].includes(key)) {
|
|
938
|
+
rootVnode.$attrs$[key] = hostElm[key];
|
|
939
|
+
}
|
|
940
|
+
}
|
|
941
|
+
}
|
|
876
942
|
rootVnode.$tag$ = null;
|
|
877
943
|
rootVnode.$flags$ |= 4 /* VNODE_FLAGS.isHost */;
|
|
878
944
|
hostRef.$vnode$ = rootVnode;
|
|
@@ -957,7 +1023,29 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
957
1023
|
* @param fn a function to enqueue
|
|
958
1024
|
* @returns either a `Promise` or the return value of the provided function
|
|
959
1025
|
*/
|
|
960
|
-
const enqueue = (maybePromise, fn) => maybePromise
|
|
1026
|
+
const enqueue = (maybePromise, fn) => isPromisey(maybePromise) ? maybePromise.then(fn) : fn();
|
|
1027
|
+
/**
|
|
1028
|
+
* Check that a value is a `Promise`. To check, we first see if the value is an
|
|
1029
|
+
* instance of the `Promise` global. In a few circumstances, in particular if
|
|
1030
|
+
* the global has been overwritten, this is could be misleading, so we also do
|
|
1031
|
+
* a little 'duck typing' check to see if the `.then` property of the value is
|
|
1032
|
+
* defined and a function.
|
|
1033
|
+
*
|
|
1034
|
+
* @param maybePromise it might be a promise!
|
|
1035
|
+
* @returns whether it is or not
|
|
1036
|
+
*/
|
|
1037
|
+
const isPromisey = (maybePromise) => maybePromise instanceof Promise ||
|
|
1038
|
+
(maybePromise && maybePromise.then && typeof maybePromise.then === 'function');
|
|
1039
|
+
/**
|
|
1040
|
+
* Update a component given reference to its host elements and so on.
|
|
1041
|
+
*
|
|
1042
|
+
* @param hostRef an object containing references to the element's host node,
|
|
1043
|
+
* VDom nodes, and other metadata
|
|
1044
|
+
* @param instance a reference to the underlying host element where it will be
|
|
1045
|
+
* rendered
|
|
1046
|
+
* @param isInitialLoad whether or not this function is being called as part of
|
|
1047
|
+
* the first render cycle
|
|
1048
|
+
*/
|
|
961
1049
|
const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
962
1050
|
var _a;
|
|
963
1051
|
const elm = hostRef.$hostElement$;
|
|
@@ -969,7 +1057,7 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
969
1057
|
}
|
|
970
1058
|
const endRender = createTime('render', hostRef.$cmpMeta$.$tagName$);
|
|
971
1059
|
{
|
|
972
|
-
callRender(hostRef, instance);
|
|
1060
|
+
callRender(hostRef, instance, elm, isInitialLoad);
|
|
973
1061
|
}
|
|
974
1062
|
if (rc) {
|
|
975
1063
|
// ok, so turns out there are some child host elements
|
|
@@ -993,7 +1081,19 @@ const updateComponent = async (hostRef, instance, isInitialLoad) => {
|
|
|
993
1081
|
}
|
|
994
1082
|
}
|
|
995
1083
|
};
|
|
996
|
-
|
|
1084
|
+
/**
|
|
1085
|
+
* Handle making the call to the VDom renderer with the proper context given
|
|
1086
|
+
* various build variables
|
|
1087
|
+
*
|
|
1088
|
+
* @param hostRef an object containing references to the element's host node,
|
|
1089
|
+
* VDom nodes, and other metadata
|
|
1090
|
+
* @param instance a reference to the underlying host element where it will be
|
|
1091
|
+
* rendered
|
|
1092
|
+
* @param elm the Host element for the component
|
|
1093
|
+
* @param isInitialLoad whether or not this function is being called as part of
|
|
1094
|
+
* @returns an empty promise
|
|
1095
|
+
*/
|
|
1096
|
+
const callRender = (hostRef, instance, elm, isInitialLoad) => {
|
|
997
1097
|
try {
|
|
998
1098
|
instance = instance.render() ;
|
|
999
1099
|
{
|
|
@@ -1008,7 +1108,7 @@ const callRender = (hostRef, instance, elm) => {
|
|
|
1008
1108
|
// or we need to update the css class/attrs on the host element
|
|
1009
1109
|
// DOM WRITE!
|
|
1010
1110
|
{
|
|
1011
|
-
renderVdom(hostRef, instance);
|
|
1111
|
+
renderVdom(hostRef, instance, isInitialLoad);
|
|
1012
1112
|
}
|
|
1013
1113
|
}
|
|
1014
1114
|
}
|
|
@@ -1022,6 +1122,7 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1022
1122
|
const tagName = hostRef.$cmpMeta$.$tagName$;
|
|
1023
1123
|
const elm = hostRef.$hostElement$;
|
|
1024
1124
|
const endPostUpdate = createTime('postUpdate', tagName);
|
|
1125
|
+
const instance = hostRef.$lazyInstance$ ;
|
|
1025
1126
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1026
1127
|
if (!(hostRef.$flags$ & 64 /* HOST_FLAGS.hasLoadedComponent */)) {
|
|
1027
1128
|
hostRef.$flags$ |= 64 /* HOST_FLAGS.hasLoadedComponent */;
|
|
@@ -1029,6 +1130,9 @@ const postUpdateComponent = (hostRef) => {
|
|
|
1029
1130
|
// DOM WRITE!
|
|
1030
1131
|
addHydratedFlag(elm);
|
|
1031
1132
|
}
|
|
1133
|
+
{
|
|
1134
|
+
safeCall(instance, 'componentDidLoad');
|
|
1135
|
+
}
|
|
1032
1136
|
endPostUpdate();
|
|
1033
1137
|
{
|
|
1034
1138
|
hostRef.$onReadyResolve$(elm);
|
|
@@ -1368,23 +1472,35 @@ const connectedCallback = (elm) => {
|
|
|
1368
1472
|
// since they would have been removed when disconnected
|
|
1369
1473
|
addHostEventListeners(elm, hostRef, cmpMeta.$listeners$);
|
|
1370
1474
|
// fire off connectedCallback() on component instance
|
|
1371
|
-
|
|
1475
|
+
if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {
|
|
1476
|
+
fireConnectedCallback(hostRef.$lazyInstance$);
|
|
1477
|
+
}
|
|
1478
|
+
else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {
|
|
1479
|
+
hostRef.$onReadyPromise$.then(() => fireConnectedCallback(hostRef.$lazyInstance$));
|
|
1480
|
+
}
|
|
1372
1481
|
}
|
|
1373
1482
|
endConnected();
|
|
1374
1483
|
}
|
|
1375
1484
|
};
|
|
1376
|
-
const
|
|
1485
|
+
const disconnectInstance = (instance) => {
|
|
1486
|
+
{
|
|
1487
|
+
safeCall(instance, 'disconnectedCallback');
|
|
1488
|
+
}
|
|
1489
|
+
};
|
|
1490
|
+
const disconnectedCallback = async (elm) => {
|
|
1377
1491
|
if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {
|
|
1378
1492
|
const hostRef = getHostRef(elm);
|
|
1379
|
-
const instance = hostRef.$lazyInstance$ ;
|
|
1380
1493
|
{
|
|
1381
1494
|
if (hostRef.$rmListeners$) {
|
|
1382
1495
|
hostRef.$rmListeners$.map((rmListener) => rmListener());
|
|
1383
1496
|
hostRef.$rmListeners$ = undefined;
|
|
1384
1497
|
}
|
|
1385
1498
|
}
|
|
1386
|
-
{
|
|
1387
|
-
|
|
1499
|
+
if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$lazyInstance$) {
|
|
1500
|
+
disconnectInstance(hostRef.$lazyInstance$);
|
|
1501
|
+
}
|
|
1502
|
+
else if (hostRef === null || hostRef === void 0 ? void 0 : hostRef.$onReadyPromise$) {
|
|
1503
|
+
hostRef.$onReadyPromise$.then(() => disconnectInstance(hostRef.$lazyInstance$));
|
|
1388
1504
|
}
|
|
1389
1505
|
}
|
|
1390
1506
|
};
|
|
@@ -1645,4 +1761,4 @@ exports.promiseResolve = promiseResolve;
|
|
|
1645
1761
|
exports.registerInstance = registerInstance;
|
|
1646
1762
|
exports.setNonce = setNonce;
|
|
1647
1763
|
|
|
1648
|
-
//# sourceMappingURL=index-
|
|
1764
|
+
//# sourceMappingURL=index-83b2ec02.js.map
|