@justifi/webcomponents 4.10.0 → 4.12.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/dist/cjs/Business-f8e37adb.js +144 -0
- package/dist/cjs/{Payment-89a8bc21.js → Payment-eceed10f.js} +1 -0
- package/dist/cjs/{SubAccount-05867651.js → SubAccount-b3902202.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +5 -6
- package/dist/cjs/business-additional-questions-schema-bdfd29c3.js +78 -0
- package/dist/cjs/business-details-core.cjs.entry.js +9 -4
- package/dist/cjs/{business-form-types-3cdd5447.js → business-form-types-61b8196a.js} +33 -0
- package/dist/cjs/{form-control-datepart_3.cjs.entry.js → form-control-date_4.cjs.entry.js} +70 -56
- package/dist/cjs/form-control-datepart.cjs.entry.js +80 -0
- package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
- package/dist/cjs/{form-control-number_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +4 -46
- package/dist/cjs/{form-input-masks-e3bf2614.js → form-input-masks-baa06faf.js} +1 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +10 -5
- package/dist/cjs/{index-69b9386b.js → index-5d5f2219.js} +3 -0
- package/dist/cjs/justifi-additional-questions-form-step_5.cjs.entry.js +38 -26
- package/dist/cjs/justifi-additional-questions_4.cjs.entry.js +20 -21
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-billing-form_4.cjs.entry.js +5 -5
- package/dist/cjs/justifi-business-details.cjs.entry.js +23 -7
- package/dist/cjs/justifi-business-form.cjs.entry.js +71 -54
- package/dist/cjs/justifi-business-list.cjs.entry.js +4 -6
- package/dist/cjs/justifi-business-owners.cjs.entry.js +2 -2
- package/dist/cjs/justifi-card-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +34 -24
- package/dist/cjs/justifi-checkout.cjs.entry.js +15 -11
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +30 -6
- package/dist/cjs/{justifi-new-payment-method_3.cjs.entry.js → justifi-new-payment-method_4.cjs.entry.js} +95 -11
- package/dist/cjs/justifi-owner-form.cjs.entry.js +42 -20
- package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +3 -4
- package/dist/cjs/justifi-payment-details.cjs.entry.js +29 -8
- package/dist/cjs/justifi-payment-form.cjs.entry.js +19 -7
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +25 -18
- package/dist/cjs/justifi-payments-list.cjs.entry.js +29 -9
- package/dist/cjs/justifi-payout-details.cjs.entry.js +31 -11
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +30 -10
- package/dist/cjs/justifi-proceeds-list.cjs.entry.js +3 -4
- package/dist/cjs/justifi-refund-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-subaccount-details.cjs.entry.js +5 -6
- package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +4 -5
- package/dist/cjs/justifi-table_2.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/payload-parsers-32c43c76.js +144 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +10 -5
- package/dist/cjs/{payment.service-0b0086dc.js → payment.service-9db24ab9.js} +1 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +11 -6
- package/dist/cjs/payout-details-core.cjs.entry.js +11 -7
- package/dist/cjs/{payout.service-5cc3b4e9.js → payout.service-a0efb71a.js} +1 -1
- package/dist/cjs/payouts-list-core.cjs.entry.js +11 -6
- package/dist/cjs/subaccount-account-details_4.cjs.entry.js +5 -6
- package/dist/cjs/subaccount-bank-details.cjs.entry.js +2 -2
- package/dist/cjs/subaccount-terms-details.cjs.entry.js +2 -2
- package/dist/cjs/{utils-23e70ef2.js → utils-6e35fa70.js} +1 -1
- package/dist/cjs/{utils-2b9940e1.js → utils-6f62f7a1.js} +0 -7
- package/dist/cjs/utils-f8079741.js +41 -0
- package/dist/cjs/{utils-df5167a8.js → utils-fc72268d.js} +8 -1
- package/dist/cjs/webcomponents.cjs.js +2 -2
- package/dist/collection/api/Business.js +3 -20
- package/dist/collection/api/Checkout.js +6 -1
- package/dist/collection/api/ComponentError.js +14 -0
- package/dist/collection/api/Identity.js +7 -4
- package/dist/collection/api/Payment.js +1 -0
- package/dist/collection/api/services/checkout.service.js +7 -3
- package/dist/collection/api/services/utils.js +11 -0
- package/dist/collection/api/shared.js +11 -1
- package/dist/collection/collection-manifest.json +3 -2
- package/dist/collection/components/business-details/additional-questions-details/test/additional-questions.spec.js +1 -1
- package/dist/collection/components/business-details/business-details-core.js +30 -2
- package/dist/collection/components/business-details/business-details.js +30 -0
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +2 -2
- package/dist/collection/components/business-details/generic-info-details/test/generic-info-details.spec.js +1 -1
- package/dist/collection/components/business-details/get-business.js +15 -3
- package/dist/collection/components/business-details/legal-address-details/test/legal-address-details.spec.js +1 -1
- package/dist/collection/components/business-details/owner-details/test/owner-details.spec.js +1 -1
- package/dist/collection/components/business-details/representative-details/test/representative-details.spec.js +1 -1
- package/dist/collection/components/business-details/test/busines-details-core.spec.js +56 -16
- package/dist/collection/components/business-details/test/business-details.spec.js +20 -4
- package/dist/collection/components/business-details/test/get-business.spec.js +13 -6
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-form.js +124 -50
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +12 -12
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -2
- package/dist/collection/components/business-forms/{business-form/business-address/business-address-form.js → owner-form/identity-address/identity-address-form.js} +13 -10
- package/dist/collection/components/business-forms/owner-form/identity-address/test/identity-address.e2e.js +9 -0
- package/dist/collection/components/business-forms/{business-form/business-address/test/business-address.spec.js → owner-form/identity-address/test/identity-address.spec.js} +21 -14
- package/dist/collection/components/business-forms/owner-form/owner-form.js +75 -13
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +20 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +21 -4
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +44 -4
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +31 -6
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +23 -4
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +74 -15
- package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +15 -6
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +40 -14
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +55 -12
- package/dist/collection/components/business-forms/schemas/business-form-schema.js +4 -4
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +40 -34
- package/dist/collection/components/business-forms/schemas/schema-helpers.js +8 -0
- package/dist/collection/components/business-forms/utils/business-form-types.js +30 -0
- package/dist/collection/components/business-forms/utils/helpers.js +22 -0
- package/dist/collection/components/business-forms/utils/payload-parsers.js +1 -0
- package/dist/collection/components/business-list/business-list.js +0 -2
- package/dist/collection/components/checkout/checkout-actions.js +2 -2
- package/dist/collection/components/checkout/checkout-core.css +361 -0
- package/dist/collection/components/checkout/checkout-core.js +32 -27
- package/dist/collection/components/checkout/checkout.js +5 -5
- package/dist/collection/components/checkout/new-payment-method.js +12 -6
- package/dist/collection/components/checkout/payment-method-options.css +18 -2
- package/dist/collection/components/checkout/payment-method-options.js +62 -5
- package/dist/collection/components/checkout/payment-method-payload.js +1 -0
- package/dist/collection/components/checkout/saved-payment-method.js +11 -6
- package/dist/collection/components/checkout/sezzel-payment-method.js +247 -0
- package/dist/collection/components/form/form-control-date.css +1803 -0
- package/dist/collection/components/form/form-control-date.js +192 -0
- package/dist/collection/components/form/form-control-text.js +35 -1
- package/dist/collection/components/form/utils.js +6 -0
- package/dist/collection/components/gross-payment-chart/get-gross-payment-chart-data.js +17 -2
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +30 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +35 -1
- package/dist/collection/components/gross-payment-chart/test/get-gross-payment-chart-data.spec.js +26 -8
- package/dist/collection/components/gross-payment-chart/test/gross-payment-chart-core.spec.js +51 -11
- package/dist/collection/components/gross-payment-chart/test/gross-payment-chart.spec.js +55 -3
- package/dist/collection/components/payment-details/get-payment-details.js +15 -3
- package/dist/collection/components/payment-details/payment-details-core.js +30 -1
- package/dist/collection/components/payment-details/payment-details.js +35 -1
- package/dist/collection/components/payment-details/test/get-payment-details.spec.js +11 -3
- package/dist/collection/components/payment-details/test/payment-details-core.spec.js +55 -12
- package/dist/collection/components/payment-details/test/payment-details.spec.js +69 -3
- package/dist/collection/components/payment-form/payment-form.js +54 -3
- package/dist/collection/components/payment-form/payment-method-selector.js +1 -1
- package/dist/collection/components/payment-form/test/payment-form.spec.js +60 -1
- package/dist/collection/components/payment-method-form/payment-method-form.js +1 -1
- package/dist/collection/components/payments-list/get-payments.js +15 -4
- package/dist/collection/components/payments-list/payments-list-core.js +28 -2
- package/dist/collection/components/payments-list/payments-list.js +35 -1
- package/dist/collection/components/payments-list/test/get-payments.spec.js +11 -3
- package/dist/collection/components/payments-list/test/payments-list-core.spec.js +43 -28
- package/dist/collection/components/payments-list/test/payments-list.spec.js +31 -3
- package/dist/collection/components/payout-details/get-payout-details.js +17 -6
- package/dist/collection/components/payout-details/payout-details-core.js +31 -3
- package/dist/collection/components/payout-details/payout-details.js +35 -1
- package/dist/collection/components/payout-details/test/get-payout-details.spec.js +15 -5
- package/dist/collection/components/payout-details/test/payout-details-core.spec.js +54 -16
- package/dist/collection/components/payout-details/test/payout-details.spec.js +50 -1
- package/dist/collection/components/payouts-list/get-payouts.js +17 -5
- package/dist/collection/components/payouts-list/payouts-list-core.js +28 -2
- package/dist/collection/components/payouts-list/payouts-list.js +34 -1
- package/dist/collection/components/payouts-list/test/get-payouts.spec.js +11 -3
- package/dist/collection/components/payouts-list/test/payouts-list-core.spec.js +42 -29
- package/dist/collection/components/payouts-list/test/payouts-list.spec.js +33 -0
- package/dist/collection/components/select-input/select-input.js +1 -1
- package/dist/collection/components/select-input/test/select-input.spec.js +4 -4
- package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +3 -3
- package/dist/collection/components/text-input/test/text-input.spec.js +4 -4
- package/dist/collection/components/text-input/text-input.js +1 -1
- package/dist/collection/utils/form-input-masks.js +1 -1
- package/dist/collection/utils/utils.js +0 -5
- package/dist/docs.json +1583 -607
- package/dist/esm/Business-2410f7e3.js +136 -0
- package/dist/esm/{Payment-55886c86.js → Payment-ef9fc1ae.js} +1 -0
- package/dist/esm/{SubAccount-61ac70eb.js → SubAccount-f4ae9809.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +5 -6
- package/dist/esm/business-additional-questions-schema-5571d40f.js +75 -0
- package/dist/esm/business-details-core.entry.js +9 -4
- package/dist/esm/business-form-types-46ecd908.js +50 -0
- package/dist/esm/{form-control-datepart_3.entry.js → form-control-date_4.entry.js} +68 -55
- package/dist/esm/form-control-datepart.entry.js +76 -0
- package/dist/esm/form-control-monetary.entry.js +1 -1
- package/dist/esm/{form-control-number_3.entry.js → form-control-select_2.entry.js} +5 -46
- package/dist/esm/{form-input-masks-a8187c77.js → form-input-masks-850c8cd4.js} +1 -1
- package/dist/esm/gross-payment-chart-core.entry.js +10 -5
- package/dist/esm/{index-df86d9a2.js → index-83dcf934.js} +3 -0
- package/dist/esm/justifi-additional-questions-form-step_5.entry.js +36 -24
- package/dist/esm/justifi-additional-questions_4.entry.js +20 -21
- package/dist/esm/justifi-bank-account-form.entry.js +1 -1
- package/dist/esm/justifi-billing-form_4.entry.js +5 -5
- package/dist/esm/justifi-business-details.entry.js +23 -7
- package/dist/esm/justifi-business-form.entry.js +71 -54
- package/dist/esm/justifi-business-list.entry.js +4 -6
- package/dist/esm/justifi-business-owners.entry.js +2 -2
- package/dist/esm/justifi-card-form.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +34 -24
- package/dist/esm/justifi-checkout.entry.js +15 -11
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +29 -5
- package/dist/esm/{justifi-new-payment-method_3.entry.js → justifi-new-payment-method_4.entry.js} +95 -12
- package/dist/esm/justifi-owner-form.entry.js +42 -20
- package/dist/esm/justifi-payment-balance-transactions.entry.js +3 -4
- package/dist/esm/justifi-payment-details.entry.js +29 -8
- package/dist/esm/justifi-payment-form.entry.js +19 -7
- package/dist/esm/justifi-payment-method-selector.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning.entry.js +25 -18
- package/dist/esm/justifi-payments-list.entry.js +29 -9
- package/dist/esm/justifi-payout-details.entry.js +31 -11
- package/dist/esm/justifi-payouts-list.entry.js +30 -10
- package/dist/esm/justifi-proceeds-list.entry.js +3 -4
- package/dist/esm/justifi-refund-form.entry.js +2 -2
- package/dist/esm/justifi-subaccount-details.entry.js +5 -6
- package/dist/esm/justifi-subaccounts-list.entry.js +4 -5
- package/dist/esm/justifi-table_2.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/payload-parsers-192e0c3e.js +131 -0
- package/dist/esm/payment-details-core.entry.js +10 -5
- package/dist/esm/{payment.service-f274ef98.js → payment.service-ec28a959.js} +1 -1
- package/dist/esm/payments-list-core.entry.js +11 -6
- package/dist/esm/payout-details-core.entry.js +11 -7
- package/dist/esm/{payout.service-af293f61.js → payout.service-5fd5986c.js} +1 -1
- package/dist/esm/payouts-list-core.entry.js +11 -6
- package/dist/esm/subaccount-account-details_4.entry.js +5 -6
- package/dist/esm/subaccount-bank-details.entry.js +2 -2
- package/dist/esm/subaccount-terms-details.entry.js +2 -2
- package/dist/esm/{utils-d01c5f3a.js → utils-210fdf39.js} +1 -1
- package/dist/esm/{utils-d9e90399.js → utils-243abdb4.js} +1 -7
- package/dist/esm/utils-4609f32c.js +38 -0
- package/dist/esm/{utils-2828201a.js → utils-6f05d9d7.js} +8 -2
- package/dist/esm/webcomponents.js +3 -3
- package/dist/module/Business.js +48 -21
- package/dist/module/Payment.js +1 -0
- package/dist/module/SubAccount.js +1 -1
- package/dist/module/business-additional-questions-form-step.js +4 -2
- package/dist/module/business-additional-questions-schema.js +16 -7
- package/dist/module/business-address-schema.js +42 -16
- package/dist/module/business-core-info-form-step.js +5 -4
- package/dist/module/business-core-info-schema.js +56 -13
- package/dist/module/business-core-info.js +2 -2
- package/dist/module/business-details-core2.js +8 -3
- package/dist/module/business-form-types.js +32 -1
- package/dist/module/business-identity-schema.js +41 -35
- package/dist/module/business-owners-form-step.js +14 -10
- package/dist/module/business-representative-form-step.js +22 -13
- package/dist/module/business-representative.js +17 -17
- package/dist/module/checkout-core.js +50 -33
- package/dist/module/form-control-date.d.ts +11 -0
- package/dist/module/form-control-date.js +6 -0
- package/dist/module/form-control-date2.js +68 -0
- package/dist/module/form-control-text2.js +5 -1
- package/dist/module/form-input-masks.js +1 -1
- package/dist/module/generic-info-details2.js +2 -2
- package/dist/module/gross-payment-chart-core2.js +8 -2
- package/dist/module/helpers.js +25 -0
- package/dist/module/{business-address-form.js → identity-address-form.js} +17 -20
- package/dist/module/justifi-business-details.js +22 -5
- package/dist/module/justifi-business-form.js +81 -61
- package/dist/module/justifi-business-list.js +1 -3
- package/dist/module/justifi-checkout.js +31 -21
- package/dist/module/justifi-gross-payment-chart.js +28 -4
- package/dist/module/justifi-identity-address-form.d.ts +11 -0
- package/dist/module/justifi-identity-address-form.js +6 -0
- package/dist/module/justifi-payment-balance-transactions.js +1 -1
- package/dist/module/justifi-payment-details.js +26 -5
- package/dist/module/justifi-payment-form.js +18 -4
- package/dist/module/justifi-payment-provisioning.js +35 -27
- package/dist/module/justifi-payments-list.js +26 -6
- package/dist/module/justifi-payout-details.js +28 -8
- package/dist/module/justifi-payouts-list.js +27 -7
- package/dist/module/justifi-sezzel-payment-method.d.ts +11 -0
- package/dist/module/justifi-sezzel-payment-method.js +6 -0
- package/dist/module/justifi-subaccount-details.js +1 -1
- package/dist/module/justifi-subaccounts-list.js +1 -1
- package/dist/module/legal-address-form-step.js +10 -13
- package/dist/module/legal-address-form.js +5 -9
- package/dist/module/new-payment-method.js +5 -4
- package/dist/module/owner-form.js +46 -20
- package/dist/module/payload-parsers.js +11 -1
- package/dist/module/payment-details-core2.js +9 -3
- package/dist/module/payment-method-form.js +1 -1
- package/dist/module/payment-method-options.js +34 -12
- package/dist/module/payments-list-core2.js +9 -3
- package/dist/module/payout-details-core2.js +10 -5
- package/dist/module/payouts-list-core2.js +9 -3
- package/dist/module/saved-payment-method.js +4 -4
- package/dist/module/select-input2.js +1 -1
- package/dist/module/sezzel-payment-method.js +99 -0
- package/dist/module/subaccount-merchant-details2.js +3 -3
- package/dist/module/text-input2.js +1 -1
- package/dist/module/utils2.js +1 -7
- package/dist/module/utils3.js +31 -1
- package/dist/module/utils4.js +7 -1
- package/dist/types/api/Business.d.ts +0 -19
- package/dist/types/api/Checkout.d.ts +63 -2
- package/dist/types/api/ComponentError.d.ts +18 -0
- package/dist/types/api/Identity.d.ts +2 -0
- package/dist/types/api/Payment.d.ts +2 -1
- package/dist/types/api/SubAccount.d.ts +0 -2
- package/dist/types/api/services/checkout.service.d.ts +8 -2
- package/dist/types/api/services/utils.d.ts +2 -0
- package/dist/types/api/shared.d.ts +9 -0
- package/dist/types/components/business-details/business-details-core.d.ts +3 -0
- package/dist/types/components/business-details/business-details.d.ts +3 -0
- package/dist/types/components/business-forms/business-form/business-form.d.ts +9 -2
- package/dist/types/components/business-forms/business-form/business-representative/business-representative.d.ts +3 -3
- package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +10 -0
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +9 -3
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +3 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning.d.ts +6 -2
- package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +1 -1
- package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +1 -12
- package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +3 -3
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +11 -11
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +7 -37
- package/dist/types/components/business-forms/schemas/schema-helpers.d.ts +6 -0
- package/dist/types/components/business-forms/utils/business-form-types.d.ts +15 -0
- package/dist/types/components/business-forms/utils/helpers.d.ts +8 -0
- package/dist/types/components/checkout/checkout-actions.d.ts +3 -3
- package/dist/types/components/checkout/checkout-core.d.ts +5 -4
- package/dist/types/components/checkout/checkout.d.ts +1 -1
- package/dist/types/components/checkout/new-payment-method.d.ts +2 -1
- package/dist/types/components/checkout/payment-method-options.d.ts +5 -1
- package/dist/types/components/checkout/payment-method-payload.d.ts +8 -0
- package/dist/types/components/checkout/saved-payment-method.d.ts +2 -1
- package/dist/types/components/checkout/sezzel-payment-method.d.ts +23 -0
- package/dist/types/components/form/form-control-date.d.ts +18 -0
- package/dist/types/components/form/form-control-text.d.ts +2 -0
- package/dist/types/components/form/utils.d.ts +1 -0
- package/dist/types/components/gross-payment-chart/get-gross-payment-chart-data.d.ts +5 -8
- package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +3 -0
- package/dist/types/components/gross-payment-chart/gross-payment-chart.d.ts +4 -0
- package/dist/types/components/payment-details/payment-details-core.d.ts +3 -0
- package/dist/types/components/payment-details/payment-details.d.ts +4 -0
- package/dist/types/components/payment-form/payment-form.d.ts +4 -1
- package/dist/types/components/payments-list/payments-list-core.d.ts +2 -0
- package/dist/types/components/payments-list/payments-list.d.ts +4 -0
- package/dist/types/components/payout-details/payout-details-core.d.ts +3 -0
- package/dist/types/components/payout-details/payout-details.d.ts +4 -0
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +2 -0
- package/dist/types/components/payouts-list/payouts-list.d.ts +4 -0
- package/dist/types/components.d.ts +329 -52
- package/dist/types/utils/utils.d.ts +0 -1
- package/dist/webcomponents/p-02fa533c.js +1 -0
- package/dist/webcomponents/p-0315876e.entry.js +1 -0
- package/dist/webcomponents/p-0c269feb.entry.js +1 -0
- package/dist/webcomponents/p-0eb56b44.entry.js +1 -0
- package/dist/webcomponents/p-0eb77101.entry.js +1 -0
- package/dist/webcomponents/p-1334f776.entry.js +1 -0
- package/dist/webcomponents/p-19001cc5.entry.js +1 -0
- package/dist/webcomponents/p-2319abaf.entry.js +1 -0
- package/dist/webcomponents/p-26fe62d6.entry.js +1 -0
- package/dist/webcomponents/p-28b38699.js +1 -0
- package/dist/webcomponents/{p-4df6174c.entry.js → p-29376518.entry.js} +1 -1
- package/dist/webcomponents/p-2bee72bd.entry.js +1 -0
- package/dist/webcomponents/p-3302bc76.js +1 -0
- package/dist/webcomponents/p-3adc0688.entry.js +1 -0
- package/dist/webcomponents/p-3fe05c4a.entry.js +1 -0
- package/dist/webcomponents/p-41b1ad3a.entry.js +1 -0
- package/dist/webcomponents/p-4616768c.entry.js +1 -0
- package/dist/webcomponents/p-56780f10.entry.js +1 -0
- package/dist/webcomponents/p-5c269619.js +1 -0
- package/dist/webcomponents/p-5ff7826e.entry.js +1 -0
- package/dist/webcomponents/{p-8482c23f.js → p-65510838.js} +1 -1
- package/dist/webcomponents/p-6f294d5d.js +1 -0
- package/dist/webcomponents/{p-4d50d08a.entry.js → p-7d8d2984.entry.js} +1 -1
- package/dist/webcomponents/p-7da249b8.entry.js +1 -0
- package/dist/webcomponents/p-84b9ffc9.entry.js +1 -0
- package/dist/webcomponents/{p-07b326d0.entry.js → p-8657128b.entry.js} +1 -1
- package/dist/webcomponents/p-8abba4c2.entry.js +1 -0
- package/dist/webcomponents/p-8c9d9812.entry.js +1 -0
- package/dist/webcomponents/p-910bb656.js +1 -0
- package/dist/webcomponents/p-9245777b.js +1 -0
- package/dist/webcomponents/{p-221b9504.entry.js → p-927150b4.entry.js} +1 -1
- package/dist/webcomponents/p-96cebc8b.entry.js +1 -0
- package/dist/webcomponents/{p-0e189d6a.entry.js → p-99d6b67e.entry.js} +1 -1
- package/dist/webcomponents/p-9e3f9e05.entry.js +1 -0
- package/dist/webcomponents/{p-688bb5da.js → p-9ee8ad4d.js} +1 -1
- package/dist/webcomponents/{p-a46174e0.entry.js → p-9f3facf1.entry.js} +1 -1
- package/dist/webcomponents/p-9f529959.entry.js +1 -0
- package/dist/webcomponents/{p-fb49ef28.entry.js → p-a6f170ba.entry.js} +1 -1
- package/dist/webcomponents/p-a8caec98.entry.js +1 -0
- package/dist/webcomponents/p-a90f7ca0.js +1 -0
- package/dist/webcomponents/p-abc03d5a.entry.js +1 -0
- package/dist/webcomponents/p-b318b899.js +1 -0
- package/dist/webcomponents/{p-1bfadb9f.entry.js → p-c1b92cec.entry.js} +1 -1
- package/dist/webcomponents/{p-a68519e5.entry.js → p-c556deda.entry.js} +1 -1
- package/dist/webcomponents/{p-3d4aaa4a.entry.js → p-c6e207f6.entry.js} +1 -1
- package/dist/webcomponents/{p-b68f1dd9.entry.js → p-cdfde1ca.entry.js} +1 -1
- package/dist/webcomponents/p-d69a485a.entry.js +1 -0
- package/dist/webcomponents/p-e2ba8d84.entry.js +1 -0
- package/dist/webcomponents/{p-ebf7c70f.entry.js → p-e4342f49.entry.js} +1 -1
- package/dist/webcomponents/p-ed72a5cc.js +1 -0
- package/dist/webcomponents/{p-6b51cf97.entry.js → p-f0698778.entry.js} +1 -1
- package/dist/webcomponents/p-f4ae621e.entry.js +1 -0
- package/dist/webcomponents/p-f76283a5.entry.js +19 -0
- package/dist/webcomponents/p-fce2b224.entry.js +1 -0
- package/dist/webcomponents/p-fd60d5af.js +1 -0
- package/dist/webcomponents/p-ff211f76.js +1 -0
- package/dist/webcomponents/webcomponents.css +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Business-663db337.js +0 -92
- package/dist/cjs/Identity-1c4528b8.js +0 -49
- package/dist/cjs/business-additional-questions-schema-cbac27f2.js +0 -26
- package/dist/cjs/business-form-select-options-7ccd8dca.js +0 -85
- package/dist/cjs/justifi-business-address-form-step.cjs.entry.js +0 -35
- package/dist/cjs/payload-parsers-9e72e80f.js +0 -99
- package/dist/cjs/utils-f5d82f21.js +0 -10
- package/dist/collection/api/mockData/MockOnboardingData.js +0 -117
- package/dist/collection/api/mockData/MockPayments.js +0 -243
- package/dist/collection/api/mockData/MockSubAccount.js +0 -102
- package/dist/collection/api/mockData/mockGrossVolumeReport.js +0 -125
- package/dist/collection/components/business-forms/business-form/business-address/test/business-address.e2e.js +0 -9
- package/dist/collection/components/business-forms/payment-provisioning/business-address/business-address-form-step.css +0 -2536
- package/dist/collection/components/business-forms/payment-provisioning/business-address/business-address-form-step.js +0 -97
- package/dist/collection/components/business-forms/payment-provisioning/business-address/test/business-address-form-step.spec.js +0 -97
- package/dist/collection/components/business-forms/schemas/business-owners-schema.js +0 -16
- package/dist/collection/components/business-forms/utils/business-form-select-options.js +0 -80
- package/dist/collection/components/card-form/test/card-form.e2e.js +0 -13
- package/dist/esm/Business-6cc4e473.js +0 -87
- package/dist/esm/Identity-5f8f916f.js +0 -46
- package/dist/esm/business-additional-questions-schema-2cb80f70.js +0 -23
- package/dist/esm/business-form-select-options-6b9293fe.js +0 -82
- package/dist/esm/business-form-types-de9f38cd.js +0 -19
- package/dist/esm/justifi-business-address-form-step.entry.js +0 -31
- package/dist/esm/payload-parsers-caea809d.js +0 -91
- package/dist/esm/utils-546ca6aa.js +0 -8
- package/dist/module/Identity.js +0 -46
- package/dist/module/business-form-select-options.js +0 -82
- package/dist/module/justifi-business-address-form-step.d.ts +0 -11
- package/dist/module/justifi-business-address-form-step.js +0 -75
- package/dist/module/justifi-business-address-form.d.ts +0 -11
- package/dist/module/justifi-business-address-form.js +0 -6
- package/dist/types/api/mockData/MockOnboardingData.d.ts +0 -8
- package/dist/types/api/mockData/MockPayments.d.ts +0 -3
- package/dist/types/api/mockData/MockSubAccount.d.ts +0 -3
- package/dist/types/components/business-forms/business-form/business-address/business-address-form.d.ts +0 -9
- package/dist/types/components/business-forms/payment-provisioning/business-address/business-address-form-step.d.ts +0 -9
- package/dist/types/components/business-forms/schemas/business-owners-schema.d.ts +0 -33
- package/dist/types/components/business-forms/utils/business-form-select-options.d.ts +0 -11
- package/dist/webcomponents/p-03b1d0d5.entry.js +0 -1
- package/dist/webcomponents/p-0923e39c.js +0 -1
- package/dist/webcomponents/p-16dcf053.entry.js +0 -1
- package/dist/webcomponents/p-17d72f4a.js +0 -1
- package/dist/webcomponents/p-2df32b4a.entry.js +0 -1
- package/dist/webcomponents/p-34352d04.js +0 -1
- package/dist/webcomponents/p-38ba2848.entry.js +0 -1
- package/dist/webcomponents/p-41870765.entry.js +0 -1
- package/dist/webcomponents/p-461f42b8.entry.js +0 -1
- package/dist/webcomponents/p-48c2400e.js +0 -1
- package/dist/webcomponents/p-491ca87f.js +0 -1
- package/dist/webcomponents/p-5be4e217.entry.js +0 -1
- package/dist/webcomponents/p-60714f2a.entry.js +0 -1
- package/dist/webcomponents/p-60b2344a.js +0 -1
- package/dist/webcomponents/p-63296409.js +0 -1
- package/dist/webcomponents/p-65500b31.entry.js +0 -19
- package/dist/webcomponents/p-6d39b8bc.entry.js +0 -1
- package/dist/webcomponents/p-6ed680e9.js +0 -1
- package/dist/webcomponents/p-7b2cddc7.js +0 -1
- package/dist/webcomponents/p-7ec301b5.entry.js +0 -1
- package/dist/webcomponents/p-817211f2.entry.js +0 -1
- package/dist/webcomponents/p-9207ccb2.entry.js +0 -1
- package/dist/webcomponents/p-975ab96e.js +0 -1
- package/dist/webcomponents/p-9b99370e.js +0 -1
- package/dist/webcomponents/p-9e4b81ad.entry.js +0 -1
- package/dist/webcomponents/p-a141c531.js +0 -1
- package/dist/webcomponents/p-a2dbe90f.entry.js +0 -1
- package/dist/webcomponents/p-a4122c35.entry.js +0 -1
- package/dist/webcomponents/p-af8363a1.entry.js +0 -1
- package/dist/webcomponents/p-b1bc23af.entry.js +0 -1
- package/dist/webcomponents/p-b37d6888.entry.js +0 -1
- package/dist/webcomponents/p-b5a3bf86.entry.js +0 -1
- package/dist/webcomponents/p-b8f22856.js +0 -1
- package/dist/webcomponents/p-cb8f9cb8.entry.js +0 -1
- package/dist/webcomponents/p-d0761829.entry.js +0 -1
- package/dist/webcomponents/p-da34bba7.entry.js +0 -1
- package/dist/webcomponents/p-dbe32e75.entry.js +0 -1
- package/dist/webcomponents/p-e0c1cba8.js +0 -1
- package/dist/webcomponents/p-e924f2e1.entry.js +0 -1
- package/dist/webcomponents/p-ea03b424.entry.js +0 -1
- package/dist/webcomponents/p-ec230480.entry.js +0 -1
- package/dist/webcomponents/p-eed5f4ad.entry.js +0 -1
- package/dist/webcomponents/p-fe8a94c1.entry.js +0 -1
- /package/dist/collection/components/business-forms/{business-form/business-address/business-address-form.css → owner-form/identity-address/identity-address-form.css} +0 -0
- /package/dist/types/{api → home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil}/mockData/mockGrossVolumeReport.d.ts +0 -0
- /package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/{config.d.ts → packages/webcomponents/config.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e}from"./p-9ee8ad4d.js";import{g as c}from"./p-6f294d5d.js";import{A as o}from"./p-04c7f8f8.js";import"./p-56f6ce4c.js";import"./p-02fa533c.js";import"./p-e3fab0e2.js";import{c as s}from"./p-ae263544.js";class r{async fetchCheckout(t,e){const c=`checkouts/${e}`;return o(t,s.proxyApiOrigin).get(c)}async complete(t,e,c){const r=`checkouts/${e}/complete`,i={payment_mode:c.payment_mode};return c.payment_token&&(i.payment_token=c.payment_token),o(t,s.proxyApiOrigin).post(r,JSON.stringify(i))}}const i=class{constructor(e){t(this,e),this.iframeOrigin=void 0,this.authToken=void 0,this.checkoutId=void 0,this.getCheckout=void 0,this.complete=void 0,this.errorMessage=""}componentWillLoad(){this.initializeGetCheckout()}initializeGetCheckout(){this.authToken&&this.checkoutId?(this.getCheckout=(({authToken:t,checkoutId:e,service:o})=>async({onSuccess:s,onError:r})=>{try{const i=await o.fetchCheckout(t,e);if(i.error)return r(c(i.error));s({checkout:i.data})}catch(t){return r(t.message||t)}})({authToken:this.authToken,checkoutId:this.checkoutId,service:new r}),this.complete=(({authToken:t,checkoutId:e,service:o})=>async({payment:s,onSuccess:r,onError:i})=>{try{const h=await o.complete(t,e,s);if(h.error)return i(c(h.error));r({checkout:h.data})}catch(t){return i(t.message||t)}})({authToken:this.authToken,checkoutId:this.checkoutId,service:new r})):this.errorMessage="auth-token and checkout-id are required"}propChanged(){this.initializeGetCheckout()}render(){return e("justifi-checkout-core",{getCheckout:this.getCheckout,complete:this.complete})}static get watchers(){return{authToken:["propChanged"],checkoutId:["propChanged"]}}};export{i as justifi_checkout}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
let e,n,t=!1,l=!1;const o="slot-fb{display:contents}slot-fb[hidden]{display:none}",s={},i=e=>"object"==(e=typeof e)||"function"===e;function c(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const r=(e,n,...t)=>{let l=null,o=null,s=!1,c=!1;const r=[],a=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!i(l))&&(l+=""),s&&c?r[r.length-1].t+=l:r.push(s?u(null,l):l),c=s)};if(a(t),n){n.key&&(o=n.key);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}if("function"==typeof e)return e(null===n?{}:n,r,f);const d=u(e,null);return d.l=n,r.length>0&&(d.o=r),d.i=o,d},u=(e,n)=>({u:0,v:e,t:n,p:null,o:null,l:null,i:null}),a={},f={forEach:(e,n)=>e.map(d).forEach(n),map:(e,n)=>e.map(d).map(n).map(v)},d=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.h,vtag:e.v,vtext:e.t}),v=e=>{if("function"==typeof e.vtag){const n=Object.assign({},e.vattrs);return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),r(e.vtag,n,...e.vchildren||[])}const n=u(e.vtag,e.vtext);return n.l=e.vattrs,n.o=e.vchildren,n.i=e.vkey,n.h=e.vname,n},y=e=>Y(e).$hostElement$,p=(e,n,t)=>{const l=y(e);return{emit:e=>h(l,n,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:e})}},h=(e,n,t)=>{const l=re.ce(n,t);return e.dispatchEvent(l),l},m=new WeakMap,b=e=>"sc-"+e.m,$=(e,n,t,l,o,s)=>{if(t!==l){let c=ne(e,n),r=n.toLowerCase();if("class"===n){const n=e.classList,o=g(t),s=g(l);n.remove(...o.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===n){for(const n in t)l&&null!=l[n]||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in l)t&&l[n]===t[n]||(n.includes("-")?e.style.setProperty(n,l[n]):e.style[n]=l[n])}else if("key"===n);else if("ref"===n)l&&l(e);else if(c||"o"!==n[0]||"n"!==n[1]){const r=i(l);if((c||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[n]=l;else{const o=null==l?"":l;"list"===n?c=!1:null!=t&&e[n]==o||(e[n]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(n)||e.removeAttribute(n):(!c||4&s||o)&&!r&&e.setAttribute(n,l=!0===l?"":l)}else if(n="-"===n[2]?n.slice(3):ne(ie,r)?r.slice(2):r[2]+n.slice(3),t||l){const o=n.endsWith(j);n=n.replace(S,""),t&&re.rel(e,n,t,o),l&&re.ael(e,n,l,o)}}},w=/\s/,g=e=>e?e.split(w):[],j="Capture",S=RegExp(j+"$"),k=(e,n,t,l)=>{const o=11===n.p.nodeType&&n.p.host?n.p.host:n.p,i=e&&e.l||s,c=n.l||s;for(l in i)l in c||$(o,l,i[l],void 0,t,n.u);for(l in c)$(o,l,i[l],c[l],t,n.u)},O=(l,o,s)=>{const i=o.o[s];let c,r,u=0;if(null!==i.t)c=i.p=ce.createTextNode(i.t);else{if(t||(t="svg"===i.v),c=i.p=ce.createElementNS(t?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",i.v),t&&"foreignObject"===i.v&&(t=!1),k(null,i,t),null!=e&&c["s-si"]!==e&&c.classList.add(c["s-si"]=e),i.o)for(u=0;u<i.o.length;++u)r=O(l,i,u),r&&c.appendChild(r);"svg"===i.v?t=!1:"foreignObject"===c.tagName&&(t=!0)}return c["s-hn"]=n,c},C=(e,t,l,o,s,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=O(null,l,s),c&&(o[s].p=c,r.insertBefore(c,t)))},M=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.p;E(n),e&&e.remove()}}},x=(e,n,t=!1)=>e.v===n.v&&(!!t||e.i===n.i),P=(e,n,l=!1)=>{const o=n.p=e.p,s=e.o,i=n.o,c=n.v,r=n.t;null===r?(t="svg"===c||"foreignObject"!==c&&t,"slot"===c||k(e,n,t),null!==s&&null!==i?((e,n,t,l,o=!1)=>{let s,i,c=0,r=0,u=0,a=0,f=n.length-1,d=n[0],v=n[f],y=l.length-1,p=l[0],h=l[y];for(;c<=f&&r<=y;)if(null==d)d=n[++c];else if(null==v)v=n[--f];else if(null==p)p=l[++r];else if(null==h)h=l[--y];else if(x(d,p,o))P(d,p,o),d=n[++c],p=l[++r];else if(x(v,h,o))P(v,h,o),v=n[--f],h=l[--y];else if(x(d,h,o))P(d,h,o),e.insertBefore(d.p,v.p.nextSibling),d=n[++c],h=l[--y];else if(x(v,p,o))P(v,p,o),e.insertBefore(v.p,d.p),v=n[--f],p=l[++r];else{for(u=-1,a=c;a<=f;++a)if(n[a]&&null!==n[a].i&&n[a].i===p.i){u=a;break}u>=0?(i=n[u],i.v!==p.v?s=O(n&&n[r],t,u):(P(i,p,o),n[u]=void 0,s=i.p),p=l[++r]):(s=O(n&&n[r],t,r),p=l[++r]),s&&d.p.parentNode.insertBefore(s,d.p)}c>f?C(e,null==l[y+1]?null:l[y+1].p,t,l,r,y):r>y&&M(n,c,f)})(o,s,n,i,l):null!==i?(null!==e.t&&(o.textContent=""),C(o,null,n,i,0,i.length-1)):null!==s&&M(s,0,s.length-1),t&&"svg"===c&&(t=!1)):e.t!==r&&(o.data=r)},E=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(E)},L=(e,n)=>{n&&!e.$&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.$=n)))},A=(e,n)=>{if(e.u|=16,!(4&e.u))return L(e,e.j),me((()=>F(e,n)));e.u|=512},F=(e,n)=>{const t=e.S;let l;return n&&(e.u|=256,e.k&&(e.k.map((([e,n])=>q(t,e,n))),e.k=void 0),l=q(t,"componentWillLoad")),N(l,(()=>T(e,t,n)))},N=(e,n)=>R(e)?e.then(n):n(),R=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,T=async(e,n,t)=>{var l;const s=e.$hostElement$,i=s["s-rc"];t&&(e=>{const n=e.O,t=e.$hostElement$,l=n.u,s=((e,n)=>{var t;const l=b(n),s=se.get(l);if(e=11===e.nodeType?e:ce,s)if("string"==typeof s){let i,r=m.get(e=e.head||e);if(r||m.set(e,r=new Set),!r.has(l)){{i=ce.createElement("style"),i.innerHTML=s;const n=null!==(t=re.C)&&void 0!==t?t:c(ce);null!=n&&i.setAttribute("nonce",n),e.insertBefore(i,e.querySelector("link"))}4&n.u&&(i.innerHTML+=o),r&&r.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&l&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(e);W(e,n,s,t),i&&(i.map((e=>e())),s["s-rc"]=void 0);{const n=null!==(l=s["s-p"])&&void 0!==l?l:[],t=()=>H(e);0===n.length?t():(Promise.all(n).then(t),e.u|=4,n.length=0)}},W=(t,l,o,s)=>{try{l=l.render(),t.u&=-17,t.u|=2,((t,l,o=!1)=>{const s=t.$hostElement$,i=t.M||u(null,null),c=(e=>e&&e.v===a)(l)?l:r(null,null,l);if(n=s.tagName,o&&c.l)for(const e of Object.keys(c.l))s.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(c.l[e]=s[e]);c.v=null,c.u|=4,t.M=c,c.p=i.p=s.shadowRoot||s,e=s["s-sc"],P(i,c,o)})(t,l,s)}catch(e){te(e,t.$hostElement$)}return null},H=e=>{const n=e.$hostElement$,t=e.S,l=e.j;64&e.u||(e.u|=64,D(n),q(t,"componentDidLoad"),e.P(n),l||U()),e.L(n),e.$&&(e.$(),e.$=void 0),512&e.u&&he((()=>A(e,!1))),e.u&=-517},U=()=>{D(ce.documentElement),he((()=>h(ie,"appload",{detail:{namespace:"webcomponents"}})))},q=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){te(e)}},D=e=>e.classList.add("hydrated"),V=(e,n,t)=>{var l;const o=e.prototype;if(n.A){e.watchers&&(n.F=e.watchers);const s=Object.entries(n.A);if(s.map((([e,[l]])=>{31&l||2&t&&32&l?Object.defineProperty(o,e,{get(){return((e,n)=>Y(this).N.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=Y(e),s=o.$hostElement$,c=o.N.get(n),r=o.u,u=o.S;if(t=((e,n)=>null==e||i(e)?e:4&n?"false"!==e&&(""===e||!!e):2&n?parseFloat(e):1&n?e+"":e)(t,l.A[n][0]),(!(8&r)||void 0===c)&&t!==c&&(!Number.isNaN(c)||!Number.isNaN(t))&&(o.N.set(n,t),u)){if(l.F&&128&r){const e=l.F[n];e&&e.map((e=>{try{u[e](t,c,n)}catch(e){te(e,s)}}))}2==(18&r)&&A(o,!1)}})(this,e,t,n)},configurable:!0,enumerable:!0}):1&t&&64&l&&Object.defineProperty(o,e,{value(...n){var t;const l=Y(this);return null===(t=null==l?void 0:l.R)||void 0===t?void 0:t.then((()=>{var t;return null===(t=l.S)||void 0===t?void 0:t[e](...n)}))}})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){re.jmp((()=>{var i;const c=t.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=Y(this),o=null==t?void 0:t.u;if(o&&!(8&o)&&128&o&&s!==l){const o=t.S,c=null===(i=n.F)||void 0===i?void 0:i[e];null==c||c.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=n.F)&&void 0!==l?l:{}),...s.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},_=e=>{q(e,"connectedCallback")},z=e=>{q(e,"disconnectedCallback")},B=(e,n={})=>{var t;const l=[],s=n.exclude||[],i=ie.customElements,r=ce.head,u=r.querySelector("meta[charset]"),a=ce.createElement("style"),f=[];let d,v=!0;Object.assign(re,n),re.T=new URL(n.resourcesUrl||"./",ce.baseURI).href;let y=!1;if(e.map((e=>{e[1].map((n=>{var t;const o={u:n[0],m:n[1],A:n[2],W:n[3]};4&o.u&&(y=!0),o.A=n[2],o.W=n[3],o.F=null!==(t=n[4])&&void 0!==t?t:{};const c=o.m,r=class extends HTMLElement{constructor(e){super(e),ee(e=this,o),1&o.u&&e.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),v?f.push(this):re.jmp((()=>(e=>{if(0==(1&re.u)){const n=Y(e),t=n.O,l=()=>{};if(1&n.u)I(e,n,t.W),(null==n?void 0:n.S)?_(n.S):(null==n?void 0:n.H)&&n.H.then((()=>_(n.S)));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){L(n,n.j=t);break}}t.A&&Object.entries(t.A).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),(async(e,n,t)=>{let l;if(0==(32&n.u)){n.u|=32;{if(l=oe(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(t.F=l.watchers,V(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){te(e)}n.u&=-9,n.u|=128,e(),_(n.S)}if(l.style){let e=l.style;const n=b(t);if(!se.has(n)){const l=()=>{};((e,n,t)=>{let l=se.get(e);ae&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,se.set(e,l)})(n,e,!!(1&t.u)),l()}}}const o=n.j,s=()=>A(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,n,t)}l()}})(this)))}disconnectedCallback(){re.jmp((()=>(async()=>{if(0==(1&re.u)){const e=Y(this);e.U&&(e.U.map((e=>e())),e.U=void 0),(null==e?void 0:e.S)?z(e.S):(null==e?void 0:e.H)&&e.H.then((()=>z(e.S)))}})()))}componentOnReady(){return Y(this).H}};o.q=e[0],s.includes(c)||i.get(c)||(l.push(c),i.define(c,V(r,o,1)))}))})),y&&(a.innerHTML+=o),a.innerHTML+=l+"{visibility:hidden}.hydrated{visibility:inherit}",a.innerHTML.length){a.setAttribute("data-styles","");const e=null!==(t=re.C)&&void 0!==t?t:c(ce);null!=e&&a.setAttribute("nonce",e),r.insertBefore(a,u?u.nextSibling:r.firstChild)}v=!1,f.length?f.map((e=>e.connectedCallback())):re.jmp((()=>d=setTimeout(U,30)))},G=(e,n)=>n,I=(e,n,t)=>{t&&t.map((([t,l,o])=>{const s=e,i=J(n,o),c=K(t);re.ael(s,l,i,c),(n.U=n.U||[]).push((()=>re.rel(s,l,i,c)))}))},J=(e,n)=>t=>{try{256&e.u?e.S[n](t):(e.k=e.k||[]).push([n,t])}catch(e){te(e)}},K=e=>0!=(2&e),Q=e=>re.C=e,X=new WeakMap,Y=e=>X.get(e),Z=(e,n)=>X.set(n.S=e,n),ee=(e,n)=>{const t={u:0,$hostElement$:e,O:n,N:new Map};return t.R=new Promise((e=>t.L=e)),t.H=new Promise((e=>t.P=e)),e["s-p"]=[],e["s-rc"]=[],I(e,t,n.W),X.set(e,t)},ne=(e,n)=>n in e,te=(e,n)=>(0,console.error)(e,n),le=new Map,oe=e=>{const n=e.m.replace(/-/g,"_"),t=e.q,l=le.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(le.set(t,e),e[n])),te)
|
|
1
|
+
let e,n,t=!1,l=!1;const o="slot-fb{display:contents}slot-fb[hidden]{display:none}",s={},i=e=>"object"==(e=typeof e)||"function"===e;function c(e){var n,t,l;return null!==(l=null===(t=null===(n=e.head)||void 0===n?void 0:n.querySelector('meta[name="csp-nonce"]'))||void 0===t?void 0:t.getAttribute("content"))&&void 0!==l?l:void 0}const r=(e,n,...t)=>{let l=null,o=null,s=!1,c=!1;const r=[],a=n=>{for(let t=0;t<n.length;t++)l=n[t],Array.isArray(l)?a(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!i(l))&&(l+=""),s&&c?r[r.length-1].t+=l:r.push(s?u(null,l):l),c=s)};if(a(t),n){n.key&&(o=n.key);{const e=n.className||n.class;e&&(n.class="object"!=typeof e?e:Object.keys(e).filter((n=>e[n])).join(" "))}}if("function"==typeof e)return e(null===n?{}:n,r,f);const d=u(e,null);return d.l=n,r.length>0&&(d.o=r),d.i=o,d},u=(e,n)=>({u:0,v:e,t:n,p:null,o:null,l:null,i:null}),a={},f={forEach:(e,n)=>e.map(d).forEach(n),map:(e,n)=>e.map(d).map(n).map(v)},d=e=>({vattrs:e.l,vchildren:e.o,vkey:e.i,vname:e.h,vtag:e.v,vtext:e.t}),v=e=>{if("function"==typeof e.vtag){const n=Object.assign({},e.vattrs);return e.vkey&&(n.key=e.vkey),e.vname&&(n.name=e.vname),r(e.vtag,n,...e.vchildren||[])}const n=u(e.vtag,e.vtext);return n.l=e.vattrs,n.o=e.vchildren,n.i=e.vkey,n.h=e.vname,n},y=e=>Y(e).$hostElement$,p=(e,n,t)=>{const l=y(e);return{emit:e=>h(l,n,{bubbles:!!(4&t),composed:!!(2&t),cancelable:!!(1&t),detail:e})}},h=(e,n,t)=>{const l=re.ce(n,t);return e.dispatchEvent(l),l},m=new WeakMap,b=e=>"sc-"+e.m,$=(e,n,t,l,o,s)=>{if(t!==l){let c=ne(e,n),r=n.toLowerCase();if("class"===n){const n=e.classList,o=g(t),s=g(l);n.remove(...o.filter((e=>e&&!s.includes(e)))),n.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===n){for(const n in t)l&&null!=l[n]||(n.includes("-")?e.style.removeProperty(n):e.style[n]="");for(const n in l)t&&l[n]===t[n]||(n.includes("-")?e.style.setProperty(n,l[n]):e.style[n]=l[n])}else if("key"===n);else if("ref"===n)l&&l(e);else if(c||"o"!==n[0]||"n"!==n[1]){const r=i(l);if((c||r&&null!==l)&&!o)try{if(e.tagName.includes("-"))e[n]=l;else{const o=null==l?"":l;"list"===n?c=!1:null!=t&&e[n]==o||(e[n]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(n)||e.removeAttribute(n):(!c||4&s||o)&&!r&&e.setAttribute(n,l=!0===l?"":l)}else if(n="-"===n[2]?n.slice(3):ne(ie,r)?r.slice(2):r[2]+n.slice(3),t||l){const o=n.endsWith(j);n=n.replace(S,""),t&&re.rel(e,n,t,o),l&&re.ael(e,n,l,o)}}},w=/\s/,g=e=>e?e.split(w):[],j="Capture",S=RegExp(j+"$"),k=(e,n,t,l)=>{const o=11===n.p.nodeType&&n.p.host?n.p.host:n.p,i=e&&e.l||s,c=n.l||s;for(l in i)l in c||$(o,l,i[l],void 0,t,n.u);for(l in c)$(o,l,i[l],c[l],t,n.u)},O=(l,o,s)=>{const i=o.o[s];let c,r,u=0;if(null!==i.t)c=i.p=ce.createTextNode(i.t);else{if(t||(t="svg"===i.v),c=i.p=ce.createElementNS(t?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",i.v),t&&"foreignObject"===i.v&&(t=!1),k(null,i,t),null!=e&&c["s-si"]!==e&&c.classList.add(c["s-si"]=e),i.o)for(u=0;u<i.o.length;++u)r=O(l,i,u),r&&c.appendChild(r);"svg"===i.v?t=!1:"foreignObject"===c.tagName&&(t=!0)}return c["s-hn"]=n,c},C=(e,t,l,o,s,i)=>{let c,r=e;for(r.shadowRoot&&r.tagName===n&&(r=r.shadowRoot);s<=i;++s)o[s]&&(c=O(null,l,s),c&&(o[s].p=c,r.insertBefore(c,t)))},M=(e,n,t)=>{for(let l=n;l<=t;++l){const n=e[l];if(n){const e=n.p;E(n),e&&e.remove()}}},x=(e,n,t=!1)=>e.v===n.v&&(!!t||e.i===n.i),P=(e,n,l=!1)=>{const o=n.p=e.p,s=e.o,i=n.o,c=n.v,r=n.t;null===r?(t="svg"===c||"foreignObject"!==c&&t,"slot"===c||k(e,n,t),null!==s&&null!==i?((e,n,t,l,o=!1)=>{let s,i,c=0,r=0,u=0,a=0,f=n.length-1,d=n[0],v=n[f],y=l.length-1,p=l[0],h=l[y];for(;c<=f&&r<=y;)if(null==d)d=n[++c];else if(null==v)v=n[--f];else if(null==p)p=l[++r];else if(null==h)h=l[--y];else if(x(d,p,o))P(d,p,o),d=n[++c],p=l[++r];else if(x(v,h,o))P(v,h,o),v=n[--f],h=l[--y];else if(x(d,h,o))P(d,h,o),e.insertBefore(d.p,v.p.nextSibling),d=n[++c],h=l[--y];else if(x(v,p,o))P(v,p,o),e.insertBefore(v.p,d.p),v=n[--f],p=l[++r];else{for(u=-1,a=c;a<=f;++a)if(n[a]&&null!==n[a].i&&n[a].i===p.i){u=a;break}u>=0?(i=n[u],i.v!==p.v?s=O(n&&n[r],t,u):(P(i,p,o),n[u]=void 0,s=i.p),p=l[++r]):(s=O(n&&n[r],t,r),p=l[++r]),s&&d.p.parentNode.insertBefore(s,d.p)}c>f?C(e,null==l[y+1]?null:l[y+1].p,t,l,r,y):r>y&&M(n,c,f)})(o,s,n,i,l):null!==i?(null!==e.t&&(o.textContent=""),C(o,null,n,i,0,i.length-1)):null!==s&&M(s,0,s.length-1),t&&"svg"===c&&(t=!1)):e.t!==r&&(o.data=r)},E=e=>{e.l&&e.l.ref&&e.l.ref(null),e.o&&e.o.map(E)},L=(e,n)=>{n&&!e.$&&n["s-p"]&&n["s-p"].push(new Promise((n=>e.$=n)))},R=(e,n)=>{if(e.u|=16,!(4&e.u))return L(e,e.j),me((()=>A(e,n)));e.u|=512},A=(e,n)=>{const t=e.S;let l;return n&&(e.u|=256,e.k&&(e.k.map((([e,n])=>U(t,e,n))),e.k=void 0),l=U(t,"componentWillLoad")),F(l,(()=>T(e,t,n)))},F=(e,n)=>N(e)?e.then(n):n(),N=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,T=async(e,n,t)=>{var l;const s=e.$hostElement$,i=s["s-rc"];t&&(e=>{const n=e.O,t=e.$hostElement$,l=n.u,s=((e,n)=>{var t;const l=b(n),s=se.get(l);if(e=11===e.nodeType?e:ce,s)if("string"==typeof s){let i,r=m.get(e=e.head||e);if(r||m.set(e,r=new Set),!r.has(l)){{i=ce.createElement("style"),i.innerHTML=s;const n=null!==(t=re.C)&&void 0!==t?t:c(ce);null!=n&&i.setAttribute("nonce",n),e.insertBefore(i,e.querySelector("link"))}4&n.u&&(i.innerHTML+=o),r&&r.add(l)}}else e.adoptedStyleSheets.includes(s)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,s]);return l})(t.shadowRoot?t.shadowRoot:t.getRootNode(),n);10&l&&(t["s-sc"]=s,t.classList.add(s+"-h"))})(e);W(e,n,s,t),i&&(i.map((e=>e())),s["s-rc"]=void 0);{const n=null!==(l=s["s-p"])&&void 0!==l?l:[],t=()=>D(e);0===n.length?t():(Promise.all(n).then(t),e.u|=4,n.length=0)}},W=(t,l,o,s)=>{try{l=l.render(),t.u&=-17,t.u|=2,((t,l,o=!1)=>{const s=t.$hostElement$,i=t.M||u(null,null),c=(e=>e&&e.v===a)(l)?l:r(null,null,l);if(n=s.tagName,o&&c.l)for(const e of Object.keys(c.l))s.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(c.l[e]=s[e]);c.v=null,c.u|=4,t.M=c,c.p=i.p=s.shadowRoot||s,e=s["s-sc"],P(i,c,o)})(t,l,s)}catch(e){te(e,t.$hostElement$)}return null},D=e=>{const n=e.$hostElement$,t=e.S,l=e.j;U(t,"componentDidRender"),64&e.u||(e.u|=64,q(n),U(t,"componentDidLoad"),e.P(n),l||H()),e.L(n),e.$&&(e.$(),e.$=void 0),512&e.u&&he((()=>R(e,!1))),e.u&=-517},H=()=>{q(ce.documentElement),he((()=>h(ie,"appload",{detail:{namespace:"webcomponents"}})))},U=(e,n,t)=>{if(e&&e[n])try{return e[n](t)}catch(e){te(e)}},q=e=>e.classList.add("hydrated"),V=(e,n,t)=>{var l;const o=e.prototype;if(n.R){e.watchers&&(n.A=e.watchers);const s=Object.entries(n.R);if(s.map((([e,[l]])=>{31&l||2&t&&32&l?Object.defineProperty(o,e,{get(){return((e,n)=>Y(this).F.get(n))(0,e)},set(t){((e,n,t,l)=>{const o=Y(e),s=o.$hostElement$,c=o.F.get(n),r=o.u,u=o.S;if(t=((e,n)=>null==e||i(e)?e:4&n?"false"!==e&&(""===e||!!e):2&n?parseFloat(e):1&n?e+"":e)(t,l.R[n][0]),(!(8&r)||void 0===c)&&t!==c&&(!Number.isNaN(c)||!Number.isNaN(t))&&(o.F.set(n,t),u)){if(l.A&&128&r){const e=l.A[n];e&&e.map((e=>{try{u[e](t,c,n)}catch(e){te(e,s)}}))}2==(18&r)&&R(o,!1)}})(this,e,t,n)},configurable:!0,enumerable:!0}):1&t&&64&l&&Object.defineProperty(o,e,{value(...n){var t;const l=Y(this);return null===(t=null==l?void 0:l.N)||void 0===t?void 0:t.then((()=>{var t;return null===(t=l.S)||void 0===t?void 0:t[e](...n)}))}})})),1&t){const t=new Map;o.attributeChangedCallback=function(e,l,s){re.jmp((()=>{var i;const c=t.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(o.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const t=Y(this),o=null==t?void 0:t.u;if(o&&!(8&o)&&128&o&&s!==l){const o=t.S,c=null===(i=n.A)||void 0===i?void 0:i[e];null==c||c.forEach((n=>{null!=o[n]&&o[n].call(o,s,l,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!==(l=n.A)&&void 0!==l?l:{}),...s.filter((([e,n])=>15&n[0])).map((([e,n])=>{const l=n[1]||e;return t.set(l,e),l}))]))}}return e},_=e=>{U(e,"connectedCallback")},z=e=>{U(e,"disconnectedCallback")},B=(e,n={})=>{var t;const l=[],s=n.exclude||[],i=ie.customElements,r=ce.head,u=r.querySelector("meta[charset]"),a=ce.createElement("style"),f=[];let d,v=!0;Object.assign(re,n),re.T=new URL(n.resourcesUrl||"./",ce.baseURI).href;let y=!1;if(e.map((e=>{e[1].map((n=>{var t;const o={u:n[0],m:n[1],R:n[2],W:n[3]};4&o.u&&(y=!0),o.R=n[2],o.W=n[3],o.A=null!==(t=n[4])&&void 0!==t?t:{};const c=o.m,r=class extends HTMLElement{constructor(e){super(e),ee(e=this,o),1&o.u&&e.attachShadow({mode:"open"})}connectedCallback(){d&&(clearTimeout(d),d=null),v?f.push(this):re.jmp((()=>(e=>{if(0==(1&re.u)){const n=Y(e),t=n.O,l=()=>{};if(1&n.u)I(e,n,t.W),(null==n?void 0:n.S)?_(n.S):(null==n?void 0:n.D)&&n.D.then((()=>_(n.S)));else{n.u|=1;{let t=e;for(;t=t.parentNode||t.host;)if(t["s-p"]){L(n,n.j=t);break}}t.R&&Object.entries(t.R).map((([n,[t]])=>{if(31&t&&e.hasOwnProperty(n)){const t=e[n];delete e[n],e[n]=t}})),(async(e,n,t)=>{let l;if(0==(32&n.u)){n.u|=32;{if(l=oe(t),l.then){const e=()=>{};l=await l,e()}l.isProxied||(t.A=l.watchers,V(l,t,2),l.isProxied=!0);const e=()=>{};n.u|=8;try{new l(n)}catch(e){te(e)}n.u&=-9,n.u|=128,e(),_(n.S)}if(l.style){let e=l.style;const n=b(t);if(!se.has(n)){const l=()=>{};((e,n,t)=>{let l=se.get(e);ae&&t?(l=l||new CSSStyleSheet,"string"==typeof l?l=n:l.replaceSync(n)):l=n,se.set(e,l)})(n,e,!!(1&t.u)),l()}}}const o=n.j,s=()=>R(n,!0);o&&o["s-rc"]?o["s-rc"].push(s):s()})(0,n,t)}l()}})(this)))}disconnectedCallback(){re.jmp((()=>(async()=>{if(0==(1&re.u)){const e=Y(this);e.H&&(e.H.map((e=>e())),e.H=void 0),(null==e?void 0:e.S)?z(e.S):(null==e?void 0:e.D)&&e.D.then((()=>z(e.S)))}})()))}componentOnReady(){return Y(this).D}};o.U=e[0],s.includes(c)||i.get(c)||(l.push(c),i.define(c,V(r,o,1)))}))})),y&&(a.innerHTML+=o),a.innerHTML+=l+"{visibility:hidden}.hydrated{visibility:inherit}",a.innerHTML.length){a.setAttribute("data-styles","");const e=null!==(t=re.C)&&void 0!==t?t:c(ce);null!=e&&a.setAttribute("nonce",e),r.insertBefore(a,u?u.nextSibling:r.firstChild)}v=!1,f.length?f.map((e=>e.connectedCallback())):re.jmp((()=>d=setTimeout(H,30)))},G=(e,n)=>n,I=(e,n,t)=>{t&&t.map((([t,l,o])=>{const s=e,i=J(n,o),c=K(t);re.ael(s,l,i,c),(n.H=n.H||[]).push((()=>re.rel(s,l,i,c)))}))},J=(e,n)=>t=>{try{256&e.u?e.S[n](t):(e.k=e.k||[]).push([n,t])}catch(e){te(e)}},K=e=>0!=(2&e),Q=e=>re.C=e,X=new WeakMap,Y=e=>X.get(e),Z=(e,n)=>X.set(n.S=e,n),ee=(e,n)=>{const t={u:0,$hostElement$:e,O:n,F:new Map};return t.N=new Promise((e=>t.L=e)),t.D=new Promise((e=>t.P=e)),e["s-p"]=[],e["s-rc"]=[],I(e,t,n.W),X.set(e,t)},ne=(e,n)=>n in e,te=(e,n)=>(0,console.error)(e,n),le=new Map,oe=e=>{const n=e.m.replace(/-/g,"_"),t=e.U,l=le.get(t);return l?l[n]:import(`./${t}.entry.js`).then((e=>(le.set(t,e),e[n])),te)
|
|
2
2
|
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/},se=new Map,ie="undefined"!=typeof window?window:{},ce=ie.document||{head:{}},re={u:0,T:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,n,t,l)=>e.addEventListener(n,t,l),rel:(e,n,t,l)=>e.removeEventListener(n,t,l),ce:(e,n)=>new CustomEvent(e,n)},ue=e=>Promise.resolve(e),ae=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),fe=[],de=[],ve=(e,n)=>t=>{e.push(t),l||(l=!0,n&&4&re.u?he(pe):re.raf(pe))},ye=e=>{for(let n=0;n<e.length;n++)try{e[n](performance.now())}catch(e){te(e)}e.length=0},pe=()=>{ye(fe),ye(de),(l=fe.length>0)&&re.raf(pe)},he=e=>ue().then(e),me=ve(de,!0);export{G as F,a as H,B as b,p as c,y as g,r as h,ue as p,Z as r,Q as s}
|